:root {
  --ink: #0b0809;
  --paper: #f6f0ea;
  --dim: rgba(246, 240, 234, .66);
  --line: rgba(246, 240, 234, .14);
  --brand: #b32834;       /* Icon Media crimson, for fills */
  --red: #ec4656;         /* lifted crimson, for text on dark */
  --boot: #3b0a12;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --pad: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scrollbar-color: rgba(246,240,234,.25) var(--ink); }
body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: clamp(16px, 1.15vw, 19px);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.locked { overflow: hidden; }
a { color: inherit; text-underline-offset: 5px; text-decoration-thickness: 1px; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--red); letter-spacing: 0; text-transform: none; }
img { display: block; max-width: 100%; }
svg { width: 1em; height: 1em; }
ul, ol { list-style: none; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; border-radius: 4px; }

/* ---------- fixed layers ---------- */
#gl { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; }
.flash {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at 50% 50%, #fff1ee 0%, #ff5a68 30%, var(--brand) 55%, #2a060b 85%, var(--ink) 100%);
}
.grain {
  position: fixed; inset: -50%; z-index: 41; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain .9s steps(4) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 25% { transform: translate(-6%, 4%); }
  50% { transform: translate(5%, -7%); } 75% { transform: translate(-3%, 8%); } 100% { transform: translate(7%, 2%); }
}

/* ---------- loader ---------- */
#boot {
  position: fixed; inset: 0; z-index: 100; background: var(--brand); color: #fff;
  display: grid; place-items: center; clip-path: inset(0 0 0 0);
}
.boot-inner { display: grid; justify-items: center; gap: 22px; }
.boot-logo { width: clamp(110px, 18vmin, 170px); height: auto; animation: logoIn .9s var(--ease) both; }
@keyframes logoIn { from { opacity: 0; transform: scale(.7) rotate(-14deg); } }
.boot-bar { width: 140px; height: 2px; background: rgba(255,255,255,.25); overflow: hidden; }
.boot-bar i { display: block; height: 100%; width: 0%; background: #fff; transition: width .15s linear; }
.boot-pct { opacity: .8; font-variant-numeric: tabular-nums; }
#boot.off { clip-path: inset(0 0 100% 0); transition: clip-path .85s cubic-bezier(.76, 0, .24, 1); }
#boot.off .boot-inner { opacity: 0; transform: translateY(-40px); transition: opacity .4s, transform .6s var(--ease); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 30; pointer-events: none;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px var(--pad);
  background: linear-gradient(to bottom, rgba(11,8,9,.75), transparent);
}
.brand { position: relative; z-index: 2; display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; font-stretch: 112%; text-transform: uppercase; letter-spacing: .02em; font-size: 15px; }
.brand img { width: 42px; height: auto; }
.nav > a { pointer-events: auto; }
.progress { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; }

/* ---------- custom cursor ---------- */
.cursor, .cursor-dot { position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none; display: none; }
.has-cursor .cursor, .has-cursor .cursor-dot { display: block; }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor label, .has-cursor .carousel { cursor: none; }
.has-cursor input, .has-cursor textarea, .has-cursor select { cursor: auto; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: #fff; mix-blend-mode: difference; }
.cursor {
  width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; border: 1px solid rgba(255,255,255,.6);
  display: none; place-items: center; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .3s, border-color .3s;
}
.has-cursor .cursor { display: grid; }
.cursor-label { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity .2s; white-space: nowrap; }
.cursor.is-label { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--paper); border-color: var(--paper); }
.cursor.is-label .cursor-label { opacity: 1; }
.cursor.is-link { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: var(--red); }
.cursor.is-down { transform: scale(.85); }

