﻿  /* ============ THEME TOKENS ============ */
  .cxh {
    /* Color tokens now inherited from the single :root source of truth (see canonical token block).
       .cxh intentionally does NOT redefine color tokens, so theme + dark-mode changes applied to
       :root cascade into .cxh descendants AND its sibling sections identically. */
    --ease-premium: cubic-bezier(.22,.68,0,1.2);
    --ease-cinematic: cubic-bezier(.16,1,.3,1);
    --font-sans: 'Geist', -apple-system, sans-serif;
    --font-serif: 'Instrument Serif', Georgia, serif;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    position: relative;
    overflow-x: hidden;
    cursor: none;
    transition: background-color .55s var(--ease-cinematic), color .45s var(--ease-cinematic);
  }

  /* ============ CUSTOM CURSOR (premium, elegant) ============ */
  .cur-dot {
    position: fixed;
    width: 6px; height: 6px;
    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width .25s, height .25s, opacity .25s;
    mix-blend-mode: normal;
  }
  .cur-ring {
    position: fixed;
    width: 36px; height: 36px;
    border: 1px solid rgba(var(--accent-rgb), 0.4);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width .35s cubic-bezier(.2,.8,.2,1), height .35s cubic-bezier(.2,.8,.2,1), border-color .25s, background .25s, opacity .25s;
  }
  .cur-glow {
    position: fixed;
    width: 240px; height: 240px;
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.18), transparent 60%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    filter: blur(10px);
    opacity: 0.7;
  }
  .cur-ring.hov {
    width: 56px; height: 56px;
    background: rgba(var(--accent-rgb), 0.08);
    border-color: rgba(var(--accent-rgb), 0.6);
  }
  .cur-dot.hov { opacity: 0; }

  /* ============ NAV ============ */
  .nv {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 14px 36px;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: var(--nav-bg);
    backdrop-filter: blur(24px) saturate(1.1);
    -webkit-backdrop-filter: blur(24px) saturate(1.1);
    z-index: 50;
  }

  /* CaseXpert image logo */
  .lg-image {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    cursor: none;
    transition: transform .35s cubic-bezier(.2,.8,.2,1), opacity .25s;
  }
  .lg-image:hover { transform: scale(1.04); opacity: 0.92; }
  .lg-wordmark {
    font-family: var(--font-serif);
    font-size: 30px;
    letter-spacing: -.5px;
    color: var(--text);
    line-height: 1;
  }
  .lg-wordmark b { font-weight: 400; }
  .lg-wordmark span { color: var(--accent); }
  .lg-image img,
  .lg-image-img {
    height: clamp(40px, 10vw, 76px);
    width: auto;
    max-width: min(220px, 42vw);
    display: block;
    object-fit: contain;
  }

  .nl { display: flex; gap: 4px; justify-self: center; grid-column: 2; }

  /* Premium nav-item with split-flip + underline */
  .ni {
    font-size: 13px;
    color: var(--text-2);
    cursor: none;
    padding: 10px 14px;
    position: relative;
    overflow: hidden;
    border-radius: 999px;
    transition: color .25s;
    text-decoration: none;
  }
  .ni .ni-text {
    position: relative;
    display: inline-block;
    overflow: hidden;
    height: 16px;
    line-height: 16px;
  }
  .ni .ni-text span {
    display: inline-block;
    transition: transform .45s cubic-bezier(.65,0,.35,1);
  }
  .ni .ni-text::before {
    content: attr(data-t);
    position: absolute;
    left: 0;
    top: 100%;
    color: var(--accent);
    font-weight: 500;
    transition: transform .45s cubic-bezier(.65,0,.35,1);
  }
  .ni:hover .ni-text span { transform: translateY(-100%); }
  .ni:hover .ni-text::before { transform: translateY(-100%); }
  /* Glow halo behind nav item on hover */
  .ni::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: radial-gradient(circle at center, rgba(var(--accent-rgb), 0.10), transparent 70%);
    opacity: 0;
    transition: opacity .35s;
    pointer-events: none;
  }
  .ni:hover::after { opacity: 1; }
  /* Underline accent */
  .ni::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 4px;
    width: 0;
    height: 1.5px;
    background: var(--accent);
    transform: translateX(-50%);
    transition: width .35s cubic-bezier(.4,0,.2,1);
    border-radius: 1px;
    box-shadow: 0 0 8px rgba(var(--accent-rgb), 0.5);
  }
  .ni:hover::before { width: 24px; }

  .nc {
    background: var(--accent);
    color: var(--accent-text);
    padding: 9px 8px 9px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    cursor: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: opacity .25s, box-shadow .3s;
    box-shadow: 0 4px 14px rgba(var(--accent-rgb), 0.3);
  }
  .nc:hover { opacity: 0.94; box-shadow: 0 6px 22px rgba(var(--accent-rgb), 0.4); }
  .nc .ab {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--accent-text);
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    transition: transform .35s;
  }
  .nc:hover .ab { transform: rotate(-45deg); }

  /* ============ HERO ============ */
  .hero {
    position: relative;
    padding: 80px 28px 110px;
    min-height: 780px;
    overflow: hidden;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* All animation layers anchored to hero text center via top: 50% */

  /* L1: Fluid gradient mesh */
  .h-mesh-fluid {
    position: absolute;
    inset: -15%;
    z-index: 0;
    pointer-events: none;
    background:
      radial-gradient(ellipse 45% 35% at 22% 40%, rgba(var(--accent-rgb), 0.16), transparent 60%),
      radial-gradient(ellipse 38% 30% at 78% 45%, rgba(var(--accent-rgb), 0.12), transparent 65%),
      radial-gradient(ellipse 50% 38% at 50% 50%, rgba(var(--accent-rgb), 0.14), transparent 60%),
      radial-gradient(ellipse 40% 30% at 30% 65%, rgba(var(--accent-rgb), 0.10), transparent 65%);
    filter: blur(40px);
    animation: meshFlow 32s ease-in-out infinite;
    will-change: transform;
  }
  @keyframes meshFlow {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1) rotate(0deg); }
    25% { transform: translate3d(2%, -1.5%, 0) scale(1.04) rotate(0.6deg); }
    50% { transform: translate3d(-1%, 1.8%, 0) scale(1.02) rotate(-0.4deg); }
    75% { transform: translate3d(-1.8%, -0.8%, 0) scale(1.06) rotate(0.3deg); }
  }

  .h-mesh-fluid-2 {
    position: absolute;
    inset: -20%;
    z-index: 0;
    pointer-events: none;
    background:
      radial-gradient(ellipse 35% 25% at 65% 45%, rgba(var(--accent-rgb), 0.10), transparent 65%),
      radial-gradient(ellipse 40% 30% at 35% 55%, rgba(var(--accent-rgb), 0.08), transparent 60%);
    filter: blur(60px);
    animation: meshFlow2 44s ease-in-out infinite;
    opacity: 0.8;
    will-change: transform;
  }
  @keyframes meshFlow2 {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
    50% { transform: translate3d(3%, -2%, 0) rotate(-3deg); }
  }

  /* L2: Aurora — morphing SVG blobs */
  .h-aurora {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 140%;
    height: 140%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.6;
  }
  .h-aurora svg { width: 100%; height: 100%; }

  /* L3: Light streaks centered around hero center */
  .h-streaks { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
  .streak {
    position: absolute;
    width: 160%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.32), transparent);
    filter: blur(2px);
    transform-origin: left center;
    opacity: 0;
    animation: streakSweep var(--sd, 22s) linear infinite;
    animation-delay: var(--sdl, 0s);
  }
  @keyframes streakSweep {
    0% { transform: translate3d(-70%, 0, 0) rotate(var(--sr, -8deg)); opacity: 0; }
    20% { opacity: 0.5; }
    80% { opacity: 0.5; }
    100% { transform: translate3d(60%, 0, 0) rotate(var(--sr, -8deg)); opacity: 0; }
  }
  .streak.thick {
    height: 90px;
    background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.10), transparent);
    filter: blur(28px);
  }

  /* L4: Orbital rings — NOW centered on hero center */
  .h-orbits {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(1000px, 100vw);
    aspect-ratio: 1;
    z-index: 3;
    pointer-events: none;
    opacity: 0;
    animation: fadeIn 2.4s cubic-bezier(.2,.8,.2,1) .3s forwards;
  }
  @keyframes fadeIn { to { opacity: 1; } }
  .h-orbits svg { width: 100%; height: 100%; overflow: visible; }
  .ring {
    fill: none;
    stroke: rgba(var(--accent-rgb), 0.18);
    stroke-width: 0.5;
    transform-origin: center;
    transform-box: fill-box;
  }
  .ring.r1 { animation: ringSpin 60s linear infinite; }
  .ring.r2 { animation: ringSpin 90s linear infinite reverse; stroke: rgba(var(--accent-rgb), 0.14); }
  .ring.r3 { animation: ringSpin 120s linear infinite; stroke: rgba(var(--accent-rgb), 0.10); }
  .ring.r4 { animation: ringSpin 150s linear infinite reverse; stroke: rgba(var(--accent-rgb), 0.07); }
  .ring.dashed {
    stroke: rgba(var(--accent-rgb), 0.35);
    stroke-width: 0.8;
    stroke-dasharray: 4 8;
    animation: ringSpin 40s linear infinite, dashShift 6s linear infinite;
  }
  @keyframes dashShift { to { stroke-dashoffset: -80; } }
  @keyframes ringSpin { to { transform: rotate(360deg); } }

  .traveler {
    fill: var(--accent);
    filter: drop-shadow(0 0 10px rgba(var(--accent-rgb), 0.9))
            drop-shadow(0 0 20px rgba(var(--accent-rgb), 0.5));
  }
  .t-group { transform-origin: center; transform-box: fill-box; }
  .tg1 { animation: ringSpin 22s linear infinite; }
  .tg2 { animation: ringSpin 34s linear infinite reverse; }
  .tg3 { animation: ringSpin 48s linear infinite; }
  .comet-trail {
    fill: none;
    stroke: url(#cometGrad);
    stroke-width: 1.5;
    stroke-linecap: round;
    opacity: 0.7;
  }

  /* L5: Halo pulse — centered */
  .h-halo {
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    pointer-events: none;
    width: 320px; height: 320px;
  }
  .h-halo::before, .h-halo::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(var(--accent-rgb), 0.35);
    animation: haloPulse 5s cubic-bezier(.2,.8,.2,1) infinite;
  }
  .h-halo::after { animation-delay: 2.5s; }
  @keyframes haloPulse {
    0% { transform: scale(0.5); opacity: 0; }
    20% { opacity: 0.55; }
    100% { transform: scale(2.6); opacity: 0; }
  }

  /* L6: Central breathing core — centered */
  .h-core {
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    width: 320px; height: 320px;
    z-index: 4;
    pointer-events: none;
    opacity: 0;
    animation: fadeIn 2.8s cubic-bezier(.2,.8,.2,1) .5s forwards;
  }
  .h-core::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.5), rgba(var(--accent-rgb), 0.14) 40%, transparent 70%);
    filter: blur(12px);
    animation: coreBreath 7s ease-in-out infinite;
  }
  .h-core::after {
    content: "";
    position: absolute;
    inset: 35%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.95), rgba(var(--accent-rgb), 0.5) 55%, transparent 100%);
    filter: blur(6px);
    animation: coreBreath 7s ease-in-out infinite reverse;
  }
  @keyframes coreBreath {
    0%, 100% { opacity: 0.85; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.14); }
  }

  /* L7: Flowing particles */
  .h-particles { position: absolute; inset: 0; z-index: 5; pointer-events: none; overflow: hidden; }
  .h-particles span {
    position: absolute;
    width: 3px; height: 3px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0;
    box-shadow: 0 0 8px rgba(var(--accent-rgb), 0.7);
    animation:
      particleRise var(--pd, 22s) ease-in-out infinite,
      particleSway var(--swd, 8s) ease-in-out infinite;
    animation-delay: var(--pdl, 0s);
  }
  @keyframes particleRise {
    0% { transform: translateY(0); opacity: 0; }
    12% { opacity: 0.6; }
    88% { opacity: 0.6; }
    100% { transform: translateY(-460px); opacity: 0; }
  }
  @keyframes particleSway {
    0%, 100% { margin-left: 0; }
    50% { margin-left: var(--sway, 30px); }
  }

  /* L8: Glass plate centered with shimmer */
  .h-plate {
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    width: min(820px, 94vw);
    height: 420px;
    z-index: 6;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255,255,255,0.55), rgba(255,255,255,0.15));
    backdrop-filter: blur(40px) saturate(1.2);
    -webkit-backdrop-filter: blur(40px) saturate(1.2);
    border-radius: 220px;
    opacity: 0.38;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black, transparent 75%);
    overflow: hidden;
  }
  .h-plate::after {
    content: "";
    position: absolute;
    top: -50%; left: -100%;
    width: 50%; height: 200%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.6), transparent);
    transform: rotate(20deg);
    animation: shimmer 9s ease-in-out infinite;
  }
  @keyframes shimmer {
    0%, 100% { left: -100%; opacity: 0; }
    50% { left: 150%; opacity: 0.7; }
  }

  /* L9: Bottom fade + vignette */
  .h-fade {
    position: absolute;
    inset: 0;
    z-index: 7;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 60%, var(--bg) 100%);
  }
  .h-vignette {
    position: absolute;
    inset: 0;
    z-index: 8;
    pointer-events: none;
    background: radial-gradient(ellipse 80% 60% at 50% 50%, transparent 50%, rgba(15,15,18,0.04) 100%);
  }

  /* ============ HERO CONTENT — bolder, larger, more premium ============ */
  .h-content {
    position: relative;
    z-index: 10;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    padding: 0 16px;
  }

  .h-content h1 {
    font-size: clamp(48px, 8.4vw, 96px);
    font-weight: 600;
    line-height: 0.95;
    letter-spacing: -4.5px;
    margin: 0 0 30px;
    color: var(--text);
  }
  .h-content.h-custom-fs h1 {
    font-size: var(--hero-h1-size) !important;
  }
  @media (max-width: 860px) {
    .h-content.h-custom-fs h1 {
      font-size: var(--hero-h1-mobile, clamp(26px, 8vw, 42px)) !important;
    }
  }
  .h-content h1 .hero-line {
    display: inline-block;
    animation: heroLineUp 1.1s cubic-bezier(.2,.8,.2,1) forwards;
    transform: translateY(110%);
    opacity: 0;
  }
  .h-content h1 .hero-line-1 { animation-delay: 0ms; }
  .h-content h1 .hero-line-2 { animation-delay: 280ms; }
  @keyframes heroLineUp {
    to { transform: translateY(0); opacity: 1; }
  }
  .h-content h1 .acc { color: var(--accent); font-weight: 600; }
  .h-content h1 .hero-line.it,
  .h-content h1 .hero-line.it .cx-editable-html {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    color: var(--text-3);
    letter-spacing: -3.5px;
  }

  .h-content p.sub {
    font-size: clamp(15px, 1.4vw, 19px);
    color: var(--text-2);
    line-height: 1.55;
    max-width: 580px;
    margin: 0 auto 40px;
    opacity: 0;
    animation: fadeInUp 1s ease-out .9s forwards;
  }
  @keyframes fadeInUp { to { opacity: 1; } }

  .h-content .bt {
    display: inline-flex;
    gap: 12px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.1s forwards;
  }
  .bp {
    background: var(--accent);
    color: var(--accent-text);
    padding: 15px 8px 15px 26px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    cursor: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: transform .3s, box-shadow .3s, opacity .25s;
    box-shadow: 0 8px 24px rgba(var(--accent-rgb), 0.32);
  }
  .bp:hover { transform: translateY(-2px); opacity: 0.97; box-shadow: 0 16px 36px rgba(var(--accent-rgb), 0.4); }
  .bp .ar {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--accent-text);
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: transform .35s;
  }
  .bp:hover .ar { transform: rotate(-45deg); }


  }

  @media (max-width: 700px) {
    .nl { display: none; }
    .h-content h1 { letter-spacing: -2.4px; }
    .h-content h1 .hero-line.it,
    .h-content h1 .hero-line.it .cx-editable-html { letter-spacing: -2.2px; }
    .hero { padding: 56px 20px 72px; min-height: clamp(400px, 82svh, 560px); }
    .cxh { cursor: auto; }
    .cur-dot, .cur-ring, .cur-glow { display: none; }
    .ni, .nc, .bp { cursor: pointer; }
  }

  /* ============ SECTION SEPARATOR ============ */
  .section-divider {
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg, transparent, var(--border-2), transparent);
    opacity: 0.4;
    margin: 0;
  }

  /* ============ TRUSTED BY COMPANIES (separate section, calm + spacious) ============ */
  .trusted-section {
    /* Calmer, more enterprise-focused background — slight tonal shift away from hero */
    background: linear-gradient(180deg, var(--bg) 0%, var(--surface-2) 60%, var(--surface-2) 100%);
    padding: 130px 28px 160px;
    position: relative;
  }
  .trusted-inner {
    max-width: 1180px;
    margin: 0 auto;
  }

  .trusted-header {
    text-align: center;
    margin-bottom: 80px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }
  .trusted-eb {
    font-size: 11px;
    color: var(--text-3);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin: 0 0 20px;
    font-weight: 500;
  }
  .trusted-eb::before { content: "\2014  "; color: var(--accent); }
  .trusted-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -2.2px;
    margin: 0 0 22px;
    color: var(--text);
  }
  .trusted-it {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    color: var(--text-3);
    letter-spacing: -1.6px;
  }
  .trusted-sub {
    font-size: 16px;
    color: var(--text-2);
    line-height: 1.55;
    max-width: 520px;
    margin: 0 auto;
  }

  .trusted-mqs {
    display: flex;
    overflow: hidden;
    min-height: 110px;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    padding: 14px 0;
  }
  .trusted-mqt {
    display: flex;
    gap: 32px;
    align-items: center;
    animation: trustedMarquee 60s linear infinite;
    padding-right: 32px;
    will-change: transform;
  }
  .trusted-mqs:hover .trusted-mqt { animation-play-state: paused; }
  .trusted-mqs--static { justify-content: center; mask-image: none; -webkit-mask-image: none; }
  .trusted-mqt--static { animation: none; justify-content: center; flex-wrap: wrap; width: 100%; padding-right: 0; }
  @keyframes trustedMarquee {
    to { transform: translateX(-50%); }
  }

  .trusted-plate {
    flex-shrink: 0;
    width: 220px;
    height: 110px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(15, 15, 18, 0.05);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px 28px;
    transition: transform .5s cubic-bezier(.2,.8,.2,1), border-color .3s, box-shadow .5s, background .35s;
    cursor: none;
    position: relative;
    overflow: hidden;
  }
  .trusted-plate:hover {
    transform: translateY(-4px);
    border-color: rgba(15, 15, 18, 0.12);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 18px 40px rgba(15, 15, 18, 0.05);
  }
  .trusted-plate img,
  .trusted-plate img.trusted-logo-img {
    width: 140px;
    height: 56px;
    max-width: 140px;
    max-height: 56px;
    aspect-ratio: 140 / 56;
    object-fit: contain;
    transition: transform .5s cubic-bezier(.2,.8,.2,1);
  }
  .trusted-plate:hover img {
    transform: scale(1.03);
  }

  @media (max-width: 700px) {
    .trusted-section { padding: 80px 20px 100px; }
    .pipe-seam { height: 44px; }
    .trusted-header { margin-bottom: 50px; }
    .trusted-plate { width: min(180px, 42vw); height: 90px; padding: 18px 22px; gap: 20px; }
    .trusted-plate img,
    .trusted-plate img.trusted-logo-img { width: 120px; height: 48px; max-width: 120px; max-height: 48px; aspect-ratio: 120 / 48; }
    .trusted-mqs { mask-image: none; -webkit-mask-image: none; overflow: visible; min-height: 90px; }
    .trusted-mqt { animation: none !important; flex-wrap: wrap; justify-content: center; width: 100%; padding-right: 0; transform: none !important; gap: 20px; }
    .trusted-plate[data-marquee-pass="2"] { display: none; }
  }
  @media (max-width: 480px) {
    .trusted-plate { width: min(150px, 44vw); height: 76px; padding: 14px 16px; }
  }


  /* ============ AI PIPELINE SECTION ============ */
  .pipe {
    /* COOLER, system-driven tone — clear temperature break from the warm cream above.
       Subtle blue-gray "engine room" backdrop reinforces the technical, structured feel. */
    background:
      radial-gradient(ellipse 70% 50% at 50% 0%, var(--surface-3) 0%, transparent 60%),
      linear-gradient(180deg, var(--surface-3) 0%, var(--surface-3) 50%, var(--surface-3) 100%);
    padding: 160px 28px 160px;
    position: relative;
    /* Soft inset shadow at the top edge — pipeline section feels "set into" the page */
    box-shadow: inset 0 1px 0 rgba(15,15,18,0.04), inset 0 24px 40px -30px rgba(15,15,18,0.12);
  }
  /* Subtle grid overlay — invisible from a distance, just adds technical texture */
  .pipe::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(15,15,18,0.025) 1px, transparent 1px),
      linear-gradient(90deg, rgba(15,15,18,0.025) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, black, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, black, transparent 75%);
    pointer-events: none;
    opacity: 0.6;
  }
  .pipe > * { position: relative; z-index: 1; }
  .pipe-head {
    text-align: center;
    margin-bottom: 64px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }
  .pipe-eb {
    font-size: 11px;
    color: var(--text-3);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin: 0 0 20px;
    font-weight: 500;
  }
  .pipe-eb::before { content: "\2014  "; color: var(--accent); }
  .pipe-title-h2 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -2.2px;
    margin: 0 0 22px;
    color: var(--text);
  }
  .pipe-it {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    color: var(--text-3);
    letter-spacing: -1.6px;
  }
  .pipe-sub {
    font-size: 16px;
    color: var(--text-2);
    line-height: 1.55;
    max-width: 520px;
    margin: 0 auto;
  }

  /* Canvas — framed pipeline, lifted off the cool backdrop with a strong shadow */
  .pipe-canvas {
    background: var(--bg);
    border: 1px solid rgba(15, 15, 18, 0.08);
    border-radius: 26px;
    padding: 56px 36px 48px;
    position: relative;
    overflow: hidden;
    max-width: 1080px;
    margin: 0 auto;
    box-shadow:
      0 1px 0 rgba(255,255,255,0.9) inset,
      0 2px 4px rgba(15,15,18,0.03),
      0 40px 80px -30px rgba(15,15,18,0.14),
      0 12px 28px -12px rgba(15,15,18,0.08);
  }
  .pipe-canvas::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 60% 80% at 50% 0%, var(--accent-soft), transparent 60%),
      radial-gradient(ellipse 40% 60% at 50% 100%, var(--accent-soft), transparent 60%);
    opacity: 0.6;
    pointer-events: none;
  }

  /* Flow */
  .pipe-flow {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    z-index: 1;
  }
  .pipe-step {
    text-align: center;
    padding: 22px 14px;
    position: relative;
    cursor: none;
  }
  .pipe-icon {
    width: 68px;
    height: 68px;
    border-radius: 19px;
    background: var(--bg);
    border: 1px solid var(--border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--accent);
    position: relative;
    z-index: 2;
    transition: transform .4s cubic-bezier(.2,.8,.2,1), border-color .35s, background .35s, box-shadow .4s, color .35s;
  }
  .pipe-icon svg { width: 30px; height: 30px; stroke-width: 1.6; }
  .pipe-step:hover .pipe-icon {
    transform: translateY(-4px) scale(1.06);
    border-color: var(--accent);
    background: var(--accent-soft);
    box-shadow: 0 14px 32px rgba(var(--accent-rgb), 0.12);
  }
  .pipe-step.active .pipe-icon {
    background: var(--accent);
    color: var(--accent-text);
    border-color: var(--accent);
    box-shadow: 0 0 0 6px var(--accent-soft), 0 16px 36px rgba(var(--accent-rgb), 0.25);
  }
  .pipe-step.active .pipe-icon::after {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 23px;
    border: 1px solid var(--accent);
    opacity: 0;
    animation: pulseRing 2.4s cubic-bezier(.2,.8,.2,1) infinite;
  }
  @keyframes pulseRing {
    0%   { transform: scale(0.9); opacity: 0.5; }
    100% { transform: scale(1.5); opacity: 0; }
  }
  .pipe-step-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    margin: 0 0 5px;
    letter-spacing: -0.2px;
  }
  .pipe-time {
    font-size: 11px;
    color: var(--text-3);
    margin: 0;
    letter-spacing: 0.3px;
  }

  /* Connecting line — accent flows L→R then fades */
  .pipe-line {
    position: absolute;
    left: 0;
    right: 0;
    top: 56px;
    height: 2px;
    z-index: 0;
  }
  .pipe-line::before {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    top: 50%;
    height: 1.5px;
    background: var(--border-2);
    border-radius: 1px;
    transform: translateY(-50%);
  }
  .pipe-line::after {
    content: "";
    position: absolute;
    left: 10%;
    top: 50%;
    height: 1.5px;
    width: 0;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    border-radius: 1px;
    transform: translateY(-50%);
    box-shadow: 0 0 8px var(--accent);
    animation: pipeFlow 5s cubic-bezier(.4,0,.2,1) infinite;
  }
  @keyframes pipeFlow {
    0%   { width: 0; opacity: 0; }
    10%  { opacity: 1; }
    80%  { width: 80%; opacity: 1; }
    100% { width: 80%; opacity: 0; }
  }

  @media (max-width: 800px) {
    .pipe-flow { grid-template-columns: 1fr; gap: 8px; }
    .pipe-line { display: none; }
    .pipe-step { padding: 18px 14px; display: grid; grid-template-columns: 68px 1fr; align-items: center; gap: 18px; text-align: left; }
    .pipe-icon { margin: 0; }
    .pipe-step.active .pipe-icon::after { display: none; }
  }
  @media (max-width: 700px) {
    .pipe { padding: 100px 20px 90px; }
    .pipe-head { margin-bottom: 44px; }
    .pipe-canvas { padding: 32px 20px 28px; }
  }


  /* ============ PIPE SEAM — temperature break between trusted (warm) & pipe (cool) ============ */
  .pipe-seam {
    height: 64px;
    position: relative;
    /* Gradient transitions from the END color of trusted-section (#F4F2EC, warm cream)
       to the START color of pipe (#E8EAEF, cool blue-gray) */
    background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface-2) 30%, var(--surface-3) 100%);
    overflow: hidden;
  }
  /* Hairline accent line that fades in/out at the midpoint — marks the chapter break */
  .pipe-seam-line {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 1px;
    background: linear-gradient(90deg,
      transparent 0%,
      rgba(15,15,18,0.06) 30%,
      rgba(var(--accent-rgb), 0.18) 50%,
      rgba(15,15,18,0.06) 70%,
      transparent 100%
    );
  }
  /* Tiny accent dot at the center of the seam — subtle "chapter marker" */
  .pipe-seam-line::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.6;
    box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.5);
  }


  /* ============ SCALE SIMPLIFIED — enhanced ============ */
  /* Reveal utility (used by scale-cell and scale-frame) */
  .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); transition-delay: var(--rd, 0ms); }
  .reveal.in { opacity: 1; transform: translateY(0); }

  .scale {
    /* Continuing the cool/structured tone from pipe, but slightly warmer to signal a new chapter */
    background: linear-gradient(180deg, var(--surface-3) 0%, var(--surface-2) 30%, var(--surface-2) 100%);
    padding: 150px 28px 160px;
    position: relative;
    overflow: hidden;
  }

  .scale-ambient {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
  }
  .scale-ambient::before {
    content: "";
    position: absolute;
    inset: -10%;
    background:
      radial-gradient(ellipse 50% 40% at 10% 30%, rgba(var(--accent-rgb), 0.12), transparent 60%),
      radial-gradient(ellipse 40% 35% at 90% 70%, rgba(var(--accent-rgb), 0.08), transparent 65%);
    filter: blur(40px);
    animation: scaleAmbient 28s ease-in-out infinite;
  }
  @keyframes scaleAmbient {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(2%, -1.5%, 0) scale(1.05); }
  }

  .scale-frame {
    position: relative;
    z-index: 1;
    padding: 64px 0 0;
    border-top: 1px solid var(--border);
    max-width: 1240px;
    margin: 0 auto;
  }
  .scale-frame::before,
  .scale-frame::after {
    content: "";
    position: absolute;
    top: -3.5px;
    width: 7px; height: 7px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.6);
    animation: cornerPulse 3s ease-in-out infinite;
  }
  .scale-frame::before { left: 0; }
  .scale-frame::after { right: 0; animation-delay: 1.5s; }
  @keyframes cornerPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.3); box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.8); }
  }

  .scale-progress {
    position: absolute;
    left: 0;
    top: -1px;
    height: 1px;
    width: 0;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    transition: width 1.6s cubic-bezier(.2,.8,.2,1) .3s;
    box-shadow: 0 0 8px var(--accent);
  }
  .scale-frame.in .scale-progress { width: 100%; }

  .scale-head {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 48px;
    align-items: end;
    margin-bottom: 76px;
    padding: 0 4px;
  }
  @media (max-width: 800px) {
    .scale-head { grid-template-columns: 1fr; gap: 22px; align-items: start; }
  }

  .scale-eb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: var(--accent);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin: 0 0 22px;
    font-weight: 500;
    padding: 5px 12px 5px 8px;
    background: var(--accent-soft);
    border: 1px solid rgba(var(--accent-rgb), 0.16);
    border-radius: 999px;
  }
  .scale-eb .pdot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent);
    position: relative;
  }
  .scale-eb .pdot::after {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.5;
    animation: pdotRing 1.8s infinite;
  }
  @keyframes pdotRing {
    0% { transform: scale(0.6); opacity: 0.5; }
    100% { transform: scale(2.2); opacity: 0; }
  }

  .scale-title {
    font-size: clamp(40px, 5.6vw, 64px);
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: -2.6px;
    margin: 0;
    color: var(--text);
  }
  .scale-title .it-grad {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -1.8px;
    background: linear-gradient(120deg, var(--text-3) 0%, var(--accent) 50%, var(--text-3) 100%);
    background-size: 250% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradSweep 8s ease-in-out infinite;
  }
  @keyframes gradSweep {
    0%, 100% { background-position: 100% 50%; }
    50% { background-position: 0% 50%; }
  }

  .scale-sub {
    font-size: 15px;
    color: var(--text-2);
    line-height: 1.6;
    margin: 0 0 0 auto;
    max-width: 360px;
    padding-bottom: 6px;
    text-align: right;
    justify-self: end;
  }
  @media (max-width: 800px) {
    .scale-sub { margin: 0; text-align: left; justify-self: start; }
  }

  .scale-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    border-top: 1px solid var(--border);
    position: relative;
  }
  @media (max-width: 1024px) {
    .scale-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  @media (max-width: 560px) {
    .scale-grid { grid-template-columns: 1fr; }
    .scale-num {
      flex-wrap: wrap;
      white-space: normal;
      letter-spacing: -2px;
      font-size: clamp(40px, 11vw, 56px);
    }
  }

  .scale-cell {
    padding: 44px 24px 38px;
    position: relative;
    border-right: 1px solid var(--border);
    cursor: none;
    min-width: 0;
    display: flex;
    flex-direction: column;
    transition: background .5s cubic-bezier(.2,.8,.2,1);
  }
  .scale-cell:last-of-type { border-right: none; }
  @media (max-width: 1024px) {
    .scale-cell { padding: 36px 22px 32px; }
    .scale-cell { border-right: 1px solid var(--border); }
    .scale-cell:nth-of-type(2n) { border-right: none; }
    .scale-cell:nth-of-type(-n+2) { border-bottom: 1px solid var(--border); }
    .scale-cell:nth-of-type(3),
    .scale-cell:nth-of-type(4) { border-bottom: none; }
  }
  @media (max-width: 560px) {
    .scale-cell { border-right: none; border-bottom: 1px solid var(--border); }
    .scale-cell:last-child { border-bottom: none; }
  }

  .scale-cell::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--accent-rgb), 0.08), transparent 60%);
    opacity: 0;
    transition: opacity .5s;
    pointer-events: none;
  }
  .scale-cell:hover::after { opacity: 1; }

  .scale-cell::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 28px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), #FF4D7E);
    box-shadow: 0 0 8px rgba(var(--accent-rgb), 0.5);
    opacity: 0;
    transition: opacity .35s, width .6s cubic-bezier(.2,.8,.2,1);
  }
  .scale-cell:hover::before { opacity: 1; width: 100%; }
  .scale-cell:hover { background: rgba(var(--accent-rgb), 0.03); }

  .scale-index {
    position: absolute;
    top: 20px;
    right: 22px;
    font-size: 10px;
    color: var(--text-3);
    letter-spacing: 1.5px;
    font-variant-numeric: tabular-nums;
    opacity: 0.5;
    transition: opacity .35s, color .35s, transform .4s;
  }
  .scale-cell:hover .scale-index { opacity: 1; color: var(--accent); transform: translateY(-2px); }

  .scale-num {
    font-size: clamp(40px, 5.2vw, 80px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -3px;
    margin: 0 0 14px;
    font-variant-numeric: tabular-nums;
    display: flex;
    align-items: baseline;
    flex-wrap: nowrap;
    white-space: nowrap;
    gap: 0;
    min-height: 1em;
    position: relative;
    width: 100%;
  }
  .scale-num .nval {
    display: inline-block;
    background: linear-gradient(180deg, var(--text) 0%, #2a2a30 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: transform .5s cubic-bezier(.2,.8,.2,1);
  }
  .scale-cell:hover .scale-num .nval {
    background: linear-gradient(180deg, var(--accent) 0%, #FF4D7E 100%);
    -webkit-background-clip: text;
    background-clip: text;
    transform: translateY(-3px);
  }
  .scale-num .sf {
    font-size: 0.4em;
    color: var(--accent);
    font-weight: 500;
    letter-spacing: -1.5px;
    margin-left: 1px;
    flex-shrink: 0;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .6s ease-out, transform .6s cubic-bezier(.2,.8,.2,1);
  }
  .scale-cell.counted .scale-num .sf {
    opacity: 1;
    transform: translateY(0);
  }

  .scale-num-line {
    height: 1px;
    width: 0;
    background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.5), transparent);
    margin-bottom: 16px;
    transition: width 1.2s cubic-bezier(.2,.8,.2,1) .8s;
  }
  .scale-cell.in .scale-num-line { width: 60px; }
  .scale-cell:hover .scale-num-line { width: 100px; background: linear-gradient(90deg, var(--accent), transparent); }

  .scale-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    margin: 0 0 6px;
    letter-spacing: -0.1px;
    line-height: 1.35;
    transition: color .35s;
  }
  .scale-cell:hover .scale-label { color: var(--accent); }

  .scale-desc {
    font-size: 12px;
    color: var(--text-3);
    line-height: 1.5;
    margin: 0;
    margin-top: auto;
    max-width: 100%;
  }

  @media (max-width: 700px) {
    .scale { padding: 90px 22px 100px; }
    .scale-head { margin-bottom: 52px; }
    .scale-cell { padding: 36px 22px 30px; }
    .scale-num { letter-spacing: -3px; font-size: clamp(48px, 12vw, 72px); }
    .scale-label { white-space: normal; font-size: 12px; }
  }


  /* ============ TESTIMONIAL 3D COVERFLOW ============ */

  /* Reveal */
  .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); }
  .reveal.in { opacity: 1; transform: translateY(0); }

  /* ============ TESTIMONIAL — 3D COVERFLOW ============ */
  .ts2 { padding: 90px 28px 100px; max-width: 1400px; margin: 0 auto; }
  .ts2-head { text-align: center; margin-bottom: 56px; }
  .eb { font-size: 11px; color: var(--text-3); letter-spacing: 2px; text-transform: uppercase; margin: 0 0 14px; font-weight: 500; }
  .eb::before { content: "— "; color: var(--accent); }
  .ts2-head h2 { font-size: 38px; font-weight: 500; line-height: 1.05; letter-spacing: -1.5px; margin: 0; color: var(--text); }
  .ts2-head p { font-size: 13px; color: var(--text-3); margin: 10px 0 0; }

  /* Stage — the 3D space */
  .ts2-stage {
    position: relative;
    height: 420px;
    perspective: 1500px;
    transform-style: preserve-3d;
    /* Soft side fade so distant cards melt away */
    mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
    overflow: hidden;
  }

  /* Track holds all the cards positioned absolutely */
  .ts2-track {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
  }

  /* Card — preserved styling identity */
  .ts2-card {
    position: absolute;
    left: 50%; top: 50%;
    width: 340px;
    /* margin offset so card centers on coordinate */
    margin-left: -170px;
    margin-top: -170px;
    min-height: 340px;
    background: rgba(255,255,255,0.55);
    backdrop-filter: blur(18px) saturate(1.3);
    -webkit-backdrop-filter: blur(18px) saturate(1.3);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 18px;
    padding: 26px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
    transition:
      transform .7s cubic-bezier(.22,.8,.22,1),
      opacity .6s ease,
      filter .6s ease,
      box-shadow .6s ease,
      border-color .4s ease,
      background .4s ease;
    will-change: transform, opacity, filter;
    transform-style: preserve-3d;
    backface-visibility: hidden;
  }

  /* States — applied by JS based on position relative to center */
  /* Center (active) — biggest, fully sharp, in front */
  .ts2-card.is-center {
    z-index: 10;
    transform: translate3d(0, 0, 0) scale(1.04);
    opacity: 1;
    filter: blur(0);
    box-shadow: 0 30px 60px -20px rgba(15,15,18,0.18), 0 8px 20px rgba(var(--accent-rgb), 0.08);
    background: rgba(255,255,255,0.78);
    border-color: rgba(var(--accent-rgb), 0.22);
    cursor: default;
  }

  /* Adjacent (±1) — slightly smaller, rotated inward */
  .ts2-card.is-near-left {
    z-index: 5;
    transform: translate3d(-300px, 0, -120px) rotateY(28deg) scale(0.88);
    opacity: 0.85;
    filter: blur(0.5px);
    cursor: pointer;
  }
  .ts2-card.is-near-right {
    z-index: 5;
    transform: translate3d(300px, 0, -120px) rotateY(-28deg) scale(0.88);
    opacity: 0.85;
    filter: blur(0.5px);
    cursor: pointer;
  }

  /* Far (±2) — smaller, more rotated, more blurred */
  .ts2-card.is-far-left {
    z-index: 2;
    transform: translate3d(-540px, 0, -260px) rotateY(38deg) scale(0.75);
    opacity: 0.5;
    filter: blur(2px);
    cursor: pointer;
  }
  .ts2-card.is-far-right {
    z-index: 2;
    transform: translate3d(540px, 0, -260px) rotateY(-38deg) scale(0.75);
    opacity: 0.5;
    filter: blur(2px);
    cursor: pointer;
  }

  /* Hidden — out of view, no events */
  .ts2-card.is-hidden {
    z-index: 1;
    transform: translate3d(0, 0, -500px) scale(0.6);
    opacity: 0;
    filter: blur(6px);
    pointer-events: none;
  }

  /* Center card subtle accent glow underneath */
  .ts2-card.is-center::before {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 21px;
    background: radial-gradient(ellipse 80% 70% at 50% 100%, rgba(var(--accent-rgb), 0.22), transparent 70%);
    opacity: 1;
    z-index: -1;
    filter: blur(18px);
  }

  /* Inner card content — identical to original */
  .ts2-rating { display: flex; gap: 2px; margin-bottom: 14px; color: var(--accent); }
  .ts2-rating i { font-size: 14px; }

  .ts2-quote {
    font-size: 15px;
    line-height: 1.55;
    color: var(--text);
    margin: 0 0 18px;
    min-height: 110px;
  }

  .ts2-footer {
    display: flex; align-items: center; gap: 10px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
  }
  .ts2-card.is-center .ts2-footer { border-color: rgba(var(--accent-rgb), 0.16); }

  .ts2-av {
    width: 38px; height: 38px; border-radius: 50%;
    background: var(--accent); color: var(--accent-text);
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 500; flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(var(--accent-rgb), 0.2);
  }
  .ts2-card.is-center .ts2-av {
    box-shadow: 0 6px 18px rgba(var(--accent-rgb), 0.35);
  }

  .ts2-who { flex: 1; min-width: 0; }
  .ts2-name { font-size: 13px; font-weight: 500; margin: 0; color: var(--text); }
  .ts2-role { font-size: 11px; color: var(--text-3); margin: 1px 0 0; }
  .ts2-co {
    font-size: 11px; color: var(--text-2); font-weight: 500;
    padding: 4px 10px; border: 1px solid var(--border);
    border-radius: 6px; flex-shrink: 0;
  }
  .ts2-card.is-center .ts2-co {
    background: var(--accent-soft);
    border-color: rgba(var(--accent-rgb), 0.25);
    color: var(--accent);
  }

  /* Controls — minimal, matching original aesthetic */
  .ts2-ctl {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 36px;
  }
  .ts2-arrow {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    padding: 0;
    font: inherit;
    appearance: none;
    -webkit-appearance: none;
    transition: background .3s, border-color .3s, transform .3s, color .3s, box-shadow .3s;
  }
  .ts2-arrow:hover {
    background: var(--accent);
    color: var(--accent-text);
    border-color: var(--accent);
    box-shadow: 0 8px 20px rgba(var(--accent-rgb), 0.25);
  }
  .ts2-arrow:active { transform: scale(0.94); }
  .ts2-arrow i { font-size: 18px; }

  .ts2-dots { display: flex; gap: 6px; align-items: center; }
  .ts2-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--border-2);
    cursor: pointer;
    transition: background .3s, width .35s cubic-bezier(.2,.8,.2,1);
  }
  .ts2-dot.active {
    background: var(--accent);
    width: 24px;
    border-radius: 999px;
  }

  /* Mobile */
  @media (max-width: 800px) {
    .ts2 { padding: 70px 18px 80px; }
    .ts2-stage { height: 440px; }
    .ts2-card {
      width: 280px;
      margin-left: -140px;
      margin-top: -180px;
      padding: 22px;
    }
    .ts2-card.is-near-left { transform: translate3d(-200px, 0, -140px) rotateY(34deg) scale(0.82); }
    .ts2-card.is-near-right { transform: translate3d(200px, 0, -140px) rotateY(-34deg) scale(0.82); }
    .ts2-card.is-far-left,
    .ts2-card.is-far-right { opacity: 0; pointer-events: none; }
  }


  /* ============ WHY CHOOSE SECTION ============ */


  /* ============ WHY CHOOSE SECTION ============ */
  .wc {
    padding: 100px 28px 110px;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
  }

  /* ambient radial glow */
  .wc-glow {
    position: absolute;
    top: -80px; right: -60px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.07) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
    filter: blur(30px);
  }
  .wc-glow-2 {
    position: absolute;
    bottom: -60px; left: -80px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(245,166,35,0.05) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
    filter: blur(40px);
  }

  /* ---- Header ---- */
  .wc-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 64px;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
  }
  .wc-label {
    font-size: 11px;
    color: var(--text-3);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 12px;
  }
  .wc-label::before { content: "— "; color: var(--accent); }

  .wc-title {
    font-family: var(--font-serif);
    font-size: clamp(36px, 4.5vw, 56px);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -1.5px;
    color: var(--text);
    max-width: 520px;
  }
  .wc-title em {
    font-style: italic;
    color: var(--accent);
  }

  .wc-sub {
    font-size: 14px;
    color: var(--text-3);
    line-height: 1.65;
    max-width: 320px;
    margin-bottom: 6px;
  }

  /* ---- Google Rating Badge ---- */
  .wc-google-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--surface);
    border: 1px solid var(--border-2);
    border-radius: 14px;
    padding: 14px 20px;
    position: relative;
    overflow: hidden;
    transition: box-shadow .4s, border-color .3s, transform .4s cubic-bezier(.2,.8,.2,1);
    cursor: default;
    margin-top: 22px;
    flex-shrink: 0;
  }
  .wc-google-badge::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(var(--g-gold-soft), 2), transparent 60%);
    opacity: 0;
    transition: opacity .4s;
  }
  .wc-google-badge:hover { 
    box-shadow: 0 12px 40px rgba(245,166,35,0.18);
    border-color: rgba(245,166,35,0.4);
    transform: translateY(-2px);
  }
  .wc-google-badge:hover::before { opacity: 1; }

  .gb-icon {
    width: 36px; height: 36px;
    flex-shrink: 0;
  }
  .gb-right { display: flex; flex-direction: column; gap: 2px; }
  .gb-score {
    font-size: 22px;
    font-weight: 600;
    color: var(--text);
    line-height: 1;
    letter-spacing: -0.5px;
  }
  .gb-stars {
    display: flex;
    gap: 2px;
    align-items: center;
  }
  .gb-star {
    width: 14px; height: 14px;
    fill: var(--g-gold);
  }
  .gb-label {
    font-size: 10.5px;
    color: var(--text-3);
    letter-spacing: 0.5px;
    margin-top: 1px;
  }
  .gb-pulse {
    position: absolute;
    top: 10px; right: 10px;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #34A853;
  }
  .gb-pulse::after {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 1px solid rgba(52,168,83,0.5);
    animation: gbPulse 2.4s ease-out infinite;
  }
  @keyframes gbPulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(2.4); opacity: 0; }
  }

  /* ---- Main Grid ---- */
  .wc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 16px;
    position: relative;
    z-index: 1;
  }
  .wc-grid-secondary {
    grid-template-rows: auto;
    margin-top: 16px;
  }

  /* Base card */
  .wc-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s cubic-bezier(.2,.8,.2,1), border-color .3s;
    cursor: default;
  }
  .wc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(15,15,18,0.10);
    border-color: rgba(var(--accent-rgb), 0.20);
  }
  .wc-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(400px circle at var(--mx,50%) var(--my,50%), rgba(var(--accent-rgb),0.05), transparent 60%);
    opacity: 0;
    transition: opacity .5s;
    pointer-events: none;
  }
  .wc-card:hover::after { opacity: 1; }

  /* Featured / Accent card (first one) */
  .wc-card.feat {
    background: var(--text);
    border-color: var(--text);
    color: rgba(255,255,255,0.9);
    grid-row: 1 / 3;
  }
  .wc-card.feat:hover {
    box-shadow: 0 20px 60px rgba(15,15,18,0.30);
    border-color: rgba(var(--accent-rgb), 0.6);
  }
  .wc-card.feat::after {
    background: radial-gradient(400px circle at var(--mx,50%) var(--my,50%), rgba(var(--accent-rgb),0.12), transparent 60%);
  }

  /* Card icon wrapper */
  .wc-icon {
    width: 46px; height: 46px;
    border-radius: 13px;
    background: var(--accent-soft);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 22px;
    font-size: 22px;
    color: var(--accent);
    transition: background .3s, transform .4s cubic-bezier(.2,.8,.2,1);
    flex-shrink: 0;
  }
  .wc-card:hover .wc-icon { transform: scale(1.08); }
  .wc-card.feat .wc-icon {
    background: rgba(255,255,255,0.10);
    color: #fff;
  }
  .wc-card.feat:hover .wc-icon { background: rgba(var(--accent-rgb), 0.25); color: var(--accent); }

  /* Card content */
  .wc-card-title {
    font-size: 18px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.25;
    letter-spacing: -0.4px;
  }
  .wc-card.feat .wc-card-title { color: #fff; font-size: 22px; }

  .wc-card-desc {
    font-size: 13.5px;
    color: var(--text-3);
    line-height: 1.6;
    max-width: 340px;
  }
  .wc-card.feat .wc-card-desc { color: rgba(255,255,255,0.6); }

  /* Metric pill inside feat card */
  .feat-metrics {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 36px;
  }
  .feat-metric {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 12px;
    transition: background .3s, border-color .3s;
  }
  .feat-metric:hover {
    background: rgba(255,255,255,0.10);
    border-color: rgba(255,255,255,0.18);
  }
  .feat-metric-label {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.4px;
  }
  .feat-metric-val {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.5px;
  }
  .feat-metric-val.accent { color: var(--accent); }

  /* Progress bar accent line on hover of card */
  .wc-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    height: 2px;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), rgba(var(--accent-rgb), 0.4));
    border-radius: 0 2px 0 0;
    transition: width .6s cubic-bezier(.2,.8,.2,1);
  }
  .wc-card:hover::before { width: 100%; }
  .wc-card.feat::before { display: none; }

  /* Tag badge */
  .wc-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 500;
    color: var(--accent);
    background: var(--accent-soft);
    border: 1px solid rgba(var(--accent-rgb), 0.18);
    border-radius: 999px;
    padding: 4px 10px;
    margin-bottom: 20px;
    letter-spacing: 0.3px;
  }
  .wc-tag i { font-size: 12px; }

  /* ---- Price highlight card (spans 2 cols) ---- */
  .wc-card.price-row {
    grid-column: 2 / 4;
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 26px 30px;
  }
  .price-main {
    display: flex;
    align-items: baseline;
    gap: 4px;
    flex-shrink: 0;
  }
  .price-from { font-size: 12px; color: var(--text-3); margin-bottom: 2px; }
  .price-amt {
    font-family: var(--font-serif);
    font-size: 48px;
    font-weight: 400;
    color: var(--text);
    line-height: 1;
    letter-spacing: -2px;
  }
  .price-cur {
    font-size: 18px;
    color: var(--text-3);
    letter-spacing: -0.5px;
    align-self: flex-start;
    padding-top: 8px;
  }
  .price-divider {
    width: 1px;
    height: 60px;
    background: var(--border-2);
    flex-shrink: 0;
  }
  .price-desc {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.55;
    flex: 1;
  }
  .price-desc strong { color: var(--text); font-weight: 500; }
  .price-cta {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 999px;
    text-decoration: none;
    cursor: pointer;
    transition: opacity .25s, box-shadow .3s, transform .3s;
    box-shadow: 0 4px 14px rgba(var(--accent-rgb), 0.30);
    border: none;
  }
  .price-cta:hover {
    opacity: 0.93;
    box-shadow: 0 8px 24px rgba(var(--accent-rgb), 0.40);
    transform: translateY(-1px);
  }
  .price-cta i { font-size: 14px; }

  /* ---- Checklist inside cards ---- */
  .wc-checklist {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-top: 20px;
  }
  .wc-check {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 12.5px;
    color: var(--text-2);
    min-width: 0;
    line-height: 1.45;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .wc-check i {
    font-size: 14px;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 1px;
  }

  /* ---- Number stat inside card ---- */
  .card-stat {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-top: 18px;
  }
  .card-stat-num {
    font-family: var(--font-serif);
    font-size: 40px;
    color: var(--text);
    line-height: 1;
    letter-spacing: -2px;
  }
  .card-stat-sf {
    font-size: 14px;
    color: var(--text-3);
    letter-spacing: -0.5px;
  }

  /* ---- Responsive ---- */
  @media (max-width: 900px) {
    .wc-grid {
      grid-template-columns: 1fr 1fr;
      grid-template-rows: auto;
    }
    .wc-grid-secondary {
      grid-template-columns: 1fr 1fr;
    }
    .wc-card.feat { grid-row: auto; }
    .wc-card.price-row { grid-column: 1 / 3; flex-wrap: wrap; }
  }
  @media (max-width: 600px) {
    .wc-grid,
    .wc-grid-secondary { grid-template-columns: 1fr; }
    .wc-card.price-row {
      grid-column: 1;
      flex-direction: column;
      align-items: flex-start;
      gap: 20px;
    }
    .wc-card.price-row .price-divider { display: none; }
    .wc-card.price-row .price-cta { width: 100%; justify-content: center; }
    .wc-header { flex-direction: column; align-items: flex-start; }
    .wc-google-badge { align-self: flex-start; }
    .wc-card { padding: 24px 20px; }
  }


  /* ============ SOLUTIONS SECTION ============ */
* { box-sizing: border-box; margin: 0; padding: 0; }


/* ===================== SECTION WRAPPER ===================== */
.sol {
  position: relative;
  padding: 120px 0 140px;
  overflow: hidden;
  isolation: isolate;
}

/* Ambient background atmosphere */
.sol-atmo {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.sol-atmo::before {
  content: "";
  position: absolute;
  top: -10%; right: -8%;
  width: 70vw; height: 70vw;
  max-width: 900px; max-height: 900px;
  background: radial-gradient(circle, rgba(var(--accent-rgb),.055) 0%, transparent 60%);
  filter: blur(60px);
  animation: atmoFloat1 22s ease-in-out infinite;
}
.sol-atmo::after {
  content: "";
  position: absolute;
  bottom: -5%; left: -10%;
  width: 60vw; height: 60vw;
  max-width: 700px; max-height: 700px;
  background: radial-gradient(circle, rgba(225,190,100,.04) 0%, transparent 60%);
  filter: blur(60px);
  animation: atmoFloat2 28s ease-in-out infinite;
}
@keyframes atmoFloat1 {
  0%,100%{transform:translate(0,0) scale(1);}
  40%{transform:translate(-3%,4%) scale(1.07);}
  70%{transform:translate(2%,-3%) scale(.96);}
}
@keyframes atmoFloat2 {
  0%,100%{transform:translate(0,0) scale(1);}
  35%{transform:translate(4%,-2%) scale(1.05);}
  65%{transform:translate(-2%,3%) scale(.97);}
}

/* Fine grain texture overlay */
.sol-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: .4;
  pointer-events: none;
  z-index: 0;
}

.sol-inner { max-width: 1360px; margin: 0 auto; padding: 0 40px; position: relative; z-index: 1; }

/* ===================== HEADER ===================== */
.sol-hd {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: flex-end;
  gap: 48px;
  margin-bottom: 80px;
}
.sol-eyebrow {
  font-size: 10.5px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sol-eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px; height: 1px;
  background: var(--accent);
}
.sol-title {
  font-family: var(--font-serif);
  font-size: clamp(38px, 4.8vw, 62px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -2px;
  color: var(--text);
}
.sol-title em { font-style: italic; color: var(--accent); }
.sol-title-right {
  text-align: right;
  padding-bottom: 6px;
}
.sol-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-3);
  max-width: 280px;
  margin-left: auto;
  margin-bottom: 24px;
}
.sol-explore-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  transition: gap .3s var(--ease-cinematic);
}
.sol-explore-link:hover { gap: 12px; }
.sol-explore-link i { font-size: 14px; }

