/* ==========================================================================
   legacy-alt.css — component styles for the alternate landing concepts
   (index-alt.html / -alt2 / -alt3 / -alt4). Loaded AFTER styles.css so the
   shared chrome (header, nav, buttons, footer, cart, container, sections,
   marquee) comes from the current design system; this file only adds the
   alt-specific hero/section components. Compatibility tokens below keep the
   old --accent/--bg/... names resolving without touching the new palette.
   ========================================================================== */

:root {
  --bg: #f5f7fa;
  --bg-2: #eef1f6;
  --surface: #ffffff;
  --surface-2: #f3f6fb;
  --line-soft: #eaeef4;
  --text: #131922;
  --text-soft: #4d5765;
  --text-mute: #8a94a3;
  --accent: #1f6fe0;
  --accent-deep: #1657b8;
  --accent-glow: rgba(31, 111, 224, 0.10);
  --accent-line: rgba(31, 111, 224, 0.26);
  --radius-sm: 8px;
  --radius-lg: 22px;
  --shadow-sm: 0 10px 26px -16px rgba(23, 52, 110, 0.20);
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, monospace;
}

.section-tight { padding-block: 72px; }

/* ---------- Dealer badge (shared by alt3 / alt4) ---------- */
.dealer-badge { display: inline-flex; align-items: center; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px 18px 10px 12px; box-shadow: var(--shadow-sm); margin-bottom: 22px; }
.dealer-badge img { height: 48px; width: auto; }
.dealer-badge .db-divider { width: 1px; height: 36px; background: var(--line); }
.dealer-badge .db-text { display: flex; flex-direction: column; gap: 2px; line-height: 1.25; }
.dealer-badge .db-title { font-family: var(--font-display); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.dealer-badge .db-sub { font-size: 0.78rem; color: var(--text-mute); }

/* ==========================================================================
   ALT 1 — showcase hero (product carousel on a storm-cloud wash)
   ========================================================================== */
.showcase-hero { position: relative; padding-top: 148px; padding-bottom: 64px; overflow: hidden; }
.showcase-hero .hero-grid { opacity: 0.5; }
.sh-inner { position: relative; z-index: 2; text-align: center; }
.sh-head { max-width: 720px; margin: 0 auto; }
.sh-head h1 { margin-bottom: 16px; }
.sh-head p { color: var(--text-soft); max-width: 54ch; margin-inline: auto; }
.sh-stage { position: relative; display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 28px; }
.sh-frame { position: relative; width: min(440px, 76vw); height: 360px; }
.sh-glow { position: absolute; inset: 0; margin: auto; width: 62%; height: 62%; background: radial-gradient(closest-side, var(--accent-glow), transparent 72%); filter: blur(10px); z-index: 0; }
.sh-slide { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; transform: scale(0.9) translateY(12px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); z-index: 1; }
.sh-slide.active { opacity: 1; transform: none; z-index: 2; }
.sh-slide img { max-height: 340px; width: auto; filter: drop-shadow(0 30px 50px rgba(20, 40, 80, 0.22)); animation: sh-float 6s ease-in-out infinite; }
@keyframes sh-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.sh-nav { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; color: var(--text); box-shadow: var(--shadow-sm); transition: 0.2s var(--ease); flex-shrink: 0; z-index: 3; cursor: pointer; }
.sh-nav:hover { border-color: var(--accent-line); color: var(--accent); background: var(--accent-glow); transform: scale(1.07); }
.sh-nav svg { width: 22px; height: 22px; }
.sh-info { margin-top: 18px; }
.sh-cat { font-family: var(--font-display); font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.sh-name { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 600; letter-spacing: -0.02em; margin: 6px 0 16px; }
.sh-specs { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.sh-chip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 15px; border: 1px solid var(--line); border-radius: 100px; background: var(--surface); font-family: var(--font-display); font-size: 0.84rem; font-weight: 500; }
.sh-chip svg { width: 15px; height: 15px; color: var(--accent); }
.sh-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.sh-dots { display: flex; gap: 10px; justify-content: center; margin-top: 32px; }
.sh-dots button { width: 9px; height: 9px; padding: 0; border-radius: 50%; background: var(--line); transition: 0.25s var(--ease); border: none; cursor: pointer; }
.sh-dots button:hover { background: var(--text-mute); }
.sh-dots button.active { background: var(--accent); width: 26px; border-radius: 6px; }
@media (max-width: 640px) { .sh-stage { gap: 4px; } .sh-nav { width: 44px; height: 44px; } }

/* alt1 storm wash + lightning linework */
.alt-showcase .showcase-hero.hero-storm {
  background-color: #dde4ee;
  background-image:
    linear-gradient(180deg, rgba(238, 242, 248, 0.72) 0%, rgba(241, 244, 249, 0.82) 50%, var(--bg) 88%),
    url('../assets/blog/lightning-thunderstorm.jpeg');
  background-position: center top; background-size: cover; background-repeat: no-repeat;
  background-blend-mode: normal, luminosity;
}
.alt-showcase .hero-storm .hero-grid { opacity: 0.35; }
.alt-showcase .hero-bolts { position: absolute; inset: 0; z-index: 0; pointer-events: none; width: 100%; height: 100%; }
.alt-showcase .hero-storm .hero-bolts path { fill: none; stroke: #6ea3f5; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; opacity: 0; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 5px rgba(140, 180, 255, 0.9)); }
.alt-showcase .hero-storm .hero-bolts .bolt-flicker { animation: bolt-strike 9s linear infinite; }
.alt-showcase .hero-storm .hero-bolts .bolt-branch.b1 { animation: bolt-strike 9s linear infinite; }
.alt-showcase .hero-storm .hero-bolts .bolt-flicker-2 { animation: bolt-strike 13s linear infinite 4.6s; }
.alt-showcase .hero-storm .hero-bolts .bolt-branch.b2 { animation: bolt-strike 13s linear infinite 4.6s; }
@keyframes bolt-strike { 0%, 80% { stroke-dashoffset: 1; opacity: 0; } 82% { stroke-dashoffset: 0; opacity: 1; } 84% { opacity: 0.3; } 86% { opacity: 0.85; } 90%, 100% { stroke-dashoffset: 0; opacity: 0; } }
.alt-showcase .sh-glow { width: 130%; height: 130%; opacity: 1; filter: none; background: repeating-radial-gradient(circle at 50% 50%, transparent 0 54px, rgba(31, 111, 224, 0.13) 54px 55.5px); -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent 92%); mask-image: radial-gradient(closest-side, #000 30%, transparent 92%); border-radius: 50%; }

/* ==========================================================================
   ALT 2 — asymmetric split hero + spec bento + exploded view
   ========================================================================== */
.a2-hero { position: relative; padding-top: 128px; padding-bottom: 56px; overflow: hidden; }
.a2-hero .hero-grid { opacity: 0.42; }
.a2-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 52px; align-items: center; }
.a2-headline { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.4rem, 4.4vw, 3.55rem); line-height: 1.04; letter-spacing: -0.025em; color: var(--text); text-wrap: balance; }
.a2-headline .hl { color: var(--accent); }
.a2-hero .lead { margin-top: 22px; }
.a2-hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.a2-figure { position: relative; display: grid; place-items: center; min-height: 420px; }
.a2-figure::before { content: ""; position: absolute; width: 74%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, var(--accent-glow), transparent 72%); filter: blur(6px); }
.a2-figure img { position: relative; z-index: 1; max-height: 440px; width: auto; filter: drop-shadow(0 34px 54px rgba(20, 40, 80, 0.22)); }

.a2-logos-wrap { border-block: 1px solid var(--line-soft); background: var(--bg-2); padding-block: 38px; }
.a2-logos-label { text-align: center; font-family: var(--font-display); font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 26px; }
.a2-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 28px 52px; }
.a2-logos img { height: 42px; width: auto; opacity: 0.92; mix-blend-mode: multiply; }

