/* ==========================================================================
   POSTFIX — styles.css
   Dark-green minimalist system. Animations touch transform / opacity /
   clip-path only (plus color on the manifesto words).
   ========================================================================== */

:root {
  --bg-canvas: #051F20;
  --bg-surface: #0B2B26;
  --bg-glass: rgba(22, 56, 50, 0.45);
  --border-subtle: rgba(142, 182, 155, 0.16);
  --border-solid: #235347;
  --accent-muted: #8EB69B;
  --text-primary: #DAF1DE;
  --text-pure: #F4FBF6;

  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --radius-lg: 24px;
  --radius-md: 16px;
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1280px;

  --mx: 50%;
  --my: 50%;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--bg-canvas);
  -webkit-text-size-adjust: 100%;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
html:not(.lenis) { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg-canvas);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--text-primary); color: var(--bg-canvas); }

:focus-visible {
  outline: 1px solid var(--text-primary);
  outline-offset: 4px;
  border-radius: 6px;
}

.mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 400;
}
.serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; }

.container {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: 140px 0; position: relative; }

.eyebrow { color: var(--accent-muted); margin: 0 0 28px; }

.section-title {
  font-size: clamp(40px, 6vw, 80px);
  line-height: .95;
  letter-spacing: -.04em;
  font-weight: 700;
  margin: 0;
}
.section-title em { font-weight: 400; letter-spacing: -.01em; color: var(--accent-muted); }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.005em;
  white-space: nowrap;
  transition: background .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease);
  will-change: transform;
}
.btn > * { pointer-events: none; }
.btn--light {
  background: var(--text-primary);
  color: var(--bg-canvas);
  box-shadow: 0 0 0 0 rgba(218, 241, 222, 0);
}
.btn--light:hover {
  background: var(--text-pure);
  box-shadow: 0 0 40px -6px rgba(218, 241, 222, .45);
}
.btn--glass {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.btn--glass:hover { border-color: rgba(142, 182, 155, .4); }
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }

/* ---------- Cursor ---------- */
.cursor { display: none; }
html.has-cursor, html.has-cursor * { cursor: none !important; }
html.has-cursor .cursor { display: block; }
.cursor__ring, .cursor__dot {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 1000;
  border-radius: 50%;
  will-change: transform;
}
.cursor__ring {
  width: 36px; height: 36px;
  margin: -18px 0 0 -18px;
  border: 1px solid rgba(218, 241, 222, .55);
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease),
              background .35s var(--ease), border-color .35s var(--ease), opacity .3s;
}
.cursor__dot {
  width: 5px; height: 5px;
  margin: -2.5px 0 0 -2.5px;
  background: var(--text-primary);
}
.cursor.is-hover .cursor__ring {
  width: 64px; height: 64px; margin: -32px 0 0 -32px;
  background: rgba(142, 182, 155, .12);
  border-color: rgba(142, 182, 155, .7);
}
.cursor.is-hidden .cursor__ring, .cursor.is-hidden .cursor__dot { opacity: 0; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 100;
  transform: translateX(-50%);
  width: min(calc(100% - 32px), 1080px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 8px 8px 8px 24px;
  border-radius: 999px;
  background: rgba(11, 43, 38, .55);
  border: 1px solid var(--border-solid);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  transition: transform .6s var(--ease);
}
.nav.is-hidden { transform: translate(-50%, -130%); }
.nav__brand {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .32em;
  justify-self: start;
}
.nav__links { display: flex; gap: 4px; }
.nav__links a {
  position: relative;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-muted);
  transition: color .3s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 1px;
  width: 4px; height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--text-primary);
  box-shadow: 0 0 8px var(--text-primary);
  transform: scale(0);
  opacity: 0;
  transition: transform .4s var(--ease), opacity .4s;
}
.nav__links a:hover, .nav__links a.is-active { color: var(--text-primary); }
.nav__links a.is-active::after { transform: scale(1); opacity: 1; }
.nav__cta { justify-self: end; height: 40px; padding: 0 20px; font-size: 13px; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(120% 80% at 70% 0%, rgba(35, 83, 71, .55), transparent 60%),
    radial-gradient(90% 70% at 15% 100%, rgba(22, 56, 50, .8), transparent 65%),
    var(--bg-canvas);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .42;
  mix-blend-mode: screen;
  transition: opacity 1.2s var(--ease);
}
.hero__video.is-failed { opacity: 0; }
.hero__vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 65% at 50% 45%, transparent 0%, rgba(5, 31, 32, .55) 60%, #051F20 100%),
    linear-gradient(to bottom, rgba(5, 31, 32, .55) 0%, transparent 22%, transparent 70%, #051F20 100%);
}
.hero__sheen {
  position: absolute; inset: 0;
  background: radial-gradient(520px circle at var(--mx) var(--my), rgba(142, 182, 155, .10), transparent 60%);
  mix-blend-mode: screen;
  pointer-events: none;
}

