/* Layout concept: a camera viewfinder opening onto a dark screening room —
   blue-black "after sunset" ground, tungsten-light accent, condensed credit-roll display type. */
:root {
  --ink: #0b0d12;          /* page ground: night sky after the sunset loop */
  --ink-2: #12151d;        /* raised panels */
  --ink-3: #1a1e29;        /* hover / chips */
  --paper: #ece6da;        /* warm projected white */
  --muted: #9b978f;
  --line: rgba(236, 230, 218, 0.12);
  --tungsten: #f2a541;     /* 3200K practical light */
  --tungsten-soft: rgba(242, 165, 65, 0.14);
  --rec: #ff4b3e;

  --f-display: "Big Shoulders Display", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --f-body: "Commissioner", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --step--1: clamp(0.8rem, 0.78rem + 0.1vw, 0.86rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  --step-1: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem);
  --step-2: clamp(1.8rem, 1.4rem + 1.6vw, 2.8rem);
  --step-3: clamp(2.6rem, 1.8rem + 3.6vw, 5.2rem);
  --step-4: clamp(3.4rem, 2rem + 7vw, 9rem);

  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --max: 1280px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-body);
  font-size: var(--step-0);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--tungsten); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--tungsten); color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--tungsten); color: var(--ink); padding: 8px 14px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { max-width: var(--max); margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
@media (min-width: 900px) { .wrap { padding-left: max(40px, env(safe-area-inset-left, 0px)); padding-right: max(40px, env(safe-area-inset-right, 0px)); } }
.section { padding-block: clamp(80px, 12vw, 160px); }
.mono { font-family: var(--f-mono); font-weight: 400; }
.small { font-size: var(--step--1); }
.accent { color: var(--tungsten); }

.eyebrow {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tungsten);
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }

.h2 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: var(--step-3);
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: 0.005em;
}

