@import url("https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,700&family=Playfair+Display:wght@700;800&display=swap");

:root {
  --color-bg: #f7f6f2;
  --color-text: #111111;
  --color-muted: #888888;
  --color-border: rgba(17, 17, 17, 0.16);
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "DM Sans", Arial, sans-serif;
  --size-display: clamp(4rem, 15vw, 7.5rem);
  --size-large: clamp(2.6rem, 8vw, 6.5rem);
  --size-body: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --size-label: 0.72rem;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: clamp(2rem, 7vw, 5rem);
  --space-xl: clamp(5rem, 12vw, 10rem);
  --page-pad: clamp(1.15rem, 4vw, 4rem);
  --transition: 300ms ease-in-out;
  --header-height: 4.5rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--size-body);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("assets/abstract-black-lines-geometric-background.jpg");
  background-position: var(--bg-x, 50%) var(--bg-y, 50%);
  background-size: cover;
  opacity: 0.42;
  mix-blend-mode: multiply;
  transform: scale(1.04);
  transition: background-position 0.7s ease-in-out;
  animation: backgroundDrift 18s ease-in-out infinite alternate;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: rgba(247, 246, 242, 0.2);
}

main,
.site-header,
.footer {
  position: relative;
  z-index: 2;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

.cursor-glow {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 998;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(
    circle,
    rgba(17, 17, 17, 0.28) 0%,
    rgba(17, 17, 17, 0.12) 38%,
    transparent 70%
  );
  mix-blend-mode: multiply;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: left 0.12s ease, top 0.12s ease, opacity var(--transition);
}

.cursor-glow.is-active {
  opacity: 1;
}

@keyframes backgroundDrift {
  0% {
    background-position: var(--bg-x, 50%) calc(var(--bg-y, 50%) - 4%);
    transform: scale(1.04);
  }

  100% {
    background-position: var(--bg-x, 50%) calc(var(--bg-y, 50%) + 4%);
    transform: scale(1.08);
  }
}

body.is-loading {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 1px solid var(--color-text);
  outline-offset: 0.35rem;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  gap: var(--space-sm);
  align-content: center;
  background: var(--color-bg);
  color: var(--color-text);
  transition: opacity 600ms ease-in-out, visibility 600ms ease-in-out;
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader__mark,
.brand,
.eyebrow,
.site-nav,
.footer__nav,
.scroll-cue span {
  font-size: var(--size-label);
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1;
  text-transform: uppercase;
}

.loader__dots {
  display: flex;
  gap: 0.42rem;
}

.loader__dots span {
  width: 0.34rem;
  height: 0.34rem;
  background: var(--color-text);
  border-radius: 50%;
  opacity: 0.25;
  animation: pulse 1s ease-in-out infinite;
}

.loader__dots span:nth-child(2) {
  animation-delay: 140ms;
}

.loader__dots span:nth-child(3) {
  animation-delay: 280ms;
}

@keyframes pulse {
  50% {
    opacity: 1;
    transform: translateY(-0.18rem);
  }
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: var(--header-height);
  padding: 0 var(--page-pad);
  background: rgba(247, 246, 242, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
}

.site-nav,
.footer__nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.6vw, 2rem);
}

.site-nav a,
.footer__nav a,
.brand {
  transition: opacity var(--transition);
}

.site-nav a:hover,
.footer__nav a:hover,
.brand:hover {
  opacity: 0.55;
}

.menu-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 1.35rem;
  height: 1px;
  margin: 0.34rem auto;
  background: currentColor;
  transition: transform var(--transition);
}

.menu-toggle.is-open span:first-child {
  transform: translateY(0.34rem) rotate(45deg);
}

.menu-toggle.is-open span:last-child {
  transform: translateY(-0.34rem) rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  padding: var(--header-height) var(--page-pad) var(--space-lg);
}

.hero__inner {
  align-self: center;
  max-width: 70rem;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  color: var(--color-muted);
}

.eyebrow::before {
  content: "";
  display: block;
  width: 2rem;
  height: 1px;
  flex: 0 0 2rem;
  background: var(--color-muted);
}

.hero h1 {
  max-width: 11ch;
  margin: var(--space-sm) 0 var(--space-md);
  font-family: var(--font-display);
  font-size: var(--size-display);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.91;
}

.hero__meta {
  display: grid;
  gap: var(--space-xs);
  max-width: 38rem;
}

.hero__meta p,
.info p,
.footer p {
  margin: 0;
}

.hero__meta p:first-child {
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  line-height: 1.25;
}

.hero__meta p:last-child,
.work-item__description,
.footer__note,
.footer__copy {
  color: var(--color-muted);
}