/* ===================== SEGMENTED NAV ===================== */
.sol-nav-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-bottom: 64px;
}
.sol-nav-wrap::-webkit-scrollbar { display: none; }
.sol-nav {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: 999px;
  padding: 5px;
  width: 100%;
  max-width: 520px;
  margin-bottom: 0;
  position: relative;
  box-shadow: 0 2px 20px rgba(15,15,18,0.06);
}

/* Sliding pill */
.sol-nav-pill {
  position: absolute;
  height: calc(100% - 10px);
  top: 5px;
  background: var(--text);
  border-radius: 999px;
  transition: left .55s var(--ease-cinematic), width .55s var(--ease-cinematic);
  z-index: 0;
  box-shadow: 0 4px 16px rgba(15,15,18,0.22);
}

.sol-nav-btn {
  position: relative;
  z-index: 1;
  flex: 1 1 0;
  min-width: 0;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-3);
  cursor: pointer;
  border: none;
  background: transparent;
  transition: color .4s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  font-family: var(--font-sans);
}
.sol-nav-btn i { font-size: 15px; transition: color .4s; }
.sol-nav-btn.active { color: #fff; }
.sol-nav-btn.active i { color: rgba(255,255,255,0.7); }

/* Count badge */
.sol-nav-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 600;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.8);
  transition: background .4s, color .4s;
  line-height: 1;
}
.sol-nav-btn:not(.active) .sol-nav-count {
  background: var(--accent-soft);
  color: var(--accent);
}