/* ---------- kinetic headings ---------- */
.w-mask { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.w-inner { display: inline-block; will-change: transform; }

/* ---------- GROWTH zoom-through ---------- */
.zoom { padding: 0 !important; height: 300vh; }
.zoom-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.zoom-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); }
.zoom-field {
  background:
    radial-gradient(60% 70% at 28% 38%, #ec4656 0, transparent 70%),
    radial-gradient(50% 60% at 78% 70%, #ff7a5c 0, transparent 70%),
    repeating-linear-gradient(-45deg, rgba(255,255,255,.09) 0 2px, transparent 2px 22px),
    #6e1220;
}

/* ---------- type tiles (stand in for client imagery) ---------- */
.art {
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 12px;
  padding: clamp(16px, 2vw, 28px); border-radius: inherit; background: var(--brand); color: #fff;
}
.art::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, rgba(255,255,255,.07) 0 1px, transparent 1px 14px); pointer-events: none; }
.art > * { position: relative; }
.art-k { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.art b { margin-top: auto; font-weight: 900; font-stretch: 110%; text-transform: uppercase; line-height: .86; letter-spacing: -.03em; font-size: var(--fs, clamp(44px, 6vw, 104px)); hyphens: manual; }
.art i { font-family: var(--serif); font-size: clamp(20px, 1.8vw, 30px); line-height: 1.1; }
.art-ink { background: #1a1113; color: var(--paper); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.art-ink b { color: var(--red); }
.art-paper { background: var(--paper); color: var(--ink); }
.art-paper::before { background: repeating-linear-gradient(-45deg, rgba(0,0,0,.06) 0 1px, transparent 1px 14px); }
.art-hot { background: var(--red); }
.zoom-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.zm-text { font-family: var(--sans); font-weight: 900; font-stretch: 125%; letter-spacing: -.02em; }
.zoom-cap {
  position: absolute; left: 0; right: 0; bottom: clamp(48px, 12vh, 120px); text-align: center; padding: 0 var(--pad);
  font-weight: 700; font-size: clamp(22px, 2.6vw, 40px); line-height: 1.1; opacity: 0; transform: translateY(20px);
}
.zoom-cap em { display: block; }

/* ---------- client reveal list ---------- */
.client-rows { border-top: 1px solid var(--line); }
.client-rows li {
  position: relative; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap;
  padding: clamp(12px, 2vh, 22px) 0; border-bottom: 1px solid var(--line); transition: padding .5s var(--ease);
}
.cn { font-weight: 850; font-stretch: 112%; text-transform: uppercase; font-size: clamp(30px, 5.4vw, 88px); line-height: .95; letter-spacing: -.03em; transition: color .3s, transform .5s var(--ease); }
.ci { color: var(--dim); }
.client-rows:hover li .cn { color: rgba(246,240,234,.28); }
.client-rows li:hover .cn { color: var(--paper); transform: translateX(clamp(8px, 2vw, 28px)); }
.pill {
  display: inline-block; text-decoration: none; padding: 11px 20px; border-radius: 999px;
  border: 1px solid var(--paper); font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
  transition: background .25s, color .25s, border-color .25s;
}
.pill:hover { background: var(--paper); color: var(--ink); }
.pill.solid { background: var(--brand); border-color: var(--brand); color: #fff; }
.pill.solid:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }

/* ---------- hero ---------- */
main { position: relative; z-index: 2; }
.hero { height: 240vh; }
.hero-sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  display: flex; flex-direction: column; justify-content: space-between; align-items: center;
  padding: clamp(100px, 15vh, 150px) var(--pad) 28px; text-align: center;
}
.hero-copy { will-change: opacity, transform, filter; }
.hero-title {
  font-weight: 850; font-stretch: 108%; text-transform: uppercase; line-height: .92; letter-spacing: -.02em;
  font-size: clamp(40px, 7vw, 96px); text-wrap: balance;
}
.hero-title em { font-size: 1.12em; line-height: .8; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero-title .line > span { display: inline-block; transform: translateY(110%); transition: transform 1.2s var(--ease); }
.hero-title .line:nth-child(2) > span { transition-delay: .12s; }
body.booted .hero-title .line > span { transform: none; }
.hero-sub { margin-top: 18px; color: var(--dim); font-size: clamp(16px, 1.4vw, 20px); }
.hint {
  display: inline-flex; align-items: center; gap: 12px; padding: 12px 20px 12px 14px; border-radius: 999px;
  background: var(--brand); border: 1px solid #d8434f; color: #fff; text-decoration: none;
  box-shadow: 0 16px 34px -12px rgba(0,0,0,.85); transition: background .25s, border-color .25s, transform .25s var(--ease);
}
.hint .mono { font-size: 13px; font-weight: 500; }
.hint:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); transform: translateY(-2px); }
.hint .mouse { width: 20px; height: 30px; border: 2px solid currentColor; border-radius: 10px; display: grid; justify-items: center; padding-top: 5px; }
.hint .mouse i { width: 3px; height: 7px; border-radius: 2px; background: currentColor; animation: wheel 1.6s var(--ease) infinite; }
.hint svg { width: 18px; height: 18px; animation: nudge 1.6s ease-in-out infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(9px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }
@keyframes nudge { 50% { transform: translateY(4px); } }

/* ---------- shared section bits ---------- */
section:not(.hero) { padding: clamp(80px, 13vh, 150px) var(--pad); }
.section-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px 24px;
  margin-bottom: clamp(32px, 6vh, 64px); border-top: 1px solid var(--line); padding-top: 22px;
}
.section-head h2 { font-weight: 800; font-stretch: 105%; font-size: clamp(34px, 4.6vw, 68px); line-height: 1; letter-spacing: -.02em; text-wrap: balance; }
.section-head .note { color: var(--dim); max-width: 38ch; }

