/* ══ HOME — editorial monochrome ══ */
:root {
  --ink: #0a0a0a;
  --paper: #f4f4f2;
  --white: #ffffff;
  --muted: #6b6b6b;
  --lime: #c6ff3d;
  --line: rgba(10, 10, 10, .14);
  --line-dark: rgba(255, 255, 255, .16);
  --display: 'Anton', 'Impact', sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --gutter: clamp(16px, 2.2vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--ink); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.5; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.light { background: var(--paper); color: var(--ink); }
.dark { background: var(--ink); color: var(--white); }

/* ── Shared atoms ── */
.tag {
  display: inline-block; font-family: var(--display); font-size: 12px; letter-spacing: .04em;
  text-transform: uppercase; padding: 6px 10px; border: 1px solid var(--line); line-height: 1;
}
.tag-dark { border-color: var(--line-dark); }
h2.tag { font-weight: 400; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.display {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(2.8rem, 6.4vw, 6.5rem); line-height: .92; letter-spacing: -.005em;
}

.body { font-size: clamp(15px, 1.15vw, 17px); color: var(--muted); max-width: 46ch; }

.btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 40px;
  min-width: 190px; padding: 18px 20px; background: var(--ink); color: var(--white);
  font-family: var(--display); font-size: 14px; letter-spacing: .03em; text-transform: uppercase; line-height: 1;
  transition: background .25s, color .25s;
}
.btn .arr { transition: transform .25s; }
.btn:hover .arr { transform: translateX(5px); }
.btn-light { background: var(--white); color: var(--ink); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

/* ── Nav ── */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 18px var(--gutter); color: var(--white);
  transition: transform .45s cubic-bezier(.2, .7, .2, 1), background .3s;
}
.nav.nav-solid { background: var(--ink); }
.nav.nav-hidden { transform: translateY(-110%); }
body.menu-open .nav { transform: none; }
.nav-logo { font-family: var(--display); font-size: 22px; letter-spacing: .02em; justify-self: start; color: var(--white); }
.nav-logo span { color: var(--lime); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { font-family: var(--display); font-size: 14px; text-transform: uppercase; letter-spacing: .03em; position: relative; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta {
  justify-self: end; padding: 9px 14px; border: 1px solid currentColor;
  font-family: var(--display); font-size: 14px; text-transform: uppercase; letter-spacing: .03em;
  transition: background .25s, color .25s;
}
.nav-cta:hover { background: var(--white); color: var(--ink); }
.nav-toggle { justify-self: end; grid-column: 3; display: none; width: 44px; height: 44px; background: none; border: 0; color: inherit; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: currentColor; transition: transform .3s, top .3s; }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
body.menu-open .nav-toggle span:first-child { top: 21px; transform: rotate(45deg); }
body.menu-open .nav-toggle span:last-child { top: 21px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 40; background: var(--ink); color: var(--white);
  display: flex; flex-direction: column; justify-content: center; padding: 0 var(--gutter);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.menu a { font-family: var(--display); font-size: clamp(3rem, 14vw, 6rem); line-height: 1; text-transform: uppercase; }
body.menu-open, body.modal-open { overflow: hidden; }
body.menu-open .menu { opacity: 1; visibility: visible; }

/* ── Hero (pinned, video expands on scroll; --p set by JS 0→1) ── */
.hero { --p: 0; height: 200vh; position: relative; background: var(--ink); color: var(--white); }
.hero-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; text-align: center; }
.hero-media {
  position: absolute; inset: 0;
  clip-path: inset(calc(22% * (1 - var(--p))) calc(30% * (1 - var(--p))) round calc(4px * (1 - var(--p))));
}
.hero-reel { position: absolute; inset: 0; }
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(calc(1.15 - .15 * var(--p))); opacity: 0; transition: opacity .9s ease;
}
.hero-video.is-active { opacity: 1; }
.hero-shade { position: absolute; inset: 0; background: rgba(0, 0, 0, calc(.5 - .1 * var(--p))); }
.hero-title {
  position: relative; z-index: 2; font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(3.2rem, 9.5vw, 10rem); line-height: .9; padding: 0 var(--gutter);
}
.hero-title .ln { display: block; }
.hero-kicker {
  display: block; font-family: var(--body); font-size: clamp(11px, 1vw, 13px); font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; opacity: .85;
}
.hero-sub {
  position: absolute; z-index: 2; left: var(--gutter); bottom: 28px; max-width: 32ch; text-align: left;
  font-size: 15px; opacity: calc(1 - var(--p) * 2);
}
.hero-scroll {
  position: absolute; z-index: 2; right: var(--gutter); bottom: 28px; font-family: var(--display);
  font-size: 12px; text-transform: uppercase; letter-spacing: .08em; opacity: calc(1 - var(--p) * 2);
}

/* Intro: title lines rise in */
.hero-title .ln { transform: translateY(40%); opacity: 0; animation: rise .9s cubic-bezier(.2, .7, .2, 1) forwards; }
.hero-title .ln:nth-child(2) { animation-delay: .12s; }
@keyframes rise { to { transform: none; opacity: 1; } }

/* ── Services list ── */
.services { position: relative; padding: clamp(90px, 14vh, 160px) var(--gutter); text-align: center; display: flex; flex-direction: column; align-items: center; }
.svc-list { margin: 28px 0 44px; }
.svc-list li {
  font-family: var(--display); text-transform: uppercase; font-size: clamp(3.2rem, 10vw, 9.5rem); line-height: .93;
  cursor: default; transition: color .25s;
}
.svc-list:hover li { color: #c9c9c6; }
.svc-list li:hover { color: var(--ink); }
.services-note { max-width: 44ch; color: var(--muted); margin-bottom: 26px; }

.svc-preview {
  position: fixed; left: 0; top: 0; z-index: 30; width: 260px; pointer-events: none;
  opacity: 0; transform: translate3d(-50%, -50%, 0) scale(.9); transition: opacity .25s;
  text-align: left;
}
.svc-preview.on { opacity: 1; }
.svc-preview-media { aspect-ratio: 4 / 5; background: #ddd; overflow: hidden; }
.svc-preview-media img, .svc-preview-media video { width: 100%; height: 100%; object-fit: cover; }
.svc-preview-desc { background: var(--ink); color: var(--white); font-size: 13px; line-height: 1.4; padding: 10px 12px; }

@media (hover: none) {
  .svc-list:hover li { color: inherit; }
  .svc-list li { margin-bottom: 14px; }
  .svc-list li::after {
    content: attr(data-desc); display: block; font-family: var(--body); text-transform: none;
    font-size: 14px; line-height: 1.4; color: var(--muted); max-width: 34ch; margin: 6px auto 0;
  }
  .svc-preview { display: none; }
}

/* ── Split sections (about, CTA) ── */
.split { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.dark.split { border-top-color: var(--line-dark); }
.split-text { padding: clamp(28px, 4vw, 56px) var(--gutter); display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.split-text .display { margin-top: auto; }
.split-media { padding: var(--gutter); min-height: 70vh; }
.split-media video, .split-media img { width: 100%; height: 100%; object-fit: cover; background: #ddd; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); width: 100%; border-top: 1px solid var(--line); }
.stats div { padding: 16px 12px 0 0; display: flex; flex-direction: column; }
.stats b { font-family: var(--display); font-weight: 400; font-size: clamp(2.2rem, 3.6vw, 3.6rem); line-height: 1; }
.stats span { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-top: 6px; }

/* ── Work (pinned title, cards scroll past) ── */
.work { position: relative; padding-bottom: 16vh; }
.work-pin {
  position: sticky; top: 0; height: 100vh; height: 100svh; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; text-align: center;
}
.work-title { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(4rem, 13vw, 13rem); line-height: .88; }
.work-cards {
  position: relative; z-index: 2; margin-top: -100vh; margin-top: -100svh; padding: 70vh var(--gutter) 10vh;
  display: flex; flex-direction: column; gap: 22vh;
}
.w-card { display: block; width: min(34vw, 460px); will-change: transform; }
.w-card:nth-child(even) { align-self: flex-end; }
.w-card:nth-child(3n) { margin-left: 12vw; }
.w-media { aspect-ratio: 4 / 5; background: #1b1b1b; overflow: hidden; }
.w-media video { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.w-card:hover .w-media video { transform: scale(1.04); }
.w-card h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 18px; margin-top: 12px; letter-spacing: .02em; }
.w-card p { color: #9a9a9a; font-size: 14px; }
.work-foot { position: relative; z-index: 3; display: flex; justify-content: center; }

/* ── Process ── */
.process { padding: clamp(80px, 12vh, 140px) 0 clamp(60px, 10vh, 120px); text-align: center; overflow: hidden; }
.ticker { margin: 26px 0 60px; white-space: nowrap; overflow: hidden; }
.ticker-track { display: inline-flex; animation: tick 28s linear infinite; }
.ticker-track span { font-family: var(--display); text-transform: uppercase; font-size: clamp(3.5rem, 10vw, 9rem); line-height: 1; }
@keyframes tick { to { transform: translateX(-50%); } }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); text-align: left; }
.steps li { padding: 26px var(--gutter) 10px; border-right: 1px solid var(--line); }
.steps li:last-child { border-right: 0; }
.steps .n { font-family: var(--display); font-size: 64px; line-height: 1; display: block; margin-bottom: 40px; }
.steps h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 22px; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 15px; max-width: 30ch; }

.dark .steps { border-top-color: var(--line-dark); }
.dark .steps li { border-color: var(--line-dark); }
.dark .steps p { color: #9a9a9a; }

/* ── Capability index ── */
.caps {
  display: grid; grid-template-columns: repeat(4, 1fr); width: 100%; margin: 40px 0 44px;
  border-top: 1px solid var(--line); text-align: left;
}
.cap { padding: 22px var(--gutter) 26px 0; border-right: 1px solid var(--line); }
.cap + .cap { padding-left: var(--gutter); }
.cap:last-child { border-right: 0; }
.cap-n { font-family: var(--display); font-size: 13px; color: var(--muted); }
.cap h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(2rem, 3.2vw, 3rem); line-height: 1; margin: 6px 0 18px; }
.cap li { font-size: 15px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.cap li:last-child { border-bottom: 0; }

/* ── Brands ── */
.brands { padding: clamp(60px, 10vh, 120px) var(--gutter); border-top: 1px solid var(--line-dark); }
.brands-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 36px; }
.brands-head .body { color: #9a9a9a; text-align: right; }
.brand-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.brand-grid li { border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.brand-grid a {
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px; height: 100%;
  min-height: clamp(150px, 20vw, 240px); padding: 22px; transition: background .3s, color .3s;
}
.brand-grid a:hover { background: var(--lime); color: var(--ink); }
.b-name { font-family: var(--display); text-transform: uppercase; font-size: clamp(1.8rem, 3.6vw, 3.4rem); line-height: .95; }
.b-link { font-size: 13px; color: #9a9a9a; transition: color .3s; }
.brand-grid a:hover .b-link { color: var(--ink); }
.b-more { grid-column: span 2; }
.b-more .b-name { color: var(--lime); }
.b-more a:hover .b-name { color: var(--ink); }

/* ── Channels ── */
.channels { padding: clamp(80px, 12vh, 140px) var(--gutter); border-top: 1px solid var(--line); }
.channels-head { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; margin-bottom: 48px; }
.ch-list { border-top: 1px solid var(--line); }
.ch-list li { border-bottom: 1px solid var(--line); }
.ch-list a {
  display: grid; grid-template-columns: 60px 1.3fr 1fr auto; align-items: center; gap: 24px;
  padding: 22px 12px; transition: background .3s, color .3s, padding .3s;
}
.ch-list a:hover { background: var(--ink); color: var(--white); padding-left: 24px; }
.ch-n { font-family: var(--display); font-size: 14px; color: var(--muted); }
.ch-name { font-family: var(--display); text-transform: uppercase; font-size: clamp(1.8rem, 4vw, 3.6rem); line-height: 1; }
.ch-desc { font-size: 15px; color: var(--muted); }
.ch-list a:hover .ch-desc, .ch-list a:hover .ch-n { color: #a8a8a8; }
.ch-handle { font-family: var(--display); font-size: 14px; text-transform: uppercase; white-space: nowrap; }

/* ── AI stack logo strip ── */
.stack { padding: 48px 0 40px; border-top: 1px solid var(--line-dark); text-align: center; overflow: hidden; }
.stack-marquee { display: flex; width: max-content; margin: 30px 0 26px; animation: tick 36s linear infinite; }
.stack-marquee:hover { animation-play-state: paused; }
.stack-track { display: flex; align-items: center; gap: clamp(40px, 6vw, 88px); padding-right: clamp(40px, 6vw, 88px); }
.stack-track li { display: flex; align-items: center; gap: 12px; opacity: .6; transition: opacity .3s, color .3s; white-space: nowrap; }
.stack-track li:hover { opacity: 1; color: var(--lime); }
.stack-track img { width: 26px; height: 26px; filter: invert(1); }
.stack-track span { font-family: var(--display); font-size: clamp(1.3rem, 2.2vw, 1.9rem); text-transform: uppercase; letter-spacing: .02em; }
.stack-note { font-size: 11px; color: #6f6f6f; padding: 0 var(--gutter); }

/* ── FAQ ── */
.faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(28px, 5vw, 80px); padding: clamp(80px, 12vh, 140px) var(--gutter); }
.faq-head { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; font-family: var(--display); text-transform: uppercase; font-size: clamp(1.1rem, 1.8vw, 1.5rem); line-height: 1.1;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; font-size: 1.6em; line-height: 1; transition: transform .3s; flex: none; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:hover { color: var(--muted); }
.faq-list details p { padding: 0 0 24px; color: var(--muted); max-width: 62ch; }

/* ── CTA ── */
.cta .display { font-size: clamp(4rem, 10vw, 10rem); }

/* ── Footer ── */
.footer { overflow: hidden; }
.footer-big {
  font-family: var(--display); text-transform: uppercase; font-size: 23.5vw; line-height: .78; text-align: center;
  white-space: nowrap; padding-top: 4vw; border-bottom: 1px solid var(--line); background: var(--ink); color: var(--paper);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; padding: 40px var(--gutter); }
.f-label { display: block; font-family: var(--display); font-size: 13px; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.f-email { font-family: var(--display); font-size: clamp(1.4rem, 2.6vw, 2.4rem); text-transform: uppercase; word-break: break-all; }
.f-email:hover { text-decoration: underline; text-underline-offset: 4px; }
.f-nav, .f-social { display: flex; flex-direction: column; gap: 4px; }
.f-nav a, .f-social a { font-family: var(--display); text-transform: uppercase; font-size: 15px; }
.f-nav a:hover, .f-social a:hover { color: var(--muted); }
.footer-mark { font-family: var(--display); font-size: clamp(2rem, 4vw, 3.2rem); padding: 0 var(--gutter) 16px; }
.footer-bar { display: flex; justify-content: space-between; gap: 16px; padding: 16px var(--gutter); border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* ══ INNER PAGES ══ */
[hidden] { display: none !important; }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }

.page-hero { padding: clamp(130px, 20vh, 200px) var(--gutter) clamp(50px, 8vh, 90px); display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.page-title { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(4.2rem, 14vw, 14rem); line-height: .86; }
.page-sub { color: #9a9a9a; max-width: 44ch; font-size: clamp(15px, 1.2vw, 18px); }

/* ── Work filters ── */
.filter-wrap {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px var(--gutter); background: var(--ink); color: var(--white); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark);
  transition: top .45s cubic-bezier(.2, .7, .2, 1);
}
body:has(.nav.nav-solid:not(.nav-hidden)) .filter-wrap { top: var(--nav-h, 77px); }
.filter-bar { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.filter-bar::-webkit-scrollbar { display: none; }
.filter-bar button {
  flex: none; font-family: var(--display); font-size: 13px; text-transform: uppercase; letter-spacing: .03em;
  padding: 10px 14px; background: none; color: var(--white); border: 1px solid var(--line-dark); cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.filter-bar button:hover { border-color: var(--white); }
.filter-bar button[aria-pressed="true"] { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.project-count { flex: none; font-size: 13px; color: #9a9a9a; }

/* ── Project grid ── */
.projects { padding: 40px var(--gutter) clamp(80px, 12vh, 140px); }
.p-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 20px; }
.p-card { display: block; }
.p-media { aspect-ratio: 4 / 5; background: #1b1b1b; overflow: hidden; }
.p-media video, .p-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.p-card:hover .p-media video, .p-card:hover .p-media img { transform: scale(1.04); }
.p-card h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 18px; margin-top: 12px; letter-spacing: .02em; }
.p-card p { color: #9a9a9a; font-size: 14px; }

.p-yt .p-media {
  display: flex; flex-direction: column; justify-content: space-between; padding: 22px;
  border: 1px solid var(--line-dark); background: #121212; transition: background .3s, color .3s;
}
.p-yt:hover .p-media { background: var(--lime); color: var(--ink); }
.yt-n { font-family: var(--display); font-size: 14px; color: #9a9a9a; }
.yt-name { font-family: var(--display); text-transform: uppercase; font-size: clamp(2.2rem, 3.6vw, 3.6rem); line-height: .95; }
.yt-go { font-family: var(--display); font-size: 14px; text-transform: uppercase; }
.p-yt:hover .yt-n { color: var(--ink); }

/* ── Contact ── */
.contact {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px);
  padding: clamp(130px, 18vh, 180px) var(--gutter) clamp(70px, 10vh, 120px); min-height: 100vh;
}
.contact-intro { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.contact .page-title { font-size: clamp(3.8rem, 9vw, 9rem); }
.contact-info { width: 100%; margin-top: auto; border-top: 1px solid var(--line-dark); }
.contact-info > div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
.contact-info dt { font-family: var(--display); font-size: 13px; text-transform: uppercase; color: #9a9a9a; padding-top: 2px; }
.contact-info dd { font-size: 15px; word-break: break-word; }
.contact-info a:hover { color: var(--lime); }
.contact-svcs { color: #c9c9c6; }

.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; align-self: start; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--display); font-size: 13px; text-transform: uppercase; letter-spacing: .03em; color: #9a9a9a; }
.field input, .field textarea {
  font: inherit; font-size: 17px; color: var(--white); background: transparent;
  border: 0; border-bottom: 1px solid var(--line-dark); padding: 10px 0; border-radius: 0; transition: border-color .25s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: #5c5c5c; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--lime); }
.contact-form .btn { grid-column: 1 / -1; justify-self: start; border: 0; cursor: pointer; }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: var(--white); }
.form-success { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.form-success h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(3rem, 6vw, 5rem); line-height: .9; color: var(--lime); }
.form-success p { color: #9a9a9a; }

/* ── Modal ── */
.modal-figure { display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 100%; max-height: 100%; }
.modal-figure video, .modal-figure img { max-width: 100%; max-height: calc(100vh - 160px); object-fit: contain; background: #000; }
.modal-figure figcaption { font-family: var(--display); text-transform: uppercase; color: var(--white); font-size: 16px; }
.modal {
  position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, .94); display: grid; place-items: center;
  padding: 60px var(--gutter); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.modal.active { opacity: 1; visibility: visible; }
.modal video { max-width: 100%; max-height: 100%; background: #000; }
.modal-close {
  position: absolute; top: 14px; right: var(--gutter); width: 48px; height: 48px; background: var(--white); color: var(--ink);
  border: 0; font-size: 28px; line-height: 1; cursor: pointer;
}

/* ── Reveal ── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s, transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .split { grid-template-columns: 1fr; }
  .split-media { min-height: 0; aspect-ratio: 4 / 5; padding-top: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(2) { border-right: 0; }
  .steps li { border-bottom: 1px solid var(--line); }
  .steps .n { margin-bottom: 16px; }
  .w-card { width: 62vw; }
  .w-card:nth-child(3n) { margin-left: 0; }
  .work-cards { gap: 14vh; }
  .p-grid { grid-template-columns: 1fr 1fr; gap: 36px 14px; }
  .faq { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .contact-info { margin-top: 12px; }
  .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b-link { overflow-wrap: anywhere; }
  .f-nav, .f-social { gap: 0; }
  .f-nav a, .f-social a { padding: 9px 0; }
  .filter-bar { mask-image: linear-gradient(to right, #000 82%, transparent); -webkit-mask-image: linear-gradient(to right, #000 82%, transparent); padding-right: 40px; }
  .brands-head { flex-direction: column; align-items: flex-start; }
  .brands-head .body { text-align: left; }
  .caps { grid-template-columns: 1fr 1fr; }
  .cap:nth-child(2) { border-right: 0; }
  .cap:nth-child(3) { padding-left: 0; }
  .cap { border-bottom: 1px solid var(--line); }
  .ch-list a { grid-template-columns: 40px 1fr; row-gap: 6px; }
  .ch-desc, .ch-handle { grid-column: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .hero-sub { right: var(--gutter); bottom: 64px; }
  .hero-scroll { bottom: 28px; left: var(--gutter); right: auto; }
  .steps { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .project-count { display: none; }
  .p-card h3 { font-size: 15px; }
  .p-card p { font-size: 12px; }
  .yt-name { font-size: 1.6rem; }
  .p-yt .p-media { padding: 14px; }
  .caps { grid-template-columns: 1fr; }
  .cap, .cap + .cap { padding-left: 0; border-right: 0; }
  .steps li { border-right: 0; }
  /* Hero: start as a wide window instead of a thin strip */
  .hero-media { clip-path: inset(calc(14% * (1 - var(--p))) calc(9% * (1 - var(--p))) round calc(4px * (1 - var(--p)))); }
  /* Selected work: no pinned overlay on phones, simple 2-column grid */
  .work-pin { position: relative; height: auto; padding: 96px var(--gutter) 32px; }
  .work-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; margin-top: 0; padding: 0 var(--gutter) 40px; }
  .w-card, .w-card:nth-child(even), .w-card:nth-child(3n) { width: auto; align-self: auto; margin-left: 0; transform: none !important; }
  .w-card h3 { font-size: 15px; }
  .w-card p { font-size: 12px; }
  .work { padding-bottom: 72px; }
  /* Brands: smaller names so cells fit */
  .brand-grid a { padding: 16px; gap: 24px; min-height: 132px; }
  .b-name { font-size: 1.45rem; }
  /* Contact details: label above value so the email fits */
  .contact-info > div { grid-template-columns: 1fr; gap: 2px; }
  .contact-info a { display: inline-block; padding: 8px 0; }
  .f-email { font-size: min(1.4rem, 5.3vw); display: inline-block; padding: 8px 0; }
  .w-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .w-card:last-child:nth-child(odd) .w-media { aspect-ratio: 16 / 10; }
  .footer-bar { flex-direction: column; gap: 4px; }
}

@media (max-width: 360px) {
  .brand-grid a { padding: 12px; }
  .b-link { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero { --p: 1 !important; height: 100vh; }
  .hero-title .ln { animation: none; opacity: 1; transform: none; }
  .ticker-track, .stack-marquee { animation: none; }
  .stack-marquee { flex-wrap: wrap; justify-content: center; width: auto; }
  .stack-track[aria-hidden] { display: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .w-card { transform: none !important; }
}

/* ── Perf: skip rendering off-screen sections until near the viewport ── */
.footer { content-visibility: auto; contain-intrinsic-size: auto 700px; }
