/* Weft Studio
   Structure after Velour Productions, colour + work grid after Bou,
   palette from the Weft mark: paper #F4F3EF, ink #111111, gold #F0A202 (accents only). */

:root {
  --bg: #F4F3EF;
  --paper: #FBFAF7;
  --ink: #111111;
  --ink-2: #34332F;
  --muted: #76746D;
  --line: rgba(17, 17, 17, .14);
  --pill: #E6E5DF;
  --gold: #F0A202;
  --gold-soft: rgba(240, 162, 2, .16);

  --display: 'Archivo', 'Arial Narrow', sans-serif;
  --sans: 'Inter Tight', system-ui, -apple-system, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;

  --gutter: clamp(16px, 3.4vw, 48px);
  --ease: cubic-bezier(.7, 0, .15, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --head-h: 76px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.case-open { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; padding-inline: var(--gutter); margin-inline: auto; max-width: 1680px; }
.mono { font: 500 12px/1.5 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.muted { color: var(--muted); }
.gold { color: var(--gold); font-style: normal; }
.eyebrow { color: var(--muted); }

.display {
  font-family: var(--display);
  font-stretch: 62%;
  font-weight: 800;
  text-transform: uppercase;
  line-height: .86;
  letter-spacing: -.005em;
}

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 99px; }
.skip:focus { left: 8px; }

/* ---------- Header ---------- */
.site-head {
  position: fixed; inset: 0 0 auto; z-index: 40;
  height: var(--head-h);
  display: flex; align-items: center; gap: 24px;
  padding-inline: var(--gutter);
  transition: background .4s, box-shadow .4s, transform .5s var(--ease-out);
}
.site-head.scrolled {
  background: rgba(244, 243, 239, .82);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line);
}
.site-head.hide { transform: translateY(-100%); }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand-mark { width: 30px; height: 30px; color: var(--ink); }
.brand-name { font: 600 17px/1 var(--sans); letter-spacing: -.01em; }
.nav { display: flex; gap: clamp(20px, 3vw, 44px); position: absolute; left: 50%; transform: translateX(-50%); }
.nav a { font-size: 15px; position: relative; padding: 6px 0; }
.nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-out);
}
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.pill-cta { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; }
.dot-arrow {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: var(--bg); font-size: 15px; transition: transform .4s var(--ease-out), background .3s;
}
.pill-cta:hover .dot-arrow { transform: rotate(-45deg); }
.menu-btn { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: grid; grid-template-rows: 1fr auto;
  padding-top: calc(var(--head-h) + 3vh);
  isolation: isolate;
}
.hero-title {
  align-self: center; justify-self: center; text-align: center;
  font-family: var(--display); font-stretch: 62%; font-weight: 800; text-transform: uppercase;
  font-size: clamp(66px, 14.2vw, 248px); line-height: .84; letter-spacing: -.01em;
  position: relative; z-index: 2; pointer-events: none; padding: 4vh 0;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .02em; }
.hero-title .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.2s var(--ease); }
.hero-title .line:nth-child(2) > span { transition-delay: .08s; }
.hero-title .line:nth-child(3) > span { transition-delay: .16s; }
.loaded .hero-title .line > span { transform: none; }