/* ===================== CONTENT PANELS ===================== */
.sol-panels { position: relative; }

.sol-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px) scale(.99);
  transition: opacity .65s var(--ease-cinematic), transform .65s var(--ease-cinematic);
  will-change: opacity, transform;
}
.sol-panel.active {
  position: relative;
  opacity: 1;
  pointer-events: all;
  transform: none;
}

/* ===================== EDITORIAL LAYOUT ===================== */
.sol-editorial {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  min-height: 640px;
  border: 1px solid var(--border);
  border-radius: 28px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 8px 60px rgba(15,15,18,0.06);
}

/* LEFT: Category sidebar */
.sol-sidebar {
  background: var(--text);
  padding: 48px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.sol-sidebar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 30%, rgba(var(--accent-rgb),.12), transparent 70%);
  pointer-events: none;
}
.sol-sidebar-inner { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; }

/* Panel category heading */
.sol-cat-head {
  padding: 0 36px 36px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  margin-bottom: 12px;
}
.sol-cat-eyebrow {
  font-size: 9.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 10px;
}
.sol-cat-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.5px;
}
.sol-cat-title em { font-style: italic; color: rgba(var(--accent-rgb),1); }

/* Solution items in sidebar */
.sol-items { padding: 8px 0; flex: 1; overflow-y: auto; scrollbar-width: none; }
.sol-items::-webkit-scrollbar { display: none; }