.section-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 32px 48px; margin-bottom: clamp(40px, 6vw, 72px);
}
.section-note { max-width: 40ch; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-family: var(--f-body); font-weight: 500; font-size: 0.98rem;
  text-decoration: none; white-space: nowrap;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn svg { width: 16px; height: 16px; fill: currentColor; }
.btn-primary { background: var(--tungsten); color: var(--ink); }
.btn-primary:hover { background: var(--paper); }
.btn-ghost { border: 1px solid rgba(236, 230, 218, 0.35); }
.btn-ghost:hover { border-color: var(--paper); background: rgba(236, 230, 218, 0.08); }
.btn-small { padding: 10px 18px; font-size: 0.9rem; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; gap: 8px; align-items: center;
  font-weight: 500; color: var(--tungsten); text-decoration: none;
  border-bottom: 1px solid transparent; transition: border-color .3s, gap .3s var(--ease);
}
.link-arrow:hover { border-color: currentColor; gap: 14px; }

/* ---------- Ambient: grain, progress, cursor ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.9s steps(5) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); }
  60% { transform: translate(-4%, -2%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 80; }
.progress span { display: block; height: 100%; width: 100%; background: var(--tungsten); transform-origin: 0 50%; transform: scaleX(0); }

.cursor { display: none; }
@media (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .cursor {
    display: grid; place-items: center;
    position: fixed; left: 0; top: 0; z-index: 95; pointer-events: none;
    width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
    border: 1px solid var(--paper);
    mix-blend-mode: difference;
    transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, border-color .35s, opacity .3s;
    opacity: 0;
  }
  .cursor.is-on { opacity: 1; }
  .cursor-label { font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity .2s; }
  .cursor.is-big { width: 86px; height: 86px; margin: -43px 0 0 -43px; background: var(--tungsten); border-color: var(--tungsten); mix-blend-mode: normal; }
  .cursor.is-big .cursor-label { opacity: 1; }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 70;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background .4s, backdrop-filter .4s, transform .5s var(--ease), border-color .4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid { background: rgba(11, 13, 18, 0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.logo { display: inline-flex; align-items: flex-end; text-decoration: none; line-height: 1; }
.logo-mark { font-family: var(--f-mono); font-weight: 500; font-size: 1.35rem; letter-spacing: -0.02em; }
.logo-sub { font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.12em; color: var(--tungsten); margin-left: 4px; margin-bottom: -2px; }

.nav { display: none; align-items: center; gap: 34px; }
.nav a:not(.btn) { text-decoration: none; font-size: 0.95rem; font-weight: 400; position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--tungsten); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav a:not(.btn):hover::after, .nav a.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav .btn { border: 1px solid rgba(236, 230, 218, 0.35); }
.nav .btn:hover { background: var(--tungsten); border-color: var(--tungsten); color: var(--ink); }

.menu-toggle { width: 44px; height: 44px; display: grid; place-content: center; gap: 7px; position: relative; z-index: 2; }
.menu-toggle > span:not(.sr-only) { display: block; width: 26px; height: 1.5px; background: var(--paper); transition: transform .4s var(--ease); }
.menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(4.25px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] > span:nth-child(2) { transform: translateY(-4.25px) rotate(-45deg); }
@media (min-width: 900px) { .nav { display: flex; } .menu-toggle { display: none; } }

.mobile-menu {
  position: fixed; inset: 0; z-index: 65; background: var(--ink);
  display: flex; flex-direction: column; justify-content: center; gap: 40px;
  padding: calc(90px + env(safe-area-inset-top, 0px)) var(--gutter-r) calc(40px + env(safe-area-inset-bottom, 0px)) var(--gutter);
}
.mobile-menu nav { display: flex; flex-direction: column; gap: 6px; }
.mobile-menu a { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.8rem, 12vw, 4.4rem); line-height: 1.02; text-transform: uppercase; text-decoration: none; }
.mobile-menu a:hover { color: var(--tungsten); }
.mobile-menu .mono { color: var(--muted); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: min(100svh, 980px);
  display: flex; align-items: flex-end;
  padding-top: 140px; padding-bottom: clamp(96px, 12vh, 140px);
  overflow: hidden;
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.06); }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(11,13,18,.55) 0%, rgba(11,13,18,0) 28%, rgba(11,13,18,0) 45%, rgba(11,13,18,.85) 88%, var(--ink) 100%),
    radial-gradient(120% 80% at 20% 90%, rgba(11,13,18,.6), transparent 60%);
}

.viewfinder { position: absolute; inset: calc(92px + env(safe-area-inset-top, 0px)) 20px 24px; pointer-events: none; font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: .14em; color: rgba(236,230,218,.75); }
@media (min-width: 900px) { .viewfinder { inset: 100px 40px 32px; } }
.vf-c { position: absolute; width: 26px; height: 26px; border-color: rgba(236,230,218,.55); border-style: solid; border-width: 0; }
.vf-c.tl { top: 0; left: 0; border-top-width: 1.5px; border-left-width: 1.5px; }
.vf-c.tr { top: 0; right: 0; border-top-width: 1.5px; border-right-width: 1.5px; }
.vf-c.bl { bottom: 0; left: 0; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.vf-c.br { bottom: 0; right: 0; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.vf-top { position: absolute; top: 14px; left: 40px; right: 40px; display: flex; justify-content: space-between; }
.vf-bottom { position: absolute; bottom: 14px; left: 40px; right: 40px; display: none; justify-content: flex-end; gap: 28px; }
@media (min-width: 700px) { .vf-bottom { display: flex; } }
.rec { display: inline-flex; align-items: center; gap: 8px; }
.rec b { width: 8px; height: 8px; border-radius: 50%; background: var(--rec); animation: blink 1.2s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.tc { font-variant-numeric: tabular-nums; }

.hero-content { position: relative; width: 100%; }
.hero-content .eyebrow { color: var(--paper); }
.hero-content .eyebrow::before { background: var(--tungsten); }
.hero-title {
  font-family: var(--f-display); font-weight: 900;
  font-size: var(--step-4); line-height: 0.86; text-transform: uppercase;
  letter-spacing: -0.005em;
  margin-bottom: 28px;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero-title .w { display: inline-block; }
.hero-lede { max-width: 46ch; font-size: var(--step-1); line-height: 1.45; font-weight: 300; color: rgba(236,230,218,.88); margin-bottom: 36px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.js .hero-title .w { transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
.js .hero-title .line:nth-child(1) .w:nth-child(1) { animation-delay: .15s; }
.js .hero-title .line:nth-child(1) .w:nth-child(2) { animation-delay: .23s; }
.js .hero-title .line:nth-child(1) .w:nth-child(3) { animation-delay: .31s; }
.js .hero-title .line:nth-child(2) .w:nth-child(1) { animation-delay: .45s; }
.js .hero-title .line:nth-child(2) .w:nth-child(2) { animation-delay: .53s; }
.js .hero-title .line:nth-child(2) .w:nth-child(3) { animation-delay: .61s; }
.js .hero-content .eyebrow, .js .hero-lede, .js .hero-ctas { opacity: 0; animation: fade 1s var(--ease) forwards; }
.js .hero-content .eyebrow { animation-delay: .05s; }
.js .hero-lede { animation-delay: .8s; }
.js .hero-ctas { animation-delay: .95s; }
@keyframes rise { to { transform: translateY(0); } }
@keyframes fade { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.scroll-cue {
  position: absolute; right: max(28px, env(safe-area-inset-right, 0px)); bottom: 70px; display: none;
  flex-direction: column; align-items: center; gap: 12px; text-decoration: none;
  font-family: var(--f-mono); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
.scroll-cue span { writing-mode: vertical-rl; }
.scroll-cue i { width: 1px; height: 64px; background: linear-gradient(var(--tungsten), transparent); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -30%; width: 1px; height: 30%; background: var(--paper); animation: drip 2s var(--ease) infinite; }
@keyframes drip { to { top: 110%; } }
@media (min-width: 900px) { .scroll-cue { display: flex; right: 60px; bottom: 80px; } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); padding-block: 26px; overflow: hidden; position: relative; }
.marquee-label { text-align: center; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; padding-inline: 16px; }
.marquee-track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-list { display: flex; list-style: none; margin: 0; padding: 0; }
.marquee-list li {
  font-family: var(--f-display); font-weight: 800; font-size: clamp(1.8rem, 1.2rem + 2.4vw, 3.2rem);
  text-transform: uppercase; white-space: nowrap; padding-right: clamp(20px, 3vw, 44px);
  color: transparent; -webkit-text-stroke: 1px rgba(236,230,218,.45);
  display: flex; align-items: center; gap: clamp(20px, 3vw, 44px);
  transition: color .3s, -webkit-text-stroke-color .3s;
}
.marquee-list li:hover { color: var(--paper); -webkit-text-stroke-color: var(--paper); }
.marquee-list li::after { content: "✦"; font-size: .4em; color: var(--tungsten); -webkit-text-stroke: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.statement {
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(2rem, 1.3rem + 3vw, 4.1rem); line-height: 1.04;
  text-transform: uppercase; max-width: 22ch;
  max-width: 100%;
  margin-bottom: clamp(56px, 8vw, 100px);
}
.statement .sw { transition: color .25s linear; }
.js .statement .sw { color: rgba(236,230,218,.18); }
.js .statement .sw.lit { color: var(--paper); }
.js .statement .sw.lit.hl { color: var(--tungsten); }

.about-grid { display: grid; gap: 56px; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; } }
.about-copy { display: grid; gap: 20px; color: rgba(236,230,218,.82); max-width: 60ch; min-width: 0; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0; border-top: 1px solid var(--line); }
.stat { padding: 26px 18px 26px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 10px; min-width: 0; }
.stat:nth-child(odd) { border-right: 1px solid var(--line); }
.stat:nth-child(even) { padding-left: 22px; }
.stat dt { font-size: .9rem; color: var(--muted); line-height: 1.4; }
.stat dd { margin: 0; font-family: var(--f-display); font-weight: 900; font-size: clamp(3rem, 2rem + 4vw, 5.4rem); line-height: .9; color: var(--paper); font-variant-numeric: tabular-nums; }
.stat:last-child dd { color: var(--tungsten); }

/* ---------- Spotlight ---------- */
.spotlight { position: relative; padding-block: clamp(40px, 6vw, 80px); background: linear-gradient(180deg, transparent, var(--ink-2) 30%, var(--ink-2) 70%, transparent); }
.spotlight-inner { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .spotlight-inner { grid-template-columns: 1.35fr 1fr; gap: 64px; } }
.spot-media { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; max-width: 100%; overflow: hidden; border-radius: 4px; background: var(--ink-3); }
.spot-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.9); }
.spot-media:hover img { transform: scale(1.05); filter: saturate(1.1); }
.play-badge {
  position: absolute; left: 50%; top: 50%; width: 88px; height: 88px; margin: -44px 0 0 -44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--tungsten); color: var(--ink);
  box-shadow: 0 0 0 0 rgba(242,165,65,.5); animation: pulse 2.4s var(--ease) infinite;
  transition: transform .4s var(--ease);
}
.play-badge svg { width: 30px; height: 30px; fill: currentColor; margin-left: 4px; }
.spot-media:hover .play-badge { transform: scale(1.08); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(242,165,65,.45); } 70%, 100% { box-shadow: 0 0 0 26px rgba(242,165,65,0); } }
.tc-badge { position: absolute; right: 12px; bottom: 12px; background: rgba(11,13,18,.75); padding: 4px 8px; font-size: .72rem; border-radius: 2px; letter-spacing: .06em; }
.spot-copy { display: grid; gap: 22px; min-width: 0; }
.award { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--tungsten); line-height: 1.6; display: flex; gap: 10px; align-items: flex-start; }
.laurel { font-size: 1rem; line-height: 1.2; }
.spot-copy h2 { font-family: var(--f-display); font-weight: 900; font-size: var(--step-3); line-height: .9; text-transform: uppercase; }
.spot-credit { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; margin-top: -10px; }
.spot-copy p:not(.award):not(.spot-credit) { color: rgba(236,230,218,.8); max-width: 50ch; }
.spot-copy .link-arrow { justify-self: start; }