.scroll-cue {
  position: absolute;
  right: var(--page-pad);
  bottom: var(--space-lg);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: opacity var(--transition), transform var(--transition);
}

.scroll-cue:hover {
  opacity: 0.55;
  transform: translateY(0.25rem);
}

.work,
.info,
.footer {
  padding: var(--space-xl) var(--page-pad);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-border);
}

.work-list {
  display: grid;
}

.work-item {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(10rem, 0.65fr);
  gap: var(--space-md);
  padding: clamp(1.4rem, 4vw, 2.8rem) 0;
  border-bottom: 1px solid var(--color-border);
  opacity: 0;
  transform: translateY(1.4rem);
  transition: opacity 600ms ease-in-out, transform 600ms ease-in-out,
    color var(--transition);
}

.work-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.work-item::after {
  content: "";
  grid-column: 1 / -1;
  width: 100%;
  height: 1px;
  background: var(--color-text);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.work-item:hover::after,
.work-item:focus-visible::after {
  transform: scaleX(1);
}

.work-item:hover {
  color: rgba(17, 17, 17, 0.68);
}

.work-item:hover .work-item__title {
  font-style: italic;
}

.work-item__title {
  font-family: var(--font-display);
  font-size: var(--size-large);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0;
}

.work-item__details {
  display: flex;
  justify-content: space-between;
  gap: var(--space-sm);
  color: var(--color-muted);
  font-size: var(--size-label);
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.3;
  text-transform: uppercase;
}

.work-item__description,
.work-item__code {
  grid-column: 2;
  max-width: 26rem;
  margin-top: -0.8rem;
}

.work-item__code {
  display: inline-flex;
  width: fit-content;
  margin-top: 0;
  color: var(--color-text);
  font-size: var(--size-label);
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1;
  text-transform: uppercase;
}

.info {
  display: grid;
  grid-template-columns: minmax(8rem, 0.35fr) minmax(0, 0.65fr);
  gap: var(--space-lg);
  border-top: 1px solid var(--color-border);
}

.info p:last-child {
  max-width: 48rem;
  font-size: clamp(1.45rem, 3vw, 2.65rem);
  line-height: 1.18;
}

.footer {
  display: grid;
  grid-template-columns: 0.6fr 1fr;
  gap: var(--space-md);
  align-items: start;
  border-top: 1px solid var(--color-border);
}

.footer__nav {
  justify-content: flex-end;
}

.footer__note {
  max-width: 30rem;
}

.footer__copy {
  justify-self: end;
}

.project-page {
  background: #f7f6f2;
}

.project-page::before {
  opacity: 0.14;
}

.project-page::after {
  background: rgba(247, 246, 242, 0.62);
}

.project-header {
  border-bottom: 1px solid var(--color-border);
}

.project-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(18rem, 1.15fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  min-height: 100svh;
  padding: calc(var(--header-height) + var(--space-lg)) var(--page-pad)
    var(--space-lg);
}

.project-hero__copy {
  display: grid;
  gap: var(--space-md);
}

.project-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.9;
}

.project-hero__copy > p:not(.eyebrow) {
  max-width: 42rem;
  margin: 0;
  color: rgba(17, 17, 17, 0.72);
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  line-height: 1.35;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.project-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  padding: 0 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: rgba(247, 246, 242, 0.72);
  color: var(--color-text);
  font-size: var(--size-label);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.project-hero__media,
.project-gallery figure {
  margin: 0;
}

.project-hero__media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: #ffffff;
  box-shadow: 0 2rem 5rem rgba(17, 17, 17, 0.13);
  transform: rotate(1.2deg);
  transition: transform var(--transition);
}

.project-hero__media:hover {
  transform: rotate(0deg) translateY(-0.5rem);
}

.project-hero__media img,
.project-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-md);
  padding: 0 var(--page-pad) var(--space-xl);
}

.project-gallery figure {
  display: grid;
  gap: var(--space-sm);
  overflow: hidden;
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-sm);
}

.project-gallery img {
  aspect-ratio: 16 / 9;
  border: 1px solid var(--color-border);
  filter: grayscale(0.12);
  transition: filter var(--transition), transform var(--transition);
}

.project-gallery figure:hover img {
  filter: grayscale(0);
  transform: scale(1.015);
}

.project-gallery figcaption {
  color: var(--color-muted);
  font-size: var(--size-label);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.project-explorer {
  padding: var(--space-xl) var(--page-pad);
}

.project-stack {
  display: grid;
}

.project-panel {
  border-bottom: 1px solid var(--color-border);
}

.project-panel__button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-md);
  align-items: center;
  width: 100%;
  padding: clamp(1.4rem, 4vw, 2.8rem) 0;
  border: 0;
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  text-align: left;
}

