/* ==========================================================================
   ABK DIGITAL — style.css
   ========================================================================== */

:root {
  --espresso: #14100C;
  --bark: #2B2018;
  --leather: #6B4A32;
  --olive-deep: #2F3A1E;
  --olive: #6B7A3A;
  --olive-light: #A8B57A;
  --bone: #EDE6D6;
  --bone-dim: rgba(237, 230, 214, .62);
  --line: rgba(237, 230, 214, .12);
  --red: #C8312B;
  --red-glow: rgba(200, 49, 43, .35);
  --red-btn: #B02A24;        /* button fill: 5.2:1 with bone text */
  --red-btn-hover: #9E2520;
  --surface: #1A1510;        /* solid card surface */

  --f-display: "Archivo", "Arial Narrow", sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;
  --f-body: "Inter", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  --fs-mega: clamp(3.2rem, 11.2vw, 13.5rem);
  --fs-h1: clamp(3rem, 9vw, 9rem);
  --fs-h2: clamp(2.4rem, 6vw, 6rem);
  --fs-statement: clamp(1.9rem, 4.4vw, 4.4rem);
  --fs-body: clamp(1rem, 1.1vw, 1.15rem);

  --gutter: clamp(16px, 4vw, 56px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --header-h: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
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 {
  background: var(--espresso);
  color: var(--bone);
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
em { font-style: normal; }
::selection { background: var(--red); color: var(--bone); }
:focus-visible { outline: 2px solid var(--olive-light); outline-offset: 4px; }

.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--bone); color: var(--espresso); padding: 10px 16px; font-family: var(--f-mono); font-size: 12px; transition: top .3s; }
.skip:focus { top: 16px; }

/* ---------- Utilities ---------- */
.container { width: 100%; max-width: 1600px; margin: 0 auto; padding: 0 var(--gutter); }
.serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: -.01em; }
.mono { font-family: var(--f-mono); }
.label, .eyebrow {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--olive-light);
}
.h2 {
  font-family: var(--f-display); font-weight: 850; font-stretch: 78%;
  font-size: var(--fs-h2); line-height: .9; text-transform: uppercase; letter-spacing: -.02em;
}
.h2 .serif { font-size: 1.08em; color: var(--olive-light); }

/* split text */
.split-line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.split-line > span { display: block; }
.char { display: inline-block; will-change: transform; }
.char-word { display: inline-block; white-space: nowrap; }
.word { display: inline-block; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  height: 58px; padding: 0 30px; border-radius: 999px;
  font-family: var(--f-mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  transition: background .4s var(--ease-out), color .4s, box-shadow .4s, border-color .4s;
  white-space: nowrap; isolation: isolate;
}
.btn > * { pointer-events: none; }
.btn--red { background: var(--red-btn); color: var(--bone); box-shadow: 0 8px 20px -8px rgba(0,0,0,.6); }
.btn--red:hover { background: var(--red-btn-hover); box-shadow: 0 12px 24px -8px rgba(0,0,0,.7); }
.btn--ghost { border: 1px solid var(--line); color: var(--bone); }
.btn--ghost:hover { border-color: var(--olive-light); background: rgba(107,122,58,.14); }
.btn--sm { height: 42px; padding: 0 20px; font-size: 11px; }
.btn--block { width: 100%; justify-content: center; }
.arrow { font-style: normal; display: inline-block; transition: transform .5s var(--ease-out); }
.btn:hover .arrow, .work__next:hover .arrow { transform: translateX(6px); }

.link-u { position: relative; font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; padding: 6px 0; }
.link-u::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor; transform-origin: right; transition: transform .6s var(--ease-out); }
.link-u:hover::after { transform: scaleX(0); transform-origin: left; }

/* ---------- Preloader ---------- */
.loader { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; background: var(--espresso); }
.loader__inner { text-align: center; }
.loader__mark {
  font-family: var(--f-display); font-weight: 900; font-stretch: 62%;
  font-size: clamp(5rem, 22vw, 18rem); line-height: .8; letter-spacing: -.03em; color: var(--bone);
}
.loader__meta { display: flex; justify-content: space-between; margin-top: 18px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--olive-light); }
.loader__curtain { position: absolute; inset: 0; transform: translateY(100%); }
.loader__curtain--olive { background: var(--olive); }
.loader__curtain--dark { background: var(--espresso); }

