/* ==========================================================================
   RippleRay Incorporation — design tokens
   Dark "LED matrix" identity: deep black canvas, RGB ripple accents.
   ========================================================================== */
:root {
  --bg: #05060a;
  --bg-2: #0a0c14;
  --surface: #10131d;
  --surface-2: #161a27;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f2f4fa;
  --text-2: #a7adc2;
  --text-3: #8189a3;

  --cyan: #00e5ff;
  --violet: #7c5cff;
  --magenta: #ff2e88;
  --amber: #ffb020;
  --green: #2bff88;
  --red: #ff3b3b;
  --grad: linear-gradient(100deg, var(--cyan) 0%, var(--violet) 50%, var(--magenta) 100%);

  /* logo colours: #0066CC / #CC0066 printed, brightened when "lit" */
  --brand-b: #0066cc;
  --brand-m: #cc0066;
  --brand-b-lit: #1a7cf0;
  --brand-m-lit: #ee0a7c;
  --brand-b-off: #0d1a2c;
  --brand-m-off: #24101b;

  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --font-led: "Doto", var(--font-mono);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast: 180ms;
  --t-med: 320ms;

  --gutter: clamp(16px, 4vw, 40px);
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
html { overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.05; margin: 0; letter-spacing: -0.02em; font-weight: 600; }
h2 { font-size: clamp(2.1rem, 5vw, 4rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; }
svg { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
::selection { background: var(--violet); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--text-3); }
.mono { font-family: var(--font-mono); font-size: 0.85em; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--text); color: var(--bg); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 60; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Buttons ---------- */
.btn {
  --pad: 14px 22px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: var(--pad);
  border-radius: 999px; border: 1px solid transparent;
  font: 600 0.98rem/1 var(--font-head); letter-spacing: 0;
  text-decoration: none; white-space: nowrap;
  transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-med) var(--ease-out), background-color var(--t-fast), border-color var(--t-fast);
}
.btn svg { transition: transform var(--t-med) var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(0.97); }
.btn--sm { --pad: 10px 18px; min-height: 44px; font-size: 0.92rem; }
.btn--block { width: 100%; }
.btn--glow {
  background: var(--grad); background-size: 200% 100%; background-position: 0% 0;
  color: #fff; box-shadow: 0 8px 30px -8px rgba(124, 92, 255, 0.7);
  text-shadow: 0 1px 2px rgba(0,0,0,.25);
}
.btn--glow:hover { background-position: 100% 0; box-shadow: 0 12px 44px -6px rgba(255, 46, 136, 0.6); }
.btn--ghost { border-color: var(--line-strong); background: rgba(255,255,255,0.03); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: var(--cyan); background: rgba(0,229,255,0.06); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 0.78rem/1 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 20px; }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(43,255,136,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(43,255,136,0); } 100% { box-shadow: 0 0 0 0 rgba(43,255,136,0); } }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background-color var(--t-med), border-color var(--t-med), backdrop-filter var(--t-med); border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(5,6,10,0.72); backdrop-filter: blur(16px) saturate(140%); border-bottom-color: var(--line); }
.nav__inner { height: var(--nav-h); display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 600 1.3rem/1 var(--font-head); letter-spacing: -0.03em; }
.brand__mark { display: block; width: 50px; }
.logo { display: block; width: 100%; height: auto; }

.hero__sign { width: min(100%, 360px); justify-self: center; }
.footer__logo { display: block; width: 110px; }
/* LED console: one machined housing holding the nav boards, with a faint pixel grid like an unlit panel */
.nav__links {
  position: relative; display: flex; gap: 2px; margin-left: auto; padding: 4px;
  border: 1px solid transparent; border-radius: 14px;
  background:
    radial-gradient(circle, rgba(255,255,255,0.035) 0.7px, transparent 1.1px) 0 0 / 4px 4px padding-box,
    linear-gradient(180deg, #0d1018, #06070b) padding-box,
    linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.04) 45%, rgba(26,124,240,0.22)) border-box;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 0 0 1px rgba(0,0,0,0.6), 0 14px 34px -14px rgba(0,0,0,0.95);
}

/* light bar that glides under whichever board the pointer is on */
.led-beam {
  --beam: var(--brand-b-lit);
  position: absolute; left: 0; bottom: 6px; height: 2px; width: 0; z-index: 2;
  border-radius: 2px; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, transparent, var(--beam) 18%, color-mix(in srgb, var(--beam) 45%, #fff) 50%, var(--beam) 82%, transparent);
  box-shadow: 0 0 8px var(--beam), 0 0 18px -2px var(--beam);
  transition: transform 420ms var(--ease-out), width 420ms var(--ease-out), opacity var(--t-med);
}
.led-beam.is-on { opacity: 1; }
.led-beam.is-live { --beam: var(--brand-m-lit); }

/* LED board links: lettering glows in the logo colours; on hover it runs hot — a white core with coloured bloom, letter by letter */
.led-link {
  --led-on: var(--brand-b-lit);
  --led-glow: rgba(26, 124, 240, 0.9);
  --led-off: color-mix(in srgb, var(--led-on) 72%, #fff);
  --led-hot: color-mix(in srgb, var(--led-on) 40%, #fff);
  --led-haze: color-mix(in srgb, var(--led-glow) 55%, transparent);
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px 12px;
  border-radius: 10px; text-decoration: none;
  font: 800 0.9rem/1 var(--font-led); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--led-off);
  isolation: isolate; overflow: hidden;
  transition: background-color var(--t-med), box-shadow var(--t-med);
}
/* matrix pixels that light up around the pointer */
.led-link::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(circle, var(--led-on) 0.8px, transparent 1.3px) 0 0 / 4px 4px;
  -webkit-mask: radial-gradient(circle 48px at var(--mx, 50%) var(--my, 50%), #000 0%, rgba(0,0,0,0.3) 45%, transparent 100%);
          mask: radial-gradient(circle 48px at var(--mx, 50%) var(--my, 50%), #000 0%, rgba(0,0,0,0.3) 45%, transparent 100%);
  opacity: 0; transition: opacity var(--t-med);
}
.led-link:hover::before { opacity: 0.4; }
.led-link .led-ch { display: inline-block; text-shadow: 0 0 7px var(--led-haze); transition: color 70ms linear, text-shadow 70ms linear; }
.led-link:hover, .led-link:focus-visible, .led-link.is-active {
  background-color: rgba(255,255,255,0.025);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--led-on) 22%, transparent), inset 0 -14px 20px -14px var(--led-haze);
}
.led-link:hover .led-ch, .led-link:focus-visible .led-ch, .led-link.is-active .led-ch {
  color: var(--led-hot);
  text-shadow: 0 0 2px var(--led-on), 0 0 8px var(--led-glow), 0 0 20px var(--led-haze);
  transition-delay: calc(var(--i) * 35ms);
}
/* the current section's board runs in the logo magenta, like a live indicator */
.led-link.is-active { --led-on: var(--brand-m-lit); --led-glow: rgba(238, 10, 124, 0.9); }

/* Products sign: snaps on all at once in the logo magenta — lettering, glowing frame and a row of square LEDs beneath */
.nav__links .led-link--sign { --led-on: var(--brand-m-lit); --led-glow: rgba(238, 10, 124, 0.9); transition: none; }
.nav__links .led-link--sign::before { display: none; }
.nav__links .led-link--sign::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 3px; pointer-events: none;
  background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--led-on) 40%, #06070b) 0 3px, transparent 3px 5px);
}
.nav__links .led-link--sign .led-ch, .nav__links .led-link--sign:hover .led-ch { transition: none; transition-delay: 0ms; }
.nav__links .led-link--sign:hover, .nav__links .led-link--sign:focus-visible, .nav__links .led-link--sign.is-active {
  background-color: rgba(238, 10, 124, 0.05);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--led-on) 75%, transparent), inset 0 0 14px -4px var(--led-glow), 0 0 16px -6px var(--led-glow);
}
.nav__links .led-link--sign:hover::after, .nav__links .led-link--sign:focus-visible::after, .nav__links .led-link--sign.is-active::after {
  background: repeating-linear-gradient(90deg, var(--led-hot) 0 3px, transparent 3px 5px);
  filter: drop-shadow(0 0 2px var(--led-on)) drop-shadow(0 0 5px var(--led-glow));
}
/* power-on flicker as the sign switches on */
.nav__links .led-link--sign:hover, .nav__links .led-link--sign:focus-visible { animation: led-power 260ms steps(1, end); }
@keyframes led-power { 0% { filter: brightness(0.25); } 35% { filter: brightness(1); } 50% { filter: brightness(0.45); } 65% { filter: brightness(1); } }
@media (prefers-reduced-motion: reduce) { .nav__links .led-link--sign:hover, .nav__links .led-link--sign:focus-visible { animation: none; } }

