/* Cutfinity website. Brand tokens match cutfinity-brand/brand-guide.html
   Design language: the CUT (snip diagonal), the TIMELINE (timecodes, playheads, rulers),
   the CAMERA (viewfinder marks, REC, formats, grain). */
:root {
  --ink: #0D0D12;
  --ink-2: #111118;
  --graphite: #16161D;
  --line: #272733;
  --line-2: #34343f;
  --paper: #F5F3EE;
  --paper-2: #ECE9E1;
  --mist: #9A99A6;
  --mist-2: #6b6a77;
  --orange: #FF5B1F;
  --orange-hover: #FF7240;
  --violet: #7A5CFF;
  --display: "Sora", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --radius: 14px;
  --container: 1200px;
  --snip: 16.7deg;      /* the cut angle used in the logo */
  --edge: 3.2vw;        /* height of the diagonal section edges */
  --ease: cubic-bezier(.2, .8, .2, 1);
  /* semantic tokens: dark is the default theme */
  color-scheme: dark;
  --bg: #0D0D12;
  --fg: #F5F3EE;
  --surface: #16161D;
  --alt-1: #14141B;
  --alt-2: #111117;
  --header-bg: rgba(13, 13, 18, .76);
  --menu-bg: rgba(13, 13, 18, .98);
  --field-bg: #0f0f15;
  --field-border: #2f2f3c;
  --grid-line: rgba(255, 255, 255, .04);
  --chip-bg: rgba(255, 255, 255, .05);
  --accent-text: #FF5B1F;   /* orange used for large text */
  --accent-ink: #FF5B1F;    /* orange used for small text */
  --contrast-bg: #F5F3EE;   /* the inverted "How it works" band */
  --contrast-fg: #0D0D12;
  --contrast-card: #FFFFFF;
  --contrast-card-border: #E2DFD6;
  --contrast-muted: #5f5e6a;
  --contrast-accent-text: #E5480C;
  --contrast-accent-ink: #C2410C;
}

[data-theme="light"] {
  color-scheme: light;
  --bg: #F5F3EE;
  --fg: #0D0D12;
  --surface: #FFFFFF;
  --alt-1: #ECE9E1;
  --alt-2: #F0EDE6;
  --line: #DEDAD0;
  --line-2: #CBC6B8;
  --mist: #5F5E6A;
  --mist-2: #85848F;
  --header-bg: rgba(245, 243, 238, .82);
  --menu-bg: rgba(245, 243, 238, .98);
  --field-bg: #FFFFFF;
  --field-border: #D3CFC3;
  --grid-line: rgba(13, 13, 18, .06);
  --chip-bg: rgba(13, 13, 18, .06);
  --accent-text: #E5480C;
  --accent-ink: #C2410C;
  --contrast-bg: #0D0D12;
  --contrast-fg: #F5F3EE;
  --contrast-card: #16161D;
  --contrast-card-border: #272733;
  --contrast-muted: #9A99A6;
  --contrast-accent-text: #FF5B1F;
  --contrast-accent-ink: #FF5B1F;
}

/* "screens" (editor, before/after, spec sheets, photo slots) stay dark in both themes */
.editor, .reel-card, .compare, .spec-card, .founder-visual {
  --bg: #0D0D12; --fg: #F5F3EE; --surface: #16161D; --line: #272733; --line-2: #34343f;
  --mist: #9A99A6; --mist-2: #6b6a77; --accent-ink: #FF5B1F; --accent-text: #FF5B1F;
  color: var(--fg);
}
.section-light { --accent-ink: var(--contrast-accent-ink); --accent-text: var(--contrast-accent-text); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.65 var(--body);
  transition: background-color .35s, color .35s;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* film grain over everything */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); letter-spacing: -0.025em; line-height: 1.08; margin: 0; }
p { margin: 0 0 16px; }
::selection { background: var(--orange); color: var(--ink); }
.muted { color: var(--mist); }
.accent { color: var(--accent-text); }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 860px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--orange); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

/* ---------- type layer ---------- */
.eyebrow {
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px;
  font: 600 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mist);
  margin-bottom: 22px;
}
.eyebrow .tc { color: var(--accent-ink); letter-spacing: .04em; padding: 6px 8px; border: 1px solid rgba(255, 91, 31, .45); border-radius: 4px; position: relative; }
.eyebrow .tc::before { content: ""; position: absolute; left: -1px; top: -6px; width: 1px; height: calc(100% + 12px); background: var(--orange); }
.rec { display: inline-flex; align-items: center; gap: 7px; color: var(--fg); padding: 6px 9px; background: var(--chip-bg); border-radius: 4px; letter-spacing: .1em; }
.rec::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ff3b30; box-shadow: 0 0 10px #ff3b30; animation: blink 1.4s steps(1) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.lead { font-size: 19px; color: var(--mist); max-width: 640px; }
.lead b { color: var(--fg); font-weight: 600; }

/* the signature sliced word */
.slice { position: relative; display: inline-block; color: transparent; }
.slice::before, .slice::after { content: attr(data-text); position: absolute; left: 0; top: 0; color: var(--accent-text); }
.slice::before { clip-path: polygon(0 0, 61% 0, 52% 100%, 0 100%); }
.slice::after { clip-path: polygon(63.5% 0, 110% 0, 110% 100%, 54.5% 100%); transform: translate(.045em, -.13em); animation: slice-in 1s var(--ease) .5s both; }
@keyframes slice-in { from { transform: none; } }