/* ---------- Film stage ---------- */
.stage { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: var(--espresso); }
.stage__video, .stage__canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s; }
.stage.has-video .stage__video, .stage.has-seq .stage__canvas { opacity: 1; }
.stage.has-video .scene, .stage.has-seq .scene { display: none; }
.stage__veil { position: absolute; inset: 0; background: var(--espresso); opacity: .25; }
.stage__vignette { position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 45%, transparent 40%, rgba(10,8,6,.85) 100%); }

/* placeholder scenes (shown until generated film exists) */
.scene { position: absolute; inset: 0; opacity: 0; overflow: hidden; }
.scene span { position: absolute; display: block; }
.scene--brief { opacity: 1; background: radial-gradient(90% 70% at 50% 100%, #2a2416 0%, #17130d 55%, #0b0a07 100%); }
.flood { width: 60vmax; height: 60vmax; top: -30vmax; border-radius: 50%; background: radial-gradient(circle, rgba(255,236,190,.55) 0%, rgba(255,220,160,.12) 30%, transparent 62%); filter: blur(6px); }
.flood--l { left: -18vmax; } .flood--r { right: -18vmax; }
.mist { inset: 40% -20% 0; background: radial-gradient(60% 40% at 50% 60%, rgba(220,215,190,.14), transparent 70%); animation: drift 14s ease-in-out infinite alternate; }
.scene--build { background: radial-gradient(70% 70% at 62% 58%, #3b3120 0%, #1e1a10 45%, #0c0b08 100%); }
.lamp { width: 70vmax; height: 70vmax; left: 30%; top: 10%; border-radius: 50%; background: radial-gradient(circle, rgba(255,190,110,.34), transparent 55%); }
.holo { border: 1px solid rgba(168,181,122,.35); background: linear-gradient(160deg, rgba(168,181,122,.12), rgba(168,181,122,.02)); border-radius: 3px; box-shadow: 0 0 60px rgba(168,181,122,.12); animation: float 9s ease-in-out infinite alternate; }
.holo::before { content: ""; position: absolute; left: 10%; right: 10%; top: 14%; height: 1px; background: rgba(168,181,122,.5); box-shadow: 0 16px 0 rgba(168,181,122,.25), 0 32px 0 rgba(168,181,122,.25), 0 48px 0 rgba(168,181,122,.18); }
.holo--a { width: 26vw; height: 17vw; left: 12%; top: 22%; }
.holo--b { width: 20vw; height: 26vw; right: 12%; top: 16%; animation-delay: -3s; }
.holo--c { width: 18vw; height: 11vw; left: 42%; bottom: 14%; animation-delay: -6s; }
.holo--c::after { content: ""; position: absolute; right: 10%; top: 10%; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 14px var(--red); }
.scene--street { background: linear-gradient(to bottom, #141b26 0%, #2a2a2e 40%, #3a2a1c 70%, #120e0a 100%); }
.sky { inset: 0 0 50%; background: radial-gradient(80% 60% at 50% 100%, rgba(255,170,90,.25), transparent 70%); }
.shops { left: 0; right: 0; bottom: 26%; height: 34%; display: flex; gap: 2vw; padding: 0 4vw; align-items: flex-end; }
.shops i { flex: 1; height: 100%; background: #17120d; border-top: 2px solid #2b2018; position: relative; }
.shops i:nth-child(2n) { height: 82%; } .shops i:nth-child(3n) { height: 92%; }
.shops i::after { content: ""; position: absolute; left: 14%; right: 14%; bottom: 0; height: 52%; background: linear-gradient(to top, rgba(255,190,110,.75), rgba(255,170,90,.22)); opacity: var(--lit, .08); transition: opacity .6s; box-shadow: 0 0 40px rgba(255,180,100,calc(var(--lit, 0) * .5)); }
.neon { right: 22%; bottom: 40%; font-family: var(--f-display); font-weight: 800; font-stretch: 75%; font-size: 2.4vw; color: var(--red); text-shadow: 0 0 12px var(--red), 0 0 34px var(--red); opacity: var(--lit-neon, 0); transition: opacity .6s; }
.cobbles { left: 0; right: 0; bottom: 0; height: 26%; background: linear-gradient(to bottom, rgba(255,180,100,.18), transparent 60%), #0e0b08; }

@keyframes drift { to { transform: translateX(6%); } }
@keyframes float { to { transform: translateY(-14px); } }

/* ---------- Grain ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 120; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%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(-4%, 3%); } 40% { transform: translate(3%, -5%); }
  60% { transform: translate(-6%, -2%); } 80% { transform: translate(5%, 4%); } 100% { transform: translate(0, 0); }
}

/* ---------- Cursor ---------- */
.cursor { position: fixed; inset: 0; z-index: 130; pointer-events: none; display: none; }
.has-cursor .cursor { display: block; }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor label { cursor: none; }
.cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; border-radius: 50%; }
.cursor__dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--bone); mix-blend-mode: difference; }
.cursor__ring { width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1px solid rgba(237,230,214,.5); display: grid; place-items: center; transition: width .4s var(--ease-out), height .4s var(--ease-out), margin .4s var(--ease-out), background .4s, border-color .4s; }
.cursor__label { font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--espresso); opacity: 0; transition: opacity .3s; font-style: normal; }
.cursor.is-hover .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: var(--olive-light); }
.cursor.is-label .cursor__ring { width: 86px; height: 86px; margin: -43px 0 0 -43px; background: var(--bone); border-color: var(--bone); }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-label .cursor__dot { opacity: 0; }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 var(--gutter);
  transition: transform .6s var(--ease-out), background .4s;
}
.header.is-hidden { transform: translateY(-100%); }
.header.is-solid { background: linear-gradient(to bottom, rgba(20,16,12,.85), rgba(20,16,12,0)); }
.header__logo { font-family: var(--f-display); font-weight: 900; font-stretch: 70%; font-size: 26px; letter-spacing: -.02em; justify-self: start; }
.header__logo sup { font-size: 10px; font-weight: 400; color: var(--olive-light); vertical-align: top; margin-left: 2px; }
.header__nav { display: flex; gap: 38px; }
.header .btn { justify-self: end; }
.progress { position: absolute; left: 0; top: 0; width: 100%; height: 2px; }
.progress span { display: block; height: 100%; background: var(--red); transform-origin: left; transform: scaleX(0); }

.roll { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; overflow: hidden; height: 1.4em; display: block; }
.roll span { position: relative; display: block; transition: transform .55s var(--ease-out); }
.roll span::after { content: attr(data-text); position: absolute; left: 0; top: 100%; color: var(--olive-light); }
.roll:hover span { transform: translateY(-100%); }

/* ---------- Act label ---------- */
.act-label { position: fixed; left: var(--gutter); bottom: 26px; z-index: 90; display: flex; align-items: center; gap: 12px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--bone-dim); }
.act-label__num { width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--bone); font-size: 10px; }