.hero-float { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.float {
  position: absolute; pointer-events: auto; overflow: hidden; border-radius: 3px;
  box-shadow: 0 30px 60px -30px rgba(17, 17, 17, .35);
  opacity: 0; transition: opacity 1.2s var(--ease-out) .5s;
  will-change: transform;
}
.loaded .float { opacity: 1; }
.float img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.float:hover img { transform: scale(1.05); }
.f1 { width: clamp(150px, 17vw, 300px); aspect-ratio: 16/10; top: calc(var(--head-h) + 1vh); right: 20vw; }
.f2 { width: clamp(150px, 19vw, 330px); aspect-ratio: 16/10; top: 30vh; left: -2vw; transition-delay: .65s; }
.f3 { width: clamp(140px, 15vw, 260px); aspect-ratio: 16/10; top: 52vh; left: 13vw; transition-delay: .8s; }
.f4 { width: clamp(150px, 18vw, 320px); aspect-ratio: 16/10; top: 44vh; right: -1.5vw; transition-delay: .95s; }

.hero-foot { position: relative; z-index: 2; padding-bottom: 7vh; }
.hero-rule { height: 1px; background: var(--line); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease) .4s; }
.loaded .hero-rule { transform: none; }
.hero-meta { display: flex; justify-content: space-between; align-items: center; padding: 16px 0 0; }
.hero-meta span { display: inline-flex; align-items: center; gap: 10px; }
.hero-meta a { position: relative; }
.hero-meta a:hover { color: var(--muted); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); }
.hero-intro {
  max-width: 62ch; margin: 9vh auto 0; text-align: center;
  font-size: clamp(12px, 1.05vw, 14px); line-height: 1.75; text-transform: none; letter-spacing: .01em; color: var(--ink-2);
}

/* ---------- Ticker ---------- */
.ticker { border-block: 1px solid var(--line); overflow: hidden; padding: 18px 0; }
.ticker-track { display: flex; width: max-content; animation: tick 38s linear infinite; }
.ticker span {
  font-family: var(--display); font-stretch: 62%; font-weight: 700; text-transform: uppercase;
  font-size: clamp(28px, 3.4vw, 52px); line-height: 1; white-space: nowrap; padding-right: .4em;
}
.ticker i { font-style: normal; color: var(--gold); font-size: .5em; vertical-align: .35em; margin: 0 .35em; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section-head { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 24px 48px; margin-bottom: clamp(36px, 5vw, 72px); }
.section-head .eyebrow { grid-column: 1 / -1; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.section-head .display { font-size: clamp(64px, 10.5vw, 180px); }
.section-sub { max-width: 44ch; justify-self: end; color: var(--ink-2); font-size: clamp(16px, 1.25vw, 19px); }

/* ---------- Work (Bou grid) ---------- */
.work {
  padding: clamp(80px, 11vw, 160px) 0 clamp(90px, 12vw, 180px);
  background:
    radial-gradient(50vw 34vw at 88% 14%, rgba(240, 162, 2, .06), transparent 70%),
    radial-gradient(46vw 34vw at 4% 58%, rgba(160, 184, 158, .16), transparent 70%),
    var(--bg);
}
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.chip {
  font: 600 12px/1 var(--sans); text-transform: uppercase; letter-spacing: .02em;
  padding: 11px 16px; border-radius: 99px; background: transparent; border: 1px solid var(--line);
  transition: background .3s, color .3s, border-color .3s;
}
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip sup { font: 500 10px var(--mono); margin-left: 4px; opacity: .6; vertical-align: .3em; }

.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(36px, 4vw, 64px) clamp(20px, 2.2vw, 32px); }
.card { transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.card.is-out { display: none; }
.card-link { display: block; }
.card-media {
  position: relative; aspect-ratio: 16/10; overflow: hidden; border-radius: 4px; background: var(--pill);
}
.card-media img, .card-media video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top;
  transition: transform 1.1s var(--ease-out), opacity .5s;
}
.card-media video { opacity: 0; }
.card.playing .card-media video { opacity: 1; }
.card-link:hover .card-media img, .card-link:hover .card-media video { transform: scale(1.035); }
.card-cta {
  position: absolute; left: 16px; bottom: 16px; z-index: 2;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--paper); color: var(--ink); border-radius: 99px; padding: 10px 16px 10px 18px;
  font: 500 14px/1 var(--sans);
  opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .5s var(--ease-out);
}
.card-cta i { font-style: normal; color: var(--gold); }
.card-link:hover .card-cta, .card-link:focus-visible .card-cta { opacity: 1; transform: none; }
.card-body { padding-top: 18px; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; }
.card-num { grid-row: span 2; color: var(--muted); padding-top: 6px; }
.card-body h3 { font: 600 clamp(20px, 1.7vw, 26px)/1.2 var(--sans); letter-spacing: -.015em; }
.card-body p { color: var(--muted); font-size: clamp(16px, 1.3vw, 21px); font-weight: 300; line-height: 1.35; margin-top: 4px; }
.tags { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; grid-column: 2; }
.tags li {
  font: 600 11px/1 var(--sans); text-transform: uppercase; letter-spacing: .02em;
  background: var(--pill); padding: 9px 12px; border-radius: 99px;
}
.empty { border-top: 1px solid var(--line); padding: 64px 0 20px; text-align: center; }
.empty-title { font: 300 clamp(26px, 3vw, 44px)/1.15 var(--sans); letter-spacing: -.02em; margin: 14px 0 12px; }
.empty a { border-bottom: 1px solid var(--gold); color: var(--ink); }