.project-panel__kicker {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--color-muted);
  font-size: var(--size-label);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.project-panel__title {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 7vw, 5.8rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.95;
  transition: font-style var(--transition), opacity var(--transition);
}

.project-panel__button:hover .project-panel__title {
  font-style: italic;
  opacity: 0.68;
}

.project-panel__icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  font-size: 1.35rem;
  transition: transform var(--transition), background var(--transition);
}

.project-panel.is-open .project-panel__icon {
  background: var(--color-text);
  color: var(--color-bg);
  transform: rotate(45deg);
}

.project-panel__content {
  display: grid;
  grid-template-columns: minmax(12rem, 0.36fr) minmax(0, 0.64fr);
  gap: var(--space-lg);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 500ms ease-in-out, opacity var(--transition),
    padding var(--transition);
}

.project-panel.is-open .project-panel__content {
  max-height: 44rem;
  opacity: 1;
  padding-bottom: clamp(1.5rem, 5vw, 4rem);
}

.project-panel__meta {
  display: grid;
  gap: var(--space-sm);
  align-content: start;
  color: var(--color-muted);
}

.project-panel__meta span {
  display: block;
  color: var(--color-text);
  font-size: var(--size-label);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.project-panel__content p {
  max-width: 52rem;
  margin: 0;
  font-size: clamp(1.2rem, 2.6vw, 2.2rem);
  line-height: 1.22;
}

.project-panel__bullets {
  display: grid;
  gap: 0.7rem;
  margin: var(--space-md) 0 0;
  padding: 0;
  color: var(--color-muted);
  list-style: none;
}

.project-panel__bullets li::before {
  content: "/";
  margin-right: 0.65rem;
  color: var(--color-text);
}

.ams-page {
  --ams-bg: #090909;
  --ams-panel: #121111;
  --ams-gold: #e7aa2d;
  --ams-line: rgba(231, 170, 45, 0.32);
  background: var(--ams-bg);
  color: #f7f6f2;
}

.ams-page::before {
  background-image: url("assets/ams-dashboard.png");
  opacity: 0.18;
  mix-blend-mode: screen;
  filter: grayscale(0.35);
}

.ams-page::after {
  background: rgba(9, 9, 9, 0.78);
}

.ams-page .site-header,
.ams-page .footer {
  background: rgba(9, 9, 9, 0.82);
  border-color: var(--ams-line);
}

.ams-page .eyebrow,
.ams-page .project-panel__kicker,
.ams-page .project-gallery figcaption,
.ams-page .project-panel__meta {
  color: rgba(247, 246, 242, 0.62);
}

.ams-page .eyebrow::before,
.ams-page .section-heading,
.ams-page .project-panel,
.ams-page .project-hero__media,
.ams-page .project-gallery img,
.ams-page .footer {
  border-color: var(--ams-line);
}

.ams-page .eyebrow::before {
  background: var(--ams-gold);
}

.ams-page .project-tags span {
  border-color: var(--ams-line);
  background: rgba(231, 170, 45, 0.08);
  color: var(--ams-gold);
}

.ams-page .project-hero__copy > p:not(.eyebrow),
.ams-page .footer__note,
.ams-page .footer__copy,
.ams-page .project-panel__bullets {
  color: rgba(247, 246, 242, 0.66);
}

.ams-page .project-hero__media {
  background: var(--ams-panel);
  box-shadow: 0 2rem 7rem rgba(231, 170, 45, 0.16);
}

.ams-page .project-hero {
  grid-template-columns: 1fr;
  min-height: auto;
  padding-top: calc(var(--header-height) + var(--space-xl));
}

.ams-page .project-hero__copy {
  max-width: 72rem;
}

.ams-page .project-hero h1 {
  max-width: none;
  font-size: clamp(3.4rem, 9vw, 7rem);
}

.ams-page .project-hero__media {
  overflow: visible;
  transform: none;
}

.ams-page .project-hero__media:hover {
  transform: translateY(-0.35rem);
}

.ams-page .project-hero__media img,
.ams-page .project-gallery img {
  height: auto;
  object-fit: contain;
}

.ams-page .project-panel__button,
.ams-page .project-panel__meta span,
.ams-page .project-panel__bullets li::before {
  color: #f7f6f2;
}

.ams-page .project-panel__icon {
  border-color: var(--ams-line);
  color: var(--ams-gold);
}

.ams-page .project-panel.is-open .project-panel__icon {
  background: var(--ams-gold);
  color: var(--ams-bg);
}

.support-page::before {
  background-image: url("assets/support-analytics.png");
}

.digitrak-page::before {
  background-image: url("assets/digitrak-dashboard.png");
}

.digitrak-gallery {
  gap: clamp(1.5rem, 4vw, 3rem);
}

.business-card-page::before {
  background-image: url("assets/business-card-front.svg");
  opacity: 0.1;
}

.hoc-card-page::before {
  background-image: url("assets/hoc-card-front.svg");
}

.business-card-spread {
  display: grid;
  grid-template-columns: repeat(2, minmax(12rem, 24rem));
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
  justify-content: center;
  width: min(100%, 58rem);
  margin: 0 auto;
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid var(--ams-line);
  background:
    radial-gradient(circle at 20% 0%, rgba(231, 170, 45, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(247, 246, 242, 0.05), rgba(247, 246, 242, 0.01)),
    var(--ams-panel);
  box-shadow: 0 2rem 7rem rgba(231, 170, 45, 0.14);
}

.business-card-spread img {
  display: block;
  width: 100%;
  max-width: 24rem;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  border: 1px solid var(--ams-line);
  background: #050505;
  box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.32);
  transition: transform var(--transition), box-shadow var(--transition);
}

.business-card-spread img:first-child {
  transform: rotate(-1.5deg);
}

.business-card-spread img:last-child {
  transform: rotate(1.5deg);
}

.business-card-spread:hover img:first-child,
.business-card-spread:hover img:last-child {
  transform: rotate(0deg) translateY(-0.12rem);
  box-shadow: 0 1.6rem 4rem rgba(0, 0, 0, 0.42);
}

.support-page .project-hero__media,
.support-page .project-gallery figure {
  overflow: hidden;
}

.support-page .project-hero__media img,
.support-page .project-gallery img {
  transform: none;
  transform-origin: center top;
}

.support-page .project-hero__media:hover img,
.support-page .project-gallery figure:hover img {
  transform: scale(1.015);
}

.ams-writeup {
  display: grid;
  grid-template-columns: minmax(8rem, 0.25fr) repeat(2, minmax(0, 1fr));
  gap: var(--space-lg);
  padding: 0 var(--page-pad) var(--space-xl);
}

.ams-writeup p:not(.eyebrow) {
  margin: 0;
  color: rgba(247, 246, 242, 0.72);
  font-size: clamp(1.18rem, 2vw, 1.7rem);
  line-height: 1.35;
}

.ams-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-sm);
  padding: 0 var(--page-pad) var(--space-xl);
}