.a2-bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.a2-cell { border-radius: var(--radius-lg); border: 1px solid var(--line); padding: 32px; display: flex; flex-direction: column; }
.a2-feature { grid-column: span 2; min-height: 252px; justify-content: flex-end; position: relative; overflow: hidden; background: linear-gradient(155deg, var(--surface-2), #e6eefb); }
.a2-feature h3 { position: relative; font-size: clamp(1.4rem, 2.2vw, 1.85rem); letter-spacing: -0.01em; margin-bottom: 12px; }
.a2-feature p { position: relative; color: var(--text-soft); max-width: 40ch; }
.a2-media { grid-column: span 2; padding: 0; border: 1px solid var(--line); overflow: hidden; min-height: 252px; }
.a2-media img { width: 100%; height: 100%; object-fit: cover; }
.a2-stat { align-items: flex-start; justify-content: center; min-height: 158px; }
.a2-stat .n { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem, 4vw, 3.2rem); line-height: 1; color: var(--text); }
.a2-stat .l { color: var(--text-mute); margin-top: 8px; font-size: 0.94rem; }
.a2-accent { background: var(--accent-deep); border-color: var(--accent-deep); justify-content: center; min-height: 158px; }
.a2-accent h3 { color: #fff; font-size: 1.32rem; letter-spacing: -0.01em; margin-bottom: 8px; }
.a2-accent p { color: rgba(255, 255, 255, 0.86); font-size: 0.94rem; }

.a2-quote { max-width: 860px; margin-inline: auto; text-align: center; }
.a2-quote blockquote { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.3; letter-spacing: -0.015em; color: var(--text); text-wrap: balance; }
.a2-quote cite { display: block; margin-top: 24px; font-style: normal; font-family: var(--font-display); font-size: 0.9rem; letter-spacing: 0.04em; color: var(--text-mute); }

.a2-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.a2-shot img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line-soft); }
.a2-shot .cap { margin-top: 12px; font-family: var(--font-display); font-weight: 500; font-size: 0.94rem; }
.a2-shot .cap span { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.8rem; color: var(--text-mute); margin-top: 1px; }

