/* ==========================================================================
   Kiran Subhesh — Precision in Motion
   ========================================================================== */

:root {
  --obsidian: #0B0B0C;
  --charcoal: #17191C;
  --charcoal-2: #22252A;
  --gold: #C6A66B;
  --gold-soft: rgba(198, 166, 107, .14);
  --ivory: #F2EFE8;
  --ivory-60: rgba(242, 239, 232, .6);
  --ivory-30: rgba(242, 239, 232, .3);
  --ivory-12: rgba(242, 239, 232, .12);
  --rec: #D9412B;

  --f-display: "Fraunces", "Times New Roman", serif;
  --f-sans: "Inter Tight", system-ui, -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  --gutter: clamp(16px, 4vw, 64px);
  --section: clamp(96px, 16vh, 200px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--obsidian);
  color: var(--ivory);
  font-family: var(--f-sans);
  font-size: clamp(1rem, 1.1vw, 1.125rem);
  line-height: 1.6;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
b { font-weight: 500; color: var(--ivory); }
em { font-style: italic; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, blockquote, dl, dd { margin: 0; }
::selection { background: var(--gold); color: var(--obsidian); }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }

.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding-inline: var(--gutter); }
.mono { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 400; }
.gold { color: var(--gold); }
.display { font-family: var(--f-display); font-weight: 300; letter-spacing: -.035em; line-height: .95; font-variation-settings: "opsz" 144; }
.display em { color: var(--gold); font-weight: 300; }
.label { color: var(--gold); margin-bottom: clamp(24px, 4vh, 48px); }
.h2 { font-size: clamp(2.25rem, 5.4vw, 5rem); max-width: 14ch; }
.line { display: block; overflow: hidden; padding-bottom: .06em; }
.split-chars .char, .split-word { display: inline-block; will-change: transform; }

.hairline { height: 1px; background: var(--gold); opacity: .5; transform-origin: left; }
.hairline--short { width: 64px; opacity: 1; }

/* ---------- Grain ---------- */
.grain {
  position: fixed; inset: -100%; z-index: 90; pointer-events: none;
  width: 300%; height: 300%;
  opacity: .065; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-5%, 3%); } 40% { transform: translate(3%, -6%); }
  60% { transform: translate(-7%, -2%); } 80% { transform: translate(6%, 5%); } 100% { transform: translate(0, 0); }
}

