/* ==========================================================================
   kk-growth theme: main stylesheet.
   Port of the Next.js site src/app/globals.css + src/components/graphics/graphics.css
   (in that order). WordPress-specific changes are marked "WP:".
   ========================================================================== */

/* ==========================================================================
   KK Growth Studio — design system (white + red)
   ========================================================================== */
:root {
  --bg: #ffffff;
  --bg-2: #f6f5f3;
  --paper: #ffffff;
  --ink: #0b0b0c;
  --ink-2: #4a4a4f;
  --ink-3: #6e6e73;
  --line: #e7e5e1;
  --red: #e10e1f;
  --red-2: #ff4b57;
  --red-3: #ffe5e7;
  --red-deep: #9e0a16;
  --night: #0c0a0a;

  /* WP: next/font set these on <html>; here they are fallbacks the theme's font CSS may override. */
  --font-display: 'Bricolage Grotesque';
  --font-body: Inter;
  --font-mono: 'JetBrains Mono';

  --display: var(--font-display), 'Bricolage Grotesque', system-ui, sans-serif;
  --body: var(--font-body), Inter, system-ui, sans-serif;
  --mono: var(--font-mono), 'JetBrains Mono', ui-monospace, monospace;

  --fs-h1: clamp(2.5rem, 1.3rem + 3.7vw, 6rem);
  --fs-h1-page: clamp(2.3rem, 1.6rem + 3.2vw, 4.4rem);
  --fs-h2: clamp(2rem, 1.4rem + 2.4vw, 3.4rem);
  --fs-h3: clamp(1.2rem, 1.05rem + 0.5vw, 1.45rem);
  --fs-lead: clamp(1.08rem, 1rem + 0.4vw, 1.3rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9rem;

  --r-card: 24px;
  --r-lg: 28px;
  --shadow: 0 1px 2px rgb(11 11 12 / 0.04), 0 12px 32px -12px rgb(11 11 12 / 0.12);
  --shadow-lg: 0 30px 80px -30px rgb(11 11 12 / 0.28);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--bg); color: var(--ink-2);
  font: 400 var(--fs-body)/1.65 var(--body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
p a, li a, .prose a { color: var(--red-deep); }
p a:hover, li a:hover, .prose a:hover { color: var(--red); }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.04; letter-spacing: -0.025em; margin: 0 0 0.5em; font-weight: 700; text-wrap: balance; }
h1 { font-size: var(--fs-h1-page); font-weight: 800; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -0.01em; font-weight: 600; }
h1 em, h2 em, h3 em { font-style: normal; color: var(--red); }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--red); color: #fff; }
button { font: inherit; color: inherit; cursor: pointer; }

.sr-only, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; transition: top .2s; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 860px; }
.section { padding-block: clamp(72px, 10vw, 140px); position: relative; }
.section--alt { background: var(--bg-2); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink-2); }
.muted { color: var(--ink-3); }
.small { font-size: var(--fs-small); }

