/* ==========================================================================
   RED REALM · AEO / GEO PAGE · STYLES
   Colours and fonts match redrealm.co.in. Change them once here, in :root.
   ========================================================================== */

:root {
  --bg: #FCFCFC;
  --hero: #F6F6F6;
  --alt: #F3F2F1;
  --surface: #FFFFFF;
  --fg: #1A171A;
  --muted: #5D595B;
  --line: #E3E0DF;
  --maroon: #951B13;
  --maroon-d: #7C140E;
  --red: #D00000;
  --pink: #FBE7E5;
  --dark: #1C191C;
  --dark-2: #272327;
  --dark-fg: #F7F4F3;
  --dark-muted: #B9B1B2;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Space Mono", ui-monospace, Menlo, monospace;
  --r: 14px;
  --r-lg: 22px;
  --shadow: 0 1px 2px rgba(26, 23, 26, .04), 0 12px 32px -12px rgba(26, 23, 26, .14);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 500 16px/1.65 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, dl, dd, figure { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--maroon); color: #fff; }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--fg); color: #fff; padding: 10px 16px; border-radius: 6px; transition: top .2s; }
.skip:focus { top: 12px; }

h1, h2 { font-weight: 800; letter-spacing: -.04em; line-height: 1.06; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 2.85rem); max-width: 20ch; }
h3 { font-size: 1.12rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }
.accent { color: var(--maroon); }
.thin { font-weight: 400; opacity: .45; }

.eyebrow, .mono { font-family: var(--mono); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow { color: var(--maroon); display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); flex: none; box-shadow: 0 0 0 0 rgba(208, 0, 0, .5); animation: pulse 2.4s infinite; }
.sub { color: var(--muted); font-size: 1.06rem; max-width: 62ch; margin-top: 16px; }
.lead { color: var(--muted); font-size: clamp(1.02rem, .95rem + .4vw, 1.2rem); max-width: 50ch; }

.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--alt { background: var(--alt); }
/* Two sections in a row with the same background: drop most of the second one's top space,
   so there is no tall empty band between them. */
.section:not(.section--alt):not(.section--dark) + .section:not(.section--alt):not(.section--dark),
.section--alt + .section--alt { padding-top: clamp(8px, 1.5vw, 24px); }
.section--dark { background: var(--dark); color: var(--dark-fg); }
.section--dark .sub { color: var(--dark-muted); }
.section--dark .eyebrow { color: #FF9A8F; }
.head { margin-bottom: clamp(36px, 5vw, 60px); }
.head--center { text-align: center; }
.head--center h2, .head--center .sub { margin-inline: auto; }
.head--center .eyebrow { justify-content: center; }
.head--center h2 { max-width: 24ch; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 24px; border-radius: 4px; border: 1px solid transparent; font-weight: 700; font-size: .94rem; line-height: 1.2; transition: transform .25s var(--ease), background .25s, box-shadow .25s, border-color .25s; position: relative; overflow: hidden; }
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--maroon); color: #fff; border-color: var(--maroon); box-shadow: 0 10px 24px -12px rgba(149, 27, 19, .7); }
.btn--primary:hover { background: var(--maroon-d); transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(149, 27, 19, .75); }
.btn--ghost { background: var(--surface); color: var(--fg); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--fg); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--maroon); }
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -14px rgba(0, 0, 0, .5); }
.btn--sm { padding: 12px 18px; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .65; pointer-events: none; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---------- Scroll progress + reveal animations ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--maroon), var(--red)); transform: scaleX(0); transform-origin: 0 50%; }