.sol-item {
  padding: 14px 36px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  transition: background .3s;
}
.sol-item::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .4s var(--ease-cinematic);
}
.sol-item:hover, .sol-item.active {
  background: rgba(255,255,255,.05);
}
.sol-item.active::before { transform: scaleY(1); }
.sol-item-icon {
  width: 32px; height: 32px;
  border-radius: 9px;
  background: rgba(255,255,255,.07);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 15px;
  color: rgba(255,255,255,.5);
  transition: background .3s, color .3s;
}
.sol-item.active .sol-item-icon {
  background: rgba(var(--accent-rgb),.2);
  color: var(--accent);
}
.sol-item-label {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  font-weight: 400;
  line-height: 1.3;
  transition: color .3s;
}
.sol-item.active .sol-item-label { color: #fff; font-weight: 500; }

/* Sidebar footer */
.sol-sidebar-foot {
  padding: 24px 36px 0;
  border-top: 1px solid rgba(255,255,255,.07);
  margin-top: 12px;
}
.sol-sidebar-stat {
  font-size: 11px;
  color: rgba(255,255,255,.3);
  line-height: 1.6;
}
.sol-sidebar-stat strong { color: rgba(255,255,255,.7); display: block; font-size: 20px; font-weight: 600; letter-spacing: -0.5px; }

/* RIGHT: Detail pane */
.sol-detail {
  padding: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* Detail sub-panels */
.sol-subpanel {
  position: absolute;
  inset: 0;
  padding: 52px 56px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(20px);
  transition: opacity .55s var(--ease-cinematic), transform .55s var(--ease-cinematic);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  scrollbar-width: none;
}
.sol-subpanel::-webkit-scrollbar { display: none; }
.sol-subpanel.active {
  position: relative;
  opacity: 1;
  pointer-events: all;
  transform: none;
}

/* Detail heading */
.sol-detail-eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sol-detail-eyebrow i { font-size: 12px; }
.sol-detail-title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--text);
  margin-bottom: 14px;
}
.sol-detail-title em { font-style: italic; color: var(--accent); }
.sol-detail-desc {
  font-size: 13.5px;
  color: var(--text-3);
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 40px;
}

