/* Haseeb Creates — "cutting room" theme.
   Dark, cinematic, with editing-suite details: viewfinder frames, timecode, colour-labelled tracks. */

@font-face { font-family: 'Syne'; src: url('../fonts/syne-latin.woff2') format('woff2'); font-weight: 400 800; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('../fonts/manrope-latin.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('../fonts/jetbrains-mono-latin.woff2') format('woff2'); font-weight: 500; font-display: swap; }

:root {
  --bg: #0a0a0b;
  --bg-2: #0e0e10;
  --surface: #141417;
  --surface-2: #1b1b1f;
  --surface-3: #232328;
  --line: #26262b;
  --line-2: #36363d;
  --text: #f3eee6;
  --text-2: #c2bbb0;
  --muted: #8d877d;
  --accent: #ff5b2e;
  --accent-2: #ffb547;
  --accent-ink: #0a0a0b;
  --beige: #e1d7c6;
  --rec: #ff3b30;
  --ok: #34d399;
  /* Editing-software clip label colours, used for tracks. */
  --l1: #ff8a3d; --l2: #ff6b8b; --l3: #2fd3b5; --l4: #b49cff; --l5: #4dabf7; --l6: #ffd43b;

  --f-display: 'Syne', 'Arial Black', system-ui, sans-serif;
  --f-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 18px;
  --radius-sm: 10px;
  --hdr: 72px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  --sec: clamp(72px, 11vw, 150px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1.0625rem/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; text-rendering: optimizeLegibility;
}
/* Film grain over everything. */
body::after {
  content: ''; position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: .06;
  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='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%, 100% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); }
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 700; line-height: 1.05; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }
.muted { color: var(--muted); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: .28s var(--ease-io) both vt-out; }
::view-transition-new(root) { animation: .38s var(--ease) both vt-in; }
@keyframes vt-out { to { opacity: 0; transform: scale(.985); } }
@keyframes vt-in { from { opacity: 0; } }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

/* ---------- Type ---------- */
.display { font-size: clamp(2.5rem, 6.4vw, 5.9rem); font-weight: 700; line-height: .98; letter-spacing: -.035em; }
.display-2 { font-size: clamp(2.2rem, 5.2vw, 4.6rem); line-height: 1; letter-spacing: -.03em; }
.h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); letter-spacing: -.03em; }
.h3 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); letter-spacing: -.015em; line-height: 1.15; margin: 0 0 .5em; }
.hl {
  font-style: normal;
  background: linear-gradient(95deg, var(--accent) 10%, var(--accent-2) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.lead { font-size: clamp(1.08rem, 1.6vw, 1.3rem); color: var(--text-2); max-width: 46ch; line-height: 1.6; }
.lead p:last-child { margin-bottom: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  font: 500 .78rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2);
}
.eyebrow::before { content: ''; width: 26px; height: 1px; background: currentColor; }
.prose { color: var(--text-2); font-size: 1.08rem; }
.prose strong { color: var(--text); font-weight: 700; }
.prose a, .lead a, .sec-text a, .faq-a a, .consent a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--line-2);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 1px solid var(--b);
  font: 600 .98rem/1.1 var(--f-body); letter-spacing: -.005em; white-space: nowrap;
  background: transparent; color: var(--text); overflow: hidden; isolation: isolate;
  transition: color .35s var(--ease), border-color .35s var(--ease), transform .2s var(--ease);
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--text); transform: translateY(101%); transition: transform .45s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--bg); border-color: var(--text); }
.btn:active { transform: scale(.97); }
.btn .icon { transition: transform .35s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn-accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-accent::before { background: var(--accent-2); }
.btn-accent:hover { color: var(--accent-ink); border-color: var(--accent-2); }
.btn-lg { min-height: 56px; padding: 14px 28px; font-size: 1.05rem; }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: .9rem; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hdr);
  transition: background .4s var(--ease), transform .45s var(--ease), border-color .4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { background: rgba(10, 10, 11, .78); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom-color: var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-hidden:focus-within { transform: none; }
.hdr-inner { height: 100%; display: flex; align-items: center; gap: 28px; width: min(100% - 2 * var(--gutter), 1400px); margin-inline: auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 1.28rem/1 var(--f-display); letter-spacing: -.03em; }
.brand-word b { color: var(--muted); font-weight: 600; transition: color .3s; }
.brand:hover .brand-word b { color: var(--accent); }
.brand-logo { height: 40px; width: auto; }
.rec-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--rec); box-shadow: 0 0 0 4px rgba(255, 59, 48, .18); animation: blink 1.6s steps(2, jump-none) infinite; }
@keyframes blink { 50% { opacity: .25; } }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 4px; }
.nav a { position: relative; display: block; padding: 10px 14px; font-weight: 600; font-size: .95rem; color: var(--text-2); transition: color .25s; }
.nav a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav a:hover, .nav a[aria-current] { color: var(--text); }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.hdr-right { display: flex; align-items: center; gap: 16px; }
.tc { display: inline-flex; align-items: center; gap: 8px; font: 500 .78rem/1 var(--f-mono); color: var(--muted); letter-spacing: .06em; padding: 7px 10px; border: 1px solid var(--line); border-radius: 6px; font-variant-numeric: tabular-nums; }
.tc-label { color: var(--accent); }
.scrub { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: transparent; opacity: 0; transition: opacity .3s; }
.is-scrolled .scrub { opacity: 1; }
.scrub-fill { position: absolute; inset: 0 auto 0 0; width: calc(var(--p, 0) * 100%); background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.scrub-fill::after { content: ''; position: absolute; right: -1px; top: -5px; width: 2px; height: 12px; background: var(--accent-2); box-shadow: 0 0 10px var(--accent-2); }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; position: relative; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-btn span:first-child { top: 18px; }
.menu-btn span:last-child { top: 26px; }
.menu-open .menu-btn span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .menu-btn span:last-child { top: 22px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45; background: var(--bg); padding: calc(var(--hdr) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--ease-io); visibility: hidden;
}
.mobile-menu[hidden] { display: flex; }
.menu-open .mobile-menu { clip-path: inset(0); visibility: visible; }
.mobile-menu ol li { border-bottom: 1px solid var(--line); overflow: hidden; }
.mobile-menu ol a { display: flex; align-items: baseline; gap: 16px; padding: 16px 0; font: 700 clamp(2rem, 9vw, 3rem)/1 var(--f-display); letter-spacing: -.03em; transform: translateY(100%); transition: transform .6s var(--ease); }
.menu-open .mobile-menu ol a { transform: none; }
.menu-open .mobile-menu li:nth-child(2) a { transition-delay: .05s; }
.menu-open .mobile-menu li:nth-child(3) a { transition-delay: .1s; }
.menu-open .mobile-menu li:nth-child(4) a { transition-delay: .15s; }
.menu-open .mobile-menu li:nth-child(5) a { transition-delay: .2s; }
.mobile-menu a[aria-current] { color: var(--accent); }
.mm-num { font: 500 .8rem var(--f-mono); color: var(--muted); }
.mm-foot { display: flex; flex-direction: column; gap: 16px; color: var(--text-2); }

/* ---------- Shared bits ---------- */
.avail { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 7px 14px 7px 12px; border: 1px solid var(--line-2); border-radius: 999px; font-size: .85rem; font-weight: 600; color: var(--text-2); background: rgba(255, 255, 255, .02); }
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.pulse::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--ok); animation: ping 2s var(--ease) infinite; }
@keyframes ping { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }

/* Viewfinder corners. */
.vf { position: absolute; width: 22px; height: 22px; border: 0 solid var(--text); z-index: 3; pointer-events: none; opacity: .9; }
.vf-tl { top: 14px; left: 14px; border-width: 2px 0 0 2px; }
.vf-tr { top: 14px; right: 14px; border-width: 2px 2px 0 0; }
.vf-bl { bottom: 14px; left: 14px; border-width: 0 0 2px 2px; }
.vf-br { bottom: 14px; right: 14px; border-width: 0 2px 2px 0; }

section { position: relative; }
.sec-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }
.sec-text { color: var(--text-2); font-size: 1.1rem; margin-top: 20px; max-width: 58ch; }
.sec-head.center .sec-text { margin-inline: auto; }
.sec-text p:last-child { margin: 0; }
.split-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(36px, 5vw, 60px); }
.split-head .sec-head { margin: 0; }

/* ---------- Hero ---------- */
.hero { padding: calc(var(--hdr) + clamp(36px, 7vw, 90px)) 0 0; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; z-index: -1;
  background: radial-gradient(closest-side, rgba(255, 91, 46, .22), rgba(255, 181, 71, .06) 55%, transparent 75%);
  filter: blur(20px);
}
.hero-grid { display: grid; grid-template-columns: 1.25fr .85fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero-title { margin-bottom: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-frame { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--surface); aspect-ratio: 4 / 5; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); }
.hero-frame.is-small { aspect-ratio: 4 / 5; }
.hf-media { position: absolute; inset: -6% 0; }
.hf-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; filter: contrast(1.08); }
.hero-frame::after { content: ''; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, transparent 55%, rgba(10, 10, 11, .75)), linear-gradient(120deg, rgba(255, 91, 46, .14), transparent 45%); mix-blend-mode: normal; pointer-events: none; }
.hf-rec, .player-rec, .cta-rec { position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 8px; font: 500 .75rem/1 var(--f-mono); letter-spacing: .12em; color: var(--text); }
.hf-rec { top: 22px; left: 46px; }
.hf-rec i, .player-rec i, .cta-rec i { width: 9px; height: 9px; border-radius: 50%; background: var(--rec); animation: blink 1.2s steps(2, jump-none) infinite; }
.hf-clip { position: absolute; z-index: 4; top: 22px; right: 46px; font: 500 .7rem/1 var(--f-mono); letter-spacing: .08em; color: var(--text-2); }
.hf-tc { position: absolute; z-index: 4; left: 0; right: 0; bottom: 46px; text-align: center; font: 500 clamp(1rem, 1.6vw, 1.25rem)/1 var(--f-mono); letter-spacing: .08em; color: var(--text); font-variant-numeric: tabular-nums; text-shadow: 0 2px 12px rgba(0, 0, 0, .6); }
.hf-meta { position: absolute; z-index: 4; left: 0; right: 0; bottom: 24px; text-align: center; font: 500 .66rem/1 var(--f-mono); letter-spacing: .14em; color: var(--muted); }

