/*
 * ARP Visuals — styles.css
 * Cinematic AI creative agency. Near-black canvas, Didone display against
 * engineered grotesque, one electric-orange signal cutting through the dark.
 * Authored to the binding design-direction.md. One voice, one point of view.
 */

/* ============================================================
   Design Tokens
   ============================================================ */
:root {
  --color-primary: #F47820;          /* electric orange — signal only */
  --color-secondary: #2FB6C4;        /* cinema teal — film world */
  --color-accent: #8B2FC9;           /* violet — decorative only */
  --color-bg: #0A0A0B;               /* near-black baseline */
  --color-bg-deep: #060607;          /* darkest band (House of NYCe) */
  --color-surface: #141416;          /* lifted panels */
  --color-surface-2: #1B1B1E;
  --color-text: #F4F0EA;             /* warm off-white */
  --color-text-secondary: #9A9690;   /* muted */
  --color-text-dim: #6A6760;
  --color-border: #26262A;
  --color-border-soft: #1C1C20;

  --font-primary: 'Bodoni Moda', Georgia, 'Times New Roman', serif;
  --font-secondary: 'Archivo', system-ui, -apple-system, sans-serif;
  --font-expanded: 'Archivo Expanded', 'Archivo', system-ui, sans-serif;

  --font-size-base: 16px;
  --spacing-base: 8px;

  /* spectrum logo callback gradient */
  --spectrum: linear-gradient(90deg, var(--color-primary), var(--color-accent), var(--color-secondary));

  --motion-duration: 300ms;
  --motion-duration-slow: 620ms;
  --motion-ease: cubic-bezier(0.16, 1, 0.3, 1);

  --maxw: 1320px;
  --gutter: clamp(1.25rem, 5vw, 5.5rem);
}

/* ============================================================
   Base Reset
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: var(--font-size-base, 16px);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-secondary);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  padding-bottom: 42px; /* required */
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, video, iframe {
  max-width: 100%;
  display: block;
}
img { height: auto; }

a {
  color: var(--color-text);
  text-decoration: none;
  transition: color var(--motion-duration) var(--motion-ease);
}

h1, h2, h3, h4 { font-family: var(--font-primary); font-weight: 600; }

::selection { background: var(--color-primary); color: #0A0A0B; }

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

/* ============================================================
   Typographic Primitives
   ============================================================ */
.display {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: clamp(3.25rem, 8vw, 8rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.h1 {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: clamp(2.75rem, 6vw, 5rem);
  line-height: 1.0;
  letter-spacing: -0.015em;
}
.h2 {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.h3 {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.15;
}
.lead {
  font-family: var(--font-secondary);
  font-weight: 400;
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.55;
  color: var(--color-text-secondary);
}
.body { font-size: 1.0625rem; line-height: 1.65; max-width: 64ch; }
.eyebrow {
  font-family: var(--font-expanded);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-secondary);
  display: inline-block;
}
.eyebrow--muted { color: var(--color-text-secondary); }
em.coined { font-family: var(--font-primary); font-style: italic; font-weight: 500; color: var(--color-text); }
.orange { color: var(--color-primary); }
.text-secondary { color: var(--color-text-secondary); }

/* ============================================================
   Layout helpers
   ============================================================ */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(4.5rem, 11vw, 9rem); }
.section--tight { padding-block: clamp(3rem, 7vw, 5.5rem); }
.bleed { width: 100%; }

/* CTA-as-type — the restrained link treatment */
.cta-type {
  font-family: var(--font-expanded);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding-bottom: 4px;
  position: relative;
}
.cta-type::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--color-primary);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--motion-duration) var(--motion-ease);
}
.cta-type:hover::after { transform: scaleX(1); }
.cta-type i { transition: transform var(--motion-duration) var(--motion-ease); }
.cta-type:hover i { transform: translateX(4px); }