/* ---------- buttons: cut edge ---------- */
.btn {
  --cut: 14px; --btn-bg: var(--bg);
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 16px/1 var(--body); text-decoration: none; cursor: pointer; border: 0;
  padding: 18px calc(26px + var(--cut)) 18px 26px; border-radius: 6px 0 0 6px;
  clip-path: polygon(0 0, 100% 0, calc(100% - var(--cut)) 100%, 0 100%);
  transition: background .2s, color .2s, clip-path .3s var(--ease);
}
.btn:hover { --cut: 22px; }
.btn-primary { background: var(--orange); color: var(--ink); }
.btn-primary:hover { background: var(--orange-hover); }
.btn-primary::after { content: "→"; font-weight: 700; transition: transform .3s var(--ease); }
.btn-primary:hover::after { transform: translateX(4px); }
.btn-ghost { background: var(--line-2); color: var(--fg); }
.btn-ghost::before {
  content: ""; position: absolute; inset: 1px; z-index: -1; background: var(--btn-bg); border-radius: 5px 0 0 5px;
  clip-path: polygon(0 0, 100% 0, calc(100% - var(--cut) + .35px) 100%, 0 100%); transition: clip-path .3s var(--ease);
}
.btn-ghost:hover { background: var(--fg); }
.btn-sm { --cut: 10px; padding: 12px calc(18px + var(--cut)) 12px 18px; font-size: 14px; }
.btn-sm.btn-primary::after { content: none; }
.btn-block { width: 100%; }

/* ---------- header with scroll playhead ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand img, .brand svg { width: 152px; height: auto; display: block; }
.hdr-tc { display: inline-flex; align-items: center; gap: 8px; font: 500 12px/1 var(--mono); color: var(--mist-2); letter-spacing: .06em; padding-left: 22px; border-left: 1px solid var(--line); }
.hdr-tc i { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 15px; color: var(--mist); transition: color .2s; }
.nav a:hover { color: var(--fg); }
.nav a.nav-cta { color: var(--ink); margin-left: 6px; }
.scrub { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line); }
.scrub i { position: absolute; left: 0; top: 0; height: 1px; width: var(--p, 0%); background: var(--orange); }
.scrub i::after { content: ""; position: absolute; right: -1px; top: -5px; width: 2px; height: 11px; background: var(--fg); box-shadow: 0 0 8px rgba(255,255,255,.7); }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; margin-left: auto; }
.menu-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--fg); transition: transform .25s, top .25s; }
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 25px; left: 17px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21px; left: 11px; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 88px 0 0; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: -10%; right: -4%; width: 40%; height: 120%;
  background: linear-gradient(180deg, rgba(255,91,31,.16), rgba(122,92,255,.05) 70%, transparent);
  transform: skewX(calc(var(--snip) * -1)); pointer-events: none;
}
.hero::after { /* editor canvas grid */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(60% 55% at 72% 38%, #000, transparent 75%);
  mask-image: radial-gradient(60% 55% at 72% 38%, #000, transparent 75%);
}
.hero-grid > *, .founder > *, .contact > * { min-width: 0; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.02fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(48px, 7.4vw, 96px); font-weight: 800; letter-spacing: -0.04em; line-height: .98; margin-bottom: 26px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 30px; }
.hero-points { list-style: none; padding: 18px 0 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--mist); font: 500 13px/1.4 var(--mono); letter-spacing: .02em; border-top: 1px solid var(--line); max-width: 560px; }
.hero-points li::before { content: "▸"; color: var(--accent-ink); margin-right: 8px; }

.hero-visual { position: relative; padding: 26px 0 40px 28px; }
.hv-meta { position: absolute; top: 0; right: 0; display: flex; gap: 16px; font: 500 11px/1 var(--mono); letter-spacing: .1em; color: var(--mist-2); }
.hv-meta span:first-child { color: var(--accent-ink); }