.ams-metrics article {
  min-height: 9rem;
  padding: var(--space-md);
  border: 1px solid var(--ams-line);
  background: linear-gradient(
      135deg,
      rgba(231, 170, 45, 0.14),
      rgba(247, 246, 242, 0.02)
    ),
    var(--ams-panel);
}

.ams-metrics span {
  display: block;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5vw, 4.6rem);
  font-weight: 800;
  line-height: 0.95;
}

.ams-metrics p {
  margin: var(--space-sm) 0 0;
  color: rgba(247, 246, 242, 0.58);
}

.ams-gallery {
  grid-template-columns: 1fr;
}

.ams-gallery img {
  aspect-ratio: auto;
  background: var(--ams-panel);
  filter: none;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 700ms ease-in-out, transform 700ms ease-in-out;
  transition-delay: var(--reveal-delay, 0ms);
}

body.is-ready [data-reveal] {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 4rem;
  }

  .site-header {
    align-items: flex-start;
    padding-top: 0.65rem;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: var(--header-height);
    right: var(--page-pad);
    display: grid;
    justify-items: end;
    gap: 1.2rem;
    padding: var(--space-md) 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.5rem);
    transition: opacity var(--transition), transform var(--transition);
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .hero {
    min-height: 100svh;
  }

  .scroll-cue {
    left: var(--page-pad);
    right: auto;
  }

  .work-item {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .work-item__details {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .work-item__description,
  .work-item__code {
    grid-column: auto;
    max-width: none;
    margin-top: 0;
  }

  .info,
  .footer {
    grid-template-columns: 1fr;
  }

  .footer__nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .footer__copy {
    justify-self: start;
  }

  .project-hero,
  .project-gallery,
  .project-panel__content,
  .ams-writeup,
  .ams-metrics,
  .ams-gallery,
  .business-card-spread {
    grid-template-columns: 1fr;
  }

  .business-card-spread img:first-child,
  .business-card-spread img:last-child {
    transform: none;
  }

  .project-hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + var(--space-xl));
  }

  .project-hero__media {
    transform: none;
  }

  .project-panel__button {
    grid-template-columns: minmax(0, 1fr) 2.6rem;
  }
}