/* alt2 exploded view (scroll-driven; degrades to a static stack) */
.a2x-wrap { position: relative; height: 340vh; background: var(--bg); }
.a2x-sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; padding-top: 72px; overflow: hidden; }
.a2x-sticky > .container { width: 100%; }
.a2x-head { text-align: center; max-width: 560px; margin: 0 auto 18px; }
.a2x-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.a2x-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 28px; align-items: center; }
.a2x-stage { position: relative; width: min(60vh, 480px); aspect-ratio: 1; container-type: size; margin-inline: auto; }
.a2x-assembled { position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain; opacity: var(--fade-assembled, 1); transform: scale(calc(1 + var(--p, 0) * 0.18)); }
.a2x-layers { position: absolute; inset: 0; }
.a2x-layer { position: absolute; left: 0; width: 100%; overflow: hidden; opacity: var(--fade-layers, 0); transform: translateY(calc((1 - var(--p, 0)) * var(--c, 0cqh))); will-change: transform; }
.a2x-layer img { position: absolute; left: 0; width: 100%; object-fit: cover; max-width: none; }
.a2x-labels { display: flex; flex-direction: column; gap: clamp(16px, 3.5vh, 36px); }
.a2x-left { text-align: right; align-items: flex-end; }
.a2x-right { text-align: left; align-items: flex-start; }
.a2x-label { max-width: 300px; opacity: 0; transform: translateY(14px); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); }
.a2x-label.on { opacity: 1; transform: none; }
.a2x-label h3 { font-size: 0.98rem; color: var(--text); display: inline-flex; align-items: center; gap: 10px; }
.a2x-left .a2x-label h3::after, .a2x-right .a2x-label h3::before { content: ""; width: 22px; height: 1px; background: var(--accent); flex: none; }
.a2x-label p { font-size: 0.84rem; color: var(--text-soft); margin-top: 6px; line-height: 1.55; }
.a2x-hint { margin-top: 16px; text-align: center; font-family: var(--font-display); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-mute); display: flex; align-items: center; justify-content: center; gap: 8px; }
.a2x-hint svg { width: 14px; height: 14px; animation: a2x-bob 1.6s ease-in-out infinite; }
.a2x-wrap.exploding .a2x-hint { opacity: 0; }
@keyframes a2x-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@media (max-width: 920px) {
  .a2x-wrap { height: 280vh; }
  .a2x-grid { grid-template-columns: 1fr; gap: 18px; }
  .a2x-stage { width: min(46vh, 340px); }
  .a2x-labels { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; }
  .a2x-left, .a2x-right { text-align: left; align-items: flex-start; }
  .a2x-label p { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .a2x-wrap { height: auto; }
  .a2x-sticky { position: static; height: auto; padding-block: 96px 56px; }
  .a2x-assembled { display: none; }
  .a2x-hint { display: none; }
}

/* ==========================================================================
   ALT 3 — dark pedestal hero
   ========================================================================== */
.a3-hero { position: relative; overflow: hidden; padding-top: 150px; padding-bottom: 84px;
  background:
    radial-gradient(ellipse 70% 55% at 62% 42%, rgba(31, 111, 224, 0.14), transparent 65%),
    radial-gradient(ellipse 60% 45% at 8% 100%, rgba(31, 111, 224, 0.1), transparent 70%),
    linear-gradient(168deg, #081124 0%, #0a1730 55%, #081227 100%); }
.a3-bg { position: absolute; inset: 0; pointer-events: none; background: url('../assets/blog/lightning-thunderstorm.jpeg') right top / cover no-repeat; mix-blend-mode: screen; opacity: 0.5; -webkit-mask-image: linear-gradient(90deg, transparent 52%, #000 88%); mask-image: linear-gradient(90deg, transparent 52%, #000 88%); }
.a3-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr minmax(300px, 0.85fr) 0.65fr; gap: 44px; align-items: center; }
.a3-badge { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.16); box-shadow: none; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.a3-badge img { filter: brightness(0) invert(1); opacity: 0.95; }
.a3-badge .db-divider { background: rgba(255, 255, 255, 0.18); }
.a3-badge .db-title { color: #ffffff; }
.a3-badge .db-sub { color: rgba(168, 181, 202, 0.95); line-height: 1.5; }
.a3-headline { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.5rem, 4.6vw, 3.9rem); line-height: 1.05; letter-spacing: -0.025em; color: #ffffff; text-wrap: balance; }
.a3-headline .hl { color: #3f87f0; }
.a3-lead { margin-top: 22px; max-width: 46ch; font-size: clamp(1rem, 1.4vw, 1.12rem); color: #a7b4c8; }
.a3-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.a3-ghost { background: transparent; border-color: rgba(255, 255, 255, 0.28); color: #ffffff; }
.a3-ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.5); }
.a3-stage { position: relative; display: flex; align-items: flex-end; justify-content: center; min-height: 460px; }
.a3-rings { position: absolute; left: 50%; top: 46%; width: 560px; height: 560px; transform: translate(-50%, -50%); background: repeating-radial-gradient(circle at 50% 50%, transparent 0 64px, rgba(94, 150, 230, 0.16) 64px 65.4px); -webkit-mask-image: radial-gradient(closest-side, #000 25%, transparent 95%); mask-image: radial-gradient(closest-side, #000 25%, transparent 95%); border-radius: 50%; }
.a3-pedestal { position: absolute; left: 50%; bottom: 26px; width: 320px; height: 86px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(ellipse closest-side at 50% 50%, rgba(31, 111, 224, 0.5), rgba(31, 111, 224, 0.12) 62%, transparent 75%); }
.a3-pedestal::before, .a3-pedestal::after { content: ""; position: absolute; left: 50%; top: 50%; border-radius: 50%; transform: translate(-50%, -50%); border: 1.5px solid rgba(86, 148, 235, 0.55); }
.a3-pedestal::before { width: 78%; height: 64%; }
.a3-pedestal::after { width: 100%; height: 88%; border-color: rgba(86, 148, 235, 0.25); animation: a3-pulse 3.6s var(--ease) infinite; }
@keyframes a3-pulse { 0% { transform: translate(-50%, -50%) scale(0.78); opacity: 0.9; } 100% { transform: translate(-50%, -50%) scale(1.3); opacity: 0; } }
.a3-product { position: relative; z-index: 2; max-height: 430px; width: auto; margin-bottom: 44px; filter: drop-shadow(0 36px 50px rgba(2, 6, 16, 0.65)); animation: a3-float 7s ease-in-out infinite; }
@keyframes a3-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.a3-callout { position: absolute; left: -34px; bottom: 38%; z-index: 3; display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 0.86rem; font-weight: 600; line-height: 1.35; color: #ffffff; }
.a3-check { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.06); color: #7db1f7; }
.a3-check svg { width: 16px; height: 16px; }
.a3-features { display: flex; flex-direction: column; gap: clamp(28px, 5vh, 52px); }
.a3-feature { display: flex; align-items: flex-start; gap: 16px; }
.a3-fic { width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.05); color: #7db1f7; }
.a3-fic svg { width: 21px; height: 21px; }
.a3-feature h3 { font-size: 1.02rem; font-weight: 600; color: #ffffff; letter-spacing: -0.01em; }
.a3-feature p { font-size: 0.86rem; color: #93a2ba; margin-top: 3px; }

/* alt3 / alt4 header over the dark hero: transparent until scrolled, light nav + logo swap */
.alt3 .nav-logo .logo-on-light { display: none; }
.alt3 .site-header.solid .nav-logo .logo-on-dark { display: none; }
.alt3 .site-header.solid .nav-logo .logo-on-light { display: block; }
.alt3 .site-header:not(.solid) { background: transparent; border-bottom-color: transparent; box-shadow: none; }
.alt3 .site-header:not(.solid) .nav-links:not(.open) a { color: rgba(214, 224, 238, 0.82); }
.alt3 .site-header:not(.solid) .nav-links:not(.open) a:hover,
.alt3 .site-header:not(.solid) .nav-links:not(.open) a.active { color: #ffffff; }
.alt3 .site-header:not(.solid) .nav-toggle span,
.alt3 .site-header:not(.solid) .nav-toggle span::before,
.alt3 .site-header:not(.solid) .nav-toggle span::after { background: #ffffff; }

@media (max-width: 1100px) { .a3-grid { grid-template-columns: 1fr 1fr; } .a3-features { flex-direction: row; grid-column: 1 / -1; justify-content: center; flex-wrap: wrap; gap: 28px 44px; } }
@media (max-width: 760px) { .a3-hero { padding-top: 124px; } .a3-grid { grid-template-columns: 1fr; gap: 36px; } .a3-stage { min-height: 380px; } .a3-product { max-height: 340px; } .a3-rings { width: 420px; height: 420px; } .a3-callout { left: 0; } .a3-features { flex-direction: column; gap: 22px; } }

/* ==========================================================================
   ALT 4 — dark hero: copy left + product slider right (client-approved)
   ========================================================================== */
.a4-hero { padding-top: 140px; padding-bottom: 56px; }
.a4-hero.hero-full { min-height: 100svh; display: flex; align-items: center; padding-top: clamp(104px, 14vh, 156px); padding-bottom: clamp(48px, 8vh, 80px); }
.a4-hero.hero-full .a4-inner { width: 100%; }
.a4-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.a4-copy { grid-column: 1; grid-row: 1; }
.a4-stagewrap { grid-column: 2; grid-row: 1; text-align: center; position: relative; }
.a4-hero .sh-frame { width: min(420px, 70vw); height: 420px; }
.a4-hero .a3-rings { left: 50%; top: 44%; width: 520px; height: 520px; }
.a4-hero .a3-pedestal { bottom: 10px; width: 290px; height: 76px; }
.a4-hero .sh-slide { padding-bottom: 46px; }
.a4-hero .sh-slide img { max-height: 350px; filter: drop-shadow(0 36px 50px rgba(2, 6, 16, 0.65)); }
.a4-hero .sh-nav { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.2); color: #ffffff; box-shadow: none; }
.a4-hero .sh-nav:hover { background: rgba(31, 111, 224, 0.25); border-color: rgba(125, 177, 247, 0.6); color: #ffffff; }
.a4-hero .sh-info { margin-top: 10px; }
.a4-hero .sh-cat { color: #7db1f7; }
.a4-hero .sh-name { color: #ffffff; }
.a4-hero .sh-actions { display: none; }
.a4-hero .sh-specs { position: absolute; top: 0; left: 0; right: 0; height: 420px; margin: 0; display: block; pointer-events: none; z-index: 4; }
.a4-hero .sh-chip { position: absolute; pointer-events: auto; background: rgba(13, 23, 44, 0.55); border-color: rgba(255, 255, 255, 0.18); color: #eaf0fa; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 12px 30px -14px rgba(2, 6, 16, 0.8); animation: a4-chip-float 6s ease-in-out infinite; }
.a4-hero .sh-chip svg { color: #7db1f7; }
.a4-hero .sh-chip:nth-child(1) { top: 10%; right: -4%; }
.a4-hero .sh-chip:nth-child(2) { top: 16%; left: -4%; animation-delay: -2s; }
.a4-hero .sh-chip:nth-child(3) { bottom: 16%; right: 0%; animation-delay: -4s; }
@keyframes a4-chip-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.a4-hero .sh-dots { margin-top: 26px; }
.a4-hero .sh-dots button { background: rgba(255, 255, 255, 0.22); }
.a4-hero .sh-dots button:hover { background: rgba(255, 255, 255, 0.45); }
.a4-hero .sh-dots button.active { background: var(--accent); }
@media (max-width: 1020px) {
  .a4-grid { grid-template-columns: 1fr; gap: 30px; }
  .a4-copy { grid-column: 1; grid-row: 1; text-align: center; }
  .a4-copy .a3-lead { margin-inline: auto; }
  .a4-copy .a3-actions { justify-content: center; }
  .a4-stagewrap { grid-column: 1; grid-row: 2; }
  .a4-hero.hero-full { min-height: auto; }
  .a4-hero .sh-frame { height: 360px; }
  .a4-hero .sh-slide img { max-height: 300px; }
}
@media (max-width: 560px) {
  .a4-hero .sh-specs { position: static; height: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 22px; }
  .a4-hero .sh-chip { position: static; animation: none; }
}

/* alt4 engineered-editorial body */
.a4x-kicker { display: inline-block; font-family: var(--font-display); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 18px; }
.a4x-principle-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(40px, 6vw, 92px); align-items: center; }
.a4x-principle-copy h2 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); letter-spacing: -0.025em; line-height: 1.05; margin-bottom: 24px; }
.a4x-principle-copy h2 em { font-style: italic; color: var(--accent); }
.a4x-principle-copy p { color: var(--text-soft); max-width: 48ch; font-size: 1.06rem; }
.a4x-principle-note { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); font-family: var(--font-body); font-size: 0.95rem; line-height: 1.7; color: var(--text-soft); }
.a4x-field { position: relative; display: grid; place-items: center; }
.a4x-field svg { width: 100%; max-width: 440px; height: auto; overflow: visible; }
.a4x-field .ring { fill: none; stroke: var(--accent); stroke-width: 1.2; opacity: 0.16; }
.a4x-field .ring.bound { stroke-dasharray: 5 7; opacity: 0.5; }
.a4x-field .pulse { fill: none; stroke: var(--accent); stroke-width: 1.5; transform-box: view-box; transform-origin: 220px 168px; animation: a4x-pulse 4.4s var(--ease) infinite; }
.a4x-field .pulse.p2 { animation-delay: 2.2s; }
@keyframes a4x-pulse { 0% { transform: scale(0.3); opacity: 0.5; } 100% { transform: scale(1.04); opacity: 0; } }
.a4x-field .mast { fill: #c2ccdb; } .a4x-field .head { fill: var(--accent); } .a4x-field .neck { fill: var(--accent-deep); } .a4x-field .ground { stroke: var(--line); stroke-width: 1.5; } .a4x-field .rline { stroke: var(--accent); stroke-width: 1.2; stroke-dasharray: 4 4; } .a4x-field .rdot { fill: var(--accent); } .a4x-field .rlabel { fill: var(--accent-deep); font-family: var(--font-mono); font-size: 13px; font-weight: 500; }
.a4x-ribbon { background: var(--bg-2); border-block: 1px solid var(--line); padding-block: 56px; position: relative; }
.a4x-ribbon::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 7px; background-image: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 30px); opacity: 0.7; }
.a4x-ribbon-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.a4x-metric { padding: 4px clamp(16px, 3vw, 40px); position: relative; }
.a4x-metric + .a4x-metric::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 1px; background: var(--line); }
.a4x-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.6rem, 5vw, 3.9rem); line-height: 1; letter-spacing: -0.03em; color: var(--text); }
.a4x-unit { font-family: var(--font-mono); font-size: 0.32em; font-weight: 500; color: var(--accent); margin-left: 4px; }
.a4x-mlabel { margin-top: 12px; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-soft); }
.a4x-mech-head { max-width: 620px; margin-bottom: 60px; }
.a4x-mech-head h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); letter-spacing: -0.02em; }
.a4x-mech-head p { color: var(--text-soft); margin-top: 14px; font-size: 1.08rem; }
.a4x-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; position: relative; }
.a4x-steps::before { content: ""; position: absolute; top: 27px; left: 14%; right: 14%; height: 2px; z-index: 0; background: repeating-linear-gradient(90deg, var(--accent-line) 0 8px, transparent 8px 16px); }
.a4x-step { position: relative; z-index: 1; }
.a4x-step-ic { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--accent); box-shadow: var(--shadow-sm); margin-bottom: 22px; }
.a4x-step-ic svg { width: 24px; height: 24px; }
.a4x-step-ix { font-family: var(--font-mono); font-size: 0.76rem; font-weight: 500; color: var(--accent-deep); letter-spacing: 0.1em; display: block; margin-bottom: 10px; }
.a4x-step h3 { font-size: 1.3rem; letter-spacing: -0.01em; margin-bottom: 10px; }
.a4x-step p { color: var(--text-soft); font-size: 0.98rem; line-height: 1.6; max-width: 34ch; }
.a4x-quote { max-width: 940px; margin: 0 auto 72px; text-align: center; position: relative; isolation: isolate; }
.a4x-quote::before { content: "\201C"; position: absolute; top: -0.5em; left: 50%; transform: translateX(-50%); z-index: -1; font-family: var(--font-display); font-weight: 700; line-height: 1; font-size: clamp(7rem, 13vw, 10rem); color: var(--accent); opacity: 0.1; pointer-events: none; }
.a4x-quote blockquote { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1.32; letter-spacing: -0.015em; color: var(--text); text-wrap: balance; }
.a4x-quote figcaption { margin-top: 24px; font-family: var(--font-mono); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text); }
.a4x-quote figcaption span { color: var(--text-soft); }
/* Projects gallery: uniform square grid, markers baked into the photos */
.proj-head { text-align: center; max-width: 620px; margin: 0 auto clamp(28px, 3.5vw, 44px); }
.proj-head h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 3.6vw, 2.9rem); letter-spacing: -.02em; color: var(--ink); }
.proj-head p { color: var(--muted); margin-top: 12px; }
.proj-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.4vw, 20px); }
.proj-item {
  position: relative; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 1; background: var(--paper-2); border: 1px solid var(--line);
}
.proj-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.proj-item:hover img { transform: scale(1.045); }
@media (max-width: 1000px) { .proj-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px)  { .proj-grid { grid-template-columns: repeat(2, 1fr); } }