/* Feature grid inside detail pane */
.sol-feats {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 40px;
}
.sol-feat {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
  transition: padding-left .35s var(--ease-cinematic);
}
.sol-feat:last-child { border-bottom: none; }
.sol-feat:hover { padding-left: 6px; }
.sol-feat-icon {
  width: 32px; height: 32px;
  border-radius: 9px;
  background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 1px;
  transition: background .35s, transform .4s var(--ease-cinematic);
}
.sol-feat:hover .sol-feat-icon {
  background: rgba(var(--accent-rgb),.14);
  transform: scale(1.08);
}
.sol-feat-
.sol-feat-name {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 2px;
  letter-spacing: -0.3px;
  line-height: 1.3;
}
.sol-feat-sub {
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.5;
}

/* CTA row at bottom of detail */
.sol-detail-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: auto;
  padding-top: 8px;
  flex-wrap: wrap;
}
.sol-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 11px 22px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(var(--accent-rgb),.28);
  transition: box-shadow .3s, transform .3s var(--ease-cinematic), opacity .25s;
}
.sol-cta-primary:hover { opacity: .92; box-shadow: 0 8px 28px rgba(var(--accent-rgb),.38); transform: translateY(-1px); }
.sol-cta-primary i { font-size: 14px; }
.sol-cta-secondary {
  font-size: 13px;
  color: var(--text-3);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color .25s, gap .3s;
}
.sol-cta-secondary:hover { color: var(--text); gap: 10px; }
.sol-cta-secondary i { font-size: 14px; }

