/* =========================================================
   Take8 Studio — design system
   Change brand colours in the :root tokens below.
   ========================================================= */
:root {
  --accent: #D4FF3A;
  --accent-ink: #0A0B05;
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 18px;
  --r-sm: 12px;
  --maxw: 1240px;
  --font: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

:root, :root[data-theme="dark"] {
  --bg: #09090A;
  --bg-alt: #0F0F11;
  --surface: #141416;
  --surface-2: #1B1B1E;
  --surface-3: #232327;
  --line: rgba(255, 255, 255, .07);
  --line-2: rgba(255, 255, 255, .13);
  --text: #F5F5F2;
  --text-2: #A1A1A8;
  --text-3: #66666E;
  --accent-text: #D4FF3A;
  --glow: rgba(212, 255, 58, .16);
  --orb-1: rgba(212, 255, 58, .22);
  --orb-2: rgba(120, 90, 255, .22);
  --shadow-lg: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255,255,255,.04);
  --nav-bg: rgba(16, 16, 18, .66);
  --invert-bg: #F5F5F2;
  --invert-text: #09090A;
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #F5F4EF;
  --bg-alt: #EDECE6;
  --surface: #FFFFFF;
  --surface-2: #F4F3EE;
  --surface-3: #E9E8E1;
  --line: rgba(12, 12, 10, .08);
  --line-2: rgba(12, 12, 10, .15);
  --text: #0C0C0B;
  --text-2: #56565C;
  --text-3: #8E8E94;
  --accent-text: #4D6A00;
  --glow: rgba(150, 200, 0, .22);
  --orb-1: rgba(190, 240, 30, .45);
  --orb-2: rgba(140, 120, 255, .22);
  --shadow-lg: 0 40px 70px -34px rgba(30, 30, 10, .35), 0 0 0 1px rgba(0,0,0,.04);
  --nav-bg: rgba(255, 255, 255, .72);
  --invert-bg: #0C0C0B;
  --invert-text: #F5F5F2;
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0; font-family: var(--font); background: var(--bg); color: var(--text);
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip; transition: background-color .4s var(--ease), color .4s var(--ease);
}
img, svg, video { display: block; max-width: 100%; }
video { background: #111; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.035em; line-height: 1.04; }
p { margin: 0; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.015em; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 130px 0; position: relative; }
.section-alt { background: var(--bg-alt); }
.link { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 15px; letter-spacing: -0.01em;
  transition: transform .35s var(--ease), background-color .25s, box-shadow .35s var(--ease), border-color .25s, color .25s;
  white-space: nowrap; overflow: hidden; isolation: isolate;
}
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover svg:last-child { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 30px -10px var(--glow), inset 0 1px 0 rgba(255,255,255,.5); }
.btn-primary:hover { box-shadow: 0 18px 40px -12px var(--glow), inset 0 1px 0 rgba(255,255,255,.5); transform: translateY(-2px); }
.btn-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn-primary:hover::after { transform: translateX(120%); }
.btn-ghost { background: var(--surface); border: 1px solid var(--line-2); }
.btn-ghost:hover { border-color: var(--text-3); transform: translateY(-2px); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-lg { height: 56px; padding: 0 28px; font-size: 16px; }
.play-dot { width: 28px; height: 28px; border-radius: 50%; background: var(--text); color: var(--bg); display: grid; place-items: center; margin-left: -10px; }
.play-dot svg { width: 11px; height: 11px; fill: currentColor; stroke: none; margin-left: 2px; }
.btn:hover .play-dot svg { transform: none; }

.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: var(--surface); transition: background-color .25s, transform .4s var(--ease); }
.icon-btn:hover { background: var(--surface-2); }
.icon-btn svg { width: 18px; height: 18px; }
#themeToggle:hover svg { transform: rotate(25deg); }
#themeToggle svg { transition: transform .5s var(--ease); }
[data-theme="dark"] .i-moon, [data-theme="light"] .i-sun { display: none; }

/* ---------- Eyebrow / headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); margin-bottom: 20px;
}
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.section-head { text-align: center; max-width: 780px; margin: 0 auto 64px; }
.section-head h2, .process-head h2, .faq-head h2 { font-size: clamp(36px, 5vw, 64px); }
.section-head h2 em, .process-head h2 em, .faq-head h2 em, .cta-box h2 em, .hero h1 em { color: var(--accent-text); }
.section-head p { color: var(--text-2); margin: 20px auto 0; font-size: 18px; max-width: 600px; }
.section-head.split { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; text-align: left; max-width: none; flex-wrap: wrap; }
.section-head.split h2 { max-width: 640px; }

/* ---------- Nav ---------- */
.nav-wrap { position: fixed; top: 16px; left: 0; right: 0; z-index: 60; padding: 0 16px; transition: transform .5s var(--ease); }
.nav-wrap.hidden { transform: translateY(-120%); }
.nav {
  max-width: 1080px; margin: 0 auto; height: 60px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 10px 0 18px; border-radius: 999px; background: var(--nav-bg); border: 1px solid var(--line);
  backdrop-filter: blur(20px) saturate(1.5); -webkit-backdrop-filter: blur(20px) saturate(1.5);
  box-shadow: 0 10px 40px -20px rgba(0,0,0,.4);
}
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 21px; letter-spacing: -0.05em; }
.logo-img { display: block; height: 30px; width: auto; }
.footer .logo-img { height: 36px; }
[data-theme="dark"] .logo-on-light, [data-theme="light"] .logo-on-dark { display: none; }
@media (max-width: 640px) { .nav .logo-img { height: 27px; } }
.compare-logo { width: 24px; height: 24px; border-radius: 7px; }
.logo-mark { width: 30px; height: 30px; border-radius: 9px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; box-shadow: inset 0 1px 0 rgba(255,255,255,.5); }
.logo-mark svg { width: 14px; height: 14px; fill: currentColor; stroke: none; margin-left: 2px; }
.logo-mark.sm { width: 24px; height: 24px; border-radius: 7px; }
.logo-mark.sm svg { width: 11px; height: 11px; }
.nav-links { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 8px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--text-2); transition: color .2s, background-color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--surface-2); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.burger { display: none; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.6px; background: var(--text); border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 16px; } .burger span:last-child { top: 22px; }
.burger[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }
.mobile-menu {
  display: none; max-width: 1080px; margin: 8px auto 0; padding: 10px; border-radius: 24px;
  background: var(--nav-bg); border: 1px solid var(--line);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); flex-direction: column;
}
.mobile-menu a:not(.btn) { padding: 14px 16px; border-radius: 14px; font-size: 17px; font-weight: 500; }
.mobile-menu a:not(.btn):active { background: var(--surface-2); }
.mobile-menu .btn { margin-top: 6px; height: 52px; }
.mobile-menu.open { display: flex; animation: menuIn .4s var(--ease); }
@keyframes menuIn { from { opacity: 0; transform: translateY(-10px) scale(.98); } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 170px 0 40px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); }
.orb-1 { width: 620px; height: 620px; background: var(--orb-1); top: -300px; left: 50%; transform: translateX(-80%); animation: orb 16s ease-in-out infinite alternate; }
.orb-2 { width: 540px; height: 540px; background: var(--orb-2); top: -200px; left: 50%; transform: translateX(10%); animation: orb 18s ease-in-out infinite alternate-reverse; }
@keyframes orb { to { translate: 60px 40px; } }
.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 60% 55% at 50% 20%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 20%, #000 20%, transparent 75%);
}
.hero-copy { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 12px 0 4px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--surface); font-size: 13.5px; font-weight: 500; color: var(--text-2);
  transition: border-color .25s;
}
.pill:hover { border-color: var(--text-3); color: var(--text); }
.pill-tag { background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 12px; padding: 4px 10px; border-radius: 999px; }
.pill svg { width: 14px; height: 14px; }
.hero h1 { font-size: clamp(42px, 6.6vw, 92px); margin: 28px 0 26px; max-width: 1200px; letter-spacing: -0.05em; line-height: .98; font-weight: 600; }
.hero h1 em { letter-spacing: -0.03em; padding-right: .05em; }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--text-2); max-width: 620px; line-height: 1.55; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 36px; }
.hero-proof { list-style: none; padding: 0; margin: 36px 0 0; display: flex; gap: 10px 28px; flex-wrap: wrap; justify-content: center; color: var(--text-2); font-size: 14px; }
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof svg { width: 17px; height: 17px; color: var(--accent-text); }
.hero-proof b { color: var(--text); }
.stars { color: #FFB020; letter-spacing: 1.5px; font-size: 13px; }

/* Hero reel */
.reel {
  position: relative; margin-top: 72px; padding: 30px 0 20px; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.reel-track { display: flex; gap: 18px; width: max-content; animation: reel 70s linear infinite; }
.reel:hover .reel-track { animation-play-state: paused; }
@keyframes reel { to { transform: translateX(-50%); } }
.rcard {
  position: relative; width: 230px; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; flex: none;
  background: var(--surface-2); box-shadow: var(--shadow-lg); cursor: pointer;
  transition: transform .6s var(--ease);
}
.rcard:nth-child(odd) { transform: translateY(26px); }
.rcard:hover { transform: translateY(-6px) scale(1.02); }
.rcard:nth-child(odd):hover { transform: translateY(20px) scale(1.02); }
.rcard video, .rcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.65)); pointer-events: none; }
.rcard-label { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; color: #fff; display: flex; flex-direction: column; gap: 2px; }
.rcard-label b { font-size: 14.5px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }
.rcard-label small { font-size: 12px; opacity: .72; }
.rcard-chip {
  position: absolute; top: 12px; left: 12px; z-index: 2; font-size: 11px; font-weight: 600; color: #fff;
  padding: 5px 10px; border-radius: 999px; background: rgba(10,10,10,.38); border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}

/* ---------- Logos ---------- */
.logos { padding: 70px 0 20px; }
.logos-title { text-align: center; color: var(--text-3); font-size: 13px; font-weight: 500; letter-spacing: .02em; margin-bottom: 26px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 72px; width: max-content; animation: reel 40s linear infinite; }
.wm { font-size: 26px; color: var(--text-3); white-space: nowrap; transition: color .3s; }
.wm:hover { color: var(--text); }
.wm-1 { font-weight: 700; letter-spacing: -0.04em; }
.wm-2 { font-family: var(--serif); font-style: italic; font-size: 30px; }
.wm-3 { font-weight: 800; letter-spacing: .12em; font-size: 20px; }
.wm-4 { font-weight: 500; letter-spacing: -0.06em; font-size: 29px; }
.wm-5 { font-weight: 600; letter-spacing: -0.02em; font-size: 22px; }

/* ---------- Statement + showreel ---------- */
.statement-sec { padding-top: 110px; }
.statement {
  font-size: clamp(28px, 3.7vw, 50px); line-height: 1.18; letter-spacing: -0.035em; font-weight: 500;
  max-width: 1080px; margin: 0 auto; text-align: center;
}
.statement .w { opacity: .18; transition: opacity .35s linear; }
.statement .w.lit { opacity: 1; }
.statement em { color: var(--accent-text); }
.showreel {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; margin-top: 80px; border-radius: var(--r-xl);
  overflow: hidden; background: #000; box-shadow: var(--shadow-lg); transform-origin: 50% 0;
  will-change: transform;
}
.showreel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.showreel:hover video { transform: scale(1.03); }
.showreel-shade { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(0,0,0,.05), rgba(0,0,0,.5)); }
.showreel-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 16px; color: #fff; }
.sr-circle {
  width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 0 0 0 rgba(212,255,58,.5); animation: ring 2.4s var(--ease) infinite; transition: transform .5s var(--ease);
}
.showreel:hover .sr-circle { transform: scale(1.08); }
.sr-circle svg { width: 30px; height: 30px; fill: currentColor; stroke: none; margin-left: 4px; }
@keyframes ring { 70% { box-shadow: 0 0 0 22px rgba(212,255,58,0); } 100% { box-shadow: 0 0 0 0 rgba(212,255,58,0); } }
.sr-label { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; text-align: left; line-height: 1.2; text-shadow: 0 2px 20px rgba(0,0,0,.4); }
.sr-label small { display: block; font-size: 13px; font-weight: 500; opacity: .75; }
.showreel-corner { position: absolute; color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .12em; opacity: .85; display: flex; align-items: center; gap: 8px; }
.showreel-corner.tl { top: 22px; left: 26px; }
.showreel-corner.br { bottom: 22px; right: 26px; }
.rec { width: 8px; height: 8px; border-radius: 50%; background: #FF4D4D; animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 72px; border-top: 1px solid var(--line); }
.stat { padding: 32px 24px 0; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font-size: clamp(40px, 4.8vw, 64px); font-weight: 600; letter-spacing: -0.055em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat small { display: block; color: var(--text-2); font-size: 15px; margin-top: 10px; }

/* ---------- Services bento ---------- */
.svc {
  position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate;
}
.svc-media { position: absolute; inset: 0; z-index: -1; }
.svc-media video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.svc:hover .svc-media video { transform: scale(1.05); }
.svc-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 25%, rgba(0,0,0,.82) 100%); }
.svc-body { padding: 26px; color: #fff; }
.svc-num { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .1em; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); margin-bottom: 14px; }
.svc h3 { font-size: 24px; letter-spacing: -0.03em; }
.svc p { color: rgba(255,255,255,.78); font-size: 15px; margin-top: 8px; max-width: 460px; }
.tags { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: 12.5px; font-weight: 500; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.16); }
.svc-plain .svc-body { color: var(--text); height: 100%; display: flex; flex-direction: column; justify-content: flex-end; }
.svc-plain p { color: var(--text-2); }
.svc-plain .svc-num { background: var(--surface-2); border-color: var(--line); align-self: flex-start; }
.wave { position: absolute; top: 34px; right: 30px; display: flex; align-items: center; gap: 4px; height: 70px; }
.wave span { width: 4px; border-radius: 4px; background: var(--accent); animation: wave 1.2s ease-in-out infinite; height: 20%; }
.wave span:nth-child(3n) { animation-delay: -.3s; } .wave span:nth-child(3n+1) { animation-delay: -.6s; } .wave span:nth-child(4n) { animation-delay: -.9s; }
.wave span:nth-child(5n) { animation-duration: 1.5s; }
@keyframes wave { 50% { height: 100%; } }