.a4x-gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.a4x-shot { grid-column: span 2; }
.a4x-shot.a4x-w3 { grid-column: span 3; }
.a4x-shot.a4x-w6 { grid-column: span 6; }
.a4x-shot img { width: 100%; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm); }
.a4x-shot.a4x-w3 img { aspect-ratio: 4 / 3; }
.a4x-shot:not(.a4x-w3):not(.a4x-w6) img { aspect-ratio: 1 / 1; }
.a4x-shot.a4x-w6 img { aspect-ratio: 24 / 7; }
.a4x-cap { margin-top: 12px; font-family: var(--font-display); font-weight: 500; font-size: 0.95rem; color: var(--text); }
.a4x-cap span { display: block; font-family: var(--font-mono); font-weight: 400; font-size: 0.73rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-soft); margin-top: 3px; }
@media (max-width: 900px) {
  .a4x-principle-grid { grid-template-columns: 1fr; gap: 48px; }
  .a4x-field { order: -1; }
  .a4x-ribbon-inner { grid-template-columns: repeat(2, 1fr); gap: 36px 0; }
  .a4x-metric + .a4x-metric::before { display: none; }
  .a4x-steps { grid-template-columns: 1fr; gap: 36px; }
  .a4x-steps::before { display: none; }
  .a4x-step p { max-width: none; }
}
@media (max-width: 620px) {
  .a4x-gallery { grid-template-columns: repeat(2, 1fr); }
  .a4x-shot, .a4x-shot.a4x-w3, .a4x-shot.a4x-w6 { grid-column: span 2; }
  .a4x-shot img, .a4x-shot.a4x-w3 img, .a4x-shot.a4x-w6 img { aspect-ratio: 4 / 3; }
}