/* ---------- Main ---------- */
main { position: relative; z-index: 2; }
section { position: relative; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-start;
  padding-top: clamp(88px, 14vh, 168px); padding-bottom: clamp(96px, 16vh, 192px);
  text-align: center; overflow: hidden; isolation: isolate;
}
.hero__inner { position: relative; display: flex; flex-direction: column; align-items: center; }

/* grid lines, faded out from the top centre */
.hero__grid {
  position: absolute; inset: 0 0 auto; height: 600px; z-index: -1; pointer-events: none; opacity: .8;
  background-image:
    linear-gradient(to right, rgba(237,230,214,.09) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(237,230,214,.09) 1px, transparent 1px);
  background-size: 6rem 5rem;
  -webkit-mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, #000 70%, transparent 110%);
          mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, #000 70%, transparent 110%);
}
/* horizon arc: solid espresso with an olive rim, no glow */
.hero__arc {
  position: absolute; left: 50%; top: calc(100% - 150px); z-index: -1; pointer-events: none;
  width: 140%; height: 750px; transform: translateX(-50%);
  border-radius: 100%; background: var(--espresso);
  border-top: 1px solid rgba(168,181,122,.55);
}

.hero__pill {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px; margin-bottom: clamp(12px, 2.6vh, 24px);
  border: 1px solid var(--line); border-radius: 999px; background: rgba(20,16,12,.5);
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--bone-dim);
  transition: border-color .25s var(--ease-out), color .25s var(--ease-out);
}
.hero__pill svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease-out); }
.hero__pill:hover { border-color: rgba(168,181,122,.5); color: var(--bone); }
.hero__pill:hover svg { transform: translateX(4px); }
.hero__title {
  font-family: var(--f-display); font-weight: 900; font-stretch: 72%;
  font-size: min(var(--fs-mega), 19vh); line-height: .84; letter-spacing: -.035em; text-transform: uppercase;
}
.hero__line { display: block; overflow: hidden; padding: 0 .06em .08em; margin-bottom: -.08em; }
.hero__title .serif { font-size: 1.05em; color: var(--olive-light); letter-spacing: -.02em; }
.hero__sub { max-width: 34ch; margin: clamp(14px, 3.4vh, 32px) auto 0; color: var(--bone-dim); font-size: clamp(1.05rem, 1.3vw, 1.3rem); text-wrap: balance; }
.hero__sub strong { color: var(--bone); font-weight: 500; }
.hero__ctas { display: flex; justify-content: center; margin-top: clamp(18px, 4.2vh, 40px); }
.hero__bottom { position: absolute; left: 0; right: 0; bottom: 30px; display: flex; justify-content: center; gap: 30px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--bone-dim); }
.scroll-cue { display: none; align-items: center; gap: 12px; }
.scroll-cue i { width: 44px; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; inset: 0; background: var(--bone); animation: cue 2.2s var(--ease-out) infinite; }
@keyframes cue { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.live { display: inline-flex; align-items: center; gap: 10px; }
.live b { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 var(--red-glow); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(200,49,43,.6); } 70% { box-shadow: 0 0 0 12px rgba(200,49,43,0); } 100% { box-shadow: 0 0 0 0 rgba(200,49,43,0); } }