/* ---------- intro ---------- */
.reveal-text { font-weight: 700; font-stretch: 100%; font-size: clamp(28px, 3.9vw, 58px); line-height: 1.12; letter-spacing: -.02em; max-width: 24ch; text-wrap: pretty; }
.reveal-text .w { opacity: .14; transition: opacity .35s; }
.reveal-text .w.on { opacity: 1; }
.pillars { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.pillars span { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; }
.founders { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; margin-top: clamp(56px, 10vh, 110px); padding-top: 22px; border-top: 1px solid var(--line); align-items: start; }
.founders-lead { color: var(--dim); max-width: 34ch; }
.founder h3, .people h3 { font-weight: 700; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.2; }
.founder .mono, .people .mono { color: var(--dim); margin-top: 4px; }

/* ---------- results ---------- */
.res li {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 12px clamp(24px, 5vw, 80px); align-items: center;
  padding: clamp(22px, 4vh, 40px) 0; border-bottom: 1px solid var(--line);
}
.res li:first-child { padding-top: 0; }
.num {
  font-weight: 850; font-stretch: 112%; font-size: clamp(64px, 11vw, 168px); line-height: .85; letter-spacing: -.04em;
  font-variant-numeric: tabular-nums; color: var(--paper);
}
.res li:first-child .num { color: var(--red); }
.res h3 { font-weight: 700; font-size: clamp(22px, 2.2vw, 32px); line-height: 1.15; }
.res .mono { color: var(--red); margin: 6px 0 10px; }
.res p:last-child { color: var(--dim); max-width: 42ch; }

/* ---------- clients ---------- */
.clients { padding-left: 0 !important; padding-right: 0 !important; }
.clients .section-head { margin-left: var(--pad); margin-right: var(--pad); }

/* ---------- work carousel ---------- */
.work { padding-left: 0 !important; padding-right: 0 !important; }
.work .section-head { margin-left: var(--pad); margin-right: var(--pad); }
.carousel { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; outline: none; cursor: grab; }
.carousel::-webkit-scrollbar { display: none; }
.carousel.drag { scroll-snap-type: none; cursor: grabbing; }
.carousel:focus-visible { outline: 2px solid var(--red); outline-offset: -2px; }
.track {
  --cw: min(34vw, 420px);
  display: flex; gap: clamp(16px, 3vw, 40px);
  padding: 20px calc(50vw - var(--cw) / 2) 40px;
  width: max-content;
}
.card { width: var(--cw); scroll-snap-align: center; will-change: transform; user-select: none; }
.thumb {
  position: relative; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: #1a1012;
  box-shadow: 0 30px 60px -28px rgba(0,0,0,.9), inset 0 0 0 1px rgba(255,255,255,.08);
}
.thumb img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform .9s var(--ease); pointer-events: none; }
.card:hover .thumb img, .card.active .thumb img { transform: scale(1); }
.thumb .tag { position: absolute; left: 12px; top: 12px; z-index: 1; background: rgba(11,8,9,.72); padding: 6px 10px; border-radius: 6px; }
.meta { margin-top: 14px; }
.meta h3 { font-weight: 700; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.15; }
.meta p { color: var(--dim); margin-top: 4px; }
.car-ctrl { display: flex; align-items: center; justify-content: center; gap: 22px; }
.round {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: rgba(11,8,9,.4);
  color: var(--paper); font-size: 20px; display: grid; place-items: center; cursor: pointer;
  transition: background .2s, border-color .2s, color .2s, transform .15s;
}
.round:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.round:active { transform: scale(.94); }