/* the single filled-orange button — used once, on contact */
.btn-solid {
  font-family: var(--font-expanded);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0A0A0B;
  background: var(--color-primary);
  border: 0;
  padding: 1.1rem 2.4rem;
  cursor: pointer;
  transition: background var(--motion-duration) var(--motion-ease), transform var(--motion-duration) var(--motion-ease);
}
.btn-solid:hover { background: #ff8a32; transform: translateY(-2px); }

/* ============================================================
   Reveal animation (reveal-stagger-on-scroll)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--motion-duration-slow) var(--motion-ease),
              transform var(--motion-duration-slow) var(--motion-ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   Navigation — centered-split + scroll-away
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 0 var(--gutter);
  height: 80px;
  background: color-mix(in srgb, var(--color-bg) 84%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border-soft);
  transition: transform var(--motion-duration) var(--motion-ease);
}
.nav.is-hidden { transform: translateY(-110%); }

.nav__links { display: flex; align-items: center; gap: clamp(1.25rem, 2.4vw, 2.2rem); list-style: none; }
.nav__links--left { justify-content: flex-end; }
.nav__links--right { justify-content: flex-start; }
.nav__link {
  font-family: var(--font-secondary);
  font-weight: 500;
  font-size: 0.9375rem; /* 15px — at the legibility floor */
  letter-spacing: 0.02em;
  color: var(--color-text);
  position: relative;
  padding: 0.4rem 0;
  white-space: nowrap;
}
.nav__link::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--color-primary);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--motion-duration) var(--motion-ease);
}
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--color-primary); }

.nav__logo { justify-self: center; display: inline-flex; align-items: center; }
.nav__logo img { width: 46px; height: 46px; }
.nav__logo span {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  margin-left: 0.6rem;
  display: none;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  justify-self: end;
  width: 30px; height: 22px;
  justify-content: center;
  background: none; border: 0; cursor: pointer; padding: 0;
}
.nav__hamburger span { display: block; width: 26px; height: 2px; background: var(--color-text); transition: transform var(--motion-duration) var(--motion-ease), opacity var(--motion-duration) var(--motion-ease); }
.nav.is-open .nav__hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__hamburger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   Footer
   ============================================================ */
.footer { position: relative; background: var(--color-bg-deep); border-top: 1px solid var(--color-border-soft); padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.footer::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 2px;
  background: var(--spectrum); opacity: 0.85;
}
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
.footer__brand .footer__mark { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.footer__brand img { width: 44px; height: 44px; }
.footer__brand .footer__name { font-family: var(--font-primary); font-size: 1.4rem; font-weight: 600; }
.footer__tag { color: var(--color-text-secondary); max-width: 34ch; font-size: 0.95rem; }
.footer__col h4 { font-family: var(--font-expanded); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.75rem; color: var(--color-text-dim); margin-bottom: 1.25rem; font-weight: 600; }
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.footer__col a, .footer__col li { color: var(--color-text-secondary); font-size: 0.95rem; }
.footer__col a:hover { color: var(--color-primary); }
.footer__social { display: flex; gap: 1rem; margin-top: 0.4rem; }
.footer__social a {
  width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--color-border); color: var(--color-text-secondary); font-size: 1.15rem;
  transition: color var(--motion-duration) var(--motion-ease), border-color var(--motion-duration) var(--motion-ease);
}
.footer__social a:hover { color: var(--color-primary); border-color: var(--color-primary); }
.footer__bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.75rem; border-top: 1px solid var(--color-border-soft); color: var(--color-text-dim); font-size: 0.85rem; }
.footer__bar a { color: var(--color-text-dim); }
.footer__bar a:hover { color: var(--color-primary); }

/* ============================================================
   AI-image placeholder (custom Midjourney slots)
   ============================================================ */
.ai-placeholder {
  position: relative;
  width: 100%;
  background:
    repeating-linear-gradient(135deg, transparent 0 18px, rgba(244,120,32,0.035) 18px 36px),
    var(--color-surface);
  border: 1px solid var(--color-border);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.ai-placeholder::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(47,182,196,0.07), transparent 70%);
}
.ai-placeholder__label {
  position: relative;
  font-family: var(--font-expanded);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  color: var(--color-text-dim);
  text-align: center;
  padding: 1rem 1.5rem;
  line-height: 1.8;
}
.ai-placeholder__label i { display: block; font-size: 1.4rem; margin-bottom: 0.6rem; color: var(--color-secondary); letter-spacing: 0; }

/* ============================================================
   HOME — Hero (title card)
   ============================================================ */
/* The title-card pin: the hero is taller than the viewport. The video pins to
   the top for ~one viewport-height while the headline pins to the bottom and
   holds — the film keeps moving beneath the type, and the overlap is the
   composition. Both release together near the section's end. */