/* ---------- Stats ---------- */
.stats { background: var(--olive-deep); padding: 90px 0 0; overflow: hidden; border-top: 1px solid rgba(168,181,122,.2); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat { padding: 10px 28px 70px; border-left: 1px solid rgba(237,230,214,.14); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num { font-family: var(--f-display); font-weight: 900; font-stretch: 70%; font-size: clamp(4rem, 8vw, 8.5rem); line-height: .85; letter-spacing: -.03em; display: flex; align-items: baseline; gap: 10px; }
.stat__num small { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: .32em; color: var(--olive-light); letter-spacing: 0; }
.stat p { margin-top: 18px; color: var(--bone-dim); font-size: 15px; max-width: 220px; }
.marquee { border-top: 1px solid rgba(237,230,214,.14); padding: 26px 0; overflow: hidden; }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__track span { font-family: var(--f-display); font-weight: 800; font-stretch: 100%; font-size: clamp(2rem, 4.5vw, 4.4rem); text-transform: uppercase; letter-spacing: -.01em; line-height: 1; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(237,230,214,.55); }

/* ---------- Mission ---------- */
.mission { padding: clamp(120px, 20vh, 220px) 0; }
.mission__inner { max-width: 1400px; }
.mission__statement { font-family: var(--f-serif); font-weight: 400; font-size: var(--fs-statement); line-height: 1.08; letter-spacing: -.015em; margin: 34px 0 48px; max-width: 18ch; }
.mission__statement em { color: var(--olive-light); font-style: italic; }
.mission__statement .word { opacity: .15; }
.mission__body { max-width: 560px; color: var(--bone-dim); margin-left: auto; }

/* ---------- Services ---------- */
.pillars { padding: clamp(96px, 14vh, 140px) 0; }
.pillars__head { text-align: center; max-width: 760px; margin: 0 auto; }
.pillars__intro { margin: 16px auto 0; max-width: 52ch; color: var(--bone-dim); }
.pillars__grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
  max-width: 1120px; margin: clamp(32px, 6vh, 64px) auto 0;
}
.pillar {
  background: var(--surface); border: 1px solid var(--line); border-radius: 2px;
  padding: 24px 24px 32px; text-align: center;
  transition: border-color .3s var(--ease-out), transform .4s var(--ease-out);
}
.pillar:hover { border-color: rgba(168,181,122,.45); transform: translateY(-4px); }
/* decorator: faint grid square, radially faded, with a framed drawing in the middle */
.pillar__deco {
  position: relative; width: 176px; height: 144px; margin: 0 auto;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 70%, transparent 100%);
          mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 70%, transparent 100%);
}
.pillar__deco::before {
  content: ""; position: absolute; inset: 0; opacity: .1;
  background-image: linear-gradient(to right, var(--bone) 1px, transparent 1px), linear-gradient(to bottom, var(--bone) 1px, transparent 1px);
  background-size: 24px 24px;
}
.pillar__box {
  position: absolute; inset: 0; margin: auto; width: 96px; height: 72px;
  display: flex; align-items: center; justify-content: center; background: var(--surface);
  border-top: 1px solid rgba(237,230,214,.25); border-left: 1px solid rgba(237,230,214,.25);
}
.pillar__art { width: 76px; height: auto; fill: none; stroke: rgba(168,181,122,.85); stroke-width: 2.4; }
.pillar__art .accent { stroke: var(--red); }
.pillar__title {
  margin-top: 16px; font-family: var(--f-display); font-weight: 800; font-stretch: 78%;
  font-size: clamp(1.5rem, 2.4vw, 2.2rem); line-height: 1; text-transform: uppercase; letter-spacing: -.01em;
}
.pillar__body { margin: 12px auto 0; max-width: 32ch; color: var(--bone-dim); font-size: 15px; line-height: 1.55; }