/* ---------- Services (Velour numbered list) ---------- */
.services { padding: clamp(80px, 11vw, 160px) 0; }
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc {
  display: grid; grid-template-columns: 90px 1fr minmax(0, 36ch); align-items: baseline; gap: 20px;
  padding: clamp(22px, 2.6vw, 38px) 0; border-bottom: 1px solid var(--line); position: relative;
}
.svc::before {
  content: ''; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%;
  background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease);
}
.svc:hover::before { transform: scaleX(1); }
.svc-num { color: var(--muted); transition: color .3s; }
.svc:hover .svc-num { color: var(--gold); }
.svc h3 {
  font-family: var(--display); font-stretch: 62%; font-weight: 800; text-transform: uppercase;
  font-size: clamp(48px, 7.4vw, 124px); line-height: .9; transition: transform .6s var(--ease-out);
}
.svc:hover h3 { transform: translateX(14px); }
.svc p { color: var(--ink-2); font-size: clamp(15px, 1.15vw, 18px); }

/* ---------- About ---------- */
.about { padding: clamp(80px, 10vw, 150px) 0 clamp(100px, 12vw, 180px); border-top: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 110px); align-items: center; }
.about-mark svg { width: min(100%, 260px); aspect-ratio: 1090 / 1104; color: var(--ink); display: block; margin-inline: auto; }
.about-copy { display: grid; gap: 22px; max-width: 760px; }
.about-copy .eyebrow { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.about-title { font: 300 clamp(28px, 3.2vw, 50px)/1.12 var(--sans); letter-spacing: -.025em; }
.about-copy p:not(.eyebrow) { font-size: clamp(16px, 1.25vw, 19px); color: var(--ink-2); max-width: 58ch; }

/* ---------- Contact ---------- */
.contact { background: var(--ink); color: var(--bg); padding: clamp(90px, 12vw, 180px) 0 28px; }
.contact .eyebrow { color: rgba(244, 243, 239, .55); padding-bottom: 14px; border-bottom: 1px solid rgba(244, 243, 239, .16); }
.contact-title { font-size: clamp(66px, 12.5vw, 220px); margin: clamp(40px, 6vw, 80px) 0 clamp(28px, 4vw, 56px); }
.contact-mail {
  display: inline-flex; align-items: center; gap: .35em;
  font: 300 clamp(26px, 4.4vw, 72px)/1.1 var(--sans); letter-spacing: -.03em;
  background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat;
  padding-bottom: 6px; transition: background-size .6s var(--ease);
  overflow-wrap: anywhere;
}
.contact-mail span { color: var(--gold); font-size: .7em; transition: transform .5s var(--ease-out); }
.contact-mail:hover { background-size: 100% 1px; }
.contact-mail:hover span { transform: translate(4px, -4px); }
.contact-foot {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  margin-top: clamp(90px, 12vw, 170px); padding-top: 18px; border-top: 1px solid rgba(244, 243, 239, .16);
  color: rgba(244, 243, 239, .55);
}
.contact-foot a:hover { color: var(--bg); }

/* ---------- Reveal ---------- */
.rv { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); }
.rv.in { opacity: 1; transform: none; }