.card { position: relative; }
.card-open { position: absolute; inset: 0; z-index: 2; background: none; border: 0; cursor: pointer; border-radius: 14px; }
.carousel.drag .card-open { cursor: grabbing; }
.card-open:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
.thumb::after {
  content: "View project"; position: absolute; left: 12px; bottom: 12px; padding: 9px 14px; border-radius: 999px;
  background: var(--paper); color: var(--ink); font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
  opacity: 0; transform: translateY(8px); transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.card:hover .thumb::after, .card-open:focus-visible ~ .thumb::after { opacity: 1; transform: none; }
@media (hover: none) { .thumb::after { opacity: 1; transform: none; } }

/* ---------- project popup ---------- */
.pv {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: clamp(0px, 3vw, 40px);
  border: 0; background: transparent; color: var(--paper); overflow: hidden;
}
.pv::backdrop { background: rgba(8,5,6,.82); backdrop-filter: blur(10px); }
.pv[open] .pv-wrap { animation: pvIn .6s var(--ease); }
.pv[open]::backdrop { animation: fadeIn .4s ease-out; }
@keyframes pvIn { from { opacity: 0; transform: translateY(24px) scale(.98); } }
@keyframes fadeIn { from { opacity: 0; } }
.pv-wrap {
  height: 100%; max-width: 1360px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  background: #120c0e; border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
}
.pv-main { background: #070505; display: grid; place-items: center; min-height: 0; }
.pv-main img { width: 100%; height: 100%; object-fit: contain; clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease); }
.pv-main img.in { clip-path: inset(0 0 0 0); }
.pv-body { overflow-y: auto; padding: clamp(22px, 3vw, 44px); display: flex; flex-direction: column; gap: 16px; scrollbar-width: thin; }
.pv-top { display: flex; justify-content: space-between; align-items: center; color: var(--dim); }
.pv-tag { color: var(--red); margin-top: 8px; }
.pv-title { font-weight: 850; font-stretch: 108%; text-transform: uppercase; font-size: clamp(32px, 3.6vw, 56px); line-height: .95; letter-spacing: -.02em; text-wrap: balance; }
.pv-camp { font-family: var(--serif); font-style: italic; color: var(--red); font-size: clamp(22px, 2vw, 30px); line-height: 1.15; }
.pv-about { color: var(--dim); }
.pv-list { display: grid; gap: 10px; }
.pv-list li { padding-left: 22px; position: relative; }
.pv-list li::before { content: ""; position: absolute; left: 0; top: .75em; width: 10px; height: 1px; background: var(--red); }
.pv-quote { border-left: 1px solid var(--red); padding-left: 16px; }
.pv-quote blockquote { font-family: var(--serif); font-size: clamp(20px, 1.7vw, 26px); line-height: 1.2; }
.pv-quote figcaption { color: var(--dim); margin-top: 8px; }
.pv-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 12px; }
.pv-nav .pill { display: inline-flex; align-items: center; gap: 8px; background: none; color: var(--paper); cursor: pointer; }
.pv-nav .pill:hover { background: var(--paper); color: var(--ink); }
.pv-nav svg { width: 18px; height: 18px; }