/* ===================== BOTTOM MARQUEE STRIP ===================== */
.sol-strip {
  margin-top: 80px;
  border-top: 1px solid var(--border);
  padding-top: 40px;
  display: flex;
  align-items: center;
  gap: 48px;
  overflow: hidden;
}
.sol-strip-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-3);
  white-space: nowrap;
  flex-shrink: 0;
}
.sol-strip-track {
  flex: 1;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.sol-strip-inner {
  display: flex;
  gap: 0;
  animation: marquee 28s linear infinite;
  width: max-content;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.sol-strip-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 32px;
  font-size: 12.5px;
  color: var(--text-3);
  white-space: nowrap;
  position: relative;
}
.sol-strip-item::after {
  content: "·";
  position: absolute;
  right: 0;
  color: var(--border-2);
}
.sol-strip-item i { font-size: 13px; color: var(--accent); opacity: .6; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1000px) {
  .sol-editorial { grid-template-columns: 240px 1fr; }
  .sol-feats { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .sol-editorial { grid-template-columns: 1fr; min-height: auto; }
  .sol-sidebar { padding: 32px 0 24px; }
  .sol-items { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
  .sol-item { padding: 12px 20px; }
  .sol-cat-head { padding: 0 20px 24px; }
  .sol-sidebar-foot { display: none; }
  .sol-subpanel { padding: 36px 28px; }
  .sol-hd { grid-template-columns: 1fr; }
  .sol-title-right { text-align: left; }
  .sol-desc { margin-left: 0; }
  .sol-inner { padding: 0 20px; }
  .sol-nav-wrap { margin-bottom: 48px; overflow-x: visible; }
  .sol-nav { max-width: 100%; border-radius: 999px; }
  .sol-nav-btn { padding: 10px 10px; font-size: 12px; gap: 5px; }
}
@media (max-width: 480px) {
  .sol-items { grid-template-columns: 1fr; }
  .sol-item { padding: 12px 16px; }
  .sol-subpanel { padding: 28px 20px; }
}

/* LCP: hero headline visible immediately on mobile (no animation delay) */
@media (max-width: 860px) {
  .cxh .h-content h1 .hero-line,
  .cxh .h-content h1 .hero-line-1,
  .cxh .h-content h1 .hero-line-2 {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
  .cxh .h-content p.sub,
  .cxh .h-content .bt {
    animation: none !important;
    opacity: 1 !important;
  }
  .cxh .reveal,
  .cxh .rv,
  .cxh .rv-up {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}



/* ============ INDUSTRIES SECTION (moved from body) ============ */
/* Theme tokens + nav dropdown load via partials/cx-theme-head.blade.php in <head> */
.cx-theming, .cx-theming * {
  transition: background-color .55s var(--ease-cinematic), color .45s var(--ease-cinematic),
              border-color .45s var(--ease-cinematic), fill .45s, stroke .45s, box-shadow .45s !important;
}
@media (prefers-reduced-motion: reduce) {
  .cx-theming, .cx-theming * { transition-duration: .12s !important; }
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg); color: var(--text); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; }

/* ── Reveal ── */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease-c), transform .9s var(--ease-c); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .07s; } .rv-d2 { transition-delay: .14s; }
.rv-d3 { transition-delay: .21s; } .rv-d4 { transition-delay: .28s; }
.rv-up { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease-c), transform .7s var(--ease-c); }
.rv-up.in { opacity: 1; transform: none; }

/* ══════════════════════════════════════════
   INDUSTRIES SECTION
══════════════════════════════════════════ */
.ind {
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
  isolation: isolate;
}

/* Atmospheric ambient layers */
.ind-atmo {
  position: absolute; inset: 0;
  pointer-events: none; z-index: 0;
}
.ind-atmo::before {
  content: "";
  position: absolute;
  top: -5%; left: 50%;
  transform: translateX(-50%);
  width: 80vw; height: 60vh;
  background: radial-gradient(ellipse, rgba(var(--accent-rgb),.045) 0%, transparent 65%);
  filter: blur(70px);
  animation: indAtmo1 26s ease-in-out infinite;
}
.ind-atmo::after {
  content: "";
  position: absolute;
  bottom: 0; right: -10%;
  width: 55vw; height: 55vh;
  background: radial-gradient(ellipse, rgba(210,180,80,.04) 0%, transparent 60%);
  filter: blur(60px);
  animation: indAtmo2 32s ease-in-out infinite;
}
@keyframes indAtmo1 { 0%,100%{transform:translateX(-50%) scale(1);} 50%{transform:translateX(-48%) scale(1.06);} }
@keyframes indAtmo2 { 0%,100%{opacity:.5;} 50%{opacity:1;} }

/* Large ghost number — editorial anchor */
.ind-ghost {
  position: absolute;
  right: -2%;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-serif);
  font-size: clamp(180px, 22vw, 320px);
  font-weight: 400;
  font-style: italic;
  color: transparent;
  -webkit-text-stroke: 1px rgba(15,15,18,.045);
  line-height: 1;
  pointer-events: none;
  z-index: 0;
  user-select: none;
  letter-spacing: -8px;
}