/* ---------- Story ---------- */
.story { padding: clamp(100px, 16vh, 180px) 0; background: linear-gradient(to bottom, transparent, rgba(20,16,12,.85) 18%, rgba(20,16,12,.85) 82%, transparent); }
.story__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.story__media { position: relative; position: sticky; top: 110px; }
.story__frame { overflow: hidden; aspect-ratio: 4 / 5; background: var(--bark); clip-path: inset(100% 0 0 0); }
.story__frame img { width: 100%; height: 118%; object-fit: cover; filter: sepia(.25) saturate(.85) contrast(1.05); }
.story__tag { position: absolute; left: -12px; bottom: 34px; background: var(--red); color: var(--bone); font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding: 10px 14px; }
.story__title { font-family: var(--f-display); font-weight: 850; font-stretch: 80%; font-size: clamp(2.2rem, 4.4vw, 4.6rem); line-height: .95; text-transform: uppercase; letter-spacing: -.02em; margin: 24px 0 40px; }
.story__title .serif { color: var(--olive-light); font-size: 1.06em; }
.story__body p { color: var(--bone-dim); margin-bottom: 1.2em; max-width: 620px; }
.story__sig { font-size: 1.7rem; margin: 30px 0 36px; }
.story__chips { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.story__chips span { border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; color: var(--bone-dim); }
.story__chips span.is-on { border-color: var(--olive-light); color: var(--bone); background: rgba(107,122,58,.18); }
.story__chips i { font-style: normal; color: var(--olive-light); }

/* ---------- Process ---------- */
.process { padding: clamp(100px, 16vh, 180px) 0; }
.process .label { margin-bottom: 22px; }
.process__line { position: relative; height: 1px; background: var(--line); margin: 80px 0 0; }
.process__line span { position: absolute; inset: 0; background: var(--olive-light); transform-origin: left; transform: scaleX(0); }
.process__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-bottom: 70px; }
.step { position: relative; padding-top: 34px; opacity: .35; transition: opacity .6s; }
.step.is-active { opacity: 1; }
.step::before { content: ""; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--espresso); border: 1px solid var(--olive-light); transition: background .4s; }
.step.is-active::before { background: var(--olive-light); }
.step:last-child.is-active::before { background: var(--red); border-color: var(--red); }
.step__n { font-family: var(--f-mono); font-size: 12px; color: var(--olive-light); letter-spacing: .14em; }
.step__when { float: right; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--bone-dim); }
.step h3 { font-family: var(--f-display); font-weight: 850; font-stretch: 78%; font-size: clamp(1.8rem, 2.6vw, 2.6rem); text-transform: uppercase; line-height: 1; margin: 16px 0 12px; letter-spacing: -.01em; }
.step p { color: var(--bone-dim); font-size: 15px; }