/* ---------- case studies (sideways on desktop) ---------- */
.cases { padding-left: 0 !important; padding-right: 0 !important; overflow: hidden; }
.cases-track { display: flex; flex-direction: column; gap: clamp(64px, 12vh, 120px); padding: 0 var(--pad); }
.panel { position: relative; }
.p-intro h2, .p-outcome h2 { font-weight: 850; font-stretch: 110%; text-transform: uppercase; font-size: clamp(48px, 9vw, 150px); line-height: .9; letter-spacing: -.03em; }
.p-intro h2 em, .p-outcome h2 em { font-size: 1.05em; }
.p-hint { display: inline-flex; align-items: center; gap: 10px; color: var(--dim); margin-top: 28px; }
.p-hint svg { width: 20px; height: 20px; }
.p-case { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.case-media { border-radius: 16px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0,0,0,.9); }
.case-media img { width: 100%; height: 100%; max-height: 74vh; object-fit: cover; }
.case-tag { color: var(--red); }
.case-body h2 { font-weight: 800; font-stretch: 105%; text-transform: uppercase; font-size: clamp(34px, 4.2vw, 62px); line-height: .98; letter-spacing: -.02em; margin: 14px 0 22px; text-wrap: balance; }
.case-body h2 em { display: block; font-size: .78em; line-height: 1.05; margin-top: 6px; }
.case-body > p { color: var(--dim); max-width: 46ch; }
.case-body h3 { color: var(--paper); margin: 26px 0 10px; }
.case-body ul { display: grid; gap: 10px; max-width: 48ch; }
.case-body li { padding-left: 22px; position: relative; color: var(--dim); }
.case-body li::before { content: ""; position: absolute; left: 0; top: .7em; width: 10px; height: 1px; background: var(--red); }
.case-body .outcome { font-weight: 700; font-size: clamp(20px, 1.9vw, 28px); line-height: 1.25; color: var(--paper); max-width: 30ch; }
.p-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: end; }
.p-gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.9); }
.p-gallery .g2 { transform: translateY(-12%); }
.g-cap { grid-column: 1 / -1; font-weight: 850; font-stretch: 110%; text-transform: uppercase; font-size: clamp(40px, 6vw, 96px); line-height: .9; letter-spacing: -.03em; }
.p-outcome .mono { color: var(--red); margin-bottom: 18px; }

@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .cases { padding-top: 0 !important; padding-bottom: 0 !important; }
  .cases-track { flex-direction: row; align-items: center; gap: 0; height: 100vh; height: 100svh; width: max-content; padding: 0; will-change: transform; }
  .panel { flex: none; height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 0 6vw; }
  .p-intro { width: 70vw; padding-left: var(--pad); }
  .p-case { width: 100vw; display: grid; align-content: center; }
  .p-case .case-media img { max-height: 70vh; }
  .p-gallery { width: 95vw; display: grid; align-content: center; }
  .p-gallery img { max-height: 62vh; }
  .p-outcome { width: 85vw; }
}