.marquee { margin-top: clamp(56px, 8vw, 110px); border-block: 1px solid var(--line); padding: 22px 0; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 40px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font: 800 clamp(2.2rem, 5vw, 4.2rem)/1 var(--f-display); letter-spacing: -.02em; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1px var(--line-2); transition: color .3s, -webkit-text-stroke-color .3s; white-space: nowrap; }
.marquee span:nth-of-type(3n+1) { -webkit-text-stroke-color: var(--muted); }
.marquee span:hover { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.marquee i { font-style: normal; color: var(--accent); font-size: 1.6rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats-sec { padding: clamp(56px, 8vw, 96px) 0 0; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { padding: clamp(24px, 3.4vw, 40px); display: flex; flex-direction: column; gap: 10px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong { font: 700 clamp(2.6rem, 5vw, 4rem)/1 var(--f-display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.stat span { color: var(--text-2); max-width: 26ch; }

/* ---------- Player ---------- */
.showreel-sec { padding: var(--sec) 0 0; }
.player { position: relative; aspect-ratio: var(--ar, 16 / 9); border-radius: var(--radius); overflow: hidden; background: #000; isolation: isolate; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9), 0 0 0 1px var(--line); }
.player > video, .player > img, .player > iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.player > iframe, .player.is-playing > video { object-fit: contain; z-index: 6; }
.player::after { content: ''; position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse at center, rgba(0, 0, 0, .05), rgba(0, 0, 0, .55)); pointer-events: none; transition: opacity .4s; }
.player .vf { opacity: .75; }
.player-rec { top: 22px; left: 46px; }
.player-dur { position: absolute; z-index: 4; bottom: 22px; right: 46px; font: 500 .78rem/1 var(--f-mono); letter-spacing: .08em; padding: 6px 9px; border-radius: 6px; background: rgba(0, 0, 0, .55); }
.play-btn {
  position: absolute; z-index: 5; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: clamp(84px, 11vw, 132px); aspect-ratio: 1; border-radius: 50%; border: 0; padding: 0;
  display: grid; place-items: center; background: var(--accent); color: var(--accent-ink);
  transition: transform .45s var(--ease), background .3s;
}
.play-btn:hover { transform: translate(-50%, -50%) scale(1.08); background: var(--accent-2); }
.play-icon { width: 34%; height: 34%; margin-left: 6%; }
.play-ring { position: absolute; inset: -12px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .45); animation: ring 2.6s var(--ease) infinite; }
@keyframes ring { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.play-label { position: absolute; top: calc(100% + 18px); white-space: nowrap; font: 500 .75rem/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--text); }
.player.is-playing .play-btn, .player.is-playing .vf, .player.is-playing .player-rec, .player.is-playing .player-dur, .player.is-playing::after { opacity: 0; visibility: hidden; }
.js .player:not(.is-playing) > video { pointer-events: none; }
.no-js .play-btn { display: none; }

/* ---------- Work cards ---------- */
.work-sec { padding: var(--sec) 0 0; }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 32px); }
.work-grid.is-featured { grid-template-columns: repeat(12, 1fr); }
.work-grid.is-featured > :nth-child(4n+1), .work-grid.is-featured > :nth-child(4n+4) { grid-column: span 7; }
.work-grid.is-featured > :nth-child(4n+2), .work-grid.is-featured > :nth-child(4n+3) { grid-column: span 5; }
.work-grid.is-featured > :only-child { grid-column: 1 / -1; }
.work-card { min-width: 0; }
.work-card.is-hidden { display: none; }
.wc-link { display: flex; flex-direction: column; height: 100%; }
.wc-media { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.work-grid.is-featured .wc-media { aspect-ratio: auto; height: clamp(240px, 32vw, 420px); }
.wc-media img, .wc-preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), opacity .5s; }
.wc-preview { opacity: 0; }
.work-card.is-previewing .wc-preview { opacity: 1; }
.wc-link:hover .wc-media img, .wc-link:hover .wc-preview { transform: scale(1.045); }
.wc-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .55)); pointer-events: none; }
.wc-noposter { position: absolute; inset: 0; display: grid; place-items: center; color: var(--line-2); }
.wc-noposter .icon { width: 48px; height: 48px; }
.wc-play { position: absolute; z-index: 2; left: 18px; bottom: 18px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(10, 10, 11, .55); backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .2); transition: background .3s, transform .45s var(--ease), color .3s; }
.wc-play .icon { width: 16px; height: 16px; margin-left: 2px; }
.wc-link:hover .wc-play { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); transform: scale(1.1); }
.wc-dur { position: absolute; z-index: 2; right: 16px; bottom: 18px; font: 500 .75rem/1 var(--f-mono); padding: 6px 8px; border-radius: 6px; background: rgba(0, 0, 0, .6); letter-spacing: .06em; }
.wc-info { position: relative; padding: 20px 52px 0 2px; }
.wc-cat { margin: 0 0 8px; font: 500 .72rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); }
.wc-title { font-size: clamp(1.3rem, 2vw, 1.65rem); letter-spacing: -.02em; line-height: 1.12; transition: color .3s; }
.wc-link:hover .wc-title { color: var(--accent); }
.wc-sum { margin: 10px 0 0; color: var(--muted); font-size: .97rem; line-height: 1.55; }
.wc-arrow { position: absolute; top: 18px; right: 0; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: transform .45s var(--ease), background .3s, border-color .3s, color .3s; }
.wc-link:hover .wc-arrow { transform: rotate(45deg); background: var(--text); color: var(--bg); border-color: var(--text); }