/* ---------- Work ---------- */
.work { padding: clamp(100px, 14vh, 160px) 0; background: linear-gradient(to bottom, transparent, rgba(20,16,12,.9) 15%, rgba(20,16,12,.9) 85%, transparent); }
.work__head { margin-bottom: 32px; }
.work__list { border-top: 1px solid var(--line); }
.work__row { display: grid; grid-template-columns: 56px 1fr auto; align-items: baseline; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.work__idx { font-family: var(--f-mono); font-size: 12px; color: var(--olive-light); }
.work__title { font-family: var(--f-display); font-weight: 900; font-stretch: 72%; font-size: clamp(2rem, 4.6vw, 4.8rem); line-height: .95; text-transform: uppercase; letter-spacing: -.02em; }
.work__meta { display: flex; align-items: center; gap: 12px; justify-content: flex-end; text-align: right; font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--bone-dim); }
.work__meta b { font-weight: 400; color: var(--espresso); background: var(--olive-light); padding: 3px 8px; border-radius: 999px; }
.work__next { display: inline-flex; gap: 14px; margin-top: 48px; font-family: var(--f-serif); font-style: italic; font-size: clamp(1.6rem, 2.6vw, 2.4rem); }
.work__next .arrow { color: var(--red); }

/* ---------- Contact ---------- */
.contact { min-height: 100svh; padding: clamp(120px, 18vh, 200px) 0 120px; display: flex; align-items: center; }
.contact__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.contact__title { font-family: var(--f-display); font-weight: 900; font-stretch: 72%; font-size: var(--fs-h1); line-height: .86; text-transform: uppercase; letter-spacing: -.035em; margin: 24px 0 34px; }
.contact__lit { position: relative; display: inline-block; color: var(--bone); font-size: 1.08em; }
.contact__lit svg { position: absolute; left: 0; bottom: -.08em; width: 100%; height: .22em; fill: none; stroke: var(--red); stroke-width: 4; stroke-linecap: round; overflow: visible; }
.contact__lit path { stroke-dasharray: 320; stroke-dashoffset: 320; }
.contact__sub { font-size: clamp(1.1rem, 1.4vw, 1.35rem); color: var(--bone-dim); max-width: 460px; }
.contact__alt { margin-top: 28px; color: var(--bone-dim); font-size: 15px; display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }

.form { background: rgba(20,16,12,.6); backdrop-filter: blur(20px) saturate(120%); -webkit-backdrop-filter: blur(20px) saturate(120%); border: 1px solid var(--line); padding: clamp(24px, 3vw, 44px); border-radius: 3px; display: flex; flex-direction: column; gap: 22px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(237,230,214,.25);
  color: var(--bone); font: inherit; font-size: 16px; padding: 22px 0 10px; border-radius: 0; resize: vertical; transition: border-color .4s;
}
.field textarea { min-height: 110px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--olive-light); }
.field label { position: absolute; left: 0; top: 22px; color: var(--bone-dim); font-size: 15px; pointer-events: none; transition: transform .4s var(--ease-out), color .3s, font-size .3s; transform-origin: left; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-20px); font-size: 12px; color: var(--olive-light); font-family: var(--f-mono); letter-spacing: .1em; text-transform: uppercase; }
.field.is-error input, .field.is-error textarea { border-color: var(--red); }
.field__err { display: block; min-height: 0; font-family: var(--f-mono); font-size: 11px; color: #ff6b63; letter-spacing: .06em; margin-top: 6px; }
.field__err:empty { display: none; }
.chips { border: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips legend { width: 100%; margin-bottom: 12px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--olive-light); }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; cursor: pointer; transition: border-color .3s, background .3s; }
.chip span::before { content: "✓"; width: 0; overflow: hidden; color: var(--red); transition: width .3s var(--ease-out); }
.chip input:checked + span { border-color: var(--olive-light); background: rgba(107,122,58,.22); }
.chip input:checked + span::before { width: 12px; }
.chip input:focus-visible + span { outline: 2px solid var(--olive-light); outline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__status { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; color: var(--olive-light); min-height: 1em; }
.form__status.is-error { color: #ff6b63; }
.form.is-sent .field, .form.is-sent .form__row, .form.is-sent .chips, .form.is-sent .btn { display: none; }
.form.is-sent .form__status { font-family: var(--f-serif); font-style: italic; font-size: 2rem; letter-spacing: 0; color: var(--bone); padding: 40px 0; }
.btn.is-loading .btn__label { opacity: .5; }

/* ---------- Footer ---------- */
.footer { position: relative; z-index: 2; background: var(--espresso); padding-top: 110px; overflow: hidden; border-top: 1px solid var(--line); }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr) 1.4fr; gap: 40px; }
.footer__cols a { display: block; padding: 6px 0; color: var(--bone-dim); transition: color .3s; }
.footer__cols a:hover { color: var(--bone); }
.footer__cols .label { margin-bottom: 16px; }
.footer__meta { text-align: right; }
.clock { font-size: 28px; letter-spacing: .04em; }
.footer__line { font-size: 1.4rem; color: var(--olive-light); margin-top: 14px; }
.footer__base { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 80px; padding-bottom: 20px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--bone-dim); }
.footer__mark { overflow: hidden; line-height: .74; margin-bottom: -2.2vw; }
.footer__mark span { display: block; font-family: var(--f-display); font-weight: 900; font-stretch: 62%; font-size: 19.5vw; letter-spacing: -.045em; word-spacing: .14em; text-align: center; white-space: nowrap; color: var(--bark); }