/* ---------- Work grid ---------- */
.filters { display: flex; gap: 6px; flex-wrap: wrap; padding: 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.chip { height: 38px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--text-2); transition: background-color .25s, color .25s; }
.chip:hover { color: var(--text); }
.chip.active { background: var(--invert-bg); color: var(--invert-text); }
/* masonry-style: a vertical card is 3 row units tall, a horizontal (wide) card 2 units, so rows never leave gaps */
.work-grid { --col: calc((min(100vw, 1240px) - 48px - 48px) / 4); display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: calc(var(--col) * 0.56); gap: 16px; grid-auto-flow: dense; }
.wcard {
  position: relative; border-radius: var(--r-lg); overflow: hidden; cursor: pointer; aspect-ratio: 9 / 16;
  background: var(--surface-2); isolation: isolate;
  transition: transform .6s var(--ease), opacity .4s var(--ease);
}
.wcard { grid-row: span 3; }
.wcard.wide { grid-column: span 2; grid-row: span 2; }
.wcard.hide { display: none; }
.wcard video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.wcard:hover video { transform: scale(1.05); }
.wcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.28) 0%, transparent 28%, transparent 55%, rgba(0,0,0,.78) 100%); z-index: 0; pointer-events: none; }
.wcard-top, .wcard-bottom { position: absolute; left: 16px; right: 16px; z-index: 1; color: #fff; }
.wcard-top { top: 14px; display: flex; justify-content: space-between; align-items: center; }
.wcard-bottom { bottom: 16px; display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.wcard-bottom b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }
.wcard-bottom small { font-size: 12.5px; opacity: .72; }
.badge { font-size: 11px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: rgba(10,10,10,.35); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.wplay { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background-color .3s, transform .4s var(--ease); }
.wplay svg { width: 15px; height: 15px; fill: #fff; stroke: none; margin-left: 2px; }
.wcard:hover .wplay { background: var(--accent); transform: scale(1.08); }
.wcard:hover .wplay svg { fill: var(--accent-ink); }

/* ---------- Case studies ---------- */
.cases { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.case { border-radius: var(--r-xl); overflow: hidden; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; }
.case-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.case-media video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.case:hover .case-media video { transform: scale(1.04); }
.case-body { padding: 30px; }
.case-client { font-size: 13px; font-weight: 600; color: var(--accent-text); letter-spacing: .02em; }
.case h3 { font-size: 26px; margin: 10px 0 26px; letter-spacing: -0.03em; line-height: 1.15; }
.case-metrics { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.case-metrics div { padding-top: 20px; }
.case-metrics div + div { border-left: 1px solid var(--line); padding-left: 24px; }
.case-metrics b { display: block; font-size: 44px; font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.case-metrics small { color: var(--text-2); font-size: 14px; }

/* ---------- Compare ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 1000px; margin: 0 auto; }
.compare-col { border-radius: var(--r-xl); padding: 36px; border: 1px solid var(--line); }
.compare-col h3 { font-size: 20px; margin-bottom: 26px; display: flex; align-items: center; gap: 10px; letter-spacing: -0.02em; }
.compare-col.old { color: var(--text-2); }
.compare-col.old h3 { color: var(--text); }
.compare-col.new { background: var(--surface); border-color: color-mix(in srgb, var(--accent) 60%, transparent); box-shadow: 0 0 0 6px var(--glow), var(--shadow-lg); }
.compare ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.compare li { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; }
.x, .v { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; margin-top: 1px; }
.x { background: var(--surface-3); color: var(--text-3); }
.v { background: var(--accent); color: var(--accent-ink); }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.process-head { position: sticky; top: 120px; }
.process-head p { color: var(--text-2); font-size: 18px; margin: 20px 0 32px; max-width: 440px; }
.steps { list-style: none; padding: 0; margin: 0; }
.step { display: grid; grid-template-columns: 90px 1fr; gap: 10px; padding: 36px 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step-n { font-family: var(--serif); font-style: italic; font-size: 52px; line-height: .9; color: var(--text-3); transition: color .5s var(--ease); }
.step.in .step-n { color: var(--accent-text); }
.step h3 { font-size: 24px; margin-bottom: 10px; letter-spacing: -0.03em; }
.step p { color: var(--text-2); font-size: 16px; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: stretch; min-height: 560px; }
.plan {
  position: relative; display: flex; flex-direction: column; padding: 30px 26px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line); transition: transform .5s var(--ease), border-color .3s;
}
.plan:hover { transform: translateY(-4px); border-color: var(--line-2); }
.plan.featured { background: var(--invert-bg); color: var(--invert-text); border-color: transparent; box-shadow: var(--shadow-lg); }
.plan.featured .plan-desc, .plan.featured .plan-feats li, .plan.featured .per, .plan.featured .price .cur { color: color-mix(in srgb, var(--invert-text) 66%, transparent); }
.plan.featured .plan-feats { border-color: color-mix(in srgb, var(--invert-text) 14%, transparent); }
.plan-tag { position: absolute; top: 26px; right: 22px; font-size: 11.5px; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); }
.plan h3 { font-size: 20px; letter-spacing: -0.02em; }
.plan-desc { color: var(--text-2); font-size: 14.5px; margin-top: 6px; min-height: 46px; line-height: 1.5; }
.price { margin: 26px 0 2px; display: flex; align-items: baseline; gap: 5px; flex-wrap: wrap; }
.price .from { width: 100%; font-size: 13px; color: var(--text-3); margin-bottom: 2px; }
.plan.featured .price .from { color: color-mix(in srgb, var(--invert-text) 55%, transparent); }
.price .cur { font-size: 17px; font-weight: 600; color: var(--text-2); }
.price .amt { font-size: 46px; font-weight: 600; letter-spacing: -0.055em; line-height: 1; font-variant-numeric: tabular-nums; }
.per { font-size: 13.5px; color: var(--text-3); }
.plan .btn { margin: 24px 0; width: 100%; }
.plan.featured .btn-ghost { background: transparent; border-color: color-mix(in srgb, var(--invert-text) 25%, transparent); color: var(--invert-text); }
.plan-feats { list-style: none; padding: 22px 0 0; margin: 0; display: grid; gap: 12px; border-top: 1px solid var(--line); }
.plan-feats li { position: relative; padding-left: 28px; font-size: 14.5px; color: var(--text-2); line-height: 1.45; }
.plan-feats li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A0B05' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/11px no-repeat;
}
.plan.skeleton { background: var(--surface); border-color: var(--line); }
.plan.skeleton::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(100deg, transparent 30%, var(--surface-2) 50%, transparent 70%); background-size: 200% 100%;
  animation: shimmer 1.3s linear infinite;
}
@keyframes shimmer { from { background-position: 150% 0; } to { background-position: -50% 0; } }
.fade-in { animation: fadeUp .6s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }
.addons { margin-top: 44px; }
.addons h3 { font-size: 18px; margin-bottom: 14px; letter-spacing: -0.02em; }
.addon-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; min-height: 58px; }
.addon { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 16px 20px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); font-size: 14.5px; }
.addon b { white-space: nowrap; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.guarantees { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.guarantees div { display: flex; gap: 12px; align-items: flex-start; padding: 18px 20px; border-radius: var(--r-md); border: 1px dashed var(--line-2); font-size: 14.5px; color: var(--text-2); line-height: 1.5; }
.guarantees b { color: var(--text); }
.guarantees svg { width: 22px; height: 22px; flex: none; color: var(--accent-text); }

/* ---------- Testimonials ---------- */
.testimonials { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.quote { margin: 0; padding: 32px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 20px; }
.q-lg { grid-row: span 2; background: var(--invert-bg); color: var(--invert-text); border-color: transparent; justify-content: space-between; }
.q-lg blockquote { font-size: clamp(22px, 2.3vw, 30px) !important; letter-spacing: -0.03em; line-height: 1.3 !important; }
.q-lg figcaption small { color: color-mix(in srgb, var(--invert-text) 60%, transparent) !important; }
.quote blockquote { margin: 0; font-size: 18px; line-height: 1.5; letter-spacing: -0.015em; flex: 1; }
.quote figcaption { display: flex; align-items: center; gap: 12px; }
.quote figcaption b { font-weight: 600; }
.quote figcaption small { display: block; color: var(--text-2); font-size: 13.5px; }
.q-av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 700; background: var(--accent); color: var(--accent-ink); flex: none; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.faq-head { position: sticky; top: 120px; }
.faq-head p { color: var(--text-2); font-size: 17px; margin-top: 20px; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); transition: border-color .25s, background-color .25s; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 24px; font-weight: 600; font-size: 17px; letter-spacing: -0.015em; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/14px no-repeat;
  transition: transform .4s var(--ease), background-color .3s;
}
.faq details[open] summary::after { transform: rotate(135deg); background-color: var(--accent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A0B05' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E"); }
.faq details p { padding: 0 24px 24px; color: var(--text-2); font-size: 16px; max-width: 640px; }
.faq details[open] p { animation: fadeUp .45s var(--ease); }

/* ---------- CTA ---------- */
.cta-sec { padding-bottom: 100px; }
.cta-box {
  position: relative; overflow: hidden; border-radius: 40px; background: var(--surface); border: 1px solid var(--line);
  padding: 110px 40px; text-align: center; isolation: isolate;
}
.cta-box::before { content: ""; position: absolute; inset: auto 10% -70% 10%; height: 120%; background: radial-gradient(closest-side, var(--glow), transparent 70%); z-index: -1; }
.cta-videos video { position: absolute; width: 190px; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow-lg); z-index: -1; }
.cta-videos video:first-child { left: 48px; top: 50%; transform: translateY(-50%) rotate(-8deg); }
.cta-videos video:last-child { right: 48px; top: 50%; transform: translateY(-50%) rotate(8deg); }
.cta-inner { max-width: 660px; margin: 0 auto; }
.cta-box h2 { font-size: clamp(36px, 5.2vw, 66px); }
.cta-box p { color: var(--text-2); font-size: 18px; margin: 22px auto 0; max-width: 520px; }
.cta-small { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; color: var(--text-2); font-size: 14px; }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: #2BD46B; box-shadow: 0 0 0 4px rgba(43,212,107,.18); }

/* ---------- Footer ---------- */
.footer { padding: 80px 0 30px; border-top: 1px solid var(--line); overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { color: var(--text-2); font-size: 15px; margin: 18px 0 22px; max-width: 320px; }
.footer h4 { font-size: 13px; font-weight: 600; color: var(--text-3); margin-bottom: 18px; letter-spacing: .02em; }
.footer-col { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.footer-col a { color: var(--text-2); transition: color .2s; width: fit-content; }
.footer-col a:hover { color: var(--text); }
.socials { display: flex; gap: 8px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: var(--surface); transition: background-color .25s, color .25s, transform .4s var(--ease); }
.socials a:hover { background: var(--accent); color: var(--accent-ink); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }
.footer-big {
  font-size: clamp(90px, 22vw, 330px); font-weight: 700; letter-spacing: -0.07em; line-height: .8; text-align: center;
  margin: 70px 0 30px; color: transparent; -webkit-text-stroke: 1px var(--line-2);
  background: linear-gradient(180deg, var(--surface-3), transparent 85%); -webkit-background-clip: text; background-clip: text;
  user-select: none;
}
.footer-bottom { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); color: var(--text-3); }
.footer-bottom a:hover { color: var(--text); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 24px; }
.modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(4,4,5,.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); animation: fade .3s; }
@keyframes fade { from { opacity: 0; } }
.modal-body { position: relative; width: min(400px, 100%); animation: pop .45s var(--ease); }
.modal-body.wide { width: min(1080px, 100%); }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.97); } }
.modal-media { border-radius: 24px; overflow: hidden; aspect-ratio: 9 / 16; max-height: 78vh; margin: 0 auto; background: #000; }
.modal-body.wide .modal-media { aspect-ratio: 16 / 9; max-height: 80vh; }
.modal-media video { width: 100%; height: 100%; object-fit: cover; }
.modal-info { color: #fff; margin-top: 14px; display: flex; flex-direction: column; gap: 2px; }
.modal-info b { font-weight: 600; }
.modal-info small { opacity: .6; }
.modal-close { position: absolute; top: -52px; right: 0; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; transition: background-color .2s; }
.modal-close:hover { background: rgba(255,255,255,.22); }
.modal-close svg { width: 18px; height: 18px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
/* hero uses a pure-CSS entrance so it never waits on JavaScript */
.hero .reveal { opacity: 1; transform: none; transition: none; animation: heroIn 1.1s var(--ease) both; animation-delay: var(--d, 0s); }
.hero .reveal:nth-child(2) { --d: .08s; } .hero .reveal:nth-child(3) { --d: .16s; }
.hero .reveal:nth-child(4) { --d: .24s; } .hero .reveal:nth-child(5) { --d: .32s; }
.hero .reel.reveal { --d: .35s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(24px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .reveal { opacity: 1; transform: none; }
  .statement .w { opacity: 1; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .pricing { grid-template-columns: repeat(2, 1fr); }
  .addon-list { grid-template-columns: repeat(2, 1fr); }
  .work-grid { --col: calc((100vw - 48px - 32px) / 3); grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1200px) { .cta-videos { display: none; } }

@media (max-width: 900px) {
  .section { padding: 96px 0; }
  .nav-links, .nav-cta { display: none; }
  .burger { display: block; }
  .nav { height: 56px; }
  .hero { padding-top: 140px; }
  .reel { margin-top: 56px; }
  .rcard { width: 190px; }
  .section-head.split { flex-direction: column; align-items: flex-start; }
  .cases { grid-template-columns: 1fr; }
  .process, .faq-wrap { grid-template-columns: 1fr; gap: 40px; }
  .process-head, .faq-head { position: static; }
  .testimonials { grid-template-columns: 1fr; }
  .q-lg { grid-row: auto; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .guarantees { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 80px 0; }
  .container { padding: 0 16px; }
  .nav-wrap { top: 10px; padding: 0 10px; }
  .nav { padding-left: 16px; }
  .hero { padding-top: 120px; }
  .hero h1 { font-size: clamp(40px, 11.5vw, 56px); margin: 22px 0 20px; }
  .lead { font-size: 16.5px; }
  .hero-ctas { width: 100%; flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  .hero-proof { gap: 10px 18px; font-size: 13px; }
  .reel { margin-top: 44px; padding-top: 20px; }
  .reel-track { gap: 12px; animation-duration: 55s; }
  .rcard { width: 150px; border-radius: 18px; }
  .rcard:nth-child(odd) { transform: translateY(16px); }
  .rcard-label b { font-size: 12.5px; }
  .rcard-chip { font-size: 10px; }
  .logos { padding-top: 50px; }
  .wm { font-size: 21px; } .wm-2 { font-size: 24px; } .wm-4 { font-size: 23px; } .wm-3 { font-size: 16px; }
  .marquee-track { gap: 44px; }
  .statement-sec { padding-top: 80px; }
  .statement { font-size: 27px; text-align: left; }
  .showreel { margin-top: 48px; border-radius: 20px; aspect-ratio: 16 / 9; }
  .sr-circle { width: 72px; height: 72px; }
  .sr-circle svg { width: 24px; height: 24px; }
  .sr-label { font-size: 17px; }
  .showreel-corner { font-size: 10.5px; }
  .showreel-corner.tl { top: 16px; left: 18px; } .showreel-corner.br { bottom: 16px; right: 18px; }
  .stats { margin-top: 48px; }
  .stat { padding: 24px 12px 0; }
  .stat:nth-child(odd) { padding-left: 0; }
  .stat small { font-size: 13.5px; }
  .section-head { margin-bottom: 44px; }
  .section-head p { font-size: 16.5px; }
  .filters { width: 100%; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .work-grid { --col: calc((100vw - 32px - 10px) / 2); grid-template-columns: 1fr 1fr; gap: 10px; }
  .wcard { border-radius: 18px; }
  .wcard.wide { grid-column: 1 / -1; grid-row: span 2; }
  .wcard-bottom b { font-size: 13.5px; }
  .wcard-bottom small { font-size: 11.5px; }
  .wcard-top, .wcard-bottom { left: 12px; right: 12px; }
  .wplay { display: none; }
  .case-body { padding: 24px; }
  .case h3 { font-size: 22px; }
  .case-metrics b { font-size: 36px; }
  .compare { grid-template-columns: 1fr; }
  .compare-col { padding: 26px; }
  .step { grid-template-columns: 64px 1fr; padding: 28px 0; }
  .step-n { font-size: 40px; }
  .step h3 { font-size: 21px; }
  .pricing { grid-template-columns: 1fr; }
  .addon-list { grid-template-columns: 1fr; }
  .quote { padding: 26px; }
  .faq summary { font-size: 16px; padding: 20px; }
  .faq details p { padding: 0 20px 20px; font-size: 15.5px; }
  .cta-box { padding: 70px 22px; border-radius: 28px; }
  .cta-box p { font-size: 16.5px; }
  .footer-big { margin: 50px 0 24px; }
  .btn { white-space: normal; text-align: center; }
}

[hidden] { display: none !important; }

/* =========================================================
   Pricing calculator, rates, quick actions
   ========================================================= */
.svc { cursor: pointer; }
.svc-price { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.16); }
.svc-price span { font-size: 14px; color: rgba(255,255,255,.75); }
.svc-price b { color: #fff; font-size: 17px; letter-spacing: -0.02em; }
.svc-link { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); color: #fff; font-size: 13px; font-weight: 600; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background-color .25s, color .25s; white-space: nowrap; }
.svc-link svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.svc:hover .svc-link, .svc-link:focus-visible { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.svc:hover .svc-link svg { transform: translateX(2px); }

.calc { display: grid; grid-template-columns: 340px 1fr; gap: 16px; align-items: start; }
.calc-list { display: flex; flex-direction: column; gap: 8px; }
.calc-item {
  display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 14px; width: 100%; text-align: left;
  padding: 10px 14px 10px 10px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line);
  transition: border-color .25s, box-shadow .25s;
}
.calc-item:hover { border-color: var(--line-2); }
.calc-item[aria-selected="true"] { border-color: color-mix(in srgb, var(--accent) 70%, transparent); box-shadow: 0 0 0 4px var(--glow); }
.calc-thumb { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; background: var(--surface-2); }
.calc-item b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; }
.calc-item small { color: var(--text-2); font-size: 13px; }
.calc-item svg { width: 16px; height: 16px; color: var(--text-3); transition: transform .3s var(--ease), color .2s; }
.calc-item[aria-selected="true"] svg { color: var(--accent-text); transform: translateX(2px); }

.calc-panel { position: sticky; top: 96px; padding: 34px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.calc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.calc-head h3 { font-size: clamp(24px, 2.6vw, 32px); }
.calc-head p { color: var(--text-2); margin-top: 6px; }
.calc-rev { flex: none; font-size: 12.5px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); white-space: nowrap; }
.calc-len { margin-top: 28px; padding: 22px; border-radius: var(--r-lg); background: var(--surface-2); border: 1px solid var(--line); }
.calc-len-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.calc-len-top label { font-size: 14px; font-weight: 600; color: var(--text-2); }
.calc-len-top output { font-size: 22px; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
#calcRange {
  -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; outline: none; cursor: pointer; margin: 8px 0;
  background: linear-gradient(90deg, var(--accent) 0 var(--p, 0%), var(--surface-3) var(--p, 0%) 100%);
}
#calcRange::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); border: 4px solid var(--surface); box-shadow: 0 0 0 1px var(--line-2), 0 4px 14px rgba(0,0,0,.35); transition: transform .2s; }
#calcRange::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--accent); border: 4px solid var(--surface); box-shadow: 0 0 0 1px var(--line-2); }
#calcRange:active::-webkit-slider-thumb { transform: scale(1.12); }
#calcRange:focus-visible { box-shadow: 0 0 0 3px var(--glow); }
.calc-quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.calc-quick button { height: 32px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--text-2); border: 1px solid var(--line-2); background: var(--surface); transition: background-color .2s, color .2s, border-color .2s; }
.calc-quick button:hover { color: var(--text); border-color: var(--text-3); }
.calc-quick button.on { background: var(--invert-bg); color: var(--invert-text); border-color: transparent; }
.calc-model { margin-top: 16px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.calc-model-label { font-size: 14px; font-weight: 600; color: var(--text-2); }
.calc-model-opts { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; border-radius: 18px; background: var(--surface-2); border: 1px solid var(--line); min-width: 260px; }
.calc-model-opts button { text-align: left; padding: 9px 14px; border-radius: 13px; transition: background-color .2s, box-shadow .2s; }
.calc-model-opts button b { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; }
.calc-model-opts button small { display: block; font-size: 12px; color: var(--text-2); margin-top: 1px; }
.calc-model-opts button:hover { background: color-mix(in srgb, var(--surface) 60%, transparent); }
.calc-model-opts button[aria-checked="true"] { background: var(--surface); box-shadow: 0 0 0 1px var(--line-2), 0 6px 16px -10px rgba(0,0,0,.4); }
.calc-x { font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); }
.calc-total b.approx::before { content: "≈ "; font-weight: 500; opacity: .55; }
.rates-note { margin: -6px 0 16px; color: var(--text-2); font-size: 14.5px; max-width: 760px; }
.rates-note b { color: var(--text); font-weight: 600; }
.calc-total { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px 16px; flex-wrap: wrap; margin-top: 26px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.calc-total small { display: block; color: var(--text-2); font-size: 14px; }
.calc-total b { display: block; font-size: clamp(42px, 5vw, 60px); font-weight: 600; letter-spacing: -0.055em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.calc-total b.quote { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; color: var(--accent-text); }
#calcBreak { max-width: 320px; text-align: right; line-height: 1.5; }
.calc-feats { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.calc-feats li { position: relative; padding-left: 28px; font-size: 14.5px; color: var(--text-2); line-height: 1.45; }
.calc-feats li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A0B05' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/11px no-repeat;
}
.calc-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.calc-cta .btn-primary { flex: 1 1 260px; }
.calc-panel.swap .calc-head, .calc-panel.swap .calc-feats, .calc-panel.swap .calc-sample { animation: fadeUp .45s var(--ease) both; }
.calc-panel.swap .calc-sample:nth-child(2) { animation-delay: .06s; }
.calc-panel.swap .calc-sample:nth-child(3) { animation-delay: .12s; }

.calc-samples { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.calc-samples-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.calc-samples-head h4 { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.calc-samples-all { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--accent-text); }
.calc-samples-all svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.calc-samples-all:hover svg { transform: translateX(3px); }
.calc-samples-grid { display: flex; gap: 12px; align-items: flex-start; }
.calc-sample {
  flex: var(--a, .5625) 1 0; min-width: 0; position: relative; aspect-ratio: var(--a, .5625); border-radius: var(--r-md); overflow: hidden; cursor: pointer;
  background: var(--surface-2); isolation: isolate;
}
.calc-sample video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.calc-sample:hover video { transform: scale(1.05); }
.calc-sample::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.75)); pointer-events: none; }
.calc-sample-info { position: absolute; left: 12px; right: 12px; bottom: 10px; z-index: 1; color: #fff; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.calc-sample-info b { font-size: 13px; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }
.calc-sample-info small { display: block; font-size: 11.5px; opacity: .7; margin-top: 2px; }
.calc-sample .wplay { width: 32px; height: 32px; }
.calc-sample .wplay svg { width: 12px; height: 12px; }
.calc-sample:hover .wplay { background: var(--accent); }
.calc-sample:hover .wplay svg { fill: var(--accent-ink); }

/* Hero: what a brand skips paying for */
.hero-compare {
  display: flex; align-items: stretch; gap: 8px; margin-top: 30px; padding: 8px; max-width: 760px;
  border-radius: 26px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: 0 20px 50px -30px rgba(0,0,0,.45);
  text-align: left;
}
.hc-old { flex: 1; padding: 10px 14px; }
.hc-old small, .hc-new small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); margin-bottom: 8px; }
.hc-old ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.hc-old li {
  font-size: 13.5px; font-weight: 500; color: var(--text-3); padding: 4px 10px; border-radius: 999px; background: var(--surface-2);
  text-decoration: line-through; text-decoration-color: color-mix(in srgb, #FF4D4D 75%, transparent); text-decoration-thickness: 1.5px;
}
.hc-arrow { flex: none; width: 36px; display: grid; place-items: center; color: var(--text-3); }
.hc-arrow svg { width: 20px; height: 20px; }
.hc-new {
  flex: none; display: flex; flex-direction: column; justify-content: center; padding: 12px 22px; border-radius: 20px;
  background: var(--accent); color: var(--accent-ink);
}
.hc-new small { color: color-mix(in srgb, var(--accent-ink) 62%, transparent); margin-bottom: 2px; }
.hc-new b { font-size: 24px; font-weight: 600; letter-spacing: -0.035em; white-space: nowrap; line-height: 1.15; }
.hero-compare + .hero-ctas { margin-top: 26px; }
@media (max-width: 640px) {
  .hero-compare { flex-direction: column; border-radius: 22px; width: 100%; }
  .hc-old { padding: 8px 8px 4px; }
  .hc-arrow { width: auto; height: 22px; transform: rotate(90deg); }
  .hc-new { align-items: flex-start; }
}

/* Foldable blocks: always open on desktop (summary hidden), tap-to-open on phones */
.fold-btn { display: none; }
.calc-feats-fold .calc-feats { margin-top: 22px; }

/* Calculator price bar for phones */
.cbar { display: none; }

@media (max-width: 640px) {
  /* every service visible at once, two per row */
  #calcList.calc-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; overflow: visible; margin: 0; padding: 0; scroll-snap-type: none; }
  #calcList .calc-item { width: auto; min-width: 0; grid-template-columns: 1fr; gap: 0; padding: 11px 13px; border-radius: 14px; min-height: 64px; align-content: center; }
  #calcList .calc-item .calc-thumb, #calcList .calc-item > svg { display: none; }
  .calc-item b { font-size: 14px; line-height: 1.2; }
  .calc-item small { font-size: 12.5px; }
  .calc-item[aria-selected="true"] { background: color-mix(in srgb, var(--accent) 16%, var(--surface)); }
  #calcList .calc-item:last-child:nth-child(odd) { grid-column: 1 / -1; }

  .calc-panel { margin-top: 4px; }
  .calc-total b { font-size: 44px; }

  .fold-btn {
    display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; text-align: left;
    padding: 15px 18px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); font-weight: 600; font-size: 15px;
  }
  .fold-chev { width: 18px; height: 18px; flex: none; transition: transform .3s var(--ease); }
  .fold.open .fold-chev { transform: rotate(180deg); }
  .fold:not(.open) .fold-body { display: none; }
  .fold.open .fold-body { animation: fadeUp .35s var(--ease); }
  .calc-feats-fold { margin-top: 20px; }
  .calc-feats-fold .calc-feats { margin-top: 14px; padding: 0 4px; }
  .rates h3 { display: none; }
  .rates-note { margin: 0 0 12px; font-size: 14px; }
  .rates-fold.open .fold-btn { margin-bottom: 12px; }

  .cbar {
    position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 56; display: flex;
    align-items: center; gap: 10px; padding: 8px 8px 8px 18px; border-radius: 22px;
    background: var(--invert-bg); color: var(--invert-text); box-shadow: 0 14px 40px -12px rgba(0,0,0,.55);
    transform: translateY(150%); transition: transform .45s var(--ease);
  }
  .cbar.show { transform: none; }
  .cbar-text { flex: 1; min-width: 0; line-height: 1.15; }
  .cbar-text small { display: block; font-size: 12px; opacity: .65; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .cbar-text b { font-size: 21px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
  .cbar .btn { height: 44px; flex: none; }
}

.center-cta { text-align: center; margin-top: 40px; }
.badge { white-space: nowrap; }
@media (max-width: 640px) { .wcard-top .badge + .badge { display: none; } }
.rates { margin-top: 56px; }
.rates h3 { font-size: 20px; margin-bottom: 16px; letter-spacing: -0.02em; }
.rates-table { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.rates-row { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr .7fr; gap: 16px; padding: 16px 22px; align-items: center; border-top: 1px solid var(--line); font-size: 15px; }
.rates-th { border-top: 0; background: var(--surface-2); font-size: 12px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--text-2); }
.rates-row .muted { color: var(--text-2); }
.rates-row button { text-align: left; font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; }
.rates-row button svg { width: 14px; height: 14px; color: var(--text-3); }
.rates-row button:hover { color: var(--accent-text); }

.custom-quote {
  margin-top: 20px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
  padding: 32px 36px; border-radius: var(--r-xl); background: var(--invert-bg); color: var(--invert-text);
}
.custom-quote h3 { font-size: 24px; }
.custom-quote p { margin-top: 8px; max-width: 640px; color: color-mix(in srgb, var(--invert-text) 70%, transparent); }

/* Mobile quick bar + desktop WhatsApp button */
.mbar {
  position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 55; display: none;
  align-items: center; gap: 10px; padding: 8px 8px 8px 18px; border-radius: 999px;
  background: var(--nav-bg); border: 1px solid var(--line-2); backdrop-filter: blur(20px) saturate(1.5); -webkit-backdrop-filter: blur(20px) saturate(1.5);
  box-shadow: 0 14px 40px -12px rgba(0,0,0,.5); transform: translateY(140%); transition: transform .5s var(--ease);
}
.mbar.show { transform: none; }
.mbar-text { flex: 1; line-height: 1.15; min-width: 0; }
.mbar-text small { display: block; font-size: 11.5px; color: var(--text-2); }
.mbar-text b { font-size: 16px; letter-spacing: -0.02em; }
.mbar .btn { height: 42px; }
.mbar-wa, .wa-float { background: #25D366; color: #fff; }
.mbar-wa { width: 42px; height: 42px; border-radius: 50%; flex: none; display: grid; place-items: center; }
.mbar-wa svg, .wa-float svg { width: 22px; height: 22px; }
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 55; display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 20px 0 16px; border-radius: 999px; font-weight: 600; font-size: 14.5px;
  box-shadow: 0 14px 34px -10px rgba(37,211,102,.55); transform: translateY(160%); transition: transform .5s var(--ease), box-shadow .3s;
}
.wa-float.show { transform: none; }
.wa-float:hover { box-shadow: 0 18px 40px -10px rgba(37,211,102,.7); }

@media (max-width: 1000px) {
  .calc { grid-template-columns: minmax(0, 1fr); }
  .calc-list { flex-direction: row; overflow-x: auto; scrollbar-width: none; margin: 0 -24px; padding: 4px 24px 10px; scroll-snap-type: x mandatory; }
  .calc-list::-webkit-scrollbar { display: none; }
  .calc-item { flex: none; width: 250px; scroll-snap-align: start; }
  .calc-panel { position: static; }
}
@media (max-width: 760px) {
  .rates-th { display: none; }
  .rates-row { grid-template-columns: 1fr 1fr; gap: 10px 16px; padding: 18px 20px; }
  .rates-row > :first-child { grid-column: 1 / -1; font-size: 16.5px; }
  .rates-row [data-label]::before { content: attr(data-label); display: block; font-size: 11px; color: var(--text-3); text-transform: uppercase; letter-spacing: .07em; font-weight: 600; margin-bottom: 2px; }
  .mbar { display: flex; }
  .wa-float { display: none; }
  .footer { padding-bottom: 100px; }
}
@media (max-width: 640px) {
  .calc-list { margin: 0 -16px; padding: 4px 16px 10px; }
  .calc-item { width: 230px; }
  .calc-panel { padding: 22px; border-radius: 24px; }
  .calc-head { flex-direction: column; gap: 10px; }
  .calc-len { padding: 18px; }
  .calc-feats { grid-template-columns: 1fr; }
  #calcBreak { text-align: left; }
  .calc-samples-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -22px; padding: 0 22px 4px; gap: 10px; }
  .calc-samples-grid::-webkit-scrollbar { display: none; }
  .calc-sample { flex: none; height: 300px; width: auto; aspect-ratio: var(--a, .5625); scroll-snap-align: start; }
  .calc-sample .wplay { display: grid; }
  .custom-quote { padding: 26px 22px; }
}

/* =========================================================
   Videos are never cropped: shown whole, blurred cover fills the frame
   ========================================================= */
.rcard, .wcard, .svc-media, .calc-sample, .case-media, .showreel { background-color: #0c0c0d; }
.vblur { display: none; }
.vblur + video, .rcard video, .wcard video, .svc-media video, .calc-sample video, .case-media video, .sd-media video, .showreel video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.modal-media { aspect-ratio: auto; display: grid; place-items: center; }
.modal-media video { width: 100%; height: 100%; max-height: 80vh; object-fit: contain; background: #000; }
.modal-body:not(.wide) .modal-media { max-width: min(420px, 100%); }
.work-grid .wcard { aspect-ratio: auto; }

/* =========================================================
   Services: each card takes its video's shape (9:16 or 16:9)
   ========================================================= */
.svc-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.svc-row { display: grid; gap: 16px; }
.svc-row > *, .svc-details > *, .sd > * { min-width: 0; }
.svc-row-tall { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.svc-row-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.svc-tall { aspect-ratio: 9 / 16; }
.svc-wide { aspect-ratio: 16 / 9; }
.svc-tall h3 { font-size: 22px; }
.svc-tall .svc-body { padding: 22px; }
.svc-tall .svc-price { flex-wrap: wrap; gap: 10px; }
.svc-wide h3 { font-size: 28px; }
.svc-quote {
  background: var(--accent); color: var(--accent-ink); border: 0; cursor: default;
  background-image: radial-gradient(120% 80% at 100% 0%, rgba(255,255,255,.55), transparent 60%);
}
.svc-quote .svc-body { color: var(--accent-ink); }
.svc-quote h3 { font-size: 28px; }
.svc-quote p { color: color-mix(in srgb, var(--accent-ink) 72%, transparent); }
.svc-quote .svc-num { background: rgba(10,11,5,.08); border-color: rgba(10,11,5,.15); color: var(--accent-ink); }
.svc-quote-btn { margin-top: 18px; background: var(--accent-ink); color: var(--accent); }
.svc-quote-btn:hover { transform: translateY(-2px); }

@media (max-width: 1100px) {
  .svc-row-tall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .svc-row-wide { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .svc-layout, .svc-row { gap: 10px; }
  .svc-row-tall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-tall .svc-body { padding: 14px; }
  .svc-tall .svc-num { display: none; }
  .svc-tall h3 { font-size: 17px; line-height: 1.15; }
  .svc-tall p, .svc-wide p { display: none; }
  .svc-tall .svc-price { margin-top: 10px; padding-top: 10px; }
  .svc-tall .svc-price span { font-size: 12.5px; }
  .svc-tall .svc-price b { font-size: 14px; }
  .svc-tall .svc-link { display: none; }
  .svc-wide .svc-body { padding: 16px; }
  .svc-wide .svc-num { margin-bottom: 8px; }
  .svc-wide h3 { font-size: 20px; }
  .svc-wide .svc-price { margin-top: 10px; padding-top: 10px; }
  .svc-quote h3 { font-size: 18px; }
  .svc-quote p { display: block; font-size: 12.5px; }
  .svc-quote .svc-num { display: none; }
  .svc-quote-btn { margin-top: 10px; height: 34px; padding: 0 12px; font-size: 12.5px; }
}

/* =========================================================
   Two pages from one file: home (everything but Work) and /work
   ========================================================= */
/* each section lists its pages in data-page; <html data-page> is set before first paint */
html[data-page="home"] main > section:not([data-page~="home"]),
html[data-page="work"] main > section:not([data-page~="work"]),
html[data-page="services"] main > section:not([data-page~="services"]) { display: none; }
html[data-page="work"] #work { padding-top: 160px; background: var(--bg); }
html[data-page="work"] #workMoreWrap { display: none !important; }
@media (max-width: 640px) { html[data-page="work"] #work { padding-top: 120px; } }

/* =========================================================
   Services page
   ========================================================= */
.svc-intro { padding: 170px 0 40px; position: relative; overflow: hidden; }
.svc-intro::before { content: ""; position: absolute; width: 760px; height: 760px; left: 50%; top: -480px; transform: translateX(-50%); background: radial-gradient(closest-side, var(--glow), transparent 70%); pointer-events: none; }
.svc-intro .container { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.svc-intro h1 { font-size: clamp(40px, 6vw, 80px); letter-spacing: -0.05em; line-height: 1; max-width: 900px; }
.svc-intro h1 em { color: var(--accent-text); }
.svc-intro-lead { margin-top: 24px; max-width: 680px; font-size: clamp(17px, 1.5vw, 19px); color: var(--text-2); line-height: 1.6; }
.svc-facts { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; width: 100%; max-width: 980px; text-align: left; }
.svc-facts li { padding: 18px 20px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.svc-facts b { display: block; font-size: 16px; letter-spacing: -0.02em; }
.svc-facts span { display: block; margin-top: 2px; color: var(--text-2); font-size: 14px; }
html[data-page="services"] #services { padding-top: 70px; }
html[data-page="services"] #services .section-head { margin-bottom: 36px; }

.svc-details-sec { padding-top: 40px; }
.svc-details { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.sd {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center;
  padding: 36px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); scroll-margin-top: 100px;
}
.sd.sd-tall { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); }
.sd:nth-child(even) .sd-media { order: 2; }
.sd-media { position: relative; border-radius: var(--r-lg); overflow: hidden; background-color: #0c0c0d; cursor: pointer; }
.sd-wide .sd-media { aspect-ratio: 16 / 9; }
.sd-tall .sd-media { aspect-ratio: 9 / 16; }
.sd-media .wplay { position: absolute; left: 16px; bottom: 16px; z-index: 1; }
.sd-media:hover .wplay { background: var(--accent); }
.sd-media:hover .wplay svg { fill: var(--accent-ink); }
.sd-body .eyebrow { margin-bottom: 14px; }
.sd-body h2 { font-size: clamp(30px, 3.2vw, 42px); }
.sd-tag { margin-top: 10px; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--accent-text); }
.sd-desc { margin-top: 16px; color: var(--text-2); font-size: 16.5px; line-height: 1.65; max-width: 560px; }
.sd .calc-feats { margin-top: 22px; }
.sd-facts { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 6px 28px; margin: 26px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); }
.sd-facts dt { font-size: 12px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--text-3); }
.sd-facts dd { margin: 2px 0 0; font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.sd-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.sd-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--accent-text); }
.sd-more svg { width: 14px; height: 14px; }

@media (max-width: 1000px) {
  .svc-facts { grid-template-columns: 1fr 1fr; }
  .sd, .sd.sd-tall { grid-template-columns: 1fr; gap: 28px; padding: 24px; }
  .sd:nth-child(even) .sd-media { order: 0; }
  .sd-tall .sd-media { max-width: 360px; width: 100%; margin: 0 auto; }
  .sd-facts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .svc-intro { padding: 120px 0 20px; }
  .svc-facts { gap: 8px; margin-top: 32px; }
  .svc-facts li { padding: 14px; }
  .svc-facts b { font-size: 14.5px; }
  .svc-facts span { font-size: 12.5px; }
  .sd { padding: 18px; border-radius: 24px; }
  .sd-tall .sd-media { max-width: 280px; }
  .sd-tag { font-size: 19px; }
  .sd-desc { font-size: 15.5px; }
  .sd-cta .btn { flex: 1 1 100%; }
}
/* sample tiles: short titles, so narrow vertical tiles stay tidy */
.calc-sample-info b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.calc-sample.tall .calc-sample-info small { display: none; }
.calc-sample.tall .calc-sample-info { left: 10px; right: 10px; }

/* Case studies: vertical videos sit beside the story in their own 9:16 frame */
.case-media { cursor: pointer; }
.case-media .wplay { position: absolute; left: 16px; bottom: 16px; z-index: 1; }
.case-media:hover .wplay { background: var(--accent); }
.case-media:hover .wplay svg { fill: var(--accent-ink); }
.case-tall { flex-direction: row; align-items: stretch; }
.case-tall .case-media { flex: none; width: 42%; aspect-ratio: 9 / 16; }
.case-tall .case-body { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.case-tall h3 { font-size: 24px; }
.case-tall .case-metrics { grid-template-columns: 1fr; gap: 0; }
.case-tall .case-metrics div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); margin-top: 16px; }
.case-tall .case-metrics b { font-size: 34px; }
@media (max-width: 640px) {
  .case-tall { flex-direction: column; }
  .case-tall .case-media { width: 100%; max-width: 300px; margin: 18px auto 0; border-radius: 18px; }
}


.calc > *, .calc-panel > * { min-width: 0; }

/* =========================================================
   Services without a real sample yet: a branded card, no stock video
   ========================================================= */
.svc-plain { background: #0d0e0b; border-color: transparent; color: #fff; }
.svc-plain .svc-body { color: #fff; }
.svc-plain p { color: rgba(255,255,255,.7); }
.svc-plain .svc-num { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.18); }
.svc-soon {
  position: absolute; inset: 0; z-index: -1; overflow: hidden;
  background:
    radial-gradient(90% 70% at 85% 10%, rgba(212,255,58,.28), transparent 60%),
    radial-gradient(70% 60% at 0% 100%, rgba(124,92,255,.25), transparent 60%),
    linear-gradient(160deg, #15170f, #0b0b0c);
}
.svc-soon-mark {
  position: absolute; right: -6%; top: -14%; width: 62%; aspect-ratio: 1; opacity: .16;
  background: url("brand/logos/take8-symbol-lime.svg") center / contain no-repeat;
}
.svc-soon-text {
  position: absolute; top: 18px; right: 18px; font-size: 11.5px; font-weight: 600; letter-spacing: .06em;
  padding: 5px 10px; border-radius: 999px; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
}
.sd-soon { position: relative; isolation: isolate; background-color: #0b0b0c; cursor: default; }
.sd-soon .svc-soon-mark { right: 50%; top: 50%; transform: translate(50%, -50%); width: 34%; opacity: .5; }
.sd-soon .svc-soon-text { top: auto; right: auto; left: 50%; bottom: 18px; transform: translateX(-50%); }

/* fewer than three samples: keep each tile at a natural size instead of stretching */
.calc-sample { max-width: calc(320px * var(--a, .5625)); }