.hero {
  position: relative;
  min-height: 172svh;
  background: var(--color-bg);
}
.hero__video-wrap {
  position: sticky; top: 0;
  height: 100svh; width: 100%;
  overflow: hidden; z-index: 0;
}
.hero__video {
  position: absolute;
  top: 50%; left: 50%;
  /* The source "HER" loop is a vertical 9:16 film; size to cover the landscape
     frame (fill width, crop top/bottom) so it reads as a full-bleed backdrop. */
  width: 100%; min-width: 100%;
  height: 177.78vw; min-height: 100%;
  max-width: none;
  transform: translate(-50%, -50%);
  border: 0; pointer-events: none;
}
.hero__video-wrap::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--color-bg) 60%, transparent) 0%,
    color-mix(in srgb, var(--color-bg) 70%, transparent) 45%,
    color-mix(in srgb, var(--color-bg) 90%, transparent) 100%);
}
.hero__sticky {
  position: sticky;
  bottom: clamp(2.5rem, 6vw, 6rem);
  margin-top: -100svh;
  z-index: 2;
  padding: 0 var(--gutter);
}
.hero__inner { max-width: min(620px, 64vw); }
.hero__rule {
  width: 72px; height: 2px;
  background: var(--spectrum);
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.hero__eyebrow { margin-bottom: 1.4rem; }
.hero__headline {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: clamp(2.6rem, 5.4vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--color-text);
  text-wrap: balance;
}
.hero__headline em { font-style: normal; color: var(--color-primary); }
.hero__sub {
  font-family: var(--font-secondary);
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  line-height: 1.55;
  color: var(--color-text-secondary);
  max-width: 50ch;
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}
.hero__cue {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-family: var(--font-expanded);
  text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.7rem;
  color: var(--color-text-secondary);
}
.hero__cue-line { width: 56px; height: 2px; background: var(--spectrum); animation: cue-pulse 2.6s var(--motion-ease) infinite; transform-origin: left; }
@keyframes cue-pulse { 0%,100% { transform: scaleX(0.6); opacity: 0.5; } 50% { transform: scaleX(1); opacity: 1; } }

/* ============================================================
   HOME — Positioning statement (the thesis)
   ============================================================ */
.thesis { padding-block: clamp(5rem, 14vw, 11rem); }
.thesis__inner { max-width: 60%; }
.thesis__rule {
  height: 1px; width: 0;
  background: var(--color-primary);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.thesis__rule.is-drawn { width: min(420px, 100%); transition: width 620ms var(--motion-ease); }
.thesis__statement {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.thesis__lead { margin-top: clamp(1.5rem, 3vw, 2.25rem); font-size: clamp(1.1rem, 1.5vw, 1.35rem); color: var(--color-text-secondary); max-width: 52ch; }

/* ============================================================
   HOME — What We Make (oversized service list)
   ============================================================ */
.make__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); flex-wrap: wrap; }
.svc-list { list-style: none; }
.svc-row {
  position: relative;
  border-top: 1px solid var(--color-border);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: clamp(1.4rem, 3vw, 2.4rem) 0;
}
.svc-list .svc-row:last-child { border-bottom: 1px solid var(--color-border); }
.svc-row::after {
  content: ""; position: absolute; left: 0; top: -1px;
  width: 100%; height: 1px; background: var(--color-primary);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--motion-duration-slow) var(--motion-ease);
}
.svc-row:hover::after { transform: scaleX(1); }
.svc-row__index {
  font-family: var(--font-expanded);
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  color: var(--color-secondary);
  align-self: start;
  padding-top: 0.6em;
}
.svc-row__name {
  font-family: var(--font-expanded);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.6rem, 5vw, 4.25rem);
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--color-text);
  transition: color var(--motion-duration) var(--motion-ease), transform var(--motion-duration) var(--motion-ease);
}
.svc-row__name small { display: block; font-family: var(--font-secondary); font-weight: 400; text-transform: none; letter-spacing: 0; font-size: clamp(0.95rem, 1.3vw, 1.1rem); color: var(--color-text-secondary); margin-top: 0.6rem; }
.svc-row:hover .svc-row__name { color: var(--color-primary); transform: translateX(8px); }
.svc-row__thumb {
  width: clamp(96px, 12vw, 168px);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  opacity: 0;
  transform: translateX(20px) scale(0.96);
  transition: opacity var(--motion-duration) var(--motion-ease), transform var(--motion-duration) var(--motion-ease);
  background: var(--color-surface);
  justify-self: end;
}
.svc-row__thumb img { width: 100%; height: 100%; object-fit: cover; }
.svc-row:hover .svc-row__thumb { opacity: 1; transform: translateX(0) scale(1); }
.svc-row__arrow { color: var(--color-text-dim); font-size: 1.4rem; transition: color var(--motion-duration) var(--motion-ease), transform var(--motion-duration) var(--motion-ease); }
.svc-row:hover .svc-row__arrow { color: var(--color-primary); transform: translateX(6px); }

