/* Lovespun Studios */

:root {
  --bg: #fdf2f6;
  --surface: #ffffff;
  --blush: #f9e3ec;
  --blush-2: #f1e2ea;
  --tint-pink: #fde8f1;
  --tint-lilac: #f0eaff;
  --tint-peach: #fff0e6;
  --tint-cream: #fff7ec;
  --ink: #1b1118;
  --ink-2: #4a3a45;
  --muted: #7d6b77;
  --line: rgba(27, 17, 24, 0.1);
  --line-strong: rgba(27, 17, 24, 0.18);
  --pink: #ff4d97;
  --pink-deep: #e0337c;
  --pink-soft: #ffd6e8;
  --lilac: #c9b6ff;
  --night: #140c12;
  --night-2: #21151e;
  --night-line: rgba(255, 255, 255, 0.12);
  --night-muted: #b9a7b3;
  --radius: 20px;
  --radius-lg: 30px;
  --max: 1240px;
  --header: 72px;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Unbounded", "Arial Black", ui-sans-serif, system-ui, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 12px); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
main { overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
[hidden] { display: none !important; }
::selection { background: var(--pink-soft); color: var(--ink); }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.035em; line-height: 1.02; }
h1 em, h2 em, h3 em {
  font-family: var(--display);
  font-style: normal;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--pink);
  /* a little room around the letters, since the gloss below only paints inside this box */
  padding: 0.06em 0.04em 0.1em;
  margin: -0.06em -0.04em -0.1em;
}
h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); }
p { margin: 0; }

.container { width: min(var(--max), 100% - 48px); margin-inline: auto; }
.section { padding-block: clamp(80px, 11vw, 140px); }

.skip { position: absolute; left: -999px; top: 10px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 10px; }