/* ---------- Responsive ---------- */
@media (min-width: 900px) {
  .scroll-cue { display: inline-flex; margin-right: auto; padding-left: 160px; }
}
@media (max-width: 1024px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .process__steps { grid-template-columns: repeat(2, 1fr); row-gap: 50px; }
  .process__line { display: none; }
  .step::before { top: 0; } .step { padding-top: 26px; border-top: 1px solid var(--line); }
  .contact__grid { grid-template-columns: 1fr; }
  .story__grid { grid-template-columns: 1fr; }
  .story__media { position: relative; top: 0; max-width: 520px; }
  .footer__cols { grid-template-columns: repeat(3, 1fr); }
  .footer__meta { grid-column: 1 / -1; text-align: left; }
}
@media (max-width: 767px) {
  :root { --header-h: 62px; }
  .header__nav { display: none; }
  .header { grid-template-columns: 1fr auto; }
  .hero { padding-top: clamp(84px, 13vh, 112px); padding-bottom: 150px; }
  .hero__line { white-space: normal; }
  .hero__title { font-size: min(17vw, 11vh); }
  .hero__arc { top: calc(100% - 90px); width: 700px; height: 500px; }
  .hero__grid { background-size: 4rem 3.5rem; }
  .hero__pill { font-size: 11px; letter-spacing: .08em; padding: 0 16px; }
  .act-label { display: none; }
  .stats { padding-top: 60px; }
  .stat { padding: 0 0 44px 18px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(even) { padding-left: 18px; }
  .stat p { font-size: 13px; }
  .pillars__grid { grid-template-columns: 1fr; max-width: 420px; gap: 16px; }
  .process__steps { grid-template-columns: 1fr; }
  .work__row { grid-template-columns: 1fr; gap: 10px; padding: 24px 0; }
  .work__idx { display: none; }
  .work__meta { justify-content: flex-start; text-align: left; flex-wrap: wrap; font-size: 11px; }
  .form__row { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__base { margin-top: 50px; }
  .story__tag { left: 0; }
}

/* short laptop screens: keep the services cards on one screen */
@media (min-width: 768px) and (max-height: 780px) {
  .pillars__grid { margin-top: 24px; }
  .pillar { padding: 12px 24px 24px; }
  .pillar__deco { height: 112px; }
  .pillar__title { margin-top: 8px; }
}

@media (max-width: 360px) {
  .hero__pill { font-size: 10px; letter-spacing: .04em; padding: 0 12px; white-space: nowrap; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .grain { animation: none; }
  .story__frame { clip-path: none; }
  .mission__statement .word { opacity: 1; }
  .step { opacity: 1; }
}