/* ============================================================
   HOME — Brand Couture feature (edge-bleed)
   ============================================================ */
.couture-feature { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); min-height: 78svh; }
.couture-feature__text { padding: clamp(3rem,7vw,6rem) 0 clamp(3rem,7vw,6rem) var(--gutter); max-width: 46ch; min-width: 0; }
.couture-feature__text .h2 { margin: 1rem 0 1.5rem; }
.couture-feature__media { position: relative; align-self: stretch; min-height: 60svh; }
.couture-feature__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 35%;
}
.couture-feature__caption { position: absolute; right: 1.25rem; bottom: 1.25rem; z-index: 2; font-size: 0.75rem; color: var(--color-secondary); letter-spacing: 0.1em; text-transform: uppercase; text-shadow: 0 1px 8px rgba(0,0,0,0.7); }
.couture-feature__film { margin-top: 2rem; display: inline-flex; align-items: center; gap: 0.9rem; }
.film-chip {
  display: inline-flex; align-items: center; gap: 0.65rem;
  font-family: var(--font-secondary); font-size: 0.9rem; color: var(--color-text-secondary);
  border: 1px solid var(--color-border); padding: 0.55rem 1rem; cursor: pointer; background: none;
  transition: border-color var(--motion-duration) var(--motion-ease), color var(--motion-duration) var(--motion-ease);
}
.film-chip i { color: var(--color-primary); font-size: 1.05rem; }
.film-chip:hover { border-color: var(--color-secondary); color: var(--color-text); }

/* ============================================================
   HOME — Selected work preview (asymmetric grid)
   ============================================================ */
.work-preview__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; margin-bottom: clamp(2rem, 4vw, 3rem); flex-wrap: wrap; }
.work-preview__grid { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: auto auto; gap: clamp(0.5rem, 1vw, 0.9rem); }
.work-preview__grid .tile-feature { grid-row: span 2; }
.tile { position: relative; overflow: hidden; background: var(--color-surface); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--motion-duration-slow) var(--motion-ease); }
.tile:hover img { transform: scale(1.04); }
.tile-feature { aspect-ratio: 3 / 4; }
.work-preview__grid .tile:not(.tile-feature) { aspect-ratio: 4 / 3; }
.tile__cap { position: absolute; left: 0; bottom: 0; width: 100%; padding: 1.5rem 1.25rem 1rem; background: linear-gradient(0deg, rgba(6,6,7,0.85), transparent); font-size: 0.8125rem; letter-spacing: 0.04em; color: var(--color-text-secondary); }
.tile__cap strong { display: block; color: var(--color-text); font-family: var(--font-secondary); font-weight: 600; font-size: 0.9rem; margin-bottom: 0.15rem; }
.tile--couture .tile__cap strong { color: var(--color-secondary); }

/* ============================================================
   HOME — Client roster (names as type)
   ============================================================ */