.ind-inner {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}

/* ── Header ── */
.ind-hd {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: flex-end;
  margin-bottom: 96px;
}
.ind-eyebrow {
  font-size: 10.5px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ind-eyebrow::before { content:""; width:24px; height:1px; background:var(--accent); display:inline-block; }
.ind-title {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5vw, 66px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -2.5px;
  color: var(--text);
}
.ind-title em { font-style: italic; color: var(--accent); }
.ind-hd-right {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  gap: 28px;
  padding-bottom: 4px;
  text-align: right;
}
.ind-hd-left .ind-title { margin-bottom: 0; }
.ind-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-3);
  max-width: 380px;
  margin-left: auto;
}
.ind-count-row {
  display: flex;
  gap: 40px;
  justify-content: flex-end;
  margin-left: auto;
}
.ind-count {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.ind-count-num {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 400;
  color: var(--text);
  letter-spacing: -1.5px;
  line-height: 1;
}
.ind-count-label {
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.5px;
}

/* ══════════════════════════════════════════
   ACTIVE INDUSTRY SHOWCASE (top large panel)
══════════════════════════════════════════ */
.ind-showcase {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 0;
  border: 1px solid var(--border-2);
  border-radius: 28px;
  overflow: hidden;
  background: var(--surface);
  margin-bottom: 20px;
  min-height: 420px;
  box-shadow: 0 8px 60px rgba(15,15,18,.055);
  position: relative;
}

/* Left: active content */
.ind-active-content {
  padding: 56px 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.ind-active-content::before {
  content:"";
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent), rgba(var(--accent-rgb),.2));
  border-radius: 0 2px 2px 0;
}

.ind-active-top {}
.ind-active-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(var(--accent-rgb),.18);
  border-radius: 999px;
  padding: 5px 13px;
  margin-bottom: 28px;
}
.ind-active-tag i { font-size: 12px; }
.ind-active-name {
  font-family: var(--font-serif);
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 400;
  line-height: 1.07;
  letter-spacing: -1.5px;
  color: var(--text);
  margin-bottom: 18px;
  transition: none;
}
.ind-active-name em { font-style: italic; color: var(--accent); }
.ind-active-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-3);
  max-width: 480px;
  margin-bottom: 36px;
}

/* Check list of key verifications */
.ind-active-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 32px;
  margin-bottom: 40px;
}
.ind-active-check {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--text-2);
}
.ind-active-check i {
  font-size: 14px;
  color: var(--accent);
  flex-shrink: 0;
}

.ind-active-cta {
  display: flex;
  align-items: center;
  gap: 18px;
}
.ind-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 11px 22px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(var(--accent-rgb),.28);
  transition: box-shadow .3s, transform .3s var(--ease-c), opacity .2s;
}
.ind-btn-primary:hover { opacity:.92; transform:translateY(-1px); box-shadow:0 8px 28px rgba(var(--accent-rgb),.38); }
.ind-btn-primary i { font-size: 14px; }
.ind-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--text-3);
  text-decoration: none;
  transition: color .25s, gap .3s;
}
.ind-btn-ghost:hover { color: var(--text); gap: 11px; }
.ind-btn-ghost i { font-size: 14px; }

/* Right: visual panel */
.ind-active-visual {
  position: relative;
  background: var(--text);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
}
.ind-active-visual::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 70% at 50% 30%, rgba(var(--accent-rgb),.15), transparent 65%);
}
/* Floating icon cluster */
.ind-visual-icon {
  position: absolute;
  font-size: 140px;
  line-height: 1;
  color: rgba(255,255,255,.045);
  top: 50%; left: 50%;
  transform: translate(-50%,-54%);
  transition: font-size .6s var(--ease-c), color .6s;
  pointer-events: none;
  font-style: normal;
}
.ind-visual-number {
  font-family: var(--font-serif);
  font-size: 11px;
  color: rgba(255,255,255,.35);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}
.ind-visual-name {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  color: rgba(255,255,255,.9);
  line-height: 1.2;
  letter-spacing: -0.8px;
  position: relative;
  z-index: 1;
}
.ind-visual-name em { font-style: italic; color: rgba(var(--accent-rgb),1); }

/* Orbiting dots decoration */
.ind-visual-orbit {
  position: absolute;
  top: 50%; left: 50%;
  width: 220px; height: 220px;
  margin: -110px 0 0 -110px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.06);
  animation: indOrbit 18s linear infinite;
}
.ind-visual-orbit::before {
  content: "";
  position: absolute;
  top: -4px; left: 50%;
  width: 8px; height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .7;
}
@keyframes indOrbit { to { transform: rotate(360deg); } }
.ind-visual-orbit-2 {
  position: absolute;
  top: 50%; left: 50%;
  width: 160px; height: 160px;
  margin: -80px 0 0 -80px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.04);
  animation: indOrbit 28s linear infinite reverse;
}

/* ══════════════════════════════════════════
   INDUSTRY SELECTOR GRID
══════════════════════════════════════════ */
.ind-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.ind-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px 18px 20px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition:
    border-color .4s,
    box-shadow .4s,
    transform .45s var(--ease-c),
    background .3s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  outline: none;
  text-align: left;
}

/* Sweep line top */
.ind-tile::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--accent), rgba(var(--accent-rgb),.3));
  transition: width .5s var(--ease-c);
  border-radius: 0 2px 0 0;
}
.ind-tile:hover::before,
.ind-tile.active::before { width: 100%; }

/* Mouse-track glow */
.ind-tile::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(320px circle at var(--mx,50%) var(--my,50%), rgba(var(--accent-rgb),.06), transparent 55%);
  opacity: 0;
  transition: opacity .5s;
  pointer-events: none;
}
.ind-tile:hover::after { opacity: 1; }

.ind-tile:hover {
  border-color: rgba(var(--accent-rgb),.22);
  box-shadow: 0 10px 40px rgba(15,15,18,.08);
  transform: translateY(-3px);
}

.ind-tile.active {
  background: var(--text);
  border-color: var(--text);
  box-shadow: 0 12px 44px rgba(15,15,18,.22);
  transform: translateY(-4px);
}
.ind-tile.active::after {
  background: radial-gradient(320px circle at var(--mx,50%) var(--my,50%), rgba(var(--accent-rgb),.12), transparent 55%);
}

/* Icon */
.ind-tile-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  color: var(--accent);
  flex-shrink: 0;
  transition: background .35s, color .35s, transform .4s var(--ease-c);
}
.ind-tile:hover .ind-tile-icon { transform: scale(1.1) rotate(-4deg); }
.ind-tile.active .ind-tile-icon {
  background: rgba(var(--accent-rgb),.2);
  color: var(--accent);
}