/* ---------- shared alt responsive ---------- */
@media (max-width: 900px) {
  .a2-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .a2-figure { min-height: 300px; order: -1; }
  .a2-bento { grid-template-columns: repeat(2, 1fr); }
  .a2-gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .a2-bento { grid-template-columns: 1fr; }
  .a2-feature, .a2-media, .a2-stat, .a2-accent { grid-column: span 1; }
  .a2-gallery { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .sh-slide img, .a3-product, .a3-pedestal::after, .a4-hero .sh-chip, .a4x-field .pulse,
  .alt-showcase .hero-storm .hero-bolts path { animation: none !important; }
}

/* ============================================================
   BENTO SECTION — film + testimonials + certifications + reach
   ============================================================ */
.bento-section { padding-block: clamp(48px, 6vw, 84px); }
.bento-grid {
  display: grid;
  grid-template-columns: .675fr .675fr 1fr;
  grid-auto-rows: minmax(0, auto);
  gap: clamp(14px, 1.4vw, 20px);
}
.bento-tile {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  min-width: 0;
}
/* placement: film spans the left pair, the two cards sit side by side beneath */
.bento-video  { grid-column: 1 / 3; grid-row: 1; }
.bento-certs  { grid-column: 1; grid-row: 2; }
.bento-reach  { grid-column: 2; grid-row: 2; }
.bento-testi  { grid-column: 3; grid-row: 1 / 3; }

/* --- video tile --- */
.bento-video { background: var(--ink-900); box-shadow: var(--shadow); }
.bento-video .video-facade {
  display: block; width: 100%; height: 100%; min-height: clamp(240px, 30vw, 420px);
  padding: 0; border: 0; cursor: pointer; background: var(--ink-900); position: relative;
}
.bento-video .video-facade img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  transition: transform .5s var(--ease), opacity .3s; opacity: .96;
}
.bento-video .video-facade:hover img { transform: scale(1.03); opacity: 1; }
.bento-video .vf-play {
  position: absolute; inset: 0; margin: auto; width: 74px; height: 74px;
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(255,255,255,.16); backdrop-filter: blur(6px);
  border: 1.5px solid rgba(255,255,255,.55); color: #fff;
  box-shadow: 0 10px 30px -8px rgba(0,0,0,.5); transition: transform .3s var(--ease), background .3s;
}
.bento-video .vf-play svg { width: 30px; height: 30px; margin-left: 3px; }
.bento-video .video-facade:hover .vf-play { transform: scale(1.08); background: var(--brand); border-color: var(--brand); }
.bento-video .vf-tag {
  position: absolute; left: 18px; bottom: 16px; z-index: 2;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  color: #fff; padding: 8px 15px; border-radius: 100px;
  background: rgba(6,24,32,.55); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.18);
}
.bento-video .video-frame { width: 100%; height: 100%; min-height: clamp(240px, 30vw, 420px); border: 0; background: #000; object-fit: cover; }

/* --- testimonials --- */
.bento-testi {
  background: #fff; border: 1px solid var(--line);
  color: var(--ink); box-shadow: var(--shadow-s);
  padding: clamp(26px, 2.6vw, 40px);
  display: flex; flex-direction: column; gap: 20px;
}
.bento-testi { text-align: center; }
.bento-testi .bt-head h3 {
  font-family: var(--font-display); font-weight: 600; color: var(--ink);
  font-size: clamp(1.25rem, 2.2vh, 1.6rem); letter-spacing: -.01em;
}
.bento-testi .bt-head p { color: var(--muted); font-size: clamp(.84rem, 1.4vh, .95rem); margin-top: 4px; }
.bento-testi .bt-quotemark {
  position: absolute; z-index: 0; pointer-events: none;
  left: clamp(2px, 1vw, 20px); top: clamp(74px, 11.5vh, 142px);
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(13rem, 32vh, 22rem);
  line-height: .62; color: rgba(21, 133, 176, .075);
}
/* keep the heading and dots above the watermark */
.bento-testi .bt-head,
.bento-testi .testi-dots { position: relative; z-index: 1; }
.testi-stage { position: relative; z-index: 1; flex: 1; min-height: 0; display: grid; }
.testi-slide {
  grid-area: 1 / 1; display: flex; flex-direction: column; align-items: center;
  justify-content: space-evenly;
  gap: clamp(14px, 2.4vh, 26px); min-height: 0;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), visibility .5s;
}
.testi-slide.on { opacity: 1; visibility: visible; transform: none; }
.testi-logo {
  height: clamp(56px, 9.5vh, 92px); width: auto; max-width: 74%;
  object-fit: contain; object-position: center; flex: none;
}
.testi-slide blockquote {
  font-family: var(--font-body); font-weight: 500;
  font-size: clamp(1rem, 2.15vh, 1.15rem); line-height: 1.6; color: var(--muted);
}
.testi-slide figcaption {
  font-family: var(--font-display); font-weight: 700; color: var(--ink);
  font-size: clamp(1rem, 1.95vh, 1.18rem);
}
.testi-slide figcaption::before { content: "- "; }
.testi-slide figcaption::after { content: " -"; }
.testi-dots { display: flex; gap: 0; justify-content: center; }
/* 8px visual dot inside a 24x24 transparent hit area (WCAG 2.5.8 target size) */
.testi-dot { width: 8px; height: 8px; padding: 8px; box-sizing: content-box; background-clip: content-box; border: 0; border-radius: 50%; cursor: pointer; background-color: var(--line-2); transition: background-color .3s, width .3s; }
.testi-dot.on { background-color: var(--brand); width: 22px; border-radius: 100px; }