/* ---------- services ---------- */
.svc { border-top: 1px solid var(--line); }
.svc li {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 22ch); gap: 8px 32px; align-items: center;
  padding: clamp(14px, 2.4vh, 26px) 0; border-bottom: 1px solid var(--line); overflow: hidden; isolation: isolate;
}
.svc li::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--brand);
  transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease);
}
.svc li:hover::before { transform: scaleY(1); }
.svc h3 {
  font-weight: 850; font-stretch: 112%; text-transform: uppercase; font-size: clamp(34px, 6.4vw, 104px); line-height: .95; letter-spacing: -.03em;
  transition: transform .55s var(--ease), color .3s;
}
.svc li:hover h3 { transform: translateX(clamp(8px, 2vw, 32px)); }
.svc p { color: var(--dim); transition: color .3s; }
.svc li:hover p { color: #fff; }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.5vw, 32px); counter-reset: s; }
.steps li { border-top: 2px solid var(--brand); padding-top: 18px; }
.steps .mono { color: var(--red); }
.steps h3 { font-weight: 800; font-stretch: 108%; text-transform: uppercase; font-size: clamp(22px, 2vw, 30px); margin: 10px 0 8px; }
.steps p { color: var(--dim); }

/* ---------- quotes ---------- */
.quote-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(20px, 3vw, 40px); }
.quote { border: 1px solid var(--line); border-radius: 16px; padding: clamp(22px, 3vw, 40px); background: rgba(11,8,9,.55); display: flex; flex-direction: column; justify-content: space-between; gap: 22px; }
.quote blockquote { font-size: clamp(17px, 1.3vw, 20px); line-height: 1.55; }
.quote figcaption { color: var(--red); }
.big-q { grid-row: span 2; background: var(--brand); border-color: var(--brand); }
.big-q blockquote { font-family: var(--serif); font-size: clamp(28px, 3vw, 46px); line-height: 1.15; }
.big-q figcaption { color: #fff; }

/* ---------- contact ---------- */
.contact { min-height: 90vh; display: flex; flex-direction: column; justify-content: center; }
.contact .big { font-weight: 850; font-stretch: 108%; text-transform: uppercase; font-size: clamp(42px, 7vw, 96px); line-height: .95; letter-spacing: -.02em; margin-bottom: 40px; text-wrap: balance; max-width: 14ch; }
.contact .big em { font-size: 1.12em; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.mail { font-weight: 700; font-size: clamp(22px, 2.4vw, 34px); overflow-wrap: anywhere; }
.direct .people { display: grid; gap: 26px; margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--line); }
.people a { display: inline-block; margin-top: 8px; }

/* ---------- enquiry form ---------- */
.enquiry { display: grid; gap: 22px; padding: clamp(22px, 3vw, 40px); border: 1px solid var(--line); border-radius: 18px; background: rgba(11,8,9,.6); }
.form-lead { color: var(--dim); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; border: 0; min-width: 0; }
.field > span, .field legend { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.field legend { margin-bottom: 10px; }
.field b { color: var(--red); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--paper); background: rgba(246,240,234,.04);
  border: 1px solid var(--line); border-radius: 10px; padding: 13px 14px; transition: border-color .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--dim) 50%), linear-gradient(135deg, var(--dim) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field select option { background: #1a1214; color: var(--paper); }
.field input::placeholder, .field textarea::placeholder { color: rgba(246,240,234,.45); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(246,240,234,.3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); background: rgba(246,240,234,.07); }
.field input[aria-invalid="true"] { border-color: var(--red); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { cursor: pointer; position: relative; }
.chips input { position: absolute; inset: 0; width: 1px; height: 1px; padding: 0; border: 0; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; transition: background .2s, border-color .2s, color .2s; }
.chips label:hover span { border-color: rgba(246,240,234,.35); }
.chips input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 3px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.form-actions .pill { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 13px; padding: 14px 22px; }
.form-actions .pill:not(.solid) { background: none; color: var(--paper); }
.form-actions .pill:not(.solid):hover { background: var(--paper); color: var(--ink); }
.form-actions svg { width: 20px; height: 20px; }
.form-error { color: #ff8a95; }
.form-done { color: var(--paper); padding: 14px 16px; border-radius: 10px; background: rgba(179,40,52,.22); border: 1px solid rgba(236,70,86,.4); }

/* ---------- floating WhatsApp ---------- */
.wa {
  position: fixed; right: clamp(16px, 2.5vw, 32px); bottom: clamp(16px, 2.5vw, 32px); z-index: 45;
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px 14px 16px; border-radius: 999px;
  background: var(--brand); color: #fff; text-decoration: none; font-weight: 700; font-size: 15px;
  box-shadow: 0 14px 30px -10px rgba(0,0,0,.7);
  transform: translateY(140%); transition: transform .6s var(--ease), background .2s;
}
body.booted .wa { transform: none; }
body.booted .wa.away, body.booted .wa.early { transform: translateY(140%); }
.wa:hover { background: #c8303d; }
.wa svg { width: 24px; height: 24px; }
.foot { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 28px var(--pad) 36px; border-top: 1px solid var(--line); color: var(--dim); }

/* ---------- tablet ---------- */
@media (max-width: 1000px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .track { --cw: min(46vw, 420px); }
}

/* ---------- phone ---------- */
@media (max-width: 760px) {
  .brand span { display: none; }
  .nav .pill { padding: 10px 16px; }
  .zoom { height: 240vh; }
  .track { --cw: 76vw; }
  .founders { grid-template-columns: 1fr 1fr; }
  .contact-grid, .row2 { grid-template-columns: 1fr; }
  .wa { padding: 15px; }
  .wa span { display: none; }
  .founders-lead { grid-column: 1 / -1; }
  .p-case, .quote-grid, .svc li { grid-template-columns: 1fr; }
  .p-gallery { grid-template-columns: 1fr 1fr; }
  .p-gallery .g3 { display: none; }
  .pv { padding: 0; }
  .pv-wrap { grid-template-columns: 1fr; grid-template-rows: 46vh minmax(0, 1fr); border-radius: 0; border: 0; }
  .pv-wrap { position: relative; }
  .pv-top { position: absolute; top: 12px; left: 12px; right: 12px; z-index: 2; }
  .pv-count { background: rgba(11,8,9,.75); color: var(--paper); padding: 6px 10px; border-radius: 6px; }
  .pv-close { background: rgba(11,8,9,.75); }
  .big-q { grid-row: auto; }
  .steps { grid-template-columns: 1fr; }
  .res li { grid-template-columns: 1fr; }
  .hero { height: 220vh; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .grain, .hint .mouse i, .hint svg { animation: none; }
  .hero-title .line > span { transition: none; transform: none; }
}