/* ---------- Expanded case (Bou case page) ---------- */
.case { position: fixed; inset: 0; z-index: 60; overflow-y: auto; overscroll-behavior: contain; }
.case[hidden] { display: none; }
.case-bg { position: fixed; inset: 0; background: var(--bg); opacity: 0; transition: opacity .5s var(--ease-out); }
.case.opening .case-bg, .case.ready .case-bg { opacity: 1; }
.case.closing .case-bg { opacity: 0; transition-duration: .6s; transition-delay: .15s; }
.case-bar {
  position: sticky; top: 0; z-index: 3; height: var(--head-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-inline: var(--gutter);
  background: rgba(244, 243, 239, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.case.scrolled .case-bar { border-color: var(--line); }
.case-back { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; }
.case-back span { transition: transform .4s var(--ease-out); }
.case-back:hover span { transform: translateX(-4px); }
.case-nav { display: flex; align-items: center; gap: 8px; }
.case-count { color: var(--muted); margin-right: 10px; }
.round {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); font-size: 16px; transition: background .3s, color .3s, border-color .3s;
}
.round:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.round.ink { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.round.ink:hover { background: var(--ink-2); }

.case-inner { position: relative; z-index: 2; padding-top: clamp(24px, 4vw, 56px); padding-bottom: 40px; }
.case-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
  padding-bottom: clamp(22px, 2.6vw, 36px); border-bottom: 1px solid var(--line);
}
.case-head h2 { font: 300 clamp(48px, 7vw, 116px)/.98 var(--sans); letter-spacing: -.045em; }
.case-kind { display: grid; justify-items: end; gap: 6px; text-align: right; padding-bottom: 8px; }
.case-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 4vw, 72px); padding-top: clamp(28px, 3.4vw, 52px); align-items: start; }
.case-lede { font: 400 clamp(18px, 1.45vw, 22px)/1.5 var(--sans); letter-spacing: -.005em; }
.case-meta { margin: 32px 0 0; border-top: 1px solid var(--line); }
.case-meta div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.case-meta dt { color: var(--muted); }
.case-meta dd { margin: 0; font-size: 15px; }
.case-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 22px; border-radius: 99px;
  font: 500 15px/1 var(--sans); transition: background .3s, color .3s, border-color .3s, transform .3s;
}
.btn-ink { background: var(--ink); color: var(--bg); }
.btn-ink:hover { background: var(--ink-2); }
.btn-ink .tri { width: 0; height: 0; border-left: 9px solid var(--gold); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.btn-line { border: 1px solid var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--bg); }
.case-note { margin-top: 18px; font-size: 14px; color: var(--muted); }