/* ---------- Progress ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 1px; z-index: 80; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }

/* ---------- Cursor ---------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 100; pointer-events: none; display: none; opacity: 0; transition: opacity .4s; }
.cursor.is-active { opacity: 1; }
.cursor__dot, .cursor__ring { position: fixed; top: 0; left: 0; border-radius: 50%; transform: translate(-50%, -50%); }
.cursor__dot { width: 6px; height: 6px; background: var(--ivory); mix-blend-mode: difference; }
.cursor__ring {
  width: 36px; height: 36px; border: 1px solid rgba(198, 166, 107, .7);
  display: grid; place-items: center;
  transition: width .5s var(--ease), height .5s var(--ease), background .4s, border-color .4s;
}
.cursor__label { font-style: normal; font-family: var(--f-mono); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--obsidian); opacity: 0; transition: opacity .3s; }
.cursor.is-hover .cursor__ring { width: 56px; height: 56px; background: var(--gold-soft); }
.cursor.is-label .cursor__ring { width: 88px; height: 88px; background: var(--gold); border-color: var(--gold); }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-label .cursor__dot { opacity: 0; }
@media (hover: hover) and (pointer: fine) {
  .has-cursor .cursor { display: block; }
  .has-cursor, .has-cursor a, .has-cursor button { cursor: none; }
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 200; background: var(--obsidian);
  display: grid; place-items: center; padding: var(--gutter);
}
.preloader__inner { width: min(560px, 100%); }
.preloader__meta { display: flex; justify-content: space-between; color: var(--ivory-60); margin-bottom: 14px; }
.preloader__count { color: var(--gold); font-variant-numeric: tabular-nums; }
.preloader__line { height: 1px; background: var(--ivory-12); overflow: hidden; }
.preloader__line span { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.preloader__name {
  margin-top: 28px; overflow: hidden;
  font-family: var(--f-display); font-weight: 300; font-size: clamp(2.2rem, 7vw, 4.5rem); letter-spacing: -.03em; line-height: 1.05;
}
.preloader__name .char { transform: translateY(110%); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: .7em;
  min-height: 48px; padding: 0 1.6em; border-radius: 999px;
  font-family: var(--f-sans); font-size: .95rem; font-weight: 500; letter-spacing: .01em;
  border: 1px solid transparent; background: none; color: inherit; cursor: pointer;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
  white-space: nowrap;
}
.btn span { transition: transform .4s var(--ease); }
.btn:hover span { transform: translateX(4px); }
.btn--pill { min-height: 42px; border-color: rgba(198, 166, 107, .55); font-size: .88rem; }
.btn--pill:hover { background: var(--gold); color: var(--obsidian); }
.btn__dot { width: 6px; height: 6px; border-radius: 50%; background: #3DDC84; box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); animation: ping 2.4s infinite; }
.btn--pill:hover .btn__dot { transform: none; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, .55); } 70%, 100% { box-shadow: 0 0 0 8px rgba(61, 220, 132, 0); } }
.btn--gold { background: var(--gold); color: var(--obsidian); }
.btn--gold:hover { background: var(--ivory); }
.btn--outline { border-color: var(--ivory-30); }
.btn--outline:hover { border-color: var(--gold); color: var(--gold); }
.btn--lg { min-height: 60px; padding: 0 2em; font-size: 1.02rem; }
.link-arrow { display: inline-flex; gap: .6em; align-items: center; color: var(--ivory-60); border-bottom: 1px solid var(--ivory-12); padding: 6px 0; transition: color .3s, border-color .3s; }
.link-arrow:hover { color: var(--ivory); border-color: var(--gold); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 70;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--gutter);
  transition: transform .6s var(--ease), background .4s;
}
.nav.is-scrolled { background: linear-gradient(to bottom, rgba(11, 11, 12, .85), rgba(11, 11, 12, 0)); }
.nav.is-hidden { transform: translateY(-110%); }
.nav__logo { font-family: var(--f-display); font-size: 1.6rem; letter-spacing: -.04em; font-weight: 400; }
.nav__logo span { color: var(--gold); font-style: italic; }
.nav__links { display: flex; gap: clamp(18px, 2.4vw, 40px); margin-left: auto; margin-right: 12px; }
.nav__links a { position: relative; font-size: .9rem; color: var(--ivory-60); transition: color .3s; }
.nav__links a::after { content: ""; position: absolute; left: 50%; bottom: -8px; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); transform: translateX(-50%) scale(0); transition: transform .4s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { color: var(--ivory); }
.nav__links a.is-active::after { transform: translateX(-50%) scale(1); }
.nav__burger { display: none; width: 44px; height: 44px; background: none; border: 0; padding: 0; position: relative; color: var(--ivory); }
.nav__burger span { position: absolute; left: 10px; right: 10px; height: 1px; background: currentColor; transition: transform .5s var(--ease); }
.nav__burger span:first-child { top: 18px; } .nav__burger span:last-child { top: 26px; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 65; background: var(--obsidian);
  display: flex; flex-direction: column; justify-content: center; gap: 48px; padding: 96px var(--gutter) 48px;
  clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease); visibility: hidden;
}
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
.menu__links { display: flex; flex-direction: column; gap: 8px; }
.menu__links a { font-family: var(--f-display); font-size: clamp(2.4rem, 11vw, 4rem); font-weight: 300; letter-spacing: -.03em; line-height: 1.1; display: flex; align-items: baseline; gap: 16px; }
.menu__links em { color: var(--gold); font-style: normal; }
.menu .btn { align-self: flex-start; }

.sticky-talk {
  position: fixed; right: 16px; bottom: 16px; z-index: 60;
  display: none; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 20px 0 16px; border-radius: 999px;
  background: var(--gold); color: var(--obsidian); font-weight: 500; font-size: .95rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .45);
  transform: translateY(140%); transition: transform .6s var(--ease);
}
.sticky-talk svg { width: 20px; height: 20px; }
.sticky-talk.is-visible { transform: none; }

/* ---------- Media placeholders (shown until videos/images exist) ---------- */
.media { position: absolute; inset: 0; overflow: hidden; background: var(--charcoal); }
.media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s var(--ease); }
.media video.is-ready { opacity: 1; }
.media.has-video::before, .media.has-video::after { display: none; }
.media::before { content: ""; position: absolute; inset: -10%; animation: drift 18s ease-in-out infinite alternate; }
.media--intro::before {
  background:
    radial-gradient(60% 45% at 78% 62%, rgba(232, 168, 92, .55), transparent 70%),
    radial-gradient(35% 25% at 82% 60%, rgba(255, 214, 150, .45), transparent 70%),
    linear-gradient(180deg, #0B0B0C 0%, #1b1712 45%, #3a2a18 72%, #120f0b 100%);
}
.media--intro::after { /* skyline silhouette */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 46%;
  background: #0B0B0C;
  clip-path: polygon(0 70%, 6% 70%, 6% 55%, 9% 55%, 9% 62%, 14% 62%, 14% 40%, 16% 40%, 16% 30%, 18% 40%, 20% 40%, 20% 58%, 26% 58%, 26% 48%, 30% 48%, 30% 64%, 37% 64%, 37% 52%, 40% 52%, 40% 66%, 47% 66%, 47% 44%, 49% 44%, 49.6% 6%, 50.2% 44%, 52% 44%, 52% 60%, 58% 60%, 58% 50%, 62% 50%, 62% 36%, 64% 36%, 64% 56%, 71% 56%, 71% 46%, 75% 46%, 75% 62%, 82% 62%, 82% 54%, 86% 54%, 86% 66%, 92% 66%, 92% 58%, 96% 58%, 96% 70%, 100% 70%, 100% 100%, 0 100%);
  opacity: .92;
}
.media--pro::before {
  background:
    radial-gradient(40% 30% at 20% 70%, rgba(198, 166, 107, .28), transparent 70%),
    radial-gradient(50% 40% at 80% 30%, rgba(70, 96, 140, .35), transparent 70%),
    repeating-linear-gradient(90deg, transparent 0 11%, rgba(242, 239, 232, .035) 11% 11.2%),
    linear-gradient(180deg, #0d1016 0%, #141922 55%, #0B0B0C 100%);
}
.media--creative::before {
  background:
    radial-gradient(40% 35% at 62% 45%, rgba(255, 150, 60, .45), transparent 70%),
    radial-gradient(60% 50% at 30% 75%, rgba(196, 52, 30, .4), transparent 70%),
    linear-gradient(180deg, #120a07 0%, #1d0f09 55%, #0B0B0C 100%);
}
@keyframes drift { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.08) translate(-2%, -1%); } }

.vignette { position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 40%, transparent 40%, rgba(11, 11, 12, .75) 100%), linear-gradient(to top, rgba(11, 11, 12, .9), transparent 45%); pointer-events: none; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; display: flex; align-items: flex-end; }
.hero__media { will-change: transform; }
.hero__media .vignette { background: linear-gradient(90deg, rgba(11, 11, 12, .78) 0%, rgba(11, 11, 12, .35) 45%, transparent 70%), radial-gradient(120% 90% at 50% 40%, transparent 40%, rgba(11, 11, 12, .7) 100%), linear-gradient(to top, rgba(11, 11, 12, .95), transparent 50%); }
.letterbox { position: absolute; left: 0; right: 0; height: 50%; background: var(--obsidian); z-index: 3; }
.letterbox--top { top: 0; transform-origin: top; }
.letterbox--bottom { bottom: 0; transform-origin: bottom; }
.hero__corner { position: absolute; z-index: 4; color: var(--ivory-60); }
.hero__corner--tl { top: 92px; left: var(--gutter); }
.hero__corner--tr { top: 92px; right: var(--gutter); }
.hero__corner--bl { bottom: 28px; left: var(--gutter); display: flex; align-items: center; gap: 12px; }
.hero__corner--br { bottom: 28px; right: var(--gutter); }
.hero__corner--br span { color: var(--gold); }
.scroll-cue { width: 1px; height: 32px; background: var(--ivory-12); position: relative; overflow: hidden; }
.scroll-cue::after { content: ""; position: absolute; left: 0; top: -50%; width: 100%; height: 50%; background: var(--gold); animation: cue 2s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }

.hero__content { position: relative; z-index: 2; padding-bottom: clamp(80px, 12vh, 140px); }
.hero__eyebrow { color: var(--gold); margin-bottom: clamp(16px, 3vh, 32px); }
.hero__title { font-size: clamp(3.5rem, 14.5vw, 15rem); line-height: .86; letter-spacing: -.045em; }
.hero__title .line--indent { padding-left: clamp(0px, 12vw, 220px); }
.hero__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-top: clamp(24px, 4vh, 48px); flex-wrap: wrap; }
.hero__sub { max-width: 34ch; font-size: clamp(1.05rem, 1.5vw, 1.35rem); color: var(--ivory-60); line-height: 1.45; }
.hero__ctas { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }

/* ---------- Stats ---------- */
.stats { padding: 0; overflow: hidden; }
.marquee { overflow: hidden; padding: clamp(28px, 5vh, 48px) 0; }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; align-items: center; gap: clamp(32px, 4vw, 72px); padding-right: clamp(32px, 4vw, 72px); }
.marquee__group i { color: var(--gold); font-style: normal; font-size: .7rem; }
.stat { display: flex; align-items: baseline; gap: .2em; white-space: nowrap; }
.stat__num { font-family: var(--f-display); font-weight: 300; font-size: clamp(3rem, 7vw, 6.5rem); letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat__plus { font-family: var(--f-display); color: var(--gold); font-size: clamp(2rem, 4vw, 3.5rem); }
.stat__label { color: var(--ivory-60); margin-left: 1.2em; max-width: 18ch; white-space: normal; line-height: 1.5; }

/* ---------- Mission ---------- */
.mission { padding-block: var(--section); }
.mission__text { font-family: var(--f-display); font-weight: 300; font-size: clamp(1.9rem, 4.6vw, 4.6rem); line-height: 1.08; letter-spacing: -.03em; max-width: 22ch; }
.mission__text b { font-weight: 300; font-style: italic; color: var(--gold); }
.kinetic .split-word { opacity: .12; }
.mission__foot { margin-top: clamp(40px, 8vh, 80px); display: flex; gap: 24px; align-items: center; color: var(--ivory-60); max-width: 560px; }
.mission__foot .hairline { flex: 0 0 64px; }

/* ---------- Pillars ---------- */
.pillars { position: relative; padding-top: var(--section); }
.pillars__pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.pillars__head { margin-bottom: clamp(40px, 7vh, 80px); }
.pillars__track { display: flex; gap: clamp(16px, 2vw, 32px); padding-inline: var(--gutter); width: max-content; will-change: transform; }
.card {
  position: relative; width: min(520px, 80vw); min-height: clamp(440px, 62vh, 600px);
  padding: clamp(28px, 3vw, 44px); background: var(--charcoal); border-radius: 2px;
  display: flex; flex-direction: column; gap: 20px; overflow: hidden;
  transition: transform .6s var(--ease), background .4s;
}
.card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--gold); transform: scaleX(var(--line, 0)); transform-origin: left; transition: transform 1.2s var(--ease); }
.card.is-in::before { --line: 1; }
.glow::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), var(--gold-soft), transparent 60%); opacity: 0; transition: opacity .4s; }
.glow:hover::after { opacity: 1; }
.card:hover { transform: translateY(-8px); background: #1b1d21; }
.card__top { display: flex; justify-content: space-between; align-items: flex-start; }
.card__num { font-size: clamp(5rem, 9vw, 8.5rem); line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(198, 166, 107, .6); }
.card__tag { color: var(--ivory-60); }
.card__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.6rem, 2.3vw, 2.2rem); letter-spacing: -.02em; line-height: 1.08; margin-top: auto; }
.card p { color: var(--ivory-60); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: .62rem; padding: 6px 10px; border: 1px solid var(--ivory-12); border-radius: 999px; color: var(--ivory-60); letter-spacing: .14em; }