/* ---------- Work grid ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line);
  font-size: .9rem; font-weight: 400; color: rgba(236,230,218,.8);
  transition: background .3s, color .3s, border-color .3s;
}
.chip sup { font-family: var(--f-mono); font-size: .65rem; margin-left: 2px; color: var(--muted); vertical-align: super; }
.chip:hover { border-color: rgba(236,230,218,.45); color: var(--paper); }
.chip.is-active { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.chip.is-active sup { color: var(--ink); }

.grid { display: grid; gap: clamp(16px, 2vw, 28px); grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .grid { grid-template-columns: repeat(3, 1fr); } }

.card { display: block; text-align: left; width: 100%; min-width: 0; }
.card[hidden] { display: none !important; }
.card-media { position: relative; aspect-ratio: 16 / 9; max-width: 100%; overflow: hidden; border-radius: 3px; background: var(--ink-3); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .5s; filter: grayscale(.25) brightness(.92); }
.card:hover .card-media img, .card:focus-visible .card-media img { transform: scale(1.06); filter: none; }
.card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(11,13,18,.7)); }
.card-play {
  position: absolute; left: 14px; bottom: 12px; z-index: 1; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.card-play i { width: 26px; height: 26px; border-radius: 50%; background: var(--tungsten); display: grid; place-items: center; }
.card-play svg { width: 10px; height: 10px; fill: var(--ink); margin-left: 2px; }
.card:hover .card-play, .card:focus-visible .card-play { opacity: 1; transform: none; }
@media (hover: none) { .card-play { opacity: 1; transform: none; } }
.card .tc-badge { z-index: 1; }
.card-body { padding-top: 16px; display: grid; gap: 6px; }
.card-cat { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--tungsten); }
.card-title { font-family: var(--f-body); font-weight: 600; font-size: 1.12rem; line-height: 1.3; }
.card-client { font-size: .88rem; color: var(--muted); }

.js .card.enter { animation: cardIn .7s var(--ease) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.grid-more { display: flex; justify-content: center; margin-top: 48px; }
.grid-more[hidden] { display: none; }

/* ---------- Services ---------- */
.services { background: var(--ink-2); }
.svc { display: grid; gap: 0; }
@media (min-width: 960px) { .svc { grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: start; } }
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc-item { border-bottom: 1px solid var(--line); }
.svc-name {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 0; text-align: left;
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.4rem); line-height: 1;
  color: rgba(236,230,218,.55);
  transition: color .35s var(--ease), padding-left .45s var(--ease);
}
.svc-name i { flex: none; width: 18px; height: 18px; position: relative; }
.svc-name i::before, .svc-name i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
.svc-name i::after { transform: rotate(90deg); }
.svc-item.is-active .svc-name { color: var(--paper); }
.svc-item.is-active .svc-name i { color: var(--tungsten); }
.svc-item.is-active .svc-name i::after { transform: rotate(0); }
.svc-name:hover { color: var(--paper); }
@media (min-width: 960px) {
  .svc-item.is-active .svc-name { padding-left: 18px; }
}