/* CTA in the logo blue → magenta */
.nav__cta.btn--glow { background-image: linear-gradient(100deg, var(--brand-b-lit), #7d2fd0 50%, var(--brand-m-lit)); box-shadow: 0 8px 28px -10px rgba(238, 10, 124, 0.7), inset 0 1px 0 rgba(255,255,255,0.2); }
.nav__cta.btn--glow:hover { box-shadow: 0 12px 36px -8px rgba(238, 10, 124, 0.75), inset 0 1px 0 rgba(255,255,255,0.25); }
.nav__toggle { display: none; width: 44px; height: 44px; margin-left: auto; background: none; border: 1px solid var(--line-strong); border-radius: 12px; position: relative; }
.nav__toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text); border-radius: 2px; transition: transform var(--t-med) var(--ease-out); }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu { display: grid; gap: 4px; padding: 8px var(--gutter) 24px; background: rgba(5,6,10,0.96); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { padding: 14px 4px; font: 500 1.3rem var(--font-head); text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-menu a.led-link { padding: 14px 18px; font: 800 1.2rem/1 var(--font-led); margin-bottom: 6px; border: 1px solid #1b1e29; background: radial-gradient(circle, rgba(255,255,255,0.04) 0.8px, transparent 1.2px) 0 0 / 4px 4px, #06070b; }
.mobile-menu .btn { margin-top: 16px; }

@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  --feat-h: 92px;
  position: relative; min-height: 100svh; display: flex; flex-direction: column;
  padding-top: var(--nav-h); overflow: hidden; isolation: isolate;
  background: radial-gradient(ellipse 60% 80% at 0% 40%, #0b1020 0%, var(--bg) 70%);
}
/* lobby scene, pinned right; fades into the dark background behind the copy */
.hero__scene {
  /* width is set by initHeroScreens so the wall starts where the headline ends */
  position: absolute; right: 0; bottom: var(--feat-h); z-index: -1;
  width: 62vw; aspect-ratio: 1249 / 700;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 13.5%), linear-gradient(to bottom, #000 97%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0%, #000 13.5%), linear-gradient(to bottom, #000 97%, transparent 100%);
  mask-composite: intersect;
}
.hero__bg { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero__screen { position: absolute; left: 0; top: 0; transform-origin: 0 0; pointer-events: none; }
/* light the screen throws onto the room, and its reflection on the polished floor */
.hero__glow, .hero__reflect { position: absolute; left: 0; top: 0; transform-origin: 0 0; pointer-events: none; mix-blend-mode: screen; }
.hero__glow { filter: blur(22px) saturate(1.3); opacity: 0.7; }
.hero__glow--sm { filter: blur(12px) saturate(1.3); opacity: 0.6; }
.hero__reflect { filter: blur(3px); opacity: 0.32; -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,0.35) 45%, transparent 100%); mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,0.35) 45%, transparent 100%); }
.hero__card { position: absolute; }
.hero__card img { display: block; width: 100%; height: auto; }
.hero__tag { position: absolute; margin: 0; display: grid; gap: 10px; font: 500 clamp(0.75rem, 1vw, 0.95rem) var(--font-body); color: var(--text); text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8); }
.hero__tag span { width: 26px; height: 2px; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }

.hero__content { flex: 1; display: flex; align-items: center; }
.hero > .container { max-width: 1600px; padding-inline: clamp(16px, 6vw, 112px); }
.hero__copy { max-width: min(640px, 46%); padding-block: clamp(24px, 5vh, 56px); }
.hero .eyebrow .sep { margin: 0 0.7em; color: var(--text-3); }
@media (max-width: 640px) { .hero .eyebrow { display: block; line-height: 1.7; } }
.hero__title { font-size: clamp(2.3rem, 3.8vw, 4.4rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1.02; margin-bottom: clamp(16px, 3vh, 26px); white-space: nowrap; text-shadow: 0 2px 24px rgba(5, 6, 10, 0.6); }
.hero__title .grad-text { background-size: 200% 100%; animation: gradShift 6s ease-in-out infinite alternate; }
@keyframes gradShift { to { background-position: 100% 0; } }
.hero__lede { max-width: 34em; font-size: clamp(1rem, 1.4vw, 1.18rem); color: var(--text-2); margin-bottom: clamp(20px, 4vh, 34px); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero__actions .btn--outline { background: rgba(5, 6, 10, 0.45); backdrop-filter: blur(6px); }

.hero__features { position: relative; }
.hero__features ul { list-style: none; margin: 0; padding: 0; min-height: var(--feat-h); display: flex; align-items: center; border-top: 1px solid var(--line-strong); }
.hero__features li { display: flex; align-items: center; gap: 18px; padding: 18px clamp(16px, 4vw, 64px); font: 400 clamp(0.92rem, 1.1vw, 1.05rem) var(--font-body); color: var(--text); }
.hero__features li:first-child { padding-left: 0; }
.hero__features li + li { border-left: 1px solid var(--line-strong); }
.hero__features svg { width: 30px; height: 30px; stroke-width: 1.3; color: var(--text-2); }

@media (max-width: 900px) {
  .hero { min-height: 0; }
  .hero { min-height: 0; }
  .hero__title { white-space: normal; }
  .hero__scene { position: relative; order: 2; width: 100% !important; height: auto; bottom: auto; margin-top: 8px;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 85%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 85%, transparent 100%); }
  .hero__content { order: 1; }
  .hero__copy { max-width: none; padding-bottom: 0; }
  .hero__features { order: 3; }
}
@media (max-width: 640px) {
  .hero__features ul { flex-direction: column; align-items: stretch; }
  .hero__features li { padding: 14px 0; }
  .hero__features li + li { border-left: 0; border-top: 1px solid var(--line); }
}

/* hover targets over the two screens */
.hero__hit { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; stroke: none; }  /* global svg rule adds a stroke */
.hero__hit polygon { fill: transparent; stroke: none; cursor: zoom-in; pointer-events: all; transition: fill var(--t-fast); }
.hero__hit polygon:hover { fill: rgba(255, 255, 255, 0.04); }
.sr-only-focusable { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sr-only-focusable:focus-visible { position: fixed; left: 16px; bottom: 16px; z-index: 300; width: auto; height: auto; clip: auto; padding: 10px 16px; border-radius: 999px; background: var(--text); color: var(--bg); font: 600 0.9rem var(--font-body); border: 0; }

/* live screen preview pop-up: 60% of the window */
.spop {
  --ar: 2.2;
  position: fixed; left: 50%; top: 50%; z-index: 120;
  width: min(60vw, calc((94vh - 76px) * var(--ar)));
  transform: translate(-50%, -50%) scale(0.86); opacity: 0;
  transition: transform 300ms var(--ease-out), opacity 220ms ease;
  border-radius: 18px; padding: 10px; background: linear-gradient(160deg, #1a1d2b, #07080d);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 40px 120px -20px rgba(0, 0, 0, 0.9), 0 0 90px -10px rgba(80, 120, 255, 0.55);
}
.spop.is-open { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.spop[hidden] { display: none; }
.spop .btn[hidden] { display: none; }
.spop__frame { position: relative; border-radius: 10px; overflow: hidden; background: #000; aspect-ratio: var(--ar); box-shadow: inset 0 0 0 2px #000; }
.spop__frame canvas { display: block; width: 100%; height: 100%; }
.spop__frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(125deg, rgba(255, 255, 255, 0.08), transparent 35%); }
.spop__bar { display: flex; align-items: center; gap: 12px; padding: 12px 6px 4px; }
.spop__text { flex: 1; min-width: 0; }
.spop__title { margin: 0; display: flex; align-items: center; gap: 10px; font: 600 1.05rem var(--font-head); }
.spop__note { margin: 2px 0 0; font-size: 0.85rem; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.spop__upload { cursor: pointer; }
.spop__upload:focus-within { outline: 2px solid var(--cyan); outline-offset: 3px; }
.spop__close { width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; color: var(--text); }
.spop__close:hover { border-color: var(--cyan); }
@media (max-width: 760px) {
  .spop { width: 94vw; }
  .spop__bar { flex-wrap: wrap; }
  .spop__text { flex-basis: calc(100% - 52px); }
}
@media (prefers-reduced-motion: reduce) { .spop { transition: none; } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; background: var(--bg-2); padding: 18px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee__track span { font: 500 clamp(1.1rem, 2vw, 1.5rem) var(--font-head); color: var(--text-3); padding: 0 28px; white-space: nowrap; display: inline-flex; align-items: center; gap: 56px; }
.marquee__track span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 10px var(--violet); margin-left: 28px; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(40px, 4.5vw, 60px) 0; overflow-x: clip; }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section__head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.section__head h2 { margin-bottom: 20px; }
.section__lede { color: var(--text-2); font-size: 1.1rem; max-width: 560px; }

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin-bottom: 28px; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex-shrink: 0; min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--text-2); font: 500 0.92rem var(--font-body); transition: all var(--t-fast); }
.tabs button:hover { color: var(--text); border-color: var(--text-3); }
.tabs button[aria-selected="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }

/* ---------- Product bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(240px, auto); gap: 16px; }
.card {
  --hue-a: var(--cyan); --hue-b: var(--violet);
  position: relative; grid-column: span 4; display: flex; flex-direction: column; justify-content: flex-end;
  border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line);
  padding: 24px; isolation: isolate; min-height: 280px;
  transition: transform var(--t-med) var(--ease-out), border-color var(--t-med);
  animation: cardIn 520ms var(--ease-out) both;
}
.card--wide { grid-column: span 8; }
.card--tall { grid-row: span 2; }
@keyframes cardIn { from { opacity: 0; transform: translateY(18px) scale(0.98); } }
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.card__art { position: absolute; inset: 0; z-index: -2; }
.card__art img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.card:hover .card__art img { transform: scale(1.06); }
.card__art--led {
  background:
    radial-gradient(circle at 1.5px 1.5px, rgba(255,255,255,0.18) 1.2px, transparent 1.6px) 0 0 / 9px 9px,
    radial-gradient(ellipse 80% 70% at 75% 20%, color-mix(in srgb, var(--hue-a) 55%, transparent), transparent 70%),
    radial-gradient(ellipse 60% 60% at 20% 80%, color-mix(in srgb, var(--hue-b) 45%, transparent), transparent 70%),
    var(--surface);
  transition: filter var(--t-med);
}
.card:hover .card__art--led { filter: brightness(1.25) saturate(1.2); }
.card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(5,6,10,0.95) 0%, rgba(5,6,10,0.65) 40%, rgba(5,6,10,0.05) 75%); }
.card__icon { position: absolute; top: 22px; left: 24px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: rgba(5,6,10,0.55); border: 1px solid var(--line-strong); backdrop-filter: blur(8px); color: var(--hue-a); }
.card__icon svg { width: 24px; height: 24px; }
.card__tag { position: absolute; top: 30px; right: 24px; font: 500 0.7rem var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-2); padding: 5px 10px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(5,6,10,0.5); backdrop-filter: blur(6px); }
.card h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); margin-bottom: 8px; }
.card p { color: var(--text-2); font-size: 0.95rem; margin-bottom: 14px; max-width: 46ch; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.chips li { font: 400 0.74rem var(--font-mono); color: var(--text); padding: 4px 9px; border-radius: 6px; background: rgba(255,255,255,0.07); border: 1px solid var(--line); white-space: nowrap; }

@media (max-width: 1024px) {
  .card, .card--wide { grid-column: span 6; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .card, .card--wide { grid-column: auto; }
  .card--tall { grid-row: auto; }
}

/* ---------- Technology ---------- */
.tech { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.tech__visual { aspect-ratio: 1; max-width: 520px; width: 100%; perspective: 1000px; }
.chip-surface { position: relative; width: 100%; height: 100%; border-radius: var(--r-xl); background: #0b0d14; border: 1px solid var(--line-strong); overflow: hidden; transform: rotateX(22deg) rotateZ(-8deg); transform-style: preserve-3d; box-shadow: 0 60px 80px -40px rgba(124,92,255,0.45); transition: transform 800ms var(--ease-out); }
.tech__visual:hover .chip-surface { transform: rotateX(10deg) rotateZ(-3deg); }
.chip-grid { position: absolute; inset: 0;
  background:
    radial-gradient(circle, #ff3b3b 0 2.5px, transparent 3px) 0 0 / 28px 28px,
    radial-gradient(circle, #2bff88 0 2.5px, transparent 3px) 7px 0 / 28px 28px,
    radial-gradient(circle, #3b8bff 0 2.5px, transparent 3px) 3.5px 6px / 28px 28px,
    radial-gradient(circle, #1a1e2a 0 9px, transparent 9.5px) 3.5px 3px / 28px 28px;
  filter: drop-shadow(0 0 4px rgba(255,255,255,0.35));
  transition: filter 600ms var(--ease-out), opacity 600ms;
}
.chip-coat { position: absolute; inset: 0; opacity: 0; transition: opacity 700ms var(--ease-out), backdrop-filter 700ms; background: linear-gradient(135deg, rgba(255,255,255,0.18), rgba(255,255,255,0.02) 40%, rgba(255,255,255,0.12) 70%, rgba(255,255,255,0.02)); }
.chip-surface[data-surface="gob"] .chip-coat { opacity: 1; backdrop-filter: blur(1.5px); }
.chip-surface[data-surface="gob"] .chip-grid { filter: drop-shadow(0 0 6px rgba(255,255,255,0.4)) blur(0.4px); }
.chip-surface[data-surface="cob"] .chip-grid { background:
    radial-gradient(circle, #fff 0 1.6px, transparent 2px) 0 0 / 12px 12px;
  filter: drop-shadow(0 0 3px rgba(0,229,255,0.9)); }
.chip-surface[data-surface="cob"] .chip-coat { opacity: 1; background: linear-gradient(135deg, rgba(0,0,0,0.35), rgba(0,0,0,0.1)); }
.chip-tag { position: absolute; left: 20px; bottom: 20px; font: 500 0.78rem var(--font-mono); padding: 8px 12px; border-radius: 8px; background: rgba(5,6,10,0.8); border: 1px solid var(--line-strong); }

.seg { display: inline-flex; padding: 4px; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; margin-bottom: 28px; }
.seg button, .seg label span { min-height: 40px; min-width: 76px; padding: 8px 18px; border-radius: 999px; border: 0; background: transparent; color: var(--text-2); font: 600 0.95rem var(--font-head); display: grid; place-items: center; transition: background-color var(--t-fast), color var(--t-fast); }
.seg button[aria-selected="true"], .seg input:checked + span { background: var(--text); color: var(--bg); }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.seg--wide { display: flex; }
.seg--wide label { flex: 1; }
.tech__panel h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 14px; }
.tech__panel > p { color: var(--text-2); min-height: 4.8em; }
.meter-list { display: grid; gap: 14px; margin: 24px 0; }
.meter-list div { display: grid; grid-template-columns: 130px 1fr; align-items: center; gap: 16px; }
.meter-list dt { color: var(--text-2); font-size: 0.92rem; }
.meter-list dd { margin: 0; height: 8px; background: var(--surface-2); border-radius: 99px; overflow: hidden; }
.meter-list dd span { display: block; height: 100%; background: var(--grad); border-radius: inherit; transform-origin: left; transition: transform 700ms var(--ease-out); }
.tech__best span { font: 500 0.75rem var(--font-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--cyan); margin-right: 8px; }
@media (max-width: 860px) { .tech { grid-template-columns: 1fr; } .tech__visual { max-width: 360px; margin: 0 auto; } }

/* ---------- Configurator ---------- */
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field legend, .field label { font-size: 0.9rem; color: var(--text-2); font-weight: 500; display: flex; justify-content: space-between; gap: 8px; margin-bottom: 8px; padding: 0; }
.field legend { margin-bottom: 10px; }
.field output { font: 600 0.9rem var(--font-mono); color: var(--cyan); }
.field--row { grid-template-columns: 1fr 1fr; gap: 14px; }
.field--row > div { display: grid; min-width: 0; }
input[type="number"], input[type="tel"], input:not([type]), select, textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--r-sm);
  border: 1px solid var(--line-strong); background: var(--bg); color: var(--text);
  font: 400 1rem var(--font-body); transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
textarea { resize: vertical; min-height: 92px; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a7adc2' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0,229,255,0.18); }
input[aria-invalid="true"] { border-color: var(--red); }
input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus { -webkit-text-fill-color: var(--text); box-shadow: 0 0 0 1000px var(--bg) inset; caret-color: var(--text); transition: background-color 9999s; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 99px; background: linear-gradient(to right, var(--cyan) 0 var(--fill, 20%), var(--surface-2) var(--fill, 20%)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 99px; background: linear-gradient(to right, var(--cyan) 0 var(--fill, 20%), var(--surface-2) var(--fill, 20%)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(0,229,255,0.25), 0 0 16px var(--cyan); }
input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(0,229,255,0.25), 0 0 16px var(--cyan); }
/* ---- Configurator layout ---- */
.cfg-sec { overflow: hidden; isolation: isolate; padding-block: clamp(16px, 3vh, 40px); }
.cfg-sec__lights { position: absolute; inset: 0 0 auto; height: 70%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 30% 60% at 12% 0%, rgba(124, 92, 255, 0.22), transparent 70%),
    radial-gradient(ellipse 30% 60% at 88% 0%, rgba(0, 229, 255, 0.16), transparent 70%),
    radial-gradient(ellipse 50% 40% at 50% 10%, rgba(124, 92, 255, 0.12), transparent 70%);
}
.cfg-head { text-align: center; margin: 0 auto clamp(10px, 2vh, 22px); max-width: 820px; }
.cfg-head__eyebrow { margin: 0 0 clamp(6px, 1vh, 10px); font: 600 0.66rem/1 var(--font-head); letter-spacing: 0.38em; text-transform: uppercase; background: linear-gradient(90deg, var(--cyan), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cfg-head h2 { font-size: clamp(1.35rem, 2vw, 1.85rem); letter-spacing: -0.02em; margin-bottom: clamp(2px, 0.6vh, 6px); }
.cfg-head h2 .grad-text { white-space: nowrap; }
.cfg-head__sub { margin: 0; color: var(--text-2); font-size: 0.9rem; }
/* the configurator uses more of the screen than other sections */
.cfg-sec > .container { max-width: 1520px; }

.config {
  display: grid; grid-template-columns: 0.78fr 1.22fr;
  border-radius: var(--r-xl); overflow: hidden;
  background: linear-gradient(180deg, rgba(14, 17, 30, 0.92), rgba(8, 10, 18, 0.92));
  border: 1px solid rgba(124, 92, 255, 0.32);
  box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.04) inset, 0 40px 120px -40px rgba(124, 92, 255, 0.45);
}
.config__form { padding: clamp(16px, 3.4vh, 40px) clamp(20px, 3vw, 40px); border-right: 1px solid var(--line); display: grid; align-content: start; }

.cstep { display: grid; grid-template-columns: 46px 1fr; gap: 22px; padding-bottom: clamp(12px, 2.6vh, 28px); margin-bottom: clamp(12px, 2.6vh, 28px); border-bottom: 1px solid var(--line); }
.cstep--last { border-bottom: 0; padding-bottom: 0; margin-bottom: clamp(10px, 2vh, 22px); }
.cstep__n { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--cyan); color: var(--cyan); font: 600 1rem var(--font-head); box-shadow: 0 0 16px -4px rgba(0, 229, 255, 0.7), inset 0 0 10px -4px rgba(0, 229, 255, 0.6); }
.cstep__body { min-width: 0; }
.cstep__title { display: block; margin: 4px 0 6px; font: 600 1.25rem/1.2 var(--font-head); color: var(--text); }
.cstep__desc { margin: 0 0 clamp(10px, 2vh, 20px); color: var(--text-2); font-size: 0.95rem; }
.cstep--last .cstep__desc { margin-bottom: 0; }
.cstep__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.cstep__value { flex-shrink: 0; margin-bottom: clamp(10px, 2vh, 20px); font: 700 1.5rem/1 var(--font-head); color: var(--cyan); text-shadow: 0 0 14px rgba(0, 229, 255, 0.5); font-variant-numeric: tabular-nums; }
.cstep__dims { margin-bottom: clamp(12px, 2.4vh, 26px); gap: 22px; }
.cstep__dims label { font-size: 1rem; margin-bottom: 10px; }
.cstep__dims input { min-height: clamp(44px, 6vh, 56px); border-radius: 12px; font-size: 1.1rem; padding-inline: 18px; }

.env-toggle { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(5, 6, 10, 0.5); }
.env-toggle label { position: relative; cursor: pointer; }
.env-toggle input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.env-toggle span { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: clamp(44px, 5.8vh, 54px); border-radius: 999px; color: var(--text-2); font: 500 1.05rem var(--font-body); transition: background-color var(--t-med) var(--ease-out), color var(--t-fast), box-shadow var(--t-med); }
.env-toggle label:hover span { color: var(--text); }
.env-toggle input:checked + span { background: #fff; color: #0a0c14; font-weight: 600; box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(124, 92, 255, 0.75), 0 0 28px -2px rgba(0, 229, 255, 0.55); }
.env-toggle input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 4px; }

.config__note { display: flex; align-items: center; gap: 14px; margin: 0; padding: clamp(10px, 1.8vh, 18px) 20px; border-radius: 16px; font-size: 0.92rem; color: var(--text-2); background: rgba(124, 92, 255, 0.08); border: 1px solid rgba(124, 92, 255, 0.28); }
.config__note svg { width: 22px; height: 22px; color: var(--violet); }

.config__result { padding: clamp(16px, 3vh, 32px) clamp(16px, 2.6vw, 32px); display: grid; gap: clamp(10px, 2vh, 20px); align-content: start; }

/* ---- 3D LED wall preview ---- */
.stage {
  position: relative; height: clamp(220px, 44vh, 520px); display: grid; place-items: center;
  border-radius: 20px; overflow: hidden; perspective: 1100px;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(124, 92, 255, 0.28), transparent 70%),
    radial-gradient(ellipse 25% 80% at 20% 0%, rgba(255, 255, 255, 0.05), transparent 70%),
    radial-gradient(ellipse 25% 80% at 80% 0%, rgba(255, 255, 255, 0.05), transparent 70%),
    linear-gradient(#0b0e1d, #05060b 75%);
}
.stage__floor { position: absolute; inset: auto 0 0; height: 34%; background: linear-gradient(to bottom, rgba(124, 92, 255, 0.1), rgba(5, 6, 10, 0.2)), repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 60px); }
.wall {
  --cab-w: 25%; --cab-h: 40%; --dot: 3px;
  position: relative; margin: 0 80px 18px 0; /* room on the right for the height arrow */
  transform: rotateY(-17deg) rotateX(3deg); transform-style: preserve-3d;
  transition: width 600ms var(--ease-out), height 600ms var(--ease-out);
}
.wall__face {
  position: absolute; inset: 0; overflow: hidden; border-radius: 3px;
  background:
    radial-gradient(ellipse 60% 70% at 18% 35%, rgba(0, 229, 255, 0.55), transparent 60%),
    radial-gradient(ellipse 55% 65% at 82% 70%, rgba(255, 46, 136, 0.45), transparent 60%),
    radial-gradient(ellipse 70% 60% at 55% 15%, rgba(124, 92, 255, 0.7), transparent 60%),
    #070a2a;
  background-size: 180% 180%;
  animation: faceFlow 12s ease-in-out infinite alternate;
  box-shadow: 0 0 90px -12px rgba(0, 229, 255, 0.55), 0 0 160px -30px rgba(124, 92, 255, 0.8);
  -webkit-box-reflect: below 4px linear-gradient(transparent 55%, rgba(255, 255, 255, 0.2));
}
@keyframes faceFlow { to { background-position: 100% 100%; } }
.wall__waves { position: absolute; inset: -10%; width: 120%; height: 120%; filter: drop-shadow(0 0 6px rgba(0, 229, 255, 0.9)) drop-shadow(0 0 16px rgba(124, 92, 255, 0.7)); mix-blend-mode: screen; }
.wv path { stroke-linecap: round; opacity: 0.85; }
.wv--a { animation: waveA 9s ease-in-out infinite alternate; }
.wv--b { animation: waveB 11s ease-in-out infinite alternate; }
@keyframes waveA { to { transform: translate(-40px, 12px); } }
@keyframes waveB { to { transform: translate(36px, -10px); } }
.wall__grid { position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.55) 1px, transparent 1px) 0 0 / var(--cab-w) 100%,
    linear-gradient(rgba(0, 0, 0, 0.55) 1px, transparent 1px) 0 0 / 100% var(--cab-h);
}
.wall__pixels { position: absolute; inset: 0; background: radial-gradient(circle, transparent 0.55px, rgba(0, 0, 0, 0.42) 1px) 0 0 / var(--dot) var(--dot); }
.wall__sheen { position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255, 255, 255, 0.14), transparent 35%, transparent 70%, rgba(255, 255, 255, 0.05)); }
.wall__side { position: absolute; top: 0; right: -11px; width: 11px; height: 100%; border-radius: 0 3px 3px 0; background: linear-gradient(90deg, #262a3a, #0b0c12); box-shadow: inset 2px 0 0 rgba(255, 255, 255, 0.06); }

.dim { position: absolute; color: var(--text); font: 600 0.95rem var(--font-head); }
.dim span { position: absolute; white-space: nowrap; background: #080a14; padding: 2px 10px; font-variant-numeric: tabular-nums; }
.dim--w { left: 0; right: 0; bottom: -30px; height: 1px; background: rgba(255, 255, 255, 0.6); }
.dim--w span { left: 50%; top: 50%; transform: translate(-50%, -50%); }
.dim--h { top: 0; bottom: 0; right: -40px; width: 1px; background: rgba(255, 255, 255, 0.6); }
.dim--h span { left: 12px; top: 50%; transform: translateY(-50%); background: none; padding: 0; }
.dim::before, .dim::after { content: ""; position: absolute; width: 8px; height: 8px; border: solid rgba(255, 255, 255, 0.8); border-width: 1.5px 1.5px 0 0; }
.dim--w::before { left: 0; top: -4px; transform: rotate(-135deg); }
.dim--w::after { right: 0; top: -4px; transform: rotate(45deg); }
.dim--h::before { top: 0; left: -4px; transform: rotate(-45deg); }
.dim--h::after { bottom: 0; left: -4px; transform: rotate(135deg); }

/* ---- Results ---- */
.result-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-radius: 18px; overflow: hidden; border: 1px solid var(--line-strong); }
.result-grid > div { display: flex; align-items: center; gap: 16px; padding: clamp(10px, 2vh, 20px) 20px; background: #0c0f1b; min-width: 0; }
.result-grid svg { width: 30px; height: 30px; stroke-width: 1.5; color: var(--text-2); }
.result-grid > div:first-child svg { color: var(--cyan); }
.result-grid p { margin: 0; display: grid; gap: 4px; min-width: 0; }
.result-grid span { font-size: 0.88rem; color: var(--text-2); }
.result-grid strong { font: 600 1.3rem/1.15 var(--font-head); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.result-grid .accent { font-size: 1.6rem; color: var(--cyan); text-shadow: 0 0 14px rgba(0, 229, 255, 0.5); }
.btn--lg { min-height: clamp(48px, 6.4vh, 60px); font-size: 1.1rem; }
.config__caption { margin: -4px 0 0; font-size: 0.85rem; text-align: center; color: var(--text-3); font-size: 0.92rem; }

@media (max-width: 1100px) {
  .config { grid-template-columns: 1fr; }
  .config__form { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .result-grid { grid-template-columns: 1fr 1fr; }
  .result-grid > div { padding: 16px; gap: 12px; }
  .result-grid svg { width: 24px; height: 24px; }
  .result-grid strong { font-size: 1.1rem; }
  .cstep { grid-template-columns: 40px 1fr; gap: 16px; }
  .cstep__n { width: 40px; height: 40px; }
  .dim { font-size: 0.8rem; }
  .wall { margin-right: 50px; }
  .dim--h { right: -30px; }
  .dim--h span { left: 8px; }
}


/* ---- Upload + full screen ---- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.cfg-actions { display: grid; grid-template-columns: 1fr 1.35fr; gap: 12px; }
.upload-btn { cursor: pointer; border-color: rgba(0, 229, 255, 0.45); }
.upload-btn:hover { background: rgba(0, 229, 255, 0.1); }
.upload-btn:focus-within { outline: 2px solid var(--cyan); outline-offset: 3px; }
@media (max-width: 640px) { .cfg-actions { grid-template-columns: 1fr; } }

.stage__tools { position: absolute; top: 12px; right: 12px; z-index: 3; display: flex; gap: 8px; }
.stage__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(5, 6, 10, 0.72); backdrop-filter: blur(8px); color: var(--text); font: 500 0.85rem var(--font-body); transition: border-color var(--t-fast), background-color var(--t-fast); }
.stage__btn:hover { border-color: var(--cyan); background: rgba(0, 229, 255, 0.12); }
.stage__btn svg { width: 18px; height: 18px; }
.stage__btn[hidden] { display: none; }

.wall__media { position: absolute; inset: 0; }
.wall__media img, .wall__media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.wall.has-media .wall__waves { display: none; }
.wall.has-media .wall__face { animation: none; background: #000; }
.wall.has-media .wall__grid { opacity: 0.55; }
.wall.has-media .wall__pixels { opacity: 0.6; }

.stage:fullscreen { height: 100vh; border-radius: 0; }
.stage:-webkit-full-screen { height: 100vh; border-radius: 0; }
.stage.is-pseudo-fs { position: fixed; inset: 0; z-index: 200; height: 100svh; border-radius: 0; }
/* small brand mark, shown only in the full-screen view */
.stage__logo { display: none; position: absolute; right: 24px; bottom: 20px; z-index: 3; width: 52px; height: auto; opacity: 0.9; pointer-events: none; }
.stage:fullscreen .stage__logo, .stage:-webkit-full-screen .stage__logo, .stage.is-pseudo-fs .stage__logo { display: block; }
html.rr-fs { overflow: hidden; }
html.rr-fs .nav, html.rr-fs .fab, html.rr-fs .scroll-progress { display: none; }
html.rr-fs .cfg-sec { isolation: auto; }
.stage:fullscreen .dim, .stage.is-pseudo-fs .dim { font-size: 1.2rem; }
.stage:fullscreen .stage__tools, .stage.is-pseudo-fs .stage__tools { top: 20px; right: 20px; }

/* ---------- Scoreboard ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
/* grid children may shrink below their content (e.g. the scoreboard ticker), so nothing widens the page */
.split > * { min-width: 0; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); }
.ticks li::before { content: ""; flex-shrink: 0; margin-top: 7px; width: 10px; height: 10px; border-radius: 2px; background: var(--green); box-shadow: 0 0 10px var(--green); }

/* ---------- Diagonal marquee ----------
   Vanilla port of the great-ui DiagonalMarqueeCarousel: five rotated rows,
   alternating direction, each row a duplicated track that loops at -50%. */
.diag { position: relative; height: clamp(420px, 65vh, 620px); display: grid; place-items: center; overflow: hidden; background: var(--bg); isolation: isolate; }
.diag__rows { position: absolute; z-index: 0; width: 200vw; display: flex; flex-direction: column; gap: 32px; transform: rotate(var(--angle, -25deg)); }
.diag__row { display: flex; width: 100%; overflow: hidden; }
.diag__track { display: flex; flex-shrink: 0; animation: diagLeft var(--speed, 120s) linear infinite; }
.diag__row--right .diag__track { animation-name: diagRight; }
.diag__track:hover, .diag.is-paused .diag__track { animation-play-state: paused; }
.diag__half { display: flex; flex-shrink: 0; }
.diag__cell { flex-shrink: 0; padding-right: 32px; }
.diag__card { position: relative; width: 400px; height: 300px; border-radius: 12px; overflow: hidden; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6); background: var(--surface); }
.diag__card img { width: 100%; height: 100%; object-fit: cover; }
.diag__card::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.4); transition: background-color var(--t-med); }
.diag__card:hover::after { background: rgba(0, 0, 0, 0.1); }
@keyframes diagLeft { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@keyframes diagRight { from { transform: translate3d(-50%, 0, 0); } to { transform: translate3d(0, 0, 0); } }
.diag__fade { position: absolute; inset-inline: 0; height: 25%; z-index: 1; pointer-events: none; }
.diag__fade--top { top: 0; background: linear-gradient(to bottom, var(--bg), transparent); }
.diag__fade--bottom { bottom: 0; background: linear-gradient(to top, var(--bg), transparent); }
.diag__title { position: relative; z-index: 2; text-align: center; padding: 28px 36px; border-radius: var(--r-xl); background: rgba(5, 6, 10, 0.72); backdrop-filter: blur(14px); border: 1px solid var(--line-strong); max-width: calc(100% - 32px); pointer-events: none; }
.diag__title .eyebrow { margin-bottom: 12px; }
.diag__headline { margin: 0; font: 700 clamp(2rem, 5vw, 3.6rem)/1.05 var(--font-head); letter-spacing: -0.03em; }
@media (max-width: 640px) {
  .diag__rows { gap: 18px; }
  .diag__cell { padding-right: 18px; }
  .diag__card { width: 240px; height: 180px; }
}

/* ---------- Scoreboard feature ---------- */
.ck { position: relative; display: flex; align-items: center; height: calc(100svh - var(--nav-h) - 12px); min-height: 520px; max-height: 900px; overflow: hidden; isolation: isolate;
  background: radial-gradient(ellipse 60% 80% at 0% 35%, #0b1633 0%, var(--bg) 70%); border-block: 1px solid var(--line); }
.ck > .container { max-width: 1600px; padding-inline: clamp(16px, 6vw, 112px); }
/* ground photo, pinned bottom-right; width set by initCricket so the board clears the copy */
.ck__scene { position: absolute; right: 0; bottom: 0; z-index: -1; width: 62vw; aspect-ratio: 1159 / 820;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.35) 16%, #000 27%), linear-gradient(to bottom, transparent 0%, #000 10%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.35) 16%, #000 27%), linear-gradient(to bottom, transparent 0%, #000 10%);
  mask-composite: intersect; }
.ck__bg { display: block; width: 100%; height: 100%; }
.ck__board { position: absolute; left: 0; top: 0; transform-origin: 0 0; pointer-events: none; }
.ck__badge { position: absolute; margin: 0; width: 29.7%; height: 7.8%; display: flex; align-items: center; justify-content: center; gap: 0.7em;
  border-radius: 999px; background: rgba(9, 11, 18, 0.95); border: 1px solid rgba(255, 255, 255, 0.16); backdrop-filter: blur(8px);
  font: 500 clamp(0.62rem, 1vw, 1rem) var(--font-body); color: var(--text); white-space: nowrap; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.7); }
.ck__badge svg { width: 1.6em; height: 1.6em; color: #ffc233; filter: drop-shadow(0 0 6px rgba(255, 194, 51, 0.7)); }

.ck__content { padding-block: clamp(36px, 7vh, 96px); }
.ck__copy { max-width: min(600px, 44%); }
.ck .eyebrow .sep { margin: 0 0.7em; color: var(--text-3); }
.ck h2 { font-size: clamp(2.4rem, 4.4vw, 4.4rem); line-height: 1.02; letter-spacing: -0.035em; margin: 0 0 18px; }
.ck h2 .grad-text { background: linear-gradient(90deg, var(--cyan), #5b8dff 50%, #a77bff); -webkit-background-clip: text; background-clip: text; }
.ck__lede { text-shadow: 0 1px 12px rgba(5, 6, 10, 0.9); color: var(--text-2); font-size: clamp(1rem, 1.35vw, 1.22rem); margin: 0 0 clamp(18px, 3vh, 28px); max-width: 30em; }
.ck__list { list-style: none; margin: 0 0 clamp(20px, 3.4vh, 32px); padding: 0; display: grid; gap: clamp(10px, 1.8vh, 18px); }
.ck__list li { display: flex; align-items: center; gap: 18px; font-size: clamp(0.98rem, 1.2vw, 1.1rem); color: var(--text); }
.ck__list svg { width: 32px; height: 32px; stroke-width: 1.5; color: var(--cyan); filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.45)); }
.ck__note { margin: 14px 0 0; color: var(--text-3); font-size: 0.92rem; }

@media (max-width: 900px) {
  .ck { flex-direction: column; align-items: stretch; height: auto; min-height: 0; max-height: none; }
  .ck__copy { max-width: none; }
  .ck__content { padding-bottom: 8px; }
  .ck__scene { position: relative; width: 100% !important; order: 2;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 12%); mask-image: linear-gradient(to bottom, transparent 0%, #000 12%); }
}

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 14px; }
.gallery__item { position: relative; padding: 0; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: var(--surface); text-align: left; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out), filter var(--t-med); filter: saturate(0.9); }
.gallery__item:hover img { transform: scale(1.06); filter: saturate(1.15); }
.gallery__item span { position: absolute; left: 12px; bottom: 12px; right: 12px; font: 500 0.82rem var(--font-body); padding: 8px 12px; border-radius: 10px; background: rgba(5,6,10,0.72); backdrop-filter: blur(8px); border: 1px solid var(--line); transform: translateY(6px); opacity: 0.92; transition: transform var(--t-med) var(--ease-out), opacity var(--t-med); width: fit-content; max-width: calc(100% - 24px); }
.gallery__item:hover span { transform: none; opacity: 1; }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; } }
@media (max-width: 480px) { .gallery { grid-auto-rows: 150px; gap: 10px; } .g-wide { grid-column: span 2; } }

.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 92vh; color: var(--text); }
.lightbox::backdrop { background: rgba(2,3,6,0.88); backdrop-filter: blur(6px); }
.lightbox[open] { animation: lbIn 320ms var(--ease-out); }
@keyframes lbIn { from { opacity: 0; transform: scale(0.96); } }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: var(--r-md); }
.lightbox p { text-align: center; margin: 14px 0 0; color: var(--text-2); }
.lightbox__close { position: fixed; top: 16px; right: 16px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(5,6,10,0.7); }

/* ---------- Process ---------- */
.process__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(16px, 3vh, 40px); }
.process__head h2 { margin: 0; }
.process__head .eyebrow { margin-bottom: 14px; }
.process__aside { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); padding-left: clamp(20px, 3vw, 40px); border-left: 1px solid var(--line-strong); margin-bottom: 8px; }
.process__aside p { margin: 0; font: 400 clamp(1.05rem, 1.5vw, 1.3rem)/1.45 var(--font-head); color: var(--text); }
.btn--outline { position: relative; background: transparent; color: var(--text); border: 0; isolation: isolate; }
.btn--outline::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; z-index: -1; }
.btn--outline:hover { background: rgba(124, 92, 255, 0.12); box-shadow: 0 0 24px -6px rgba(124, 92, 255, 0.7); }
.btn--outline:hover svg { transform: translate(2px, -2px); }