/* ---------- Services as timeline tracks ---------- */
.services-sec { padding: var(--sec) 0 0; }
.tracks { position: relative; display: grid; gap: 10px; counter-reset: trk; }
.tracks::before { /* the playhead */
  content: ''; position: absolute; z-index: 3; top: -14px; bottom: -14px; left: calc(72px + (100% - 72px) * var(--ph, .12)); width: 2px;
  background: var(--accent); box-shadow: 0 0 14px rgba(255, 91, 46, .7); pointer-events: none; transition: left .1s linear;
}
.tracks::after { content: ''; position: absolute; z-index: 3; top: -22px; left: calc(72px + (100% - 72px) * var(--ph, .12) - 7px); width: 16px; height: 12px; background: var(--accent); clip-path: polygon(0 0, 100% 0, 100% 55%, 50% 100%, 0 55%); transition: left .1s linear; }
.track { --c: var(--l1); display: grid; grid-template-columns: 62px 1fr; gap: 10px; align-items: stretch; }
.track:nth-child(6n+2) { --c: var(--l2); }
.track:nth-child(6n+3) { --c: var(--l3); }
.track:nth-child(6n+4) { --c: var(--l4); }
.track:nth-child(6n+5) { --c: var(--l5); }
.track:nth-child(6n+6) { --c: var(--l6); }
.track-id { display: grid; place-items: center; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); font: 500 .85rem/1 var(--f-mono); color: var(--c); }
.track-clip {
  position: relative; display: flex; gap: 20px; align-items: flex-start; padding: 22px 26px 30px; overflow: hidden;
  border-radius: var(--radius-sm); background: color-mix(in srgb, var(--c) 9%, var(--surface)); border: 1px solid color-mix(in srgb, var(--c) 28%, transparent);
  transition: background .4s, transform .5s var(--ease);
}
.track-clip::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--c); }
.track:hover .track-clip { background: color-mix(in srgb, var(--c) 16%, var(--surface)); transform: translateX(6px); }
.track-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; flex: none; background: color-mix(in srgb, var(--c) 18%, transparent); color: var(--c); }
.track-icon .icon { width: 22px; height: 22px; }
.track-title { font-size: clamp(1.2rem, 2vw, 1.5rem); margin: 4px 0 8px; }
.track-text { margin: 0; color: var(--text-2); max-width: 64ch; }
.track-points { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; }
.track-points li { display: inline-flex; align-items: center; gap: 7px; font-size: .93rem; color: var(--text); }
.track-points .icon { color: var(--c); width: 16px; height: 16px; }
.track-wave { position: absolute; left: 26px; right: 26px; bottom: 10px; height: 10px; opacity: .45;
  background: repeating-linear-gradient(90deg, var(--c) 0 2px, transparent 2px 5px);
  -webkit-mask: linear-gradient(transparent, #000), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 10' preserveAspectRatio='none'%3E%3Cpath d='M0 10V6l10-3 10 5 10-6 10 4 10-2 10 5 10-4 10 3 10-6 10 5 10-2 10 4 10-5 10 3 10-1 10 4 10-6 10 5 10-3 10 4 10-2 10 5 10-5 10 3 10-4 10 6 10-3 10 1 10 4 10-5 10 3 10-2 10 4 10-6 10 5 10-3 10 2 10-1v6z'/%3E%3C/svg%3E") 0 0 / 100% 100%;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 10' preserveAspectRatio='none'%3E%3Cpath d='M0 10V6l10-3 10 5 10-6 10 4 10-2 10 5 10-4 10 3 10-6 10 5 10-2 10 4 10-5 10 3 10-1 10 4 10-6 10 5 10-3 10 4 10-2 10 5 10-5 10 3 10-4 10 6 10-3 10 1 10 4 10-5 10 3 10-2 10 4 10-6 10 5 10-3 10 2 10-1v6z'/%3E%3C/svg%3E") 0 0 / 100% 100%;
}
.tracks.is-detailed .track-clip { padding-bottom: 34px; }

/* ---------- Journey / timeline ---------- */
.journey-sec { padding: var(--sec) 0 0; }
.journey-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.journey-grid .sec-head { position: sticky; top: calc(var(--hdr) + 32px); }
.timeline { position: relative; border-left: 1px solid var(--line-2); padding-left: clamp(24px, 3vw, 40px); display: grid; gap: 44px; }
.tl-item { position: relative; }
.tl-item::before { content: ''; position: absolute; left: calc(-1 * clamp(24px, 3vw, 40px) - 6px); top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); }
.tl-period { display: inline-block; margin-bottom: 12px; font: 500 .8rem/1 var(--f-mono); letter-spacing: .1em; color: var(--accent-2); padding: 6px 10px; border: 1px solid var(--line-2); border-radius: 6px; }
.tl-role { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.tl-company { margin: 6px 0 12px; color: var(--muted); font-weight: 600; }
.tl-text { margin: 0; color: var(--text-2); max-width: 52ch; }

/* ---------- About teaser / story ---------- */
.about-teaser, .story-sec { padding: var(--sec) 0 0; }
.about-grid, .story-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.about-photo { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; background: var(--surface); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) contrast(1.05); transition: transform 1.2s var(--ease); }
.about-photo:hover img { transform: scale(1.04); }
.about-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 50%, rgba(255, 91, 46, .18)); pointer-events: none; }
.story-grid .prose .sec-head { margin-bottom: 0; }
.story-grid .sec-text { font-size: 1.08rem; }