/* HUD */
.hud { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hud__grid { position: absolute; inset: 0; width: 100%; height: 100%; }
.hud__grid line {
  stroke: rgba(142, 182, 155, .14);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.hud__reticle {
  position: absolute;
  left: 50%; top: 50%;
  width: min(78vh, 82vw);
  aspect-ratio: 1;
  translate: -50% -46%;
  will-change: transform;
}
.hud__reticle svg { width: 100%; height: 100%; overflow: visible; animation: spin 120s linear infinite; }
.hud__reticle circle, .hud__reticle line {
  fill: none;
  stroke: rgba(142, 182, 155, .2);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.hud__reticle .dash { stroke-dasharray: 2 8; stroke: rgba(142, 182, 155, .16); }
@keyframes spin { to { transform: rotate(360deg); } }

.hud__meta {
  position: absolute;
  color: var(--accent-muted);
  opacity: .8;
  will-change: transform;
}
.hud__meta--tl { top: 104px; left: var(--gutter); }
.hud__meta--tr { top: 104px; right: var(--gutter); }
.hud__meta--bl { bottom: 32px; left: var(--gutter); }
.hud__meta--br { bottom: 32px; right: var(--gutter); font-variant-numeric: tabular-nums; }
.hud__meta--br span { color: var(--text-primary); }

/* Portrait */
/* hero-portrait-cutout.webp is a tight, transparent crop of the subject.
   The box uses the cutout's aspect ratio (--portrait-ar). */
.hero {
  /* shared geometry: the portrait and the "behind" text use the same box */
  --portrait-ar: 0.7936; /* cutout is 1111 × 1400 */
  --portrait-h: min(84%, 120vw);
  --portrait-bottom: 5%;
}
.portrait {
  position: absolute;
  left: 50%; bottom: var(--portrait-bottom);
  z-index: 2;
  height: var(--portrait-h);
  aspect-ratio: var(--portrait-ar);
  translate: -50% 0;
  perspective: 1200px;
  pointer-events: none;
}
.portrait__tilt {
  position: relative;
  width: 100%; height: 100%;
  transform-style: preserve-3d;
  will-change: transform;
  /* blend the shoulders into the canvas */
  -webkit-mask-image: linear-gradient(to bottom, #000 64%, transparent 98%);
  mask-image: linear-gradient(to bottom, #000 64%, transparent 98%);
}
.portrait__cutout {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 30px 60px rgba(2, 14, 14, .55));
}
.portrait__fallback {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 36% bottom;
}
/* Only if the cutout file is missing: framed photo, edges faded */
html.no-cutout .portrait__cutout { display: none; }
html.no-cutout .portrait__fallback { display: block; }
html.no-cutout .portrait__tilt {
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 45%, #000 45%, transparent 100%);
  mask-image: radial-gradient(ellipse 60% 70% at 50% 45%, #000 45%, transparent 100%);
}

/* "we fix | it in" — serif words framing the head, inner letters tucked behind it.
   Lives in the same box as the portrait, so it stays locked to the head at any size. */
.hero__behind {
  position: absolute;
  left: 50%; bottom: var(--portrait-bottom);
  height: var(--portrait-h);
  aspect-ratio: var(--portrait-ar);
  translate: -50% 0;
  z-index: 1;
  container-type: size;
  pointer-events: none;
  will-change: transform;
}
.hero__behind .hero__kicker {
  position: absolute;
  inset: 0;
  margin: 0;
  font-size: 15cqh;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--text-primary);
  will-change: transform;
}
.kw {
  position: absolute;
  top: 24%;              /* forehead → eye line */
  white-space: nowrap;
  text-shadow: 0 0 60px rgba(142, 182, 155, .25);
}
.kw--l { right: 61%; }   /* ends just behind the back of the head */
.kw--r { left: 89.5%; }    /* starts just behind the face profile */

/* Typography */
.hero__type {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 3;
  padding: 0 var(--gutter) clamp(40px, 6vh, 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  pointer-events: none;
}
.hero__title {
  margin: 0;
  font-weight: 800;
  font-size: clamp(80px, min(21vw, 21vh), 340px);
  line-height: .82;
  letter-spacing: -.07em;
  color: var(--text-primary);
  display: flex;
  align-items: flex-end;
  text-shadow: 0 20px 80px rgba(5, 31, 32, .6);
}
.hero__title--long { font-size: clamp(64px, 15vw, 260px); letter-spacing: -.05em; }
.split { display: inline-flex; overflow: hidden; padding-bottom: .04em; }
.split .ch { display: inline-block; will-change: transform; }
.reveal-line { display: inline-block; overflow: hidden; padding: 0 .08em .1em; }
.reveal-line > span { display: inline-block; }

.dot {
  color: var(--text-primary);
  text-shadow:
    0 0 18px rgba(218, 241, 222, .85),
    0 0 60px rgba(142, 182, 155, .6),
    0 0 120px rgba(142, 182, 155, .35);
  animation: dotPulse 3.6s ease-in-out infinite;
}
@keyframes dotPulse { 50% { opacity: .72; } }

.hero__tags {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  color: var(--accent-muted);
}
.hero__tags li {
  padding: 7px 12px;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  background: rgba(5, 31, 32, .45);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.hero__scroll {
  position: absolute;
  left: 50%; bottom: 24px;
  z-index: 4;
  translate: -50% 0;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--accent-muted);
}
.hero__scroll i {
  width: 1px; height: 28px;
  background: linear-gradient(var(--accent-muted), transparent);
  animation: drip 2s var(--ease) infinite;
  transform-origin: top;
}
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about__grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(40px, 8vw, 120px);
  align-items: start;
}
.manifesto {
  margin: 0 0 64px;
  font-size: clamp(32px, 4.4vw, 64px);
  line-height: 1.04;
  letter-spacing: -.035em;
  font-weight: 700;
  color: var(--border-solid);
}
.manifesto .w { display: inline-block; color: var(--border-solid); will-change: color; }
.manifesto .w.serif-w { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }

.portrait-card {
  position: relative;
  margin: 0;
  max-width: 380px;
  padding: 10px;
  border-radius: var(--radius-lg);
  background: var(--bg-glass);
  border: 1px solid var(--border-solid);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.portrait-card__frame {
  aspect-ratio: 4 / 5;
  border-radius: calc(var(--radius-lg) - 8px);
  overflow: hidden;
  background: radial-gradient(80% 60% at 50% 30%, #163832, var(--bg-surface));
}
.portrait-card__frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 1.2s var(--ease);
}
.portrait-card__frame img.is-cutout { object-position: 36% bottom; }
.portrait-card:hover .portrait-card__frame img { transform: scale(1.0); }
.portrait-card figcaption { color: var(--accent-muted); padding: 14px 6px 4px; }

.about__right { padding-top: 52px; }
.bio {
  margin: 0 0 56px;
  color: var(--accent-muted);
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.7;
  font-weight: 300;
}
.stats { display: grid; gap: 0; border-top: 1px solid var(--border-subtle); }
.stat {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.stat__value {
  font-size: clamp(40px, 4.6vw, 64px);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.stat__label {
  color: var(--accent-muted);
  font-size: 14px;
  text-align: right;
  max-width: 180px;
}

/* Capability cards */
.caps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 120px;
}
.cap {
  position: relative;
  padding: 36px 32px 40px;
  min-height: 300px;
  border-radius: var(--radius-lg);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.cap__num { color: var(--accent-muted); margin-bottom: auto; }
.cap h3 {
  margin: 72px 0 14px;
  font-size: 24px;
  letter-spacing: -.025em;
  font-weight: 600;
  line-height: 1.15;
}
.cap p { margin: 0; color: var(--accent-muted); font-size: 15px; line-height: 1.65; font-weight: 300; }

/* Cursor spotlight (shared) */
.spotlight { --sx: 50%; --sy: 50%; }
.spotlight::before,
.spotlight::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity .5s var(--ease);
}
.spotlight::before {
  background: radial-gradient(420px circle at var(--sx) var(--sy), rgba(142, 182, 155, .10), transparent 60%);
  z-index: 0;
}
.spotlight::after {
  padding: 1px;
  background: radial-gradient(300px circle at var(--sx) var(--sy), rgba(142, 182, 155, .75), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  z-index: 3;
}
.spotlight:hover::before, .spotlight:hover::after { opacity: 1; }
.spotlight > * { position: relative; z-index: 1; }

/* ==========================================================================
   WORK
   ========================================================================== */
.work__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.filters {
  position: relative;
  display: inline-flex;
  padding: 5px;
  gap: 2px;
  border-radius: 999px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.filters::-webkit-scrollbar { display: none; }
.filters__pill {
  position: absolute;
  top: 5px; left: 0;
  height: calc(100% - 10px);
  width: 0;
  border-radius: 999px;
  background: var(--text-primary);
  will-change: transform, width;
}
.filter {
  position: relative;
  z-index: 1;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  color: var(--accent-muted);
  transition: color .45s var(--ease);
}
.filter:hover { color: var(--text-primary); }
.filter.is-active { color: var(--bg-canvas); }

.work__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  align-items: start;
}
.work-card {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: left;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border-solid);
  padding: 10px;
  isolation: isolate;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
  box-shadow: 0 30px 80px -40px rgba(142, 182, 155, .12);
}
.work-card--reel { grid-column: span 2; }
.work-card--long { grid-column: span 3; }
.work-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 40px 120px -30px rgba(142, 182, 155, .35), 0 0 0 1px rgba(142, 182, 155, .2);
}
.work-card__media {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius-lg) - 8px);
  background: radial-gradient(70% 60% at 50% 40%, #163832, var(--bg-canvas));
}
.work-card--reel .work-card__media { aspect-ratio: 9 / 16; }
.work-card--long .work-card__media { aspect-ratio: 16 / 9; }
.work-card__media video {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .78;
  transform: scale(1.04);
  transition: opacity .6s var(--ease), transform 1.2s var(--ease);
}
.work-card:hover .work-card__media video { opacity: 1; transform: scale(1); }
.work-card__play {
  position: absolute;
  top: 14px; left: 14px;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(5, 31, 32, .5);
  border: 1px solid var(--border-subtle);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: transform .5s var(--ease), background .4s;
}
.work-card__play svg { width: 14px; height: 14px; fill: var(--text-primary); margin-left: 2px; }
.work-card:hover .work-card__play { transform: scale(1.12); background: rgba(218, 241, 222, .16); }
.work-card__info {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 16px;
  row-gap: 6px;
  padding: 18px 10px 10px;
}
.work-card__tag { color: var(--accent-muted); grid-column: 1; }
.work-card__title { font-size: 17px; font-weight: 600; letter-spacing: -.015em; grid-column: 1; }
.work-card__arrow {
  grid-column: 2; grid-row: 1 / span 2;
  align-self: center;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  font-size: 16px;
  overflow: hidden;
  transition: background .4s var(--ease), color .4s var(--ease), transform .5s var(--ease);
}
.work-card:hover .work-card__arrow {
  background: var(--text-primary);
  color: var(--bg-canvas);
  transform: rotate(45deg);
}

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */
.lightbox {
  position: fixed; inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox__backdrop {
  position: absolute; inset: 0;
  background: rgba(5, 31, 32, .72);
  -webkit-backdrop-filter: blur(22px) saturate(130%);
  backdrop-filter: blur(22px) saturate(130%);
}
.lightbox__panel {
  position: relative;
  width: min(1100px, 100%);
  max-height: calc(100vh - 48px);
  display: flex;
  flex-direction: column;
  padding: 10px;
  border-radius: var(--radius-lg);
  background: var(--bg-glass);
  border: 1px solid var(--border-solid);
  box-shadow: 0 60px 160px -40px rgba(0, 0, 0, .7), 0 0 120px -40px rgba(142, 182, 155, .3);
}
.lightbox.is-vertical .lightbox__panel { width: min(440px, 100%); }
.lightbox__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 8px 14px 10px;
  color: var(--accent-muted);
}
.lightbox__close {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  font-size: 13px;
  color: var(--text-primary);
  transition: background .3s, transform .4s var(--ease);
}
.lightbox__close:hover { background: rgba(218, 241, 222, .1); transform: rotate(90deg); }
.lightbox__stage {
  position: relative;
  border-radius: calc(var(--radius-lg) - 8px);
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9;
}
.lightbox.is-vertical .lightbox__stage { aspect-ratio: 9 / 16; max-height: calc(100vh - 140px); margin: 0 auto; width: 100%; }
.lightbox__stage video, .lightbox__stage iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  object-fit: contain;
  background: #000;
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact {
  position: relative;
  min-height: 100vh;
  padding: 160px 0 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
}
.contact__bg { position: absolute; inset: 0; z-index: -1; }
.contact__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: bottom center;
  transition: opacity 1.2s var(--ease);
}
.contact__video.is-failed { opacity: 0; }
.contact__fade {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, #051F20 0%, rgba(5, 31, 32, .85) 25%, rgba(5, 31, 32, .3) 60%, rgba(5, 31, 32, .55) 100%);
}
.contact__horizon-fallback {
  position: absolute;
  left: -20%; right: -20%;
  bottom: -40%;
  height: 90%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 0%, rgba(218, 241, 222, .55) 0%, rgba(142, 182, 155, .35) 12%, rgba(35, 83, 71, .35) 35%, transparent 65%);
  filter: blur(20px);
  animation: horizon 8s ease-in-out infinite;
}
@keyframes horizon { 50% { opacity: .65; transform: scaleX(1.05); } }

.contact__inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.contact__title {
  margin: 0;
  max-width: 1000px;
  font-size: clamp(44px, 7vw, 108px);
  line-height: .98;
  letter-spacing: -.045em;
  font-weight: 700;
}
.contact__title .serif { display: block; font-weight: 400; letter-spacing: -.02em; color: var(--text-primary); text-wrap: balance; }
.contact__title strong { font-weight: 800; letter-spacing: -.06em; }
.contact__sub {
  max-width: 560px;
  margin: 32px auto 44px;
  color: var(--accent-muted);
  font-size: 17px;
  font-weight: 300;
}
.contact__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.contact__actions .btn { height: 54px; padding: 0 28px; font-size: 15px; }

.inquiry {
  width: min(640px, 100%);
  margin-top: 32px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-glass);
  border: 1px solid var(--border-solid);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  text-align: left;
  display: grid;
  gap: 18px;
}
.inquiry[hidden] { display: none; }
.inquiry__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.inquiry label { display: grid; gap: 8px; }
.inquiry label > span { color: var(--accent-muted); }
.inquiry input, .inquiry select, .inquiry textarea {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: var(--text-primary);
  background: rgba(5, 31, 32, .55);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 13px 14px;
  outline: none;
  transition: border-color .3s, background .3s;
  resize: vertical;
  appearance: none;
  -webkit-appearance: none;
}
.inquiry select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238EB69B' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.inquiry select option { background: var(--bg-surface); color: var(--text-primary); }
.inquiry input::placeholder, .inquiry textarea::placeholder { color: rgba(142, 182, 155, .5); }
.inquiry input:focus, .inquiry select:focus, .inquiry textarea:focus { border-color: var(--accent-muted); background: rgba(5, 31, 32, .75); }
.inquiry .is-invalid { border-color: #d98b8b; }
.inquiry__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.inquiry__note { color: var(--accent-muted); }

/* Footer */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 120px;
  padding-bottom: 28px;
  color: var(--accent-muted);
}
.footer__left { display: flex; gap: 20px; flex-wrap: wrap; text-transform: none; letter-spacing: .06em; }
.footer__time time { color: var(--text-primary); font-variant-numeric: tabular-nums; }
.footer__right { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.pill-muted {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(5, 31, 32, .5);
  letter-spacing: .08em;
}
.footer__social { display: flex; gap: 18px; }
.footer__social a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-muted);
  transition: color .3s;
}
.footer__social a:hover { color: var(--text-primary); }