.svc-detail { display: grid; gap: 18px; color: rgba(236,230,218,.82); padding-bottom: 26px; }
.js .svc-detail { display: none; }
.js .svc-item.is-active .svc-detail { display: grid; animation: fade .5s var(--ease); }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .06em; padding: 6px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--paper); }

.svc-panel { display: none; }
@media (min-width: 960px) {
  .js .svc-item .svc-detail, .js .svc-item.is-active .svc-detail { display: none; }
  .svc { align-items: stretch; }
  .js .svc-panel { display: block; container-type: inline-size; }
  .svc-panel-inner {
    position: relative; border: 1px solid var(--line); border-radius: 4px; padding: 36px 40px 40px; height: 100%;
    background:
      radial-gradient(140% 90% at 100% 0%, var(--tungsten-soft), transparent 55%),
      var(--ink);
    display: flex; flex-direction: column; gap: 22px; overflow: hidden;
  }
  /* Sized to the panel so the longest word (DISTRIBUTION) fits; long names wrap to a second line. */
  .svc-panel-inner .svc-kicker { font-family: var(--f-display); font-weight: 900; font-size: min(6.5rem, 14cqi); line-height: .86; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1px rgba(242,165,65,.4); margin-bottom: auto; padding-bottom: 32px; }
  .svc-panel-inner p { font-size: 1.08rem; color: rgba(236,230,218,.88); max-width: 46ch; }
  .svc-panel-inner.swap > * { animation: fade .55s var(--ease) both; }
  .svc-panel-inner.swap > *:nth-child(2) { animation-delay: .05s; }
  .svc-panel-inner.swap > *:nth-child(3) { animation-delay: .1s; }
}