/* --- standards & certifications --- */
.bento-certs {
  background: linear-gradient(150deg, var(--brand), var(--brand-700));
  color: #fff; box-shadow: var(--shadow);
  padding: clamp(24px, 2.4vw, 34px);
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  gap: clamp(12px, 1.4vw, 18px);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.bento-certs:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.bento-certs .bc-ic {
  flex: none; width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28);
}
.bento-certs .bc-ic svg { width: 27px; height: 27px; }
.bento-certs h3 { font-family: var(--font-display); font-size: clamp(1.12rem, 1.45vw, 1.35rem); font-weight: 600; margin-bottom: 6px; }
.bento-certs p { color: rgba(255,255,255,.86); font-size: .92rem; line-height: 1.5; }
.bento-certs .bc-go {
  position: absolute; top: clamp(18px, 2vw, 26px); right: clamp(18px, 2vw, 26px);
  font-size: 1.4rem; opacity: .85; transition: transform .3s var(--ease);
}
.bento-certs:hover .bc-go { transform: translateX(4px); }

/* --- global reach --- */
.bento-reach {
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-s);
  padding: clamp(24px, 2.4vw, 34px); display: flex; align-items: center;
}
.bento-reach .br-map {
  position: absolute; inset: 0; width: 100%; height: 100%; color: var(--brand);
  opacity: .10; pointer-events: none;
}
.bento-reach .br-body { position: relative; z-index: 1; }
.bento-reach .br-num {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(3rem, 5vw, 4.4rem);
  line-height: .9; color: var(--ink); letter-spacing: -.02em;
}
.bento-reach .br-num span { color: var(--brand); }
.bento-reach .br-label { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--ink); margin-top: 4px; }
.bento-reach p { color: var(--muted); font-size: .95rem; margin-top: 8px; max-width: 34ch; }