.case-shot { margin: 0; position: sticky; top: calc(var(--head-h) + 20px); }
.browser { border-radius: 10px; overflow: hidden; background: #E3E2DC; box-shadow: 0 40px 80px -40px rgba(17, 17, 17, .4), 0 0 0 1px rgba(17, 17, 17, .06); }
.browser-bar { height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 14px; position: relative; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(17, 17, 17, .16); }
.browser-bar span {
  position: absolute; left: 50%; transform: translateX(-50%);
  font: 500 11px/1 var(--mono); color: var(--muted); background: rgba(255, 255, 255, .55);
  padding: 6px 18px; border-radius: 6px; max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.frame-none .browser { background: transparent; box-shadow: none; border-radius: 6px; }
.frame-none .browser-bar { display: none; }
.view { position: relative; aspect-ratio: 16/10; background: var(--ink); overflow: hidden; }
.view img, .view video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.view video { background: var(--ink); }
.play {
  position: absolute; inset: 0; display: grid; place-items: center; z-index: 2;
  background: linear-gradient(to top, rgba(17, 17, 17, .45), rgba(17, 17, 17, 0) 55%);
  opacity: 0; transition: opacity .5s;
}
.case.ready .play { opacity: 1; }
.play-in {
  display: inline-flex; align-items: center; gap: 12px; align-self: end; margin-bottom: 22px;
  background: var(--paper); color: var(--ink); border-radius: 99px; padding: 12px 20px 12px 14px;
  font: 500 15px/1 var(--sans); transition: transform .4s var(--ease-out);
}
.play-in b { width: 32px; height: 32px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; }
.play-in b::before { content: ''; margin-left: 3px; border-left: 10px solid var(--gold); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.play-in em { font: 500 11px var(--mono); color: var(--muted); font-style: normal; }
.play:hover .play-in { transform: scale(1.04); }
.case-shot figcaption { margin-top: 12px; color: var(--muted); }

.case-next {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 20px;
  margin-top: clamp(70px, 9vw, 130px); padding-top: 18px; border-top: 1px solid var(--line); width: 100%; text-align: left;
}
.case-next .mono { color: var(--muted); display: block; margin-bottom: 10px; }
.case-next strong {
  font-family: var(--display); font-stretch: 62%; font-weight: 800; text-transform: uppercase;
  font-size: clamp(56px, 9vw, 150px); line-height: .88; display: block; transition: transform .6s var(--ease-out);
}
.case-next .arrow { font-size: clamp(36px, 5vw, 80px); line-height: 1; transition: transform .6s var(--ease-out), color .3s; }
.case-next:hover strong { transform: translateX(12px); }
.case-next:hover .arrow { transform: translateX(8px); color: var(--gold); }

/* staggered content in */
.case .st { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease-out), transform .9s var(--ease-out); }
.case.ready .st { opacity: 1; transform: none; }
.case.ready .st:nth-child(2) { transition-delay: .06s; }
.case.ready .st-2 { transition-delay: .12s; }
.case.ready .st-3 { transition-delay: .2s; }
.case.closing .st, .case.swapping .st { opacity: 0; transform: translateY(-10px); transition-duration: .3s; transition-delay: 0s; }
.case.closing .case-bar { opacity: 0; transition: opacity .3s; }
.case.closing .browser { opacity: 0; transition: opacity .2s; }

.ghost {
  position: fixed; z-index: 70; object-fit: cover; object-position: top; transform-origin: 0 0;
  border-radius: 4px; pointer-events: none; will-change: transform;
}

/* ---------- Logo intro ---------- */
.intro-screen { display: none; }
html.intro { overflow: hidden; }
html.intro .intro-screen {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 100;
  background: var(--bg); cursor: pointer;
}
.intro-inner { display: grid; justify-items: center; gap: 22px; }
.intro-mark { width: clamp(110px, 13vw, 180px); aspect-ratio: 1090 / 1104; color: var(--ink); overflow: visible; }
.intro-word { color: var(--ink); letter-spacing: .28em; }

/* ---------- Ad creatives reel ---------- */
.ads { padding: clamp(80px, 11vw, 160px) 0 clamp(80px, 10vw, 150px); border-top: 1px solid var(--line); overflow: hidden; }
.ads .section-sub p { margin-bottom: 22px; }
.reel-nav { display: flex; gap: 8px; }
.reel {
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 10px max(var(--gutter), calc((100vw - 1680px) / 2 + var(--gutter))) 20px;
  scroll-padding-inline: max(var(--gutter), calc((100vw - 1680px) / 2 + var(--gutter)));
}
.reel::-webkit-scrollbar { display: none; }
.reel:focus-visible { outline-offset: -4px; }
.ad { margin: 0; flex: 0 0 clamp(220px, 22vw, 300px); scroll-snap-align: start; }
.ad figcaption { display: grid; gap: 4px; margin-top: 16px; }
.ad figcaption strong { font-weight: 600; font-size: 16px; letter-spacing: -.01em; }

/* phone frame, shared by the ad reel and the case view */
.phone {
  display: block; width: 100%; padding: 7px; border-radius: 38px; background: var(--ink); position: relative;
  box-shadow: 0 40px 70px -40px rgba(17, 17, 17, .5);
}
.phone::after {
  content: ''; position: absolute; top: 15px; left: 50%; width: 26%; height: 18px; transform: translateX(-50%);
  background: var(--ink); border-radius: 99px; z-index: 2;
}
.phone-screen {
  display: grid; place-items: center; position: relative; aspect-ratio: 9 / 19.5; border-radius: 31px; overflow: hidden; background: #222;
}
.phone-screen img, .phone-screen video { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ad .phone-screen { aspect-ratio: 9 / 16; }
.ad .phone-screen img { position: relative; z-index: 1; height: auto; object-fit: contain; }
.phone-bg { position: absolute; inset: -20px; background: center / cover; filter: blur(22px) brightness(.8); }
.ad .phone-screen video { position: relative; z-index: 1; }
.ad .phone { transition: transform .6s var(--ease-out); }
.ad .phone:hover { transform: translateY(-6px); }
.sound-hint {
  position: absolute; z-index: 3; left: 50%; bottom: 16px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  background: rgba(251, 250, 247, .92); color: var(--ink); border-radius: 99px; padding: 8px 14px 8px 10px;
  font: 500 12px/1 var(--sans); opacity: 0; transition: opacity .3s;
}
.sound-hint b { width: 18px; height: 18px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; }
.sound-hint b::before { content: ''; margin-left: 2px; border-left: 6px solid var(--gold); border-top: 4px solid transparent; border-bottom: 4px solid transparent; }
.phone:hover .sound-hint, .phone:focus-visible .sound-hint { opacity: 1; }

/* full-screen viewer */
.viewer {
  position: fixed; inset: 0; z-index: 80; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px;
  padding: 24px var(--gutter); background: rgba(17, 17, 17, .94); color: var(--bg);
  opacity: 0; transition: opacity .35s var(--ease-out);
}
.viewer[hidden] { display: none; }
.viewer.on { opacity: 1; }
.viewer .round { border-color: rgba(244, 243, 239, .25); color: var(--bg); }
.viewer .round:hover { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.viewer-close { position: absolute; top: 18px; right: var(--gutter); z-index: 2; }
.viewer-stage { margin: 0; justify-self: center; display: grid; justify-items: center; gap: 14px; transform: scale(.97); transition: transform .5s var(--ease-out); }
.viewer.on .viewer-stage { transform: none; }
.viewer-stage video, .viewer-stage img { max-height: calc(100svh - 130px); max-width: min(100%, 92vw); width: auto; border-radius: 12px; background: #000; }
.viewer-stage figcaption { display: grid; justify-items: center; gap: 4px; text-align: center; }
.viewer-stage figcaption .mono { color: rgba(244, 243, 239, .55); }

/* ---------- Case: phone screenshots ---------- */
.case-mobile { margin-top: clamp(56px, 7vw, 100px); }
.case-mobile .eyebrow { padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: clamp(28px, 3vw, 44px); }
.phones { display: grid; grid-template-columns: repeat(3, minmax(0, 300px)); justify-content: center; gap: clamp(20px, 4vw, 64px); }
.phones .phone:nth-child(2) { transform: translateY(clamp(20px, 3vw, 48px)); }
.phones .phone { margin: 0; }
.phones .phone::after { display: none; }
.reel-nav[hidden] { display: none; }

.case-ads { margin-top: clamp(56px, 7vw, 100px); }
.case-ads .eyebrow { padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.case-ads-row { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; padding-bottom: 6px; }
.case-ads-row::-webkit-scrollbar { display: none; }
.ad-tile { position: relative; flex: 0 0 auto; height: clamp(220px, 24vw, 340px); border-radius: 8px; overflow: hidden; background: var(--pill); }
.ad-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.ad-tile:hover img { transform: scale(1.04); }
.tile-play { position: absolute; inset: 0; display: grid; place-items: center; }
.tile-play b { width: 44px; height: 44px; border-radius: 50%; background: rgba(251, 250, 247, .92); display: grid; place-items: center; }
.tile-play b::before { content: ''; margin-left: 3px; border-left: 11px solid var(--ink); border-top: 7px solid transparent; border-bottom: 7px solid transparent; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { gap: 22px; }
  .pill-cta { display: none; }
  .about-grid { grid-template-columns: 1fr 1.6fr; }
}
@media (max-width: 860px) {
  :root { --head-h: 64px; }
  body { font-size: 16px; }
  .menu-btn {
    display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 99px;
    border: 1px solid var(--line); font-size: 14px; position: relative; z-index: 2;
  }
  .nav {
    position: fixed; inset: 0; transform: none; left: 0; z-index: 1;
    flex-direction: column; justify-content: center; gap: 4px; padding: 0 var(--gutter);
    background: var(--bg); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
  }
  .nav a {
    font-family: var(--display); font-stretch: 62%; font-weight: 800; text-transform: uppercase;
    font-size: clamp(56px, 16vw, 96px); line-height: 1; padding: 4px 0;
  }
  .nav a::after { display: none; }
  .nav-open .nav { opacity: 1; visibility: visible; }
  .brand { position: relative; z-index: 2; }
  .site-head.nav-open { background: var(--bg); box-shadow: none; }

  .hero { grid-template-rows: 1fr auto auto; }
  .hero-title { font-size: clamp(56px, 17vw, 140px); padding: 6vh 0 4vh; order: 1; }
  .hero-float { position: relative; inset: auto; order: 2; height: clamp(150px, 44vw, 300px); margin-bottom: 4vh; }
  .float { top: 50% !important; left: 50%; right: auto; bottom: auto; width: 46vw; max-width: 330px; }
  .f1 { translate: -118% -50%; rotate: -6deg; }
  .f2 { translate: -50% -58%; rotate: 0deg; z-index: 2; width: 50vw; }
  .f3 { display: none; }
  .f4 { translate: 18% -50%; rotate: 6deg; }
  .hero-foot { order: 3; }
  .hero-intro { text-align: left; margin-top: 36px; font-size: 13px; }

  .section-head { grid-template-columns: 1fr; }
  .section-sub { justify-self: start; }
  .grid { grid-template-columns: 1fr; }
  .card-cta { opacity: 1; transform: none; left: 12px; bottom: 12px; padding: 8px 12px 8px 14px; font-size: 13px; }

  .svc { grid-template-columns: 44px 1fr; row-gap: 10px; }
  .svc p { grid-column: 2; }
  .svc:hover h3 { transform: none; }

  .about-grid { grid-template-columns: 1fr; }
  .about-mark svg { width: 150px; margin: 0; }

  .case-head { flex-direction: column; align-items: flex-start; }
  .case-kind { justify-items: start; text-align: left; padding: 0; }
  .case-grid { grid-template-columns: 1fr; }
  .case-shot { position: static; order: -1; }
  .case-count { display: none; }
  .round { width: 38px; height: 38px; }
  .case-meta div { grid-template-columns: 100px 1fr; }
  .case-actions .btn { flex: 1 1 auto; justify-content: center; }

  .ads .section-sub p { margin-bottom: 16px; }
  .ad { flex-basis: 64vw; }
  .reel { gap: 16px; }
  .phones {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 10px; gap: 16px; justify-content: flex-start;
  }
  .phones .phone { flex: 0 0 62vw; scroll-snap-align: center; }
  .phones .phone:nth-child(2) { transform: none; }
  .viewer { grid-template-columns: 1fr; padding: 64px 12px 20px; }
  .viewer-step { position: absolute; bottom: 22px; z-index: 2; }
  .viewer-step.prev { left: 16px; }
  .viewer-step.next { right: 16px; }
  .viewer-stage video, .viewer-stage img { max-height: calc(100svh - 170px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
}