/* Name */
.ind-tile-name {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.3;
  letter-spacing: -0.3px;
  transition: color .3s;
}
.ind-tile.active .ind-tile-name { color: rgba(255,255,255,.9); }

/* Index number */
.ind-tile-idx {
  font-size: 10px;
  color: var(--text-3);
  letter-spacing: 1px;
  margin-top: auto;
  transition: color .3s;
}
.ind-tile.active .ind-tile-idx { color: rgba(255,255,255,.3); }

/* ── Bottom strip ── */
.ind-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  margin-top: 12px;
}
.ind-strip-text {
  font-size: 13px;
  color: var(--text-3);
  max-width: 440px;
  line-height: 1.6;
}
.ind-strip-text strong { color: var(--text); font-weight: 500; }
.ind-strip-actions { display: flex; align-items: center; gap: 20px; }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .ind-grid { grid-template-columns: repeat(4, 1fr); }
  .ind-showcase { grid-template-columns: 1fr 340px; }
}
@media (max-width: 900px) {
  .ind-hd { grid-template-columns: 1fr; }
  .ind-hd-right {
    align-items: flex-start;
    text-align: left;
  }
  .ind-count-row { justify-content: flex-start; }
  .ind-showcase { grid-template-columns: 1fr; min-height: auto; }
  .ind-active-visual { min-height: 220px; }
  .ind-grid { grid-template-columns: repeat(3, 1fr); }
  .ind-active-content { padding: 36px 28px; }
  .ind-active-checks { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .ind-inner { padding: 0 20px; }
  .ind-strip { flex-direction: column; gap: 20px; align-items: flex-start; }
  .ind-active-content { padding: 28px 20px; }
}
@media (max-width: 380px) {
  .ind-grid { grid-template-columns: 1fr; }
}

/* ============ CERTIFICATIONS SECTION (moved from body) ============ */
/* ══════════════════════════════════════════
   CERTIFICATIONS — deep cinematic stage
══════════════════════════════════════════ */
.crt {
  position: relative;
  padding: 70px 0 110px;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg);
}

/* ── Ambient atmospheric layers ── */
.crt-atmo { position: absolute; inset: 0; pointer-events: none; z-index: 0; }

/* Primary red wash — large, slow */
.crt-atmo::before {
  content: "";
  position: absolute;
  top: 5%; left: 50%;
  transform: translateX(-50%);
  width: 100vw; height: 75vh;
  background: radial-gradient(ellipse, rgba(var(--accent-rgb),.07) 0%, transparent 65%);
  filter: blur(90px);
  opacity: .92;
}
/* Warm amber undertone */
.crt-atmo::after {
  content: "";
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 75vw; height: 55vh;
  background: radial-gradient(ellipse, rgba(200,170,90,.055) 0%, transparent 60%);
  filter: blur(80px);
  opacity: .8;
}

/* Vertical spotlight beam — cinematic light wash falling on the stage (static) */
.crt-beam {
  position: absolute;
  top: 35%; left: 50%;
  transform: translateX(-50%);
  width: 90%; max-width: 1200px; height: 50%;
  background:
    radial-gradient(ellipse 70% 100% at 50% 0%, rgba(var(--accent-rgb),.04) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 50% 50%, rgba(255,255,255,.4) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
  opacity: .85;
}

/* Stage floor — hairline divider that anchors the logo baseline.
   Positioned inside .crt-stage and aligned to where the logo wrappers end,
   then nudged up so it sits cleanly between the logos and the captions
   with intentional breathing room on both sides. */
.crt-floor {
  position: absolute;
  left: clamp(10px, 4vw, 60px);
  right: clamp(10px, 4vw, 60px);
  bottom: 120px;           /* sits 120px above the bottom of .crt-stage —
                              clear of the caption block, just below the logo floor-shadows */
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(15,15,18,.07) 18%, rgba(15,15,18,.07) 82%, transparent);
  z-index: 0;
  pointer-events: none;
}
/* Soft gradient floor wash — suggests depth, sits above the line (under the logos) */
.crt-floor::before {
  content: "";
  position: absolute;
  left: 8%; right: 8%;
  bottom: 1px;
  height: 56px;
  background: linear-gradient(to top, rgba(15,15,18,.015), transparent);
  pointer-events: none;
}

.crt-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}

/* ── Header — restrained, centered editorial ── */
.crt-hd {
  text-align: center;
  margin-bottom: 110px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.crt-eyebrow {
  font-size: 10.5px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 36px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 500;
}
.crt-eyebrow::before,
.crt-eyebrow::after { content:""; width:40px; height:1px; background: var(--accent); display:inline-block; }
.crt-title {
  font-family: var(--font-serif);
  font-size: clamp(48px, 6.2vw, 84px);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -3.2px;
  color: var(--text);
  margin-bottom: 36px;
}
.crt-title em { font-style: italic; color: var(--accent); }
.crt-sub {
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--text-3);
  max-width: 600px;
  margin: 0 auto;
}

/* ══════════════════════════════════════════
   THE STAGE — logos floating freely
══════════════════════════════════════════ */
.crt-stage {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(20px, 5vw, 80px);
  padding: 0 clamp(10px, 4vw, 60px);
  margin-bottom: 100px;
}

.crt-piece {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: default;
}

/* Logos sit on a single, aligned baseline */

/* Logo zone — open air, just the logo with its shadow */
.crt-piece-logo-wrap {
  position: relative;
  height: 200px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 48px;
}

/* Floor shadow — ground anchor */
.crt-piece-logo-wrap::after {
  content: "";
  position: absolute;
  bottom: -14px;
  left: 22%;
  right: 22%;
  height: 18px;
  background: radial-gradient(ellipse, rgba(15,15,18,.13) 0%, transparent 70%);
  filter: blur(6px);
  z-index: 0;
  transition: opacity 1.2s var(--ease-c), transform 1.2s var(--ease-c);
}

/* Red ambient glow — breathes in on hover */
.crt-piece-logo-wrap::before {
  content: "";
  position: absolute;
  bottom: -30px;
  left: 8%;
  right: 8%;
  height: 130px;
  background:
    radial-gradient(ellipse 55% 100% at 50% 100%, rgba(var(--accent-rgb),.28), transparent 70%);
  opacity: 0;
  filter: blur(28px);
  transition: opacity 1.4s var(--ease-c);
  z-index: 0;
  pointer-events: none;
}

.crt-piece-logo {
  position: relative;
  max-width: 90%;
  max-height: 170px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 30px rgba(15,15,18,.12));
  transition: transform 1.6s var(--ease-c), filter 1.2s var(--ease-c);
  z-index: 1;
  user-select: none;
  -webkit-user-drag: none;
  animation: crtLogoFloat 7s ease-in-out infinite;
  will-change: transform;
}

/* Staggered float — refined, never in unison */
.crt-piece:nth-of-type(1) .crt-piece-logo { animation-delay: 0s; }
.crt-piece:nth-of-type(2) .crt-piece-logo { animation-delay: -1.75s; }
.crt-piece:nth-of-type(3) .crt-piece-logo { animation-delay: -3.5s; }
.crt-piece:nth-of-type(4) .crt-piece-logo { animation-delay: -5.25s; }

@keyframes crtLogoFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* Pause the float when the user respects reduced motion */
@media (prefers-reduced-motion: reduce) {
  .crt-piece-logo { animation: none; }
}

.crt-piece:hover .crt-piece-logo {
  transform: translateY(-16px) scale(1.06);
  filter: drop-shadow(0 22px 44px rgba(var(--accent-rgb),.26));
}
.crt-piece:hover .crt-piece-logo-wrap::before { opacity: 1; }
.crt-piece:hover .crt-piece-logo-wrap::after {
  opacity: .35;
  transform: scaleX(1.35) scaleY(.65);
}

/* Caption — minimal typography */
.crt-piece-cat {
  font-size: 9.5px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 500;
  margin-bottom: 14px;
  transition: color .7s var(--ease-c);
}
.crt-piece:hover .crt-piece-cat { color: var(--accent); }

.crt-piece-name {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.8px;
  color: var(--text);
  margin-bottom: 10px;
}
.crt-piece-name em { font-style: italic; color: var(--accent); }

.crt-piece-status {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 13.5px;
  color: var(--text-3);
  letter-spacing: 0.2px;
}

/* ══════════════════════════════════════════
   COMPLIANCE STATEMENT — closing serif row
══════════════════════════════════════════ */
.crt-statement {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  padding-top: 56px;
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.crt-statement::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20%; right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(15,15,18,.12), transparent);
}
.crt-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.crt-stat-val {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 400;
  letter-spacing: -1.2px;
  line-height: 1;
  color: var(--text);
}
.crt-stat-val em { font-style: italic; color: var(--accent); }
.crt-stat-key {
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 500;
}
.crt-stat-sep {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--border) 50%, transparent);
}

/* ══════════════════════════════════════════
   Reveal — slow, cinematic
══════════════════════════════════════════ */
.crt-rv { opacity: 0; transform: translateY(36px); transition: opacity 1.6s var(--ease-c), transform 1.6s var(--ease-c); }
.crt-rv.in { opacity: 1; transform: none; }
.crt-rv-d1 { transition-delay: .15s; }
.crt-rv-d2 { transition-delay: .30s; }
.crt-rv-d3 { transition-delay: .45s; }
.crt-rv-d4 { transition-delay: .60s; }
.crt-rv-d5 { transition-delay: .75s; }

/* ══════════════════════════════════════════
   Responsive
══════════════════════════════════════════ */
@media (max-width: 1100px) {
  .crt-piece-logo-wrap { height: 170px; }
  .crt-piece-logo { max-height: 140px; }
}
@media (max-width: 900px) {
  .crt { padding: 80px 0 90px; }
  .crt-hd { margin-bottom: 70px; }
  .crt-stage {
    flex-wrap: wrap;
    gap: 70px 30px;
    padding: 0 10px;
    margin-bottom: 70px;
  }
  .crt-piece { flex: 0 0 calc(50% - 15px); transform: none !important; }
  .crt-piece-logo-wrap { height: 150px; margin-bottom: 36px; }
  .crt-piece-logo { max-height: 120px; }
  .crt-statement { gap: 40px; padding-top: 48px; }
  .crt-stat-sep { display: none; }
  .crt-floor { display: none; }
  .crt-beam { top: 30%; height: 60%; }
}
@media (max-width: 600px) {
  .crt-inner { padding: 0 22px; }
  .crt-stage { flex-direction: column; gap: 80px; }
  .crt-piece { flex: 1; width: 100%; }
  .crt-statement::before { left: 5%; right: 5%; }
}