/* --- desktop: the whole section fits in one screen (header included) --- */
@media (min-width: 901px) {
  .bento-section {
    min-height: 100svh;
    display: flex; align-items: center;
    padding-block: clamp(24px, 3.5vh, 48px);
    padding-top: calc(var(--header-h) + clamp(16px, 2.5vh, 36px));
  }
  .bento-section > .container { width: 100%; }
  .bento-grid {
    height: calc(100svh - var(--header-h) - clamp(56px, 8vh, 108px));
    grid-template-rows: minmax(0, 1fr) auto;
  }
  .bento-tile { min-height: 0; }
  .bento-video .video-facade,
  .bento-video .video-frame { min-height: 0; height: 100%; }
  /* trim the stacked cards so the film keeps a generous share of the height */
  .bento-certs, .bento-reach { padding: clamp(16px, 1.7vh, 26px) clamp(20px, 2vw, 30px); }
  .bento-certs .bc-ic { width: 48px; height: 48px; border-radius: 13px; }
  .bento-certs .bc-ic svg { width: 25px; height: 25px; }
  .bento-certs p, .bento-reach p { font-size: .9rem; line-height: 1.45; }
  .bento-reach .br-num { font-size: clamp(2.4rem, 4vw, 3.6rem); }
  .bento-testi { overflow: hidden; }
}

/* --- responsive --- */
@media (max-width: 900px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-video, .bento-certs, .bento-reach { grid-column: 1; grid-row: auto; }
  .bento-testi { grid-column: 1; grid-row: auto; min-height: 320px; }
}
@media (max-width: 600px) {
  .bento-certs .bc-go { top: 18px; right: 18px; }
  /* the vh-based clamp overshoots on tall phones */
  .testi-slide blockquote { font-size: 1.05rem; line-height: 1.6; }
  .testi-logo { height: 54px; }
  .bento-testi .bt-quotemark { font-size: 11rem; top: 68px; }
}
@media (prefers-reduced-motion: reduce) {
  .testi-slide { transition: opacity .2s; }
}