.roster { text-align: left; }
.roster__names {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: clamp(1.5rem, 3.2vw, 3rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-top: clamp(1.75rem, 3.5vw, 2.75rem);
}
.roster__names .name { color: var(--color-text); transition: color var(--motion-duration) var(--motion-ease); position: relative; white-space: nowrap; }
.roster__names .name:hover { color: var(--color-text); }
.roster__names a.name:hover { text-decoration: underline; text-decoration-color: var(--color-primary); text-underline-offset: 0.18em; text-decoration-thickness: 2px; }
.roster__names .sep { color: var(--color-secondary); margin: 0 0.5em; font-weight: 400; }

/* ============================================================
   HOME — House of NYCe (centered, spectrum-walled)
   ============================================================ */
.nyce { position: relative; background: var(--color-bg-deep); padding-block: clamp(5rem, 12vw, 8.5rem); text-align: center; }
.nyce::before, .nyce::after { content: ""; position: absolute; left: 0; width: 100%; height: 2px; background: var(--spectrum); opacity: 0.8; }
.nyce::before { top: 0; }
.nyce::after { bottom: 0; }
.nyce__eyebrow { margin-bottom: 1.5rem; }
.nyce__headline { font-family: var(--font-primary); font-weight: 600; font-size: clamp(1.9rem, 4.5vw, 3.6rem); line-height: 1.05; letter-spacing: -0.01em; max-width: 18ch; margin-inline: auto; }
.nyce__desc { color: var(--color-secondary); margin-top: 1.5rem; font-size: 1rem; letter-spacing: 0.02em; }
.nyce__films { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.5vw, 2rem); margin-top: clamp(3rem, 6vw, 5rem); text-align: left; }
.film-embed { position: relative; aspect-ratio: 16 / 9; background: var(--color-surface); overflow: hidden; }
.film-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.film-embed__label { margin-top: 0.9rem; display: flex; align-items: baseline; gap: 0.75rem; }
.film-embed__label strong { font-family: var(--font-primary); font-weight: 500; font-size: 1.15rem; }
.film-embed__label span { font-size: 0.8125rem; color: var(--color-secondary); letter-spacing: 0.08em; text-transform: uppercase; }

/* ============================================================
   HOME — Point of view (the manifesto)
   ============================================================ */
.manifesto { padding-block: clamp(5rem, 13vw, 10rem); }
.manifesto__body { max-width: min(860px, 94%); }
.manifesto__lead {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  max-width: 20ch;
}
.manifesto__cliches { list-style: none; margin: clamp(2rem, 4vw, 3rem) 0; }
.manifesto__cliches li {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1.4;
  color: var(--color-text-dim);
  position: relative;
  width: max-content;
  max-width: 100%;
}
.manifesto__cliches li::after {
  content: ""; position: absolute; left: -0.1em; top: 52%;
  width: 0; height: 2px; background: var(--color-text-secondary);
  transition: width 520ms var(--motion-ease);
}
.manifesto__cliches.is-struck li::after { width: calc(100% + 0.2em); }
.manifesto__cliches.is-struck li:nth-child(2)::after { transition-delay: 160ms; }
.manifesto__cliches.is-struck li:nth-child(3)::after { transition-delay: 320ms; }
.manifesto__turn {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: clamp(1.7rem, 3.4vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  max-width: 26ch;
}
.manifesto__turn .orange { color: var(--color-primary); }

/* ============================================================
   Contact (CTA panel + form) — shared
   ============================================================ */
.contact-panel { background: var(--color-surface); border: 1px solid var(--color-border); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); padding: clamp(2.25rem, 5vw, 4rem); }
.contact-panel__intro .h2 { margin-bottom: 1.25rem; }
.contact-panel__intro p { color: var(--color-text-secondary); max-width: 38ch; }
.contact-panel__sig { margin-top: 2rem; font-family: var(--font-primary); font-style: italic; font-size: 1.25rem; color: var(--color-text); }

.contact-form { display: flex; flex-direction: column; gap: 1.3rem; }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field label { font-family: var(--font-secondary); font-size: 0.9375rem; font-weight: 500; letter-spacing: 0.02em; color: var(--color-text-secondary); }
.field input, .field textarea {
  font-family: var(--font-secondary); font-size: 1rem; color: var(--color-text);
  background: var(--color-bg); border: 1px solid var(--color-border);
  padding: 0.85rem 1rem; width: 100%;
  transition: border-color var(--motion-duration) var(--motion-ease);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--color-primary); }
.field textarea { resize: vertical; min-height: 120px; }
.contact-form .btn-solid { align-self: flex-start; margin-top: 0.5rem; }