/* ---------- Process ---------- */
.process { position: relative; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; }
.timeline li { position: relative; padding: 0 0 40px 40px; }
.timeline li::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: -8px; width: 1px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.tl-dot { position: absolute; left: 0; top: 4px; width: 13px; height: 13px; border-radius: 50%; border: 1.5px solid var(--muted); background: var(--ink); transition: border-color .4s, background .4s, box-shadow .4s; z-index: 1; }
.timeline li.is-lit .tl-dot { border-color: var(--tungsten); background: var(--tungsten); box-shadow: 0 0 0 6px var(--tungsten-soft); }
.tl-n { display: block; font-size: .72rem; letter-spacing: .14em; color: var(--muted); margin-bottom: 8px; }
.timeline h3 { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.4rem); text-transform: uppercase; line-height: 1; margin-bottom: 10px; transition: color .4s; color: rgba(236,230,218,.5); }
.timeline li.is-lit h3 { color: var(--paper); }
.timeline p { color: var(--muted); font-size: .95rem; max-width: 30ch; }
.timeline-rail { display: none; }
.no-js-lit .timeline h3 { color: var(--paper); }

@media (min-width: 960px) {
  .timeline { grid-template-columns: repeat(5, 1fr); gap: 28px; padding-top: 40px; }
  .timeline li { padding: 0; }
  .timeline li::before { display: none; }
  .tl-dot { top: -46px; }
  .timeline-rail { display: block; position: relative; height: 1px; background: var(--line); margin-top: -1px; order: -1; }
  .process .wrap { display: flex; flex-direction: column; }
  .process .section-head { order: -2; }
  .timeline-rail { order: -1; margin-bottom: 0; margin-top: 6px; }
  .timeline-rail span { position: absolute; inset: 0; background: var(--tungsten); transform-origin: 0 50%; transform: scaleX(0); }
}

/* ---------- Contact ---------- */
.contact { background: radial-gradient(90% 70% at 0% 100%, rgba(242,165,65,.12), transparent 60%), var(--ink-2); }
.contact-inner { display: grid; gap: 56px; }
@media (min-width: 960px) { .contact-inner { grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; } }
.contact-copy { display: grid; gap: 24px; min-width: 0; }
.contact-copy > p { color: rgba(236,230,218,.82); max-width: 42ch; }
.contact-title { font-family: var(--f-display); font-weight: 900; font-size: var(--step-4); line-height: .86; text-transform: uppercase; }
.contact-direct { display: grid; gap: 18px; margin-top: 12px; }
.email-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.email { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.6rem, 1.1rem + 2vw, 2.6rem); text-decoration: none; border-bottom: 1px solid var(--line); transition: border-color .3s, color .3s; word-break: break-all; }
.email:hover { color: var(--tungsten); border-color: var(--tungsten); }
.copy { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; transition: border-color .3s, color .3s; }
.copy:hover { border-color: var(--tungsten); color: var(--tungsten); }