/* ---------- Expertise ---------- */
.expertise-sec, .toolkit-sec { padding: var(--sec) 0 0; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.xcard { padding: 28px 24px 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, transform .5s var(--ease), background .3s; }
.xcard:hover { border-color: var(--accent); transform: translateY(-6px); background: var(--surface-2); }
.xcard-n { display: block; font: 500 .8rem/1 var(--f-mono); color: var(--accent); margin-bottom: 44px; }
.xcard h3 { font-size: 1.35rem; margin-bottom: 10px; }
.xcard p { margin: 0; color: var(--text-2); font-size: .98rem; }
.tool-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.tool-chips li { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .93rem; font-weight: 600; color: var(--text-2); background: var(--surface); }

/* ---------- Process ---------- */
.process-sec { padding: var(--sec) 0 0; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-2); }
.step { position: relative; padding: 32px 26px 0 0; }
.step::before { content: ''; position: absolute; left: 0; top: -1px; height: 2px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease) calc(var(--i, 0) * .18s + .2s); }
.step.is-in::before, .no-js .step::before, .reduced .step::before { transform: none; }
.step-n { display: block; font: 700 3.4rem/1 var(--f-display); color: transparent; -webkit-text-stroke: 1px var(--muted); margin-bottom: 22px; letter-spacing: -.04em; }
.step-title { font-size: 1.4rem; margin-bottom: 10px; }
.step p { margin: 0; color: var(--text-2); font-size: .98rem; }