/* ---------- small parts ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 18px;
}
.eyebrow span:first-child { color: var(--pink); letter-spacing: 0.06em; }
.eyebrow-light { color: var(--night-muted); }

.btn {
  --h: 50px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 24px; border-radius: 999px;
  font: 500 15px/1 var(--sans); letter-spacing: -0.005em; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn:active { transform: scale(0.98); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--pink-deep); }
.btn-pink { background: var(--pink); color: #fff; }
.btn-pink:hover { background: #fff; color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-ghost-light { background: transparent; color: #fff; border-color: var(--night-line); }
.btn-ghost-light:hover { border-color: #fff; }
.btn-sm { --h: 40px; padding: 0 18px; font-size: 14px; }
.btn-lg { --h: 58px; padding: 0 30px; font-size: 16px; }

.link-arrow {
  display: inline-flex; gap: 8px; align-items: center; font-weight: 500; text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.link-arrow::after { content: "↗"; transition: transform 0.25s var(--ease); }
.link-arrow:hover::after { transform: translate(2px, -2px); }

.glow { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; z-index: 0; }

/* ---------- header ---------- */
.header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; height: var(--header);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(253, 242, 246, 0.78);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom-color: var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand {
  font-weight: 600; font-size: 22px; letter-spacing: -0.04em; text-decoration: none;
  display: inline-flex; align-items: baseline; gap: 2px;
}
.brand-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pink); display: inline-block; }
.brand-xo { color: var(--pink); }
.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a { font-size: 15px; color: var(--ink-2); text-decoration: none; position: relative; }
.nav a:hover { color: var(--ink); }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); }
.nav .nav-cta { display: none; }
.menu-btn { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(40px, 7vw, 90px) 0 clamp(60px, 8vw, 110px); }
.glow-pink { width: 520px; height: 520px; background: rgba(255, 77, 151, 0.28); top: -120px; right: 4%; }
.glow-lilac { width: 420px; height: 420px; background: rgba(201, 182, 255, 0.35); top: 220px; right: 28%; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.status {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px; border-radius: 999px; margin-bottom: 28px;
  background: rgba(255, 255, 255, 0.7); border: 1px solid var(--line);
  font-size: 14px; color: var(--ink-2);
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); position: relative; }
.pulse::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--pink);
  animation: pulse 2s var(--ease) infinite;
}
h1 { font-size: clamp(3rem, 6.6vw, 6.1rem); line-height: 0.96; letter-spacing: -0.05em; }
.lede { margin-top: 26px; max-width: 34rem; font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-2); line-height: 1.6; }
.lede strong { color: var(--ink); font-weight: 600; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.as-seen {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 20px; margin-top: 40px; padding-top: 22px; max-width: 36rem;
  border-top: 1px solid var(--line); text-decoration: none; color: var(--ink-2);
}
.as-seen-label { flex-basis: 100%; font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.as-seen-name { font-size: clamp(16px, 1.4vw, 18px); font-weight: 600; line-height: 1.5; letter-spacing: -0.02em; white-space: nowrap; transition: color 0.25s var(--ease); }
.as-seen:hover .as-seen-name { color: var(--ink); }

.hero-media { position: relative; }
.collage { display: grid; grid-template-columns: 1.15fr 0.85fr; grid-template-rows: 1fr 1fr; gap: 14px; height: clamp(440px, 46vw, 600px); }
.collage figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--blush); box-shadow: 0 30px 60px -30px rgba(27, 17, 24, 0.35); }
.collage figure:first-child { grid-row: span 2; }
.collage figure { position: relative; }
/* a cut-out (transparent) picture that steps out of its frame */
.collage figure.pop { overflow: visible; background: none; box-shadow: none; }
/* midnight plum sky: pink glow behind the head, stars above */
.pop-bg {
  position: absolute; inset: 0; border-radius: var(--radius-lg); overflow: hidden;
  background:
    radial-gradient(60% 42% at 50% 30%, rgba(255, 77, 151, 0.45), transparent 70%),
    radial-gradient(70% 40% at 50% 100%, rgba(201, 182, 255, 0.18), transparent 70%),
    linear-gradient(170deg, #2a1624, var(--night) 70%);
  box-shadow: 0 30px 60px -30px rgba(27, 17, 24, 0.45);
}
.pop-bg::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(1.6px 1.6px at 12% 18%, #fff, transparent), radial-gradient(1.2px 1.2px at 78% 12%, var(--pink-soft), transparent),
    radial-gradient(1.4px 1.4px at 88% 42%, #fff, transparent), radial-gradient(1px 1px at 22% 46%, #fff, transparent),
    radial-gradient(1.6px 1.6px at 64% 8%, #fff, transparent), radial-gradient(1.2px 1.2px at 6% 34%, var(--pink-soft), transparent),
    radial-gradient(1px 1px at 93% 26%, #fff, transparent), radial-gradient(1.4px 1.4px at 38% 6%, var(--lilac), transparent),
    radial-gradient(1px 1px at 52% 20%, #fff, transparent), radial-gradient(1.2px 1.2px at 30% 30%, var(--pink-soft), transparent);
}
.pop-spark {
  position: absolute; color: var(--pink-soft); font-size: 18px; font-style: normal; line-height: 1;
  text-shadow: 0 0 12px rgba(255, 77, 151, 0.9);
  animation: twinkle 4.2s ease-in-out infinite both;
}
.pop-spark:nth-child(1) { left: 7%; top: 9%; }
.pop-spark:nth-child(2) { right: 6%; top: 28%; font-size: 13px; animation-delay: 1.4s; }
.pop-spark:nth-child(3) { left: 5%; top: 42%; font-size: 11px; animation-delay: 2.8s; }
.collage figure.pop img {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; width: 100%; height: 114%;
  object-fit: contain; object-position: center bottom; --zoom: 1;
  /* a faint rim light plus a deep shadow so she lifts off the dark tile */
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.35)) drop-shadow(0 20px 30px rgba(0, 0, 0, 0.55));
}
.collage figure.pop:hover img { scale: 1.02; }
.tile-label {
  position: absolute; left: 12px; bottom: 12px; z-index: 1; display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 11px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); color: var(--ink);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.2;
  box-shadow: 0 8px 20px -10px rgba(27, 17, 24, 0.4);
}
.tile-label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--pink); flex: none; }
.collage figure img { width: 100%; height: 100%; object-fit: cover; --zoom: 1.12; transition: scale 1.2s var(--ease); }
.collage figure:hover img { scale: 1.04; }
[data-speed] { transform: translate3d(0, var(--py, 0px), 0) scale(var(--zoom, 1)); will-change: transform; }
.chip {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-radius: 16px; max-width: 280px;
  background: rgba(255, 255, 255, 0.82); border: 1px solid rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px -18px rgba(27, 17, 24, 0.35);
  font-size: 14px; font-weight: 500; line-height: 1.3; color: var(--ink);
  animation: chip-pop 0.8s var(--spring) 1s both, float 7s ease-in-out 1.8s infinite;
}
.chip::before { content: "✦"; color: var(--pink); font-size: 14px; }
.chip-1 { left: -28px; bottom: 54px; }
.chip-2 { right: -18px; top: 26px; animation-delay: 1.15s, 2.6s; }
.chip-3 { right: 24%; bottom: -22px; animation-delay: 1.3s, 3.4s; }
/* signed callout pointing at the bag in the big picture */
.signature {
  position: absolute; z-index: 3; left: -112px; top: 29%; display: grid; gap: 4px; max-width: 228px;
  padding: 14px 18px 12px; border-radius: 20px 20px 20px 6px;
  background: rgba(255, 255, 255, 0.86); border: 1px solid rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px -18px rgba(27, 17, 24, 0.35);
  rotate: -3deg;
  animation: chip-pop 0.8s var(--spring) 0.9s both, float 7s ease-in-out 1.6s infinite;
}
/* the tail, nudging toward the bag */
.signature::after {
  content: ""; position: absolute; right: 30px; bottom: -8px; width: 16px; height: 16px; rotate: 45deg;
  background: inherit; border: inherit; border-top: 0; border-left: 0; border-radius: 0 0 4px 0;
}
.sig-collab { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pink-deep); }
.sig-note { font-size: 14px; font-weight: 500; line-height: 1.3; color: var(--ink); }
.sig-name {
  justify-self: end; margin-top: 2px; font-family: var(--display); font-weight: 900; font-size: 19px;
  letter-spacing: -0.03em; color: var(--pink); rotate: -4deg;
}
.sig-name::before { content: "xx "; font-family: var(--sans); font-weight: 600; }
.sig-name::after { content: " ♡"; font-family: var(--sans); font-weight: 600; font-size: 0.85em; }