.form { display: grid; gap: 22px; min-width: 0; }
.types { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.types legend { font-size: .92rem; color: var(--muted); margin-bottom: 12px; padding: 0; }
.types label { position: relative; cursor: pointer; }
.types input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.types span { display: inline-block; padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line); font-size: .9rem; transition: background .25s, color .25s, border-color .25s; }
.types label:hover span { border-color: rgba(236,230,218,.45); }
.types input:checked + span { background: var(--tungsten); border-color: var(--tungsten); color: var(--ink); font-weight: 500; }
.types input:focus-visible + span { outline: 2px solid var(--tungsten); outline-offset: 3px; }
.field-row { display: grid; gap: 22px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; min-width: 0; }
.field label { font-size: .92rem; color: var(--muted); }
.field .opt { opacity: .7; }
.field input, .field textarea {
  width: 100%; font: inherit; font-weight: 400; color: var(--paper);
  background: transparent; border: 0; border-bottom: 1px solid rgba(236,230,218,.25);
  padding: 10px 0; border-radius: 0; resize: vertical;
  transition: border-color .3s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--tungsten); }
.field.invalid input, .field.invalid textarea { border-color: var(--rec); }
.form-status { min-height: 1.5em; font-size: .92rem; color: var(--tungsten); }
.form-status.error { color: var(--rec); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 36px calc(36px + env(safe-area-inset-bottom, 0px)); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 12px 26px; }
.footer-inner nav a { text-decoration: none; color: var(--muted); font-size: .92rem; }
.footer-inner nav a:hover { color: var(--paper); }
.footer-inner .small { color: var(--muted); }

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100%; height: 100%; max-width: none; max-height: none; margin: 0;
  padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  border: 0; background: #000; color: var(--paper); overflow-y: auto;
}
.lightbox[open] { display: flex; animation: lbFade .35s var(--ease); }
.lightbox::backdrop { background: #000; }
@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lbIn { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
.lb-inner { display: grid; gap: 14px; width: min(1200px, 100%); margin: auto; animation: lbIn .5s var(--ease); }
.lb-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.lb-back {
  display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 20px 0 14px; border-radius: 999px;
  border: 1px solid rgba(236, 230, 218, 0.28); font-family: var(--f-mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase;
  transition: background .3s, color .3s, border-color .3s;
}
.lb-back svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .3s var(--ease); }
.lb-back:hover { background: var(--tungsten); color: var(--ink); border-color: var(--tungsten); }
.lb-back:hover svg { transform: translateX(-3px); }
.lb-count { font-size: .75rem; letter-spacing: .14em; color: var(--muted); margin-right: 6px; }
.lb-nav { display: flex; align-items: center; gap: 8px; }
.lb-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(236, 230, 218, 0.28); display: grid; place-items: center; font-size: 1rem; transition: background .3s, color .3s, border-color .3s; }
.lb-btn:hover { background: var(--tungsten); color: var(--ink); border-color: var(--tungsten); }
.lb-frame { position: relative; aspect-ratio: 16 / 9; max-width: 100%; max-height: calc(100svh - 220px); margin-inline: auto; width: 100%; background: #000; border-radius: 3px; overflow: hidden; }
.lb-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; color-scheme: normal; } /* matches the light-scheme player so Chrome doesn't paint a white canvas behind it */
.lb-meta { display: grid; gap: 6px; max-width: 80ch; }
.lb-cat { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--tungsten); }
.lb-meta h3 { font-weight: 600; font-size: 1.2rem; }
.lb-meta p:last-child { color: var(--muted); font-size: .95rem; }
body.lb-open { overflow: hidden; }

/* ---------- Scroll reveals ---------- */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .grain, .marquee-track { animation: none !important; }
  .marquee-track { flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee-list[aria-hidden="true"] { display: none; }
  .js .reveal { opacity: 1; transform: none; }
  .js .hero-title .w { transform: none; }
}