.pcards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pcard { position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: #0b0e19; border: 1px solid var(--line-strong); transition: transform var(--t-med) var(--ease-out), border-color var(--t-med), box-shadow var(--t-med); }
.pcard:hover { transform: translateY(-4px); border-color: rgba(0, 229, 255, 0.4); box-shadow: 0 24px 60px -30px rgba(0, 229, 255, 0.5); }
.pcard__img { position: relative; margin: 0; height: clamp(150px, 27vh, 280px); overflow: hidden; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.pcard:hover .pcard__img img { transform: scale(1.06); }
.pcard__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(5, 6, 10, 0.35), transparent 30%, transparent 55%, #0b0e19 100%); }
.pcard__n { position: absolute; top: 14px; left: 20px; z-index: 1; font: 400 clamp(2rem, 3vw, 2.6rem)/1 var(--font-head); color: rgba(255, 255, 255, 0.92); text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6); letter-spacing: -0.02em; }
.pcard__body { display: grid; grid-template-columns: 32px 1fr; gap: 16px; padding: 6px 24px clamp(16px, 3vh, 28px); margin-top: -18px; position: relative; flex: 1; }
.pcard__body > svg { width: 32px; height: 32px; color: var(--cyan); stroke-width: 1.5; margin-top: 2px; filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.45)); }
.pcard h3 { font-size: clamp(1.15rem, 1.5vw, 1.35rem); margin: 6px 0 10px; }
.pcard p { margin: 0; color: var(--text-2); font-size: 0.95rem; line-height: 1.6; }

.ptimeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; height: 56px; }
.ptimeline__line { position: absolute; left: 12.5%; right: 12.5%; top: 38px; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--violet)); box-shadow: 0 0 12px rgba(0, 229, 255, 0.5); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease-out) 0.2s; }
.ptimeline.is-in .ptimeline__line { transform: scaleX(1); }
.ptimeline i { position: relative; justify-self: center; width: 1px; height: 30px; background: repeating-linear-gradient(to bottom, rgba(0, 229, 255, 0.6) 0 3px, transparent 3px 6px); }
.ptimeline i::after { content: ""; position: absolute; left: 50%; top: 30px; width: 18px; height: 18px; transform: translate(-50%, -50%); border-radius: 50%; background: #0b0e19; border: 2px solid var(--cyan); box-shadow: inset 0 0 0 3px #0b0e19, inset 0 0 0 9px var(--cyan), 0 0 14px rgba(0, 229, 255, 0.8); }
.ptimeline i:last-of-type::after { border-color: var(--violet); box-shadow: inset 0 0 0 3px #0b0e19, inset 0 0 0 9px var(--violet), 0 0 14px rgba(124, 92, 255, 0.9); }

@media (max-width: 1100px) {
  .pcards { grid-template-columns: repeat(2, 1fr); }
  .ptimeline { display: none; }
}
@media (max-width: 760px) {
  .process__head { flex-direction: column; align-items: flex-start; }
  .process__aside { padding-left: 0; border-left: 0; flex-wrap: wrap; }
}
@media (max-width: 560px) { .pcards { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.split--about { grid-template-columns: 0.9fr 1.1fr; }
.about__img { position: relative; margin: 0; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/5; }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__img figcaption { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 10px; font: 500 0.82rem var(--font-mono); padding: 10px 14px; border-radius: 999px; background: rgba(5,6,10,0.75); backdrop-filter: blur(8px); border: 1px solid var(--line); }
#about h2 { margin-bottom: 24px; }
#about p { color: var(--text-2); font-size: 1.05rem; }
#about p strong { color: var(--text); }
.badges { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.badges li { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line); font-size: 0.92rem; }
.badges svg { color: var(--cyan); }
@media (max-width: 900px) { .split--about { grid-template-columns: 1fr; } .about__img { aspect-ratio: 16/10; } }
@media (max-width: 420px) { .badges { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact { overflow: hidden; padding-block: clamp(20px, 3.5vh, 56px); }
.contact__glow { position: absolute; width: 900px; height: 900px; right: -300px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(124,92,255,0.22), rgba(255,46,136,0.08) 40%, transparent 70%); pointer-events: none; z-index: -1; }
.split--contact { align-items: start; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 4vw, 64px); }
.contact h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); margin-bottom: clamp(8px, 1.4vh, 14px); }
.contact .eyebrow { margin-bottom: clamp(8px, 1.4vh, 16px); }
.contact .section__lede { font-size: 1rem; margin-bottom: 0; }
.contact__list { list-style: none; padding: 0; margin: clamp(14px, 2.4vh, 28px) 0 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
.contact__list li { display: flex; align-items: center; gap: 14px; padding: clamp(8px, 1.4vh, 14px) 0; border-bottom: 1px solid var(--line); min-width: 0; }
.contact__list svg { width: 22px; height: 22px; color: var(--cyan); }
.contact__list div { display: grid; gap: 2px; }
.contact__list span { font-size: 0.8rem; color: var(--text-3); }
.contact__list a, .contact__list strong { font: 500 0.98rem/1.35 var(--font-head); text-decoration: none; }
.contact__list a:hover { color: var(--cyan); }
.quote { background: rgba(16,19,29,0.8); backdrop-filter: blur(14px); border: 1px solid var(--line-strong); border-radius: var(--r-xl); padding: clamp(18px, 3vh, 36px) clamp(20px, 2.6vw, 36px); display: grid; gap: clamp(10px, 1.8vh, 18px); box-shadow: 0 40px 100px -40px rgba(124,92,255,0.5); }
.quote h3 { font-size: 1.4rem; margin-bottom: 0; }
.quote textarea { min-height: clamp(60px, 9vh, 92px); }
.quote input, .quote select { min-height: clamp(42px, 5.6vh, 48px); }
.quote .field label { margin-bottom: 0; }
.opt { color: var(--text-3); font-weight: 400; }
.err { color: #ff7a7a; font-size: 0.85rem; margin: 0; min-height: 0; }
.err:empty { display: none; }
.quote__alt { margin: 0; text-align: center; font-size: 0.9rem; color: var(--text-3); }
.quote__alt a { color: var(--text-2); }

/* ---------- Rating & reviews ---------- */
.stars { margin: 0; color: #ffc233; letter-spacing: 0.08em; text-shadow: 0 0 10px rgba(255, 194, 51, 0.45); }
.rating-chip { display: inline-flex; align-items: center; gap: 8px; width: fit-content; margin-top: 28px; padding: 10px 16px; min-height: 44px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(10, 12, 20, 0.6); backdrop-filter: blur(8px); text-decoration: none; font-size: 0.92rem; color: var(--text-2); transition: border-color var(--t-fast); }
.rating-chip strong { color: var(--text); font-family: var(--font-head); }
.rating-chip:hover { border-color: #ffc233; }

/* ---- Google reviews ---- */
.rv { overflow: hidden; isolation: isolate; background:
  radial-gradient(ellipse 40% 60% at 100% 0%, rgba(124, 92, 255, 0.22), transparent 70%),
  radial-gradient(ellipse 30% 50% at 0% 100%, rgba(0, 229, 255, 0.12), transparent 70%); }
.rv__dots { position: absolute; z-index: -1; pointer-events: none; inset: 0;
  background:
    radial-gradient(circle, rgba(124, 92, 255, 0.55) 1px, transparent 1.6px) 0 0 / 10px 10px;
  -webkit-mask-image: radial-gradient(ellipse 22% 40% at 98% 10%, #000, transparent 70%), radial-gradient(ellipse 14% 40% at 0% 60%, #000, transparent 70%);
  mask-image: radial-gradient(ellipse 22% 40% at 98% 10%, #000, transparent 70%), radial-gradient(ellipse 14% 40% at 0% 60%, #000, transparent 70%);
  opacity: 0.6; }

.rv__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(20px, 3vw, 32px); }
.rv__eyebrow { display: flex; align-items: center; gap: 16px; margin: 0 0 14px; font: 600 0.82rem/1 var(--font-body); letter-spacing: 0.22em; text-transform: uppercase; color: var(--cyan); }
.rv__eyebrow::after { content: ""; width: 70px; height: 1px; background: linear-gradient(90deg, var(--cyan), transparent); }
.rv__head h2 { margin: 0; font-size: clamp(2.2rem, 4.4vw, 4rem); letter-spacing: -0.035em; line-height: 1.04; }
.rv__l1 { background: linear-gradient(90deg, #fff 45%, #b9a8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rv__l2 { background: linear-gradient(90deg, var(--cyan), #7f8cff 55%, #a77bff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rv__aside { display: flex; align-items: center; gap: 14px; margin: 0 0 10px; color: var(--text-2); font-size: clamp(1rem, 1.3vw, 1.15rem); letter-spacing: 0.02em; white-space: nowrap; }
.rv__aside::after { content: ""; width: 60px; height: 1px; background: var(--line-strong); }

.rv > .container { max-width: 1520px; }
.rv__grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(18px, 2vw, 28px); align-items: stretch; }

/* score card: gold 5.0 over a field of golden LED dots */
.rv__score { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; padding: clamp(28px, 4vw, 48px) 24px; border-radius: 22px; border: 1px solid rgba(255, 255, 255, 0.14); background: linear-gradient(160deg, #141826, #0a0c14 60%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06); }
.rv__score-bg { position: absolute; inset: 0; z-index: -1; perspective: 600px; }
.rv__score-bg::before { content: ""; position: absolute; left: 10%; right: -40%; top: 30%; bottom: -60%;
  background: radial-gradient(circle, #ffcf6b 0 1.4px, transparent 2px) 0 0 / 11px 11px;
  transform: rotateX(58deg) rotateZ(-28deg); transform-origin: center;
  -webkit-mask-image: radial-gradient(ellipse 55% 45% at 65% 40%, #000 0%, rgba(0,0,0,0.5) 45%, transparent 75%);
  mask-image: radial-gradient(ellipse 55% 45% at 65% 40%, #000 0%, rgba(0,0,0,0.5) 45%, transparent 75%);
  filter: drop-shadow(0 0 3px rgba(255, 190, 80, 0.9)); opacity: 0.85; }
.rv__score-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 50% at 50% 40%, rgba(10, 12, 20, 0.85), transparent 75%); }
.rv__label { margin: 0 0 4px; font: 600 0.8rem var(--font-body); letter-spacing: 0.24em; text-transform: uppercase; color: var(--cyan); }
.rv__label--left { margin: clamp(18px, 2.4vw, 26px) 0 12px; color: var(--text-2); letter-spacing: 0.22em; }
.rv__num { margin: 0; font: 700 clamp(5rem, 9vw, 8.5rem)/0.95 var(--font-head); letter-spacing: -0.04em;
  background: linear-gradient(180deg, #fff6d8 0%, #ffd36e 38%, #f0a43a 62%, #ffdf8a 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 0 rgba(120, 70, 10, 0.55)) drop-shadow(0 0 26px rgba(255, 180, 60, 0.45)); }
.rv__stars { margin: 0; color: #ffc233; font-size: 1.9rem; letter-spacing: 0.12em; text-shadow: 0 0 14px rgba(255, 194, 51, 0.55); }
.rv__stars--sm { font-size: 1.5rem; text-align: left; }
.rv__based { margin: 4px 0 18px; color: var(--text-2); font-size: 1.05rem; }

/* quote card */
.rv__right { display: flex; flex-direction: column; min-width: 0; }
.rv__quote { margin: 0; padding: clamp(22px, 3vw, 36px) clamp(22px, 3.4vw, 44px); border-radius: 22px; border: 1px solid rgba(255, 255, 255, 0.14); background: linear-gradient(160deg, rgba(22, 26, 40, 0.92), rgba(10, 12, 20, 0.92)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05); }
.rv__q { display: grid; grid-template-columns: auto 1fr; gap: clamp(16px, 2.4vw, 32px); margin: 14px 0 22px; }
.rv__mark { font: 700 4.6rem/0.8 Georgia, "Times New Roman", serif; color: #5b6276; }
.rv__q blockquote { margin: 0; font: 400 clamp(1.1rem, 1.7vw, 1.45rem)/1.6 var(--font-body); color: var(--text); letter-spacing: 0.01em; }
.rv__quote figcaption { display: flex; align-items: center; gap: 16px; }
.rv__avatar { width: 52px; height: 52px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #3b8cff, #0a5bd6); color: #fff; font: 700 1.25rem var(--font-head); box-shadow: 0 0 22px -4px rgba(30, 120, 255, 0.8); }
.rv__who { display: grid; gap: 2px; }
.rv__who strong { font: 600 1.02rem var(--font-head); }
.rv__who span { font-size: 0.9rem; color: var(--text-2); }
.rv__rule { flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-strong), rgba(255, 255, 255, 0.06)); }
.rv__mark--end { font-size: 3.6rem; line-height: 0.6; padding-top: 18px; }

/* what customers appreciate */
.rv__chips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 10px; }
@media (max-width: 1250px) { .rv__chips { display: flex; flex-wrap: wrap; } }
.rv__chips li { display: inline-flex; align-items: center; gap: 9px; padding: 9px 14px; white-space: nowrap; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(14, 17, 28, 0.85); font-size: 0.9rem; color: var(--text); transition: border-color var(--t-fast), background-color var(--t-fast); }
.rv__chips li:hover { border-color: rgba(124, 92, 255, 0.55); background: rgba(124, 92, 255, 0.08); }
.rv__chips svg { width: 20px; height: 20px; stroke-width: 1.5; color: #8fa2ff; }

@media (max-width: 1000px) {
  .rv__grid { grid-template-columns: 1fr; }
  .rv__head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .rv__q { grid-template-columns: 1fr; gap: 0; }
  .rv__mark { font-size: 3.4rem; }
  .rv__chips li { padding: 9px 14px; font-size: 0.88rem; }
  .rv__aside { white-space: normal; }
}



.map { margin-top: clamp(14px, 2.4vh, 28px); position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-strong); }
.map iframe { display: block; width: 100%; height: clamp(150px, 24vh, 260px); border: 0; }
.map .btn { position: absolute; right: 12px; bottom: 12px; background: rgba(5, 6, 10, 0.85); }

@media (max-width: 900px) { .split--contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .contact__list { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 48px 0 24px; background: var(--bg-2); }
.footer__inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer__inner p { margin-top: 16px; font-size: 0.92rem; }
.footer__cols { display: flex; gap: 64px; }
.footer__cols div { display: grid; gap: 10px; align-content: start; }
.footer__cols h4 { font-size: 0.8rem; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--text-3); font-weight: 500; margin-bottom: 6px; }
.footer__cols a { text-decoration: none; color: var(--text-2); font-size: 0.95rem; padding: 2px 0; }
.footer__cols a:hover { color: var(--text); }
.footer__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--text-3); }

.fab { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 10px 30px -6px rgba(37,211,102,0.6); transition: transform var(--t-med) var(--ease-out); }
.fab svg { width: 28px; height: 28px; }
.fab:hover { transform: scale(1.08) rotate(-6deg); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
/* hero animates on load rather than on scroll */
.hero .reveal { opacity: 1; transform: none; transition: none; animation: heroIn 1s var(--ease-out) both; }
.hero .reveal:nth-child(2) { animation-delay: 90ms; }
.hero .reveal:nth-child(3) { animation-delay: 180ms; }
.hero .reveal:nth-child(4) { animation-delay: 270ms; }
.hero .reveal:nth-child(5) { animation-delay: 360ms; }
@keyframes heroIn { from { opacity: 0; transform: translateY(26px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}