/* Toast */
.toast {
  position: fixed;
  left: 50%; bottom: 28px;
  z-index: 600;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--text-primary);
  color: var(--bg-canvas);
  font-weight: 500;
  box-shadow: 0 20px 60px -10px rgba(0, 0, 0, .5);
  transform: translate(-50%, 140%);
  opacity: 0;
  transition: transform .5s var(--ease), opacity .4s;
  pointer-events: none;
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

/* Pre-animation states (only when JS + motion are on) */
html.js-motion .hero__title .ch,
html.js-motion .hero__kicker .reveal-line > span { transform: translateY(110%); }
html.js-motion .hero__tags li { opacity: 0; }
html.js-motion .hud { opacity: 0; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__right { padding-top: 0; }
  .caps { grid-template-columns: 1fr; margin-top: 80px; }
  .cap { min-height: 0; }
  .cap h3 { margin-top: 40px; }
  .work-card--reel { grid-column: span 3; }
  .work-card--long { grid-column: span 6; }
}

@media (max-width: 760px) {
  .section { padding: 100px 0; }
  .nav { grid-template-columns: 1fr auto; padding-left: 20px; }
  .nav__links { display: none; }
  .nav__cta { height: 38px; padding: 0 16px; font-size: 12px; }
  .hud__meta--tl, .hud__meta--tr { top: 84px; }
  .hud__meta--bl { display: none; }
  .hero__tags { margin-top: 20px; }
  .hero__tags li { padding: 6px 10px; font-size: 10px; }
  .hero__type { padding-bottom: 40px; }
  /* phones: one line across the top of the head, hair overlapping the letters */
  .hero__behind .hero__kicker {
    display: flex;
    justify-content: center;
    gap: .25em;
    font-size: 13.5cqh;
  }
  .kw { position: relative; top: -8%; left: auto; right: auto; height: max-content; }
  .hud__meta--br { bottom: 24px; display: none; }
  .manifesto { margin-bottom: 48px; }
  .portrait-card { max-width: 100%; }
  .stat { flex-direction: column; align-items: flex-start; gap: 8px; }
  .stat__label { text-align: left; max-width: none; }
  .work__grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .work-card--reel { grid-column: span 1; }
  .work-card--long { grid-column: span 2; }
  .work-card__title { font-size: 14px; }
  .work-card__arrow { display: none; }
  .work-card__info { padding: 14px 6px 6px; }
  .inquiry__row { grid-template-columns: 1fr; }
  .inquiry { padding: 20px; }
  .contact { padding-top: 120px; }
  .footer { padding-top: 80px; flex-direction: column; align-items: flex-start; }
  .footer__left { flex-direction: column; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