.contact-panel--solo { grid-template-columns: 1fr; max-width: 760px; margin-inline: auto; }
.contact-panel--solo .contact-panel__intro { text-align: center; }
.contact-panel--solo .contact-panel__intro p { max-width: none; }
.contact-panel--solo .contact-form .btn-solid { align-self: center; }
.contact-social { display: flex; justify-content: center; gap: 1rem; margin-top: 2.5rem; }
.contact-social a { width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--color-border); color: var(--color-text-secondary); font-size: 1.2rem; transition: color var(--motion-duration) var(--motion-ease), border-color var(--motion-duration) var(--motion-ease); }
.contact-social a:hover { color: var(--color-secondary); border-color: var(--color-secondary); }

/* locations as a type line */
.locations { font-family: var(--font-primary); font-weight: 500; font-size: clamp(1.1rem, 2vw, 1.6rem); margin-top: 2rem; }
.locations .sep { color: var(--color-secondary); margin: 0 0.45em; }

/* ============================================================
   Generic page hero (interior pages)
   ============================================================ */
.page-hero { padding-top: clamp(4rem, 9vw, 7rem); padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.page-hero__eyebrow { margin-bottom: 1.25rem; }
.page-hero .h1 { max-width: 16ch; }
.page-hero__lead { margin-top: 1.5rem; max-width: 56ch; font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--color-text-secondary); }

/* ============================================================
   WORK page — dense flush grid
   ============================================================ */
.work-filter { display: flex; flex-wrap: wrap; gap: clamp(1rem, 3vw, 2.25rem); padding: 1.1rem var(--gutter); background: var(--color-surface); border-block: 1px solid var(--color-border-soft); margin-bottom: clamp(0.5rem,1vw,0.9rem); }
.work-filter button {
  font-family: var(--font-expanded); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.8rem;
  background: none; border: 0; color: var(--color-text-secondary); cursor: pointer; padding: 0.2rem 0;
  position: relative; transition: color var(--motion-duration) var(--motion-ease);
}
.work-filter button[aria-current="true"] { color: var(--color-primary); }
.work-filter button:hover { color: var(--color-text); }

.work-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; gap: clamp(0.4rem, 0.8vw, 0.8rem); }
.work-tile { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--color-surface); }
.work-tile--feature { grid-column: span 2; aspect-ratio: 16 / 9; }
.work-tile--portrait { aspect-ratio: 3 / 4; grid-row: span 2; }
.work-tile--tall { aspect-ratio: 3 / 4; grid-row: span 2; }
.work-tile > img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--motion-duration-slow) var(--motion-ease); }
.work-tile:hover > img { transform: scale(1.04); }
.work-tile__cap { position: absolute; left: 0; bottom: 0; width: 100%; padding: 1.4rem 1.1rem 0.9rem; background: linear-gradient(0deg, rgba(6,6,7,0.9), transparent); font-size: 0.8rem; letter-spacing: 0.03em; color: var(--color-text-secondary); pointer-events: none; }
.work-tile__cap strong { display: block; color: var(--color-text); font-weight: 600; font-size: 0.92rem; margin-bottom: 0.1rem; }
.work-tile--couture .work-tile__cap strong { color: var(--color-secondary); }
.work-tile--video { background: radial-gradient(ellipse at 50% 38%, rgba(47,182,196,0.10), var(--color-surface) 72%); }
.work-tile--video::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: var(--spectrum); opacity: 0.55; z-index: 1; }
.work-tile__play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(6,6,7,0.25); color: var(--color-text); font-size: 2.5rem; cursor: pointer; border: 0; width: 100%;
  transition: background var(--motion-duration) var(--motion-ease);
}
.work-tile__play:hover { background: rgba(6,6,7,0.1); }
.work-tile__play i { filter: drop-shadow(0 2px 10px rgba(0,0,0,0.6)); }
.work-tile.is-playing .work-tile__play, .work-tile.is-playing .work-tile__cap { display: none; }
.work-tile iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.work-tile.is-hidden { display: none; }

/* ============================================================
   SERVICES page — alternating edge-bleed bands
   ============================================================ */