/* ---------- trusted marquee ---------- */
.trusted { border-block: 1px solid var(--line); padding: 26px 0 30px; background: rgba(255, 255, 255, 0.5); }
.trusted-label { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  display: inline-flex; align-items: center; gap: 34px; padding-right: 34px;
  font-size: clamp(20px, 2.2vw, 28px); font-weight: 500; letter-spacing: -0.03em; color: var(--ink-2); white-space: nowrap;
}
.marquee-track span::after { content: "✦"; font-size: 14px; color: var(--pink); }

/* ---------- stats ---------- */
.stats-wrap { padding-top: clamp(56px, 7vw, 90px); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0; }
.stats[data-n="3"], .stats[data-n="5"], .stats[data-n="6"] { grid-template-columns: repeat(3, 1fr); }
.stats[data-n="2"] { grid-template-columns: repeat(2, 1fr); }
.stats[data-n="1"] { grid-template-columns: 1fr; }
.stats[data-n="5"] .stat:last-child { grid-column: span 2; }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 28px 26px 30px; border-radius: 26px; margin: 0; background: var(--tint-pink); }
.stat:nth-child(4n + 2) { background: var(--tint-lilac); }
.stat:nth-child(4n + 3) { background: var(--tint-peach); }
.stat:nth-child(4n + 4) { background: var(--tint-cream); }
.stat dt { font-size: 15px; color: var(--muted); margin-top: 10px; max-width: 16rem; line-height: 1.45; }
.stat dd { margin: 0; font-size: clamp(2.6rem, 5vw, 4.4rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1; display: flex; align-items: baseline; gap: 2px; }
.stat dd small { font-size: 0.42em; font-weight: 500; letter-spacing: -0.02em; color: var(--ink-2); margin-right: 6px; }
.stat dd .suffix { color: var(--pink-deep); }

/* ---------- section heads ---------- */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { max-width: 15em; }
.section-note { color: var(--muted); font-size: 15px; }

/* ---------- work ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 6px; padding: 5px; border-radius: 999px; background: var(--blush); }
.filter {
  font: 500 14px/1 var(--sans); color: var(--ink-2); background: transparent; border: 0; cursor: pointer;
  padding: 11px 18px; border-radius: 999px; transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.filter:hover { color: var(--ink); }
.filter.is-on { background: var(--surface); color: var(--ink); box-shadow: 0 2px 10px -4px rgba(27, 17, 24, 0.25); }

.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 22px; grid-auto-flow: dense; }
.card { position: relative; display: flex; flex-direction: column; gap: 18px; }
.card.is-hidden { display: none; }
.card-media {
  position: relative; aspect-ratio: 4 / 3.3; border-radius: var(--radius); overflow: hidden; background: var(--blush);
  isolation: isolate;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.card:hover .card-media img { transform: scale(1.045); }
.card-media .placeholder {
  position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center;
  font-family: var(--display); font-weight: 900; font-size: clamp(22px, 2.4vw, 32px); letter-spacing: -0.02em; color: var(--pink-deep); line-height: 1.2;
}
.card-badge {
  position: absolute; top: 14px; left: 14px; z-index: 1;
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 999px; background: var(--pink); color: #fff;
}
.card-open {
  position: absolute; right: 14px; bottom: 14px; z-index: 1; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, 0.9); color: var(--ink); font-size: 18px;
  opacity: 0; transform: translateY(6px) scale(0.9); transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.card:hover .card-open, .card:focus-within .card-open { opacity: 1; transform: none; }
.card-play {
  position: absolute; left: 14px; bottom: 14px; z-index: 1; display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); color: var(--ink);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em; box-shadow: 0 10px 24px -12px rgba(27, 17, 24, 0.45);
}
.play-icon { width: 28px; height: 28px; border-radius: 50%; background: var(--pink); display: grid; place-items: center; flex: none; }
.play-icon::before { content: ""; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent #fff; margin-left: 2px; }
.card-body { display: flex; flex-direction: column; gap: 8px; }
.card-meta { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); letter-spacing: 0.02em; }
.card-meta span:first-child { text-transform: uppercase; letter-spacing: 0.1em; font-weight: 500; }
.card h3 { font-size: clamp(21px, 1.9vw, 25px); letter-spacing: -0.03em; line-height: 1.15; }
.card-link { text-decoration: none; }
.card-link::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: var(--radius); }
.card-link:focus-visible { outline: none; }
.card-link:focus-visible::after { outline: 2px solid var(--pink); outline-offset: 6px; }
.card-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font-size: 12px; font-weight: 500; padding: 5px 10px; border-radius: 999px; background: var(--blush); color: var(--ink-2); }
.card.featured { grid-column: span 2; grid-row: span 2; }
.card.featured .card-media { flex: 1; aspect-ratio: auto; min-height: 320px; }
.card.featured h3 { font-size: clamp(26px, 2.6vw, 34px); }
.more { display: flex; justify-content: center; margin-top: 56px; }

/* ---------- spotlight ---------- */
.spotlight { position: relative; background: var(--night); color: #fff; padding-block: clamp(90px, 11vw, 150px); overflow: hidden; }
.glow-spot { width: 640px; height: 640px; background: rgba(255, 77, 151, 0.22); left: -160px; top: -120px; }
.spotlight-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.spotlight-media { margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--night-2); border: 1px solid var(--night-line); }
.spotlight-media img { width: 100%; height: auto; --zoom: 1.08; }
.compare { position: relative; aspect-ratio: 4 / 5; overflow: hidden; user-select: none; -webkit-user-select: none; }
.spotlight-media .compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.spotlight-media .compare .compare-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; box-shadow: 0 0 12px rgba(0, 0, 0, 0.25); }
.compare-handle span {
  position: absolute; top: 50%; left: 50%; width: 50px; height: 50px; margin: -25px 0 0 -25px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; color: var(--ink); font-size: 17px; font-weight: 600; letter-spacing: 0.04em;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.5);
}
.compare-label {
  position: absolute; top: 16px; padding: 7px 12px; border-radius: 999px; pointer-events: none;
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
}
.compare-label-before { left: 16px; background: rgba(255, 255, 255, 0.92); color: var(--ink); }
.compare-label-after { right: 16px; background: var(--pink); color: #fff; }
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.compare:has(.compare-range:focus-visible) .compare-handle span { outline: 2px solid var(--pink); outline-offset: 3px; }
.spot-client { font-size: 15px; font-weight: 500; color: var(--pink); margin-bottom: 14px; letter-spacing: 0.01em; }
.spotlight h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); color: #fff; }
.spot-text { margin-top: 22px; color: var(--night-muted); max-width: 36rem; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 36px 0 0; padding-top: 28px; border-top: 1px solid var(--night-line); }
.metrics div { display: flex; flex-direction: column-reverse; justify-content: flex-end; margin: 0; }
.metrics dd { margin: 0; font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1; }
.metrics dt { margin-top: 8px; font-size: 14px; color: var(--night-muted); line-height: 1.4; }
.quote {
  margin: 36px 0 0; padding-left: 22px; border-left: 2px solid var(--pink);
  font-size: clamp(19px, 1.7vw, 22px); font-weight: 500; line-height: 1.45; letter-spacing: -0.015em; color: #fff;
}
.quote cite { display: block; margin-top: 10px; font-family: var(--sans); font-style: normal; font-size: 14px; color: var(--night-muted); }
.spotlight .link-arrow { margin-top: 30px; color: #fff; }

/* ---------- press ---------- */
.press-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.press-quote {
  margin: 0; display: flex; flex-direction: column; gap: 22px; padding: 28px 28px 26px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
@supports (grid-template-rows: subgrid) {
  /* line the outlet, quote and headline rows up across the cards */
  .press-quote { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 22px; }
}
.press-quote-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 13px; color: var(--muted); letter-spacing: 0.02em; }
.press-outlet { font-size: 18px; font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; color: var(--ink); }
.press-quote blockquote {
  margin: 0; flex: 1; font-size: clamp(18px, 1.5vw, 20px); font-weight: 500; line-height: 1.45; letter-spacing: -0.015em; color: var(--ink);
  text-wrap: pretty;
}
.press-quote blockquote::before {
  content: "“"; display: block; height: 0.62em; margin-bottom: 6px;
  font-family: var(--display); font-weight: 900; font-size: 54px; line-height: 1; color: var(--pink);
}
.press-quote figcaption { padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.press-quote figcaption a { text-decoration: none; }
.press-quote figcaption a:hover { color: var(--pink-deep); }
.press-quote figcaption .arrow { margin-left: 6px; color: var(--muted); }
.press-index { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--line); }
.press-index li { border-bottom: 1px solid var(--line); }
.press-index li.is-hidden { display: none; }
#press .more { margin-top: 40px; }
.press-index a, .press-index div {
  display: grid; grid-template-columns: minmax(150px, 0.32fr) minmax(0, 1fr) auto 22px; gap: 6px 28px; align-items: baseline;
  padding: 18px 8px; text-decoration: none; transition: background 0.3s var(--ease), padding 0.3s var(--ease);
}
.press-index a:hover { background: var(--surface); padding-inline: 20px; border-radius: 14px; }
.pi-outlet { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; }
.pi-title { color: var(--ink-2); }
.pi-date { font-size: 14px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pi-arrow { color: var(--muted); transition: transform 0.25s var(--ease), color 0.25s var(--ease); }
.press-index a:hover .pi-arrow { color: var(--pink); transform: translate(2px, -2px); }

/* ---------- clients ---------- */
.client-groups { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.client-group { padding: 28px 24px 8px 0; }
.client-group + .client-group { padding-left: 24px; border-left: 1px solid var(--line); }
.client-group h3 { font-size: 13px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.client-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.client-group li { font-size: clamp(18px, 1.6vw, 21px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.25; }

/* ---------- services ---------- */
.services { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); counter-reset: svc; }
.service {
  counter-increment: svc; display: grid; grid-template-columns: 80px 1fr 1.2fr; gap: 24px; align-items: baseline;
  padding: 30px 8px; border-bottom: 1px solid var(--line); transition: background 0.3s var(--ease), padding 0.3s var(--ease);
}
.service::before { content: counter(svc, decimal-leading-zero); font-size: 14px; color: var(--pink); font-weight: 500; }
.service h3 { font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -0.035em; }
.service p { color: var(--ink-2); }
.service:hover { background: var(--surface); padding-inline: 20px; border-radius: 14px; }
.process { margin-top: clamp(64px, 8vw, 100px); }
.process-title { font-size: 13px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.process-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.process-steps li {
  counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px 28px; display: flex; flex-direction: column; gap: 10px;
}
.process-steps li::before {
  content: counter(step); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--blush); color: var(--pink-deep); font-size: 14px; font-weight: 600; margin-bottom: 8px;
}
.process-steps h4 { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -0.025em; }
.process-steps p { color: var(--ink-2); font-size: 15px; }

/* ---------- rates ---------- */
.hourly {
  display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 8px 32px;
  padding: 26px 30px; border-radius: var(--radius-lg); background: var(--ink); color: #fff; margin-bottom: 18px;
}
.hourly-label { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pink-soft); }
.hourly-price { font-size: clamp(28px, 3.4vw, 40px); font-weight: 600; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.hourly-note { color: #c9b9c3; font-size: 14px; justify-self: end; text-align: right; max-width: 24rem; }
.rate-groups { columns: 3 300px; column-gap: 18px; }
.rate-group { break-inside: avoid; margin-bottom: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px 8px; }
.rate-group h3 { font-size: 13px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.rate-group ul { list-style: none; margin: 0; padding: 0; }
.rate-group li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.rate-group li:first-child { border-top: 0; }
.rate-name { font-weight: 500; }
.rate-price { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rate-note { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }
.rates-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 12px; color: var(--muted); font-size: 15px; }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.about-media { margin: 0; position: sticky; top: calc(var(--header) + 24px); }
.about-frame { border-radius: var(--radius-lg); overflow: hidden; background: var(--blush); }
.about-frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; --zoom: 1.1; }
.about-media figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); }
.about-copy h2 { margin-bottom: 28px; }
.about-text { display: grid; gap: 18px; color: var(--ink-2); font-size: 18px; max-width: 40rem; }
.about-text strong { color: var(--ink); font-weight: 600; }
.recognition { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.recognition li { display: flex; gap: 14px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.recognition li::before { content: "✦"; color: var(--pink); font-size: 13px; }
.milestones-title { margin: 48px 0 6px; font-size: 13px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.milestones { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.milestones li { display: grid; grid-template-columns: 110px 1fr; gap: 18px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 15px; }
.milestones b { font-weight: 600; }
.milestones span { color: var(--ink-2); }

/* ---------- contact ---------- */
.contact { position: relative; overflow: hidden; background: var(--night); color: #fff; text-align: center; padding-block: clamp(100px, 13vw, 170px); }
.glow-contact { width: 760px; height: 460px; background: rgba(255, 77, 151, 0.28); left: 50%; top: 60%; transform: translate(-50%, -50%); }
.contact-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.contact .eyebrow { justify-content: center; }
.contact h2 { font-size: clamp(2.8rem, 7vw, 6.2rem); letter-spacing: -0.05em; max-width: 12em; }
.contact-sub { margin-top: 24px; color: var(--night-muted); font-size: clamp(17px, 1.6vw, 20px); max-width: 34rem; }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.contact-email { margin-top: 18px; color: var(--night-muted); font-size: 15px; }
.contact-email span { color: #fff; font-weight: 600; user-select: all; }
.socials { list-style: none; margin: 48px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; }
.socials a { color: var(--night-muted); text-decoration: none; font-size: 15px; transition: color 0.25s var(--ease); }
.socials a:hover { color: #fff; }

/* ---------- footer ---------- */
.footer { padding: 28px 0; border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.footer .brand { font-size: 18px; color: var(--ink); }
.footer-top { text-decoration: none; }
.footer-top:hover { color: var(--ink); }

/* ---------- case modal ---------- */
.case {
  width: min(1120px, 100% - 32px); max-height: calc(100% - 48px); padding: 0; border: 0; border-radius: var(--radius-lg);
  background: var(--surface); color: var(--ink); box-shadow: 0 40px 120px -20px rgba(20, 12, 18, 0.5); overflow: hidden;
}
.case::backdrop { background: rgba(20, 12, 18, 0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.case[open] { animation: rise 0.45s var(--ease); }
.case-inner { display: grid; grid-template-columns: 1.25fr 1fr; max-height: calc(100vh - 48px); }
.case-media { background: var(--blush); display: flex; flex-direction: column; min-height: 0; min-width: 0; }
.case-media > img { width: 100%; flex: 1; min-height: 0; object-fit: contain; max-height: calc(100vh - 160px); background: var(--blush); }
.case-film { position: relative; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.case-film video { display: block; width: 100%; height: auto; max-height: calc(100vh - 160px); object-fit: contain; background: var(--blush); }
.case-play {
  position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; background: rgba(255, 255, 255, 0.92); box-shadow: 0 18px 40px -16px rgba(27, 17, 24, 0.55);
  transition: transform 0.3s var(--spring);
}
.case-play:hover { transform: scale(1.06); }
.case-play:focus-visible { outline: 3px solid var(--pink); outline-offset: 4px; }
.case-play .play-icon { width: 62px; height: 62px; }
.case-play .play-icon::before { border-width: 11px 0 11px 18px; margin-left: 5px; }
.case-thumbs .is-film { position: relative; }
.case-thumbs .is-film::after {
  content: ""; position: absolute; inset: 0; width: 0; height: 0; margin: auto; border-style: solid;
  border-width: 7px 0 7px 12px; border-color: transparent transparent transparent #fff; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.6));
}
.case-thumbs { display: flex; gap: 8px; padding: 12px; overflow-x: auto; }
.case-thumbs:empty { display: none; }
.case-thumbs button { flex: 0 0 auto; width: 74px; height: 56px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: none; opacity: 0.65; }
.case-thumbs button[aria-current="true"] { border-color: var(--pink); opacity: 1; }
.case-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.case-copy { padding: clamp(28px, 4vw, 48px); overflow-y: auto; display: flex; flex-direction: column; gap: 14px; }
.case-meta { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.case-copy h3 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.04em; }
.case-client { color: var(--pink-deep); font-weight: 500; }
.case-text { color: var(--ink-2); white-space: pre-line; }
.case-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.case-close {
  position: absolute; top: 14px; right: 14px; z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, 0.92); color: var(--ink); font-size: 16px; box-shadow: 0 6px 20px -8px rgba(0, 0, 0, 0.3);
}
.case-close:hover { background: var(--ink); color: #fff; }

/* ---------- toast & preview ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 120; transform: translate(-50%, 140%); visibility: hidden;
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 14px; font-size: 15px;
  transition: transform 0.35s var(--ease), visibility 0.35s;
}
.toast.show { transform: translate(-50%, 0); visibility: visible; }
.preview-bar {
  position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 110;
  background: var(--pink); color: #fff; padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 500;
  box-shadow: 0 12px 30px -10px rgba(224, 51, 124, 0.6); white-space: nowrap; max-width: calc(100% - 24px); overflow: hidden; text-overflow: ellipsis;
}
.preview-bar a { color: #fff; }

/* ---------- motion ---------- */
/* Every animation starts hidden or offset and ends on the element's normal look, so the
   page is complete at rest. Reduced-motion visitors get none of it (see the bottom). */

/* hero entrance, once on load */
.hero .status { animation: hero-rise 0.8s var(--ease) 0.05s both; }
.hero h1 { animation: hero-blur 1.1s var(--ease) 0.12s both; }
.hero .lede { animation: hero-rise 0.9s var(--ease) 0.3s both; }
.hero-ctas { animation: hero-rise 0.9s var(--ease) 0.42s both; }
.as-seen { animation: hero-rise 0.9s var(--ease) 0.55s both; }
.collage figure { animation: hero-rise 1s var(--ease) both; }
.collage figure img { animation: curtain 1.4s var(--ease) backwards; }
.collage figure:nth-child(1), .collage figure:nth-child(1) img { animation-delay: 0.15s; }
.collage figure:nth-child(2), .collage figure:nth-child(2) img { animation-delay: 0.3s; }
.collage figure:nth-child(3), .collage figure:nth-child(3) img { animation-delay: 0.45s; }

/* the pink word wipes on, then twinkles */
.hero h1 em {
  display: inline-block; position: relative;
  animation: write-on 1.3s cubic-bezier(0.65, 0, 0.25, 1) 0.55s backwards, sheen 7s ease-in-out 2.4s infinite;
}
.hero h1 em::before, .hero h1 em::after {
  content: "✦"; content: "✦" / ""; position: absolute; line-height: 1; pointer-events: none;
  font-family: var(--sans); font-style: normal; font-weight: 400;
  color: var(--pink); -webkit-text-fill-color: currentColor; background: none;
  animation: twinkle 3.4s ease-in-out 1.7s infinite both;
}
.hero h1 em::before { font-size: 0.26em; top: 0.06em; right: -0.12em; }
.hero h1 em::after { font-size: 0.16em; top: 0.3em; left: -0.08em; color: #b99bff; animation-delay: 2.9s; }

/* a glossy shine that sweeps across every pink accent word */
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  h1 em, h2 em, h3 em {
    background: linear-gradient(100deg, var(--pink) 0 43%, #ff9ac4 47.5%, #ffd3e6 50%, #ff9ac4 52.5%, var(--pink) 57% 100%) 100% 0 / 280% 100% no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: sheen 7s ease-in-out 2.4s infinite;
  }
}

/* headings rise in word by word (main.js splits them) */
.split .w { display: inline-block; }
.split.in .w { animation: word-in 0.9s var(--ease) calc(var(--i, 0) * 0.06s) both; }

/* everything else eases up as it scrolls into view, a little staggered */
.reveal.in { animation: reveal-in 0.9s var(--ease) var(--d, 0s) both; }
.card.in .card-media img, .card.in .card-media .placeholder { animation: curtain 1.3s var(--ease) var(--d, 0s) backwards; }
.spotlight-media.in > img, .about-media.in img, .spotlight-media.in .compare { animation: curtain 1.5s var(--ease) 0.1s backwards; }

/* holo-foil shine that follows the pointer; work cards also tilt (main.js sets the values) */
.card-media { transition: transform 0.7s var(--ease); }
.card-media.shine { transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition-duration: 0.15s; }
.card-media::after, .stat::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; border-radius: inherit;
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 30%), rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 45%),
    linear-gradient(115deg, rgba(255, 77, 151, 0) 18%, rgba(255, 77, 151, 0.6) 32%, rgba(255, 214, 102, 0.55) 42%, rgba(110, 231, 255, 0.6) 52%, rgba(185, 155, 255, 0.65) 62%, rgba(255, 77, 151, 0) 78%);
  background-size: 100% 100%, 300% 300%;
  background-position: 0 0, var(--hx, 50%) var(--hy, 50%);
  mix-blend-mode: overlay;
  opacity: 0; transition: opacity 0.45s var(--ease);
}
.stat::after { mix-blend-mode: soft-light; }
.card-media.shine::after, .stat.shine::after { opacity: 1; }
.stat { position: relative; overflow: hidden; isolation: isolate; }
.stat > * { position: relative; z-index: 1; }

/* buttons catch the light on hover */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn-dark::after, .btn-pink::after {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 0; width: 45%; pointer-events: none;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0));
  transform: translateX(-130%) skewX(-18deg);
}
.btn-dark:hover::after, .btn-pink:hover::after { animation: btn-sheen 0.9s var(--ease); }

/* the soft glows drift slowly */
.glow-pink { animation: drift 18s ease-in-out infinite; }
.glow-lilac { animation: drift 23s ease-in-out -8s infinite reverse; }
.glow-spot { animation: drift 26s ease-in-out infinite; }
.glow-contact { animation: drift 21s ease-in-out -6s infinite; }

/* reading progress */
.progress {
  position: fixed; left: 0; right: 0; top: env(safe-area-inset-top, 0px); z-index: 60; height: 3px; pointer-events: none;
  background: linear-gradient(90deg, var(--pink), var(--lilac)); transform-origin: 0 50%; transform: scaleX(var(--p, 0));
}

@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pulse { 0% { transform: scale(0.6); opacity: 0.9; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes reveal-in { from { opacity: 0.3; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px) scale(0.985); } to { opacity: 1; transform: none; } }
@keyframes hero-rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes hero-blur { from { opacity: 0; transform: translateY(30px); filter: blur(14px); } }
@keyframes word-in { from { opacity: 0; transform: translateY(0.45em); filter: blur(8px); } }
@keyframes curtain { from { clip-path: inset(100% 0 0 0); scale: 1.2; } to { clip-path: inset(0 0 0 0); scale: 1; } }
@keyframes write-on { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes sheen { 0% { background-position: 100% 0; } 30%, 100% { background-position: 0 0; } }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(0.4) rotate(0deg); } 45%, 55% { opacity: 1; transform: scale(1) rotate(45deg); } }
@keyframes chip-pop { from { opacity: 0; scale: 0.8; } }
@keyframes btn-sheen { to { transform: translateX(330%) skewX(-18deg); } }
@keyframes drift { 0%, 100% { translate: 0 0; scale: 1; } 33% { translate: -70px 50px; scale: 1.15; } 66% { translate: 50px -35px; scale: 0.92; } }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 720px; }
  .collage:has(figure.pop) { margin-top: 72px; }
  .signature { left: -14px; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .card.featured { grid-row: auto; }
  .card.featured .card-media { flex: none; aspect-ratio: 16 / 9.4; min-height: 0; }
  .client-groups { grid-template-columns: repeat(2, 1fr); }
  .client-group:nth-child(3) { padding-left: 0; border-left: 0; }
  .client-group:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .press-quotes { grid-template-columns: 1fr; }
  .spotlight-grid { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .about-media { position: static; max-width: 520px; }
}
@media (max-width: 860px) {
  .nav {
    position: fixed; inset: var(--header) 0 auto 0; flex-direction: column; gap: 0; margin: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 24px 24px;
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { font-size: 22px; font-weight: 500; letter-spacing: -0.03em; color: var(--ink); padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav .nav-cta { display: block; color: var(--pink-deep); border-bottom: 0; }
  .header .header-cta { display: none; }
  .header:has(.nav.open) { background: var(--bg); border-bottom-color: var(--line); }
  .menu-btn {
    display: grid; place-content: center; gap: 6px; margin-left: auto; width: 44px; height: 44px; border-radius: 50%;
    background: var(--surface); border: 1px solid var(--line); cursor: pointer;
  }
  .menu-btn span { display: block; width: 18px; height: 1.5px; background: var(--ink); transition: transform 0.25s var(--ease); }
  .menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .stats, .stats[data-n] { grid-template-columns: repeat(2, 1fr); }
  .stats[data-n="3"] .stat:last-child, .stats[data-n="5"] .stat:last-child { grid-column: span 2; }
  .hourly { grid-template-columns: auto 1fr; }
  .hourly-note { grid-column: 1 / -1; justify-self: start; text-align: left; }
  .service { grid-template-columns: 48px 1fr; }
  .service p { grid-column: 2; }
  .case-inner { grid-template-columns: 1fr; overflow-y: auto; }
  .case-media > img { max-height: 55vh; }
  .case-film video { max-height: 62vh; }
  .case-copy { overflow: visible; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { width: min(var(--max), 100% - 32px); }
  .collage { height: 420px; gap: 10px; }
  .tile-label { left: 8px; right: 8px; bottom: 8px; width: fit-content; padding: 5px 9px; font-size: 10px; letter-spacing: 0.04em; }
  .chip { position: static; animation: hero-rise 0.8s var(--ease) 0.7s both; margin-top: 10px; max-width: none; box-shadow: none; border-color: var(--line); }
  .signature { position: relative; inset: auto; order: -1; justify-self: start; width: fit-content; max-width: none; margin: 0 0 -44px 6px; rotate: -2deg; animation: hero-rise 0.8s var(--ease) 0.6s both; }
  .signature::after { right: auto; left: 34px; }
  .hero-media { display: flex; flex-direction: column; }
  .work-grid { grid-template-columns: 1fr; gap: 36px; }
  .card.featured { grid-column: auto; }
  .card.featured .card-media { aspect-ratio: 4 / 3.3; }
  .filters { width: 100%; justify-content: space-between; }
  .filter { padding: 10px 12px; font-size: 13px; }
  .client-groups { grid-template-columns: 1fr; }
  .client-group, .client-group + .client-group { padding-left: 0; border-left: 0; }
  .client-group + .client-group { border-top: 1px solid var(--line); }
  .metrics { grid-template-columns: 1fr; gap: 18px; }
  .process-steps { grid-template-columns: 1fr; }
  .stat { padding: 20px 18px 22px; border-radius: 22px; }
  .stats { gap: 10px; }
  .hourly { grid-template-columns: 1fr; padding: 22px; }
  .milestones li { grid-template-columns: 1fr; gap: 2px; }
  .press-index a, .press-index div { grid-template-columns: minmax(0, 1fr) auto; }
  .pi-title { grid-column: 1 / -1; grid-row: 2; }
  .pi-arrow { display: none; }
  .press-quote { padding: 24px 22px 22px; }
  .case { width: 100%; max-height: 100%; height: 100%; border-radius: 0; }
  .case-inner { max-height: 100vh; }
}

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