.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 85ms); }
.js [data-reveal="left"] { transform: translateX(-34px); }
.js [data-reveal="right"] { transform: translateX(34px); }
.js [data-reveal="scale"] { transform: scale(.95) translateY(20px); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 100; background: rgba(252, 252, 252, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.header__in { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); transition: height .3s var(--ease); }
.header.scrolled { border-color: var(--line); box-shadow: 0 8px 24px -18px rgba(26, 23, 26, .35); }
.header.scrolled .header__in { height: 64px; }
.logo img { width: 62px; height: 62px; object-fit: contain; transition: width .3s var(--ease), height .3s var(--ease); }
.header.scrolled .logo img { width: 48px; height: 48px; }
.logo__txt { font-weight: 800; font-size: 1.25rem; letter-spacing: -.04em; color: var(--maroon); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { padding: 10px 13px; font-size: .88rem; font-weight: 600; color: var(--fg); border-radius: 6px; position: relative; transition: color .2s; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px; background: var(--maroon); transform: scaleX(0); transform-origin: 0 50%; transition: transform .3s var(--ease); }
.nav a:not(.btn):hover, .nav a.active, .nav > a[aria-current="page"] { color: var(--maroon); }
.nav a:not(.btn):hover::after, .nav a.active::after, .nav > a[aria-current="page"]::after { transform: scaleX(1); }
.nav__cta { margin-left: 10px; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 10px; flex-direction: column; justify-content: center; gap: 5px; }
.burger span { height: 2px; background: var(--fg); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; margin: 8px 12px 0; border-radius: var(--r-lg); background: var(--hero); overflow: hidden; padding: clamp(44px, 6vw, 84px) 0 0; isolation: isolate; }
.hero__orb { position: absolute; z-index: -1; left: max(56%, calc(100% - 580px)); top: -120px; width: 760px; height: 760px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #B3261C, var(--maroon) 55%, var(--maroon-d)); animation: float 14s ease-in-out infinite; }
.hero__orb::after { content: ""; position: absolute; inset: -60px; border-radius: 50%; border: 1px dashed rgba(149, 27, 19, .28); animation: spin 60s linear infinite; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero__title { font-size: clamp(2.5rem, 1.3rem + 5vw, 4.6rem); }
.hero__title > span { display: block; }
.hero__title--long { font-size: clamp(2.2rem, 1.2rem + 3.6vw, 3.7rem); line-height: 1.04; }
.hero__title--long > span { display: inline; }
.hero__copy .lead { margin-top: 22px; }

.tool { display: inline-flex !important; align-items: center; gap: .28em; margin: .14em 0; padding: .1em .42em .1em .22em; background: var(--surface); border: 1px solid var(--line); border-radius: .32em; box-shadow: var(--shadow); font-size: .82em; width: fit-content; transition: transform .35s var(--ease), opacity .35s; --tc: #10A37F; }
.tool.swap { opacity: 0; transform: translateY(.25em) rotateX(40deg); }
.tool__icon { display: grid; place-items: center; width: 1em; height: 1em; border-radius: .22em; background: var(--tc); color: #fff; transition: background .35s; overflow: hidden; }
.tool__icon svg { width: .62em; height: .62em; animation: spin 9s linear infinite; }
.tool__icon img { width: 66%; height: 66%; object-fit: contain; }

/* Chat demo */
.chat { background: var(--surface); border-radius: var(--r-lg); box-shadow: 0 2px 4px rgba(0, 0, 0, .05), 0 40px 80px -30px rgba(40, 6, 4, .55); overflow: hidden; border: 1px solid rgba(255, 255, 255, .6); max-width: 480px; width: 100%; justify-self: end; }
.chat__bar, .dash__bar { display: flex; align-items: center; gap: 12px; padding: 13px 18px; border-bottom: 1px solid var(--line); background: #FAF9F8; }
.chat__dots { display: flex; gap: 6px; }
.chat__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.chat__dots i:first-child { background: var(--maroon); }
.chat__tool, .dash__name { font-weight: 700; font-size: .88rem; }
.chat__tag { margin-left: auto; font: 700 .62rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); padding: 3px 8px; border-radius: 99px; }
.chat__body { padding: 20px; display: grid; gap: 14px; min-height: 330px; align-content: start; }
.bubble { border-radius: 16px; padding: 12px 16px; font-size: .92rem; line-height: 1.5; }
.bubble--user { justify-self: end; background: var(--fg); color: #fff; border-bottom-right-radius: 4px; max-width: 88%; min-height: 2.9em; }
.caret { display: inline-block; width: 2px; height: 1.05em; background: #fff; margin-left: 2px; vertical-align: -.15em; animation: blink 1s steps(2) infinite; }
.bubble--ai { background: var(--alt); border-bottom-left-radius: 4px; transition: opacity .5s, transform .5s var(--ease); }
.bubble--ai.hide { opacity: 0; transform: translateY(10px); }
.bubble__intro { color: var(--muted); margin-bottom: 10px; font-size: .86rem; }
.picks { display: grid; gap: 8px; }
.pick { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); transition: opacity .45s, transform .45s var(--ease); transition-delay: calc(var(--n, 0) * 140ms + 200ms); }
.bubble--ai.hide .pick { opacity: 0; transform: translateX(-12px); transition-delay: 0s; }
.pick b { font: 700 .72rem var(--mono); color: var(--muted); }
.pick span { display: grid; line-height: 1.3; flex: 1; }
.pick strong { font-size: .92rem; }
.pick em { font-style: normal; font-size: .74rem; color: var(--muted); }
.pick > i { font: 700 .6rem var(--mono); font-style: normal; text-transform: uppercase; letter-spacing: .1em; background: var(--maroon); color: #fff; padding: 4px 8px; border-radius: 99px; }
.pick--you { border-color: var(--maroon); background: var(--pink); box-shadow: 0 0 0 4px rgba(149, 27, 19, .08); }
.pick--you b, .pick--you strong { color: var(--maroon); }
.pick:nth-child(2) { --n: 1; } .pick:nth-child(3) { --n: 2; }

/* Marquees */
.marquee { display: flex; align-items: center; gap: 24px; }
.marquee--tools { margin-top: clamp(40px, 6vw, 72px); padding: 18px clamp(20px, 4vw, 48px); background: var(--surface); border-top: 1px solid var(--line); }
.marquee__label { font: 700 .68rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; flex: none; }
.marquee__view { overflow: hidden; flex: 1; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 44px; width: max-content; animation: marquee 28s linear infinite; }
@media (hover: hover) { .marquee:hover .marquee__track { animation-play-state: paused; } }   /* only pause with a real mouse; a tap on a phone must not stop it */
.marquee__track span { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 1.02rem; letter-spacing: -.02em; white-space: nowrap; color: var(--fg); }
.marquee__track span i { width: 9px; height: 9px; border-radius: 3px; background: var(--tc, var(--maroon)); }
.marquee__track span i.logo-tile { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; }
.marquee__track span i.logo-tile img { width: 62%; height: 62%; object-fit: contain; }
.clients { padding: 28px clamp(20px, 4vw, 48px); border-block: 1px solid var(--line); background: var(--surface); }
.marquee__track--brands { gap: 64px; animation-duration: 34s; }
.marquee__track--brands span { font-size: 1.25rem; font-weight: 800; color: var(--muted); letter-spacing: -.03em; transition: color .2s; }
.marquee__track--brands span:hover { color: var(--maroon); }

/* ---------- Section 2: stat, chart, comparison ---------- */
.shift { display: grid; grid-template-columns: .85fr 1.15fr; gap: 20px; margin-top: clamp(32px, 4vw, 52px); }
.stat { background: var(--pink); border-radius: var(--r-lg); padding: clamp(26px, 3.4vw, 44px); display: flex; flex-direction: column; position: relative; overflow: hidden; }
.stat::after { content: ""; position: absolute; right: -70px; bottom: -70px; width: 220px; height: 220px; border-radius: 50%; border: 34px solid rgba(149, 27, 19, .08); }
.stat__num { font-size: clamp(4.2rem, 2.5rem + 7vw, 7.4rem); font-weight: 800; letter-spacing: -.06em; line-height: .95; color: var(--maroon); font-variant-numeric: tabular-nums; }
.stat__text { font-size: clamp(1.06rem, 1rem + .5vw, 1.32rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.35; margin-top: 18px; max-width: 26ch; }
.stat__src { margin-top: auto; padding-top: 26px; font: 700 .72rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--maroon); }

.chart { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(18px, 2.4vw, 28px); box-shadow: var(--shadow); }
.chart figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin-bottom: 6px; }
.chart__title { font-weight: 800; letter-spacing: -.02em; margin-right: auto; }
.legend { display: inline-flex; align-items: center; gap: 7px; font-size: .78rem; color: var(--muted); font-weight: 600; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot--ai { background: var(--maroon); } .dot--old { background: #A9A3A4; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart__grid line { stroke: var(--line); stroke-dasharray: 3 5; }
.chart__axis text { font: 400 11px var(--mono); fill: var(--muted); text-anchor: middle; }
.chart__line { fill: none; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.chart__line--ai { stroke: var(--maroon); stroke-width: 4.5; }
.chart__line--old { stroke: #A9A3A4; }
.chart__area, .chart__end { opacity: 0; }
.pt--ai { fill: var(--maroon); stroke: #fff; stroke-width: 3; } .pt--old { fill: #A9A3A4; stroke: #fff; stroke-width: 3; }
.lbl { font: 700 12.5px var(--font); } .lbl--ai { fill: var(--maroon); } .lbl--old { fill: var(--muted); }
.chart.in .chart__line { animation: draw 1.8s var(--ease) .25s forwards; }
.chart.in .chart__area { animation: fade 1s ease 1.5s forwards; }
.chart.in .chart__end { animation: fade .6s ease 1.9s forwards; }
.chart__note { font-size: .74rem; color: var(--muted); margin-top: 6px; }
.js .chart:not(.in) .chart__line { stroke-dashoffset: 1; }
html:not(.js) .chart__line { stroke-dashoffset: 0; } html:not(.js) .chart__area, html:not(.js) .chart__end { opacity: 1; }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.compare__col { border-radius: var(--r-lg); padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line); background: var(--surface); }
.compare__col .mono { color: var(--muted); }
.compare__col h3 { font-size: clamp(1.25rem, 1.1rem + .8vw, 1.6rem); font-weight: 800; letter-spacing: -.03em; margin: 10px 0 22px; }
.compare__col li { display: flex; gap: 14px; padding: 15px 0; border-top: 1px solid var(--line); font-size: .833rem; line-height: 1.5; } /* 15% smaller than before (.98rem), per the brief */
.compare__col li svg { flex: none; width: 24px; height: 24px; padding: 5px; border-radius: 50%; margin-top: 1px; }
.compare__col--old { color: var(--muted); }
.compare__col--old h3 { color: var(--fg); }
.compare__col--old li svg { background: var(--alt); color: var(--muted); }
.compare__col--new { background: var(--dark); color: var(--dark-fg); border-color: var(--dark); position: relative; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(149, 27, 19, .6); }
.compare__col--new::before { content: ""; position: absolute; right: -120px; top: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(208, 0, 0, .5), transparent 65%); }
.compare__col--new > * { position: relative; }
.compare__col--new .mono { color: #FF9A8F; }
.compare__col--new li { border-color: rgba(255, 255, 255, .12); }
.compare__col--new li svg { background: var(--maroon); color: #fff; }

/* ---------- Section 3: dashboard ---------- */
.dash { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 50px 100px -50px rgba(26, 23, 26, .45); overflow: hidden; }
.dash--img .dash__tabs, .dash--img .dash__grid { display: none; }
.dash__img { width: 100%; }
.dash__tabs { display: flex; gap: 6px; padding: 14px 18px 0; overflow-x: auto; scrollbar-width: none; }
.dash__tabs button { border: 1px solid var(--line); background: var(--surface); padding: 8px 14px; border-radius: 99px; font-size: .82rem; font-weight: 700; white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.dash__tabs button:hover { border-color: var(--fg); }
.dash__tabs button[aria-selected="true"] { background: var(--fg); color: #fff; border-color: var(--fg); }
.dash__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 18px; }
.kpi, .panel { border: 1px solid var(--line); border-radius: var(--r); padding: 18px; background: var(--bg); }
.kpi .mono, .panel__t { color: var(--muted); font-size: .66rem; }
.panel__t { font: 700 .66rem var(--mono); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.kpi__n { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.1; margin-top: 8px; font-variant-numeric: tabular-nums; }
.kpi__n small { font-size: .45em; color: var(--muted); font-weight: 700; margin-left: 2px; }
.kpi:first-child { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.kpi:first-child .mono, .kpi:first-child small { color: #FFD9D5; }
.panel--wide { grid-column: span 2; }
.bars { display: grid; gap: 11px; }
.bar { display: grid; grid-template-columns: 84px 1fr 34px; align-items: center; gap: 10px; font-size: .84rem; font-weight: 600; }
.bar__t { height: 10px; background: var(--alt); border-radius: 99px; overflow: hidden; }
.bar__t i { display: block; height: 100%; width: 0; border-radius: 99px; background: #CFC9C9; transition: width 1.1s var(--ease), background .3s; }
.bar.on .bar__t i { background: linear-gradient(90deg, var(--maroon), var(--red)); }
.bar b { font: 700 .78rem var(--mono); text-align: right; }
.rank li, .src li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: .88rem; font-weight: 600; }
.rank li:first-child, .src li:first-child { border-top: 0; padding-top: 0; }
.rank li span, .src li span { flex: 1; }
.rank li b, .src li b { font: 700 .76rem var(--mono); color: var(--muted); }
.rank li i { font: 700 .7rem var(--mono); font-style: normal; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 6px; background: var(--alt); color: var(--muted); }
.rank li.you { color: var(--maroon); } .rank li.you i { background: var(--maroon); color: #fff; } .rank li.you b { color: var(--maroon); }
.dash__grid.flash .kpi__n, .dash__grid.flash .rank, .dash__grid.flash .src { animation: flash .45s var(--ease); }

/* ---------- Cards (Section 4) ---------- */
.cards { display: grid; gap: 16px; margin-top: clamp(32px, 4vw, 52px); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card, .layer { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; position: relative; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.card:hover, .layer:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(149, 27, 19, .35); }
.glow::before { content: ""; position: absolute; inset: 0; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(208, 0, 0, .11), transparent 70%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.glow:hover::before { opacity: 1; }
.ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--pink); color: var(--maroon); margin-bottom: 22px; transition: background .3s, color .3s, transform .35s var(--ease); }
.ico svg { width: 22px; height: 22px; }
.card:hover .ico { background: var(--maroon); color: #fff; transform: rotate(-8deg) scale(1.06); }
.card p, .layer p:not(.mono) { color: var(--muted); font-size: .94rem; margin-top: 8px; line-height: 1.55; }

/* ---------- Section 4.1: ADP+ steps ---------- */
#method { overflow: hidden; }
#method::before { content: "ADP+"; position: absolute; right: -2vw; top: 30px; font-size: clamp(8rem, 24vw, 22rem); font-weight: 800; letter-spacing: -.07em; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .06); pointer-events: none; }
#method h2 { max-width: 24ch; }
.steps { position: relative; display: grid; gap: clamp(36px, 5vw, 64px); }
.steps__line { position: absolute; left: 31px; top: 20px; bottom: 20px; width: 2px; background: rgba(255, 255, 255, .1); border-radius: 2px; overflow: hidden; }
.steps__line span { display: block; width: 100%; height: 100%; background: linear-gradient(var(--red), var(--maroon)); transform: scaleY(0); transform-origin: 50% 0; }
.step { display: grid; grid-template-columns: 64px 1fr 1.05fr; gap: clamp(18px, 3vw, 44px); align-items: center; position: relative; }
.step__badge { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font-size: 1.5rem; font-weight: 800; letter-spacing: -.04em; background: var(--dark-2); border: 1px solid rgba(255, 255, 255, .12); color: var(--dark-muted); position: relative; z-index: 1; transition: background .5s, color .5s, transform .5s var(--ease), box-shadow .5s, border-color .5s; }
.step.active .step__badge { background: var(--maroon); border-color: var(--maroon); color: #fff; transform: scale(1.08); box-shadow: 0 0 0 8px rgba(149, 27, 19, .22), 0 18px 40px -10px rgba(208, 0, 0, .7); }
.step .mono { color: #FF9A8F; margin-bottom: 12px; font-size: .8rem; }
.step__text { font-size: clamp(1.02rem, .95rem + .45vw, 1.24rem); line-height: 1.55; color: var(--dark-fg); opacity: .55; transition: opacity .5s; }
.step.active .step__text { opacity: 1; }
.step__media { aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; position: relative; background: var(--dark-2); border: 1px solid rgba(255, 255, 255, .1); }
.step__media video { width: 100%; height: 100%; object-fit: cover; }
.ph { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 22px; background:
  linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 100% 28px,
  linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 28px 100%,
  radial-gradient(circle at 70% 20%, rgba(208, 0, 0, .35), transparent 60%); }
.ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 35%, rgba(255, 255, 255, .07) 50%, transparent 65%); background-size: 250% 100%; animation: sheen 4.5s linear infinite; }
.ph__in { position: relative; z-index: 1; display: grid; justify-items: center; gap: 12px; max-width: 34ch; }
.ph__play { width: 56px; height: 56px; border-radius: 50%; background: #fff; color: var(--maroon); display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(255, 255, 255, .08); animation: pulse-w 2.6s infinite; }
.ph__play svg { width: 24px; height: 24px; margin-left: 3px; }
.ph__tag { font: 700 .64rem var(--mono); letter-spacing: .16em; text-transform: uppercase; color: #FF9A8F; }
.ph__cap { font-size: .9rem; color: var(--dark-fg); line-height: 1.45; }

/* ---------- Section 4.2: layers ---------- */
.layers { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: clamp(32px, 4vw, 52px); }
.layer { min-height: 190px; display: flex; flex-direction: column; grid-column: span 2; }   /* 6 small boxes: two even rows of 3 */
.layer:not(.layer--hot):not(.layer--ink) .mono { margin-bottom: 0; }   /* every title starts at the same height */
.layer .mono { color: var(--maroon); margin-bottom: auto; padding-bottom: 28px; }
.layer h3 { font-size: 1.2rem; }
.layer--hot, .layer--ink { grid-column: span 3; min-height: 220px; }
.layer--hot h3, .layer--ink h3 { font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.4rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.layer--hot { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.layer--ink { background: var(--dark); border-color: var(--dark); color: var(--dark-fg); }
.layer--hot .mono, .layer--ink .mono { color: #FFD9D5; }
.layer--hot p:not(.mono) { color: #FFE3E0; font-size: 1.02rem; } .layer--ink p:not(.mono) { color: var(--dark-muted); font-size: 1.02rem; }
.layer--hot.glow::before, .layer--ink.glow::before { background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .16), transparent 70%); }

/* ---------- Section 4.3: quad + readiness check ---------- */
.quad { display: grid; grid-template-columns: 1fr 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; max-width: 940px; margin-inline: auto; box-shadow: var(--shadow); }
.quad article { padding: clamp(24px, 3.4vw, 40px); border: 0 solid var(--line); transition: background .3s; }
.quad article:nth-child(odd) { border-right-width: 1px; }
.quad article:nth-child(-n+2) { border-bottom-width: 1px; }
.quad article:hover { background: #FFF8F7; }
.quad__i { width: 28px; height: 28px; color: var(--maroon); margin-bottom: 16px; transition: transform .35s var(--ease); }
.quad article:hover .quad__i { transform: scale(1.15) rotate(-6deg); }
.quad p { color: var(--muted); margin-top: 6px; font-size: .96rem; }

.check { margin: clamp(40px, 6vw, 72px) auto 0; max-width: 940px; background: var(--dark); color: var(--dark-fg); border-radius: var(--r-lg); padding: clamp(24px, 3.6vw, 44px); display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 4vw, 48px); position: relative; overflow: hidden; }
.check::before { content: ""; position: absolute; left: -100px; bottom: -140px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(208, 0, 0, .45), transparent 65%); }
.check > * { position: relative; }
.check .mono { color: #FF9A8F; }
.check h3 { font-size: clamp(1.4rem, 1.2rem + 1vw, 1.9rem); font-weight: 800; letter-spacing: -.03em; margin: 10px 0 8px; }
.check__intro p:not(.mono) { color: var(--dark-muted); }
.meter { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .12); margin-top: 24px; overflow: hidden; }
.meter span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--red), #FF9A8F); border-radius: 99px; transition: width .5s var(--ease); }
.check__score { font: 700 .72rem var(--mono) !important; letter-spacing: .1em; text-transform: uppercase; margin-top: 10px; }
.check__qs { display: grid; gap: 10px; }
.q { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); font-size: .92rem; line-height: 1.4; }
.q span { flex: 1; }
.q div { display: flex; gap: 6px; flex: none; }
.q button { border: 1px solid rgba(255, 255, 255, .25); background: none; color: var(--dark-fg); border-radius: 8px; padding: 7px 13px; font-size: .8rem; font-weight: 700; transition: background .2s, border-color .2s, color .2s; }
.q button:hover { border-color: #fff; }
.q button[aria-pressed="true"] { background: #fff; color: var(--dark); border-color: #fff; }
.check__result { margin-top: 18px; display: grid; gap: 6px; justify-items: start; animation: rise .6s var(--ease); }
.check__result[hidden] { display: none; }
.check__cta { margin-top: 22px; }
.check__result h4 { font-size: 1.2rem; font-weight: 800; letter-spacing: -.03em; }
.check__result p { color: var(--dark-muted); max-width: 60ch; font-size: .92rem; line-height: 1.5; }

/* ---------- Section 5: case studies ---------- */
.cases { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: clamp(32px, 4vw, 52px); }
.case { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 2.6vw, 32px); box-shadow: var(--shadow); }
.case__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.case__head h3 { font-size: clamp(1.3rem, 1.1rem + .9vw, 1.7rem); font-weight: 800; letter-spacing: -.03em; }
.toggle { display: flex; background: var(--alt); border-radius: 99px; padding: 4px; }
.toggle button { border: 0; background: none; padding: 7px 16px; border-radius: 99px; font-size: .8rem; font-weight: 700; color: var(--muted); transition: background .25s, color .25s; }
.toggle button[aria-pressed="true"] { background: var(--maroon); color: #fff; }
.case__shot { position: relative; border-radius: var(--r); background: var(--alt); border: 1px solid var(--line); overflow: hidden; display: grid; }
.shot { grid-area: 1 / 1; padding: 20px; transition: opacity .5s, transform .6s var(--ease); display: grid; gap: 12px; align-content: start; }
.shot--after { opacity: 0; transform: translateY(14px) scale(.98); pointer-events: none; }
.case.after .shot--after { opacity: 1; transform: none; pointer-events: auto; }
.case.after .shot--before { opacity: 0; transform: translateY(-14px) scale(.98); }
.shot img { width: 100%; border-radius: 8px; }
.shot__tag { justify-self: start; font: 700 .62rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); background: var(--surface); padding: 3px 8px; border-radius: 99px; }
.shot__q { justify-self: end; background: var(--fg); color: #fff; padding: 9px 14px; border-radius: 14px 14px 4px 14px; font-size: .86rem; max-width: 90%; }
.shot ul { display: grid; gap: 7px; }
.shot li { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; font-size: .88rem; font-weight: 600; color: #A9A3A4; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.shot li.you { color: var(--maroon); background: var(--pink); border-color: var(--maroon); font-weight: 800; }
.shot li i { font: 700 .6rem var(--mono); font-style: normal; text-transform: uppercase; letter-spacing: .1em; background: var(--maroon); color: #fff; padding: 4px 8px; border-radius: 99px; }
.shot__flag { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700; justify-self: start; padding: 6px 12px 6px 8px; border-radius: 99px; }
.shot__flag svg { width: 18px; height: 18px; padding: 3px; border-radius: 50%; color: #fff; }
.shot__flag--no { background: #ECE9E8; color: var(--muted); } .shot__flag--no svg { background: var(--muted); }
.shot__flag--yes { background: #E3F4EA; color: #17663A; } .shot__flag--yes svg { background: #1E8A4C; }
.case__txt { display: grid; gap: 14px; margin-top: 20px; }
.case__txt div { display: grid; grid-template-columns: 70px 1fr; gap: 12px; align-items: baseline; }
.case__txt dt { font: 700 .68rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.case__txt div:last-child dt { color: var(--maroon); }
.case__txt dd { font-size: .96rem; line-height: 1.5; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq__head { position: sticky; top: calc(var(--header-h) + 20px); }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 4px; font-size: clamp(1rem, .95rem + .3vw, 1.14rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.35; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--maroon); }
.faq summary svg { flex: none; width: 34px; height: 34px; padding: 8px; border-radius: 50%; border: 1px solid var(--line); transition: transform .4s var(--ease), background .3s, color .3s, border-color .3s; }
.faq details[open] summary { color: var(--maroon); }
.faq details[open] summary svg { transform: rotate(135deg); background: var(--maroon); color: #fff; border-color: var(--maroon); }
.faq__a { overflow: hidden; }
.faq__a p { color: var(--muted); padding: 0 56px 24px 4px; max-width: 64ch; }
.faq details[open] .faq__a { animation: rise .45s var(--ease); }

/* ---------- CTA ---------- */
.cta { padding: 0 0 clamp(64px, 9vw, 120px); }
.cta__box { position: relative; overflow: hidden; isolation: isolate; text-align: center; background: linear-gradient(135deg, #B3261C, var(--maroon) 45%, var(--maroon-d)); color: #fff; border-radius: var(--r-lg); padding: clamp(48px, 8vw, 104px) 24px; display: grid; justify-items: center; gap: 26px; }
.cta__box h2 { max-width: 18ch; font-size: clamp(2.1rem, 1.3rem + 3.6vw, 3.8rem); }
.cta__box p { color: #FFE3E0; font-size: 1.04rem; max-width: 46ch; }
.cta__rings { position: absolute; inset: 0; z-index: -1; display: grid; place-items: center; }
.cta__rings i { position: absolute; width: 420px; height: 420px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); animation: ring 6s linear infinite; }
.cta__rings i:nth-child(2) { animation-delay: 2s; } .cta__rings i:nth-child(3) { animation-delay: 4s; }

/* ---------- Contact form ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.info { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 24px; margin-top: 40px; }
.info dt { font: 700 .66rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #FF9A8F; margin-bottom: 6px; }
.info dd { color: var(--dark-fg); font-size: .96rem; line-height: 1.5; }
.info a:hover { text-decoration: underline; }
.form { background: var(--surface); color: var(--fg); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 38px); display: grid; gap: 16px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 7px; font-size: .84rem; font-weight: 700; }
.form input { font: 500 1rem var(--font); padding: 14px 15px; border: 1px solid var(--line); border-radius: 7px; background: var(--bg); color: var(--fg); width: 100%; transition: border-color .2s, box-shadow .2s; }
.form input::placeholder { color: #A9A3A4; }
.form input:focus { outline: 0; border-color: var(--maroon); box-shadow: 0 0 0 4px rgba(149, 27, 19, .12); }
.form input.bad { border-color: var(--red); box-shadow: 0 0 0 4px rgba(208, 0, 0, .1); }
.hp { position: absolute !important; left: -9999px; width: 1px !important; height: 1px; opacity: 0; }
.form__err { color: var(--red); font-size: .88rem; font-weight: 600; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: var(--dark-muted); border-top: 1px solid rgba(255, 255, 255, .1); padding: 26px 0; font-size: .86rem; }
.footer__in { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; }

/* ---------- Sticky phone CTA + Thank-you popup ---------- */
.sticky { display: none; }
.modal { border: 0; border-radius: var(--r-lg); padding: 40px 32px 32px; width: min(420px, calc(100% - 32px)); text-align: center; color: var(--fg); background: var(--surface); box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .6); }
.modal::backdrop { background: rgba(28, 25, 28, .65); backdrop-filter: blur(4px); }
.modal[open] { animation: pop .45s var(--ease); }
.modal h2 { font-size: 2.2rem; margin: 18px auto 8px; }
.modal p { color: var(--muted); margin-bottom: 24px; }
.modal__tick { width: 68px; height: 68px; border-radius: 50%; background: var(--maroon); color: #fff; display: grid; place-items: center; margin: 0 auto; box-shadow: 0 0 0 10px var(--pink); }
.modal__tick svg { width: 34px; height: 34px; }

/* ---------- Keyframes ---------- */
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(208, 0, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(208, 0, 0, 0); } }
@keyframes pulse-w { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .4); } 70% { box-shadow: 0 0 0 18px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translate(-24px, 22px) scale(1.03); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
@keyframes flash { from { opacity: .2; transform: translateY(6px); } }
@keyframes rise { from { opacity: 0; transform: translateY(-8px); } }
@keyframes sheen { from { background-position: 120% 0; } to { background-position: -120% 0; } }
@keyframes ring { from { transform: scale(.4); opacity: .9; } to { transform: scale(3.2); opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.9) translateY(16px); } }

/* ---------- Services menu (links the AEO, GEO and AEO & GEO pages) ---------- */
.drop { position: relative; }
.drop__btn { display: flex; align-items: center; gap: 6px; padding: 10px 13px; border: 0; background: none; font-size: .88rem; font-weight: 600; border-radius: 6px; }
.drop__btn svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.drop:hover .drop__btn, .drop:focus-within .drop__btn, .drop--here .drop__btn { color: var(--maroon); }
.drop:hover .drop__btn svg, .drop:focus-within .drop__btn svg { transform: rotate(180deg); }
.drop__menu { position: absolute; top: 100%; left: 0; min-width: 210px; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .25s var(--ease), visibility .25s; }
.drop:hover .drop__menu, .drop:focus-within .drop__menu { opacity: 1; visibility: visible; transform: none; }
.nav .drop__menu a { display: block; padding: 10px 12px; border-radius: 8px; }
.nav .drop__menu a::after { display: none; }
.nav .drop__menu a:hover { background: var(--pink); }
.nav .drop__menu a[aria-current="page"] { background: var(--pink); color: var(--maroon); }
.drop__menu small { display: block; font-weight: 500; font-size: .76rem; color: var(--muted); }

/* ---------- Service pages: quick answer, 3-up cards, comparison table, page links ---------- */
.answer { margin-top: clamp(32px, 4vw, 52px); display: grid; grid-template-columns: .9fr 1.1fr; gap: 20px; }
.answer__box { background: var(--pink); border-radius: var(--r-lg); padding: clamp(26px, 3.4vw, 44px); position: relative; overflow: hidden; }
.answer__box::after { content: ""; position: absolute; right: -70px; bottom: -70px; width: 220px; height: 220px; border-radius: 50%; border: 34px solid rgba(149, 27, 19, .08); }
.answer__box .mono { color: var(--maroon); }
.answer__box p:not(.mono) { font-size: clamp(1.12rem, 1rem + .6vw, 1.42rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.4; margin-top: 14px; position: relative; }
.answer__list { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 40px); }
.answer__list li { display: flex; gap: 14px; padding: 15px 0; border-top: 1px solid var(--line); line-height: 1.5; }
.answer__list li:first-of-type { border-top: 0; padding-top: 4px; }
.answer__list li svg { flex: none; width: 24px; height: 24px; padding: 5px; border-radius: 50%; background: var(--maroon); color: #fff; margin-top: 1px; }
.answer__list b { display: block; }
.answer__list span { color: var(--muted); font-size: .95rem; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.section--alt .card { background: var(--surface); }
.vs { margin-top: clamp(32px, 4vw, 52px); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.vs table { width: 100%; border-collapse: collapse; font-size: .96rem; line-height: 1.5; }
.vs th, .vs td { text-align: left; padding: 16px 20px; border-top: 1px solid var(--line); vertical-align: top; }
.vs thead th { border-top: 0; background: var(--dark); color: var(--dark-fg); font: 700 .72rem var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.vs thead th.hot { background: var(--maroon); }
.vs tbody th { font-weight: 700; width: 22%; }
.vs td { color: var(--muted); }
.next { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: clamp(32px, 4vw, 52px); }
.next a { display: flex; flex-direction: column; gap: 8px; }
.next a h3 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); font-weight: 800; letter-spacing: -.03em; }
.next a .mono { color: var(--maroon); }
.next a span:last-child { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 14px; font-weight: 700; color: var(--maroon); }
.next a span:last-child svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.next a:hover span:last-child svg { transform: translateX(4px); }
.footer__links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer__links a:hover { color: #fff; }

/* ---------- Hero: sub heading + money-back guarantee ---------- */
.hero__sub { margin-top: 20px; font-size: clamp(1.15rem, 1rem + .7vw, 1.5rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.35; max-width: 34ch; }
.hero__copy .hero__sub + .lead { margin-top: 14px; }

/* ---------- Mehak ma'am video ---------- */
.intro { padding-bottom: clamp(48px, 6vw, 80px); }
.intro__title { max-width: none !important; font-size: clamp(2rem, 1.2rem + 3.2vw, 3.6rem); }
.intro__title .tool { vertical-align: middle; font-size: .78em; }
.btns--center { justify-content: center; }
.btn--dark { background: var(--fg); color: #fff; border-color: var(--fg); }
.btn--dark:hover { background: #000; transform: translateY(-2px); }
.intro__video { position: relative; max-width: 720px; margin: clamp(32px, 4vw, 48px) auto 0; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(135deg, #B3261C, var(--maroon) 55%, var(--maroon-d)); box-shadow: 0 50px 90px -40px rgba(149, 27, 19, .7); }
.intro__video video { width: 100%; height: 100%; object-fit: cover; }

/* ---------- ADP+: single video frame + opening cards ---------- */
.adp { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(20px, 3vw, 40px); align-items: start; }
.adp__cards { display: grid; gap: 12px; }
.adp__card { position: relative; border-radius: var(--r); background: var(--dark-2); border: 1px solid rgba(255, 255, 255, .1); overflow: hidden; transition: border-color .4s, background .4s; }
.adp__card.is-open { border-color: rgba(208, 0, 0, .6); background: #2E2125; }
.adp__card button { width: 100%; display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 0; background: none; text-align: left; color: var(--dark-fg); }
.adp__card button b { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 1.1rem; font-weight: 800; background: rgba(255, 255, 255, .06); color: var(--dark-muted); transition: background .4s, color .4s; }
.adp__card.is-open button b { background: var(--maroon); color: #fff; }
.adp__card .mono { color: var(--dark-muted); font-size: .78rem; }
.adp__card.is-open .mono { color: #FF9A8F; }
.adp__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.adp__body p { overflow: hidden; padding: 0 20px 0 78px; color: var(--dark-fg); opacity: .85; line-height: 1.55; }
.adp__card.is-open .adp__body { grid-template-rows: 1fr; }
.adp__card.is-open .adp__body p { padding-bottom: 18px; }
.adp__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; }
.adp__bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--red), #FF9A8F); }
.adp__frame { position: sticky; top: calc(var(--header-h) + 20px); aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: var(--dark-2); border: 1px solid rgba(255, 255, 255, .1); }
.adp__frame video { width: 100%; height: 100%; object-fit: cover; }
.adp__in { animation: fade-in .6s var(--ease); }

/* ---------- Why Red Realm is different ---------- */
.why { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.why__text { margin-top: 20px; font-size: clamp(1.02rem, .96rem + .35vw, 1.16rem); color: var(--muted); line-height: 1.7; }
.why__text b { color: var(--fg); }
.why__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.why__facts li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; display: grid; gap: 6px; }
.why__facts b { font-size: clamp(2rem, 1.5rem + 1.6vw, 2.8rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; color: var(--maroon); }
.why__facts b svg { width: 40px; height: 40px; }
.why__facts span { color: var(--muted); font-size: .9rem; font-weight: 600; line-height: 1.35; }
.why__facts .why__hot { background: var(--maroon); border-color: var(--maroon); }
.why__facts .why__hot b { color: #fff; } .why__facts .why__hot span { color: #FFE3E0; }

/* ---------- ROI calculator ---------- */

/* ---------- Plans & pricing ---------- */
.plans__title { text-align: center; font-size: 1.3rem; font-weight: 800; margin-bottom: 18px; }
.plans { max-width: 940px; margin-inline: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow); overflow-x: auto; }
.plans table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .94rem; }
.plans th, .plans td { padding: 13px 16px; border-top: 1px solid var(--line); text-align: center; }
.plans tbody th { text-align: left; font-weight: 600; }
.plans thead th { border-top: 0; padding: 18px 16px; font-weight: 800; font-size: 1.02rem; }
.plans thead th:first-child { text-align: left; font: 700 .72rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.plans .hot { background: #FFF4F2; border-inline: 2px solid var(--maroon); }
.plans thead .hot { background: var(--maroon); color: #fff; font-size: 1.12rem; }
.plans thead .hot em { display: block; font: 700 .6rem var(--mono); font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: #FFD9D5; margin-bottom: 2px; }
.plans tfoot .hot { border-bottom: 2px solid var(--maroon); }
.plans .y { color: #1E8A4C; font-weight: 800; font-size: 1.05rem; }
.plans .n { color: #B9B1B2; font-size: 1rem; }
.plans tfoot td { padding: 18px 12px; }

/* ---------- 60 second check (own section) + checklist table ---------- */
.section--tight .check { margin-top: 0; }
.list10 { max-width: 940px; margin-inline: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.list10 table { width: 100%; border-collapse: collapse; font-size: .96rem; line-height: 1.5; }
.list10 th, .list10 td { padding: 15px 18px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.list10 thead th { border-top: 0; background: var(--dark); color: var(--dark-fg); font: 700 .72rem var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.list10 tbody td:first-child { width: 56px; font: 700 .9rem var(--mono); color: var(--maroon); }
.list10 tbody th { width: 30%; font-weight: 700; }
.list10 tbody td:last-child { color: var(--muted); }
.list10 tbody tr:hover { background: #FFF8F7; }

/* ---------- CTA: what you get on the call + client logos ---------- */
.cta__list { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 30px); text-align: left; max-width: 620px; width: 100%; }
.cta__list h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 14px; }
.cta__list li { display: flex; gap: 12px; padding: 8px 0; line-height: 1.45; }
.cta__list li svg { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: #fff; color: var(--maroon); margin-top: 1px; }
.brand-logo { display: inline-flex; align-items: center; }
.brand-logo img { height: 34px; width: auto; max-width: 170px; object-fit: contain; display: block; }
.brand-logo--dark img { filter: brightness(0); opacity: .82; }   /* white logo files shown dark on the white strip */
@keyframes fade-in { from { opacity: 0; transform: scale(.98); } }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .adp, .why { grid-template-columns: 1fr; }
  .adp__frame { position: relative; top: auto; order: -1; }
  .cards--4, .layers { grid-template-columns: 1fr 1fr; }
  .layer { grid-column: auto; } .layer--hot, .layer--ink { grid-column: span 2; }
  .dash__grid { grid-template-columns: 1fr 1fr; }
  .hero__grid { grid-template-columns: 1fr; }
  .chat { justify-self: start; max-width: 520px; }
  .hero__orb { top: auto; bottom: -260px; left: auto; right: -220px; }
  .step { grid-template-columns: 64px 1fr; }
  .step__media { grid-column: 2; }
  .faq { grid-template-columns: 1fr; }
  .faq__head { position: static; }
  .cards--3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  :root { --header-h: 68px; }
  .burger { display: flex; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px 20px 20px; box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .25); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .25s, transform .3s var(--ease), visibility .3s; }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav__cta { margin: 16px 0 0; }
  .logo img { width: 50px; height: 50px; }
  .shift, .compare, .cases, .contact__grid, .check, .answer, .next { grid-template-columns: 1fr; }
  .drop__btn { display: none; }
  .drop__menu { position: static; opacity: 1; visibility: visible; transform: none; min-width: 0; padding: 0; border: 0; box-shadow: none; background: none; }
  .nav .drop__menu a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav .drop__menu a[aria-current="page"] { background: none; }
  .drop__menu small { display: none; }
  .vs thead { display: none; }
  .vs tr { display: block; border-top: 1px solid var(--line); padding: 8px 0; }
  .vs tr:first-child { border-top: 0; }
  .vs th, .vs td { display: block; border: 0; padding: 6px 18px; width: auto; }
  .vs td::before { content: attr(data-l); display: block; font: 700 .68rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--maroon); }
  .sticky { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; justify-content: center; padding: 15px; border-radius: 8px; background: var(--maroon); color: #fff; font-weight: 700; font-size: .94rem; box-shadow: 0 16px 36px -10px rgba(149, 27, 19, .8); transform: translateY(140%); transition: transform .45s var(--ease); }
  .sticky.show { transform: none; }
}
@media (max-width: 600px) {
  .wrap { width: min(1180px, 100% - 32px); }
  .hero { margin: 6px 8px 0; }
  .btns .btn { width: 100%; }
  .cards--4, .cards--3, .layers, .quad, .form__row, .info { grid-template-columns: 1fr; }
  .layer--hot, .layer--ink, .panel--wide { grid-column: auto; }
  .dash__grid { grid-template-columns: 1fr 1fr; padding: 12px; gap: 10px; }
  .panel { grid-column: 1 / -1; }
  .quad article { border-right-width: 0 !important; border-bottom-width: 1px; }
  .quad article:last-child { border-bottom-width: 0; }
  .step { grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
  .step__badge { width: 48px; height: 48px; border-radius: 14px; font-size: 1.1rem; }
  .steps__line { left: 23px; }
  .q { flex-direction: column; align-items: stretch; }
  .marquee__label { display: none; }
  .faq__a p { padding-right: 8px; }
  .case__txt div { grid-template-columns: 1fr; gap: 2px; }
  .roi__inputs { grid-template-columns: 1fr; }
  /* Plans table: fit all three plans on a phone screen instead of hiding 6 and 12 months off to the side */
  .plans table { min-width: 0; table-layout: fixed; font-size: .8rem; }
  .plans thead th:first-child, .plans tbody th { width: 40%; }
  .plans th, .plans td { padding: 11px 6px; }
  .plans tbody th { padding-left: 12px; line-height: 1.35; overflow-wrap: anywhere; }
  .plans thead th { padding: 14px 4px; font-size: .82rem; line-height: 1.2; }
  .plans thead th:first-child { padding-left: 12px; font-size: .58rem; letter-spacing: .08em; }
  .plans thead .hot { font-size: .86rem; }
  .plans thead .hot em { font-size: .5rem; letter-spacing: .06em; }
  .plans tfoot td { padding: 14px 3px; }
  .plans tfoot .btn--sm { padding: 10px 4px; width: 100%; font-size: .68rem; letter-spacing: 0; }
  .adp__body p { padding-left: 20px; }
  .adp__frame .ph, .intro__video .ph { padding: 12px; }
  .adp__frame .ph__in, .intro__video .ph__in { gap: 6px; }
  .adp__frame .ph__play, .intro__video .ph__play { width: 42px; height: 42px; box-shadow: none; animation: none; }
  .adp__frame .ph__cap, .intro__video .ph__cap { font-size: .8rem; }
  .list10 thead { display: none; }
  .list10 tr { display: grid; grid-template-columns: 40px 1fr; border-top: 1px solid var(--line); padding: 10px 0; }
  .list10 tr:first-child { border-top: 0; }
  .list10 th, .list10 td { border: 0; padding: 4px 14px; width: auto !important; }
  .list10 tbody td:last-child { grid-column: 2; }
  .why__facts li { padding: 16px; }
  .footer__in { flex-direction: column; }
  .footer { padding-bottom: 86px; }
}

/* ---------- Respect "reduce motion" settings ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee__track { animation-duration: 28s !important; animation-iteration-count: infinite !important; }   /* the logo strips keep moving (client request) */
  .marquee__track--brands { animation-duration: 34s !important; }
  .chart__line { stroke-dashoffset: 0 !important; } .chart__area, .chart__end { opacity: 1 !important; }
}
/* One-question-at-a-time form */
.qform { gap: 0; grid-template-areas: "top" "bar" "q" "err" "nav"; grid-template-rows: auto auto 1fr auto auto; }
.qform__top { grid-area: top; } .qform__bar { grid-area: bar; } .qform .qs { grid-area: q; } .qform .form__err { grid-area: err; } .qform__nav { grid-area: nav; }
/* all questions share one spot, so the card keeps the height of the longest one and never jumps */
.qform .qs[hidden] { display: grid !important; visibility: hidden; animation: none; }
.qform__top { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: .72rem; }
.qform__bar { display: block; height: 3px; border-radius: 3px; background: var(--line); margin: 12px 0 26px; overflow: hidden; }
.qform__bar span { display: block; height: 100%; width: 20%; background: var(--maroon); border-radius: 3px; transition: width .5s var(--ease); }
.qs { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 14px; align-content: start; animation: qs-in .45s var(--ease); }
.qs[hidden] { display: none; }
.qs legend { padding: 0; margin-bottom: 8px; font-size: clamp(1.45rem, 2.4vw, 1.9rem); font-weight: 800; line-height: 1.15; letter-spacing: -.01em; }
.qs__hint { color: var(--muted); font-size: .9rem; }
.qform [hidden] { display: none !important; }
.qs label small { font-weight: 500; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; display: inline-flex !important; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; font-weight: 600; background: var(--surface); transition: background .2s, color .2s, border-color .2s; }
.chip span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid currentColor; opacity: .45; transition: background .2s, opacity .2s; }
.chip:hover span { border-color: var(--fg); }
.chip input:checked + span { background: var(--fg); color: #fff; border-color: var(--fg); }
.chip input:checked + span::before { background: #fff; border-color: #fff; opacity: 1; }
.chip input:focus-visible + span { outline: 2px solid var(--maroon); outline-offset: 2px; }
.qform .form__err { margin-top: 14px; }
.qform__nav { display: flex; gap: 10px; margin-top: 24px; }
.qform__nav .btn { white-space: nowrap; padding-inline: 18px; }
.qform__nav .btn--primary { flex: 1; }
.qform__back { background: none; border-color: var(--line); color: var(--fg); }
.qform__back:hover { border-color: var(--fg); }
.qs--done { text-align: center; justify-items: center; padding-top: 12px; }
.qs--done h3 { font-size: clamp(1.6rem, 2.6vw, 2rem); margin-top: 10px; }
.qs--done:focus { outline: 0; }
@keyframes qs-in { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .qs { animation: none; } }
@media (max-width: 600px) {
  .chip span { padding: 10px 14px; font-size: .86rem; }
}

/* Pop-up form */
.pop { border: 0; padding: 52px 0 0; background: none; width: min(560px, calc(100% - 24px)); max-height: calc(100dvh - 24px); overflow: auto; overscroll-behavior: contain; }
.pop::backdrop { background: rgba(28, 25, 28, .72); backdrop-filter: blur(4px); }
.pop[open] { animation: pop .4s var(--ease); }
.pop .form { box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .6); }
.pop__x { position: absolute; top: 0; right: 0; width: 42px; height: 42px; border-radius: 50%; border: 0; background: #fff; color: var(--fg); display: grid; place-items: center; cursor: pointer; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .5); }
.pop__x svg { width: 20px; height: 20px; }
.pop__x:hover { background: var(--pink); }
.pop-open, .pop-open body { overflow: hidden; }
.pop__body:focus { outline: 0; }

/* ROI calculator (client's "AI Visibility Revenue Projection" design) */
.roi { max-width: 860px; margin-inline: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); display: grid; gap: 16px; }
.roi__head { display: flex; gap: 14px; align-items: center; }
.roi__head .ico { margin: 0; flex: none; }
.roi__head h3 { font-size: clamp(1.25rem, 1rem + 1vw, 1.6rem); }
.roi__head p { color: var(--muted); font-size: .9rem; }
.roi__inputs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.roi__in { background: var(--alt); border: 1px solid var(--line); border-radius: var(--r); padding: 15px; display: grid; gap: 8px; align-content: start; }
.roi__in b { font-size: .86rem; }
.roi__in small { font-size: .76rem; line-height: 1.4; color: var(--muted); }
.roi__field { display: flex; align-items: center; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 0 12px; transition: border-color .2s, box-shadow .2s; }
.roi__field:focus-within { border-color: var(--maroon); box-shadow: 0 0 0 4px rgba(149, 27, 19, .12); }
.roi__field input { width: 100%; min-width: 0; border: 0; background: none; padding: 11px 0; font: 800 1.2rem var(--font); color: var(--fg); outline: 0; }
.roi__field i { font-style: normal; font-weight: 800; color: var(--muted); }
.roi__out { background: var(--pink); border: 1px solid rgba(149, 27, 19, .22); border-radius: var(--r); padding: clamp(18px, 2.5vw, 24px); }
.roi__out p { font-size: .84rem; color: var(--muted); }
.roi__out .roi__lbl { font: 700 .72rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--fg); }
.roi__n { font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.2rem) !important; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; color: var(--maroon) !important; font-variant-numeric: tabular-nums; margin: 6px 0; overflow-wrap: anywhere; }
.roi__actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: .9rem; }
.roi__note { font-size: .76rem; line-height: 1.5; color: var(--muted); padding-top: 14px; border-top: 1px solid var(--line); }
.roi__ask { font-weight: 600; text-align: center; }
.roi > .btn { justify-self: center; }
.roi > .roi__cta { justify-self: stretch; justify-content: center; }
@media (max-width: 680px) { .roi__inputs { grid-template-columns: 1fr; } }

#roiReset { text-transform: none; letter-spacing: 0; }

/* ---------- Platform pages ---------- */
.hero--page { padding-bottom: clamp(48px, 7vw, 96px); }
.hero--page .hero__copy { max-width: 820px; }
.hero--page .lead { max-width: 64ch; }
.how { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(32px, 4vw, 52px); counter-reset: none; }
.how li { position: relative; background: var(--dark-2); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--r-lg); padding: 24px; transition: border-color .3s, transform .35s var(--ease); }
.how li:hover { border-color: rgba(208, 0, 0, .55); transform: translateY(-4px); }
.how__n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--maroon); color: #fff; font-weight: 800; font-size: 1.1rem; margin-bottom: 20px; }
.how .mono { color: #FF9A8F; font-size: .72rem; margin-bottom: 6px; }
.how h3 { color: var(--dark-fg); font-size: 1.12rem; }
.how p:not(.mono) { color: var(--dark-muted); font-size: .93rem; line-height: 1.55; margin-top: 8px; }
.fits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(32px, 4vw, 52px); }
.fit { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.fit__tick { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--pink); color: var(--maroon); }
.fit__tick svg { width: 17px; height: 17px; }
.fit h3 { font-size: 1.08rem; }
.fit p { color: var(--muted); font-size: .93rem; line-height: 1.55; margin-top: 6px; }
.explore { display: flex; flex-direction: column; }
.explore .mono { color: var(--maroon); font-size: .7rem; margin-bottom: 14px; }
.explore__go { margin-top: auto; padding-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--maroon); }
.explore__go svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.explore:hover .explore__go svg { transform: translateX(4px); }
.cta__box--dark { background: radial-gradient(600px circle at 85% 0%, rgba(208, 0, 0, .28), transparent 60%), var(--dark); }
.cta__note { font-size: .86rem !important; opacity: .8; }
.drop--wide .drop__menu { min-width: 300px; }
@media (max-width: 1020px) { .how { grid-template-columns: 1fr 1fr; } .fits { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .how { grid-template-columns: 1fr; } }
/* Menu: never break a label onto two lines; tighten spacing on small laptops so everything fits on one row */
.nav a, .drop__btn { white-space: nowrap; }
@media (min-width: 1021px) and (max-width: 1240px) {
  .nav { gap: 0; }
  .nav a:not(.btn), .drop__btn { padding: 10px 8px; font-size: .82rem; }
  .nav a:not(.btn)::after { left: 8px; right: 8px; }
  .nav__cta { margin-left: 6px; padding-inline: 14px; }
}
/* Platform hero: features card on the right (sits over the red circle, like the chat demo on the AEO page) */
.pcard { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px 22px 22px; box-shadow: 0 40px 80px -30px rgba(28, 25, 28, .45); max-width: 440px; justify-self: end; width: 100%; }
.pcard__top { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: .9rem; }
.pcard__lbl { color: var(--maroon); font-size: .7rem; margin: 16px 0 10px; }
.pcard ul { list-style: none; display: grid; gap: 8px; }
.pcard li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; background: var(--alt); font-weight: 600; font-size: .92rem; }
.pcard li span { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--maroon); color: #fff; }
.pcard li span svg { width: 13px; height: 13px; }
@media (max-width: 1020px) { .pcard { justify-self: stretch; max-width: none; } }
/* Phone menu: small "Services" / "Platform" headings above each group, and the long menu scrolls */
@media (max-width: 1020px) {
  .nav { max-height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain; }
  .drop__btn { display: block; pointer-events: none; padding: 18px 4px 4px; font: 700 .68rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--maroon); }
  .drop__btn svg { display: none; }
  .drop + a:not(.btn) { margin-top: 10px; }
}
/* Footer: copyright on the left, "Services" and "Platform" link columns with small headings */
.footer { padding: clamp(32px, 4vw, 44px) 0; }
.footer__in { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 14px clamp(32px, 5vw, 72px); align-items: start; }
.footer__in > span:first-child { grid-column: 1; grid-row: 1; color: var(--dark-fg); }
.footer__in > span:last-child { grid-column: 1; grid-row: 2; }
.footer__links { flex-direction: column; gap: 9px; }
.footer__links::before { content: attr(aria-label); font: 700 .66rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #FF9A8F; margin-bottom: 3px; }
.footer__links[aria-label="Services"] { grid-column: 2; grid-row: 1 / span 2; }
.footer__links[aria-label="Platform"] { grid-column: 3; grid-row: 1 / span 2; display: grid; grid-template-columns: auto auto; gap: 9px 32px; align-content: start; }
.footer__links[aria-label="Platform"]::before { grid-column: 1 / -1; }
@media (max-width: 860px) {
  .footer__in { grid-template-columns: auto 1fr; gap: 26px 48px; }
  .footer__in > span:first-child { grid-column: 1 / -1; grid-row: 1; }
  .footer__links[aria-label="Services"] { grid-column: 1; grid-row: 2; }
  .footer__links[aria-label="Platform"] { grid-column: 2; grid-row: 2; }
  .footer__in > span:last-child { grid-column: 1 / -1; grid-row: 3; }
}
@media (max-width: 600px) {
  .footer__in { grid-template-columns: 1fr; gap: 26px; }
  .footer__links[aria-label="Services"], .footer__links[aria-label="Platform"] { grid-column: 1; grid-row: auto; }
  .footer__links[aria-label="Platform"] { grid-template-columns: 1fr; }
  .footer__in > span:first-child, .footer__in > span:last-child { grid-row: auto; }
}
.footer__links[aria-label="Platform"] { justify-content: start; }

/* ROI section: explanation on the left, calculator on the right (fills the full width) */
.roi-wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.roi-wrap .roi { max-width: none; margin: 0; }
.roi-intro h2 { max-width: 16ch; }
.roi-formula { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 26px; }
.roi-formula span { padding: 8px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .82rem; font-weight: 700; }
.roi-formula span.hot { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.roi-formula i { font-style: normal; font-weight: 800; color: var(--muted); }
.roi-points { list-style: none; display: grid; gap: 18px; margin: 28px 0 30px; }
.roi-points li { display: flex; gap: 14px; align-items: flex-start; }
.roi-points li > span { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--pink); color: var(--maroon); }
.roi-points li > span svg { width: 20px; height: 20px; }
.roi-points b { font-size: 1rem; }
.roi-points p { color: var(--muted); font-size: .92rem; line-height: 1.5; margin-top: 2px; }
@media (max-width: 1020px) {
  .roi-wrap { grid-template-columns: 1fr; }
  .roi-intro h2 { max-width: 22ch; }
}
/* Laptops and desktops: each calculator input on its own row (label left, box right) so numbers always fit */
@media (min-width: 1021px) {
  .roi-wrap .roi__inputs { grid-template-columns: 1fr; gap: 10px; }
  .roi-wrap .roi__in { grid-template-columns: minmax(0, 1fr) 160px; align-items: center; column-gap: 16px; row-gap: 2px; padding: 12px 15px; }
  .roi-wrap .roi__in b { grid-column: 1; grid-row: 1; }
  .roi-wrap .roi__in small { grid-column: 1; grid-row: 2; }
  .roi-wrap .roi__field { grid-column: 2; grid-row: 1 / span 2; }
}
.roi-formula { gap: 6px; } .roi-formula span { padding: 7px 10px; font-size: .78rem; }
.roi-formula span { white-space: nowrap; }
/* ROI layout: desktop = heading + points on the left, calculator on the right; phones = heading, calculator, then points */
@media (min-width: 1021px) {
  .roi-wrap { grid-template-rows: auto auto; row-gap: 0; }
  .roi-intro { grid-column: 1; grid-row: 1; align-self: end; }
  .roi-more { grid-column: 1; grid-row: 2; align-self: start; }
  .roi-wrap .roi { grid-column: 2; grid-row: 1 / span 2; }
}
@media (max-width: 1020px) {
  .roi-wrap { gap: 28px; }
  .roi-more .roi-points { margin-top: 0; }
}

/* Hero: 90-day guarantee stamp (round stamp + text, no box) */
.guarantee { display: flex; gap: 20px; align-items: center; margin-top: 28px; max-width: 62ch; }
.guarantee__stamp { flex: none; position: relative; width: 104px; height: 104px; color: var(--maroon); }
.guarantee__ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.guarantee__core { position: absolute; inset: 20px; border-radius: 50%; display: grid; place-content: center; text-align: center; color: #fff; background: radial-gradient(circle at 30% 25%, var(--red), var(--maroon) 70%); box-shadow: 0 10px 22px -8px rgba(149, 27, 19, .7); }
.guarantee__core b { font-size: 1.35rem; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.guarantee__core small { font: 700 .5rem var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.guarantee p { font-size: 1rem; line-height: 1.55; color: var(--muted); }
.guarantee__tag { display: block; font: 700 .66rem var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--maroon); margin-bottom: 6px; }
.guarantee strong { color: var(--fg); font-weight: 800; background: linear-gradient(transparent 62%, rgba(208, 0, 0, .16) 62%); }
@media (max-width: 600px) { .guarantee { gap: 14px; align-items: flex-start; } .guarantee__stamp { width: 88px; height: 88px; } .guarantee__core { inset: 17px; } .guarantee__core b { font-size: 1.15rem; } .guarantee p { font-size: .95rem; } }
/* "What we optimise": two even columns. AEO and GEO on top, the six boxes in pairs underneath, every edge lined up */
.layers { grid-template-columns: 1fr 1fr; }
.layer, .layer--hot, .layer--ink { grid-column: auto; }
.layer:not(.layer--hot):not(.layer--ink) { min-height: 0; }
@media (max-width: 600px) { .layers { grid-template-columns: 1fr; } }

/* ---------- Service pages: their own hero visuals ---------- */
/* AEO: Google AI Overview example */
.serp { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; box-shadow: 0 40px 80px -30px rgba(28, 25, 28, .45); max-width: 500px; justify-self: end; width: 100%; }
.serp__bar { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--alt); font-size: .9rem; font-weight: 600; }
.serp__bar > svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.serp__bar > span:first-of-type { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.serp__ov { margin-top: 14px; padding: 16px; border-radius: 14px; background: linear-gradient(135deg, #FFF6F5, #F7F3FF); border: 1px solid rgba(149, 27, 19, .14); }
.serp__lbl { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: .9rem; }
.serp__lbl svg { width: 18px; height: 18px; color: var(--maroon); }
.serp__ans { margin-top: 8px; font-size: .93rem; line-height: 1.55; color: var(--fg); }
.serp__ans mark { background: rgba(208, 0, 0, .14); color: var(--maroon); font-weight: 800; padding: 0 3px; border-radius: 4px; }
.serp__ans sup { font-size: .65rem; font-weight: 800; color: var(--maroon); }
.serp__src { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.serp__src span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .76rem; font-weight: 600; color: var(--muted); }
.serp__src span i { font-style: normal; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--alt); font-size: .66rem; font-weight: 800; }
.serp__src span.you { border-color: var(--maroon); color: var(--maroon); box-shadow: 0 0 0 3px rgba(149, 27, 19, .1); }
.serp__src span.you i { background: var(--maroon); color: #fff; }
.serp__paa-t { margin: 16px 0 6px; font-weight: 800; font-size: .88rem; }
.serp__paa { list-style: none; }
.serp__paa li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 2px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--muted); }
.serp__paa li svg { width: 16px; height: 16px; flex: none; }
.serp__flag { position: absolute; right: -10px; top: 74px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; background: var(--maroon); color: #fff; font-size: .74rem; font-weight: 800; box-shadow: 0 12px 26px -10px rgba(149, 27, 19, .8); }
.serp__flag svg { width: 14px; height: 14px; }

/* GEO: dark hero + "how AI describes your brand" panel */
.hero--dark { background: var(--dark); color: var(--dark-fg); }
.hero--dark .lead { color: var(--dark-muted); }
.hero--dark .hero__orb { opacity: .55; }
.hero--dark .marquee--tools { background: var(--dark-2); border-top-color: rgba(255, 255, 255, .1); }
.hero--dark .marquee__track span { color: var(--dark-fg); }
.hero--dark .marquee__label { color: var(--dark-muted); }
.perc { background: var(--surface); color: var(--fg); border-radius: var(--r-lg); padding: 18px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); max-width: 500px; justify-self: end; width: 100%; }
.perc__head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: .9rem; }
.perc__head .chat__tag { margin-left: auto; }
.perc__rows { display: grid; gap: 8px; margin-top: 14px; }
.perc__row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--alt); }
.perc__ico { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--tc); }
.perc__ico img { width: 60%; height: 60%; object-fit: contain; }
.perc__row > div { flex: 1; min-width: 0; }
.perc__row b { font-size: .86rem; }
.perc__row p { font-size: .8rem; line-height: 1.4; color: var(--muted); }
.perc__pill { flex: none; padding: 5px 10px; border-radius: 999px; font-size: .7rem; font-weight: 800; }
.perc__pill--yes { background: var(--maroon); color: #fff; }
.perc__pill--cite { background: var(--pink); color: var(--maroon); }
.perc__pill--mention { background: var(--surface); color: var(--muted); border: 1px solid var(--line); }
.perc__foot { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.perc__foot div { display: grid; }
.perc__foot span { font: 700 .62rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.perc__foot b { font-size: 1.3rem; font-weight: 800; color: var(--maroon); }
.perc__meter { display: block; height: 8px; border-radius: 8px; background: var(--alt); overflow: hidden; }
.perc__meter span { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, var(--red), var(--maroon)); }
@media (max-width: 1020px) { .serp, .perc { justify-self: stretch; max-width: none; } .serp__flag { right: 12px; top: auto; bottom: -14px; } }
@media (max-width: 600px) { .perc__row p { display: none; } .perc__foot { grid-template-columns: 1fr 1fr; } .perc__meter { grid-column: 1 / -1; grid-row: 2; } }
.hero--dark .accent { color: #FF6B5E; }   /* brighter red so it reads on the dark background */
.hero__grid > * { min-width: 0; }   /* long one-line text inside a hero card must never widen the page */
.hero--dark .eyebrow { color: #FF9A8F; }

/* ---------- About page ---------- */
.glance { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: 0 40px 80px -30px rgba(28, 25, 28, .45); max-width: 460px; justify-self: end; width: 100%; }
.glance__lbl { color: var(--maroon); margin-bottom: 8px; }
.glance dl div { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.glance dl div:first-child { border-top: 0; }
.glance dt { font: 700 .68rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.glance dd { font-weight: 700; font-size: .95rem; line-height: 1.45; }
.nums { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.nums > div { padding: clamp(20px, 3vw, 32px); display: grid; gap: 6px; border-left: 1px solid var(--line); }
.nums > div:first-child { border-left: 0; }
.nums b { font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.4rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; color: var(--maroon); }
.nums b small { font-size: .45em; letter-spacing: 0; }
.nums > div > span { color: var(--muted); font-weight: 600; font-size: .92rem; }
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.story .sub + .sub { margin-top: 12px; }
.timeline { list-style: none; position: relative; display: grid; gap: 14px; }
.timeline::before { content: ""; position: absolute; left: 31px; top: 12px; bottom: 12px; width: 2px; background: linear-gradient(var(--line), var(--maroon)); }
.timeline li { position: relative; display: flex; gap: 18px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.timeline li b { flex: none; width: 64px; height: 34px; margin-left: -6px; border-radius: 999px; display: grid; place-items: center; background: var(--alt); border: 1px solid var(--line); font-weight: 800; font-size: .9rem; position: relative; z-index: 1; }
.timeline li.now b { background: var(--maroon); color: #fff; border-color: var(--maroon); }
.timeline h3 { font-size: 1.05rem; }
.timeline p { color: var(--muted); font-size: .92rem; margin-top: 2px; }
.card .mono { color: var(--maroon); font-size: .66rem; margin-bottom: 6px; }
.founder { display: grid; grid-template-columns: minmax(220px, 320px) 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.founder__photo { margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); box-shadow: 0 40px 80px -30px rgba(28, 25, 28, .45); aspect-ratio: 220 / 349; }
.founder__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.founder__role { font: 700 .74rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--maroon); margin-top: 8px; }
.founder .sub + .sub { margin-top: 12px; }
.founder__quote { margin: 24px 0 0; padding: 18px 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--maroon); }
.founder__quote svg { width: 22px; height: 22px; color: var(--maroon); }
.founder__quote p { font-weight: 600; line-height: 1.5; margin-top: 6px; }
.founder__quote cite { display: block; margin-top: 8px; font-style: normal; font-size: .85rem; color: var(--muted); }
.flow { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: clamp(32px, 4vw, 52px); counter-reset: none; }
.flow li { position: relative; background: var(--dark-2); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--r-lg); padding: 20px; }
.flow li:not(:last-child)::after { content: ""; position: absolute; right: -9px; top: 50%; width: 6px; height: 6px; border-top: 2px solid #FF9A8F; border-right: 2px solid #FF9A8F; transform: translateY(-50%) rotate(45deg); z-index: 1; }
.flow .mono { color: #FF9A8F; font-size: .66rem; }
.flow h3 { color: var(--dark-fg); font-size: 1.15rem; margin-top: 12px; }
.flow p:not(.mono) { color: var(--dark-muted); font-size: .9rem; line-height: 1.5; margin-top: 6px; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(32px, 4vw, 52px); }
.review { margin: 0; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.review > svg { width: 26px; height: 26px; color: var(--maroon); }
.review blockquote { margin: 12px 0 20px; line-height: 1.6; color: var(--fg); }
.review figcaption { margin-top: auto; display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; align-items: center; }
.review figcaption span { grid-row: 1 / span 2; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--maroon); color: #fff; font-weight: 800; font-size: .8rem; }
.review figcaption small { color: var(--muted); }
@media (max-width: 1020px) {
  .glance { justify-self: stretch; max-width: none; }
  .story, .founder { grid-template-columns: 1fr; }
  .founder__photo { max-width: 300px; }
  .nums { grid-template-columns: 1fr 1fr; }
  .nums > div:nth-child(3) { border-left: 0; }
  .nums > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .flow { grid-template-columns: 1fr 1fr; }
  .flow li::after { display: none; }
  .reviews { grid-template-columns: 1fr; }
}
@media (max-width: 600px) { .flow { grid-template-columns: 1fr; } .glance dl div { grid-template-columns: 1fr; gap: 2px; } }

/* Footer: add the Company column */
.footer__in { grid-template-columns: minmax(0, 1fr) auto auto auto; }
.footer__links[aria-label="Company"] { grid-column: 4; grid-row: 1 / span 2; }
@media (max-width: 860px) {
  .footer__in { grid-template-columns: auto auto 1fr; }
  .footer__links[aria-label="Services"] { grid-column: 1; grid-row: 2; }
  .footer__links[aria-label="Company"] { grid-column: 2; grid-row: 2; }
  .footer__links[aria-label="Platform"] { grid-column: 1 / -1; grid-row: 3; }
  .footer__in > span:last-child { grid-row: 4; }
}
@media (max-width: 600px) {
  .footer__in { grid-template-columns: 1fr; }
  .footer__links[aria-label="Services"], .footer__links[aria-label="Company"], .footer__links[aria-label="Platform"] { grid-column: 1; grid-row: auto; }
  .footer__in > span:last-child { grid-row: auto; }
}
/* Header "coming soon" line inside the Industries and Resources dropdowns (until their pages arrive) */
.drop__soon { display: block; white-space: nowrap; padding: 10px 12px; font-size: .88rem; font-weight: 600; color: var(--muted); }
@media (max-width: 1020px) {
  .drop__soon { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .drop + .drop { margin-top: 0; }
}
/* Stand-alone pages (Case Studies, FAQ): first section starts below the fixed header; its heading is the page H1 */
.section--first { padding-top: clamp(40px, 6vw, 80px); }
.page__title { font-size: clamp(2.2rem, 1.4rem + 3.4vw, 3.6rem); }

/* ==========================================================================
   CASE STUDY PAGES (case-*.html) and the Case Studies list
   ========================================================================== */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .82rem; color: var(--muted); margin-bottom: 22px; }
.crumbs a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.crumbs a:hover { color: var(--maroon); }
.section--dark .crumbs, .hero--dark .crumbs { color: var(--dark-muted); }
.case__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 700; font-size: .9rem; color: var(--maroon); }
.case__more svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.case__more:hover svg { transform: translateX(4px); }

/* Hero */
.cs-hero { position: relative; margin: 8px 12px 0; border-radius: var(--r-lg); background: var(--dark); color: var(--dark-fg); overflow: hidden; padding: clamp(40px, 6vw, 84px) 0; isolation: isolate; }
.cs-hero::before { content: ""; position: absolute; z-index: -1; right: -180px; top: -220px; width: 680px; height: 680px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #B3261C, var(--maroon) 55%, transparent 72%); opacity: .55; animation: float 14s ease-in-out infinite; }
.cs-hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%); }
.cs-hero .eyebrow { color: #FF9A8F; }
.cs-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.cs-hero h1 { font-size: clamp(2.6rem, 1.4rem + 5vw, 4.8rem); line-height: 1; letter-spacing: -.045em; }
.cs-hero__cat { display: inline-block; margin-top: 18px; padding: 6px 12px; border-radius: 99px; border: 1px solid rgba(255,255,255,.18); font: 700 .7rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dark-muted); }
.cs-hero__out { margin-top: 26px; padding: 20px 22px; border-radius: var(--r); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-left: 4px solid #FF6B5E; }
.cs-hero__out .mono { color: #FF9A8F; margin-bottom: 6px; }
.cs-hero__out p:not(.mono) { font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); font-weight: 700; line-height: 1.45; }
.cs-hero .btns { margin-top: 28px; }
.cs-hero .btn--ghost { background: transparent; color: var(--dark-fg); border-color: rgba(255,255,255,.3); }
.cs-hero .btn--ghost:hover { border-color: #fff; }

/* Animated AI answer: the brand climbs from "not mentioned" to #1 */
.csx { background: var(--surface); color: var(--fg); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); max-width: 480px; width: 100%; justify-self: end; }
.csx__body { padding: 20px; display: grid; gap: 14px; }
.csx__state { display: flex; background: var(--alt); border-radius: 99px; padding: 4px; justify-self: start; }
.csx__state span { padding: 6px 14px; border-radius: 99px; font-size: .76rem; font-weight: 700; color: var(--muted); transition: background .4s, color .4s; }
.csx:not(.is-after) .csx__b, .csx.is-after .csx__a { background: var(--maroon); color: #fff; }
.csx__list { position: relative; height: calc(4 * 54px); list-style: none; }
.csx__list li { position: absolute; left: 0; right: 0; top: 0; height: 46px; display: flex; align-items: center; gap: 12px; padding: 0 14px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font-size: .9rem; font-weight: 600; color: #A9A3A4; transform: translateY(calc(var(--p) * 54px)); transition: transform .9s var(--ease), opacity .6s, background .5s, border-color .5s, color .5s; }
.csx__list li b { font: 700 .72rem var(--mono); width: 18px; color: var(--muted); }
.csx__list li i { margin-left: auto; font: 700 .58rem var(--mono); font-style: normal; text-transform: uppercase; letter-spacing: .1em; padding: 4px 8px; border-radius: 99px; background: #ECE9E8; color: var(--muted); transition: background .5s, color .5s; }
.csx__list li:nth-child(1) { --p: var(--p1, 0); } .csx__list li:nth-child(2) { --p: var(--p2, 1); } .csx__list li:nth-child(3) { --p: var(--p3, 2); }
.csx__list li.csx__you { --p: 3; border-style: dashed; background: transparent; opacity: .75; }
.csx__list li.csx__you .rank-after { display: none; }
.csx.is-after .csx__list { --p1: 1; --p2: 2; --p3: 3; }
.csx.is-after .csx__list li:nth-child(3) { opacity: 0; }
.csx.is-after .csx__list li.csx__you { --p: 0; border-style: solid; opacity: 1; background: var(--pink); border-color: var(--maroon); color: var(--maroon); font-weight: 800; box-shadow: 0 0 0 4px rgba(149,27,19,.08); }
.csx.is-after .csx__you i { background: var(--maroon); color: #fff; }
.csx.is-after .csx__you .rank-before, .csx:not(.is-after) .csx__you .rank-after { display: none; }
.csx.is-after .csx__you .rank-after { display: inline; }
.csx__flags { display: grid; }
.csx__flags p { grid-area: 1 / 1; transition: opacity .5s; }
.csx:not(.is-after) .shot__flag--yes, .csx.is-after .shot__flag--no { opacity: 0; }

/* Outcome tiles */
.cs-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cs-tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 2.4vw, 28px); box-shadow: var(--shadow); }
.cs-tile .mono { color: var(--muted); }
.cs-tile__big { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; margin: 10px 0 8px; }
.cs-tile p:last-child { color: var(--muted); font-size: .92rem; }
.cs-tile--no .cs-tile__big { color: #8F8A8B; text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: rgba(149,27,19,.5); }
.cs-tile--yes { background: var(--maroon); border-color: var(--maroon); color: #fff; box-shadow: 0 30px 60px -30px rgba(149,27,19,.7); }
.cs-tile--yes .mono, .cs-tile--yes p:last-child { color: #FFD6D1; }

/* Graph */
.cs-graph { margin-top: clamp(28px, 4vw, 44px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(18px, 3vw, 34px); box-shadow: var(--shadow); }
.cs-graph__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.cs-graph__top h3, .cs-more h2 { font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); }
.cs-graph svg { width: 100%; height: auto; display: block; overflow: visible; }
.cs-graph .grid line { stroke: var(--line); stroke-dasharray: 4 6; }
.cs-graph .ylab, .cs-graph .xlab { font: 700 11px var(--mono); letter-spacing: .06em; fill: var(--muted); text-transform: uppercase; }
.cs-graph .area { fill: url(#csArea); opacity: 0; transition: opacity 1s .9s; }
.cs-graph .line { fill: none; stroke: var(--maroon); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1000; stroke-dashoffset: 1000; transition: stroke-dashoffset 2.2s var(--ease) .2s; }
.cs-graph .dot { fill: var(--surface); stroke: var(--maroon); stroke-width: 3; opacity: 0; transition: opacity .4s; }
.cs-graph .dot--end { fill: var(--maroon); }
.cs-graph .pin { opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s var(--ease); }
.cs-graph .pin rect { fill: var(--fg); } .cs-graph .pin--end rect { fill: var(--maroon); }
.cs-graph .pin text { font: 700 12px var(--font); fill: #fff; }
.cs-graph.in .line { stroke-dashoffset: 0; }
.cs-graph.in .area { opacity: 1; }
.cs-graph.in .dot { opacity: 1; transition-delay: calc(.35s + var(--d, 0) * .32s); }
.cs-graph.in .pin { opacity: 1; transform: none; transition-delay: calc(.5s + var(--d, 0) * .32s); }
.cs-graph__note { margin-top: 12px; font-size: .8rem; color: var(--muted); }
.cs-graph--real { display: none; }

/* Before / after detail */
.cs-ba { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(14px, 2vw, 24px); align-items: stretch; }
.cs-ba__card { border-radius: var(--r-lg); padding: clamp(22px, 3vw, 36px); border: 1px solid var(--line); background: var(--surface); }
.cs-ba__card--after { background: var(--pink); border-color: rgba(149,27,19,.28); }
.cs-ba__card .mono { color: var(--muted); } .cs-ba__card--after .mono { color: var(--maroon); }
.cs-ba__card p:not(.mono) { margin-top: 12px; font-size: clamp(1.05rem, 1rem + .35vw, 1.2rem); font-weight: 600; line-height: 1.5; }
.cs-ba__arrow { align-self: center; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--maroon); color: #fff; box-shadow: 0 12px 26px -12px rgba(149,27,19,.8); }
.cs-ba__arrow svg { width: 22px; height: 22px; animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(4px); } }

/* ADP+ journey */
.cs-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; counter-reset: s; }
.cs-steps::before { content: ""; position: absolute; left: 32px; right: 32px; top: 32px; height: 2px; background: rgba(255,255,255,.14); }
.cs-steps li { position: relative; }
.cs-steps b { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--maroon); color: #fff; font-size: 1.4rem; font-weight: 800; letter-spacing: -.04em; position: relative; box-shadow: 0 14px 30px -14px rgba(208,0,0,.8); }
.cs-steps h3 { margin: 18px 0 8px; font: 700 .78rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #FF9A8F; }
.cs-steps p { color: var(--dark-muted); font-size: .94rem; line-height: 1.55; }

/* More case studies */
.cs-more { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.cs-more a { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .3s var(--ease), border-color .3s; }
.cs-more a:hover { transform: translateY(-4px); border-color: var(--maroon); }
.cs-more b { font-size: 1.3rem; letter-spacing: -.02em; }
.cs-more span { color: var(--muted); font-size: .92rem; }
.cs-more em { font-style: normal; font-weight: 700; color: var(--maroon); font-size: .9rem; margin-top: auto; }

@media (max-width: 1020px) {
  .cs-hero__grid { grid-template-columns: 1fr; }
  .csx { justify-self: stretch; max-width: none; }
  .cs-steps { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .cs-steps::before { display: none; }
}
@media (max-width: 760px) {
  .cs-tiles { grid-template-columns: 1fr; }
  .cs-ba { grid-template-columns: 1fr; }
  .cs-ba__arrow { justify-self: center; transform: rotate(90deg); }
  .cs-steps { grid-template-columns: 1fr; }
  .cs-hero { margin-inline: 8px; }
}

/* ==========================================================================
   FAQ PAGE (faq.html): searchable, every answer visible, AI-answer style
   ========================================================================== */
.fq-hero { position: relative; margin: 8px 12px 0; border-radius: var(--r-lg); background: var(--hero, var(--alt)); overflow: hidden; padding: clamp(40px, 6vw, 80px) 0; isolation: isolate; }
.fq-hero::before { content: ""; position: absolute; z-index: -1; right: -160px; top: -200px; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #B3261C, var(--maroon) 55%, var(--maroon-d)); animation: float 14s ease-in-out infinite; }
.fq-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.fq-hero h1 { font-size: clamp(2.4rem, 1.3rem + 4.4vw, 4.2rem); line-height: 1.02; letter-spacing: -.045em; }
.fq-search { margin-top: 28px; display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 6px 6px 6px 16px; box-shadow: var(--shadow); max-width: 520px; transition: border-color .2s, box-shadow .2s; }
.fq-search:focus-within { border-color: var(--maroon); box-shadow: 0 0 0 4px rgba(149,27,19,.12); }
.fq-search svg { width: 20px; height: 20px; color: var(--muted); flex: none; }
.fq-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 600 1rem var(--font); padding: 12px 0; color: var(--fg); }
.fq-search output { font: 700 .7rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 0 10px; white-space: nowrap; }
.fq-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.fq-chips button { border: 1px solid var(--line); background: var(--surface); padding: 8px 14px; border-radius: 99px; font-size: .82rem; font-weight: 700; color: var(--muted); transition: background .2s, color .2s, border-color .2s; }
.fq-chips button[aria-pressed="true"] { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.fq-ask { justify-self: end; max-width: 460px; width: 100%; }
.fq-ask .chat__body { min-height: 290px; }
.fq-ask .bubble--ai p { font-size: .9rem; }
.fq-ask .bubble--ai .fq-src { display: flex; align-items: center; gap: 8px; margin-top: 10px; font: 700 .62rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--maroon); }
.fq-ask .bubble--ai .fq-src i { width: 18px; height: 18px; border-radius: 6px; background: var(--maroon); display: grid; place-items: center; color: #fff; font-style: normal; font-size: .6rem; }

.fq-layout { display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.fq-index { position: sticky; top: calc(var(--header-h) + 16px); }
.fq-index .mono { color: var(--muted); margin-bottom: 12px; }
.fq-index ol { list-style: none; display: grid; gap: 2px; counter-reset: q; }
.fq-index a { display: grid; grid-template-columns: 28px 1fr; gap: 6px; padding: 9px 10px; border-radius: 10px; font-size: .88rem; font-weight: 600; line-height: 1.4; color: var(--muted); transition: background .2s, color .2s; counter-increment: q; }
.fq-index a::before { content: counter(q, decimal-leading-zero); font: 700 .7rem var(--mono); padding-top: 2px; }
.fq-index a:hover { background: var(--alt); color: var(--fg); }
.fq-index a.on { background: var(--pink); color: var(--maroon); }
.fq-index li.hide { display: none; }
.fq-list { display: grid; gap: 18px; counter-reset: qa; }
.fq-item { counter-increment: qa; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow); scroll-margin-top: calc(var(--header-h) + 20px); transition: border-color .3s, box-shadow .3s, transform .3s var(--ease); }
.fq-item:target, .fq-item.flash { border-color: var(--maroon); box-shadow: 0 0 0 4px rgba(149,27,19,.1), var(--shadow); }
.fq-item.hide { display: none; }
.fq-item__top { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.fq-item__n { font: 700 .72rem var(--mono); color: var(--maroon); }
.fq-item__n::before { content: counter(qa, decimal-leading-zero); }
.fq-item__tag { font: 700 .6rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); padding: 3px 8px; border-radius: 99px; }
.fq-copy { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; font-size: .78rem; font-weight: 700; color: var(--muted); padding: 6px 8px; border-radius: 8px; }
.fq-copy:hover { color: var(--maroon); background: var(--pink); }
.fq-copy svg { width: 15px; height: 15px; }
.fq-item h2 { max-width: none; font-size: clamp(1.2rem, 1.05rem + .7vw, 1.55rem); line-height: 1.3; letter-spacing: -.02em; }
.fq-ans { position: relative; margin-top: 16px; padding: 18px 20px 18px 56px; border-radius: 16px; border-top-left-radius: 4px; background: var(--alt); }
.fq-ans::before { content: "AI"; position: absolute; left: 16px; top: 18px; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--maroon); color: #fff; font: 700 .66rem var(--mono); }
.fq-ans p { font-size: 1.02rem; line-height: 1.7; }
.fq-ans mark { background: #FFE08A; color: inherit; border-radius: 3px; padding: 0 2px; }
.fq-empty { display: none; padding: 40px; text-align: center; border: 1px dashed var(--line); border-radius: var(--r-lg); color: var(--muted); }
.fq-empty.show { display: block; }
.fq-aeo { margin-top: 8px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.fq-aeo div { padding: 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.fq-aeo b { display: block; font-size: .95rem; margin-bottom: 4px; }
.fq-aeo span { font-size: .84rem; color: var(--muted); }
@media (max-width: 1020px) {
  .fq-hero__grid, .fq-layout { grid-template-columns: 1fr; }
  .fq-ask { justify-self: stretch; max-width: none; }
  .fq-index { position: static; }
  .fq-index ol { grid-template-columns: 1fr; }
}
@media (max-width: 760px) { .fq-hero { margin-inline: 8px; } .fq-aeo { grid-template-columns: 1fr; } .fq-ans { padding-left: 20px; padding-top: 54px; } }
@media (prefers-reduced-motion: reduce) { .csx__list li, .cs-graph .line { transition: none; } }

/* ---- Case study pages: full write-up (client text) ---- */
.cs-hero__sub { margin-top: 16px; font-size: clamp(1.05rem, 1rem + .5vw, 1.3rem); font-weight: 600; line-height: 1.45; color: var(--dark-fg); max-width: 34ch; }
.cs-meta { display: grid; gap: 10px; margin-top: 22px; }
.cs-meta div { display: grid; grid-template-columns: 92px 1fr; gap: 12px; align-items: baseline; font-size: .92rem; }
.cs-meta dt { font: 700 .66rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #FF9A8F; }
.cs-meta dd { color: var(--dark-fg); }
.cs-win { display: flex; align-items: center; gap: clamp(16px, 3vw, 32px); padding: clamp(22px, 3vw, 34px); border-radius: var(--r-lg); background: linear-gradient(120deg, var(--maroon), #B3261C); color: #fff; box-shadow: 0 30px 60px -30px rgba(149,27,19,.75); position: relative; overflow: hidden; }
.cs-win::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 30px solid rgba(255,255,255,.08); }
.cs-win__ico { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: rgba(255,255,255,.14); }
.cs-win__ico svg { width: 30px; height: 30px; }
.cs-win .mono { color: #FFD6D1; }
.cs-win h2 { max-width: none; font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2.2rem); margin-top: 6px; }
.cs-prose { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.cs-prose__txt { display: grid; gap: 16px; }
.cs-prose__txt p { font-size: 1.04rem; line-height: 1.75; color: #3A3638; }
.cs-step-h { display: flex; align-items: center; gap: 14px; }
.cs-step-h .n { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; font-weight: 800; font-size: 1.1rem; background: var(--alt); color: var(--muted); }
.cs-step-h--after .n { background: var(--maroon); color: #fff; }
.cs-block h2 { max-width: 28ch; font-size: clamp(1.6rem, 1.1rem + 2vw, 2.4rem); }
.cs-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 8px; }
.cs-list li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: grid; gap: 8px; align-content: start; }
.cs-list li span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; }
.cs-list li span svg { width: 18px; height: 18px; }
.cs-list b { font-size: 1rem; letter-spacing: -.01em; }
.cs-list p { font-size: .92rem; color: var(--muted); line-height: 1.55; }
.cs-list--no li span { background: #ECE9E8; color: var(--muted); }
.cs-list--yes li { border-color: rgba(149,27,19,.25); }
.cs-list--yes li span { background: var(--maroon); color: #fff; }
.cs-lead { display: grid; gap: 14px; margin: 22px 0 26px; max-width: 76ch; }
.cs-lead p { font-size: 1.04rem; line-height: 1.75; color: #3A3638; }
.cs-lbl { font: 700 .72rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--maroon); margin: 28px 0 12px; }
.cs-goal { margin-top: 22px; padding: 20px 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--maroon); font-weight: 600; line-height: 1.6; }
.cs-goal .mono { display: block; color: var(--maroon); margin-bottom: 6px; }
.cs-close { margin-top: 26px; display: grid; gap: 14px; padding: clamp(22px, 3vw, 32px); border-radius: var(--r-lg); background: var(--dark); color: var(--dark-fg); }
.cs-close p { line-height: 1.7; }
.cs-close p:first-child { font-size: 1.1rem; font-weight: 700; }
.cs-close p + p { color: var(--dark-muted); }

/* Real numbers (TUBATA): count-up + star rating */
.cs-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 26px; }
.cs-stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow); }
.cs-stat__n { font-size: clamp(3rem, 2rem + 4vw, 5rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; color: var(--maroon); font-variant-numeric: tabular-nums; }
.cs-stat .mono { color: var(--muted); margin-top: 10px; }
.cs-bar { margin-top: 16px; height: 10px; border-radius: 99px; background: var(--alt); overflow: hidden; }
.cs-bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--maroon), #D9473C); transition: width 1.6s var(--ease) .2s; }
.cs-stars { position: relative; display: inline-block; margin-top: 14px; font-size: 1.7rem; letter-spacing: 4px; line-height: 1; color: #E3E0DF; }
.cs-stars i { position: absolute; inset: 0; overflow: hidden; width: 0; color: #F2A900; font-style: normal; white-space: nowrap; transition: width 1.6s var(--ease) .3s; }
.cs-stats.in .cs-bar span { width: var(--w); }
.cs-stats.in .cs-stars i { width: var(--w); }

/* Google Maps style illustration (TUBATA) */
.csx__map { position: relative; height: 96px; border-radius: 12px; overflow: hidden; background: linear-gradient(135deg, #E8EFE6 0 30%, #F1EFEA 30% 55%, #E6ECF2 55%); }
.csx__map::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 47%, #fff 47% 51%, transparent 51%), linear-gradient(0deg, transparent 44%, #fff 44% 50%, transparent 50%), linear-gradient(30deg, transparent 62%, #fff 62% 65%, transparent 65%); }
.csx__map i { position: absolute; width: 14px; height: 14px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #9C9697; }
.csx__map i:nth-child(1) { left: 18%; top: 30%; } .csx__map i:nth-child(2) { left: 62%; top: 22%; } .csx__map i:nth-child(3) { left: 78%; top: 58%; }
.csx__map b { position: absolute; left: 40%; top: 46%; width: 22px; height: 22px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg) scale(0); background: var(--maroon); box-shadow: 0 6px 14px rgba(149,27,19,.5); transition: transform .6s var(--ease) .3s; }
.csx.is-after .csx__map b { transform: rotate(-45deg) scale(1); }

/* Case Studies list */
.cs-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: clamp(32px, 4vw, 52px); }
.cs-card { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.cs-card:hover { transform: translateY(-6px); border-color: var(--maroon); box-shadow: 0 30px 60px -30px rgba(26,23,26,.35); }
.cs-card__top { position: relative; padding: 26px 24px; background: var(--dark); color: #fff; overflow: hidden; min-height: 168px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.cs-card__top::after { content: ""; position: absolute; right: -70px; top: -70px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #B3261C, var(--maroon) 60%, transparent 72%); opacity: .7; transition: transform .6s var(--ease); }
.cs-card:hover .cs-card__top::after { transform: scale(1.25); }
.cs-card__top .mono { color: #FF9A8F; position: relative; z-index: 1; }
.cs-card__win { position: relative; z-index: 1; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.cs-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.cs-card__body h2 { font-size: 1.4rem; max-width: none; }
.cs-card__body p { color: var(--muted); font-size: .94rem; line-height: 1.55; }
.cs-card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.cs-card__tags span { font-size: .74rem; font-weight: 700; padding: 4px 10px; border-radius: 99px; background: var(--alt); color: var(--muted); }
.cs-card__go { margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--maroon); display: inline-flex; align-items: center; gap: 8px; }
.cs-card__go svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.cs-card:hover .cs-card__go svg { transform: translateX(4px); }
@media (max-width: 1020px) { .cs-prose { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .cs-stats { grid-template-columns: 1fr; } .cs-win { flex-direction: column; align-items: flex-start; } .cs-meta div { grid-template-columns: 1fr; gap: 2px; } }

/* ==========================================================================
   CASE STUDY · SCROLL STORY ("the transformation")
   The section pins to the screen and plays as the visitor scrolls (js/pages.js sets --p from 0 to 1).
   ========================================================================== */
.xf { position: relative; height: 320vh; background: var(--dark); color: var(--dark-fg); }
.xf__pin { position: sticky; top: 64px; height: calc(100vh - 64px); min-height: 560px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; isolation: isolate; }
.xf__pin::before { content: ""; position: absolute; z-index: -1; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 48px 48px; }
.xf__glow { position: absolute; z-index: -1; right: 8%; top: 50%; width: 720px; height: 720px; margin-top: -360px; border-radius: 50%; background: radial-gradient(circle, rgba(208,0,0,.55), transparent 62%); opacity: calc(.15 + var(--p) * .85); transform: scale(calc(.7 + var(--p) * .45)); }
.xf__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.xf .eyebrow { color: #FF9A8F; }
.xf__phase { display: grid; margin-top: 6px; }
.xf__phase span { grid-area: 1 / 1; font-size: clamp(2rem, 1.2rem + 3.2vw, 3.6rem); font-weight: 800; letter-spacing: -.045em; line-height: 1.02; transition: opacity .5s, transform .6s var(--ease), filter .5s; }
.xf__phase .after { color: #fff; opacity: 0; transform: translateY(24px); filter: blur(6px); }
.xf.is-done .xf__phase .before { opacity: 0; transform: translateY(-24px); filter: blur(6px); }
.xf.is-done .xf__phase .after { opacity: 1; transform: none; filter: none; }
.xf__phase .after em { font-style: normal; color: #FF6B5E; }
.xf__status { margin-top: 18px; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 99px; font-weight: 700; font-size: .95rem; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); transition: background .5s, border-color .5s; }
.xf__status i { width: 10px; height: 10px; border-radius: 50%; background: #8F8A8B; transition: background .5s, box-shadow .5s; }
.xf.is-done .xf__status { background: rgba(30,138,76,.18); border-color: rgba(76,201,128,.45); }
.xf.is-done .xf__status i { background: #4CC980; box-shadow: 0 0 0 6px rgba(76,201,128,.2); }
.xf__rail { list-style: none; position: relative; display: grid; gap: 4px; margin-top: 30px; padding-left: 26px; }
.xf__rail::before, .xf__rail::after { content: ""; position: absolute; left: 6px; top: 10px; bottom: 10px; width: 2px; border-radius: 2px; background: rgba(255,255,255,.12); }
.xf__rail::after { background: linear-gradient(#FF6B5E, var(--red)); bottom: auto; height: calc((100% - 20px) * var(--p)); }
.xf__rail li { position: relative; padding: 8px 0; color: var(--dark-muted); opacity: .5; transition: opacity .4s, color .4s; }
.xf__rail li::before { content: ""; position: absolute; left: -25px; top: 15px; width: 12px; height: 12px; border-radius: 50%; background: var(--dark); border: 2px solid rgba(255,255,255,.25); transition: background .4s, border-color .4s, transform .4s var(--ease); }
.xf__rail li b { font-weight: 800; margin-right: 10px; color: #fff; }
.xf__rail li span { font: 700 .72rem var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.xf__rail li.on { opacity: 1; color: #fff; }
.xf__rail li.on::before { background: var(--red); border-color: #FF6B5E; transform: scale(1.25); }
.xf__hint { margin-top: 26px; display: inline-flex; align-items: center; gap: 10px; font: 700 .7rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dark-muted); transition: opacity .4s; }
.xf__hint i { width: 18px; height: 28px; border: 2px solid currentColor; border-radius: 10px; position: relative; }
.xf__hint i::after { content: ""; position: absolute; left: 50%; top: 5px; width: 3px; height: 6px; margin-left: -1.5px; border-radius: 2px; background: currentColor; animation: wheel 1.6s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(9px); } }
.xf.is-moving .xf__hint { opacity: 0; }

/* The AI answer card */
.xf__card { position: relative; background: var(--surface); color: var(--fg); border-radius: var(--r-lg); box-shadow: 0 50px 100px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.06); overflow: visible; max-width: 600px; width: 100%; justify-self: end; transform: perspective(1200px) rotateY(calc((1 - var(--p)) * -8deg)) rotateX(calc((1 - var(--p)) * 4deg)); transition: transform .2s linear; }
.xf__card .chat__bar { border-radius: var(--r-lg) var(--r-lg) 0 0; }
.xf__body { padding: clamp(18px, 2.4vw, 26px); display: grid; gap: 16px; }
.xf__q { justify-self: end; background: var(--fg); color: #fff; padding: 11px 16px; border-radius: 16px 16px 4px 16px; font-size: .95rem; max-width: 92%; }
.xf__intro { color: var(--muted); font-size: .88rem; }
.xf__rows { position: relative; height: calc(4 * 66px); list-style: none; }
.xf__rows li { position: absolute; left: 0; right: 0; top: 0; height: 56px; display: flex; align-items: center; gap: 14px; padding: 0 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; color: #A9A3A4; transform: translateY(calc(var(--y, 0) * 66px)); will-change: transform; }
.xf__rows li b { width: 26px; font: 700 .8rem var(--mono); color: var(--muted); }
.xf__rows li small { margin-left: auto; font: 700 .6rem var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 5px 9px; border-radius: 99px; background: #ECE9E8; color: var(--muted); }
.xf__rows .you { z-index: 2; color: var(--fg); border-style: dashed; border-color: #CFC9C8; background: #FAFAF9; overflow: hidden; }
.xf__rows .you::before { content: ""; position: absolute; inset: 0; background: var(--pink); opacity: var(--e, 0); z-index: -1; }
.xf__rows .you { box-shadow: 0 calc(var(--e, 0) * 18px) calc(var(--e, 0) * 40px) -12px rgba(149,27,19,.45); }
.xf__rows .you .tag-done { display: none; }
.xf.is-done .xf__rows .you { border-style: solid; border-color: var(--maroon); color: var(--maroon); }
.xf.is-done .xf__rows .you small { background: var(--maroon); color: #fff; }
.xf.is-done .xf__rows .you .tag-done { display: inline; }
.xf.is-done .xf__rows .you .tag-before { display: none; }
/* Climbing arrow trail beside the brand */
.xf__trail { position: absolute; right: -22px; top: 0; bottom: 0; width: 6px; border-radius: 6px; background: rgba(149,27,19,.12); }
.xf__trail span { position: absolute; left: 0; right: 0; bottom: 0; border-radius: inherit; background: linear-gradient(var(--red), var(--maroon)); height: calc(var(--e, 0) * 100%); }
/* #1 stamp + burst */
.xf__stamp { position: absolute; z-index: 5; right: -34px; top: -34px; width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; text-align: center; background: var(--red); color: #fff; font-weight: 800; line-height: 1; box-shadow: 0 16px 36px -10px rgba(208,0,0,.8), 0 0 0 6px rgba(255,255,255,.9); transform: scale(0) rotate(-30deg); transition: transform .6s cubic-bezier(.3,1.6,.5,1); }
.xf__stamp b { display: block; font-size: 1.9rem; letter-spacing: -.04em; }
.xf__stamp small { display: block; font: 700 .52rem var(--mono); letter-spacing: .1em; text-transform: uppercase; margin-top: 3px; }
.xf.is-done .xf__stamp { transform: scale(1) rotate(-8deg); }
.xf__burst { position: absolute; z-index: 4; left: 50%; top: 150px; width: 0; height: 0; pointer-events: none; }
.xf__burst i { position: absolute; width: 8px; height: 8px; border-radius: 2px; background: var(--c, var(--red)); opacity: 0; }
.xf.is-done .xf__burst i { animation: burst 1s var(--ease) forwards; }
.xf__burst i:nth-child(1) { --dx: -220px; --dy: -70px; --c: #F2A900; } .xf__burst i:nth-child(2) { --dx: 210px; --dy: -90px; }
.xf__burst i:nth-child(3) { --dx: -160px; --dy: 60px; --c: #951B13; } .xf__burst i:nth-child(4) { --dx: 240px; --dy: 40px; --c: #F2A900; }
.xf__burst i:nth-child(5) { --dx: -40px; --dy: -120px; --c: #4CC980; } .xf__burst i:nth-child(6) { --dx: 90px; --dy: -130px; }
.xf__burst i:nth-child(7) { --dx: -260px; --dy: -10px; --c: #4CC980; } .xf__burst i:nth-child(8) { --dx: 280px; --dy: -20px; --c: #951B13; }
@keyframes burst { 0% { opacity: 1; transform: translate(0,0) rotate(0) scale(.6); } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(260deg) scale(1.2); } }
.xf__ring { position: absolute; z-index: 1; left: -6px; right: -6px; top: -6px; height: 68px; border-radius: 16px; border: 2px solid var(--red); opacity: 0; pointer-events: none; }
.xf.is-done .xf__ring { animation: ring 1.4s var(--ease) .1s 2; }
@keyframes ring { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.08, 1.5); } }
/* Map (TUBATA) and counters */
.xf__map { position: relative; height: 110px; border-radius: 14px; overflow: hidden; background: linear-gradient(135deg, #E8EFE6 0 30%, #F1EFEA 30% 55%, #E6ECF2 55%); }
.xf__map::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 47%, #fff 47% 51%, transparent 51%), linear-gradient(0deg, transparent 44%, #fff 44% 50%, transparent 50%), linear-gradient(30deg, transparent 62%, #fff 62% 65%, transparent 65%); }
.xf__map i { position: absolute; width: 14px; height: 14px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #9C9697; }
.xf__map i:nth-child(1) { left: 16%; top: 30%; } .xf__map i:nth-child(2) { left: 64%; top: 20%; } .xf__map i:nth-child(3) { left: 80%; top: 60%; }
.xf__map b { position: absolute; left: 42%; top: 40%; width: 26px; height: 26px; border-radius: 50% 50% 50% 0; background: var(--maroon); box-shadow: 0 8px 18px rgba(149,27,19,.55); transform: translateY(calc((1 - var(--e, 0)) * -90px)) rotate(-45deg) scale(calc(.4 + var(--e, 0) * .6)); opacity: var(--e, 0); }
.xf__map b::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: #fff; }
.xf__nums { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.xf__nums div { padding: 14px 16px; border-radius: 12px; background: var(--alt); }
.xf__nums strong { display: block; font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.5rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--maroon); font-variant-numeric: tabular-nums; }
.xf__nums span { font: 700 .62rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.xf__stars { position: relative; display: inline-block; font-size: 1.05rem; letter-spacing: 2px; color: #DDD8D7; margin-top: 4px; }
.xf__stars i { position: absolute; inset: 0; overflow: hidden; white-space: nowrap; font-style: normal; color: #F2A900; width: calc(var(--e, 0) * 88%); }
.xf__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255,255,255,.08); }
.xf__bar span { display: block; height: 100%; width: calc(var(--p) * 100%); background: linear-gradient(90deg, var(--maroon), #FF6B5E); }
/* Hero result card (replaces the small loop on the case pages) */
.cs-result { position: relative; justify-self: end; width: 100%; max-width: 460px; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-lg); background: var(--surface); color: var(--fg); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); overflow: hidden; }
.cs-result::before { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: var(--pink); }
.cs-result .mono { position: relative; color: var(--maroon); }
.cs-result__win { position: relative; margin-top: 12px; font-size: clamp(1.7rem, 1.2rem + 2vw, 2.5rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.08; }
.cs-result p:not(.mono) { position: relative; margin-top: 14px; color: var(--muted); line-height: 1.6; }
.cs-result a { position: relative; display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; font-weight: 800; color: var(--maroon); }
.cs-result a svg { width: 18px; height: 18px; transform: rotate(90deg); animation: drop 1.6s ease-in-out infinite; }
@keyframes drop { 50% { transform: rotate(90deg) translateX(5px); } }
@media (max-width: 1020px) {
  .xf { height: 280vh; }
  .xf__grid { grid-template-columns: 1fr; gap: 18px; }
  .xf__side .xf__rail, .xf__hint { display: none; }
  .xf__card { justify-self: stretch; max-width: none; transform: none; }
  .xf__stamp { right: -8px; top: -26px; width: 74px; height: 74px; }
  .xf__stamp b { font-size: 1.5rem; }
  .xf__trail { display: none; }
  .xf__phase span { font-size: clamp(1.7rem, 1.2rem + 3vw, 2.4rem); }
  .xf__rows { height: calc(4 * 58px); }
  .xf__rows li { height: 50px; transform: translateY(calc(var(--y, 0) * 58px)); font-size: .9rem; }
  .xf__map { height: 80px; }
  .cs-result { justify-self: stretch; max-width: none; }
}
@media (prefers-reduced-motion: reduce) { .xf { height: auto; } .xf__pin { position: relative; top: 0; height: auto; padding: 80px 0; } }
.xf__rows .you b::before { content: "–"; } .xf.is-done .xf__rows .you b::before { content: "1"; } .xf.is-done .xf__rows .you b { color: var(--maroon); }
@media (min-width: 1021px) and (max-height: 860px) {
  .xf__body { gap: 12px; padding: 16px 20px; }
  .xf__rows { height: calc(4 * 54px); }
  .xf__rows li { height: 46px; transform: translateY(calc(var(--y, 0) * 54px)); }
  .xf__map { height: 72px; }
  .xf__nums div { padding: 10px 14px; }
  .xf__nums strong { font-size: 1.8rem; }
}

/* ---- Case pages: challenge / outcome cards with real icons ---- */
.cs-list li { position: relative; overflow: hidden; padding: 22px; gap: 10px; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.cs-list li:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -26px rgba(26,23,26,.35); }
.cs-list__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.cs-ico { position: relative; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; }
.cs-ico > svg { width: 28px; height: 28px; }
.cs-ico em { position: absolute; right: -5px; bottom: -5px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--surface); }
.cs-ico em svg { width: 11px; height: 11px; color: #fff; }
.cs-list--no .cs-ico { background: linear-gradient(145deg, #F4F1F0, #E7E2E1); color: #6E6869; box-shadow: inset 0 1px 0 #fff; }
.cs-list--no .cs-ico em { background: #B3261C; }
.cs-list--no li:hover { border-color: #D9C9C7; }
.cs-list--yes .cs-ico { background: linear-gradient(145deg, #B3261C, var(--maroon)); color: #fff; box-shadow: 0 12px 24px -12px rgba(149,27,19,.8), inset 0 1px 0 rgba(255,255,255,.25); }
.cs-list--yes .cs-ico em { background: #1E8A4C; }
.cs-list--yes li::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(149,27,19,.09), transparent 70%); }
.cs-list--yes li:hover { border-color: var(--maroon); }
.cs-logos { display: flex; }
.cs-logos img { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--dark); border: 2px solid var(--surface); margin-left: -8px; box-shadow: 0 4px 10px -4px rgba(0,0,0,.4); }
.cs-logos img:nth-child(2) { background: #4285F4; } .cs-logos img:nth-child(3) { background: #20808D; } .cs-logos img:first-child { background: #10A37F; }

/* ---- Interactive ADP+ (case pages) ---- */
.adpx { position: relative; margin-top: 8px; }
.adpx__line { position: absolute; left: 0; right: 0; top: 46px; height: 2px; background: rgba(255,255,255,.1); border-radius: 2px; }
.adpx__line span { display: block; height: 100%; width: calc(var(--k, 0) * 100%); background: linear-gradient(90deg, #FF6B5E, var(--red)); box-shadow: 0 0 14px rgba(255,80,60,.7); border-radius: inherit; }
.adpx__list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.adpx__card { --mx: 50%; --my: 0%; position: relative; padding: 22px 22px 26px; border-radius: 20px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.08); overflow: hidden; cursor: default; outline: 0; transition: transform .5s var(--ease), background .5s, border-color .5s, box-shadow .5s, opacity .5s; opacity: .55; }
.adpx__card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(260px circle at var(--mx) var(--my), rgba(255,90,70,.16), transparent 60%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.adpx__card:hover::before, .adpx__card.cur::before { opacity: 1; }
.adpx__card.on { opacity: 1; }
.adpx__card.cur { transform: translateY(-10px); background: linear-gradient(160deg, rgba(149,27,19,.5), rgba(255,255,255,.04) 70%); border-color: rgba(255,107,94,.45); box-shadow: 0 30px 60px -30px rgba(208,0,0,.6); }
.adpx__num { position: absolute; right: 14px; top: 4px; font-size: 4.6rem; font-weight: 800; letter-spacing: -.06em; color: rgba(255,255,255,.05); line-height: 1; transition: color .5s; }
.adpx__card.cur .adpx__num { color: rgba(255,255,255,.12); }
.adpx__top { display: flex; align-items: center; gap: 10px; position: relative; }
.adpx__badge { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; background: #2A2528; border: 1px solid rgba(255,255,255,.12); color: var(--dark-muted); font-size: 1.15rem; font-weight: 800; letter-spacing: -.04em; transition: background .5s, color .5s, box-shadow .5s, transform .5s var(--ease); }
.adpx__card.on .adpx__badge { background: var(--maroon); color: #fff; border-color: transparent; box-shadow: 0 12px 26px -10px rgba(208,0,0,.9); }
.adpx__card.cur .adpx__badge { transform: scale(1.08) rotate(-4deg); background: var(--red); }
.adpx__ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.06); color: #FF9A8F; }
.adpx__ico svg { width: 20px; height: 20px; }
.adpx__card h3 { position: relative; margin: 20px 0 10px; font: 700 .76rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #FF9A8F; min-height: 2.6em; }
.adpx__card p { position: relative; color: var(--dark-muted); font-size: .93rem; line-height: 1.6; transition: color .5s; }
.adpx__card.cur p { color: var(--dark-fg); }
.adpx__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.06); }
.adpx__bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--maroon), #FF6B5E); transition: width .8s var(--ease); }
.adpx__card.on .adpx__bar span { width: 100%; }
@media (max-width: 1020px) { .adpx__list { grid-template-columns: 1fr 1fr; } .adpx__line { display: none; } }
@media (max-width: 600px) { .adpx__list { grid-template-columns: 1fr; } .adpx__card { opacity: 1; } }

/* ---- Brand logo: cropped mark, bigger, with soft shadow and highlight ---- */
.logo { position: relative; display: inline-grid; place-items: center; padding: 7px 12px; border-radius: 16px; background: linear-gradient(180deg, #FFFFFF, #F7F5F4); box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 0 0 1px rgba(26,23,26,.06), 0 10px 24px -12px rgba(149,27,19,.35), 0 2px 6px -2px rgba(26,23,26,.12); transition: transform .35s var(--ease), box-shadow .35s; }
.logo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.75) 48%, transparent 62%); background-size: 250% 100%; background-position: 120% 0; pointer-events: none; transition: background-position .9s var(--ease); }
.logo:hover { transform: translateY(-1px); box-shadow: 0 1px 0 #fff inset, 0 0 0 1px rgba(149,27,19,.15), 0 16px 32px -12px rgba(149,27,19,.5), 0 2px 6px -2px rgba(26,23,26,.12); }
.logo:hover::after { background-position: -40% 0; }
.logo img, .header .logo img { width: auto; height: 54px; filter: drop-shadow(0 1px 1px rgba(26,23,26,.15)); }
.header.scrolled .logo img { width: auto; height: 42px; }
.header.scrolled .logo { padding: 5px 10px; }
@media (max-width: 1020px) { .logo img, .header .logo img { width: auto; height: 46px; } }

/* ==========================================================================
   HOME PAGE RHYTHM: highlighted Proof of Work, red section, CTA strips
   ========================================================================== */
/* Proof of work spotlight */
.section--spot { overflow: hidden; isolation: isolate; }
.section--spot::before { content: ""; position: absolute; z-index: -1; left: 50%; top: -260px; width: 1100px; height: 700px; margin-left: -550px; background: radial-gradient(ellipse at center, rgba(208,0,0,.35), transparent 62%); }
.section--spot::after { content: ""; position: absolute; z-index: -1; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent); }
.section--spot h2 { color: #fff; }
.spot__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.spot__head .sub { margin-top: 16px; }
.section--spot .case { background: #fff; color: var(--fg); border-color: transparent; box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); transition: transform .45s var(--ease), box-shadow .45s; }
.section--spot .case:hover { transform: translateY(-8px); box-shadow: 0 50px 90px -40px rgba(208,0,0,.55); }
.section--spot .case__txt dd { color: var(--fg); }
.spot__more { margin-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 22px; border-radius: var(--r); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.spot__more p { color: var(--dark-muted); } .spot__more b { color: #fff; }
.spot__more a { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: #FF9A8F; }
.spot__more a svg { width: 16px; height: 16px; }

/* Red section (Why Red Realm) */
.section--red { background: linear-gradient(135deg, #7C140E, var(--maroon) 45%, #B3261C); color: #fff; overflow: hidden; isolation: isolate; }
.section--red::before { content: ""; position: absolute; z-index: -1; right: -200px; top: -200px; width: 640px; height: 640px; border-radius: 50%; border: 80px solid rgba(255,255,255,.05); }
.section--red .eyebrow { color: #FFD6D1; } .section--red .eyebrow::before { background: #fff; }
.section--red h2 { color: #fff; }
.section--red .why__text { color: #FFE3E0; } .section--red .why__text b { color: #fff; }
.section--red .why__facts li { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.18); color: #FFE3E0; backdrop-filter: blur(6px); }
.section--red .why__facts b { color: #fff; }
.section--red .why__facts li.why__hot { background: #fff; color: var(--fg); } .section--red .why__facts li.why__hot b { color: var(--maroon); }
/* CTA strips between sections */
.ctab { padding: clamp(18px, 3vw, 28px) 0; }
.ctab__in { display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap; padding: clamp(20px, 3vw, 30px) clamp(20px, 3.4vw, 40px); border-radius: var(--r-lg); position: relative; overflow: hidden; }
.ctab__txt { display: grid; gap: 4px; }
.ctab__k { font: 700 .7rem var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.ctab__txt p { font-size: clamp(1.1rem, 1rem + .7vw, 1.5rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.25; max-width: 40ch; }
.ctab__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.ctab--light .ctab__in { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.ctab--light .ctab__in::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(var(--red), var(--maroon)); }
.ctab--light .ctab__k { color: var(--maroon); }
.ctab--red .ctab__in { background: linear-gradient(120deg, var(--maroon), #B3261C); color: #fff; box-shadow: 0 30px 60px -30px rgba(149,27,19,.8); }
.ctab--red .ctab__in::after { content: ""; position: absolute; right: -60px; top: -80px; width: 240px; height: 240px; border-radius: 50%; border: 40px solid rgba(255,255,255,.07); }
.ctab--red .ctab__k { color: #FFD6D1; }
.ctab--red .btn--ghost, .ctab--dark .btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.ctab--red .btn--ghost:hover, .ctab--dark .btn--ghost:hover { border-color: #fff; }
.ctab--dark .ctab__in { background: var(--dark); color: #fff; }
.ctab--dark .ctab__k { color: #FF9A8F; }
.ctab .btn { position: relative; z-index: 1; }
.section--alt + .ctab, .ctab:has(+ .section--alt) { background: var(--alt); }
.section--red .why__facts span { color: #FFE3E0; }
.section--red .why__facts li.why__hot span { color: var(--muted); }
.section--red .why__facts b svg { color: #fff; }
.cs-list li .cs-ico { width: 54px; height: 54px; border-radius: 16px; }
.cs-list li .cs-logos { display: flex; width: auto; height: auto; border-radius: 0; background: none; padding-left: 8px; }
.cs-list--no li .cs-ico { background: linear-gradient(145deg, #F4F1F0, #E7E2E1); color: #6E6869; }
.cs-list--yes li .cs-ico { background: linear-gradient(145deg, #B3261C, var(--maroon)); color: #fff; }

/* ==========================================================================
   WHO GETS THE CUSTOMER? (home, #street) — animated store street
   ========================================================================== */
.section--street { background: linear-gradient(180deg, #FFFFFF, #F3F1F0); overflow: hidden; }
.st-head { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(24px, 4vw, 60px); align-items: end; }
.st-head h2 { max-width: 22ch; }
.st-pct { color: var(--maroon); display: inline-block; background: var(--pink); padding: 0 .18em; border-radius: .2em; margin-right: .08em; }
.st-trend { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px 22px; box-shadow: var(--shadow); }
.st-trend .mono { color: var(--muted); font-size: .64rem; line-height: 1.5; }
.st-trend__bars { display: flex; align-items: flex-end; gap: 18px; height: 130px; margin: 14px 0 10px; padding-bottom: 22px; position: relative; border-bottom: 1px solid var(--line); }
.st-trend__bars div { position: relative; flex: 1; height: 0; background: #DCD7D6; border-radius: 10px 10px 4px 4px; transition: height 1.4s var(--ease) .2s; }
.st-trend.in .st-trend__bars div { height: var(--h); }
.st-trend__bars .hot { background: linear-gradient(180deg, #D9473C, var(--maroon)); box-shadow: 0 14px 30px -14px rgba(149,27,19,.8); }
.st-trend__bars b { position: absolute; left: 0; right: 0; top: -26px; text-align: center; font-weight: 800; font-size: 1.05rem; letter-spacing: -.02em; }
.st-trend__bars .hot b { color: var(--maroon); font-size: 1.4rem; top: -32px; }
.st-trend__bars span { position: absolute; left: 0; right: 0; bottom: -24px; text-align: center; font: 700 .7rem var(--mono); color: var(--muted); }
.st-trend figcaption { font-size: .72rem; color: var(--muted); line-height: 1.4; }

.st-switch { display: inline-flex; margin: clamp(28px, 4vw, 44px) 0 16px; padding: 5px; border-radius: 99px; background: var(--dark); box-shadow: 0 14px 30px -16px rgba(26,23,26,.6); }
.st-switch button { border: 0; background: none; color: var(--dark-muted); padding: 11px 20px; border-radius: 99px; font-weight: 700; font-size: .9rem; transition: background .35s, color .35s; }
.st-switch button em { font-style: normal; font-weight: 600; opacity: .8; }
.st-switch button[aria-pressed="true"] { background: #fff; color: var(--fg); }
.st-switch button[data-mode="after"][aria-pressed="true"] { background: var(--maroon); color: #fff; }

.st-scene { --door: 50%; --exit: 10%; --store-h: 230px; position: relative; height: 430px; border-radius: var(--r-lg); overflow: hidden; background: radial-gradient(ellipse at 50% 0%, #FFFFFF, #ECE9E8 70%); border: 1px solid var(--line); box-shadow: 0 30px 60px -36px rgba(26,23,26,.45); isolation: isolate; }
.st-scene::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-conic-gradient(from 0deg at 50% 120%, rgba(26,23,26,.035) 0 4deg, transparent 4deg 9deg); }
.st-tag { position: absolute; right: 14px; top: 14px; font: 700 .6rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); background: rgba(255,255,255,.8); padding: 3px 8px; border-radius: 99px; }
.st-street { position: absolute; left: 4%; right: 4%; bottom: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 2.4vw, 30px); align-items: end; }
.st-store { position: relative; height: var(--store-h); display: flex; flex-direction: column; filter: grayscale(1); opacity: .9; transition: filter .8s, opacity .8s, transform .8s var(--ease); }
.st-sign { align-self: center; position: relative; z-index: 2; margin-bottom: -2px; padding: 6px 14px; border-radius: 8px 8px 0 0; background: #6E6869; color: #fff; font-weight: 800; font-size: clamp(.68rem, .6rem + .4vw, .9rem); letter-spacing: -.01em; white-space: nowrap; box-shadow: 0 -2px 0 rgba(255,255,255,.4) inset; }
.st-awning { height: 30px; border-radius: 6px 6px 0 0; background: repeating-linear-gradient(90deg, #8F8A8B 0 18px, #F3F1F0 18px 36px); box-shadow: 0 8px 12px -8px rgba(0,0,0,.4); position: relative; z-index: 1; clip-path: polygon(0 0, 100% 0, 100% 70%, 95% 100%, 90% 70%, 85% 100%, 80% 70%, 75% 100%, 70% 70%, 65% 100%, 60% 70%, 55% 100%, 50% 70%, 45% 100%, 40% 70%, 35% 100%, 30% 70%, 25% 100%, 20% 70%, 15% 100%, 10% 70%, 5% 100%, 0 70%); }
.st-front { flex: 1; display: grid; grid-template-columns: 1fr .8fr 1fr; gap: 8%; align-items: end; padding: 12% 8% 0; background: linear-gradient(180deg, #D9D5D4, #C9C4C3); border: 1px solid #BDB7B6; border-bottom: 0; }
.st-win { height: 58%; border-radius: 4px; background: linear-gradient(160deg, #F7F6F5, #DDD9D8); border: 3px solid #A9A3A4; position: relative; overflow: hidden; }
.st-win::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 40%, rgba(255,255,255,.8) 50%, transparent 60%); }
.st-door { height: 78%; border-radius: 6px 6px 0 0; background: #55504F; position: relative; overflow: hidden; }
.st-door i { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 100%, #FFD36E, transparent 70%); opacity: 0; transition: opacity .6s; }
.st-tags { position: absolute; left: 50%; top: -96px; transform: translateX(-50%); list-style: none; display: grid; gap: 5px; justify-items: center; pointer-events: none; }
.st-tags li { padding: 5px 10px; border-radius: 99px; background: #fff; color: var(--maroon); font-size: .7rem; font-weight: 800; white-space: nowrap; box-shadow: 0 8px 18px -10px rgba(149,27,19,.7); opacity: 0; transform: translateY(10px) scale(.9); transition: opacity .4s, transform .5s cubic-bezier(.3,1.5,.5,1); }
/* the store AI names: red */
.st-store.is-hot { filter: none; opacity: 1; transform: translateY(-4px); }
.st-store.is-hot .st-sign { background: var(--red); box-shadow: 0 10px 24px -8px rgba(208,0,0,.7); }
.st-store.is-hot .st-awning { background: repeating-linear-gradient(90deg, var(--maroon) 0 18px, #fff 18px 36px); }
.st-store.is-hot .st-front { background: linear-gradient(180deg, #FFF3F1, #F6DCD8); border-color: #E3B7B1; }
.st-store.is-hot .st-door { background: #7C140E; }
.st-store.is-hot .st-door i { opacity: 1; animation: doorGlow 1.6s ease-in-out infinite; }
.st-store.is-hot .st-win { border-color: var(--maroon); }
.st-store.is-hot .st-tags li { opacity: 1; transform: none; }
.st-store.is-hot .st-tags li:nth-child(2) { transition-delay: .15s; } .st-store.is-hot .st-tags li:nth-child(3) { transition-delay: .3s; }
@keyframes doorGlow { 50% { opacity: .55; } }
.st-store.is-hot::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: -14px; height: 22px; border-radius: 50%; background: radial-gradient(ellipse, rgba(255,190,80,.55), transparent 70%); }
.st-ground { position: absolute; left: 0; right: 0; bottom: 0; height: 56px; background: linear-gradient(180deg, #CFCAC9, #BEB8B7); border-top: 3px solid #A9A3A4; }
.st-ground::after { content: ""; position: absolute; left: 0; right: 0; top: 26px; height: 3px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.8) 0 26px, transparent 26px 52px); }

/* AI chat bubble */
.st-ai { position: absolute; left: 50%; top: 22px; transform: translateX(-50%); display: grid; gap: 8px; justify-items: center; z-index: 3; width: min(92%, 520px); }
.st-ai__q { justify-self: end; background: var(--fg); color: #fff; padding: 9px 14px; border-radius: 14px 14px 4px 14px; font-size: .86rem; font-weight: 600; box-shadow: 0 10px 20px -12px rgba(0,0,0,.5); }
.st-ai__a { justify-self: start; display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); padding: 8px 14px 8px 8px; border-radius: 14px 14px 14px 4px; font-size: .88rem; box-shadow: 0 12px 24px -14px rgba(26,23,26,.4); }
.st-ai__a i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--maroon); color: #fff; font: 700 .62rem var(--mono); font-style: normal; }
.st-ai__after { display: none; } .st-scene[data-mode="after"] .st-ai__after { display: inline; } .st-scene[data-mode="after"] .st-ai__before { display: none; }
.st-ai__a b { color: var(--maroon); }

/* People */
.st-walk { position: absolute; left: 0; right: 0; bottom: 30px; height: 112px; z-index: 4; pointer-events: none; }
.st-char { position: absolute; left: 0; bottom: 0; width: 46px; opacity: 0; animation: stIn 8.6s linear var(--d) infinite; }
.st-char--out { animation-name: stOut; }
.st-char svg { width: 100%; height: auto; display: block; overflow: visible; animation: stBob .46s ease-in-out infinite alternate; }
.st-leg, .st-arm { transform-box: fill-box; transform-origin: 50% 0; animation: stSwing .46s ease-in-out infinite alternate; }
.st-leg--b, .st-arm--f { animation-direction: alternate-reverse; }
@keyframes stSwing { from { transform: rotate(18deg); } to { transform: rotate(-18deg); } }
@keyframes stBob { from { transform: translateY(0); } to { transform: translateY(-3px); } }
@keyframes stIn {
  0% { transform: translateX(-60px); opacity: 0; }
  4% { opacity: 1; }
  72% { transform: translateX(calc(var(--door) - 23px)); opacity: 1; }
  80% { transform: translateX(calc(var(--door) - 23px)) translateY(-18px) scale(.72); opacity: 0; }
  100% { transform: translateX(calc(var(--door) - 23px)) translateY(-18px) scale(.72); opacity: 0; }
}
@keyframes stOut {
  0%, 8% { transform: translateX(calc(var(--exit) - 23px)) translateY(-18px) scale(.72); opacity: 0; }
  18% { transform: translateX(calc(var(--exit) - 23px)); opacity: 1; }
  74% { transform: translateX(calc(var(--door) - 23px)); opacity: 1; }
  82%, 100% { transform: translateX(calc(var(--door) - 23px)) translateY(-18px) scale(.72); opacity: 0; }
}

/* Footer: live walk-in counter + quote */
.st-foot { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(18px, 3vw, 40px); margin-top: 22px; align-items: stretch; }
.st-count { background: var(--dark); color: #fff; border-radius: var(--r-lg); padding: 22px 24px; display: grid; gap: 12px; align-content: center; }
.st-count .mono { color: #FF9A8F; }
.st-count__row { display: grid; grid-template-columns: 100px 1fr 44px; gap: 12px; align-items: center; font-weight: 700; font-size: .92rem; color: var(--dark-muted); }
.st-count__row i { height: 12px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.st-count__row i b { display: block; height: 100%; width: 0; border-radius: inherit; background: #6E6869; transition: width .6s var(--ease); }
.st-count__row--you { color: #fff; } .st-count__row--you i b { background: linear-gradient(90deg, var(--maroon), #FF6B5E); }
.st-count__row strong { text-align: right; font-size: 1.3rem; font-variant-numeric: tabular-nums; color: #fff; }
.st-quote { border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px); background: linear-gradient(120deg, var(--maroon), #B3261C); color: #fff; position: relative; overflow: hidden; }
.st-quote::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 220px; height: 220px; border-radius: 50%; border: 36px solid rgba(255,255,255,.07); }
.st-quote__q { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.05; }
.st-quote p:not(.st-quote__q) { margin-top: 8px; color: #FFE3E0; }
.st-quote .btns { margin-top: 18px; position: relative; z-index: 1; }
.st-quote .btn--primary { background: #fff; color: var(--maroon); border-color: #fff; }
.st-quote .btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
@media (max-width: 900px) {
  .st-head, .st-foot { grid-template-columns: 1fr; }
  .st-scene { height: 360px; --store-h: 170px; }
  .st-char { width: 34px; }
  .st-tags { top: -78px; } .st-tags li { font-size: .6rem; padding: 4px 8px; }
  .st-ai__q, .st-ai__a { font-size: .76rem; }
}
@media (max-width: 560px) {
  .st-scene { height: 340px; --store-h: 140px; }
  .st-street { left: 3%; right: 3%; gap: 8px; }
  .st-sign { padding: 4px 6px; }
  .st-tags li:nth-child(n+2) { display: none; }
  .st-switch { display: flex; } .st-switch button { flex: 1; padding: 10px 8px; font-size: .78rem; } .st-switch button em { display: none; }
  .st-count__row { grid-template-columns: 84px 1fr 34px; }
}
@media (prefers-reduced-motion: reduce) { .st-char { animation: none; opacity: 0; } }
.st-scene.st-paused .st-char, .st-scene.st-paused .st-char svg, .st-scene.st-paused .st-leg, .st-scene.st-paused .st-arm { animation-play-state: paused; }
/* street polish */
.st-scene { height: 520px; }
.st-awning { height: 34px; clip-path: polygon(5% 0, 95% 0, 100% 100%, 0 100%); border-radius: 0; margin: 0 -4%; box-shadow: none; border-bottom: 4px solid rgba(0,0,0,.18); }
.st-store.is-hot .st-awning { border-bottom-color: #5C0F0A; }
.st-tags { top: -64px; display: flex; gap: 6px; }
.st-tags li { font-size: .66rem; }
.st-walk { height: 150px; bottom: 26px; }
.st-char { width: 62px; }
@keyframes stIn {
  0% { transform: translateX(-70px); opacity: 0; } 4% { opacity: 1; }
  72% { transform: translateX(calc(var(--door) - 31px)); opacity: 1; }
  80%, 100% { transform: translateX(calc(var(--door) - 31px)) translateY(-22px) scale(.7); opacity: 0; }
}
@keyframes stOut {
  0%, 8% { transform: translateX(calc(var(--exit) - 31px)) translateY(-22px) scale(.7); opacity: 0; }
  18% { transform: translateX(calc(var(--exit) - 31px)); opacity: 1; }
  74% { transform: translateX(calc(var(--door) - 31px)); opacity: 1; }
  82%, 100% { transform: translateX(calc(var(--door) - 31px)) translateY(-22px) scale(.7); opacity: 0; }
}
@media (max-width: 900px) {
  .st-scene { height: 420px; }
  .st-char { width: 42px; }
  .st-tags { top: -54px; flex-direction: column; gap: 3px; }
  .st-walk { height: 110px; }
}
@media (max-width: 560px) { .st-scene { height: 380px; } .st-char { width: 36px; } .st-tags { top: -34px; } }

/* ---- Street section: compact, fits one screen ---- */
.section--street { padding: clamp(40px, 5vw, 64px) 0; }
.st-grid { display: grid; grid-template-columns: minmax(280px, 340px) 1fr; gap: clamp(20px, 3vw, 36px); align-items: stretch; }
.st-side { display: flex; flex-direction: column; gap: 14px; }
.st-side .eyebrow { margin-bottom: 0; }
.st-side h2 { font-size: clamp(1.45rem, 1.1rem + 1.2vw, 1.95rem); line-height: 1.12; letter-spacing: -.035em; max-width: none; }
.st-pct { padding: 0 .14em; }
.st-sub { font-size: .92rem; color: var(--muted); line-height: 1.5; }
.st-trend { padding: 12px 14px; border-radius: var(--r); display: grid; gap: 6px; box-shadow: none; }
.st-trend__row { display: grid; grid-template-columns: 34px 1fr 36px; gap: 8px; align-items: center; font: 700 .7rem var(--mono); color: var(--muted); }
.st-trend__row i { height: 8px; border-radius: 99px; background: var(--alt); overflow: hidden; }
.st-trend__row b { display: block; height: 100%; width: 0; border-radius: inherit; background: #BDB7B6; transition: width 1.3s var(--ease) .2s; }
.st-trend.in .st-trend__row b { width: var(--w); }
.st-trend__row strong { text-align: right; font: 800 .85rem var(--font); color: var(--fg); }
.st-trend__row.hot b { background: linear-gradient(90deg, var(--maroon), #D9473C); }
.st-trend__row.hot strong { color: var(--maroon); }
.st-trend figcaption { font-size: .64rem; line-height: 1.4; margin-top: 2px; }
.st-switch { display: flex; margin: 0; padding: 4px; }
.st-switch button { flex: 1; padding: 9px 10px; font-size: .8rem; }
.st-count { padding: 12px 14px; gap: 7px; border-radius: var(--r); }
.st-count .mono { font-size: .6rem; }
.st-count__row { grid-template-columns: 76px 1fr 26px; gap: 8px; font-size: .8rem; }
.st-count__row i { height: 8px; }
.st-count__row strong { font-size: 1rem; }
.st-quote { padding: 14px 16px; border-radius: var(--r); margin-top: auto; }
.st-quote::after { width: 140px; height: 140px; border-width: 24px; right: -50px; bottom: -60px; }
.st-quote__q { font-size: 1.15rem; letter-spacing: -.02em; }
.st-quote p:not(.st-quote__q) { font-size: .8rem; margin-top: 4px; }
.st-quote__btns { position: relative; z-index: 1; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-top: 12px; }
.st-quote__btns .btn--primary { background: #fff; color: var(--maroon); border-color: #fff; padding: 10px 14px; font-size: .72rem; }
.st-quote__link { color: #fff; font-weight: 700; font-size: .8rem; text-decoration: underline; text-underline-offset: 3px; }
/* scene fills the right column */
.st-grid .st-scene { height: auto; min-height: 500px; --store-h: 200px; }
.st-grid .st-ai { top: 16px; }
.st-grid .st-ai__q, .st-grid .st-ai__a { font-size: .8rem; }
.st-grid .st-street { bottom: 50px; }
.st-grid .st-ground { height: 50px; }
.st-grid .st-walk { bottom: 22px; height: 130px; }
.st-grid .st-char { width: 54px; }
.st-grid .st-tags { top: -58px; }
.st-grid .st-sign { font-size: .78rem; }
@media (max-width: 1020px) {
  .st-grid { grid-template-columns: 1fr; }
  .st-side { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .st-side > .eyebrow, .st-side > h2, .st-side > .st-sub { grid-column: 1 / -1; }
  .st-quote { margin-top: 0; }
  .st-grid .st-scene { min-height: 400px; --store-h: 160px; }
  .st-grid .st-char { width: 40px; }
}
@media (max-width: 600px) {
  .st-side { grid-template-columns: 1fr; }
  .st-grid .st-scene { min-height: 360px; --store-h: 130px; }
  .st-grid .st-char { width: 34px; }
  .st-grid .st-tags { top: -36px; }
}
.st-grid .st-char { margin-left: 4px; }
@media (max-width: 1020px) { .st-grid .st-char { margin-left: 11px; } }
@media (max-width: 600px) { .st-grid .st-char { margin-left: 14px; } }
@media (min-width: 1021px) { .st-grid { grid-template-columns: minmax(300px, 370px) 1fr; } }
.st-side { gap: 10px; }
.st-side h2 { font-size: clamp(1.35rem, 1.05rem + 1vw, 1.7rem); }
.st-sub { font-size: .86rem; }
.st-trend { padding: 10px 12px; gap: 5px; }
.st-count { padding: 10px 12px; gap: 6px; }
.st-quote { padding: 12px 14px; }
.st-quote__q { font-size: 1.05rem; }
.st-quote__btns { margin-top: 8px; }
.st-grid .st-scene { min-height: 470px; }
@media (max-width: 1020px) {
  .st-grid { display: flex; flex-direction: column; gap: 12px; }
  .st-side { display: contents; }
  .st-side > .eyebrow, .st-side > h2, .st-side > .st-sub { order: 1; }
  .st-switch { order: 2; } .st-grid .st-scene { order: 3; width: 100%; }
  .st-trend { order: 4; } .st-count { order: 5; } .st-quote { order: 6; }
}
@media (max-width: 600px) { .st-grid .st-scene { min-height: 320px; } }
/* Switch sits on the illustration: small pill, top-left */
.st-switch--in { position: absolute; z-index: 6; left: 14px; top: 14px; display: inline-flex; margin: 0; padding: 3px; gap: 2px; background: rgba(28,25,28,.88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.1); box-shadow: 0 10px 24px -12px rgba(26,23,26,.7), 0 0 0 4px rgba(255,255,255,.55); }
.st-switch--in button { flex: none; padding: 6px 12px; font-size: .72rem; letter-spacing: -.005em; }
.st-switch--in button[data-mode="after"][aria-pressed="true"] { box-shadow: 0 6px 14px -6px rgba(208,0,0,.9); animation: swPulse 2.4s ease-in-out 1; }
.st-switch--in button[aria-pressed="false"]:hover { color: #fff; }
@keyframes swPulse { 0%, 100% { box-shadow: 0 6px 14px -6px rgba(208,0,0,.9); } 50% { box-shadow: 0 0 0 6px rgba(208,0,0,.25); } }
.st-grid .st-ai { top: 58px; }
@media (max-width: 1020px) { .st-switch--in { order: 0; } .st-switch--in button { padding: 6px 10px; font-size: .7rem; } }
@media (max-width: 560px) { .st-switch--in { display: inline-flex; left: 10px; top: 10px; } .st-switch--in button { flex: none; } .st-grid .st-ai { top: 50px; } }