.svc-band { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); min-height: 80svh; border-top: 1px solid var(--color-border-soft); }
.svc-band__text { padding: clamp(3rem, 7vw, 6rem) var(--gutter); max-width: 52ch; min-width: 0; }
.svc-band__text .h2 { margin: 1rem 0 1.4rem; }
.svc-band__media { position: relative; align-self: stretch; min-height: 56svh; }
.svc-band__media .ai-placeholder { position: absolute; inset: 0; height: 100%; }
.svc-band__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc-band--right .svc-band__text { order: 2; }
.svc-band--right .svc-band__media { order: 1; }
.svc-band__list { list-style: none; margin: 1.5rem 0; display: flex; flex-direction: column; gap: 0.7rem; }
.svc-band__list li { display: flex; gap: 0.75rem; align-items: flex-start; color: var(--color-text-secondary); }
.svc-band__list i { color: var(--color-primary); font-size: 1.05rem; margin-top: 0.2rem; flex-shrink: 0; }
.svc-pointer { border-top: 1px solid var(--color-border-soft); padding-block: clamp(3rem,7vw,5rem); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }

/* ============================================================
   BRAND COUTURE page
   ============================================================ */
.bc-title { position: relative; min-height: 92svh; display: flex; align-items: flex-end; overflow: hidden; }
.bc-title__media { position: absolute; inset: 0; z-index: 0; }
.bc-title__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.bc-title::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10,10,11,0.45) 0%, rgba(10,10,11,0.35) 40%, rgba(10,10,11,0.92) 100%); }
.bc-title__card { position: relative; z-index: 2; padding: var(--gutter); padding-bottom: clamp(3rem, 7vw, 5rem); }
.bc-title__credit { font-size: 0.8125rem; color: var(--color-secondary); letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 1.25rem; }
.bc-title__headline { font-family: var(--font-primary); font-weight: 600; font-size: clamp(2.75rem, 7vw, 6rem); line-height: 0.98; letter-spacing: -0.02em; max-width: 16ch; }
.bc-diptych { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(0.5rem, 1.2vw, 1rem); }
.bc-diptych .ai-placeholder, .bc-diptych img { aspect-ratio: 3 / 4; width: 100%; object-fit: cover; }
.bc-cine { width: 100%; aspect-ratio: 21 / 9; }
.bc-films { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.5vw, 2rem); }

/* ============================================================
   ABOUT page
   ============================================================ */
.about-split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.about-portrait { position: relative; }
.about-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top center; }
.about-portrait__cap { font-size: 0.8125rem; color: var(--color-text-dim); letter-spacing: 0.06em; margin-top: 0.9rem; text-transform: uppercase; }
.about-creds { min-width: 0; }
.about-creds .h1 { margin-bottom: 1.5rem; }
.about-creds p { color: var(--color-text-secondary); margin-bottom: 1.25rem; max-width: 60ch; }
.cred-list { list-style: none; margin: 1.75rem 0; display: flex; flex-direction: column; gap: 0.9rem; }
.cred-list li { display: flex; gap: 0.85rem; align-items: flex-start; }
.cred-list i { color: var(--color-primary); font-size: 1.1rem; margin-top: 0.15rem; flex-shrink: 0; }
.cred-list strong { color: var(--color-text); font-weight: 600; font-family: var(--font-secondary); }
.cred-list span { color: var(--color-text-secondary); }

/* the broadsheet two-column moment — exactly one passage */
.broadsheet { border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); padding-block: clamp(2.5rem, 5vw, 4rem); margin-block: clamp(2.5rem,5vw,4rem); }
.broadsheet__eyebrow { margin-bottom: 1.5rem; }
.broadsheet__cols { columns: 2; column-gap: clamp(2rem, 4vw, 3.5rem); column-rule: 1px solid var(--color-border-soft); }
.broadsheet__cols p { break-inside: avoid; margin-bottom: 1rem; color: var(--color-text-secondary); }
.broadsheet__cols p:first-child::first-letter { font-family: var(--font-primary); font-size: 3.2rem; float: left; line-height: 0.8; padding: 0.1em 0.12em 0 0; color: var(--color-text); }

.about-nyce { margin-top: clamp(2.5rem, 5vw, 4rem); }
.about-nyce .eyebrow { margin-bottom: 1rem; }
.about-nyce p { max-width: 64ch; color: var(--color-text-secondary); }