/* ---------- Acts (pinned video) ---------- */
.act { position: relative; margin-top: var(--section); }
.act__pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.act__frame { clip-path: inset(var(--lb, 21%) var(--side, 8%) var(--lb, 21%) var(--side, 8%)); will-change: clip-path; }
.act__frame video, .act__frame::before { transform: scale(var(--zoom, 1.12)); }
.act__hud { position: absolute; inset: 0; z-index: 3; pointer-events: none; color: var(--ivory-60); }
.act__hud .hud-tl { position: absolute; top: 96px; left: var(--gutter); }
.act__hud .hud-tr { position: absolute; top: 96px; right: var(--gutter); }
.dispatch { position: absolute; bottom: 32px; left: var(--gutter); right: var(--gutter); display: flex; align-items: center; gap: 16px; }
.dispatch__bar { flex: 1; height: 1px; background: var(--ivory-12); position: relative; }
.dispatch__bar span { position: absolute; inset: 0; background: var(--gold); transform: scaleX(var(--p, 0)); transform-origin: left; }
.dispatch__bar span::after { content: ""; position: absolute; right: -4px; top: -3.5px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

.act__captions { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; padding: var(--gutter); pointer-events: none; }
.act__captions::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 45% at 50% 50%, rgba(11, 11, 12, .55), transparent 75%); }
.caption { grid-area: 1 / 1; text-align: center; font-size: clamp(2.4rem, 7vw, 7rem); line-height: .95; opacity: 0; max-width: 14ch; text-shadow: 0 2px 24px rgba(0, 0, 0, .7), 0 0 2px rgba(0, 0, 0, .4); position: relative; }
.caption--title { max-width: none; }
.caption--title p { margin-bottom: 20px; font-size: .75rem; }
.caption--title h2 { font-size: clamp(3rem, 10vw, 10rem); line-height: .88; }