/* ---------- Testimonials ---------- */
.quotes-sec { padding: var(--sec) 0 0; }
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.quotes.is-single { grid-template-columns: 1fr; max-width: 980px; margin-inline: auto; }
.quote { position: relative; margin: 0; padding: clamp(28px, 4vw, 52px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.quote-mark { width: 48px; height: 48px; color: var(--accent); margin-bottom: 20px; }
.quote blockquote { margin: 0; }
.quote blockquote p { font: 600 clamp(1.3rem, 2.6vw, 2rem)/1.3 var(--f-display); letter-spacing: -.02em; margin: 0; }
.quotes.is-single .quote { text-align: center; }
.quotes.is-single .quote-mark { margin-inline: auto; }
.quote figcaption { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.quotes.is-single figcaption { justify-content: center; }
.quote figcaption strong { display: block; }
.quote figcaption small { display: block; color: var(--muted); font-size: .88rem; }
.quote-photo { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }

/* ---------- FAQ ---------- */
.faq-sec { padding: var(--sec) 0 0; }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-grid .sec-head { position: sticky; top: calc(var(--hdr) + 32px); }
.faq { border-top: 1px solid var(--line-2); }
.faq-item { border-bottom: 1px solid var(--line-2); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; cursor: pointer; list-style: none; font: 600 clamp(1.08rem, 1.8vw, 1.3rem)/1.3 var(--f-display); letter-spacing: -.01em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent-2); }
.faq-icon { width: 34px; height: 34px; padding: 7px; border-radius: 50%; border: 1px solid var(--line-2); transition: transform .45s var(--ease), background .3s, color .3s; }
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.faq-a { padding: 0 54px 24px 0; color: var(--text-2); }
.faq-a p:last-child { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { padding: var(--sec) 0 0; }
.cta-inner {
  position: relative; overflow: hidden; text-align: center; padding: clamp(56px, 9vw, 120px) clamp(20px, 5vw, 64px);
  border-radius: calc(var(--radius) * 1.6); border: 1px solid var(--line);
  background: radial-gradient(80% 120% at 50% 120%, rgba(255, 91, 46, .38), transparent 60%), var(--surface);
}
.cta-inner::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; opacity: .35; -webkit-mask: radial-gradient(ellipse at center, #000, transparent 70%); mask: radial-gradient(ellipse at center, #000, transparent 70%); pointer-events: none; }
.cta-inner > * { position: relative; }
.cta-rec { position: absolute; top: 24px; left: 28px; }
.cta-inner .display-2 { max-width: 15ch; margin: 0 auto 20px; }
.cta-inner .lead { margin: 0 auto; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* ---------- Page hero + slate ---------- */
.page-hero { padding: calc(var(--hdr) + clamp(40px, 7vw, 96px)) 0 0; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; z-index: -1; right: -10%; top: -30%; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; background: radial-gradient(closest-side, rgba(255, 91, 46, .16), transparent 70%); filter: blur(20px); }
.page-hero .display { max-width: 16ch; margin-bottom: 24px; }
.crumbs { margin-bottom: 26px; font: 500 .78rem/1.4 var(--f-mono); letter-spacing: .06em; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs li + li::before { content: '/'; margin-right: 8px; color: var(--line-2); }
.crumbs a:hover { color: var(--text); }
.crumbs [aria-current] { color: var(--text-2); }
.slate { position: relative; display: grid; grid-template-columns: repeat(5, auto); width: max-content; max-width: 100%; margin-top: clamp(36px, 5vw, 56px); border: 1px solid var(--line-2); border-radius: var(--radius-sm); overflow: hidden; background: var(--surface); }
.slate::before { content: ''; grid-column: 1 / -1; height: 14px; background: repeating-linear-gradient(-45deg, var(--text) 0 14px, var(--bg) 14px 28px); opacity: .9; }
.slate div { padding: 12px 22px 14px; border-right: 1px solid var(--line); }
.slate div:last-child { border-right: 0; }
.slate dt { font: 500 .62rem/1 var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.slate dd { font: 500 .95rem/1 var(--f-mono); letter-spacing: .04em; white-space: nowrap; }
.about-hero .avail { margin-top: 26px; }
.about-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 6vw, 96px); align-items: center; }

/* ---------- Portfolio ---------- */
.portfolio-sec { padding: clamp(48px, 6vw, 80px) 0 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filter { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; font-weight: 600; font-size: .93rem; color: var(--text-2); transition: background .3s, color .3s, border-color .3s; }
.filter em { font: 500 .75rem var(--f-mono); font-style: normal; color: var(--muted); margin-left: 4px; }
.filter:hover { border-color: var(--text); color: var(--text); }
.filter.is-on { background: var(--text); color: var(--bg); border-color: var(--text); }
.filter.is-on em { color: var(--surface-3); }
.work-card.is-entering { animation: card-in .6s var(--ease) both; }
@keyframes card-in { from { opacity: 0; transform: translateY(20px) scale(.98); } }

/* ---------- Project page ---------- */
.project-head { padding: calc(var(--hdr) + clamp(36px, 6vw, 80px)) 0 clamp(32px, 4vw, 48px); }
.project-head .display { font-size: clamp(2.3rem, 5.6vw, 5rem); max-width: 18ch; margin-bottom: 20px; }
.project-player.is-tall { max-width: 520px; margin-inline: auto; }
.project-body { display: grid; grid-template-columns: 320px 1fr; gap: clamp(32px, 6vw, 96px); padding-top: clamp(48px, 6vw, 80px); align-items: start; }
.project-facts { position: sticky; top: calc(var(--hdr) + 28px); padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.project-facts dl div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.project-facts dl div:first-child { padding-top: 0; }
.project-facts dt { font: 500 .72rem/1.6 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.project-facts dd { font-weight: 600; text-align: right; }
.facts-h { font: 500 .72rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 22px 0 14px; }
.project-facts .tool-chips li { font-size: .84rem; padding: 7px 12px; }
.project .prose { font-size: 1.15rem; line-height: 1.75; }
.project-cta { margin-top: 44px; padding: 30px; border-radius: var(--radius); border: 1px dashed var(--line-2); }
.project-cta .h3 { color: var(--text); }
.pn { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: clamp(56px, 7vw, 96px); }
.pn-link { display: flex; flex-direction: column; gap: 8px; padding: 26px 28px; border-radius: var(--radius); border: 1px solid var(--line); transition: border-color .3s, background .3s; }
.pn-link span { font: 500 .75rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pn-link strong { font: 700 clamp(1.1rem, 2vw, 1.5rem)/1.2 var(--f-display); letter-spacing: -.02em; }
.pn-link:hover { border-color: var(--accent); background: var(--surface); }
.pn-link.is-next { text-align: right; }

/* ---------- Contact ---------- */
.contact-sec { padding: clamp(48px, 6vw, 80px) 0 0; }
.contact-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.cform { padding: clamp(24px, 4vw, 48px); border-radius: calc(var(--radius) * 1.3); background: var(--surface); border: 1px solid var(--line); }
.cform .h3 { margin-bottom: 26px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fld { margin: 0 0 18px; border: 0; padding: 0; min-width: 0; }
.fld label, .fld legend { display: block; margin-bottom: 8px; font-size: .88rem; font-weight: 700; color: var(--text-2); padding: 0; }
.fld input, .fld select, .fld textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-2);
  transition: border-color .25s, box-shadow .25s; font-size: 1rem;
}
.fld textarea { resize: vertical; min-height: 140px; line-height: 1.55; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255, 91, 46, .16); }
.fld.has-err input, .fld.has-err textarea { border-color: var(--rec); }
.fld-err { margin: 6px 0 0; color: #ff8c84; font-size: .86rem; min-height: 0; }
.fld-err:empty { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .9rem; font-weight: 600; color: var(--text-2); cursor: pointer; transition: all .25s; }
.chip:hover span { border-color: var(--text); color: var(--text); }
.chip input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.chip input:focus-visible + span { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 6px; font-size: .9rem; color: var(--text-2); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.cform .btn { margin-top: 18px; }
.form-status { display: none; margin-bottom: 20px; padding: 14px 16px; border-radius: 12px; font-weight: 600; }
.form-status.is-ok { display: block; background: rgba(52, 211, 153, .1); border: 1px solid rgba(52, 211, 153, .4); color: #8ef0c4; }
.form-status.is-err { display: block; background: rgba(255, 59, 48, .1); border: 1px solid rgba(255, 59, 48, .4); color: #ff9e98; }
.contact-side { position: sticky; top: calc(var(--hdr) + 28px); }
.contact-side > p { color: var(--text-2); }
.next-steps { display: grid; gap: 10px; margin: 24px 0; counter-reset: none; }
.next-steps li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); color: var(--text-2); font-size: .97rem; }
.next-steps span { flex: none; font: 500 .78rem/1.9 var(--f-mono); color: var(--accent); }
.mm-foot .btn { align-self: flex-start; }
.contact-list { display: grid; gap: 10px; margin: 24px 0; }
.contact-list a, .cl-static { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); transition: border-color .3s, background .3s; word-break: break-word; }
.contact-list a:hover { border-color: var(--accent); background: var(--surface); }
.contact-list .icon { width: 22px; height: 22px; color: var(--accent); }
.contact-list small { display: block; font: 500 .68rem/1.4 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ---------- Socials ---------- */
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--text-2); transition: all .3s; }
.socials a:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); transform: translateY(-3px); }
.socials .icon { width: 18px; height: 18px; }
.socials-lg a { width: 48px; height: 48px; }

/* ---------- Legal / 404 ---------- */
.legal-sec { padding: clamp(48px, 6vw, 80px) 0 0; }
.legal { max-width: 760px; }
.nf { min-height: 80vh; display: grid; align-items: center; }
.nf-code { display: flex; gap: .05em; font: 800 clamp(5rem, 18vw, 13rem)/1 var(--f-display); letter-spacing: -.05em; margin: 0 0 12px; color: transparent; -webkit-text-stroke: 1px var(--line-2); }
.nf-0 { color: var(--accent); -webkit-text-stroke: 0; animation: blink 1.4s steps(2, jump-none) infinite; }

/* ---------- Footer ---------- */
.site-footer { margin-top: var(--sec); padding: clamp(64px, 9vw, 120px) 0 28px; border-top: 1px solid var(--line); background: var(--bg-2); }
.ft-cta { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; padding-bottom: clamp(48px, 7vw, 88px); border-bottom: 1px solid var(--line); }
.ft-big { margin: 0; font: 700 clamp(2rem, 5vw, 4rem)/1.02 var(--f-display); letter-spacing: -.035em; max-width: 16ch; }
.ft-mail { display: inline-flex; align-items: center; gap: 12px; font: 600 clamp(1.05rem, 2.2vw, 1.6rem)/1.2 var(--f-display); letter-spacing: -.01em; padding-bottom: 6px; border-bottom: 2px solid var(--accent); word-break: break-all; }
.ft-mail .icon { transition: transform .4s var(--ease); color: var(--accent); }
.ft-mail:hover .icon { transform: translate(4px, -4px); }
.ft-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.3fr; gap: 40px; padding: 56px 0; }
.ft-contact { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 18px 0 0; font-size: .95rem; color: var(--text-2); }
.ft-contact a:hover { color: var(--accent); }
.ft-brand p { color: var(--muted); max-width: 34ch; margin: 18px 0; font-size: .97rem; }
.ft-brand .avail { margin: 0; }
.ft-h { font: 500 .72rem/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.ft-col ul { display: grid; gap: 10px; }
.ft-col a { color: var(--text-2); transition: color .25s; font-size: .97rem; word-break: break-word; }
.ft-col a:hover { color: var(--accent); }
.ft-col li { color: var(--text-2); }
.ft-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.ft-bottom p { margin: 0; }
.ft-bottom a:hover { color: var(--text); }
.to-top { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: all .3s; }
.to-top:hover { background: var(--text); color: var(--bg); transform: translateY(-3px); }

/* ---------- Scroll reveal (only when JS runs and motion is welcome) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(0 0 calc(100% - 2px) 0); transition: clip-path 1.1s var(--ease-io); transition-delay: var(--d, 0s); }
.js [data-reveal="clip"].is-in { clip-path: inset(0 0 -10% 0); }
.js [data-reveal="frame"] { opacity: 1; transform: scale(.94); clip-path: inset(0 calc(50% - 1px) 0 calc(50% - 1px)); transition: clip-path 1.2s var(--ease-io), transform 1.6s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="frame"].is-in { clip-path: inset(0 0 0 0 round var(--radius)); transform: none; }
.js [data-reveal="track"] { opacity: 1; transform: none; }
.js [data-reveal="track"] .track-clip { clip-path: inset(0 calc(100% - 2px) 0 0); transition: clip-path 1s var(--ease-io) calc(var(--i, 0) * .09s), background .4s, transform .5s var(--ease); }
.js [data-reveal="track"].is-in .track-clip { clip-path: inset(0 -20px 0 0); }
.js [data-reveal="words"] { opacity: 1; transform: none; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.wi { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--d, 0s) + var(--wi, 0) * .045s); }
.is-in .wi { transform: none; }
/* Gradient highlight survives the word split: each word paints its own slice. */
.hl:has(.w), .hl .w { background: none; }
.hl .wi { background: linear-gradient(95deg, var(--accent) 10%, var(--accent-2) 120%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* If the main script never loads, show everything after a moment instead of leaving it hidden. */
.js:not(.js-ready) [data-reveal], .js:not(.js-ready) [data-reveal] .track-clip { animation: failsafe .4s 2.5s forwards; }
@keyframes failsafe { to { opacity: 1; transform: none; clip-path: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js [data-reveal] .track-clip { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .wi { transform: none !important; }
  .marquee-track { animation: none; }
  body::after { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .ft-grid { grid-template-columns: 1fr 1fr; }
  .ft-brand { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
}
@media (max-width: 900px) {
  :root { --hdr: 64px; }
  .nav, .tc, .hdr-cta { display: none; }
  .menu-btn { display: block; }
  .hdr-right { margin-left: auto; }
  .hero-grid, .about-hero-grid { grid-template-columns: 1fr; }
  .hero-frame { max-width: 460px; width: 100%; aspect-ratio: 4 / 4.6; }
  .about-hero-grid .hero-frame { order: -1; max-width: 360px; }
  .journey-grid, .about-grid, .story-grid, .faq-grid, .contact-grid, .project-body { grid-template-columns: 1fr; }
  .journey-grid .sec-head, .faq-grid .sec-head, .project-facts, .contact-side { position: static; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid.is-featured > * { grid-column: span 6 !important; }
  .work-grid.is-featured .wc-media { height: auto; aspect-ratio: 16 / 10; }
  .quotes { grid-template-columns: 1fr; }
  .split-head { flex-direction: column; align-items: flex-start; }
  .about-photo { max-width: 520px; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .work-grid { grid-template-columns: 1fr; }
  .work-grid.is-featured > * { grid-column: 1 / -1 !important; }
  .cards-4, .steps { grid-template-columns: 1fr; }
  /* Footer menus stay side by side on phones. */
  .ft-grid { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .ft-col a { font-size: .93rem; }
  .frow { grid-template-columns: 1fr; }
  .track { grid-template-columns: 1fr; gap: 0; }
  .track-id { justify-items: start; padding: 0 0 8px 4px; background: none; border: 0; }
  .tracks::before, .tracks::after { display: none; }
  .track-clip { flex-direction: column; gap: 14px; padding: 20px 20px 30px; }
  .hero-cta .btn, .cta-actions .btn { width: 100%; }
  .slate { grid-template-columns: repeat(3, 1fr); width: 100%; }
  .slate div { padding: 10px 14px 12px; border-bottom: 1px solid var(--line); }
  .slate div:nth-child(4) { border-right: 1px solid var(--line); }
  .slate dd { font-size: .82rem; }
  .pn { grid-template-columns: 1fr; }
  .pn-link.is-next { text-align: left; }
  .faq-a { padding-right: 0; }
  .hf-clip { display: none; }
  .play-label { display: none; }
  .ft-cta { flex-direction: column; align-items: flex-start; }
  .cta-rec { left: 50%; transform: translateX(-50%); }
}