/* Eyebrow / kicker */
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 500 0.78rem/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--red-deep); margin-bottom: 18px; }
.kicker::before { content: ''; width: 22px; height: 2px; background: var(--red); border-radius: 2px; }
.dark .kicker, .cta-band .kicker { color: var(--red-2); }
.cta-band .kicker { color: #fff; }
.cta-band .kicker::before { background: #fff; }

/* Buttons */
.btn { --bx: 0px; --by: 0px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font: 600 1rem/1 var(--body); text-decoration: none; border: 1.5px solid transparent; transition: background .25s var(--ease), color .25s, border-color .25s, box-shadow .25s; transform: translate(var(--bx), var(--by)); will-change: transform; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 10px 30px -10px rgb(225 14 31 / 0.55); }
.btn--primary:hover { background: var(--red-deep); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--red-deep); }
.btn--light:hover { background: var(--ink); color: #fff; }
.btn--outline-light { border-color: rgb(255 255 255 / .7); color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--red-deep); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); text-decoration: none; }
.link-arrow svg { width: 16px; height: 16px; color: var(--red); transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* Cards & grids */
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.card { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(22px, 2.4vw, 32px); box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; }
a.card { text-decoration: none; color: inherit; display: block; }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #d9d6d0; }
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.card__icon { width: 52px; height: 52px; border-radius: 16px; background: var(--red-3); color: var(--red); display: grid; place-items: center; margin-bottom: 22px; }
.card__icon svg { width: 26px; height: 26px; }
.card__more { margin-top: 18px; }
.card--agency { background: var(--ink); color: #d6d4d0; border-color: var(--ink); }
.card--agency h3 { color: #fff; }
.card--agency .card__icon { background: rgb(255 255 255 / .08); color: var(--red-2); }
.card--agency .link-arrow { color: #fff; }
.card--agency .tag { background: var(--red); color: #fff; }
.tag { display: inline-block; font: 500 .7rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; background: var(--red-3); color: var(--red-deep); margin-bottom: 16px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: .9rem; color: var(--ink); text-decoration: none; }
a.chip:hover, .chip[aria-current='page'] { border-color: var(--red); color: var(--red-deep); background: var(--red-3); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }

/* Spotlight tiles */
[data-spotlight] { --mx: 50%; --my: 50%; }
[data-spotlight]::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(420px circle at var(--mx) var(--my), rgb(225 14 31 / .10), transparent 45%); }
[data-spotlight]:hover::before { opacity: 1; }

/* Placeholder image panel */
.placeholder { display: grid; place-items: center; gap: 10px; align-content: center; background: var(--bg-2); border: 1.5px dashed #e3b9bd; border-radius: var(--r-card); color: var(--red-deep); font: 500 .8rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; min-height: 220px; height: 100%; }
.placeholder svg { width: 40px; height: 40px; color: var(--red); }
.icon-panel { display: grid; place-items: center; min-height: 280px; height: 100%; border-radius: var(--r-card); background: radial-gradient(circle at 30% 20%, #fff 0, var(--red-3) 70%); border: 1px solid #f6d3d6; color: var(--red); }
.icon-panel svg { width: 84px; height: 84px; }
.media { position: relative; overflow: hidden; border-radius: var(--r-card); background: var(--bg-2); }
.media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Reveal & split text (JS adds .js to <html>) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; }
.js .split .w > span { transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.js .split.is-in .w > span { transform: none; }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 100; view-transition-name: site-header; transition: transform .45s var(--ease), background .3s, box-shadow .3s; }
.header__bar { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; transition: height .35s var(--ease); }
.header.is-scrolled { background: rgb(255 255 255 / .86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); box-shadow: 0 1px 0 var(--line); }
.header.is-scrolled .header__bar { height: 62px; }
.header.is-hidden { transform: translateY(-100%); }
.header::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--red); transform-origin: left; transform: scaleX(0); animation: drawline .6s .1s var(--ease) forwards; opacity: .9; }
.header.is-scrolled::after { opacity: 0; transition: opacity .3s; }
@keyframes drawline { to { transform: scaleX(1); } }
@keyframes fadeline { to { opacity: 0; } }
.header::after { animation: drawline .6s .1s var(--ease) forwards, fadeline .4s 1.2s forwards; }
/* Navigation progress (WP: main.js sets .is-navigating on <html> on internal link clicks, clears it on pageshow). */
.header::before { content: ''; position: absolute; left: 0; bottom: 0; z-index: 1; height: 2px; width: 100%; background: linear-gradient(90deg, var(--red-2), var(--red)); box-shadow: 0 0 10px rgb(225 14 31 / .5); transform-origin: left; transform: scaleX(0); opacity: 0; transition: opacity .3s .1s, transform 0s .45s; pointer-events: none; }
.is-navigating .header::before { transform: scaleX(.88); opacity: 1; transition: transform 5s cubic-bezier(.08, .7, .2, 1), opacity .1s; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 700 1.15rem/1 var(--display); letter-spacing: -0.02em; }
.logo svg { width: 34px; height: 34px; }
.logo__ring { stroke-dasharray: 1; stroke-dashoffset: 1; animation: logoring .6s var(--ease) forwards; }
@keyframes logoring { to { stroke-dashoffset: 0; } }
.logo b { color: var(--red); font-weight: 700; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav__link { padding: 10px 14px; border-radius: 999px; text-decoration: none; font-weight: 500; color: var(--ink); font-size: .97rem; background: none; border: 0; display: inline-flex; align-items: center; gap: 6px; }
.nav__link:hover, .nav__link[aria-current='page'] { background: var(--bg-2); }
.nav__link svg { width: 14px; height: 14px; transition: transform .3s; }
.nav__item { position: static; }
.header__bar { position: relative; }
.mega { position: absolute; left: 50%; top: calc(100% - 6px); width: min(1000px, 94vw); transform: translate(-50%, 8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .35s var(--ease), visibility .25s; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 12px; display: grid; grid-template-columns: 1fr 1fr 260px; gap: 4px; }
.mega::before { content: ''; position: absolute; inset: -24px 0 auto; height: 24px; }
.nav__item:hover .mega, .nav__item:focus-within .mega, .nav__item.is-open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__item.is-dismissed .mega { opacity: 0; visibility: hidden; transition: none; }
.nav__item:hover .nav__link svg, .nav__item.is-open .nav__link svg { transform: rotate(180deg); }
.mega a { text-decoration: none; color: var(--ink); border-radius: 16px; }
.mega__item { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; padding: 12px; transition: background .2s; }
.mega__item:hover { background: var(--bg-2); }
.mega__item strong { display: block; font-weight: 600; line-height: 1.3; margin-bottom: 3px; }
.mega__desc { display: block; color: var(--ink-3); font-size: .86rem; line-height: 1.45; }
.mega__icon { width: 44px; height: 44px; border-radius: 13px; background: var(--red-3); color: var(--red); display: grid; place-items: center; transition: background .2s, color .2s; }
.mega__icon svg { width: 22px; height: 22px; }
.mega__item:hover .mega__icon { background: var(--red); color: #fff; }
.mega__agency { grid-column: 1 / 3; align-items: center; background: var(--ink); color: #fff !important; margin-top: 4px; }
.mega__agency:hover { background: #222; }
.mega__agency .mega__desc { color: #bdbab5; }
.mega__agency .mega__icon { background: rgb(255 255 255 / .1); color: var(--red-2); }
.mega__all { grid-column: 1 / 3; justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 10px 12px; color: var(--red-deep) !important; font-weight: 600; }
.mega__all svg { transition: transform .3s var(--ease); }
.mega__all:hover svg { transform: translateX(3px); }
.mega__feature { grid-column: 3; grid-row: 1 / span 5; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; background: var(--night); color: #fff !important; min-height: 100%; }
.mega__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 67% 45%; transform: scale(1.05); transition: transform .8s var(--ease); }
.mega__feature:hover .mega__img { transform: scale(1.15); }
.mega__feature::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgb(12 10 10 / .95) 78%); }
.mega__feature-body { position: relative; z-index: 1; display: grid; gap: 8px; padding: 22px; }
.mega__feature strong { font: 700 1.25rem/1.15 var(--display); letter-spacing: -0.01em; }
.mega__feature .mega__desc { color: #d6d1cf; }
.mega__cta { display: inline-flex; align-items: center; gap: 8px; justify-self: start; margin-top: 6px; padding: 10px 16px; border-radius: 999px; background: var(--red); font-weight: 600; font-size: .92rem; }
.mega__feature:hover .mega__cta { background: var(--red-2); }
.menu-toggle { display: none; }
.mobile-menu { display: none; }
@media (max-width: 960px) {
  .nav, .header__cta { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--ink); background: #fff; font-weight: 600; }
  .menu-toggle span { width: 18px; height: 2px; background: currentColor; position: relative; display: block; transition: background .2s; }
  .menu-toggle span::before, .menu-toggle span::after { content: ''; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); transition: transform .3s var(--ease); }
  .menu-toggle span::before { top: -6px; } .menu-toggle span::after { top: 6px; }
  .menu-open .menu-toggle span { background: transparent; }
  .menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
  .menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }
  .mobile-menu { display: block; position: fixed; inset: 0; z-index: -1; background: #fff; padding: calc(var(--header-h) + 24px) var(--gutter) 40px; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  .menu-open .mobile-menu { opacity: 1; visibility: visible; }
  .menu-open.header { transform: none; background: #fff; }
  .mobile-menu ul { list-style: none; padding: 0; margin: 0; }
  .mobile-menu li { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--i) * 45ms + 80ms); }
  .menu-open .mobile-menu li { opacity: 1; transform: none; }
  .mobile-menu a { display: block; padding: 12px 0; font: 700 1.7rem/1.1 var(--display); color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
  .mobile-menu .sub a { font: 500 1.05rem/1.3 var(--body); padding: 10px 0 10px 16px; color: var(--ink-2); }
  .mobile-menu .btn { margin-top: 28px; width: 100%; font-size: 1.05rem; }
}

/* ---------- Footer ---------- */
.footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: clamp(56px, 8vw, 96px) 0 28px; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer__label { font: 500 .78rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { text-decoration: none; color: var(--ink); }
.footer a:hover { color: var(--red-deep); text-decoration: underline; }
.footer__promise { font: 700 clamp(1.4rem, 1.1rem + 1vw, 2rem)/1.15 var(--display); color: var(--ink); letter-spacing: -0.02em; margin: 18px 0 24px; max-width: 420px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; color: var(--ink); transition: background .25s, color .25s, border-color .25s; }
.socials a:hover { background: var(--red); border-color: var(--red); color: #fff; text-decoration: none; }
.socials svg { width: 18px; height: 18px; }
.footer__bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--ink-3); font-size: .88rem; }
.footer__bottom nav { display: flex; gap: 18px; }
.footer__bottom a { color: var(--ink-3); }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* ---------- Home hero ---------- */
.hero { position: relative; padding-top: calc(var(--header-h) + clamp(24px, 5vw, 64px)); padding-bottom: clamp(48px, 6vw, 80px); overflow: clip; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 70% at 78% 40%, rgb(255 229 231 / .9), transparent 70%); pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 56px); }
.hero h1 { font-size: var(--fs-h1); line-height: .98; letter-spacing: -0.035em; margin-bottom: 24px; }
.hero .lead { max-width: 560px; margin-bottom: 32px; }
.hero__visual { position: relative; aspect-ratio: 1 / 0.92; }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } .hero__visual { max-width: 560px; width: 100%; margin-inline: auto; } }

.founder { display: flex; align-items: center; gap: 14px; margin-top: 36px; padding: 10px 18px 10px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); width: fit-content; max-width: 100%; }
.founder img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.founder strong { display: block; color: var(--ink); font-weight: 600; line-height: 1.2; }
.founder small { color: var(--ink-3); font-size: .86rem; }
.roles { display: inline-grid; vertical-align: bottom; color: var(--red-deep); font-weight: 600; }
.roles > span { grid-area: 1 / 1; opacity: 0; transform: translateY(8px); animation: role 10s infinite; }
.roles > span:nth-child(2) { animation-delay: 2.5s; } .roles > span:nth-child(3) { animation-delay: 5s; } .roles > span:nth-child(4) { animation-delay: 7.5s; }
@keyframes role { 0%, 3% { opacity: 0; transform: translateY(8px); } 6%, 22% { opacity: 1; transform: none; } 25%, 100% { opacity: 0; transform: translateY(-8px); } }

.proof-strip { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; font-size: .88rem; color: var(--ink-3); }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 22px 0; background: #fff; }
.marquee__track { display: flex; gap: 48px; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { display: inline-flex; align-items: center; gap: 48px; font: 700 clamp(1.4rem, 1rem + 1.6vw, 2.4rem)/1 var(--display); color: var(--ink); letter-spacing: -0.02em; white-space: nowrap; }
.marquee__track span::after { content: ''; width: 12px; height: 12px; border-radius: 50%; background: var(--red); }
@keyframes marquee { to { transform: translateX(-50%); } }
.platforms { padding: 36px 0; }
.platforms p { text-align: center; font: 500 .78rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 22px; }
.platforms img { margin-inline: auto; width: min(1100px, 100%); filter: grayscale(1); opacity: .7; transition: filter .4s, opacity .4s; mix-blend-mode: multiply; }
.platforms img:hover { filter: none; opacity: 1; }

/* ---------- Scroll scenes (sticky, --p = 0..1 set by JS) ---------- */
.scene { --p: 0; position: relative; }
.scene__track { height: 240vh; }
.scene__sticky { position: sticky; top: 0; min-height: 100vh; display: flex; align-items: center; padding-block: calc(var(--header-h) + 12px) 32px; }
@media (max-width: 767px), (prefers-reduced-motion: reduce) {
  .scene { --p: 1 !important; }
  .scene__track { height: auto; }
  .scene__sticky { position: relative; min-height: 0; padding-block: clamp(72px, 10vw, 120px); }
}
.no-js .scene { --p: 1; }

/* Problem scene */
.problem__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; width: 100%; }
.problem__stage { --s: clamp(0, calc((var(--p) - .5) * 20), 1); position: relative; aspect-ratio: 1.1 / 1; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; isolation: isolate; }
.problem__stage::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(#d6d1ca 1px, transparent 1.3px); background-size: 18px 18px; opacity: calc(1 - var(--p) * .75); -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent); mask-image: radial-gradient(closest-side, #000 55%, transparent); }
.problem__stage::after { content: ''; position: absolute; inset: 18% 8%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgb(255 75 87 / .2), transparent); opacity: clamp(0, calc((var(--p) - .4) * 2.5), 1); }
.problem__bar { position: absolute; top: 0; left: 0; right: 0; z-index: 2; display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: rgb(255 255 255 / .85); backdrop-filter: blur(6px); }
.problem__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.problem__bar span { margin-left: 8px; font: 500 .7rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.problem__status { margin-left: auto; display: grid; font: 600 .66rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; font-style: normal; }
.problem__status b { grid-area: 1 / 1; justify-self: end; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; font-weight: 600; }
.problem__status b::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.problem__status b:first-child { background: var(--bg-2); color: var(--ink-3); opacity: calc(1 - var(--s)); }
.problem__status b:last-child { background: var(--red); color: #fff; opacity: var(--s); }
.problem__chip { --q: clamp(0, calc(var(--p) * 1.6), 1); position: absolute; left: 50%; top: 50%; display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px dashed #cfcac3; color: var(--ink-3); font-size: .85rem; white-space: nowrap; box-shadow: 0 8px 18px -12px rgb(11 11 12 / .3); transform: translate(-50%, -50%) translate(calc(var(--x) * (1 - var(--q))), calc(var(--y) * (1 - var(--q)))) rotate(calc(var(--r) * (1 - var(--q)))) scale(calc(1 - var(--q) * .6)); opacity: calc(1 - var(--q)); animation: chip-float 4.5s ease-in-out calc(var(--i) * -.6s) infinite alternate; }
.problem__chip::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #c9c4bd; }
.problem__chip:nth-of-type(3n)::before { background: var(--red-2); }
@keyframes chip-float { to { translate: 0 -7px; } }
.path { position: absolute; inset: 0; display: flex; align-items: flex-start; align-content: center; justify-content: center; gap: clamp(6px, 1.5vw, 14px); padding: 20px; flex-wrap: wrap; }
.path__node { --o: clamp(0, calc((var(--p) - .45 - var(--n) * .12) * 5), 1); opacity: var(--o); transform: translateY(calc((1 - var(--o)) * 16px)); display: grid; gap: 6px; justify-items: center; text-align: center; width: clamp(84px, 10vw, 120px); }
.path__dot { position: relative; width: clamp(56px, 7vw, 76px); height: clamp(56px, 7vw, 76px); border-radius: 50%; display: grid; place-items: center; background: var(--red-3); color: var(--red); border: 1px solid #f6c8cc; margin-bottom: 4px; }
.path__node.is-goal .path__dot { background: var(--red); color: #fff; box-shadow: 0 12px 30px -8px rgb(225 14 31 / .6); }
.path__node.is-goal .path__dot::after { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid var(--red); opacity: 0; animation: dot-ping 2.4s var(--ease) infinite; }
@keyframes dot-ping { 0% { opacity: .5; transform: scale(.85); } 80%, 100% { opacity: 0; transform: scale(1.25); } }
.path__dot svg { width: 28px; height: 28px; }
.path__node strong { color: var(--ink); font-family: var(--display); font-size: 1.1rem; }
.path__node small { color: var(--ink-3); font-size: .76rem; line-height: 1.3; }
.path__arrow { --o: clamp(0, calc((var(--p) - .5 - var(--n) * .12) * 5), 1); position: relative; width: clamp(16px, 3vw, 36px); height: 2px; background: var(--red); transform: scaleX(var(--o)); transform-origin: left; margin-top: calc(clamp(56px, 7vw, 76px) / 2 - 1px); }
.path__arrow::after { content: ''; position: absolute; right: -2px; top: -4px; border: 5px solid transparent; border-left: 7px solid var(--red); border-right: 0; }
.problem__meter { position: absolute; left: 22px; right: 22px; bottom: 18px; display: flex; align-items: center; gap: 12px; font: 500 .66rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.problem__meter i { flex: 1; height: 4px; border-radius: 4px; background: var(--bg-2); overflow: hidden; }
.problem__meter b { display: block; height: 100%; background: linear-gradient(90deg, var(--red-2), var(--red)); transform: scaleX(var(--p)); transform-origin: left; }
.problem__meter span:last-child { color: color-mix(in srgb, var(--red) calc(var(--s) * 100%), var(--ink-3)); }
@media (prefers-reduced-motion: reduce) { .problem__chip, .path__node.is-goal .path__dot::after { animation: none; } }
@media (max-width: 767px) { .problem__stage { aspect-ratio: auto; min-height: 340px; } }
@media (max-width: 900px) { .problem__grid { grid-template-columns: 1fr; } }

/* System scene (3 steps + glass dashboard) */
.system__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 72px); align-items: center; width: 100%; }
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.step { --on: clamp(0, calc((var(--p) - var(--n) * .3 + .05) * 8), 1); padding: 18px 20px 18px 22px; border-radius: 20px; border-left: 3px solid color-mix(in srgb, var(--red) calc(var(--on) * 100%), var(--line)); background: color-mix(in srgb, #fff calc(var(--on) * 100%), transparent); box-shadow: 0 10px 30px -18px rgb(0 0 0 / calc(var(--on) * .3)); transition: background .3s; }
.step h3 { margin-bottom: 6px; opacity: calc(.45 + var(--on) * .55); }
.step p { margin: 0; opacity: calc(.45 + var(--on) * .55); }
.step__n { font: 500 .72rem/1 var(--mono); color: var(--red-deep); letter-spacing: .1em; display: block; margin-bottom: 8px; }
.dash { position: relative; aspect-ratio: 1.15 / 1; border-radius: var(--r-lg); padding: 18px; background: linear-gradient(140deg, #fff, #fbf3f3); border: 1px solid var(--line); box-shadow: var(--shadow-lg); display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr 1fr; gap: 12px; }
.dash__top { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; font: 500 .72rem/1 var(--mono); color: var(--ink-3); letter-spacing: .08em; text-transform: uppercase; }
.dash__top i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.dash__top i:first-child { background: var(--red); }
.dash__top em { margin-left: auto; font-style: normal; padding: 5px 8px; border-radius: 999px; background: var(--red-3); color: var(--red-deep); }
.panel { --o: clamp(0, calc((var(--p) - var(--n) * .3 + .02) * 6), 1); opacity: var(--o); transform: translateY(calc((1 - var(--o)) * 30px)) scale(calc(.94 + var(--o) * .06)); border-radius: 18px; padding: 14px; background: rgb(255 255 255 / .7); backdrop-filter: blur(10px); border: 1px solid rgb(231 229 225 / .9); box-shadow: 0 8px 24px -14px rgb(0 0 0 / .25); display: flex; flex-direction: column; gap: 10px; min-height: 0; }
.panel__label { font: 500 .7rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.panel--wide { grid-column: 1 / -1; }
.bars { display: flex; align-items: flex-end; gap: 6px; flex: 1; min-height: 60px; }
.bars i { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(var(--red-2), var(--red)); height: calc(var(--h) * var(--o)); }
.mini-page { flex: 1; border-radius: 10px; background: #fff; border: 1px solid var(--line); padding: 10px; display: grid; gap: 6px; align-content: start; }
.mini-page i { height: 7px; border-radius: 4px; background: var(--line); display: block; }
.mini-page i:first-child { width: 70%; height: 10px; background: var(--ink); }
.mini-page b { width: 46%; height: 18px; border-radius: 999px; background: var(--red); margin-top: 4px; display: block; }
.pipeline { display: flex; gap: 10px; align-items: stretch; flex: 1; }
.pipeline div { flex: 1; border-radius: 12px; background: var(--bg-2); padding: 10px; font-size: .8rem; color: var(--ink); display: grid; gap: 6px; align-content: start; }
.pipeline div span { display: block; height: 22px; border-radius: 8px; background: #fff; border: 1px solid var(--line); }
.pipeline div:last-child span { background: var(--red-3); border-color: #f6c8cc; }
@media (max-width: 900px) { .system__grid { grid-template-columns: 1fr; } .dash { aspect-ratio: auto; min-height: 420px; } }

/* ---------- Dark orbit section ---------- */
.dark { background: var(--night); color: #c9c4c2; position: relative; }
.dark h2, .dark h3 { color: #fff; }
.night-fade { height: clamp(80px, 14vw, 200px); background: linear-gradient(var(--bg-2), var(--night)); }
.night-fade--out { background: linear-gradient(var(--night), var(--bg)); }
.orbit3d { overflow: clip; }
.orbit3d__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 4vw, 56px); align-items: center; width: 100%; }
.orbit3d__stage { position: relative; aspect-ratio: 1.25 / 1; }
.orbit3d__stage canvas, .orbit3d__stage .orbit3d__fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.orbit3d__fallback { object-fit: cover; opacity: 1; transition: opacity .6s; }
.orbit3d.is-live .orbit3d__fallback { opacity: 0; }
.orbit3d__glow { position: absolute; inset: 15% 20%; background: radial-gradient(closest-side, rgb(225 14 31 / .35), transparent); filter: blur(30px); }
.channel { --o: clamp(0, calc((var(--p) - .62 - var(--n) * .05) * 6), 1); position: absolute; left: var(--lx); top: var(--ly); opacity: var(--o); transform: translate(-50%, -50%) translateY(calc((1 - var(--o)) * 10px)); padding: 8px 14px; border-radius: 999px; background: rgb(255 255 255 / .06); border: 1px solid rgb(255 75 87 / .45); color: #fff; font: 500 .82rem/1 var(--mono); letter-spacing: .04em; white-space: nowrap; backdrop-filter: blur(6px); }
.channel--core { background: var(--red); border-color: var(--red); }
.orbit3d__lines { position: absolute; inset: 0; width: 100%; height: 100%; opacity: clamp(0, calc((var(--p) - .6) * 4), 1); }
.orbit3d__lines line { stroke: rgb(255 75 87 / .4); stroke-width: 1; stroke-dasharray: 3 4; }
@media (max-width: 900px) { .orbit3d__grid { grid-template-columns: 1fr; } .channel { font-size: .7rem; padding: 6px 10px; } }

/* ---------- Reviews ---------- */
.review { scroll-snap-align: start; display: flex; flex-direction: column; gap: 18px; margin: 0; }
.review blockquote { margin: 0; font: 500 1.12rem/1.5 var(--body); color: var(--ink); flex: 1; }
.review blockquote::before { content: '“'; display: block; font: 800 3.4rem/0.6 var(--display); color: var(--red); margin-bottom: 6px; }
.review figcaption { display: flex; justify-content: space-between; align-items: end; gap: 12px; font-size: .9rem; border-top: 1px solid var(--line); padding-top: 14px; }
.review figcaption strong { color: var(--ink); display: block; }
.review figcaption span { color: var(--ink-3); display: block; }
.stars { color: #b58500; letter-spacing: 2px; font-size: .95rem; }
.review__src { font: 500 .72rem/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--red-deep) !important; text-decoration: none; white-space: nowrap; }
.review__src:hover { text-decoration: underline; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 20px; transition: border-color .3s, box-shadow .3s; }
.faq details[open] { border-color: #f0c4c8; box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 22px; display: flex; justify-content: space-between; gap: 18px; align-items: center; font: 600 1.08rem/1.35 var(--body); color: var(--ink); }
.faq summary h3 { margin: 0; font: inherit; letter-spacing: 0; color: inherit; text-wrap: pretty; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--red-3) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239E0A16' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/16px no-repeat; transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__a { padding: 0 22px 20px; }
.faq__a p:last-child { margin-bottom: 0; }
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq-layout .section-head { position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; } .faq-layout .section-head { position: static; } }

/* ---------- CTA band + form ---------- */
.cta-band { background: var(--red); color: #fff; border-radius: clamp(24px, 4vw, 40px); padding: clamp(32px, 6vw, 80px); position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; right: -140px; top: -140px; width: 420px; height: 420px; border-radius: 50%; border: 1.5px solid rgb(255 255 255 / .25); box-shadow: 0 0 0 60px rgb(255 255 255 / .04), 0 0 0 120px rgb(255 255 255 / .03); }
.cta-band h2 { color: #fff; }
.cta-band p { color: #ffe9ea; }
.cta-band__grid { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .cta-band__grid { grid-template-columns: 1fr; } }
/* Founder banner: avatar | greeting + heading | button */
.cta-band--founder { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "av hi btn" "av copy btn"; column-gap: clamp(20px, 4vw, 48px); row-gap: 8px; align-items: center; padding: clamp(24px, 3.5vw, 40px) clamp(24px, 4.5vw, 56px); }
.cta-band--founder::before { right: -200px; top: -250px; }
.cta-band--founder .hello { display: contents; }
.cta-band--founder .hello__avatar { grid-area: av; }
.cta-band--founder .hello__hi { grid-area: hi; align-self: end; }
.cta-band__copy { grid-area: copy; align-self: start; position: relative; }
.cta-band--founder .cta-band__btn { grid-area: btn; position: relative; }
.cta-band.cta-band--founder h2 { margin: 0; font: 500 clamp(1rem, .95rem + .3vw, 1.15rem)/1.45 var(--body); letter-spacing: 0; color: #ffe9ea; text-wrap: pretty; }
.cta-band.cta-band--founder h2 em { text-decoration: none; font-style: normal; font-weight: 600; color: #fff; }
.cta-band.cta-band--founder .cta-band__copy p { margin: 4px 0 0; font-size: .92rem; color: #ffd6d9; }
.hello__avatar { position: relative; display: block; flex: none; padding: 4px; border-radius: 50%; background: rgb(255 255 255 / .16); box-shadow: 0 0 0 1px rgb(255 255 255 / .35), 0 18px 40px -16px rgb(0 0 0 / .45); }
.hello__avatar img { display: block; border-radius: 50%; object-fit: cover; }
.hello__avatar::after { content: ''; position: absolute; right: 7%; bottom: 7%; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--red); }
.cta-band .hello__hi { margin: 0; font: 600 clamp(1.25rem, 1rem + 1vw, 1.8rem)/1.25 var(--display); letter-spacing: -0.015em; color: #fff; text-wrap: balance; }
.hello__hi strong { font-weight: 800; color: var(--red); background: #fff; padding: 0 .28em; border-radius: .28em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hello__wave { display: inline-block; transform-origin: 70% 75%; animation: wave 2.8s ease-in-out infinite; }
@keyframes wave { 0%, 55%, 100% { transform: rotate(0); } 8%, 24% { transform: rotate(14deg); } 16% { transform: rotate(-8deg); } 32% { transform: rotate(-4deg); } 40% { transform: rotate(10deg); } }
.ico-ne { transform: rotate(-45deg); }
.btn:hover .ico-ne { transform: rotate(-45deg) translateX(3px); }
.hello--small { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.hello--small .hello__avatar { padding: 3px; }
.hello--small .hello__avatar::after { width: 11px; height: 11px; border-width: 2px; right: 0; bottom: 0; }
.cta-band .hello--small .hello__hi { font: 500 1rem/1.35 var(--body); letter-spacing: 0; }
.cta-band__grid .cta-band__btn { margin-top: 8px; }
@media (max-width: 760px) {
  .cta-band--founder { grid-template-columns: 1fr; grid-template-areas: "av" "hi" "copy" "btn"; justify-items: center; text-align: center; row-gap: 12px; }
  .cta-band--founder .cta-band__btn { margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) { .hello__wave { animation: none; } }
.form-card { background: #fff; color: var(--ink-2); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 36px); box-shadow: var(--shadow-lg); }
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-weight: 600; font-size: .92rem; color: var(--ink); padding: 0; }
.field input, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg-2); border: 1.5px solid transparent; border-radius: 14px; padding: 13px 14px; transition: border-color .2s, background .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red); background: #fff; }
.field textarea { min-height: 130px; resize: vertical; }
.field[data-invalid] input, .field[data-invalid] textarea { border-color: var(--red-deep); background: #fff6f6; }
.field__err { color: var(--red-deep); font-size: .85rem; min-height: 0; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.check input { width: 20px; height: 20px; accent-color: var(--red); margin-top: 2px; flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.note { font-size: .86rem; color: var(--ink-3); display: flex; gap: 8px; align-items: flex-start; }
.form__reply { margin: 12px 0 0; }
.form-card .note { color: var(--ink-3); }
.note svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--red-deep); }
.form-status { border-radius: 16px; padding: 16px 18px; font-weight: 500; }
.form-status--ok { background: #eaf7ee; color: #14532d; }
.form-status--err { background: #fdecee; color: var(--red-deep); }
.btn[aria-busy='true'] { opacity: .75; pointer-events: none; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgb(255 255 255 / .4); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Service / inner page hero ---------- */
.page-hero { padding-top: calc(var(--header-h) + clamp(20px, 4vw, 48px)); padding-bottom: clamp(48px, 7vw, 96px); position: relative; overflow: clip; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(50% 60% at 85% 30%, rgb(255 229 231 / .85), transparent 70%); pointer-events: none; }
.page-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.page-hero .lead { max-width: 600px; margin-bottom: 30px; }
.page-hero--simple .page-hero__grid { grid-template-columns: 1fr; max-width: 900px; }
@media (max-width: 900px) { .page-hero__grid { grid-template-columns: 1fr; } }
.breadcrumbs { position: relative; margin-bottom: 26px; font-size: .88rem; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; color: var(--ink-3); }
.breadcrumbs li + li::before { content: '/'; margin-right: 6px; color: #c8c4be; }
.breadcrumbs a { color: var(--ink-3); text-decoration: none; }
.breadcrumbs a:hover { color: var(--red-deep); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--ink); }

.highlights { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; list-style: none; padding: 0; margin: 0; }
.highlights li { position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr; align-items: center; align-content: space-between; gap: 18px 12px; padding: 22px; border-radius: 22px; background: linear-gradient(180deg, #fff 40%, var(--bg-2)); border: 1px solid var(--line); color: var(--ink); font: 600 1.05rem/1.35 var(--display); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.highlights li::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.highlights li:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #f2c4c8; }
.highlights li:hover::after { transform: scaleX(1); }
.highlights__ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--red-3); color: var(--red); transition: background .3s, color .3s; }
.highlights__ic svg { width: 20px; height: 20px; }
.highlights li:hover .highlights__ic { background: var(--red); color: #fff; }
.highlights__n { justify-self: end; font: 500 .72rem/1 var(--mono); letter-spacing: .1em; color: var(--ink-3); }
.highlights li > span:last-child { grid-column: 1 / -1; }

.svc-body { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.toc-mini { position: sticky; top: calc(var(--header-h) + 24px); font-size: .9rem; }
.toc-mini p { font: 500 .72rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.toc-mini ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; border-left: 2px solid var(--line); }
.toc-mini a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; text-decoration: none; color: var(--ink-3); line-height: 1.35; }
.toc-mini a:hover, .toc-mini a.is-active { color: var(--ink); border-left-color: var(--red); }
@media (max-width: 1024px) { .svc-body { grid-template-columns: 1fr; } .toc-mini { display: none; } }
.svc-section { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding-block: clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.svc-section:last-child { border-bottom: 0; }
.svc-section:nth-child(even) .svc-section__media { order: -1; }
.svc-section h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.4rem); }
.svc-section__media { aspect-ratio: 4 / 3.2; }
@media (max-width: 760px) { .svc-section { grid-template-columns: 1fr; } .svc-section:nth-child(even) .svc-section__media { order: 0; } .svc-section__media { aspect-ratio: 16 / 9; } .svc-section .icon-panel { min-height: 160px; } }

/* Process timeline */
.timeline { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.timeline .section-head { position: sticky; top: calc(var(--header-h) + 24px); }
.timeline__list { --tp: 0; list-style: none; padding: 0 0 0 40px; margin: 0; position: relative; display: grid; gap: 22px; }
.timeline__list::before, .timeline__list::after { content: ''; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: var(--line); border-radius: 2px; }
.timeline__list::after { background: var(--red); transform-origin: top; transform: scaleY(var(--tp)); }
.timeline__item { position: relative; padding: 22px 24px; border-radius: 22px; background: #fff; border: 1px solid var(--line); transition: border-color .4s, box-shadow .4s; }
.timeline__item::before { content: ''; position: absolute; left: -37px; top: 28px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--line); transition: all .4s; z-index: 1; }
.timeline__item.is-lit { border-color: #f0c4c8; box-shadow: var(--shadow); }
.timeline__item.is-lit::before { background: var(--red); border-color: var(--red); box-shadow: 0 0 0 6px var(--red-3); }
.timeline__item h3 { margin-bottom: 6px; }
.timeline__item p { margin: 0; }
.timeline__n { font: 500 .72rem/1 var(--mono); color: var(--red-deep); letter-spacing: .1em; display: block; margin-bottom: 10px; }
.no-js .timeline__list { --tp: 1; }
@media (max-width: 900px) { .timeline { grid-template-columns: 1fr; } .timeline .section-head { position: static; } }

/* Tabs (About) */
.tabs__list { display: inline-flex; gap: 6px; padding: 6px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); margin-bottom: 36px; flex-wrap: wrap; }
.tabs__list button { border: 0; background: none; padding: 12px 20px; border-radius: 999px; font-weight: 600; color: var(--ink-2); }
.tabs__list button[aria-selected='true'] { background: var(--ink); color: #fff; }
.tabs__panel[hidden] { display: none; }
.tabs__panel > h3.tabs__fallback-title { display: none; }
.no-js .tabs__list { display: none; }
.no-js .tabs__panel > h3.tabs__fallback-title { display: block; margin-top: 32px; }
.exp { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.exp li { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 22px 24px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.exp strong { color: var(--ink); font-family: var(--display); font-size: 1.2rem; display: block; }
.exp small { color: var(--ink-3); font: 500 .76rem/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 700px) { .exp li { grid-template-columns: 1fr; gap: 8px; } }
.about-hero { display: grid; grid-template-columns: 1fr .8fr; gap: clamp(28px, 5vw, 72px); align-items: center; position: relative; }
.about-hero__photo { aspect-ratio: 3 / 4; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.about-hero__photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .about-hero { grid-template-columns: 1fr; } .about-hero__photo { max-width: 440px; } }
.stat { font: 800 clamp(3rem, 2rem + 4vw, 5.6rem)/1 var(--display); color: var(--ink); letter-spacing: -0.04em; }
.stat em { color: var(--red); font-style: normal; }

/* ---------- Blog ---------- */
.post-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.post-card__media { aspect-ratio: 16 / 10; position: relative; background: var(--bg-2); }
.post-card__media .placeholder { border: 0; border-radius: 0; min-height: 0; }
.post-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card__body h3 { margin: 0; }
.post-card__meta { font: 500 .72rem/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); display: flex; gap: 10px; flex-wrap: wrap; }
.post-card__meta b { color: var(--red-deep); font-weight: 500; }
.post-card--featured { display: grid; grid-template-columns: 1.2fr 1fr; }
.post-card--featured .post-card__media { aspect-ratio: auto; min-height: 320px; }
.post-card--featured h3 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.3rem); }
@media (max-width: 860px) { .post-card--featured { grid-template-columns: 1fr; } .post-card--featured .post-card__media { min-height: 220px; } }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 48px; }
.pagination a, .pagination span { min-width: 46px; height: 46px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); padding: 0 14px; }
.pagination [aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }
.empty { text-align: center; padding: clamp(40px, 6vw, 72px) 24px; border-radius: var(--r-lg); background: var(--bg-2); border: 1px dashed #d9d4cd; }
.empty svg { width: 48px; height: 48px; color: var(--red); margin: 0 auto 16px; }

.progress-bar { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--red); transform-origin: left; transform: scaleX(var(--read, 0)); z-index: 150; }
.post-hero { padding-top: calc(var(--header-h) + clamp(20px, 4vw, 48px)); }
.post-hero h1 { max-width: 920px; }
.post-hero .lead { max-width: 760px; }
.byline { display: flex; align-items: center; gap: 14px; margin: 28px 0 36px; font-size: .92rem; color: var(--ink-3); flex-wrap: wrap; }
.byline img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.byline strong { color: var(--ink); display: block; }
.post-feature { aspect-ratio: 16 / 8; border-radius: var(--r-lg); overflow: hidden; position: relative; background: var(--bg-2); }
.post-layout { display: grid; grid-template-columns: minmax(0, 720px) 320px; gap: clamp(32px, 5vw, 72px); justify-content: space-between; align-items: start; }
.sidebar { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 20px; }
.sidebar .card { padding: 22px; }
.sidebar h2 { font: 500 .74rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.sidebar ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.sidebar .toc a { display: block; padding: 6px 0 6px 12px; border-left: 2px solid var(--line); color: var(--ink-3); text-decoration: none; font-size: .92rem; line-height: 1.35; }
.sidebar .toc a.is-active, .sidebar .toc a:hover { color: var(--ink); border-left-color: var(--red); }
.sidebar .recent a { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; padding: 6px 0; text-decoration: none; color: var(--ink); font-size: .92rem; line-height: 1.35; font-weight: 500; }
.sidebar .recent .thumb { width: 56px; height: 56px; border-radius: 12px; background: var(--red-3); overflow: hidden; position: relative; display: grid; place-items: center; color: var(--red); }
.sidebar .recent .thumb svg { width: 22px; height: 22px; }
.sidebar .cats a { display: flex; justify-content: space-between; padding: 7px 0; color: var(--ink); text-decoration: none; font-size: .94rem; border-bottom: 1px solid var(--line); }
.sidebar .cats a:hover { color: var(--red-deep); }
.sidebar .help { background: var(--ink); color: #d6d4d0; border-color: var(--ink); }
.sidebar .help h2 { color: var(--red-2); }
.sidebar .help p { font: 700 1.3rem/1.2 var(--display); color: #fff; }
@media (max-width: 1024px) { .post-layout { grid-template-columns: 1fr; } .sidebar { position: static; } }

.prose { font-size: 1.1rem; line-height: 1.75; color: #2f2f33; }
.prose h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); margin: 2em 0 .6em; scroll-margin-top: calc(var(--header-h) + 20px); }
.prose h3 { font-size: 1.35rem; margin: 1.6em 0 .5em; }
.prose h4 { font-size: 1.1rem; margin: 1.4em 0 .4em; }
.prose ul, .prose ol { margin: 0 0 1.3em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--red); }
.prose strong { color: var(--ink); }
.prose figure { margin: 2em 0; }
.prose figure img { border-radius: 20px; width: 100%; }
.prose figcaption { font-size: .88rem; color: var(--ink-3); margin-top: 10px; text-align: center; }
.prose blockquote { margin: 1.8em 0; padding-left: 20px; border-left: 3px solid var(--red); color: var(--ink); }
.prose .table-wrap { overflow-x: auto; margin: 1.8em 0; border: 1px solid var(--line); border-radius: 16px; }
.prose table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.prose th, .prose td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.prose th { background: var(--bg-2); color: var(--ink); font-weight: 600; }
.prose pre { background: var(--night); color: #f2eeee; padding: 20px; border-radius: 16px; overflow-x: auto; font: 400 .9rem/1.6 var(--mono); }
.prose :not(pre) > code { background: var(--red-3); color: var(--red-deep); padding: 2px 6px; border-radius: 6px; font: 500 .9em var(--mono); }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2.4em 0; }
.callout { margin: 2em 0; padding: 22px 24px; border-radius: 20px; background: var(--red-3); border: 1px solid #f6c8cc; }
.callout__title { font: 500 .76rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--red-deep); margin-bottom: 10px; display: block; }
.callout p:last-child { margin-bottom: 0; }
.pullquote { margin: 2.2em 0; padding: 0; border: 0; font: 700 clamp(1.5rem, 1.2rem + 1vw, 2rem)/1.25 var(--display); color: var(--ink); letter-spacing: -0.02em; }
.pullquote::before { content: ''; display: block; width: 48px; height: 4px; background: var(--red); border-radius: 4px; margin-bottom: 16px; }
.pullquote p { margin: 0; }
.author-box { display: grid; grid-template-columns: 88px 1fr; gap: 20px; align-items: start; padding: 26px; border-radius: var(--r-card); background: var(--bg-2); margin-top: 48px; }
.author-box img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; }
.share { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 32px; }
.share span { font-weight: 600; color: var(--ink); margin-right: 6px; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-aside { display: grid; gap: 18px; }
.contact-aside ol { padding-left: 1.2em; margin: 0; }
.contact-aside li { margin-bottom: 8px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.legal h2 { font-size: 1.5rem; margin-top: 2em; }

/* 404 */
.nf { min-height: 80vh; display: grid; align-items: center; padding-top: var(--header-h); }
.nf__code { font: 800 clamp(6rem, 4rem + 10vw, 12rem)/1 var(--display); color: var(--red); letter-spacing: -0.05em; }

/* Consent banner */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 160; max-width: 520px; background: var(--ink); color: #e8e5e2; padding: 20px; border-radius: 22px; box-shadow: var(--shadow-lg); font-size: .92rem; }
.consent p { margin-bottom: 14px; }
.consent a { color: #fff; }

/* ---------- Page enter ----------
   WP: replaces the Next View Transitions (full page loads here). Opacity only and no
   forwards fill, so <main> never keeps a transform (fixed/sticky descendants stay intact). */
main { animation: page-enter .35s var(--ease) backwards; }
@keyframes page-enter { from { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  main { animation: none; }
  .js [data-reveal], .js .split .w > span { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
  .roles > span { animation: none; opacity: 0; } .roles > span:first-child { opacity: 1; transform: none; }
}
.cta-band h2 em { color: #fff; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.stretched::after { content: ''; position: absolute; inset: 0; z-index: 0; }
.post-card h3 a { text-decoration: none; color: var(--ink); }
.post-card h3 a:hover { color: var(--red-deep); }
@media (max-width: 960px) { .no-js .menu-toggle { display: none; } }
.no-js .tabs__panel[hidden] { display: block; }
.header.is-hidden .btn { box-shadow: none; }
.svc-section:nth-child(even) { grid-template-columns: .85fr 1.15fr; }
.svc-section__media { aspect-ratio: auto; height: clamp(180px, 22vw, 260px); }
@media (max-width: 760px) { .svc-section:nth-child(even) { grid-template-columns: 1fr; } .svc-section__media { height: 160px; } }
.mobile-menu a.btn { display: flex; color: #fff; font: 600 1.05rem/1 var(--body); padding: 0 26px; border-bottom: 0; justify-content: center; }

/* Above-the-fold heroes animate with pure CSS on load, so LCP never waits for JS/hydration. */
.js :is(.hero, .page-hero, .post-hero) [data-reveal] { opacity: 1; transform: none; transition: none; animation: rise .9s var(--ease) both; animation-delay: calc(var(--d, 0) * 90ms + 120ms); }
.js :is(.hero, .page-hero, .post-hero) .split .w > span { transform: none; transition: none; animation: word-in .7s var(--ease) both; animation-delay: calc(min(var(--i), 8) * 30ms); }
@keyframes rise { from { transform: translateY(18px); } }
@keyframes word-in { from { transform: translateY(105%); } }
.cta-band p { color: #fff; }
.footer .logo b { color: var(--red-deep); }

/* Reviews carousel (auto-scrolling loop) */
.carousel__viewport { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.carousel__track { display: flex; gap: 20px; width: max-content; list-style: none; margin: 0; padding: 4px 20px 24px 0; animation: marquee var(--dur, 60s) linear infinite; }
.carousel__track > li { flex: none; width: min(400px, 82vw); display: flex; }
.carousel__track .review { width: 100%; }
.carousel:hover .carousel__track, .carousel:focus-within .carousel__track, .carousel__pause:checked ~ .carousel__viewport .carousel__track { animation-play-state: paused; }
.carousel__bar { display: flex; justify-content: flex-end; margin-top: -24px; margin-bottom: 16px; }
.carousel__toggle { cursor: pointer; }
.carousel__on, .carousel__pause:checked + .carousel__bar .carousel__off { display: none; }
.carousel__pause:checked + .carousel__bar .carousel__on { display: inline; }
.carousel__pause:focus-visible + .carousel__bar .carousel__toggle { outline: 2px solid var(--red); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  .carousel__viewport { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .carousel__track { animation: none; padding-left: var(--gutter); }
  .carousel__track > li[inert], .carousel__bar { display: none; }
}

/* Multi-select dropdown */
.ms { position: relative; margin-top: 4px; }
.ms summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; background: var(--bg-2); border: 1.5px solid transparent; border-radius: 14px; padding: 13px 14px; color: var(--ink); font-size: 1rem; }
.ms summary::-webkit-details-marker { display: none; }
.ms summary > span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ms summary svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease); }
.ms[open] summary { border-color: var(--red); background: #fff; }
.ms[open] summary svg { transform: rotate(180deg); }
.ms__count { flex: none; min-width: 24px; height: 24px; border-radius: 999px; background: var(--red); color: #fff; font-size: .78rem; display: grid; place-items: center; padding: 0 7px; }
.ms__panel { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 6px; max-height: 300px; overflow: auto; }
.ms__panel label { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 10px; cursor: pointer; color: var(--ink); font-size: .95rem; }
.ms__panel label:hover { background: var(--bg-2); }
.ms__panel input { width: 18px; height: 18px; accent-color: var(--red); flex: none; margin: 0; }


/* ==========================================================================
   graphics.css
   ========================================================================== */
/* ---------- Hero orbit (home + services index) ---------- */
.orbit { position: absolute; inset: 0; }
.orbit__stage { position: absolute; inset: 0; transform-origin: 50% 53%; transform: scale(1.15); will-change: transform; }
.orbit__rings, .orbit__cross { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit__ring { fill: none; stroke: url(#ring-g); stroke-width: 2.2; stroke-dasharray: 1; stroke-dashoffset: 1; animation: ringdraw 1.6s var(--ease) forwards; }
.orbit__ring--cross { stroke: #8f8a86; stroke-width: 2.6; animation-delay: .7s; }
.orbit__cross { z-index: 3; }
@keyframes ringdraw { to { stroke-dashoffset: 0; } }
.orbit__sphere { position: absolute; z-index: 2; left: 50%; top: 52.9%; width: 31%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #fff 0 2.5%, rgb(255 255 255 / .55) 6%, transparent 22%), radial-gradient(circle at 40% 38%, #ff6a74 0%, #e10e1f 42%, #b00a19 72%, #6d0610 100%);
  box-shadow: inset -18px -24px 50px rgb(80 0 8 / .45), inset 10px 14px 30px rgb(255 160 166 / .35), 0 40px 70px -20px rgb(225 14 31 / .55);
  animation: sphere-in 1s var(--ease) both; }
@keyframes sphere-in { from { transform: translate(-50%, -50%) scale(.6); opacity: 0; } }
.orbit__item { position: absolute; will-change: transform, opacity; }
.orbit__icon { width: 10.5%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; color: var(--red); background: rgb(255 255 255 / .82); border: 1px solid rgb(255 255 255 / .9); box-shadow: 0 10px 24px -10px rgb(60 0 0 / .35), inset 0 1px 0 #fff; }
.orbit__icon svg { width: 46%; height: 46%; stroke-width: 2.1; }
@media (min-width: 900px) and (pointer: fine) { .orbit__icon { background: rgb(255 255 255 / .6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); } }
.orbit__pearl { width: 3.4%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #e9e6e2 60%, #c9c4be); box-shadow: 0 4px 10px -4px rgb(0 0 0 / .3); }
.orbit-fallback { display: none; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
@media (prefers-reduced-motion: reduce) { .orbit__stage { display: none; } .orbit-fallback { display: block; } }
.no-js .orbit__stage { display: none; } .no-js .orbit-fallback { display: block; }

/* ---------- Shared service-graphic frame ---------- */
.gfx { position: relative; width: 100%; max-width: 560px; margin-inline: auto; aspect-ratio: 1 / .86; display: grid; place-items: center; }
.gfx::before { content: ''; position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(closest-side, rgb(255 75 87 / .18), transparent); }
.gfx__card { position: relative; width: 88%; background: #fff; border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow-lg); padding: 22px; }
.gfx__tag { position: absolute; right: 4%; bottom: 3%; font: 500 .66rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); background: #fff; border: 1px solid var(--line); padding: 6px 9px; border-radius: 999px; }

/* search */
.g-search__bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-2); font-size: .92rem; color: var(--ink); margin-bottom: 16px; }
.g-search__bar svg { width: 18px; height: 18px; color: var(--red); }
.g-type { display: inline-block; overflow: hidden; white-space: nowrap; border-right: 2px solid var(--red); padding-right: 2px; max-width: 0; animation: type 1.6s steps(20) .3s forwards, caret .8s step-end infinite; }
@keyframes type { to { max-width: 100%; } }
@keyframes caret { 50% { border-color: transparent; } }
.g-search__list { --rh: 66px; list-style: none; margin: 0; padding: 0; position: relative; height: calc(var(--rh) * 4); }
.g-r { position: absolute; left: 0; right: 0; height: calc(var(--rh) - 8px); top: calc(var(--k) * var(--rh)); border-radius: 14px; padding: 10px 14px; background: #fff; border: 1px solid var(--line); display: grid; gap: 6px; align-content: center; animation: r-down 7s var(--ease) infinite; }
.g-r b { width: 45%; height: 8px; border-radius: 4px; background: #c9c4be; }
.g-r i { height: 6px; border-radius: 3px; background: var(--line); }
.g-r i:last-child { width: 70%; }
.g-r--you { top: calc(3 * var(--rh)); border-color: #f0b8bd; background: #fff8f8; animation: r-up 7s var(--ease) infinite; z-index: 1; }
.g-r--you strong { font-size: .9rem; color: var(--red-deep); line-height: 1; }
.g-r--you span { font-size: .74rem; color: var(--ink-3); line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@keyframes r-up { 0%, 18% { transform: none; } 38%, 85% { transform: translateY(calc(var(--rh) * -3)); box-shadow: 0 14px 30px -14px rgb(225 14 31 / .5); } 100% { transform: none; } }
@keyframes r-down { 0%, 18% { transform: none; } 38%, 85% { transform: translateY(var(--rh)); } 100% { transform: none; } }
.g-search__rank { display: flex; align-items: flex-end; gap: 6px; height: 64px; margin-top: 16px; padding-top: 8px; border-top: 1px dashed var(--line); }
.g-search__rank span { font: 500 .66rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-right: auto; align-self: center; }
.g-search__rank i { width: 9%; border-radius: 6px 6px 2px 2px; background: linear-gradient(var(--red-2), var(--red)); height: var(--h); transform-origin: bottom; animation: bar 7s var(--ease) infinite; animation-delay: calc(var(--k) * 90ms); }
@keyframes bar { 0%, 15% { transform: scaleY(.15); } 40%, 88% { transform: scaleY(1); } 100% { transform: scaleY(.15); } }

/* ads */
.g-ads__ad { position: relative; border-radius: 18px; border: 1px solid var(--line); padding: 18px; background: var(--bg-2); }
.g-ads__sp { font: 600 .7rem/1 var(--body); color: var(--ink); background: #fff; border: 1px solid var(--line); padding: 4px 8px; border-radius: 6px; display: inline-block; margin-bottom: 10px; }
.g-ads__ad strong { display: block; color: #1a0dab; font-size: 1.05rem; margin-bottom: 6px; }
.g-ads__ad p { font-size: .82rem; color: var(--ink-3); margin: 0 0 14px; }
.g-ads__btn { display: inline-block; background: var(--red); color: #fff; font-size: .82rem; font-weight: 600; padding: 9px 16px; border-radius: 999px; animation: press 4s var(--ease) infinite; }
.g-ads__pulse { position: absolute; inset: -1px; border-radius: 18px; border: 2px solid var(--red); opacity: 0; animation: pulse 4s ease-out infinite; }
@keyframes pulse { 0%, 45% { opacity: 0; transform: scale(1); } 50% { opacity: .7; } 75%, 100% { opacity: 0; transform: scale(1.05); } }
@keyframes press { 0%, 46% { transform: none; } 50% { transform: scale(.93); } 56%, 100% { transform: none; } }
.g-ads__cursor { position: absolute; width: 26px; left: 70%; top: 85%; animation: cursor 4s var(--ease) infinite; filter: drop-shadow(0 4px 6px rgb(0 0 0 / .25)); }
@keyframes cursor { 0% { transform: translate(60px, 40px); } 40%, 52% { transform: translate(-150px, -86px); } 53% { transform: translate(-150px, -86px) scale(.85); } 58% { transform: translate(-150px, -86px); } 100% { transform: translate(60px, 40px); } }
.g-ads__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.g-ads__stats div { border-radius: 16px; border: 1px solid var(--line); padding: 12px 14px; }
.g-ads__stats span { font: 500 .66rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); display: block; margin-bottom: 6px; }
.g-ads__stats .is-red { background: var(--red-3); border-color: #f6c8cc; }
@property --n { syntax: '<integer>'; inherits: false; initial-value: 0; }
.g-count { font: 700 1.6rem/1 var(--display); color: var(--ink); counter-reset: n var(--n); }
.g-count::after { content: counter(n); }
.g-count--a { animation: tick-a 8s linear infinite; }
.g-count--b { color: var(--red-deep); animation: tick-b 8s linear infinite; }
@keyframes tick-a { from { --n: 120; } to { --n: 168; } }
@keyframes tick-b { 0%, 10% { --n: 4; } 100% { --n: 9; } }

/* ai */
.g-ai__q { display: flex; align-items: center; gap: 10px; justify-content: flex-end; margin-left: 18%; padding: 10px 14px; border-radius: 18px 18px 4px 18px; background: var(--ink); color: #fff; font-size: .86rem; }
.g-ai__q svg { width: 16px; height: 16px; flex: none; }
.g-ai__a { margin: 14px 12% 0 0; padding: 14px; border-radius: 18px 18px 18px 4px; background: var(--bg-2); display: grid; gap: 8px; }
.g-ai__badge { display: inline-flex; align-items: center; gap: 6px; font: 500 .68rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--red-deep); }
.g-ai__badge svg { width: 14px; height: 14px; }
.g-ai__a > i { display: block; height: 8px; border-radius: 4px; background: #d8d3cd; width: var(--w); transform-origin: left; animation: stream 7s var(--ease) infinite; animation-delay: calc(var(--k) * .35s); }
@keyframes stream { 0%, 5% { transform: scaleX(0); } 22%, 90% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
.g-ai__src { display: flex; gap: 10px; align-items: center; margin-top: 6px; padding: 10px 12px; border-radius: 14px; background: #fff; border: 1.5px solid var(--red); animation: cite 7s var(--ease) infinite; }
.g-ai__src > span { width: 22px; height: 22px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font: 600 .72rem/1 var(--mono); flex: none; }
.g-ai__src strong { display: block; font-size: .85rem; color: var(--ink); line-height: 1.2; }
.g-ai__src small { color: var(--ink-3); font-size: .72rem; }
@keyframes cite { 0%, 30% { opacity: 0; transform: translateY(8px); } 40%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.g-ai__net { width: 100%; height: auto; margin-top: 12px; overflow: visible; }
.g-ai__net line { stroke: #f0a7ad; stroke-width: 1.5; stroke-dasharray: 160; stroke-dashoffset: 160; animation: link 7s var(--ease) infinite; animation-delay: calc(var(--k) * .12s + .8s); }
.g-ai__net circle, .g-ai__net rect { fill: #fff; stroke: var(--red); stroke-width: 2; }
.g-ai__net .core { fill: var(--red); stroke: none; }
@keyframes link { 0%, 8% { stroke-dashoffset: 160; } 35%, 90% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 160; } }

/* web */
.g-web__frame { padding: 0; overflow: hidden; }
.g-web__chrome { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.g-web__chrome i { width: 10px; height: 10px; border-radius: 50%; background: #d9d4cd; }
.g-web__chrome i:first-child { background: var(--red); }
.g-web__chrome span { margin-left: 10px; font: 500 .7rem/1 var(--mono); color: var(--ink-3); background: #fff; padding: 5px 10px; border-radius: 999px; }
.g-web__page { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 16px; }
.g-b { border-radius: 12px; background: var(--bg-2); animation: block 8s var(--ease) infinite; animation-delay: calc(var(--k) * .22s); }
@keyframes block { 0% { opacity: 0; transform: translateY(-26px) scale(.96); } 12%, 85% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; transform: translateY(10px); } }
.g-b--nav { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: #fff; border: 1px solid var(--line); }
.g-b--nav b { width: 22px; height: 22px; border-radius: 50%; background: var(--red); margin-right: auto; }
.g-b--nav i { width: 34px; height: 6px; border-radius: 3px; background: var(--line); }
.g-b--hero { grid-column: 1 / 3; padding: 14px; display: grid; gap: 8px; align-content: start; }
.g-b--hero b { height: 12px; width: 85%; border-radius: 4px; background: var(--ink); }
.g-b--hero i { height: 6px; border-radius: 3px; background: #d9d4cd; }
.g-b--hero i:last-of-type { width: 70%; }
.g-b--hero em { font-style: normal; justify-self: start; margin-top: 6px; font-size: .72rem; font-weight: 600; color: #fff; background: var(--red); padding: 7px 12px; border-radius: 999px; }
.g-b--img { background: radial-gradient(circle at 40% 35%, #ff8a92, var(--red) 60%, var(--red-deep)); min-height: 110px; }
.g-b--card { height: 64px; background: #fff; border: 1px solid var(--line); box-shadow: 0 6px 14px -10px rgb(0 0 0 / .3); }

/* white-label */
.g-wl__stack { position: relative; width: 78%; aspect-ratio: 1 / .78; }
.g-wl__card { position: absolute; width: 74%; height: 82%; border-radius: 24px; padding: 22px; display: grid; gap: 10px; align-content: start; box-shadow: var(--shadow-lg); }
.g-wl__card i { height: 8px; border-radius: 4px; background: var(--line); display: block; }
.g-wl__card i:nth-of-type(2) { width: 80%; } .g-wl__card i:nth-of-type(3) { width: 60%; }
.g-wl__card--back { right: 0; top: 0; background: var(--bg-2); border: 1px solid var(--line); animation: wl-back 6s var(--ease) infinite; }
.g-wl__card--back b { width: 40px; height: 40px; border-radius: 12px; background: #d9d4cd; }
.g-wl__card--back span { font: 500 .68rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-top: auto; }
.g-wl__card--front { left: 0; bottom: 0; background: #fff; border: 1.5px solid var(--red); z-index: 1; }
.g-wl__label { position: absolute; top: -14px; left: 22px; background: var(--red); color: #fff; font: 600 .74rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; box-shadow: 0 8px 20px -8px rgb(225 14 31 / .6); }
.g-wl__logo { width: 44px; height: 44px; border-radius: 14px; background: var(--red-3); color: var(--red); display: grid; place-items: center; margin-top: 6px; }
.g-wl__logo svg { width: 24px; height: 24px; }
.g-wl__report { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 10px 12px; border-radius: 12px; background: var(--bg-2); font-size: .8rem; font-weight: 600; color: var(--ink); }
.g-wl__report svg { width: 16px; height: 16px; color: var(--red); }
@keyframes wl-back { 0%, 15% { transform: translate(0, 0); } 45%, 80% { transform: translate(-28%, 10%) scale(.94); opacity: .7; } 100% { transform: translate(0, 0); } }

/* location */
.g-loc__map { aspect-ratio: 4 / 3; padding: 0; overflow: hidden; background-color: #fbfaf8; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 28px 28px; }
.g-loc__roads { position: absolute; inset: 0; width: 100%; height: 100%; }
.g-loc__roads path { fill: none; stroke: #fff; stroke-width: 9; stroke-linecap: round; filter: drop-shadow(0 0 1px #d9d4cd); }
.g-loc__ring { position: absolute; left: 50%; top: 56%; width: 46%; aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--red); background: rgb(225 14 31 / .05); transform: translate(-50%, -50%) scale(0); opacity: 0; animation: radius 3s ease-out infinite; }
@keyframes radius { 0% { transform: translate(-50%, -50%) scale(.1); opacity: .8; } 100% { transform: translate(-50%, -50%) scale(1.4); opacity: 0; } }
.g-loc__pin { position: absolute; left: 50%; top: 56%; width: 64px; height: 64px; margin: -64px 0 0 -32px; color: var(--red); animation: drop 1.1s cubic-bezier(.3, 1.6, .5, 1) .3s both; filter: drop-shadow(0 10px 8px rgb(158 10 22 / .35)); }
.g-loc__pin svg { width: 100%; height: 100%; fill: var(--red); stroke: #fff; stroke-width: 1.2; }
@keyframes drop { from { transform: translateY(-140px); opacity: 0; } }
.g-loc__city { position: absolute; left: 50%; top: 70%; transform: translateX(-50%); background: var(--ink); color: #fff; font: 600 .78rem/1 var(--mono); padding: 8px 12px; border-radius: 999px; }

/* ---------- Service section illustrations (SectionArt.tsx) ---------- */
.svc-section__media:has(.sart-wrap) { height: clamp(290px, 28vw, 340px); }
@media (max-width: 760px) { .svc-section__media:has(.sart-wrap) { height: 300px; } }
.sart-wrap { position: relative; height: 100%; overflow: hidden; border-radius: var(--r-card); border: 1px solid #f6d3d6; background: radial-gradient(circle at 25% 15%, #fff 0, var(--red-3) 90%); }
.sart-wrap::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgb(225 14 31 / .14) 1px, transparent 1.3px); background-size: 16px 16px; -webkit-mask-image: linear-gradient(160deg, transparent 30%, #000); mask-image: linear-gradient(160deg, transparent 30%, #000); }
.sart { position: absolute; inset: 0; display: grid; place-items: center; }
.sart__float { position: absolute; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); font-size: .78rem; font-weight: 600; color: var(--ink); animation: sart-bob 5s ease-in-out infinite alternate; }
.sart__float svg { width: 16px; height: 16px; color: var(--red); }
.sart__float--tl { top: 9%; left: 5%; }
.sart__float--tr { top: 9%; right: 5%; animation-delay: -2s; }
.sart__float--br { bottom: 8%; right: 5%; width: min(58%, 230px); display: grid; gap: 8px; animation-delay: -2.5s; }
@keyframes sart-bob { to { translate: 0 -6px; } }

/* Capacity: portrait + capacity meter */
.sart__photo { position: relative; width: 56%; height: 80%; border-radius: 22px; overflow: hidden; border: 4px solid #fff; box-shadow: var(--shadow-lg); rotate: -2deg; }
.sart__photo img { object-fit: cover; object-position: 50% 30%; }
.sart__plus { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; background: var(--red); color: #fff; font: 700 .72rem/1 var(--mono); }
.sart__float--br small { font: 500 .62rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.sart__cap { display: flex; height: 8px; border-radius: 6px; background: var(--bg-2); overflow: hidden; }
.sart__cap i { width: var(--w); background: #cfcac3; }
.sart__cap b { width: var(--w); background: var(--red); transform-origin: left; animation: sart-grow 4s var(--ease) infinite; }
@keyframes sart-grow { 0%, 10% { transform: scaleX(0); } 45%, 90% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
.sart__float--br span { display: flex; justify-content: space-between; gap: 8px; }
.sart__float--br em { font-style: normal; font-size: .66rem; font-weight: 500; color: var(--ink-3); display: inline-flex; align-items: center; gap: 5px; }
.sart__float--br em::before { content: ''; width: 7px; height: 7px; border-radius: 2px; background: #cfcac3; }
.sart__float--br em.is-red::before { background: var(--red); }

/* Shared document card */
.sart__doc { position: relative; grid-area: 1 / 1; width: min(66%, 270px); padding: 18px; display: grid; gap: 9px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); }
.sart__doc > i { height: 7px; border-radius: 4px; background: var(--line); }
.sart__doc > i:nth-of-type(even) { width: 72%; }
.sart__doc-head { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; margin-bottom: 2px; border-bottom: 1px solid var(--line); }
.sart__doc-head strong { font: 700 .9rem/1.2 var(--display); color: var(--ink); white-space: nowrap; }
.sart__doc-head em { margin-left: auto; font: 500 .6rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; font-style: normal; color: var(--ink-3); }
.sart__logo { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--red); color: #fff; }
.sart__logo svg { width: 16px; height: 16px; }

/* Brand: report under the agency's logo */
.sart__doc--back { background: var(--bg-2); translate: 16% -12%; rotate: 7deg; box-shadow: var(--shadow); opacity: .9; }
.sart__bars { display: flex; align-items: flex-end; gap: 7px; height: 64px; padding: 4px 2px; }
.sart__bars i { flex: 1; height: var(--h); border-radius: 5px 5px 2px 2px; background: var(--red-3); transform-origin: bottom; animation: bar 5s var(--ease) infinite; }
.sart__bars i:last-child { background: var(--red); }
.sart__stamp { position: absolute; right: -14px; bottom: -14px; rotate: -6deg; padding: 8px 12px; border-radius: 999px; background: var(--red); color: #fff; font: 600 .66rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 10px 24px -10px rgb(225 14 31 / .7); }

/* Deliver: service chips + real platforms strip */
.sart--deliver { align-content: center; gap: 18px; padding: 20px; }
.sart__chips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: min(100%, 360px); }
.sart__chips li { display: flex; align-items: center; gap: 8px; padding: 9px 11px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: .78rem; font-weight: 600; color: var(--ink); box-shadow: 0 6px 16px -12px rgb(11 11 12 / .3); }
.sart__chips li svg { width: 16px; height: 16px; color: var(--red); flex: none; }
.sart__platforms { width: min(100%, 360px); padding: 10px 12px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.sart__platforms img { display: block; width: 100%; height: auto; }

/* Process: tools + handoff checklist */
.sart--process { align-content: center; gap: 14px; padding: 20px; }
.sart__tools { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.sart__tools span { padding: 7px 11px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font: 500 .68rem/1 var(--mono); letter-spacing: .04em; color: var(--ink-2); }
.sart__tools span:last-child { border-style: dashed; color: var(--ink-3); }
.sart__flow { list-style: none; margin: 0; padding: 8px; width: min(100%, 320px); display: grid; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); }
.sart__flow li { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; font-size: .82rem; }
.sart__flow strong { color: var(--ink); }
.sart__flow em { margin-left: auto; font: 500 .62rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; font-style: normal; color: var(--ink-3); }
.sart__tick { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--red-3); color: var(--red); flex: none; }
.sart__tick svg { width: 13px; height: 13px; }
.sart__flow li.is-now { background: var(--red-3); outline: 1.5px solid var(--red); }
.sart__flow li.is-now .sart__tick { background: var(--red); color: #fff; }
.sart__flow li.is-now em { color: var(--red-deep); }

/* NDA: signed document + lock */
.sart--nda .sart__doc { rotate: -3deg; }
.sart__sign { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: 6px; padding-top: 8px; border-top: 1px dashed var(--line); }
.sart__sign svg { width: 110px; height: 28px; fill: none; stroke: var(--red); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 260; stroke-dashoffset: 260; animation: sart-sign 5s var(--ease) infinite; }
@keyframes sart-sign { 10% { stroke-dashoffset: 260; } 45%, 90% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 260; } }
.sart__sign span { font: 500 .6rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.sart__lock { position: absolute; left: 12%; bottom: 12%; z-index: 2; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--red); color: #fff; box-shadow: 0 14px 30px -10px rgb(225 14 31 / .7); rotate: -8deg; }
.sart__lock svg { width: 26px; height: 26px; }

@media (prefers-reduced-motion: reduce) { .sart__float, .sart__cap b, .sart__bars i, .sart__sign svg { animation: none; stroke-dashoffset: 0; } }

/* ==========================================================================
   WP: WordPress-only additions
   ========================================================================== */
/* Admin toolbar (logged-in users): keep the fixed header, mobile menu and reading bar below it. */
.admin-bar .header, .admin-bar .progress-bar { top: 32px; }
.admin-bar .mobile-menu { padding-top: calc(var(--header-h) + 24px + 32px); }
html:has(> body.admin-bar) { scroll-padding-top: calc(var(--header-h) + 16px + 32px); }
@media (max-width: 782px) {
  .admin-bar .header, .admin-bar .progress-bar { top: 46px; }
  .admin-bar .mobile-menu { padding-top: calc(var(--header-h) + 24px + 46px); }
  html:has(> body.admin-bar) { scroll-padding-top: calc(var(--header-h) + 16px + 46px); }
}
/* Lead form success panel: download button for gated resources (WP-only state). */
.form-status .btn-row { margin-top: 16px; }