/* viewfinder */
.viewfinder { position: absolute; inset: clamp(72px, 12vh, 120px) var(--gutter) clamp(56px, 9vh, 96px); z-index: 3; pointer-events: none; }
.vf { position: absolute; width: 36px; height: 36px; border: 0 solid var(--gold); }
.vf--tl { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.vf--tr { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.vf--bl { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.vf--br { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }
.vf__focus { position: absolute; left: 50%; top: 50%; width: 120px; height: 80px; border: 1px solid rgba(242, 239, 232, .5); transform: translate(-50%, -50%) scale(1.6); opacity: 0; }
.vf__top, .vf__bottom { position: absolute; left: 52px; right: 52px; display: flex; justify-content: space-between; color: var(--ivory); opacity: .8; gap: 12px; }
.vf__top { top: 10px; } .vf__bottom { bottom: 10px; }
.vf__top span:first-child { display: flex; align-items: center; gap: 8px; }
.rec { width: 8px; height: 8px; border-radius: 50%; background: var(--rec); animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.shutter { position: absolute; inset: 0; background: var(--ivory); opacity: 0; z-index: 6; pointer-events: none; }

/* ---------- Story ---------- */
.story { padding-block: var(--section); }
.story__head { display: grid; grid-template-columns: 1fr; gap: 32px; margin-bottom: clamp(56px, 10vh, 120px); }
.story__intro { max-width: 58ch; color: var(--ivory-60); font-size: clamp(1.05rem, 1.3vw, 1.2rem); }
.timeline { position: relative; display: grid; gap: clamp(48px, 9vh, 96px); padding-left: clamp(28px, 6vw, 120px); }
.timeline__line { position: absolute; left: clamp(6px, 2vw, 40px); top: 6px; bottom: 6px; width: 1px; background: var(--ivory-12); }
.timeline__line span { position: absolute; inset: 0; background: var(--gold); transform: scaleY(0); transform-origin: top; }
.tl { position: relative; display: grid; grid-template-columns: minmax(150px, 260px) 1fr; gap: clamp(16px, 4vw, 64px); align-items: baseline; }
.tl::before { content: ""; position: absolute; left: calc(-1 * clamp(28px, 6vw, 120px) + clamp(6px, 2vw, 40px) - 4px); top: .7em; width: 9px; height: 9px; border-radius: 50%; background: var(--obsidian); border: 1px solid var(--gold); }
.tl__code { color: var(--gold); }
.tl__title { font-size: clamp(2rem, 4.4vw, 4rem); margin-bottom: 14px; }
.tl p { color: var(--ivory-60); max-width: 52ch; }
.story__quote { margin-top: clamp(80px, 16vh, 180px); font-size: clamp(2rem, 4.8vw, 4.6rem); font-style: italic; line-height: 1.05; max-width: 20ch; }

/* ---------- Capabilities ---------- */
.caps { padding-block: var(--section); }
.caps__grid { display: grid; grid-template-columns: 1fr 1px 1fr; gap: clamp(24px, 5vw, 80px); margin-top: clamp(48px, 8vh, 96px); }
.caps__divider { position: relative; background: var(--ivory-12); }
.caps__divider span { position: absolute; inset: 0; background: var(--gold); transform: scaleY(0); transform-origin: top; }
.caps__head { color: var(--gold); margin-bottom: 20px; }
.caps__col li {
  position: relative; padding: 18px 0; border-bottom: 1px solid var(--ivory-12);
  font-family: var(--f-display); font-weight: 300; font-size: clamp(1.25rem, 2vw, 1.8rem); letter-spacing: -.015em; line-height: 1.2;
  transition: transform .5s var(--ease), color .3s;
}
.caps__col li::before { content: ""; position: absolute; left: -16px; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); transform: translateY(-50%) scale(0); transition: transform .4s var(--ease); }
.caps__col li:hover { transform: translateX(16px); color: var(--gold); }
.caps__col li:hover::before { transform: translateY(-50%) scale(1); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(40px, 7vh, 72px); }
.chips li { padding: 10px 18px; border: 1px solid var(--ivory-12); border-radius: 999px; font-size: .92rem; color: var(--ivory-60); transition: border-color .3s, color .3s; }
.chips li:hover { border-color: var(--gold); color: var(--ivory); }

/* ---------- Work ---------- */
.work { padding-block: var(--section); }
.work__head { margin-bottom: clamp(48px, 8vh, 96px); }
.work__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(20px, 2.4vw, 40px); row-gap: clamp(48px, 8vh, 96px); }
.tile { position: relative; }
.tile--a { grid-column: 1 / span 7; }
.tile--b { grid-column: 9 / span 4; margin-top: 18vh; }
.tile--c { grid-column: 2 / span 4; }
.tile--d { grid-column: 6 / span 7; margin-top: 10vh; }
.tile--e { grid-column: 1 / span 5; }
.tile--f { grid-column: 7 / span 5; margin-top: 14vh; }
.tile__media { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--charcoal); border-radius: 2px; }
.tile--a .tile__media, .tile--d .tile__media { aspect-ratio: 16 / 10; }
.tile__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.12); transition: transform 1.2s var(--ease), opacity .8s; }
.tile__media img.is-loaded { opacity: 1; }
.tile:hover .tile__media img, .tile:hover .tile__media::before { transform: scale(1.04); }
.ph::before { content: ""; position: absolute; inset: 0; transform: scale(1.12); transition: transform 1.2s var(--ease); }
.ph--pro::before { background: radial-gradient(50% 40% at 25% 70%, rgba(198, 166, 107, .32), transparent 70%), repeating-linear-gradient(90deg, transparent 0 9%, rgba(242, 239, 232, .05) 9% 9.3%), linear-gradient(160deg, #141a24, #0B0B0C); }
.ph--vip::before { background: radial-gradient(60% 40% at 50% 30%, rgba(198, 166, 107, .3), transparent 70%), linear-gradient(180deg, #1b1712, #0B0B0C); }
.ph--yard::before { background: radial-gradient(60% 40% at 70% 20%, rgba(170, 190, 210, .22), transparent 70%), repeating-linear-gradient(0deg, transparent 0 14%, rgba(242, 239, 232, .04) 14% 14.4%), linear-gradient(180deg, #161a1f, #0B0B0C); }
.ph--fire::before { background: radial-gradient(50% 40% at 60% 45%, rgba(255, 150, 60, .4), transparent 70%), linear-gradient(180deg, #1d0f09, #0B0B0C); }
.ph--edit::before { background: radial-gradient(40% 30% at 50% 40%, rgba(120, 160, 140, .3), transparent 70%), linear-gradient(180deg, #121417, #0B0B0C); }
.ph--intro::before { background: radial-gradient(50% 40% at 70% 60%, rgba(232, 168, 92, .45), transparent 70%), linear-gradient(180deg, #1b1712, #3a2a18 70%, #0B0B0C); }
.tile__cat { color: var(--gold); margin-top: 20px; }
.tile__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.4rem, 2.2vw, 2.1rem); letter-spacing: -.02em; margin-top: 8px; line-height: 1.1; }
.tile__meta { color: var(--ivory-60); font-size: .95rem; margin-top: 4px; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; padding-block: var(--section); isolation: isolate; }
.cta__bg { z-index: -2; opacity: .35; }
.cta__bg::after { opacity: .6; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--obsidian), rgba(11, 11, 12, .55) 40%, var(--obsidian)); }
.cta__glow { position: absolute; z-index: -1; width: 700px; height: 700px; left: 0; top: 0; border-radius: 50%; background: radial-gradient(circle, rgba(198, 166, 107, .16), transparent 65%); transform: translate(-50%, -50%); pointer-events: none; }
.cta__title { font-size: clamp(3.4rem, 12.5vw, 13rem); line-height: .86; letter-spacing: -.045em; }
.cta__title .line:nth-child(2) { padding-left: clamp(0px, 14vw, 260px); }
.cta__line { display: inline-block; }
.cta__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); margin-top: clamp(56px, 10vh, 120px); align-items: start; }
.cta__sub { font-size: clamp(1.1rem, 1.5vw, 1.35rem); color: var(--ivory-60); max-width: 36ch; margin-bottom: 32px; line-height: 1.45; }
.contact-info { margin-top: 48px; display: grid; gap: 0; border-top: 1px solid var(--ivory-12); }
.contact-info > div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--ivory-12); align-items: baseline; }
.contact-info dt { color: var(--gold); }
.contact-info dd { overflow-wrap: anywhere; }
.contact-info a { transition: color .3s; }
.contact-info a:hover { color: var(--gold); }

.form { display: grid; gap: 8px; }
.field { position: relative; }
.field input, .field textarea, .field select {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--ivory-30); border-radius: 0;
  color: var(--ivory); font: inherit; font-size: 1.05rem; padding: 28px 0 12px; outline: none; resize: vertical;
  transition: border-color .3s; -webkit-appearance: none; appearance: none;
}
.field select { cursor: pointer; }
.field--select::after { content: "↓"; position: absolute; right: 0; bottom: 14px; color: var(--ivory-60); pointer-events: none; }
.field select option { background: var(--charcoal); color: var(--ivory); }
.field label { position: absolute; left: 0; top: 28px; color: var(--ivory-60); pointer-events: none; transform-origin: left; transition: transform .4s var(--ease), color .3s; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select:focus + label, .field select:valid + label { transform: translateY(-22px) scale(.78); color: var(--gold); }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select { border-color: var(--rec); }
.form .btn { justify-self: start; margin-top: 24px; }
.form__note { color: var(--ivory-60); margin-top: 12px; }
.form__note.is-success { color: var(--gold); }

/* ---------- Footer ---------- */
.footer { padding-top: var(--section); border-top: 1px solid var(--ivory-12); overflow: hidden; }
.footer__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(56px, 10vh, 112px); }
.footer__lead { font-size: clamp(2.4rem, 6vw, 5.5rem); }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer__cols > div { display: flex; flex-direction: column; gap: 10px; }
.footer__cols a, .footer__cols p { color: var(--ivory-60); transition: color .3s; overflow-wrap: anywhere; }
.footer__cols a:hover { color: var(--ivory); }
.footer__cols .footer__h { color: var(--gold); margin-bottom: 8px; }
.footer__mark { position: relative; margin-top: clamp(64px, 12vh, 140px); font-size: 13.4vw; line-height: .8; letter-spacing: -.05em; white-space: nowrap; text-align: center; padding-bottom: .04em; }
.footer__mark-outline { color: transparent; -webkit-text-stroke: 1px rgba(242, 239, 232, .22); display: block; }
.footer__mark-fill { position: absolute; inset: 0; color: var(--ivory); clip-path: inset(0 100% 0 0); display: block; }
.footer__bar { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 28px; color: var(--ivory-60); font-size: .64rem; border-top: 1px solid var(--ivory-12); }
.footer__bar a:hover { color: var(--gold); }

/* Generic reveal initial state (JS adds .js) */
.js .reveal { opacity: 0; transform: translateY(40px); }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .nav__links, .nav > .btn--pill { display: none; }
  .nav__burger { display: block; }
  .sticky-talk { display: inline-flex; }
  .pillars__pin { min-height: 0; }
  .pillars__track { flex-direction: column; width: 100%; }
  .card { width: 100%; min-height: 0; }
  .card__title { margin-top: 12px; }
  .cta__grid { grid-template-columns: 1fr; }
  .work__grid { grid-template-columns: repeat(2, 1fr); }
  .tile { grid-column: auto !important; margin-top: 0 !important; }
  .tile--a, .tile--d { grid-column: 1 / -1 !important; }
}
@media (max-width: 767px) {
  .hero__corner--tr, .hero__corner--tl { display: none; }
  .hero__title .line--indent { padding-left: 0; }
  .hero__bottom { flex-direction: column; align-items: flex-start; }
  .caps__grid { grid-template-columns: 1fr; gap: 40px; }
  .caps__divider { height: 1px; }
  .caps__divider span { transform: scaleX(0); transform-origin: left; }
  .tl { grid-template-columns: 1fr; gap: 8px; }
  .work__grid { grid-template-columns: 1fr; row-gap: 56px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__cols > div:nth-child(2) { grid-column: 1 / -1; order: 3; }
  .contact-info > div { grid-template-columns: 1fr; gap: 4px; }
  .vf__bottom span:nth-child(n+3) { display: none; }
  .act__hud .hud-tr { display: none; }
  .footer__bar { padding-bottom: 88px; }
}
@media (max-width: 479px) {
  .cta__title .line:nth-child(2) { padding-left: 0; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .grain { display: none; }
  .letterbox, .preloader { display: none; }
  .act__frame { clip-path: none; }
  .caption { opacity: 1; position: relative; }
  .act__captions { display: flex; flex-direction: column; justify-content: center; gap: 16px; }
  .caption:not(.caption--title) { display: none; }
  .kinetic .split-word { opacity: 1; }
  .js .reveal { opacity: 1; transform: none; }
  .footer__mark-fill { clip-path: none; }
}

/* Word masks for heading reveals */
.w-mask { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