/* ============================================================
   Film lightbox
   ============================================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: none; align-items: center; justify-content: center;
  background: rgba(6,6,7,0.92); padding: var(--gutter);
}
.lightbox.is-open { display: flex; }
.lightbox__frame { position: relative; width: min(1100px, 100%); aspect-ratio: 16 / 9; background: #000; }
.lightbox__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lightbox__close {
  position: absolute; top: calc(var(--gutter) * -0.2); right: 0;
  transform: translateY(-120%);
  background: none; border: 0; color: var(--color-text); cursor: pointer;
  font-size: 2rem; line-height: 1; display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-expanded); text-transform: uppercase; letter-spacing: 0.12em;
}
.lightbox__close span { font-size: 0.8rem; }

/* ============================================================
   404
   ============================================================ */
.notfound { min-height: 70svh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.notfound__code { font-family: var(--font-primary); font-weight: 600; font-size: clamp(5rem, 18vw, 14rem); line-height: 0.9; letter-spacing: -0.03em; }
.notfound__code .orange { color: var(--color-primary); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .thesis__inner { max-width: 80%; }
  .roster__names .name { white-space: normal; }
}

@media (max-width: 900px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .work-tile--feature { grid-column: span 2; aspect-ratio: 16 / 9; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  /* Nav → hamburger; centered split collapses to logo-left + stacked drawer.
     Grid rows grow the bar downward when open — the two link lists stack as
     rows 2 and 3, never overlapping. */
  .nav {
    grid-template-columns: auto 1fr;
    grid-auto-rows: min-content;
    align-items: center;
    height: auto;
    min-height: 68px;
  }
  .nav__logo { grid-column: 1; grid-row: 1; justify-self: start; height: 68px; }
  .nav__hamburger { display: flex; grid-column: 2; grid-row: 1; align-self: center; }
  .nav__links {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column; align-items: flex-start; gap: 0; width: 100%;
  }
  .nav.is-open .nav__links { display: flex; }
  .nav__links--left { grid-row: 2; padding-top: 0.5rem; }
  .nav__links--right { grid-row: 3; padding-bottom: 1.25rem; }
  .nav__link { font-size: 1.15rem; width: 100%; padding: 0.9rem 0; border-bottom: 1px solid var(--color-border-soft); }
  .nav__link::after { display: none; }

  .couture-feature { grid-template-columns: 1fr; }
  .couture-feature__text { padding: clamp(2.5rem,8vw,4rem) var(--gutter); max-width: none; }
  .couture-feature__media { min-height: 60svh; }

  .svc-band { grid-template-columns: 1fr; min-height: auto; }
  .svc-band__text { max-width: none; }
  .svc-band--right .svc-band__text { order: 1; }
  .svc-band--right .svc-band__media { order: 2; }
  .svc-band__media { min-height: 52svh; }

  .about-split { grid-template-columns: 1fr; }
  .about-portrait { max-width: 360px; }

  .contact-panel { grid-template-columns: 1fr; }
  .nyce__films, .bc-films, .bc-diptych { grid-template-columns: 1fr; }
  .work-preview__grid { grid-template-columns: 1fr 1fr; }
  .broadsheet__cols { columns: 1; }
  .thesis__inner { max-width: 100%; }
  .manifesto__body, .manifesto__lead, .manifesto__turn { max-width: 100%; }

  /* hero gains weight on mobile, stays lower-left */
  .hero__inner { max-width: none; }
  .hero__headline { font-size: clamp(2.75rem, 13vw, 4.5rem); font-weight: 700; }
}

@media (max-width: 540px) {
  .work-grid { grid-template-columns: 1fr; }
  .work-tile, .work-tile--feature, .work-tile--portrait, .work-tile--tall { aspect-ratio: 4 / 3; grid-column: auto; grid-row: auto; }
  .work-preview__grid { grid-template-columns: 1fr; }
  .work-preview__grid .tile-feature { grid-row: auto; aspect-ratio: 3/4; }
  .svc-row { grid-template-columns: auto 1fr; }
  .svc-row__thumb { display: none; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bar { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero__cue-line { animation: none; }
  .thesis__rule { width: min(420px, 100%); transition: none; }
  .manifesto__cliches li::after { width: calc(100% + 0.2em); transition: none; }
  /* Collapse the tall pinned hero to a single static frame; drop the video */
  .hero { min-height: 100svh; background: var(--color-bg-deep); display: flex; align-items: flex-end; }
  .hero__video-wrap { display: none; }
  .hero__sticky { position: static; margin-top: 0; bottom: auto; padding-block: 0 clamp(3rem,8vw,6rem); width: 100%; }
}