/* editor mock-up */
.editor { position: relative; background: #0A0A0F; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 50px 100px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.02) inset; }
.editor-bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--line); font: 500 12px/1 var(--mono); color: var(--mist); }
.editor-bar .dots { display: flex; gap: 6px; }
.editor-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: #2c2c38; }
.editor-bar .file { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.editor-bar .tc { color: var(--accent-ink); letter-spacing: .06em; }
.preview { padding: 14px; }

.frame { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; }
.frame.graded { background: radial-gradient(120% 90% at 70% 20%, #3d2160 0%, #1a1030 45%, #0d0a18 100%); }
.frame.raw { background: #3d3d42; filter: saturate(.15) contrast(.85) brightness(.95); }
.subject { position: absolute; left: 50%; bottom: 0; width: 34%; height: 78%; transform: translateX(-50%); }
.subject .head { position: absolute; left: 50%; top: 4%; width: 42%; aspect-ratio: 1; border-radius: 50%; transform: translateX(-50%); background: linear-gradient(160deg, #ffb48a, #d0703f); }
.subject .body { position: absolute; left: 0; right: 0; bottom: 0; height: 56%; border-radius: 48% 48% 0 0; background: linear-gradient(160deg, #2c2c3a, #15151d); }
.frame.graded .subject .body { background: linear-gradient(160deg, #4a36b8 0%, #241b62 60%, #17133e 100%); box-shadow: inset -16px 10px 26px -12px rgba(255,91,31,.75); }
.frame.raw .subject { left: 38%; width: 30%; height: 64%; }
.subject.zoom { width: 44%; height: 98%; }
.mic { position: absolute; left: 28%; bottom: 0; width: 7%; height: 40%; }
.mic::before { content: ""; position: absolute; left: 20%; right: 20%; top: 0; height: 34%; background: #0a0a0f; border-radius: 40px; }
.mic::after { content: ""; position: absolute; left: 45%; width: 10%; top: 30%; bottom: 0; background: #0a0a0f; }

.captions { position: absolute; left: 0; right: 0; bottom: 16%; text-align: center; font: 800 clamp(13px, 2vw, 22px)/1.1 var(--display); color: #fff; text-shadow: 0 2px 0 rgba(0,0,0,.5); letter-spacing: .01em; }
.captions span { position: absolute; left: 0; right: 0; opacity: 0; animation: caption 9s infinite; }
.captions span:nth-child(2) { animation-delay: 3s; }
.captions span:nth-child(3) { animation-delay: 6s; }
.captions b { color: var(--accent-ink); font-weight: 800; }
.captions.static span { opacity: 1; animation: none; position: static; }
@keyframes caption { 0% { opacity: 0; transform: translateY(6px) scale(.96); } 4% { opacity: 1; transform: none; } 30% { opacity: 1; } 34%, 100% { opacity: 0; } }

/* viewfinder corner marks */
.vf {
  --c: rgba(255,255,255,.75); --s: 16px;
  position: absolute; inset: 12px; pointer-events: none;
  background:
    linear-gradient(var(--c), var(--c)) top left / var(--s) 2px, linear-gradient(var(--c), var(--c)) top left / 2px var(--s),
    linear-gradient(var(--c), var(--c)) top right / var(--s) 2px, linear-gradient(var(--c), var(--c)) top right / 2px var(--s),
    linear-gradient(var(--c), var(--c)) bottom left / var(--s) 2px, linear-gradient(var(--c), var(--c)) bottom left / 2px var(--s),
    linear-gradient(var(--c), var(--c)) bottom right / var(--s) 2px, linear-gradient(var(--c), var(--c)) bottom right / 2px var(--s);
  background-repeat: no-repeat;
}
.vf::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; transform: translate(-50%, -50%); background: linear-gradient(var(--c), var(--c)) center / 100% 1px no-repeat, linear-gradient(var(--c), var(--c)) center / 1px 100% no-repeat; opacity: .5; }
.preview .vf { --s: 12px; inset: 10px; }
.preview .vf::after { display: none; }

.wm { position: absolute; top: 22px; right: 28px; width: 34px; opacity: .7; }
.progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.12); }
.progress i { display: block; height: 100%; width: 0; background: var(--orange); animation: progress 9s linear infinite; }
.compare .progress i { animation: none; }
@keyframes progress { to { width: 100%; } }

.tracks { position: relative; padding: 6px 14px 16px; display: grid; gap: 6px; }
.track { display: grid; grid-template-columns: 26px 1fr; align-items: center; gap: 8px; }
.track .lbl { font: 600 10px/1 var(--mono); color: #5d5c6a; }
.lane { position: relative; height: 22px; background: #121219; border-radius: 4px; }
.clip { position: absolute; top: 3px; bottom: 3px; left: var(--l); width: var(--w); border-radius: 3px; }
.c-orange { background: var(--orange); }
.c-paper { background: #d9d6cf; }
.c-violet { background: var(--violet); }
.lane.wave { background: #121219 repeating-linear-gradient(90deg, transparent 0 2px, rgba(255,91,31,.55) 2px 4px); -webkit-mask: linear-gradient(0deg, transparent 15%, #000 15% 85%, transparent 85%); mask: linear-gradient(0deg, transparent 15%, #000 15% 85%, transparent 85%); }
.playhead { position: absolute; top: 0; bottom: 10px; left: 48px; width: 2px; background: #fff; box-shadow: 0 0 10px rgba(255,255,255,.6); animation: playhead 9s linear infinite; }
.playhead::before { content: ""; position: absolute; top: -2px; left: -5px; border: 6px solid transparent; border-top: 8px solid #fff; }
@keyframes playhead { from { left: 48px; } to { left: calc(100% - 16px); } }

/* vertical reel card overlapping the editor */
.reel-card { position: absolute; left: -30px; bottom: -6px; width: 24%; background: #0A0A0F; border: 1px solid var(--line-2); border-radius: 14px; padding: 8px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.9); transform: rotate(-3deg); }
.reel-card .frame { aspect-ratio: 9 / 16; border-radius: 9px; }
.reel-card .subject.zoom { width: 92%; height: 62%; }
.reel-card .captions { bottom: 22%; font-size: clamp(10px, 1.2vw, 14px); }
.reel-bars { position: absolute; z-index: 2; top: 14px; left: 14px; right: 14px; display: flex; gap: 3px; }
.reel-bars i { flex: 1; height: 2px; background: rgba(255,255,255,.3); border-radius: 2px; overflow: hidden; }
.reel-bars .done { background: #fff; }
.reel-bars .now { position: relative; }
.reel-bars .now::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; animation: reelbar 3s linear infinite; }
@keyframes reelbar { from { transform: scaleX(0); } }
.reel-fmt { position: absolute; right: -10px; top: 30%; font: 600 10px/1 var(--mono); color: var(--ink); background: var(--orange); padding: 5px 6px; border-radius: 3px; }

/* marquee as a timeline ruler */
.marquee { position: relative; margin-top: 80px; border-bottom: 1px solid var(--line); overflow: hidden; padding: 30px 0 20px; }
.marquee::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px; border-top: 1px solid var(--line);
  background:
    repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px 96px) top left / 100% 12px no-repeat,
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 12px) top left / 100% 6px no-repeat;
}
.marquee-track { display: flex; width: max-content; animation: marquee 44s linear infinite; }
.marquee span { font: 700 clamp(20px, 2.4vw, 28px)/1 var(--display); letter-spacing: -0.02em; color: var(--mist-2); padding: 0 26px; white-space: nowrap; }
.marquee span:nth-child(odd) { color: var(--fg); }
.marquee span::after { content: "/"; color: var(--accent-ink); margin-left: 52px; font-weight: 400; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections & diagonal cuts ---------- */
.section { position: relative; padding: 124px 0; }
.section-alt, .section-light {
  padding: calc(124px + var(--edge)) 0;
  clip-path: polygon(0 var(--edge), 100% 0, 100% calc(100% - var(--edge)), 0 100%);
  margin: calc(var(--edge) * -1) 0;
}
.section-alt { background: linear-gradient(180deg, var(--alt-1), var(--alt-2)); }
.section-light { background: var(--contrast-bg); color: var(--contrast-fg); }
.section-light .lead, .section-light p { color: var(--contrast-muted); }
.section-light .eyebrow { color: var(--contrast-muted); }
.section-head { margin-bottom: 56px; }
.section-head h2, .founder h2, .contact h2 { font-size: clamp(34px, 5vw, 60px); font-weight: 800; letter-spacing: -0.035em; margin-bottom: 18px; max-width: 880px; }

/* before / after */
.compare { position: relative; aspect-ratio: 16 / 9; max-height: 640px; width: 100%; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); user-select: none; }
.compare .frame { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; }
.compare .cut-layer { clip-path: polygon(calc(var(--pos) + 7%) 0, 100% 0, 100% 100%, calc(var(--pos) - 7%) 100%); }
.compare .cut-layer::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 80% 30%, rgba(255,91,31,.18), transparent 70%); pointer-events: none; }
.compare-line { position: absolute; inset: 0; background: var(--orange); pointer-events: none; clip-path: polygon(calc(var(--pos) + 6.6%) 0, calc(var(--pos) + 7.4%) 0, calc(var(--pos) - 6.6%) 100%, calc(var(--pos) - 7.4%) 100%); }
.compare input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 3; }
.compare:hover .compare-line, .compare input:focus-visible ~ .compare-line { filter: drop-shadow(0 0 8px rgba(255,91,31,.9)); }
.compare .vf { inset: 18px; z-index: 2; }
.tag { position: absolute; z-index: 2; top: 30px; left: 32px; font: 600 12px/1 var(--mono); letter-spacing: .12em; padding: 8px 10px; border-radius: 4px; background: rgba(0,0,0,.5); color: #ddd; }
.tag-orange { left: auto; right: 32px; background: var(--orange); color: var(--ink); }
.notes { position: absolute; left: 32px; bottom: 30px; margin: 0; padding: 0; list-style: none; font: 500 13px/1.5 var(--mono); color: #c9c9cf; display: grid; gap: 4px; }
.notes li::before { content: "✕ "; color: #ff8a8a; }
.compare .captions { bottom: 13%; font-size: clamp(14px, 2.4vw, 30px); left: 52%; right: 4%; }
.compare .frame.raw .subject { left: 26%; }
.compare .subject.zoom { left: 74%; width: 34%; height: 90%; }

.work-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 20px; }
.work-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 10px 16px; }
.work-card { transition: border-color .25s, translate .35s var(--ease); }
.work-card:hover { border-color: var(--line-2); translate: 0 -4px; }
.work-card .thumb { position: relative; aspect-ratio: 16 / 10; border-radius: 8px; display: flex; align-items: flex-end; justify-content: space-between; padding: 12px; margin-bottom: 14px; overflow: hidden; }
.work-card .thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 45%, rgba(255,255,255,.08) 50%, transparent 55%); transform: translateX(-100%); transition: transform .8s var(--ease); }
.work-card:hover .thumb::after { transform: translateX(100%); }
.work-card .thumb span { font: 600 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; background: rgba(0,0,0,.55); padding: 6px 8px; border-radius: 3px; }
.work-card .thumb em { font: 500 11px/1 var(--mono); font-style: normal; color: rgba(255,255,255,.7); }
.t1 { background: linear-gradient(135deg, #2a1650, #0f0d1a); }
.t2 { background: linear-gradient(135deg, #3a1608, #0f0d12); }
.t3 { background: linear-gradient(135deg, #14202e, #0d0d12); }
.t4 { background: linear-gradient(135deg, #ff5b1f 0%, #7a5cff 100%); }
.work-card h3 { font-size: 17px; margin: 0 6px 4px; }
.work-card p { font-size: 14px; color: var(--mist); margin: 0 6px; }

/* services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: svc; }
.service { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; display: flex; flex-direction: column; position: relative; overflow: hidden; counter-increment: svc; transition: border-color .25s; }
.service:hover { border-color: var(--line-2); }
.service::before { content: ""; position: absolute; left: 0; top: 0; width: 64px; height: 3px; background: var(--fg); transition: width .5s var(--ease); }
.service:hover::before { width: 100%; }
.service::after { content: "0" counter(svc) " / 04"; position: absolute; top: 28px; right: 24px; font: 500 11px/1 var(--mono); color: var(--mist-2); letter-spacing: .06em; }
.s-studio::before { background: var(--orange); }
.s-ai::before { background: linear-gradient(90deg, var(--orange), var(--violet)); }
.s-growth::before { background: var(--mist); }
.service h3 { font-size: 23px; margin: 16px 0 8px; }
.service p { color: var(--mist); font-size: 15px; }
.service ul { list-style: none; padding: 18px 0 0; margin: 4px 0 0; border-top: 1px solid var(--line); display: grid; gap: 9px; font-size: 15px; }
.service li { padding-left: 20px; position: relative; }
.service li::before { content: "/"; position: absolute; left: 0; color: var(--accent-ink); font-weight: 700; }
.pill-label { display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; font: 600 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 6px 9px; border-radius: 4px; border: 1px solid var(--line-2); color: var(--mist); }
.pill-label.ai { border-color: rgba(122,92,255,.55); color: #b8a8ff; }

/* why */
.why { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.why > div { position: relative; padding: 34px 28px 10px 0; border-right: 1px solid var(--line); margin-right: 28px; }
.why > div::before { content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 1px; background: var(--orange); transition: width .6s var(--ease); }
.why > div:hover::before { width: calc(100% - 28px); }
.why > div:last-child { border-right: 0; margin-right: 0; }
.why-num { font: 600 12px/1 var(--mono); color: var(--accent-ink); letter-spacing: .08em; }
.why h3 { font-size: 23px; margin: 16px 0 10px; }
.why p { color: var(--mist); font-size: 16px; }

/* steps (on the light section) */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.steps li { position: relative; background: var(--contrast-card); border: 1px solid var(--contrast-card-border); border-radius: var(--radius); padding: 28px 26px; }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 46px; right: -17px; width: 18px; height: 2px; background: var(--orange); z-index: 1; }
.step-n { display: block; font: 800 44px/1 var(--display); letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1.2px var(--orange); }
.steps h3 { font-size: 20px; margin: 22px 0 8px; color: var(--contrast-fg); }
.steps p { font-size: 15px; margin: 0; }

/* pricing */
.founding { display: flex; align-items: center; gap: 18px; background: linear-gradient(90deg, rgba(255,91,31,.14), rgba(255,91,31,.02)); border: 1px solid rgba(255,91,31,.35); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 28px; }
.founding img, .founding svg { width: 44px; height: auto; flex: none; }
.founding p { margin: 0; }
.founding a { color: var(--accent-ink); font-weight: 600; text-decoration: none; white-space: nowrap; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 32px 30px; display: flex; flex-direction: column; }
.plan-featured { border-color: var(--accent-ink); background: linear-gradient(180deg, rgba(255,91,31,.1), var(--surface) 45%); }
.badge { position: absolute; top: -12px; left: 30px; background: var(--orange); color: var(--ink); font: 600 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 7px 10px; border-radius: 4px; }
.plan h3 { font-size: 28px; }
.plan-sub { color: var(--mist); font-size: 15px; margin: 6px 0 22px; }
.price { font: 800 44px/1 var(--display); letter-spacing: -0.03em; margin: 0 0 24px; padding-bottom: 22px; border-bottom: 1px dashed var(--line-2); }
.price small, .more-plans small { font: 500 13px var(--mono); color: var(--mist); margin-left: 6px; letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 11px; font-size: 15px; flex: 1; }
.plan li::before { content: "✓"; color: var(--accent-ink); font-weight: 700; margin-right: 10px; }
.more-plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; }
.more-plans > div { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.more-plans h4 { font-size: 17px; margin-bottom: 6px; }
.more-plans p { color: var(--mist); font-size: 14px; min-height: 44px; }
.more-plans [data-price] { font: 700 22px var(--display); }
.fine { color: var(--mist); font: 500 12px/1.6 var(--mono); margin-top: 20px; }

/* founder */
.founder { display: grid; grid-template-columns: .82fr 1.18fr; gap: 72px; align-items: center; }
.founder-visual { aspect-ratio: 4 / 5; border-radius: 18px; background: radial-gradient(90% 70% at 50% 30%, #2a1a40, #0d0d12 70%); border: 1px solid var(--line); display: grid; place-items: center; position: relative; overflow: hidden; }
.founder-visual > img { width: 48%; }
.founder-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 60%, rgba(255,91,31,.18)); }
.founder .lead { margin-bottom: 30px; }

/* faq */
.faq { border-top: 1px solid var(--line); counter-reset: q; }
.faq details { border-bottom: 1px solid var(--line); counter-increment: q; }
.faq summary { list-style: none; cursor: pointer; padding: 24px 44px 24px 0; font: 600 19px/1.35 var(--display); position: relative; display: flex; gap: 22px; align-items: baseline; transition: color .2s; }
.faq summary:hover { color: var(--fg); }
.faq summary::before { content: "Q.0" counter(q); font: 500 12px/1 var(--mono); color: var(--accent-ink); letter-spacing: .06em; flex: none; width: 34px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 20px; font: 300 28px/1 var(--body); color: var(--accent-ink); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--mist); padding: 0 0 24px 56px; margin: 0; max-width: 720px; }

/* contact */
.contact-section { background: radial-gradient(80% 60% at 85% 0%, rgba(255,91,31,.14), transparent 60%), var(--bg); border-top: 1px solid var(--line); }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.contact-alt { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 10px; color: var(--mist); font: 500 14px/1.5 var(--mono); }
.contact-alt a { color: var(--fg); }
.form { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 30px; display: grid; gap: 16px; }
.form::before { content: "AUDIT_REQUEST.form"; position: absolute; top: -10px; left: 24px; font: 500 11px/1 var(--mono); letter-spacing: .06em; color: var(--mist); background: var(--bg); padding: 3px 8px; border: 1px solid var(--line); border-radius: 4px; }
.field { display: grid; gap: 7px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mist); }
.opt { color: var(--mist-2); text-transform: none; letter-spacing: 0; }
.field input, .field select, .field textarea {
  width: 100%; font: 16px/1.4 var(--body); color: var(--fg);
  background: var(--field-bg); border: 1px solid var(--field-border); border-radius: 8px; padding: 13px 14px;
  transition: border-color .2s, box-shadow .2s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--mist) 50%), linear-gradient(135deg, var(--mist) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent-ink); box-shadow: 0 0 0 3px rgba(255,91,31,.15); }
.field input[aria-invalid="true"] { border-color: #ff6b6b; }
.form-note { margin: 0; font: 500 13px/1.5 var(--mono); color: var(--mist); min-height: 20px; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 28px; overflow: hidden; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-inner > div > img, .footer-inner > div > svg { width: 150px; height: auto; display: block; margin-bottom: 16px; }
.footer-inner nav { display: grid; gap: 10px; align-content: start; }
.footer-inner nav a { color: var(--mist); text-decoration: none; font-size: 15px; transition: color .2s; }
.footer-inner nav a:hover { color: var(--fg); }
.footer-wordmark { margin-top: 64px; }
.footer-wordmark img, .footer-wordmark svg { display: block; width: 100%; height: auto; opacity: .95; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }
.footer-base { margin-top: 8px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--mist-2); font: 500 12px/1.5 var(--mono); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer-base a { color: var(--fg); text-decoration: none; border-bottom: 1px solid var(--orange); transition: color .2s; }
.footer-base a:hover { color: var(--accent-ink); }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.wa-float[hidden] { display: none; }

/* reveal: a diagonal slice wipe, like a cut.
   Hidden with opacity (not clip-path) so IntersectionObserver can still see the element. */
.reveal { opacity: 0; }
.reveal.in { opacity: 1; animation: slice-wipe 1s var(--ease) var(--d, 0s) backwards; }
@keyframes slice-wipe {
  from { clip-path: polygon(-20% -20%, -20% -20%, -40% 120%, -40% 120%); transform: translateY(14px); }
  to { clip-path: polygon(-20% -20%, 140% -20%, 120% 120%, -40% 120%); transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .hdr-tc { display: none; }
  .services, .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li:not(:last-child)::after { display: none; }
  .why { grid-template-columns: repeat(2, 1fr); }
  .why > div { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--line); padding-right: 24px; }
  .why > div:hover::before { width: 100%; }
  .work-grid, .more-plans { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  :root { --edge: 28px; }
  .hero-grid, .founder, .contact { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding-top: 56px; }
  .plans { grid-template-columns: 1fr; max-width: 520px; }
  .founder-visual { max-width: 360px; aspect-ratio: 1; }
  .nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    background: var(--menu-bg); border-bottom: 1px solid var(--line); padding: 8px 24px 24px;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.open { opacity: 1; transform: none; visibility: visible; }
  .nav a { padding: 15px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav a.nav-cta { margin: 16px 0 0; border-bottom: 0; padding: 16px; }
  .menu-toggle { display: block; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding: 0 18px; }
  .section { padding: 84px 0; }
  .section-alt, .section-light { padding: calc(84px + var(--edge)) 0; }
  .lead { font-size: 17px; }
  .hero h1 { font-size: clamp(46px, 14vw, 64px); }
  .services, .steps, .why, .more-plans, .field-row { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .work-card { padding: 8px 8px 12px; }
  .work-card h3 { font-size: 15px; }
  .work-card p { font-size: 12px; }
  .cta-row .btn { flex: 1 1 100%; }
  .hero-visual { padding: 24px 0 36px 18px; }
  .hv-meta { gap: 10px; }
  .reel-card { width: 32%; left: -4px; }
  .compare { aspect-ratio: 4 / 5; }
  .compare .notes { display: none; }
  .compare .captions { left: 44%; }
  .compare .subject.zoom { left: 72%; width: 46%; height: 70%; }
  .compare .frame.raw .subject { left: 24%; width: 40%; height: 50%; }
  .tag { top: 26px; left: 26px; }
  .tag-orange { left: auto; right: 26px; }
  .faq summary { gap: 14px; font-size: 17px; }
  .faq details p { padding-left: 0; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner > div:first-child { grid-column: 1 / -1; }
  .founding { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .captions span:first-child { opacity: 1; }
  .reveal { opacity: 1; }
}

/* =====================================================================
   SERVICE PAGES (generated by tools/build.py) + homepage service links
   ===================================================================== */
.nav a[aria-current="page"] { color: var(--fg); box-shadow: inset 0 -1px 0 var(--orange); }

.service h3 a { text-decoration: none; transition: color .2s; }
.service h3 a:hover { color: var(--accent-ink); }
.service ul { margin-bottom: 22px; }
.service li a { text-decoration: none; transition: color .2s; }
.service li a:hover { color: var(--accent-ink); }
.service .explore { margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--line-2); font: 600 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); text-decoration: none; }
.all-services { margin-top: 32px; display: flex; justify-content: center; }

.foot-h { font: 600 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mist-2); margin-bottom: 6px; }
.footer-inner { grid-template-columns: 1.4fr repeat(3, 1fr); }

/* page hero */
.page-hero { position: relative; padding: 64px 0 104px; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; top: -10%; right: -4%; width: 34%; height: 130%; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,91,31,.14), rgba(122,92,255,.05) 70%, transparent);
  transform: skewX(calc(var(--snip) * -1));
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(55% 60% at 78% 40%, #000, transparent 75%);
  mask-image: radial-gradient(55% 60% at 78% 40%, #000, transparent 75%);
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(40px, 6.2vw, 80px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin-bottom: 24px; max-width: 920px; }
.page-hero-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 56px; align-items: end; }
.page-hero-grid > * { min-width: 0; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mist-2); margin-bottom: 30px; }
.crumbs a { color: var(--mist); text-decoration: none; }
.crumbs a:hover { color: var(--fg); }
.crumbs i { font-style: normal; color: var(--accent-ink); }
.crumbs [aria-current] { color: var(--fg); }

/* spec sheet */
.spec-card { position: relative; background: #0A0A0F; border: 1px solid var(--line-2); border-radius: 14px; padding: 30px 28px 24px; box-shadow: 0 40px 80px -40px rgba(0,0,0,.9); }
.spec-card .vf { --s: 12px; inset: 10px; }
.spec-card .vf::after { display: none; }
.spec-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font: 500 11px/1 var(--mono); letter-spacing: .08em; color: var(--mist-2); padding-bottom: 18px; margin-bottom: 4px; border-bottom: 1px dashed var(--line-2); }
.spec-head > span:last-child { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spec-card dl { margin: 0; display: grid; }
.spec-card dl div { display: grid; grid-template-columns: 108px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.spec-card dl div:last-child { border-bottom: 0; }
.spec-card dt { font: 500 11px/1.6 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mist-2); }
.spec-card dd { margin: 0; font-size: 15px; font-weight: 500; }

/* deliverables + chips */
.deliverables { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.deliv { background: var(--bg); padding: 26px 24px 30px; font: 600 18px/1.35 var(--display); letter-spacing: -0.01em; display: grid; gap: 18px; align-content: start; transition: background .25s; }
.deliv:hover { background: var(--surface); }
.deliv span { font: 500 11px/1 var(--mono); color: var(--accent-ink); letter-spacing: .08em; }
.chips { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: 500 12px/1 var(--mono); letter-spacing: .04em; padding: 9px 12px; border: 1px solid var(--line-2); border-radius: 4px; color: var(--mist); }
.chip::before { content: "▸ "; color: var(--accent-ink); }

/* who it's for */
.for-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.for-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; font: 700 21px/1.3 var(--display); letter-spacing: -0.015em; min-height: 168px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.for-k { font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); }

/* cards linking to services */
.row-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.text-link { font: 600 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); text-decoration: none; }
.text-link:hover { color: var(--orange-hover); }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.rel-card, .svc-card { position: relative; display: flex; flex-direction: column; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-decoration: none; overflow: hidden; transition: border-color .25s, translate .35s var(--ease); }
.svc-card { padding: 30px; min-height: 300px; }
.rel-card:hover, .svc-card:hover { border-color: var(--accent-ink); translate: 0 -4px; }
.rel-card::before, .svc-card::before { content: ""; position: absolute; left: 0; top: 0; width: 48px; height: 3px; background: var(--orange); transition: width .5s var(--ease); }
.rel-card:hover::before, .svc-card:hover::before { width: 100%; }
.rel-k, .svc-n { font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mist-2); }
.rel-card h3, .svc-card h3 { font-size: 22px; }
.rel-card p, .svc-card p { color: var(--mist); font-size: 15px; margin: 0; }
.svc-card ul { list-style: none; padding: 14px 0 0; margin: 8px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 15px; }
.svc-card li { padding-left: 20px; position: relative; }
.svc-card li::before { content: "/"; position: absolute; left: 0; color: var(--accent-ink); font-weight: 700; }
.arrow { margin-top: auto; padding-top: 14px; font: 600 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); }

/* line page strip */
.why-strip { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); max-width: 1000px; }
.why-strip li { padding: 20px 24px 0 0; font-size: 16px; display: grid; gap: 10px; }
.why-strip span { font: 500 11px/1 var(--mono); color: var(--accent-ink); letter-spacing: .08em; }

/* services hub */
.hub .container { display: grid; gap: 16px; }
.hub-line { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; padding: 40px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.hub-line::before { content: ""; position: absolute; left: 0; top: 0; width: 80px; height: 3px; background: var(--fg); }
.hub-line.s-studio::before { background: var(--orange); }
.hub-line.s-ai::before { background: linear-gradient(90deg, var(--orange), var(--violet)); }
.hub-line.s-growth::before { background: var(--mist); }
.hub-meta h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -0.03em; margin: 18px 0 10px; }
.hub-meta p { color: var(--mist); }
.svc-rows { display: grid; align-content: start; border-top: 1px solid var(--line); }
.svc-row { display: grid; grid-template-columns: 1fr 1.3fr 24px; gap: 20px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .3s var(--ease); }
.svc-row b { font: 600 17px/1.3 var(--display); transition: color .2s; }
.svc-row span { color: var(--mist); font-size: 14px; }
.svc-row i { font-style: normal; color: var(--accent-ink); transition: translate .3s var(--ease); }
.svc-row:hover { padding-left: 10px; }
.svc-row:hover b { color: var(--accent-ink); }
.svc-row:hover i { translate: 4px 0; }

/* closing call to action */
.cta-band { background: radial-gradient(70% 80% at 85% 10%, rgba(255,91,31,.16), transparent 60%), var(--bg); border-top: 1px solid var(--line); }
.cta-band h2 { font-size: clamp(36px, 5.4vw, 68px); font-weight: 800; letter-spacing: -0.04em; margin-bottom: 18px; max-width: 900px; }

@media (max-width: 1100px) {
  .page-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .spec-card { max-width: 560px; }
  .deliverables, .related, .for-grid { grid-template-columns: repeat(2, 1fr); }
  .hub-line { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .page-hero { padding: 40px 0 72px; }
  .deliverables, .related, .for-grid, .svc-grid, .why-strip { grid-template-columns: 1fr; }
  .why-strip li { padding-right: 0; }
  .hub-line { padding: 26px 22px; }
  .svc-row { grid-template-columns: 1fr 24px; gap: 4px 12px; }
  .svc-row span { grid-column: 1; grid-row: 2; }
  .svc-row i { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .spec-card dl div { grid-template-columns: 96px 1fr; }
  .for-card { min-height: 0; }
}

/* ---------- theme toggle ---------- */
.theme-toggle {
  flex: none; width: 40px; height: 40px; margin-left: 4px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; color: var(--fg); background: transparent; border: 1px solid var(--line-2);
  transition: border-color .2s, background-color .2s;
}
.theme-toggle:hover { border-color: var(--fg); }
.theme-toggle svg { width: 18px; height: 18px; transition: transform .5s var(--ease); }
[data-theme="light"] .theme-toggle svg { transform: rotate(180deg); }
.pill-label.ai svg { width: 22px; height: auto; display: block; }
[data-theme="light"] body::after { opacity: .04; mix-blend-mode: multiply; filter: invert(1); }
[data-theme="light"] .hero::before, [data-theme="light"] .page-hero::before { background: linear-gradient(180deg, rgba(255,91,31,.16), rgba(122,92,255,.05) 70%, transparent); }
[data-theme="light"] .editor, [data-theme="light"] .compare, [data-theme="light"] .spec-card { box-shadow: 0 40px 80px -40px rgba(13,13,18,.45); }
@media (max-width: 900px) {
  .theme-toggle { margin-left: auto; }
  .menu-toggle { margin-left: 6px; }
}

/* =====================================================================
   SELECTED WORK: video tiles + full player
   ===================================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.reel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin: 56px 0 18px; }
.reel-head h3 { font-size: 24px; }
.reel-head p { margin: 0; font: 500 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
/* 16:9 + 9:16 at equal height: column ratio 256:81 */
.reel-grid { display: grid; grid-template-columns: 3.16fr 1fr; gap: 16px; align-items: start; }
.reel-tile { position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #08080C; cursor: pointer; color: #F5F3EE; text-align: left; transition: border-color .25s, translate .35s var(--ease); }
.reel-tile.wide { aspect-ratio: 16 / 9; }
.reel-tile.tall { aspect-ratio: 9 / 16; }
.reel-tile:hover, .reel-tile:focus-visible { border-color: var(--orange); translate: 0 -3px; }
.reel-tile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,8,12,.35) 0%, transparent 26%, transparent 58%, rgba(8,8,12,.85) 100%); pointer-events: none; }
.reel-tile .vf { inset: 14px; z-index: 2; --s: 18px; }
.reel-tile .vf::after { display: none; }
.reel-fmt { position: absolute; z-index: 3; top: 24px; right: 26px; font: 600 11px/1 var(--mono); letter-spacing: .08em; color: rgba(245,243,238,.85); background: rgba(0,0,0,.45); padding: 6px 8px; border-radius: 4px; }
.reel-label { position: absolute; z-index: 3; left: 26px; right: 80px; bottom: 22px; display: grid; gap: 4px; }
.reel-label b { font: 700 22px/1.15 var(--display); letter-spacing: -0.02em; }
.reel-label span { font: 500 12px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: rgba(245,243,238,.75); }
.reel-tile.tall .reel-label { left: 20px; right: 20px; bottom: 70px; }
.reel-tile.tall .reel-label b { font-size: 19px; }
.reel-play { position: absolute; z-index: 3; right: 22px; bottom: 20px; width: 48px; height: 48px; border-radius: 50%; background: var(--orange); color: #0D0D12; display: grid; place-items: center; transition: transform .3s var(--ease); }
.reel-play svg { width: 20px; height: 20px; margin-left: 2px; }
.reel-tile.tall .reel-play { right: auto; left: 20px; bottom: 18px; width: 42px; height: 42px; }
.reel-tile:hover .reel-play { transform: scale(1.08); }

.player { width: min(1200px, 94vw); max-height: 94vh; padding: 0; border: 0; background: transparent; color: #F5F3EE; overflow: visible; }
.player.is-tall { width: min(440px, 92vw); }
.player::backdrop { background: rgba(5,5,8,.88); backdrop-filter: blur(6px); }
.player-inner { background: #0A0A0F; border: 1px solid #272733; border-radius: 16px; overflow: hidden; box-shadow: 0 40px 100px rgba(0,0,0,.6); }
.player-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 10px 10px 18px; border-bottom: 1px solid #272733; }
.player-title { font: 600 12px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: #9A99A6; }
.player-close { width: 36px; height: 36px; border-radius: 50%; border: 1px solid #34343f; background: transparent; color: #F5F3EE; font-size: 15px; cursor: pointer; }
.player-close:hover { border-color: var(--orange); color: var(--orange); }
.player video { display: block; width: 100%; max-height: calc(94vh - 60px); background: #000; }

@media (max-width: 760px) {
  .reel-grid { grid-template-columns: 1fr; }
  .reel-tile.tall { width: min(78%, 320px); justify-self: center; }
  .reel-label b { font-size: 18px; }
}

/* footer contact + form spam trap */
.foot-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 4px; font: 500 13px/1.6 var(--mono); }
.foot-contact a { color: var(--fg); text-decoration: none; border-bottom: 1px solid var(--line-2); }
.foot-contact a:hover { color: var(--accent-ink); border-color: var(--orange); }
.foot-contact i { font-style: normal; color: var(--mist-2); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* pricing: ranges, extras, discounts, negotiation */
.price { font-size: clamp(28px, 2.6vw, 36px); line-height: 1.1; }
.price small { display: block; margin: 8px 0 0; }
.more-plans [data-price] { font-size: 19px; }
.more-plans small { display: inline-block; }
.extras { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.extras span { font: 500 13px/1.4 var(--mono); color: var(--mist); border: 1px solid var(--line-2); border-radius: 4px; padding: 9px 12px; }
.extras b { color: var(--fg); font-family: var(--body); font-weight: 600; margin-right: 6px; }
.deals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 22px; }
.deal { border: 1px dashed rgba(255,91,31,.5); border-radius: var(--radius); padding: 18px 20px; display: grid; gap: 6px; background: rgba(255,91,31,.04); }
.deal b { font: 800 30px/1 var(--display); letter-spacing: -0.03em; color: var(--accent-text); }
.deal span { font-size: 14px; color: var(--mist); }
.negotiate { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 16px; padding: 22px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.negotiate p { margin: 0; max-width: 680px; color: var(--mist); }
.negotiate p b { color: var(--fg); }
.negotiate-cta { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 900px) { .deals { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .negotiate { padding: 20px; } .negotiate-cta .btn { flex: 1 1 auto; } }

/* pricing: WhatsApp "Get started" on the smaller packages */
.more-plans > div { display: flex; flex-direction: column; }
.plan-link { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line-2); font: 600 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); text-decoration: none; }
.plan-link i { font-style: normal; display: inline-block; transition: transform .25s var(--ease); }
.plan-link:hover i { transform: translateX(4px); }
.more-plans > div > [data-price] { margin-top: auto; }
