    /* ═══════════════════════════════════════
   BOTRIQ — FIXED & UPGRADED
═══════════════════════════════════════ */

    /* ── TOKENS ── */
    :root {
      --blue: #1B4FD8;
      --blue-light: #3B82F6;
      --blue-pale: #EEF2FF;
      --blue-border: #C7D2FE;
      --navy: #0A1628;
      --navy-mid: #0D2255;
      --text: #0F172A;
      --muted: #475569;
      --surface: #FFFFFF;
      --bg: #F0F4FF;
      --card-bg: #FFFFFF;
      --radius: 20px;
      --radius-sm: 12px;
      --shadow: 0 2px 16px rgba(27, 79, 216, .07);
      --shadow-md: 0 8px 32px rgba(27, 79, 216, .12);
      --shadow-hover: 0 20px 48px rgba(27, 79, 216, .18);
      --ease: cubic-bezier(.4, 0, .2, 1);
      --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
      --brand-cyan: #0AC4D6;
    }

    /* ── RESET ── */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html,
    body {
      width: 100%;
      max-width: 100%;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
      background: #1b1e2f;
      scroll-snap-type: none;
    }

    body {
      font-family: 'Plus Jakarta Sans', sans-serif;
      color: var(--text);
      overflow-x: hidden;
      background: #1b1e2f;
    }

    .page-body {
      background: var(--bg);
      position: relative;
      width: 100%;
      overflow-x: hidden;
    }

    /* Subtle texture overlay */
    .page-body::before {
      content: '';
      position: fixed;
      inset: 0;
      z-index: 0;
      pointer-events: none;
      background-image:
        radial-gradient(circle, rgba(27, 79, 216, .045) 1px, transparent 1px);
      background-size: 28px 28px;
      mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, .6) 8%, rgba(0, 0, 0, .6) 92%, transparent 100%);
      -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, .6) 8%, rgba(0, 0, 0, .6) 92%, transparent 100%);
    }

    /* All sections sit above texture */
    .page-body>* {
      position: relative;
      z-index: 1;
    }

    /* ── HEADER — floating pill navbar ── */
    /* Two states: deep navy glass over photo heroes, white glass once
       scrolled (and on the light Gallery/Blog pages, see syncHeader). */
    header {
      background: rgba(10, 22, 40, .74);
      backdrop-filter: blur(18px) saturate(1.4);
      -webkit-backdrop-filter: blur(18px) saturate(1.4);
      height: 66px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding: 0 clamp(16px, 2.4vw, 30px);
      position: fixed;
      top: 16px;
      left: 50%;
      transform: translateX(-50%);
      width: min(1200px, calc(100% - 32px));
      z-index: 1000;
      border: 1px solid rgba(255, 255, 255, .12);
      border-radius: 999px;
      box-shadow: 0 10px 32px rgba(5, 12, 30, .28), inset 0 1px 0 rgba(255, 255, 255, .08);
      transition: background .4s var(--ease), backdrop-filter .4s, border-color .4s, box-shadow .4s, top .3s var(--ease), border-radius .3s var(--ease), width .3s var(--ease);
    }

    header.scrolled {
      top: 10px;
      background: rgba(255, 255, 255, .88);
      backdrop-filter: blur(22px) saturate(1.6);
      -webkit-backdrop-filter: blur(22px) saturate(1.6);
      border: 1px solid rgba(27, 79, 216, .12);
      box-shadow: 0 4px 16px rgba(13, 34, 85, .08), 0 14px 36px rgba(13, 34, 85, .10), inset 0 1px 0 #fff;
    }

    @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
      header { background: rgba(10, 22, 40, .94); }
      header.scrolled { background: rgba(255, 255, 255, .98); }
    }

    /* Hamburger toggle (mobile only) */
    .nav-toggle {
      display: none;
      flex-direction: column;
      justify-content: center;
      gap: 5px;
      width: 34px;
      height: 34px;
      border: none;
      background: transparent;
      cursor: pointer;
      padding: 0;
      z-index: 1002;
    }

    .nav-toggle span {
      display: block;
      width: 100%;
      height: 2px;
      border-radius: 2px;
      background: #fff;
      transition: transform .3s var(--ease), opacity .3s var(--ease), background .3s var(--ease);
    }

    header.scrolled .nav-toggle span {
      background: #0F172A;
    }

    .nav-toggle[aria-expanded="true"] span:nth-child(1) {
      transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle[aria-expanded="true"] span:nth-child(2) {
      opacity: 0;
    }

    .nav-toggle[aria-expanded="true"] span:nth-child(3) {
      transform: translateY(-7px) rotate(-45deg);
    }

    /* V7: real PNG logo with transparent background — no inversion filter */
    .logo img {
      height: 36px;
      width: auto;
      display: block;
      transition: opacity .35s var(--ease), transform .35s var(--ease);
    }

    header:not(.scrolled) .logo img {
      filter: drop-shadow(0 1px 4px rgba(0, 0, 0, .25));
    }

    /* V6: SVG inline logo — color via currentColor */
    .logo {
      display: inline-flex;
      align-items: center;
      color: #fff;
      transition: color .35s var(--ease), transform .3s var(--ease-spring);
    }

    .logo:hover {
      transform: scale(1.015);
    }

    .logo:hover img {
      transform: scale(1.03);
    }

    .logo svg {
      height: 38px;
      width: auto;
      display: block;
    }

    header.scrolled .logo {
      color: var(--brand-cyan);
    }

    nav ul {
      display: flex;
      list-style: none;
      gap: 10px;
      align-items: center;
    }

    nav a {
      text-decoration: none;
      color: rgba(255, 255, 255, .9);
      font-size: 13.5px;
      font-weight: 500;
      padding: 9px 18px;
      border-radius: 10px;
      transition: color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
      position: relative;
      letter-spacing: -.01em;
    }

    nav a:hover {
      color: #fff;
      background: rgba(255, 255, 255, .10);
      transform: translateY(-1px);
    }

    nav a.active {
      color: #fff;
      background: rgba(255, 255, 255, .14);
      font-weight: 600;
    }

    header.scrolled nav a {
      color: var(--navy);
    }

    header.scrolled nav a:hover {
      color: var(--blue);
      background: var(--blue-pale);
    }

    header.scrolled nav a.active {
      color: var(--blue);
      background: var(--blue-pale);
    }

    .nav-dropdown-trigger {
      display: inline-flex;
      align-items: center;
      gap: 4px;
    }

    .nav-dropdown-trigger::after {
      content: '';
      display: inline-block;
      width: 7px;
      height: 7px;
      border-right: 1.6px solid currentColor;
      border-bottom: 1.6px solid currentColor;
      transform: rotate(45deg) translateY(-1px);
      margin-left: 2px;
      transition: transform .25s var(--ease);
      opacity: .75;
    }

    .has-mega:hover .nav-dropdown-trigger::after,
    .has-mega:focus-within .nav-dropdown-trigger::after,
    .nav-dropdown-trigger[aria-expanded="true"]::after {
      transform: rotate(225deg) translateY(1px);
    }

    .has-mega.is-dismissed .nav-dropdown-trigger::after {
      transform: rotate(45deg) translateY(-1px);
    }

    .nav-cta {
      background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%) !important;
      color: #fff !important;
      border-radius: 50px !important;
      padding: 10px 24px !important;
      margin-left: 6px;
      box-shadow: 0 4px 14px rgba(27, 79, 216, .32) !important;
      font-weight: 600 !important;
      letter-spacing: -.01em !important;
      transition: transform .28s var(--ease-spring), box-shadow .28s var(--ease-spring), background .28s var(--ease) !important;
    }

    .nav-cta:hover {
      transform: translateY(-2px) scale(1.025) !important;
      box-shadow: 0 12px 28px rgba(27, 79, 216, .46) !important;
      background: linear-gradient(135deg, #1a48c8 0%, #2b72e5 100%) !important;
    }

    .nav-cta:active {
      transform: translateY(-1px) scale(1.01) !important;
      box-shadow: 0 6px 16px rgba(27, 79, 216, .38) !important;
    }

    /* ══════════════════════════════════════════════════════════
       HERO — full-image slideshow. Each slide is a complete,
       pre-composed photo (robot already placed within its own
       background scene by design). Slides simply cross-fade;
       nothing is separately positioned or animated on top of them.
       ══════════════════════════════════════════════════════════ */
    .hero {
      position: relative;
      width: 100%;
      min-height: 92vh;
      overflow: hidden;
      display: flex;
      align-items: center;
      background: #f4f6f8;
    }

    @supports (height: 100svh) {
      .hero { min-height: 92svh; }
    }

    /* One static lobby scene; only the bot cutouts on top cross-fade. */
    .hero-bg {
      position: absolute;
      inset: 0;
      z-index: 0;
      overflow: hidden;
    }

    .hero-bg-scene {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center center;
    }

    /* Light scrim behind the copy: quiets the circuit lines and plant so
       the headline and industry cards read clearly; the robots stay untouched. */
    .hero-bg::after {
      content: "";
      position: absolute;
      inset: 0;
      z-index: 0;
      pointer-events: none;
      background: linear-gradient(90deg,
          rgba(246, 248, 252, .94) 0%,
          rgba(246, 248, 252, .86) 32%,
          rgba(246, 248, 252, .45) 48%,
          rgba(246, 248, 252, 0) 60%);
    }

    /* single-column laptops/tablets: keep the copy off the wall logo */
    @media (min-width: 901px) and (max-width: 1180px) {
      .hero-copy {
        max-width: 560px;
      }
      .hero-bg::after {
        background: linear-gradient(90deg,
            rgba(246, 248, 252, .95) 0%,
            rgba(246, 248, 252, .88) 42%,
            rgba(246, 248, 252, .5) 58%,
            rgba(246, 248, 252, 0) 70%);
      }
    }

    @media (max-width: 900px) {
      .hero-bg::after {
        background: linear-gradient(180deg,
            rgba(246, 248, 252, .92) 0%,
            rgba(246, 248, 252, .82) 65%,
            rgba(246, 248, 252, .4) 100%);
      }
    }

    /* Bot stands on the lobby floor. --x / --y / --h are set per bot in
       the HTML (tuned by eye) so each keeps its real-world scale. */
    .hero-bg-slide {
      position: absolute;
      left: var(--x, 70%);
      bottom: var(--y, 12%);
      height: var(--h, 40%);
      translate: -50% 0;
      opacity: 0;
      transform: translateY(16px);
      transition: opacity .6s cubic-bezier(.22,.61,.24,1), transform .6s cubic-bezier(.22,.61,.24,1);
    }

    .hero-bg-slide.is-active {
      opacity: 1;
      transform: none;
      z-index: 1;
    }

    .hero-bg-slide img {
      height: 100%;
      width: auto;
      display: block;
      filter: drop-shadow(0 4px 4px rgba(14, 20, 32, .22));
    }

    /* Soft contact shadow so the bot sits on the floor instead of floating */
    .hero-bg-slide::after {
      content: "";
      position: absolute;
      left: 12%;
      right: 12%;
      bottom: 2%;
      height: 6%;
      background: radial-gradient(ellipse at center, rgba(14, 20, 32, .28), transparent 70%);
      z-index: -1;
    }

    @media (max-width: 768px) {
      .hero-bg-slide { left: 70%; bottom: 3%; height: calc(var(--h, 40%) * .7); }
      .hero-bg-slide.is-active { opacity: .45; }
    }

    @media (prefers-reduced-motion: reduce) {
      .hero-bg-slide { transition: none; transform: none; }
    }

    .hero-inner {
      position: relative;
      z-index: 2;
      width: 100%;
      max-width: 1440px;
      margin: 0 auto;
      padding: 0 64px;
      display: grid;
      grid-template-columns: minmax(360px, 560px) 1fr;
      align-items: center;
      gap: 24px;
      min-height: 92vh;
      padding-top: 84px; /* clear the floating header */
      padding-bottom: 48px; /* clear the slide index */
    }

    @supports (height: 100svh) {
      .hero-inner { min-height: 92svh; }
    }

    /* ── LEFT: hero copy ── */
    .hero-copy { padding-top: 32px; }

    .hero-tag {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 12.5px;
      font-weight: 700;
      letter-spacing: 2.2px;
      text-transform: uppercase;
      color: var(--blue-deep, #0a6f8c);
      background: rgba(255, 255, 255, .85);
      border: 1px solid rgba(18, 163, 201, .28);
      box-shadow: 0 4px 14px rgba(14, 20, 32, .05);
      padding: 7px 16px;
      border-radius: 100px;
      margin-bottom: 26px;
    }

    .hero-tag span {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--blue);
      box-shadow: 0 0 0 3px rgba(18, 163, 201, .18);
      animation: pulse 2.2s ease-in-out infinite;
    }

    @keyframes pulse {
      0% { opacity: 1; transform: scale(1); }
      50% { opacity: .6; transform: scale(1.4); }
      100% { opacity: 1; transform: scale(1); }
    }

    .hero h1 {
      font-size: clamp(34px, 3.7vw, 54px);
      line-height: 1.07;
      font-weight: 800;
      letter-spacing: -1.6px;
      margin: 0 0 30px;
      color: var(--text);
    }

    .hero h1 em {
      font-style: normal;
      background: linear-gradient(90deg, var(--blue-deep, #0c86a8), var(--blue));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .hero p {
      font-size: clamp(15px, 1.15vw, 18px);
      line-height: 1.7;
      color: var(--muted);
      max-width: 480px;
      margin: 0 0 34px;
    }

    .hero-cta {
      display: flex;
      align-items: center;
      gap: 18px;
      flex-wrap: wrap;
    }

    /* Three industries, one glance: icon + name + what the robots do there */
    .hero-industries {
      list-style: none;
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 10px;
      margin: 0 0 32px;
      padding: 0;
      max-width: 520px;
    }

    .hero-industries li {
      display: flex;
      align-items: center;
      gap: 10px;
      min-width: 0;
      padding: 10px 12px 10px 10px;
      border-radius: 14px;
      background: rgba(255, 255, 255, .94);
      border: 1px solid rgba(27, 79, 216, .14);
      box-shadow: 0 8px 22px rgba(14, 20, 32, .08);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
    }

    .hero-industries li:hover {
      transform: translateY(-2px);
      border-color: rgba(27, 79, 216, .28);
      box-shadow: 0 10px 24px rgba(27, 79, 216, .12);
    }

    .hero-ind-icon {
      flex: 0 0 34px;
      width: 34px;
      height: 34px;
      border-radius: 10px;
      display: grid;
      place-items: center;
      background: var(--blue-pale);
      border: 1px solid var(--blue-border);
      color: var(--blue);
    }

    .hero-ind-icon svg {
      width: 18px;
      height: 18px;
    }

    .hero-ind-text {
      display: flex;
      flex-direction: column;
      gap: 1px;
      min-width: 0;
    }

    .hero-ind-text strong {
      font-size: 13.5px;
      font-weight: 700;
      line-height: 1.25;
      letter-spacing: -.1px;
      color: var(--text);
      white-space: nowrap;
    }

    .hero-ind-text small {
      font-size: 11.5px;
      font-weight: 500;
      line-height: 1.3;
      color: var(--muted);
    }

    /* short desktop viewports (e.g. 1280x720): tighten the vertical rhythm */
    @media (min-width: 901px) and (max-height: 800px) {
      .hero-tag { margin-bottom: 16px; }
      .hero h1 { font-size: clamp(34px, 3.6vw, 50px); margin-bottom: 24px; }
      .hero-industries { margin-bottom: 26px; }
    }

    @media (max-width: 560px) {
      .hero-industries {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-bottom: 26px;
      }
      .hero-industries li {
        padding: 8px 12px 8px 8px;
      }
      .hero-ind-text {
        flex-direction: row;
        align-items: baseline;
        flex-wrap: wrap;
        column-gap: 8px;
      }
    }

    /* ── Slideshow progress overlay (index label + dots) ──
       Sits at the bottom of the full-bleed hero, independent of any
       robot positioning — it now just reflects which full image is
       currently showing. */
    .stage-index {
      position: absolute;
      left: 50%;
      bottom: 2.5%;
      transform: translateX(-50%);
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 12.5px;
      font-weight: 700;
      letter-spacing: .5px;
      color: var(--muted);
      background: rgba(255, 255, 255, .78);
      border: 1px solid rgba(14, 20, 32, .08);
      padding: 8px 16px;
      border-radius: 100px;
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      z-index: 4;
      white-space: nowrap;
      box-shadow: 0 6px 20px rgba(14, 20, 32, .06);
    }

    .stage-index .num {
      font-variant-numeric: tabular-nums;
      font-weight: 800;
      color: var(--text);
      letter-spacing: .04em;
    }

    .stage-index .divider {
      width: 1px;
      height: 12px;
      background: rgba(14, 20, 32, .14);
    }

    .stage-index .name {
      color: var(--blue-deep, #0c86a8);
      font-weight: 700;
      text-transform: uppercase;
    }

    .stage-dots {
      position: absolute;
      right: 8px;
      bottom: 2.5%;
      display: flex;
      gap: 7px;
      z-index: 4;
    }

    .stage-dots span {
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: rgba(14, 20, 32, .18);
      transition: background .4s var(--ease), transform .4s var(--ease);
    }

    .stage-dots span.active {
      background: var(--blue-deep, #0c86a8);
      transform: scale(1.5);
    }

    @media (prefers-reduced-motion: reduce) {
      .stage-index, .hero-tag span { transition: none !important; animation: none !important; }
    }

    @media (max-width: 1180px) {
      .hero-inner { grid-template-columns: 1fr; padding: 0 32px; gap: 8px; }
      .hero-copy { padding-top: 64px; }
      .stage-index, .stage-dots { bottom: 1%; }
    }

    @media (max-width: 900px) {
      .hero { min-height: auto; }
      .hero-inner { padding: 120px 22px 40px; min-height: auto; }
      .hero-copy { padding-top: 0; }
      .hero p { max-width: none; }
      .stage-index { font-size: 11px; padding: 6px 12px; }
    }

    /* ── BUTTONS ── */
    .btn-primary {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: linear-gradient(135deg, var(--blue), var(--blue-light));
      color: #fff;
      padding: 13px 28px;
      border-radius: 50px;
      font-weight: 700;
      font-size: 14px;
      border: none;
      cursor: pointer;
      transition: all .28s var(--ease-spring);
      box-shadow: 0 6px 22px rgba(27, 79, 216, .38);
      text-decoration: none;
      letter-spacing: -.01em;
    }

    .btn-primary:hover {
      transform: translateY(-3px) scale(1.02);
      box-shadow: 0 14px 34px rgba(27, 79, 216, .5);
    }

    .btn-primary:active {
      transform: translateY(-1px);
    }

    .btn-ghost {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: #fff;
      color: var(--blue-deep, #0c86a8);
      padding: 13px 28px;
      border-radius: 50px;
      font-weight: 600;
      font-size: 14px;
      border: 1.5px solid var(--blue-border);
      cursor: pointer;
      transition: all .25s var(--ease);
      text-decoration: none;
      letter-spacing: -.01em;
    }

    .btn-ghost:hover {
      background: var(--blue-pale);
      border-color: var(--blue);
      transform: translateY(-2px);
    }

    /* ── SECTION BASE ── */
    section {
      padding: 36px 3%;
      width: 100%;
      box-sizing: border-box;
    }

    .section-header {
      text-align: center;
      margin-bottom: 40px;
    }

    .section-tag {
      display: inline-block;
      background: var(--blue-pale);
      color: var(--blue);
      padding: 5px 15px;
      border-radius: 50px;
      font-size: 10.5px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1.4px;
      margin-bottom: 16px;
      border: 1px solid var(--blue-border);
    }

    .section-header h2 {
      font-size: clamp(28px, 3.6vw, 46px);
      font-weight: 800;
      letter-spacing: -1.4px;
      color: var(--text);
      margin-bottom: 14px;
      line-height: 1.1;
    }

    .section-header p {
      font-size: 15px;
      color: var(--muted);
      max-width: 560px;
      margin: 0 auto;
      line-height: 1.8;
    }

    /* ── SCROLL-REVEAL BASE ── */
    .reveal {
      opacity: 0;
      transform: translateY(28px);
      transition: opacity .65s cubic-bezier(.16, 1, .3, 1), transform .65s cubic-bezier(.16, 1, .3, 1);
    }

    .reveal.in {
      opacity: 1;
      transform: translateY(0);
    }

    /* ── PRODUCTS ── */
    .robots-section {
      background: linear-gradient(180deg, #F6F9FF 0%, #EEF3FF 55%, #F6F9FF 100%);
    }


    /* ── PRODUCTS SHOWCASE (new scroll-card experience) ── */
    .showcase-wrap {
      position: relative;
      max-width: 1320px;
      margin: 40px auto 0;
      padding: 0 20px;
      /* space reserved above the pinned stage for the fixed floating header (16px offset + 66px bar + gap) */
      --pin-top: 96px;
    }

    /* While pinned, size the stage to the visible viewport below the header */
    .showcase-wrap.st-enabled .showcase-stage {
      height: calc(100vh - var(--pin-top) - 20px);
      height: calc(100svh - var(--pin-top) - 20px);
      min-height: 460px;
      max-height: 760px;
    }

    .showcase-wrap.st-enabled .showcase-robot img {
      max-height: min(480px, calc(100vh - var(--pin-top) - 140px));
    }

    @media (max-height: 760px) {
      .showcase-wrap.st-enabled .showcase-info { padding-top: 24px; padding-bottom: 24px; }
      .showcase-wrap.st-enabled .showcase-desc { margin-bottom: 14px; }
      .showcase-wrap.st-enabled .showcase-divider { margin-bottom: 14px; }
      .showcase-wrap.st-enabled .showcase-features { gap: 10px 22px; margin-bottom: 16px; }
    }

    .showcase-stage {
      position: relative;
      border-radius: 28px;
      overflow: hidden;
      background:
        radial-gradient(120% 140% at 85% 0%, rgba(59, 130, 246, .22) 0%, rgba(59, 130, 246, 0) 55%),
        radial-gradient(100% 120% at 0% 100%, rgba(10, 196, 214, .14) 0%, rgba(10, 196, 214, 0) 55%),
        linear-gradient(155deg, #0B1220 0%, #10203F 55%, #0B1220 100%);
      min-height: 620px;
      box-shadow: 0 30px 70px -20px rgba(10,20,40,.35);
      contain: layout style paint;
      transform: translateZ(0);
    }

    .showcase-slide {
      position: absolute;
      inset: 0;
      display: grid;
      grid-template-columns: 1.05fr 1fr;
      align-items: center;
      opacity: 0;
      visibility: hidden;
      transform: scale(.97);
      transition: opacity .55s var(--ease), transform .6s var(--ease), visibility 0s linear .55s;
      pointer-events: none;
    }

    .showcase-slide.active {
      opacity: 1;
      visibility: visible;
      transform: scale(1);
      transition: opacity .55s var(--ease), transform .6s var(--ease), visibility 0s linear 0s;
      pointer-events: auto;
    }

    .showcase-bg-word {
      position: absolute;
      left: 24px;
      top: 50%;
      transform: translateY(-50%);
      font-size: clamp(70px, 13vw, 150px);
      font-weight: 900;
      letter-spacing: 2px;
      writing-mode: vertical-rl;
      text-orientation: mixed;
      color: var(--accent, #FF6A00);
      opacity: .16;
      line-height: .82;
      user-select: none;
      pointer-events: none;
      white-space: nowrap;
      z-index: 1;
      transition: opacity .5s ease;
    }

    .showcase-robot {
      position: relative;
      z-index: 2;
      display: flex;
      align-items: center;
      justify-content: center;
      height: 100%;
      padding: 40px 10px 40px 70px;
    }

    .showcase-robot-zoom {
      display: inline-flex;
      transform: scale(var(--boost-scale, 1));
      transition: transform .4s cubic-bezier(.22,.61,.36,1);
      will-change: transform;
    }

    .showcase-robot-zoom:hover {
      transform: scale(calc(var(--boost-scale, 1) * 1.06));
    }

    .showcase-robot-zoom--boost {
      --boost-scale: 1.28;
      margin-top: 72px;
    }

    .showcase-robot img {
      max-width: 92%;
      max-height: 480px;
      object-fit: contain;
      filter: drop-shadow(0 25px 40px rgba(0,0,0,.45));
      opacity: 0;
      transform: translateY(24px) scale(.94);
      transition: opacity .7s var(--ease) .1s, transform .7s var(--ease) .1s;
      will-change: transform;
      backface-visibility: hidden;
    }

    .showcase-slide.active .showcase-robot img {
      opacity: 1;
      transform: translateY(0) scale(1);
      animation: showcaseFloat 5.5s ease-in-out .8s infinite;
    }

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

    .showcase-info {
      position: relative;
      z-index: 3;
      padding: 40px 80px 40px 20px;
      color: #fff;
    }

    .showcase-info::before {
      content: '';
      position: absolute;
      top: 14px;
      right: 80px;
      bottom: 14px;
      left: 0;
      z-index: -1;
      border-radius: 24px;
      background: rgba(20, 24, 32, .38);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border: 1px solid rgba(255,255,255,.10);
      box-shadow: 0 24px 60px -18px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.06);
      opacity: 0;
      transition: opacity .6s var(--ease) .15s;
    }

    .showcase-slide.active .showcase-info::before {
      opacity: 1;
    }

    .showcase-badge {
      display: inline-block;
      font-size: 11px;
      font-weight: 800;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      color: var(--accent, #FF6A00);
      background: rgba(255,255,255,.06);
      border: 1px solid rgba(255,255,255,.12);
      padding: 5px 12px;
      border-radius: 100px;
      margin-bottom: 14px;
      opacity: 0;
      transform: translateY(10px);
      transition: all .5s var(--ease) .12s;
    }

    .showcase-title {
      font-size: clamp(26px, 3vw, 38px);
      font-weight: 800;
      line-height: 1.1;
      margin-bottom: 14px;
      opacity: 0;
      transform: translateY(14px);
      filter: blur(6px);
      transition: all .55s var(--ease) .18s;
    }

    .showcase-desc {
      font-size: 14.5px;
      line-height: 1.7;
      color: #B7BFCC;
      max-width: 460px;
      margin-bottom: 22px;
      opacity: 0;
      transform: translateY(14px);
      transition: all .55s var(--ease) .24s;
    }

    .showcase-divider {
      height: 1px;
      background: linear-gradient(90deg, rgba(255,255,255,.18), transparent);
      margin-bottom: 22px;
      opacity: 0;
      transition: opacity .5s var(--ease) .28s;
    }

    .showcase-features {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px 22px;
      margin-bottom: 24px;
      max-width: 480px;
    }

    .showcase-feature {
      opacity: 0;
      transform: translateY(14px);
      transition: all .5s var(--ease);
    }

    .showcase-feature-label {
      display: flex;
      align-items: center;
      gap: 7px;
      font-size: 10.5px;
      font-weight: 800;
      letter-spacing: 1px;
      text-transform: uppercase;
      color: var(--accent, #FF6A00);
      margin-bottom: 5px;
    }

    .showcase-feature-label svg { width: 13px; height: 13px; flex-shrink: 0; }

    .showcase-feature-text {
      font-size: 12.5px;
      line-height: 1.55;
      color: #9AA3B2;
    }

    .showcase-cta {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--accent, #FF6A00);
      color: #101216;
      font-weight: 800;
      font-size: 13.5px;
      padding: 13px 26px;
      border-radius: 10px;
      border: none;
      cursor: pointer;
      opacity: 0;
      transform: translateY(16px);
      transition: all .5s var(--ease) .4s, box-shadow .25s ease, transform .25s ease;
    }

    .showcase-cta:hover {
      box-shadow: 0 12px 30px -6px var(--accent, #FF6A00);
      transform: translateY(-2px);
    }

    .showcase-slide.active .showcase-badge,
    .showcase-slide.active .showcase-title,
    .showcase-slide.active .showcase-desc,
    .showcase-slide.active .showcase-divider,
    .showcase-slide.active .showcase-feature,
    .showcase-slide.active .showcase-cta {
      opacity: 1;
      transform: translateY(0);
      filter: blur(0);
    }

    .showcase-slide.active .showcase-feature:nth-child(1) { transition-delay: .3s; }
    .showcase-slide.active .showcase-feature:nth-child(2) { transition-delay: .36s; }
    .showcase-slide.active .showcase-feature:nth-child(3) { transition-delay: .42s; }
    .showcase-slide.active .showcase-feature:nth-child(4) { transition-delay: .48s; }

    .showcase-nav {
      position: absolute;
      bottom: 26px;
      right: 32px;
      z-index: 5;
      display: flex;
      gap: 10px;
    }

    .showcase-counter {
      position: absolute;
      top: 28px;
      right: 32px;
      z-index: 5;
      display: flex;
      align-items: baseline;
      gap: 4px;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: .5px;
      color: rgba(255,255,255,.55);
      background: rgba(255,255,255,.06);
      border: 1px solid rgba(255,255,255,.10);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      padding: 6px 12px;
      border-radius: 100px;
    }

    #showcaseCounterCur {
      color: #fff;
      font-size: 15px;
    }

    .showcase-counter-sep {
      opacity: .5;
    }

    .showcase-nav-btn {
      width: 40px;
      height: 40px;
      border-radius: 10px;
      background: rgba(255,255,255,.07);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border: 1px solid rgba(255,255,255,.12);
      color: #fff;
      font-size: 15px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all .25s var(--ease);
    }

    .showcase-nav-btn:hover {
      background: rgba(255,255,255,.16);
      transform: translateY(-2px);
    }

    .showcase-dots {
      position: absolute;
      bottom: 32px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 5;
      display: flex;
      gap: 8px;
    }

    .showcase-dot {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: rgba(255,255,255,.25);
      cursor: pointer;
      transition: all .3s var(--ease);
    }

    .showcase-dot.active {
      width: 22px;
      border-radius: 4px;
      background: var(--dot-accent, #FF6A00);
    }

    @media (max-width: 900px) {
      .showcase-slide {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
      }
      .showcase-robot { padding: 10px 10px 0; height: 260px; }
      .showcase-robot img { max-height: 240px; }
      .showcase-info { padding: 16px 24px 90px; }
      .showcase-features { grid-template-columns: 1fr; }
      .showcase-bg-word { font-size: 60px; left: 8px; opacity: .12; }
      .showcase-stage { min-height: 760px; }
      .showcase-counter { top: 14px; right: 14px; padding: 5px 10px; font-size: 11px; }
      #showcaseCounterCur { font-size: 13px; }
    }

    /* ── WHY BOTRIQ ──
       Editorial explorer: heading and three pillars on the left, a light
       blueprint stage on the right where each pillar's robot rolls in with
       callouts drawn from its copy. script.js sets .is-active on the pillar
       and scene, .in-view on entrance, .is-playing while on screen and
       .is-manual once the visitor takes over from autoplay. */
    .why-section {
      background: var(--surface);
      padding-top: clamp(48px, 6vh, 72px);
      padding-bottom: clamp(48px, 6vh, 72px);
    }

    .why-explorer {
      --why-ease: cubic-bezier(.16, 1, .3, 1);
      --why-cycle: 6.5s;
      max-width: 1180px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
      gap: clamp(28px, 4.5vw, 64px);
      align-items: stretch;
    }

    .why-intro {
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .section-header.why-head {
      text-align: left;
      margin-bottom: 22px;
    }

    .why-head h2 {
      margin-bottom: 10px;
    }

    .why-head p {
      margin: 0;
      max-width: 40ch;
    }

    /* ── pillars ── */
    .why-pillars {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .why-pillar {
      position: relative;
      display: grid;
      grid-template-columns: 34px minmax(0, 1fr);
      column-gap: 12px;
      padding: 16px 22px 18px 18px;
      border-radius: 16px;
      border: 1px solid transparent;
      cursor: pointer;
      overflow: hidden;
      opacity: 0;
      transform: translateY(18px);
      transition:
        opacity .7s var(--why-ease),
        transform .7s var(--why-ease),
        background .35s var(--ease),
        border-color .35s var(--ease),
        box-shadow .35s var(--ease);
    }

    .why-explorer.in-view .why-pillar {
      opacity: 1;
      transform: none;
    }

    .why-explorer.in-view .why-pillar:nth-child(2) { transition-delay: .08s, .08s, 0s, 0s, 0s; }
    .why-explorer.in-view .why-pillar:nth-child(3) { transition-delay: .16s, .16s, 0s, 0s, 0s; }

    .why-pillar:hover {
      background: #F7F9FF;
    }

    .why-pillar.is-active {
      background: linear-gradient(180deg, #FFFFFF 0%, #F6F9FF 100%);
      border-color: #DCE5FB;
      box-shadow: 0 2px 6px rgba(27, 79, 216, .04), 0 16px 36px rgba(15, 30, 70, .08);
    }

    /* accent rail on the active pillar */
    .why-pillar::before {
      content: "";
      position: absolute;
      left: 0;
      top: 20px;
      bottom: 20px;
      width: 3px;
      border-radius: 0 3px 3px 0;
      background: linear-gradient(180deg, var(--blue), var(--brand-cyan));
      transform: scaleY(0);
      transition: transform .45s var(--why-ease);
    }

    .why-pillar.is-active::before {
      transform: scaleY(1);
    }

    .why-pillar:has(.why-pillar-btn:focus-visible) {
      outline: 2px solid var(--blue);
      outline-offset: 2px;
    }

    .why-pillar-num {
      padding-top: 5px;
      font-family: 'JetBrains Mono', ui-monospace, monospace;
      font-size: 12px;
      font-weight: 600;
      color: #94A3B8;
      font-variant-numeric: tabular-nums;
      transition: color .35s var(--ease);
    }

    .why-pillar.is-active .why-pillar-num {
      color: var(--blue);
    }

    .why-pillar-body h3 {
      margin: 0 0 4px;
      font-size: 18px;
      font-weight: 800;
      line-height: 1.25;
      letter-spacing: -.3px;
      color: var(--text);
    }

    .why-pillar-btn {
      padding: 0;
      border: 0;
      background: none;
      font: inherit;
      color: inherit;
      letter-spacing: inherit;
      text-align: left;
      cursor: pointer;
    }

    .why-pillar-btn:focus-visible {
      outline: none;
    }

    .why-pillar-body p {
      margin: 0;
      font-size: 14px;
      line-height: 1.6;
      color: var(--muted);
    }

    /* autoplay timer: a progress line under the active pillar */
    .why-pillar-bar {
      position: absolute;
      left: 18px;
      right: 22px;
      bottom: 0;
      height: 2px;
      border-radius: 2px;
      background: linear-gradient(90deg, var(--blue), var(--brand-cyan));
      transform: scaleX(0);
      transform-origin: left center;
      opacity: 0;
    }

    .why-explorer.is-playing:not(.is-manual) .why-pillar.is-active .why-pillar-bar {
      opacity: .7;
      animation: why-progress var(--why-cycle) linear forwards;
    }

    .why-explorer:hover .why-pillar-bar {
      animation-play-state: paused !important;
    }

    @keyframes why-progress {
      to { transform: scaleX(1); }
    }

    /* ── stage ── */
    /* sized to the viewport so heading, pillars and stage fit one screen */
    .why-stage {
      position: relative;
      isolation: isolate;
      min-height: clamp(400px, 60vh, 500px);
      border-radius: 28px;
      overflow: hidden;
      border: 1px solid #E3EAFB;
      background:
        radial-gradient(520px 360px at 78% 14%, rgba(59, 130, 246, .13) 0%, rgba(59, 130, 246, 0) 65%),
        radial-gradient(480px 320px at 10% 100%, rgba(10, 196, 214, .11) 0%, rgba(10, 196, 214, 0) 65%),
        #F6F8FE;
      opacity: 0;
      transform: translateY(24px);
      transition: opacity .8s var(--why-ease) .1s, transform .8s var(--why-ease) .1s;
    }

    .why-explorer.in-view .why-stage {
      opacity: 1;
      transform: none;
    }

    /* floor grid, same language as the How It Works panel */
    .why-stage::before {
      content: "";
      position: absolute;
      inset: 0;
      z-index: -2;
      background-image:
        linear-gradient(rgba(27, 79, 216, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(27, 79, 216, .055) 1px, transparent 1px);
      background-size: 32px 32px;
      -webkit-mask-image: radial-gradient(ellipse 80% 75% at 50% 45%, #000 35%, transparent 100%);
      mask-image: radial-gradient(ellipse 80% 75% at 50% 45%, #000 35%, transparent 100%);
    }

    .why-stage-plan {
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      width: 100%;
      height: 60%;
      z-index: -1;
    }

    .why-explorer.in-view .why-stage-route {
      animation: why-route 1.6s linear infinite;
    }

    @keyframes why-route {
      to { stroke-dashoffset: -22; }
    }

    .why-stage-floor {
      position: absolute;
      left: 56%;
      bottom: 7%;
      width: 46%;
      height: 34px;
      translate: -50% 0;
      border-radius: 50%;
      background: radial-gradient(closest-side, rgba(10, 22, 40, .2), rgba(10, 22, 40, 0));
      z-index: -1;
    }

    .why-stage-count {
      position: absolute;
      top: 20px;
      right: 22px;
      font-family: 'JetBrains Mono', ui-monospace, monospace;
      font-size: 12px;
      font-weight: 600;
      color: #94A3B8;
      font-variant-numeric: tabular-nums;
    }

    .why-stage-count b {
      color: var(--text);
    }

    /* ── scenes: the outgoing scene fades in place; the incoming robot
          rolls in from the right and settles, then its callouts appear ── */
    .why-scene {
      position: absolute;
      inset: 0;
      pointer-events: none;
    }

    .why-scene-bot {
      position: absolute;
      left: 56%;
      bottom: 8%;
      height: 76%;
      width: auto;
      translate: -50% 0;
      filter: drop-shadow(0 18px 22px rgba(10, 22, 40, .16));
      opacity: 0;
      transform: translateX(44px);
      transition: opacity .35s var(--ease), transform 0s linear .35s;
    }

    .why-scene.is-active .why-scene-bot {
      opacity: 1;
      transform: none;
      transition: opacity .6s var(--why-ease) .12s, transform 1s var(--why-ease) .12s;
    }

    .why-scene--wide .why-scene-bot {
      height: 42%;
      bottom: 9%;
      left: 58%;
    }

    .why-callout {
      position: absolute;
      left: var(--x);
      top: var(--y);
      display: inline-flex;
      align-items: center;
      gap: 9px;
      padding: 8px 14px 8px 11px;
      border-radius: 999px;
      background: rgba(255, 255, 255, .88);
      border: 1px solid rgba(27, 79, 216, .14);
      box-shadow: 0 8px 22px rgba(15, 30, 70, .10);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      font-size: 13px;
      font-weight: 600;
      color: var(--navy-mid);
      white-space: nowrap;
      opacity: 0;
      transform: translateY(8px);
      transition: opacity .25s var(--ease), transform .25s var(--ease);
    }

    .why-callout::before {
      content: "";
      flex: 0 0 8px;
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--brand-cyan);
      box-shadow: 0 0 0 4px rgba(10, 196, 214, .18);
    }

    .why-callout--r {
      flex-direction: row-reverse;
      padding: 8px 11px 8px 14px;
    }

    .why-scene.is-active .why-callout {
      opacity: 1;
      transform: none;
      transition: opacity .5s var(--why-ease), transform .7s var(--why-ease);
    }

    .why-scene.is-active .why-callout:nth-of-type(1) { transition-delay: .5s; }
    .why-scene.is-active .why-callout:nth-of-type(2) { transition-delay: .62s; }
    .why-scene.is-active .why-callout:nth-of-type(3) { transition-delay: .74s; }

    .why-scene-tag {
      position: absolute;
      left: 22px;
      bottom: 20px;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 7px 12px;
      border-radius: 10px;
      background: rgba(255, 255, 255, .82);
      border: 1px solid #E3EAFB;
      font-family: 'JetBrains Mono', ui-monospace, monospace;
      font-size: 12px;
      font-weight: 600;
      color: var(--navy-mid);
      opacity: 0;
      transition: opacity .3s var(--ease);
    }

    .why-scene-tag b {
      font-family: 'Plus Jakarta Sans', sans-serif;
      font-weight: 700;
      color: var(--blue);
    }

    .why-scene.is-active .why-scene-tag {
      opacity: 1;
      transition: opacity .5s var(--why-ease) .3s;
    }

    /* deployment scene: the number does the talking */
    .why-metric {
      position: absolute;
      left: 6%;
      top: 9%;
      width: min(290px, 54%);
      padding: 20px 22px;
      border-radius: 18px;
      background: rgba(255, 255, 255, .9);
      border: 1px solid #E3EAFB;
      box-shadow: 0 14px 34px rgba(15, 30, 70, .10);
      opacity: 0;
      transform: translateY(10px);
      transition: opacity .25s var(--ease), transform .25s var(--ease);
    }

    .why-scene.is-active .why-metric {
      opacity: 1;
      transform: none;
      transition: opacity .6s var(--why-ease) .3s, transform .8s var(--why-ease) .3s;
    }

    .why-metric strong {
      display: flex;
      align-items: baseline;
      gap: 6px;
      font-size: 52px;
      font-weight: 800;
      line-height: 1;
      letter-spacing: -2px;
      color: var(--blue);
      font-variant-numeric: tabular-nums;
    }

    .why-metric small {
      font-size: 15px;
      font-weight: 700;
      letter-spacing: 0;
      color: var(--navy-mid);
    }

    .why-metric-bars {
      display: grid;
      gap: 10px;
      margin-top: 16px;
    }

    .why-metric-bar {
      display: grid;
      gap: 5px;
    }

    .why-metric-bar i {
      display: block;
      width: var(--w);
      height: 8px;
      border-radius: 4px;
      background: linear-gradient(90deg, var(--blue-light), var(--brand-cyan));
      transform: scaleX(0);
      transform-origin: left center;
      transition: transform .2s var(--ease);
    }

    .why-metric-bar--muted i {
      background: repeating-linear-gradient(135deg, #CBD5E1 0 4px, #E2E8F0 4px 8px);
    }

    .why-scene.is-active .why-metric-bar i {
      transform: scaleX(1);
      transition: transform .9s var(--why-ease) .7s;
    }

    .why-scene.is-active .why-metric-bar--muted i {
      transition-delay: .9s;
    }

    .why-metric-bar em {
      font-style: normal;
      font-size: 12px;
      font-weight: 600;
      color: var(--muted);
    }

    /* ── tablet / mobile: header, stage, then pillars ── */
    @media (max-width: 900px) {
      .why-explorer {
        grid-template-columns: 1fr;
        gap: 20px;
      }
      .why-intro {
        display: contents;
      }
      .section-header.why-head {
        text-align: center;
        margin-bottom: 4px;
      }
      .why-head p {
        margin: 0 auto;
      }
      .why-head { order: 0; }
      .why-stage { order: 1; min-height: 400px; }
      .why-pillars { order: 2; }
    }

    @media (max-width: 600px) {
      .why-stage {
        min-height: 320px;
        border-radius: 22px;
      }
      .why-scene-bot {
        height: 70%;
        left: 64%;
      }
      .why-scene--wide .why-scene-bot {
        height: 32%;
        left: 60%;
      }
      .why-stage-floor {
        left: 64%;
      }
      .why-callout {
        font-size: 12px;
        padding: 6px 11px 6px 9px;
        gap: 7px;
      }
      .why-callout--r {
        padding: 6px 9px 6px 11px;
        left: auto;
        right: 12px;
      }
      .why-metric {
        padding: 14px 16px;
        width: min(230px, 62%);
      }
      .why-metric strong {
        font-size: 40px;
      }
      .why-scene-tag {
        left: 14px;
        bottom: 14px;
        font-size: 11px;
      }
      .why-pillar {
        padding: 16px 16px 18px 14px;
        grid-template-columns: 28px minmax(0, 1fr);
        column-gap: 8px;
      }
      .why-pillar-body h3 {
        font-size: 17px;
      }
      .why-pillar-body p {
        font-size: 14px;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .why-pillar,
      .why-stage,
      .why-scene-bot,
      .why-scene.is-active .why-scene-bot,
      .why-callout,
      .why-scene.is-active .why-callout,
      .why-metric,
      .why-scene.is-active .why-metric,
      .why-metric-bar i,
      .why-scene.is-active .why-metric-bar i {
        transition: opacity .2s linear !important;
        transform: none !important;
      }
      .why-explorer.in-view .why-stage-route,
      .why-pillar-bar {
        animation: none !important;
      }
    }

    /* ── HOW IT WORKS ──
       A deployment route: a top-down AMR drives station to station
       across a faint floor-plan grid, lighting each step as it docks.
       Desktop runs the route on .how-panel.is-running (set by script.js);
       tablet / mobile fall back to per-step connectors driven by .how-step.in. */
    .how-section {
      background: var(--bg);
    }

    .how-panel {
      --how-gap: 40px;
      --how-node: 48px;
      --how-floor: #F6F8FE;
      --how-line: #E1E8F8;
      max-width: 1180px;
      margin: 0 auto;
      position: relative;
      isolation: isolate;
      padding: 92px 48px 40px; /* headroom for the robot riding the rail */
      border-radius: 28px;
      background:
        radial-gradient(800px 380px at 6% -12%, rgba(59, 130, 246, .12) 0%, rgba(59, 130, 246, 0) 60%),
        radial-gradient(640px 340px at 100% 105%, rgba(10, 196, 214, .09) 0%, rgba(10, 196, 214, 0) 60%),
        var(--how-floor);
      border: 1px solid #E3EAFB;
      overflow: hidden;
    }

    /* floor-plan grid the robot drives on, faded toward the edges */
    .how-panel::before {
      content: "";
      position: absolute;
      inset: 0;
      z-index: -1;
      background-image:
        linear-gradient(rgba(27, 79, 216, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(27, 79, 216, .055) 1px, transparent 1px);
      background-size: 32px 32px;
      background-position: -1px -1px;
      -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 30%, #000 30%, transparent 100%);
      mask-image: radial-gradient(ellipse 75% 70% at 50% 30%, #000 30%, transparent 100%);
      pointer-events: none;
    }

    .how-flow {
      position: relative;
    }

    .how-steps {
      list-style: none;
      margin: 0;
      padding: 0;
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: var(--how-gap);
      position: relative;
    }

    .how-step {
      position: relative;
      display: flex;
      flex-direction: column;
      gap: 26px;
    }

    .how-step.reveal:nth-child(2) { transition-delay: .08s; }
    .how-step.reveal:nth-child(3) { transition-delay: .16s; }
    .how-step.reveal:nth-child(4) { transition-delay: .24s; }

    .how-step:nth-child(1) { --i: 0; }
    .how-step:nth-child(2) { --i: 1; }
    .how-step:nth-child(3) { --i: 2; }
    .how-step:nth-child(4) { --i: 3; }

    /* ── route (desktop) ──
       --route-p (0 to 1) is written by a GSAP timeline in script.js that plays
       when the section enters view: the robot drives one station at a time and
       docks at each. Stations sit at 0, 1/3, 2/3 and 1. Without JS (or with
       reduced motion) it rests complete. */
    .how-route {
      position: absolute;
      top: calc(var(--how-node) / 2 - 1px);
      left: calc(var(--how-node) / 2);
      width: calc((100% + var(--how-gap)) * .75);
      height: 2px;
      pointer-events: none;
    }

    .route-rail,
    .route-fill {
      position: absolute;
      inset: 0;
      border-radius: 2px;
    }

    .route-rail {
      background: repeating-linear-gradient(90deg, var(--blue-border) 0 6px, transparent 6px 12px);
    }

    .route-fill {
      background: linear-gradient(90deg, var(--blue), var(--brand-cyan));
      transform: scaleX(var(--route-p, 1));
      transform-origin: left center;
    }

    .route-runner {
      position: absolute;
      inset: 0;
      z-index: 2; /* drives in front of the station nodes (z-index 1) */
      transform: translateX(calc(var(--route-p, 1) * 100%));
      will-change: transform;
    }

    /* BQ-Aero stands on the rail, docked just right of the current station
       (the SVG artwork carries ~9% empty space below the wheels). script.js
       writes the pitch, shadow stretch and sensor glow every frame. */
    .route-car {
      position: absolute;
      bottom: -9px;
      left: calc(var(--how-node) / 2 + 2px);
      height: 96px;
      width: 54px; /* 96px tall at the artwork's 810:1440 ratio */
    }

    /* A 3x PNG render of bq-aero.svg (assets/bq-aero-route.png): rotating
       the 500KB SVG under a drop-shadow filter re-rasterised it every frame,
       which is what made the drive stutter. The raster rotates on the GPU;
       depth comes from the contact shadow below. */
    .route-bot {
      position: relative;
      display: block;
      height: 100%;
      width: auto;
      transform-origin: 50% 91%; /* pitch around the wheel line */
      will-change: transform;
      backface-visibility: hidden;
    }

    /* soft contact shadow; stretches a little with speed */
    .route-shadow {
      position: absolute;
      left: 6%;
      right: 6%;
      bottom: 4px;
      height: 10px;
      border-radius: 50%;
      background: radial-gradient(closest-side, rgba(10, 22, 40, .34), rgba(10, 22, 40, 0));
      transform-origin: 30% 50%;
      will-change: transform;
    }

    /* forward LiDAR sweep, only visible while driving */
    .route-scan {
      position: absolute;
      left: 88%;
      bottom: 11px;
      width: 74px;
      height: 30px;
      background: linear-gradient(90deg, rgba(10, 196, 214, .32), rgba(10, 196, 214, 0));
      clip-path: polygon(0 42%, 100% 0, 100% 100%, 0 58%);
      opacity: 0;
      pointer-events: none;
    }

    /* ── station nodes ── */
    .step-node {
      position: relative;
      z-index: 1;
      width: var(--how-node);
      height: var(--how-node);
      flex: 0 0 var(--how-node);
      border-radius: 50%;
      display: grid;
      place-items: center;
      background: #fff;
      border: 1.5px solid var(--blue-border);
      color: var(--blue);
      font-family: 'JetBrains Mono', ui-monospace, monospace;
      font-weight: 600;
      font-size: 13px;
      font-variant-numeric: tabular-nums;
      box-shadow: 0 0 0 6px var(--how-floor);
      transition:
        background .5s cubic-bezier(.16, 1, .3, 1),
        color .5s cubic-bezier(.16, 1, .3, 1),
        border-color .5s cubic-bezier(.16, 1, .3, 1),
        box-shadow .5s cubic-bezier(.16, 1, .3, 1);
    }

    /* go-live ping, after the robot docks at the last station */
    .step-node::after {
      content: "";
      position: absolute;
      inset: -1.5px;
      border-radius: 50%;
      border: 2px solid var(--brand-cyan);
      opacity: 0;
      pointer-events: none;
    }

    /* ── step content: no card box, the floor grid is the surface ── */
    .step-body {
      flex: 1;
      min-width: 0;
      display: flex;
      flex-direction: column;
    }

    .step-body h3 {
      display: flex;
      align-items: center;
      gap: 12px;
      font-size: 18px;
      font-weight: 700;
      line-height: 1.25;
      letter-spacing: -.3px;
      color: var(--text);
      margin: 0 0 12px;
    }

    .step-icon {
      width: 34px;
      height: 34px;
      flex: 0 0 34px;
      border-radius: 10px;
      display: grid;
      place-items: center;
      background: #fff;
      border: 1px solid var(--how-line);
      color: var(--blue);
      box-shadow: 0 2px 6px rgba(27, 79, 216, .06);
      transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
    }

    .step-icon svg {
      width: 18px;
      height: 18px;
    }

    .how-step:hover .step-icon {
      background: var(--blue);
      border-color: var(--blue);
      color: #fff;
      transform: translateY(-2px);
    }

    .step-desc {
      flex: 1;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.7;
      margin: 0;
    }

    .step-output {
      margin: 20px 0 0;
      padding-top: 14px;
      border-top: 1px solid var(--how-line);
      font-size: 14px;
      font-weight: 600;
      line-height: 1.45;
      color: var(--navy-mid);
    }

    .step-output span {
      display: block;
      margin-bottom: 4px;
      font-size: 12px;
      font-weight: 500;
      color: var(--muted);
    }

    /* desktop lit state: a node lights once the robot reaches it.
       Scrubbed: per-step .is-lit from script.js. Not scrubbed: all lit. */
    @media (min-width: 1025px) {
      .how-panel:not(.is-scrubbed) .step-node,
      .how-panel.is-scrubbed .how-step.is-lit .step-node {
        background: var(--navy);
        border-color: var(--navy);
        color: #fff;
        box-shadow: 0 0 0 6px var(--how-floor), 0 8px 18px rgba(13, 34, 85, .24);
      }
      .how-panel:not(.is-scrubbed) .how-step:last-child .step-node,
      .how-panel.is-scrubbed .how-step.is-lit:last-child .step-node {
        background: linear-gradient(135deg, var(--blue) 0%, var(--brand-cyan) 100%);
        border-color: transparent;
        box-shadow: 0 0 0 6px var(--how-floor), 0 10px 22px rgba(10, 196, 214, .3);
      }
      /* a single soft ring as the robot docks; go-live pings twice */
      .how-panel.is-scrubbed .how-step.is-current .step-node::after {
        animation: how-ping 1.4s cubic-bezier(.16, 1, .3, 1) .05s 1;
      }
      .how-panel.is-scrubbed .how-step.is-current:last-child .step-node::after {
        animation: how-ping 1.8s cubic-bezier(.16, 1, .3, 1) .05s 2;
      }
      /* the station lights with a gentle press, no overshoot */
      .how-panel.is-scrubbed .how-step.is-lit .step-node {
        animation: how-dock .6s cubic-bezier(.22, .61, .36, 1);
      }
      /* step copy rises in as the robot approaches (--arrive 0 to 1 from script.js) */
      .how-panel.is-scrubbed .step-body {
        opacity: calc(.32 + .68 * var(--arrive, 0));
        transform: translateY(calc((1 - var(--arrive, 0)) * 8px));
        /* smooths the per-frame values, and fades the copy on a replay */
        transition: opacity .3s ease-out, transform .3s ease-out;
      }
    }

    @keyframes how-dock {
      0%   { transform: scale(1); }
      35%  { transform: scale(1.06); }
      100% { transform: scale(1); }
    }

    @keyframes how-ping {
      0%   { opacity: .8; transform: scale(1); }
      100% { opacity: 0;  transform: scale(1.7); }
    }

    /* ── closing strip: real comparison on a week axis ── */
    .how-summary {
      margin-top: 44px;
      display: grid;
      grid-template-columns: auto minmax(0, 1fr) auto;
      align-items: center;
      gap: 40px;
      padding: 26px 30px;
      border-radius: 20px;
      background:
        radial-gradient(420px 200px at 0% 0%, rgba(59, 130, 246, .22) 0%, rgba(59, 130, 246, 0) 70%),
        linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
      color: #C9D5F2;
      box-shadow: 0 18px 40px rgba(10, 22, 40, .16);
    }

    .how-summary-lead {
      padding-right: 36px;
      border-right: 1px solid rgba(255, 255, 255, .12);
    }

    .how-summary-stat {
      display: flex;
      align-items: baseline;
      gap: 10px;
      margin: 0;
    }

    .how-summary-stat strong {
      font-size: 46px;
      font-weight: 800;
      letter-spacing: -1.6px;
      line-height: 1;
      color: #fff;
      font-variant-numeric: tabular-nums;
    }

    .how-summary-stat span {
      font-size: 13px;
      font-weight: 600;
      color: var(--brand-cyan);
    }

    .how-summary-note {
      margin: 10px 0 0;
      max-width: 26ch;
      font-size: 13.5px;
      line-height: 1.55;
      color: #B4C3E6;
    }

    .how-ruler {
      margin: 0;
      display: grid;
      gap: 12px;
      padding-right: 12px;
    }

    .ruler-row {
      display: grid;
      grid-template-columns: 104px minmax(0, 1fr);
      align-items: center;
      gap: 14px;
    }

    .ruler-label {
      font-size: 12.5px;
      font-weight: 600;
      color: #DCE5FA;
      white-space: nowrap;
    }

    .ruler-row--industry .ruler-label {
      color: #9FB2DB;
      font-weight: 500;
    }

    .ruler-lane {
      position: relative;
      height: 12px;
      /* week guides every 2 weeks */
      background:
        linear-gradient(90deg, rgba(255, 255, 255, .14) 1px, transparent 1px) 0 0 / calc(100% / 6) 100% repeat-x;
      box-shadow: inset -1px 0 0 rgba(255, 255, 255, .14);
    }

    .ruler-span {
      position: absolute;
      top: 1px;
      bottom: 1px;
      left: calc(var(--from) / 12 * 100%);
      width: calc((var(--to) - var(--from)) / 12 * 100%);
      border-radius: 6px;
      transform-origin: left center;
      transition: transform .9s cubic-bezier(.16, 1, .3, 1);
    }

    .ruler-row--botriq .ruler-span {
      background: linear-gradient(90deg, var(--blue-light), var(--brand-cyan));
      box-shadow: 0 4px 12px rgba(10, 196, 214, .28);
      transition-delay: .15s;
    }

    .ruler-row--industry .ruler-span {
      background: repeating-linear-gradient(135deg, rgba(159, 178, 219, .45) 0 4px, rgba(159, 178, 219, .18) 4px 8px);
      transition-delay: .4s;
    }

    .ruler-span b {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      font-family: 'JetBrains Mono', ui-monospace, monospace;
      font-size: 11.5px;
      font-weight: 600;
      white-space: nowrap;
    }

    .ruler-row--botriq .ruler-span b {
      left: calc(100% + 10px);
      color: #fff;
    }

    .ruler-row--industry .ruler-span b {
      right: calc(100% + 10px);
      color: #9FB2DB;
    }

    /* bars draw in once armed by JS; without JS they simply show */
    .how-summary.is-armed:not(.is-running) .ruler-span {
      transform: scaleX(0);
    }

    .ruler-axis .ruler-ticks {
      position: relative;
      height: 14px;
    }

    .ruler-ticks span {
      position: absolute;
      left: calc(var(--w) / 12 * 100%);
      transform: translateX(-50%);
      font-family: 'JetBrains Mono', ui-monospace, monospace;
      font-size: 11px;
      color: #8DA0CC;
      white-space: nowrap;
    }

    .ruler-ticks span:first-child { transform: none; }
    .ruler-ticks span:last-child { transform: translateX(-100%); }

    .how-summary-cta {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      flex-shrink: 0;
      padding: 13px 22px;
      border-radius: 50px;
      background: #fff;
      color: var(--blue);
      font-size: 14px;
      font-weight: 700;
      white-space: nowrap;
      text-decoration: none;
      transition: transform .25s var(--ease), box-shadow .25s var(--ease);
    }

    .how-summary-cta svg {
      width: 16px;
      height: 16px;
      transition: transform .25s var(--ease);
    }

    .how-summary-cta:hover {
      transform: translateY(-2px);
      box-shadow: 0 10px 24px rgba(2, 8, 24, .35);
    }

    .how-summary-cta:hover svg {
      transform: translateX(3px);
    }

    .how-summary-cta:active {
      transform: translateY(0) scale(.98);
    }

    .how-summary-cta:focus-visible {
      outline: 2px solid var(--brand-cyan);
      outline-offset: 3px;
    }

    /* ── tablet: 2 x 2, per-step connectors instead of the route ── */
    @media (max-width: 1024px) {
      .how-panel {
        --how-gap: 32px;
        padding: 44px 32px 32px;
      }
      .how-route {
        display: none;
      }
      .how-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 40px;
      }
      .how-step:nth-child(odd)::before,
      .how-step:nth-child(odd)::after {
        content: "";
        position: absolute;
        top: calc(var(--how-node) / 2 - 1px);
        left: calc(var(--how-node) + 10px);
        right: calc(-1 * var(--how-gap));
        height: 2px;
        border-radius: 2px;
      }
      .how-step::before {
        background: repeating-linear-gradient(90deg, var(--blue-border) 0 6px, transparent 6px 12px);
      }
      .how-step::after {
        background: linear-gradient(90deg, var(--blue), var(--brand-cyan));
        transform: scaleX(0);
        transform-origin: left center;
        transition: transform .7s cubic-bezier(.16, 1, .3, 1);
      }
      .how-step.in::after {
        transform: scaleX(1);
        transition-delay: calc(var(--i, 0) * .12s + .35s);
      }
      .how-step.in .step-node {
        background: var(--navy);
        border-color: var(--navy);
        color: #fff;
        box-shadow: 0 0 0 6px var(--how-floor), 0 8px 18px rgba(13, 34, 85, .24);
        transition-delay: calc(var(--i, 0) * .12s + .2s);
      }
      .how-step.in:last-child .step-node {
        background: linear-gradient(135deg, var(--blue) 0%, var(--brand-cyan) 100%);
        border-color: transparent;
      }
      .how-summary {
        grid-template-columns: minmax(0, 1fr) auto;
        row-gap: 28px;
      }
      .how-summary-lead {
        border-right: 0;
        padding-right: 0;
      }
      .how-ruler {
        grid-column: 1 / -1;
        order: 3;
      }
    }

    /* ── mobile: vertical timeline ── */
    @media (max-width: 700px) {
      .how-panel {
        --how-node: 42px;
        --how-gap: 22px;
        padding: 30px 18px 18px;
        border-radius: 20px;
      }
      .how-steps {
        grid-template-columns: 1fr;
        row-gap: var(--how-gap);
      }
      .how-step {
        flex-direction: row;
        gap: 16px;
      }
      .how-step:nth-child(odd)::before,
      .how-step:nth-child(odd)::after {
        content: none;
      }
      .how-step:not(:last-child)::before,
      .how-step:not(:last-child)::after {
        content: "";
        position: absolute;
        top: calc(var(--how-node) + 8px);
        bottom: calc(-1 * var(--how-gap) + 6px);
        left: calc(var(--how-node) / 2 - 1px);
        right: auto;
        width: 2px;
        height: auto;
        border-radius: 2px;
      }
      .how-step::before {
        background: repeating-linear-gradient(180deg, var(--blue-border) 0 6px, transparent 6px 12px);
      }
      .how-step::after {
        transform: scaleY(0);
        transform-origin: center top;
      }
      .how-step.in::after {
        transform: scaleY(1);
      }
      .step-node {
        font-size: 12px;
        box-shadow: 0 0 0 4px var(--how-floor);
      }
      .how-step.in .step-node {
        box-shadow: 0 0 0 4px var(--how-floor), 0 6px 14px rgba(13, 34, 85, .22);
      }
      .step-body {
        padding-top: 8px;
        padding-bottom: 6px;
      }
      .step-body h3 {
        font-size: 17px;
      }
      .step-icon {
        display: none;
      }
      .step-output {
        margin-top: 14px;
        padding-top: 12px;
      }
      .how-summary {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 22px 18px;
        margin-top: 30px;
      }
      .how-ruler {
        order: 0;
        padding-right: 0;
      }
      .ruler-row {
        grid-template-columns: 1fr;
        gap: 6px;
      }
      .ruler-axis .ruler-label {
        display: none;
      }
      .how-summary-cta {
        justify-content: center;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .how-step::after,
      .step-node,
      .step-icon,
      .ruler-span {
        transition: none !important;
      }
      .route-bot,
      .step-node::after {
        animation: none !important;
        transition: none !important;
      }
      .route-scan {
        display: none;
      }
    }

    /* ── REELS SHOWCASE (phone carousel) ── */
    .reels-section {
      background:
        radial-gradient(1100px 560px at 12% -10%, rgba(59, 130, 246, .35) 0%, rgba(59, 130, 246, 0) 60%),
        radial-gradient(900px 520px at 100% 110%, rgba(10, 196, 214, .22) 0%, rgba(10, 196, 214, 0) 60%),
        linear-gradient(160deg, #0A1628 0%, #0D2255 55%, #0A1F45 100%);
      padding: 90px 0 100px;
      overflow: hidden;
      position: relative;
    }

    .reels-section .section-header h2 {
      color: #fff;
    }

    .reels-section .section-header p {
      color: #B9C6EA;
      max-width: 620px;
    }

    .reels-nav {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 14px;
      margin: 6px 0 46px;
      opacity: 0;
      transform: translateY(10px);
      transition: opacity .6s var(--ease) .15s, transform .6s var(--ease) .15s;
    }

    .reels-section.in-view .reels-nav {
      opacity: 1;
      transform: translateY(0);
    }

    .reels-nav-btn {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      background: transparent;
      border: 1.5px solid rgba(255, 255, 255, .28);
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
    }

    .reels-nav-btn svg {
      width: 18px;
      height: 18px;
    }

    .reels-nav-btn:hover {
      border-color: var(--brand-cyan);
      background: rgba(10, 196, 214, .14);
      color: var(--brand-cyan);
      transform: translateY(-2px);
      box-shadow: 0 8px 20px -6px rgba(10, 196, 214, .5);
    }

    .reels-nav-btn:active {
      transform: translateY(0) scale(.95);
    }

    .reels-stage {
      position: relative;
      max-width: 1160px;
      margin: 0 auto;
      height: 620px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .reels-glow {
      position: absolute;
      top: 50%;
      left: 50%;
      width: 460px;
      height: 460px;
      transform: translate(-50%, -50%);
      background: radial-gradient(circle, rgba(59, 130, 246, .32) 0%, rgba(59, 130, 246, 0) 70%);
      filter: blur(10px);
      opacity: 0;
      transition: opacity .8s var(--ease) .2s;
      pointer-events: none;
      z-index: 0;
    }

    .reels-section.in-view .reels-glow {
      opacity: 1;
    }

    .reels-track {
      position: relative;
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 1;
    }

    .reel-slide {
      position: absolute;
      left: 50%;
      top: 50%;
      width: 260px;
      height: 540px;
      transform: translate(-50%, -50%) translateX(0) scale(.78);
      transition: transform .6s var(--ease), opacity .6s var(--ease), filter .6s var(--ease), z-index 0s;
      cursor: pointer;
      opacity: 0;
      filter: blur(6px);
      pointer-events: none;
    }

    .reel-slide.is-active {
      transform: translate(-50%, -50%) translateX(0) scale(1);
      opacity: 1;
      filter: blur(0);
      z-index: 5;
      cursor: default;
      pointer-events: auto;
    }

    .reel-slide.is-prev {
      transform: translate(-50%, -50%) translateX(-260px) scale(.82) rotateY(8deg);
      opacity: .55;
      filter: blur(2px) brightness(.55);
      z-index: 3;
      pointer-events: auto;
    }

    .reel-slide.is-next {
      transform: translate(-50%, -50%) translateX(260px) scale(.82) rotateY(-8deg);
      opacity: .55;
      filter: blur(2px) brightness(.55);
      z-index: 3;
      pointer-events: auto;
    }

    .reel-slide.is-far-prev {
      transform: translate(-50%, -50%) translateX(-420px) scale(.68);
      opacity: 0;
      filter: blur(6px);
      z-index: 1;
    }

    .reel-slide.is-far-next {
      transform: translate(-50%, -50%) translateX(420px) scale(.68);
      opacity: 0;
      filter: blur(6px);
      z-index: 1;
    }

    .reel-slide:hover:not(.is-active) {
      opacity: .75;
    }

    .reel-phone {
      position: relative;
      width: 100%;
      height: 100%;
      border-radius: 34px;
      background: #0d0f14;
      border: 3px solid #23262e;
      box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(255, 255, 255, .04);
      overflow: hidden;
    }

    .reel-slide.is-active .reel-phone {
      box-shadow: 0 40px 90px -18px rgba(0, 0, 0, .8), 0 0 0 1px rgba(10, 196, 214, .3), 0 0 60px -10px rgba(10, 196, 214, .4);
    }

    .reel-phone::before {
      content: '';
      position: absolute;
      top: 10px;
      left: 50%;
      transform: translateX(-50%);
      width: 70px;
      height: 18px;
      background: #05060a;
      border-radius: 10px;
      z-index: 4;
    }

    .reel-video-wrap {
      position: absolute;
      inset: 0;
      border-radius: 31px;
      overflow: hidden;
      background: #000;
    }

    .reel-video-wrap video {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .reel-fallback {
      position: absolute;
      inset: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 10px;
      background: linear-gradient(160deg, #16181f 0%, #0a0b0e 100%);
      color: #565d6b;
    }

    .reel-fallback svg {
      width: 34px;
      height: 34px;
      opacity: .7;
    }

    .reel-fallback span {
      font-size: 12px;
      font-weight: 600;
      letter-spacing: .2px;
    }

    .reel-play-hint {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%) scale(1);
      width: 52px;
      height: 52px;
      border-radius: 50%;
      background: rgba(10, 196, 214, .92);
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 3;
      opacity: 0;
      transition: opacity .3s var(--ease), transform .3s var(--ease);
      pointer-events: none;
    }

    .reel-slide:not(.is-active) .reel-play-hint {
      opacity: 1;
    }

    .reel-slide:hover:not(.is-active) .reel-play-hint {
      transform: translate(-50%, -50%) scale(1.1);
    }

    .reel-play-hint svg {
      width: 20px;
      height: 20px;
      margin-left: 3px;
    }

    .reels-dots {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      margin-top: 40px;
    }

    .reels-dot {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: rgba(255, 255, 255, .22);
      border: none;
      cursor: pointer;
      padding: 0;
      transition: all .3s var(--ease);
    }

    .reels-dot.is-active {
      width: 24px;
      border-radius: 4px;
      background: var(--brand-cyan);
    }

    /* Section entrance animation */
    .reels-section {
      opacity: 1;
    }

    .reels-section .section-header {
      opacity: 0;
      transform: translateY(16px);
      filter: blur(4px);
      transition: opacity .7s var(--ease), transform .7s var(--ease), filter .7s var(--ease);
    }

    .reels-section.in-view .section-header {
      opacity: 1;
      transform: translateY(0);
      filter: blur(0);
    }

    .reels-stage {
      opacity: 0;
      transform: translateY(24px) scale(.97);
      transition: opacity .8s var(--ease) .1s, transform .8s var(--ease) .1s;
    }

    .reels-section.in-view .reels-stage {
      opacity: 1;
      transform: translateY(0) scale(1);
    }

    .reels-dots {
      opacity: 0;
      transition: opacity .6s var(--ease) .3s;
    }

    .reels-section.in-view .reels-dots {
      opacity: 1;
    }

    /* ── Landscape split (desktop): phone carousel left, copy + controls right.
       Below 1025px it stacks: copy on top, centered, carousel underneath. ── */
    .reels-layout {
      max-width: 1240px;
      margin: 0 auto;
      padding: 0 48px;
    }

    @media (min-width: 1025px) {
      .reels-layout {
        display: grid;
        grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
        align-items: center;
        gap: 64px;
      }

      .reels-copy .section-header {
        text-align: left;
        margin-bottom: 36px;
        transform: translateX(24px);
      }

      .reels-section.in-view .reels-copy .section-header {
        transform: none;
      }

      .reels-copy .section-header h2 {
        font-size: clamp(32px, 3.2vw, 44px);
        text-wrap: balance;
      }

      .reels-copy .section-header p {
        margin: 0;
        max-width: 46ch;
      }

      .reels-copy .reels-nav {
        justify-content: flex-start;
        margin: 0;
      }

      .reels-stage {
        max-width: none;
        height: 600px;
      }

      .reels-dots {
        margin-top: 28px;
      }

      /* side phones tuck in closer so they stay inside the media column */
      .reel-slide.is-prev { transform: translate(-50%, -50%) translateX(-185px) scale(.82) rotateY(8deg); }
      .reel-slide.is-next { transform: translate(-50%, -50%) translateX(185px) scale(.82) rotateY(-8deg); }
      .reel-slide.is-far-prev { transform: translate(-50%, -50%) translateX(-300px) scale(.68); }
      .reel-slide.is-far-next { transform: translate(-50%, -50%) translateX(300px) scale(.68); }
    }

    @media (max-width: 1024px) {
      .reels-layout {
        display: flex;
        flex-direction: column;
      }

      .reels-copy {
        order: -1;
      }
    }

    @media (max-width: 560px) {
      .reels-layout {
        padding: 0 16px;
      }
    }

    @media (max-width: 900px) {
      .reels-stage {
        height: 480px;
      }

      .reel-slide {
        width: 190px;
        height: 400px;
      }

      .reel-slide.is-prev { transform: translate(-50%, -50%) translateX(-160px) scale(.78); }
      .reel-slide.is-next { transform: translate(-50%, -50%) translateX(160px) scale(.78); }
      .reel-slide.is-far-prev { transform: translate(-50%, -50%) translateX(-260px) scale(.65); }
      .reel-slide.is-far-next { transform: translate(-50%, -50%) translateX(260px) scale(.65); }
    }

    @media (max-width: 560px) {
      .reels-stage {
        height: 400px;
      }

      .reel-slide {
        width: 150px;
        height: 320px;
      }

      .reel-slide.is-prev { transform: translate(-50%, -50%) translateX(-120px) scale(.72); opacity: .4; }
      .reel-slide.is-next { transform: translate(-50%, -50%) translateX(120px) scale(.72); opacity: .4; }
      .reel-slide.is-far-prev, .reel-slide.is-far-next { opacity: 0; }

      .reels-nav {
        margin-bottom: 28px;
      }
    }

    /* ── CTA ── */
    .cta-section {
      padding: 52px 3%;
      background: linear-gradient(160deg, #EEF2FF 0%, #DBEAFE 50%, #EEF2FF 100%);
      text-align: center;
      position: relative;
      overflow: hidden;
      border-top: 1.5px solid #C7D2FE;
      border-bottom: 1.5px solid #C7D2FE;
    }

    .cta-section::before {
      content: '';
      position: absolute;
      top: -50%;
      left: 50%;
      transform: translateX(-50%);
      width: 700px;
      height: 700px;
      background: radial-gradient(circle, rgba(27, 79, 216, .09) 0%, transparent 65%);
      border-radius: 50%;
      pointer-events: none;
    }

    .cta-section::after {
      content: '';
      position: absolute;
      inset: 0;
      background-image: radial-gradient(rgba(27, 79, 216, .06) 1px, transparent 1px);
      background-size: 32px 32px;
      pointer-events: none;
    }

    .cta-grid {
      display: none;
    }

    .cta-inner {
      position: relative;
      z-index: 2;
      max-width: 620px;
      margin: 0 auto;
    }

    .cta-inner h2 {
      font-size: clamp(28px, 3.8vw, 48px);
      font-weight: 800;
      margin-bottom: 14px;
      letter-spacing: -1.2px;
      color: var(--text);
      line-height: 1.1;
    }

    .cta-inner p {
      font-size: 16px;
      color: var(--muted);
      margin-bottom: 38px;
      line-height: 1.78;
    }

    .cta-btns {
      display: flex;
      gap: 14px;
      justify-content: center;
      flex-wrap: wrap;
    }

    .btn-cta {
      display: inline-block;
      background: linear-gradient(135deg, var(--blue), var(--blue-light));
      color: #fff;
      padding: 15px 38px;
      border-radius: 50px;
      font-weight: 700;
      font-size: 15px;
      cursor: pointer;
      border: none;
      transition: all .28s var(--ease-spring);
      box-shadow: 0 8px 24px rgba(27, 79, 216, .32);
      text-decoration: none;
      letter-spacing: -.01em;
    }

    .btn-cta:hover {
      transform: translateY(-3px) scale(1.02);
      box-shadow: 0 16px 36px rgba(27, 79, 216, .46);
    }

    .btn-cta-out {
      display: inline-block;
      background: #fff;
      color: var(--blue);
      padding: 15px 38px;
      border-radius: 50px;
      font-weight: 700;
      font-size: 15px;
      cursor: pointer;
      border: 1.5px solid var(--blue-border);
      transition: all .25s var(--ease);
      text-decoration: none;
      letter-spacing: -.01em;
    }

    .btn-cta-out:hover {
      background: var(--blue-pale);
      border-color: var(--blue);
      transform: translateY(-2px);
    }

    /* ── FOOTER ── */
    footer {
      background: linear-gradient(135deg, #0A1628 0%, #0D2255 50%, #0A1628 100%);
      padding: 48px 4% 22px;
      border-top: none;
      width: 100%;
      box-sizing: border-box;
      position: relative;
    }

    footer::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image: radial-gradient(circle, rgba(59, 130, 246, .08) 1px, transparent 1px);
      background-size: 24px 24px;
      pointer-events: none;
      z-index: 0;
    }

    footer>* {
      position: relative;
      z-index: 1;
    }

    /* Top row: brand left, social right, a hairline below. Then three
       columns that all open with a heading on the same line, so every row
       of content lines up: get in touch | quick links | offices. */
    .footer-top {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 20px 32px;
      max-width: 1240px;
      margin: 0 auto 36px;
      padding-bottom: 28px;
      border-bottom: 1px solid rgba(255, 255, 255, .1);
    }

    .footer-brand {
      display: flex;
      align-items: center;
      gap: 18px;
    }

    .footer-brand .footer-logo { margin: 0; }

    .footer-brand .footer-company-name {
      margin: 0;
      padding-left: 18px;
      border-left: 1px solid rgba(255, 255, 255, .16);
      line-height: 1.6;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 36px clamp(32px, 4vw, 64px);
      max-width: 1240px;
      margin: 0 auto 36px;
    }

    .footer-links {
      display: grid;
      grid-template-columns: repeat(2, max-content);
      grid-auto-flow: column;
      grid-template-rows: repeat(4, auto);
      column-gap: 40px;
    }

    /* same row rhythm as the quick links beside it */
    .footer-reach {
      display: grid;
      gap: 11px;
    }

    .footer-col a.footer-reach-link {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      width: fit-content;
      font-size: 14px;
      font-weight: 600;
      line-height: 1.5;
      color: #fff;
    }

    .footer-reach-link svg {
      width: 16px;
      height: 16px;
      flex-shrink: 0;
      fill: none;
      stroke: var(--brand-cyan);
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .footer-col a.footer-reach-link:hover { color: var(--brand-cyan); padding-left: 0; }

    /* Indore above Gurugram */
    .footer-offices {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 16px;
    }

    .footer-office {
      font-style: normal;
      font-size: 13px;
      line-height: 1.65;
      color: rgba(255, 255, 255, .6);
    }

    .footer-office strong {
      display: block;
      margin-bottom: 4px;
      font-size: 13.5px;
      font-weight: 700;
      color: rgba(255, 255, 255, .9);
    }

    .footer-col h4 {
      font-size: 10.5px;
      text-transform: uppercase;
      color: rgba(255, 255, 255, .45);
      margin-bottom: 20px;
      letter-spacing: 2.4px;
      font-weight: 800;
      position: relative;
      padding-bottom: 10px;
    }

    .footer-col h4::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 24px;
      height: 2px;
      background: var(--brand-cyan);
      border-radius: 2px;
    }

    .footer-col ul {
      list-style: none;
    }

    .footer-col li {
      margin-bottom: 11px;
    }

    .footer-col a {
      color: rgba(255, 255, 255, .6);
      text-decoration: none;
      font-size: 13.5px;
      transition: color .18s var(--ease), padding-left .18s var(--ease);
      display: inline-block;
    }

    .footer-col a:hover {
      color: var(--brand-cyan);
      padding-left: 4px;
    }

    .footer-logo img {
      height: 42px;
      width: auto;
      display: block;
    }

    /* V6: SVG inline logo in footer */
    .footer-logo {
      color: var(--brand-cyan);
      margin-bottom: 10px;
    }

    .footer-logo svg {
      height: 46px;
      width: auto;
      display: block;
    }

    .footer-contact p {
      color: rgba(255, 255, 255, .55);
      font-size: 13px;
      margin-bottom: 10px;
      line-height: 1.7;
    }

    .footer-contact a {
      color: var(--brand-cyan);
      text-decoration: none;
    }

    .footer-contact a:hover {
      text-decoration: underline;
    }

    /* Footer contact info items with icons */
    .footer-contact-item {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      margin-bottom: 10px;
      color: rgba(255, 255, 255, .6);
      font-size: 13px;
      line-height: 1.65;
    }

    .footer-contact-item svg {
      width: 16px;
      height: 16px;
      flex-shrink: 0;
      margin-top: 2px;
      color: var(--brand-cyan);
      fill: none;
      stroke: currentColor;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .footer-contact-item a {
      color: var(--brand-cyan);
      font-weight: 600;
      text-decoration: none;
    }

    .footer-contact-item a:hover {
      text-decoration: underline;
    }

    /* one line: copyright left, privacy policy right */
    .footer-bottom {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 12px 24px;
      max-width: 1240px;
      margin: 0 auto;
      padding-top: 18px;
      border-top: 1px solid rgba(255, 255, 255, .1);
      color: rgba(255, 255, 255, .5);
      font-size: 12.5px;
      letter-spacing: .2px;
    }

    .footer-copy { margin: 0; }
    .footer-copy strong { color: rgba(255, 255, 255, .75); font-weight: 600; }

    .footer-legal {
      color: rgba(255, 255, 255, .6);
      text-decoration: none;
      transition: color .2s var(--ease);
    }

    .footer-legal:hover { color: var(--brand-cyan); }
    .footer-legal:focus-visible { outline: 2px solid var(--brand-cyan); outline-offset: 3px; border-radius: 2px; }


    .close-btn {
      position: fixed;
      top: 18px;
      right: 18px;
      width: 40px;
      height: 40px;
      background: #fff;
      border: 1.5px solid #E8EEFF;
      border-radius: 50%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      line-height: 1;
      padding: 0;
      cursor: pointer;
      z-index: 8000;
      transition: none;
      box-shadow: 0 2px 12px rgba(0, 0, 0, .12);
      flex-shrink: 0;
    }

    .close-btn:hover {
      background: #EEF2FF;
      border-color: var(--blue);
    }

    .close-btn svg {
      display: block;
      width: 16px;
      height: 16px;
      flex-shrink: 0;
      pointer-events: none;
    }


    /* ── CONTACT FORM (lives on the #/contact page) ── */
    /* ── 2-COLUMN FORM GRID ── */
    .form-grid-2 {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0 16px;
    }

    /* Phone field: country code + number side-by-side */
    .phone-field-wrap {
      display: flex;
      gap: 8px;
    }

    .phone-country-select {
      flex: 0 0 auto;
      width: 110px;
      padding: 11px 10px;
      background: var(--bg);
      border: 1.5px solid #E8EEFF;
      border-radius: 11px;
      color: var(--text);
      font-family: inherit;
      font-size: 13px;
      transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s;
      outline: none;
      cursor: pointer;
      appearance: none;
      -webkit-appearance: none;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2394A3B8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 8px center;
      padding-right: 24px;
    }

    .phone-country-select:focus {
      border-color: var(--blue);
      box-shadow: 0 0 0 4px rgba(27, 79, 216, .08);
      background-color: #fff;
    }

    .phone-number-input {
      flex: 1;
    }

    /* Error state for phone country select */
    .form-group.has-error .phone-country-select {
      border-color: #DC2626;
      box-shadow: 0 0 0 3px rgba(220, 38, 38, .09);
    }

    .form-group.is-valid .phone-country-select {
      border-color: #22C55E;
      box-shadow: 0 0 0 3px rgba(34, 197, 94, .07);
    }

    .form-group {
      margin-bottom: 12px;
    }

    .form-group label {
      display: block;
      margin-bottom: 5px;
      font-size: 11.5px;
      font-weight: 700;
      color: #475569;
      text-transform: uppercase;
      letter-spacing: .5px;
    }

    .form-group input,
    .form-group textarea {
      width: 100%;
      padding: 11px 14px;
      background: var(--bg);
      border: 1.5px solid #E8EEFF;
      border-radius: 11px;
      color: var(--text);
      font-family: inherit;
      font-size: 13.5px;
      transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s;
      outline: none;
    }

    .form-group input:focus,
    .form-group textarea:focus {
      border-color: var(--blue);
      box-shadow: 0 0 0 4px rgba(27, 79, 216, .08);
      background: #fff;
    }

    .form-group textarea {
      resize: vertical;
      min-height: 72px;
    }

    .form-actions {
      display: flex;
      gap: 10px;
      margin-top: 16px;
    }

    .btn-submit {
      flex: 1;
      padding: 12px;
      background: linear-gradient(135deg, var(--blue), var(--blue-light));
      color: #fff;
      border: none;
      border-radius: 11px;
      font-weight: 700;
      cursor: pointer;
      font-size: 14px;
      box-shadow: 0 4px 14px rgba(27, 79, 216, .3);
      transition: all .25s var(--ease-spring);
      font-family: inherit;
    }

    .btn-submit:hover {
      transform: translateY(-2px);
      box-shadow: 0 10px 22px rgba(27, 79, 216, .42);
    }

    .btn-submit:disabled {
      opacity: .6;
      cursor: not-allowed;
      transform: none;
    }

    .btn-cancel {
      flex: 1;
      padding: 12px;
      background: #F1F5F9;
      color: var(--muted);
      border: 1.5px solid #E8EEFF;
      border-radius: 11px;
      font-weight: 600;
      cursor: pointer;
      font-size: 14px;
      transition: all .22s var(--ease);
      font-family: inherit;
    }

    .btn-cancel:hover {
      background: #E8EEFF;
      border-color: var(--blue);
    }

    .form-status {
      margin-top: 12px;
      padding: 10px 14px;
      border-radius: 10px;
      font-size: 13px;
      font-weight: 600;
      display: none;
    }

    .form-status.error {
      background: #FEF2F2;
      color: #DC2626;
      border: 1px solid #FECACA;
      display: block;
    }

    .form-status.submitting {
      background: #EEF2FF;
      color: var(--blue);
      border: 1px solid var(--blue-border);
      display: block;
    }

    /* ── CONTACT SUCCESS (inline on the contact page) ── */
    .success-icon {
      width: 68px;
      height: 68px;
      margin: 0 auto 18px;
      background: linear-gradient(135deg, var(--blue), var(--blue-light));
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 30px;
      color: #fff;
      box-shadow: 0 8px 24px rgba(27, 79, 216, .38);
    }

    .contact-success h2 {
      font-size: 26px;
      font-weight: 800;
      color: var(--navy);
      margin-bottom: 8px;
      letter-spacing: -.4px;
    }

    .contact-success p {
      color: var(--muted);
      font-size: 14px;
      line-height: 1.75;
      margin-bottom: 18px;
    }

    .btn-close-success {
      width: 100%;
      padding: 12px;
      background: linear-gradient(135deg, var(--blue), var(--blue-light));
      color: #fff;
      border: none;
      border-radius: 11px;
      font-weight: 700;
      cursor: pointer;
      font-size: 14px;
      font-family: inherit;
      transition: all .25s var(--ease-spring);
    }

    .btn-close-success:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(27, 79, 216, .4);
    }

    /* ── RESPONSIVE ── */
    @media(max-width:992px) {
      .footer-grid {
        grid-template-columns: 1fr 1fr;
      }
      .footer-grid > .footer-col:last-child { grid-column: 1 / -1; }
    }

    @media(max-width:640px) {
      footer { padding: 36px 6% 20px; }
      .footer-top { flex-direction: column; align-items: flex-start; margin-bottom: 28px; padding-bottom: 22px; }
      .footer-brand { flex-direction: column; align-items: flex-start; gap: 8px; }
      .footer-brand .footer-company-name { padding-left: 0; border-left: 0; }
      .footer-grid { grid-template-columns: 1fr; gap: 28px; margin-bottom: 28px; }
      .footer-offices { grid-template-columns: 1fr; gap: 16px; }
      .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
    }

    @media(max-width:480px) {
      header {
        padding: 0 4%;
      }

      section {
        padding: 24px 5%;
      }
    }

    /* ── STATS STRIP ── */
    .stats-strip {
      background: linear-gradient(135deg, #0A1628 0%, #0D2255 50%, #0A1628 100%);
      padding: 0 3%;
      position: relative;
      overflow: hidden;
      width: 100%;
      box-sizing: border-box;
      margin: 0;
    }

    .stats-strip::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image: radial-gradient(circle, rgba(59, 130, 246, .08) 1px, transparent 1px);
      background-size: 24px 24px;
      pointer-events: none;
    }

    .stats-inner {
      display: flex;
      align-items: stretch;
      justify-content: center;
      max-width: 1300px;
      margin: 0 auto;
      gap: 0;
      position: relative;
      z-index: 1;
    }

    .stat-item {
      flex: 1;
      padding: 24px 16px;
      text-align: center;
      border-right: 1px solid rgba(255, 255, 255, .07);
      transition: background .3s var(--ease);
    }

    .stat-item:last-child {
      border-right: none;
    }

    .stat-item:hover {
      background: rgba(59, 130, 246, .06);
    }

    .stat-num-wrap {
      display: flex;
      align-items: baseline;
      justify-content: center;
      gap: 3px;
    }

    .stat-num {
      font-size: clamp(32px, 3.5vw, 52px);
      font-weight: 800;
      color: #fff;
      letter-spacing: -1.5px;
      line-height: 1;
      font-family: 'Roboto Mono', monospace;
      ;
    }

    .stat-suffix {
      font-size: clamp(20px, 2vw, 30px);
      font-weight: 800;
      color: #60A5FA;
    }

    .stat-label {
      font-size: 12px;
      color: rgba(255, 255, 255, .5);
      margin-top: 6px;
      text-transform: uppercase;
      letter-spacing: 1.2px;
      font-weight: 600;
    }

    /* ── MARQUEE STRIP ── */
    .marquee-section {
      background: #0a1628;
      padding: 20px 0;
      overflow: hidden;
      position: relative;
      width: 100%;
      box-sizing: border-box;
      border-top: 1px solid rgba(27, 79, 216, .15);
      border-bottom: 1px solid rgba(27, 79, 216, .15);
    }

    .marquee-label {
      position: absolute;
      left: 0;
      top: 0;
      bottom: 0;
      z-index: 2;
      background: linear-gradient(to right, #0a1628 55%, transparent);
      padding: 0 48px 0 28px;
      display: flex;
      align-items: center;
      font-size: 9.5px;
      font-weight: 800;
      color: rgba(255, 255, 255, .35);
      text-transform: uppercase;
      letter-spacing: 1.8px;
      white-space: nowrap;
    }

    .marquee-track {
      display: flex;
      align-items: center;
      gap: 0;
      animation: marquee-scroll 36s linear infinite;
      width: max-content;
    }

    .marquee-track:hover {
      animation-play-state: paused;
    }

    @keyframes marquee-scroll {
      0% {
        transform: translateX(0);
      }

      100% {
        transform: translateX(-50%);
      }
    }

    .marquee-item-logo {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0 56px;
      border-right: 1px solid rgba(255, 255, 255, .07);
      height: 64px;
      flex-shrink: 0;
    }

    .marquee-item-logo:last-child {
      border-right: none;
    }

    .marquee-logo-img {
      height: 44px;
      width: auto;
      max-width: 160px;
      object-fit: contain;
      display: block;
      filter: brightness(1.1) saturate(.9);
      opacity: .88;
      transition: opacity .3s, filter .3s;
    }

    .marquee-item-logo:hover .marquee-logo-img {
      opacity: 1;
      filter: brightness(1.25) saturate(1.1);
    }

    .marquee-item-logo:hover .marquee-logo-img svg {
      opacity: 1;
      filter: brightness(1.25) saturate(1.1);
    }

    /* ── PRODUCT CAROUSEL ── */
    .robots-section {
      background: linear-gradient(180deg, #F6F9FF 0%, #EEF3FF 55%, #F6F9FF 100%);
      overflow: hidden;
      padding-top: 72px;
      padding-bottom: 84px;
    }

    /* ── SVG WAVE DIVIDERS ── */
    .wave-divider {
      line-height: 0;
      overflow: hidden;
    }

    .wave-divider svg {
      display: block;
      width: 100%;
    }

    /* ── MEGA MENU ── */
    .has-mega {
      position: relative;
    }

    .mega-menu {
      position: fixed;
      left: 0;
      right: 0;
      top: 74px;
      z-index: 900;
      background: #fff;
      border-bottom: 1.5px solid #E8EEFF;
      box-shadow: 0 20px 60px rgba(10, 22, 40, .12);
      padding: 28px 6%;
      opacity: 0;
      visibility: hidden;
      transform: translateY(-8px);
      transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s linear .22s;
    }

    .has-mega:hover .mega-menu,
    .has-mega:focus-within .mega-menu,
    .mega-menu:hover {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
      transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s linear 0s;
    }

    /* Esc closes a keyboard-opened menu even though focus stays on its trigger */
    .has-mega.is-dismissed .mega-menu {
      opacity: 0;
      visibility: hidden;
      transform: translateY(-8px);
    }


    .nav-dropdown-trigger {
      cursor: pointer;
    }


    /* ── BLOG/NEWS CARDS ── */
    .blog-section {
      background: var(--surface);
    }

    .blog-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
      max-width: 1300px;
      margin: 0 auto;
    }

    .blog-card {
      background: var(--bg);
      border: 1.5px solid #E8EEFF;
      border-radius: 20px;
      overflow: hidden;
      transition: all .3s var(--ease);
      box-shadow: var(--shadow);
    }

    .blog-card:hover {
      border-color: var(--blue);
      transform: translateY(-5px);
      box-shadow: var(--shadow-hover);
    }

    .blog-card-img {
      width: 100%;
      aspect-ratio: 16/9;
      overflow: hidden;
      position: relative;
    }

    .blog-card-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform .45s var(--ease);
    }

    .blog-card:hover .blog-card-img img {
      transform: scale(1.06);
    }

    .blog-tag {
      position: absolute;
      top: 12px;
      left: 12px;
      background: var(--blue);
      color: #fff;
      padding: 4px 11px;
      border-radius: 20px;
      font-size: 10px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .6px;
    }

    .blog-card-body {
      padding: 20px 22px 22px;
    }

    .blog-date {
      font-size: 11px;
      color: #94A3B8;
      font-weight: 600;
      margin-bottom: 8px;
      text-transform: uppercase;
      letter-spacing: .6px;
    }

    .blog-card-body h3 {
      font-size: 16px;
      font-weight: 800;
      color: var(--text);
      margin-bottom: 8px;
      letter-spacing: -.2px;
      line-height: 1.4;
    }

    .blog-card-body p {
      font-size: 13px;
      color: #475569;
      line-height: 1.72;
      margin-bottom: 14px;
    }

    .blog-read {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      color: var(--blue);
      font-size: 13px;
      font-weight: 700;
      text-decoration: none;
      transition: gap .2s var(--ease);
    }

    .blog-read:hover {
      gap: 9px;
    }

    /* ── BLOG ARTICLE VIEW ──
       Header (topic, title, standfirst, meta + share) > wide cover >
       sticky contents beside a 68ch reading column > keep reading.
       Same radius rule as the blog list: containers 20px, pills for controls. */
    .bp-progress {
      position: fixed;
      z-index: 999;              /* just under the header (1000) */
      top: 0;
      left: 0;
      width: 100%;
      height: 3px;
      background: var(--blue);
      transform-origin: 0 50%;
      transform: scaleX(0);
      pointer-events: none;
    }

    @supports (animation-timeline: scroll()) {
      .bp-progress {
        animation: bp-progress linear both;
        animation-timeline: scroll(root);
      }
    }

    @keyframes bp-progress { to { transform: scaleX(1); } }

    .bp-head {
      padding: clamp(112px, 11vw, 136px) 0 clamp(28px, 3.5vw, 40px);
      background:
        radial-gradient(50% 80% at 20% 0%, #FFFFFF 0%, rgba(255, 255, 255, 0) 70%),
        var(--bg);
    }

    .bp-head .wrap > * { animation: ev2-rise .6s cubic-bezier(.16, 1, .3, 1) both; }
    .bp-topic { animation-delay: .04s !important; }
    .bp-title { animation-delay: .08s !important; }
    .bp-standfirst { animation-delay: .12s !important; }
    .bp-meta { animation-delay: .16s !important; }

    .bp-head .events-crumb { color: var(--muted); }
    .bp-head .events-crumb a { color: var(--text); }

    .bp-topic {
      display: inline-flex;
      align-items: center;
      height: 30px;
      padding: 0 14px;
      border-radius: 999px;
      background: var(--blue-pale);
      border: 1px solid var(--blue-border);
      font-size: 13px;
      font-weight: 700;
      color: var(--blue);
      text-decoration: none;
      transition: background .2s var(--ease), color .2s var(--ease);
    }

    .bp-topic:hover { background: var(--blue); color: #fff; }

    .bp-title {
      max-width: 24ch;
      margin: 18px 0 16px;
      font-size: clamp(30px, 4vw, 52px);
      font-weight: 800;
      line-height: 1.1;
      letter-spacing: -1.4px;
      color: var(--navy);
      text-wrap: balance;
    }

    .bp-standfirst {
      max-width: 60ch;
      margin: 0;
      font-size: clamp(16px, 1.4vw, 19px);
      line-height: 1.6;
      color: var(--muted);
    }

    .bp-meta {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 12px 22px;
      margin-top: 28px;
      padding-top: 22px;
      border-top: 1px solid #DCE4FB;
    }

    .bp-meta-item {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      font-size: 14px;
      font-weight: 600;
      color: var(--text);
    }

    .bp-meta-item i { font-size: 17px; color: var(--blue); }

    .bp-share {
      display: inline-flex;
      gap: 8px;
      margin-left: auto;
    }

    .bp-share-btn {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      height: 36px;
      padding: 0 14px;
      border: 1px solid #DCE4FB;
      border-radius: 999px;
      background: #fff;
      font-family: inherit;
      font-size: 13px;
      font-weight: 600;
      color: var(--text);
      text-decoration: none;
      cursor: pointer;
      transition: border-color .2s var(--ease), color .2s var(--ease);
    }

    .bp-share-btn i { font-size: 16px; }
    .bp-share-btn:hover { border-color: var(--blue-border); color: var(--blue); }

    .bp-cover {
      overflow: hidden;
      margin: 0;
      aspect-ratio: 2 / 1;
      border-radius: 20px;
      background: #E4E9F5;
      box-shadow: 0 24px 48px rgba(13, 34, 85, .1), 0 4px 12px rgba(13, 34, 85, .05);
      animation: ev2-rise .7s .18s cubic-bezier(.16, 1, .3, 1) both;
    }

    .bp-cover img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    /* contents beside the reading column */
    .bp-layout {
      display: grid;
      grid-template-columns: 220px minmax(0, 68ch);
      justify-content: center;
      gap: clamp(40px, 6vw, 88px);
    }

    /* beats the shared `.events-page .wrap` padding, keeping its sides */
    .events-page .wrap.bp-layout {
      padding-top: clamp(44px, 6vw, 72px);
      padding-bottom: clamp(56px, 7vw, 88px);
    }

    .bp-layout--plain { grid-template-columns: minmax(0, 68ch); }

    .bp-aside {
      position: sticky;
      top: 104px;
      align-self: start;
    }

    .bp-toc-title {
      margin: 0 0 12px;
      font-size: 13px;
      font-weight: 700;
      color: var(--text);
    }

    .bp-toc ol,
    .bp-toc-mobile ol {
      margin: 0;
      padding: 0;
      list-style: none;
    }

    .bp-toc a {
      display: block;
      padding: 8px 0 8px 14px;
      border-left: 2px solid #DCE4FB;
      font-size: 14px;
      line-height: 1.4;
      color: var(--muted);
      text-decoration: none;
      transition: color .2s var(--ease), border-color .2s var(--ease);
    }

    .bp-toc a:hover { color: var(--text); }
    .bp-toc a.is-current { border-color: var(--blue); color: var(--blue); font-weight: 700; }

    .bp-back {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin-top: 28px;
      font-size: 14px;
      font-weight: 700;
      color: var(--text);
      text-decoration: none;
    }

    .bp-back:hover { color: var(--blue); }

    .bp-toc-mobile { display: none; }

    /* the reading column */
    .bp-body {
      font-size: 18px;
      line-height: 1.75;
      color: #1E293B;
    }

    .bp-body p { margin: 0 0 1.25em; }

    .bp-body .bp-lede {
      font-size: 20px;
      line-height: 1.65;
      font-weight: 500;
      color: var(--text);
    }

    .bp-h2 {
      margin: 1.9em 0 .6em;
      font-size: clamp(22px, 2vw, 27px);
      font-weight: 800;
      line-height: 1.25;
      letter-spacing: -.4px;
      color: var(--navy);
      scroll-margin-top: 104px;
    }

    /* sub-sections inside an h2 section (not listed in the contents) */
    .bp-body h3 {
      margin: 1.6em 0 .5em;
      font-size: clamp(19px, 1.6vw, 21px);
      font-weight: 800;
      line-height: 1.3;
      letter-spacing: -.2px;
      color: var(--text);
    }

    .bp-h2 + h3 { margin-top: .4em; }

    .bp-body ul {
      margin: 0 0 1.4em;
      padding: 0;
      list-style: none;
    }

    .bp-body li {
      position: relative;
      margin-bottom: .65em;
      padding-left: 28px;
    }

    .bp-body li::before {
      content: "";
      position: absolute;
      left: 4px;
      top: .62em;
      width: 9px;
      height: 9px;
      border-radius: 3px;
      background: var(--blue);
      transform: rotate(45deg);
    }

    .bp-body li strong { color: var(--navy); }

    .bp-body a {
      color: var(--blue);
      font-weight: 700;
      text-decoration: underline;
      text-decoration-color: var(--blue-border);
      text-decoration-thickness: 2px;
      text-underline-offset: 3px;
      transition: text-decoration-color .2s var(--ease);
    }

    .bp-body a:hover { text-decoration-color: var(--blue); }

    .bp-body ::selection,
    .bp-title::selection,
    .bp-standfirst::selection { background: var(--blue-border); color: var(--navy); }

    /* ── PRIVACY POLICY (#/privacy) ── reuses the article layout above */
    .pp-layout .bp-aside {
      max-height: calc(100vh - 128px);
      overflow-y: auto;
      scrollbar-width: thin;
    }

    .pp-body { font-size: 16.5px; line-height: 1.75; }
    .pp-body .bp-h2:first-child { margin-top: 0; }
    .pp-body h3 { margin-top: 1.4em; }

    .pp-body a {
      color: var(--blue);
      font-weight: 600;
      text-decoration: underline;
      text-decoration-color: var(--blue-border);
      text-underline-offset: 3px;
    }

    /* placeholders from the source document, still to be filled in */
    .pp-todo {
      padding: 1px 6px;
      border-radius: 4px;
      background: #FEF3C7;
      color: #78350F;
      font-weight: 600;
    }

    .pp-callout {
      padding: 16px 20px;
      border-left: 0;
      border-radius: 14px;
      background: var(--blue-pale);
      border: 1px solid var(--blue-border);
    }

    .pp-table-wrap {
      margin: 6px 0 1.6em;
      overflow-x: auto;
      border: 1px solid #DCE4FB;
      border-radius: 14px;
      background: #fff;
    }

    .pp-table-wrap:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

    .pp-table {
      width: 100%;
      min-width: 560px;
      border-collapse: collapse;
      font-size: 14.5px;
      line-height: 1.55;
    }

    .pp-table th {
      padding: 12px 16px;
      background: #F4F7FF;
      font-size: 13px;
      font-weight: 700;
      text-align: left;
      color: var(--navy);
      border-bottom: 1px solid #DCE4FB;
    }

    .pp-table td {
      padding: 12px 16px;
      vertical-align: top;
      color: #1E293B;
    }

    .pp-table tbody tr + tr td { border-top: 1px solid #EDF1FB; }
    .pp-table td:first-child { font-weight: 600; color: var(--text); }

    .pp-contact {
      display: flex;
      flex-direction: column;
      gap: 6px;
      max-width: 620px;
      margin: 6px 0 1.4em;
      padding: 18px 20px;
      border: 1px solid #DCE4FB;
      border-radius: 14px;
      background: #fff;
      font-style: normal;
      font-size: 14.5px;
      line-height: 1.6;
      color: #334155;
    }

    .pp-contact strong { font-size: 15.5px; color: var(--navy); }
    .pp-contact-lines { display: grid; gap: 4px; }

    .footer-legal-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }

    @media (max-width: 640px) {
      .pp-body { font-size: 16px; }
    }

    .bp-more {
      padding: clamp(48px, 6vw, 72px) 0 clamp(72px, 9vw, 120px);
      border-top: 1px solid #DCE4FB;
    }

    .bp-more .bl-results-head { margin-bottom: 20px; align-items: center; }
    .bp-more .bl-sec-title { margin: 0; }

    .bp-all {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 14.5px;
      font-weight: 700;
      color: var(--blue);
      text-decoration: none;
      transition: gap .3s var(--ease);
    }

    .bp-all:hover { gap: 12px; }

    .bp-topic:focus-visible,
    .bp-share-btn:focus-visible,
    .bp-toc a:focus-visible,
    .bp-back:focus-visible,
    .bp-all:focus-visible,
    .bp-toc-mobile summary:focus-visible {
      outline: 2px solid var(--blue);
      outline-offset: 3px;
    }

    @media (max-width: 960px) {
      .bp-layout,
      .bp-layout--plain { grid-template-columns: minmax(0, 1fr); gap: 0; }
      .bp-aside { display: none; }
      .bp-toc-mobile {
        display: block;
        margin-bottom: 32px;
        border: 1px solid #DCE4FB;
        border-radius: 20px;
        background: #fff;
      }
      .bp-toc-mobile summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 20px;
        font-size: 15px;
        font-weight: 700;
        color: var(--text);
        list-style: none;
        cursor: pointer;
      }
      .bp-toc-mobile summary::-webkit-details-marker { display: none; }
      .bp-toc-mobile summary i { transition: transform .3s var(--ease); }
      .bp-toc-mobile[open] summary i { transform: rotate(180deg); }
      .bp-toc-mobile ol { padding: 0 20px 14px; }
      .bp-toc-mobile a {
        display: block;
        padding: 9px 0;
        border-top: 1px solid #EDF1FB;
        font-size: 14.5px;
        color: var(--muted);
        text-decoration: none;
      }
    }

    @media (max-width: 640px) {
      .bp-title { letter-spacing: -.8px; }
      .bp-share { margin-left: 0; width: 100%; }
      .bp-cover { aspect-ratio: 16 / 10; }
      .bp-body { font-size: 17px; }
      .bp-body .bp-lede { font-size: 18px; }
    }

    @media (prefers-reduced-motion: reduce) {
      .bp-head .wrap > *, .bp-cover { animation: none !important; }
      .bp-progress { display: none; }
    }

    /* ── EVENTS PAGE (reference-inspired layout, Botriq design tokens) ── */
    .events-page {
      display: none;
      background: var(--bg);
    }

    .events-page.active {
      display: block;
    }

    .events-page .wrap {
      max-width: 1240px;
      margin: 0 auto;
      padding: 0 5%;
      position: relative;
      z-index: 1;
    }

    .events-page .eyebrow {
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px;
      letter-spacing: .22em;
      text-transform: uppercase;
      color: var(--blue);
      display: inline-flex;
      align-items: center;
      gap: 10px;
      font-weight: 700;
    }

    .events-page .eyebrow::before {
      content: '';
      width: 22px;
      height: 1px;
      background: linear-gradient(90deg, var(--brand-cyan), transparent);
    }

    .events-page .eyebrow.on-dark {
      color: var(--brand-cyan);
    }

    .events-page .eyebrow.center {
      justify-content: center;
    }

    /* ── Page hero ── */
    .events-hero {
      position: relative;
      padding: clamp(120px, 15vw, 168px) 0 clamp(48px, 6vw, 76px);
      overflow: hidden;
      isolation: isolate;
      background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 55%, var(--blue) 150%);
      color: #fff;
    }

    .events-hero::before {
      content: '';
      position: absolute;
      inset: 0;
      z-index: 0;
      pointer-events: none;
      background:
        radial-gradient(55% 45% at 88% 10%, rgba(10, 196, 214, .16), transparent 70%),
        radial-gradient(45% 40% at 4% 100%, rgba(59, 130, 246, .18), transparent 70%);
    }

    .events-hero-bg {
      position: absolute;
      inset: 0;
      background-image: radial-gradient(circle, rgba(255, 255, 255, .07) 1px, transparent 1px);
      background-size: 26px 26px;
      opacity: .55;
      pointer-events: none;
    }

    .events-crumb {
      position: relative;
      font-size: 12.5px;
      color: rgba(255, 255, 255, .55);
      margin-bottom: 22px;
    }

    .events-crumb a {
      color: rgba(255, 255, 255, .88);
      text-decoration: none;
      font-weight: 600;
    }

    .events-crumb a:hover {
      text-decoration: underline;
    }

    .events-hero-title {
      position: relative;
      font-size: clamp(30px, 5vw, 52px);
      font-weight: 800;
      letter-spacing: -.03em;
      line-height: 1.08;
      max-width: 18ch;
      margin: 16px 0 18px;
    }

    .events-hero-title .grad {
      background: linear-gradient(100deg, var(--brand-cyan) 0%, #7CC1FF 100%);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }

    .events-hero-sub {
      position: relative;
      max-width: 58ch;
      color: rgba(255, 255, 255, .8);
      font-size: clamp(14.5px, 1.4vw, 17px);
      line-height: 1.7;
      font-weight: 450;
    }

    /* ── Page heroes (Events / Gallery / Blog): background photo with navy overlay for text contrast.
          Set --hero-img (desktop) and --hero-img-sm (mobile) on the element. ── */
    .events-hero.hero-photo,
    .gallery-hero.hero-photo {
      background:
        linear-gradient(100deg, rgba(11, 18, 32, .92) 0%, rgba(11, 18, 32, .78) 45%, rgba(16, 32, 63, .45) 100%),
        var(--hero-img) center / cover no-repeat,
        var(--navy);
    }

    @media (max-width: 620px) {
      .events-hero.hero-photo,
      .gallery-hero.hero-photo {
        background:
          linear-gradient(180deg, rgba(11, 18, 32, .85) 0%, rgba(11, 18, 32, .9) 100%),
          var(--hero-img-sm, var(--hero-img)) center / cover no-repeat,
          var(--navy);
      }
    }

    .hero-photo--events {
      --hero-img: url('https://images.unsplash.com/photo-1540575467063-178a50c2df87?w=1920&q=80');
      --hero-img-sm: url('https://images.unsplash.com/photo-1540575467063-178a50c2df87?w=900&q=75');
    }

    .hero-photo--gallery {
      --hero-img: url('https://images.unsplash.com/photo-1485827404703-89b55fcc595e?w=1920&q=80');
      --hero-img-sm: url('https://images.unsplash.com/photo-1485827404703-89b55fcc595e?w=900&q=75');
    }

    /* ── Generic section rhythm ── */
    .events-section {
      padding: clamp(56px, 8vw, 96px) 0;
    }

    .events-section-alt {
      background: #F6F8FF;
      border-top: 1px solid #E8EEFF;
      border-bottom: 1px solid #E8EEFF;
    }

    .events-sec-head {
      max-width: 640px;
      margin-bottom: 44px;
    }

    .events-sec-head h2 {
      font-size: clamp(24px, 3.6vw, 38px);
      font-weight: 800;
      letter-spacing: -.03em;
      color: var(--text);
      line-height: 1.12;
      margin: 14px 0 14px;
    }

    /* ── Featured / ongoing event card ── */
    .ev-featured {
      background: var(--card-bg);
      border: 1px solid #E8EEFF;
      border-radius: 24px;
      box-shadow: var(--shadow);
      overflow: hidden;
      position: relative;
      isolation: isolate;
      display: grid;
      grid-template-columns: 1.05fr 1fr;
      align-items: stretch;
      will-change: transform;
      transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
    }

    .ev-featured::before {
      content: '';
      position: absolute;
      inset: 0;
      z-index: 1;
      pointer-events: none;
      opacity: 0;
      border-radius: inherit;
      background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 50%), rgba(27, 79, 216, .08), transparent 60%);
      transition: opacity .4s ease;
    }

    .ev-featured:hover::before {
      opacity: 1;
    }

    .ev-featured:hover {
      border-color: var(--blue);
      transform: translateY(-6px);
      box-shadow: var(--shadow-hover);
    }

    .ev-featured__media {
      position: relative;
      min-height: 300px;
      background: var(--blue-pale);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .ev-featured__media img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      display: block;
    }

    .ev-featured__badge {
      position: absolute;
      top: 20px;
      left: 20px;
      color: #fff;
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px;
      letter-spacing: .1em;
      text-transform: uppercase;
      padding: 8px 15px;
      border-radius: 100px;
      background: linear-gradient(135deg, var(--brand-cyan), #0a8fa0);
      box-shadow: 0 10px 22px rgba(10, 196, 214, .3);
    }

    .ev-featured__body {
      padding: clamp(28px, 3.4vw, 46px);
      display: flex;
      flex-direction: column;
      gap: 14px;
      justify-content: center;
      position: relative;
      z-index: 2;
    }

    .ev-featured__body h3 {
      font-size: clamp(20px, 2.4vw, 28px);
      font-weight: 800;
      letter-spacing: -.02em;
      color: var(--text);
      line-height: 1.25;
    }

    .ev-featured__body p {
      font-size: 14.5px;
      color: var(--muted);
      line-height: 1.72;
    }

    .ev-featured__body .btn-primary {
      align-self: flex-start;
      margin-top: 6px;
    }

    @media(max-width: 820px) {
      .ev-featured {
        grid-template-columns: 1fr;
      }

      .ev-featured__media {
        min-height: 220px;
      }
    }

    /* ── Past events grid ── */
    .ev-carousel {
      position: relative;
    }

    .ev-grid {
      display: flex;
      gap: 20px;
      overflow-x: auto;
      scroll-snap-type: x proximity;
      padding: 6px 6px 22px;
      margin: -6px -6px 0;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
    }

    .ev-grid::-webkit-scrollbar {
      display: none;
    }

    .ev-grid .event-card {
      flex: 0 0 auto;
      width: 300px;
      scroll-snap-align: start;
    }

    @media(max-width: 620px) {
      .ev-grid .event-card {
        width: 78vw;
      }
    }

    .ev-carousel-nav {
      display: flex;
      align-items: center;
      gap: 10px;
      justify-content: flex-end;
      margin-bottom: 22px;
    }

    .ev-carousel-btn {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      border: 1.5px solid #E8EEFF;
      background: var(--card-bg);
      color: var(--blue);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      box-shadow: var(--shadow);
      transition: all .25s var(--ease);
      flex: none;
    }

    .ev-carousel-btn:hover {
      background: var(--blue);
      color: #fff;
      border-color: var(--blue);
      transform: translateY(-2px);
      box-shadow: var(--shadow-hover);
    }

    .ev-carousel-btn:disabled {
      opacity: .35;
      cursor: default;
      pointer-events: none;
    }

    .ev-carousel-btn svg {
      width: 18px;
      height: 18px;
    }

    .ev-carousel-edge {
      position: absolute;
      top: 0;
      bottom: 22px;
      width: 64px;
      pointer-events: none;
      z-index: 2;
      opacity: 0;
      transition: opacity .3s var(--ease);
    }

    .ev-carousel-edge.left {
      left: 0;
      background: linear-gradient(90deg, var(--bg) 0%, transparent 100%);
    }

    .events-section-alt .ev-carousel-edge.left,
    .events-section-alt .ev-carousel-edge.right {
      background: linear-gradient(90deg, #F6F8FF 0%, transparent 100%);
    }

    .events-section-alt .ev-carousel-edge.right {
      background: linear-gradient(270deg, #F6F8FF 0%, transparent 100%);
    }

    .ev-carousel-edge.right {
      right: 0;
      background: linear-gradient(270deg, var(--bg) 0%, transparent 100%);
    }

    .ev-carousel-edge.show {
      opacity: 1;
    }

    @media(max-width: 620px) {
      .ev-carousel-nav {
        display: none;
      }
    }

    .event-card {
      background: var(--card-bg);
      border: 1.5px solid #E8EEFF;
      border-radius: 20px;
      box-shadow: var(--shadow);
      overflow: hidden;
      position: relative;
      isolation: isolate;
      display: flex;
      flex-direction: column;
      cursor: pointer;
      will-change: transform;
      justify-content: space-between;
      gap: 0;
      transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
    }

    .event-card::before {
      content: '';
      position: absolute;
      inset: 0;
      z-index: 0;
      pointer-events: none;
      opacity: 0;
      border-radius: inherit;
      background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(27, 79, 216, .08), transparent 60%);
      transition: opacity .4s ease;
    }

    .event-card::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 4px;
      background: linear-gradient(90deg, var(--blue), var(--brand-cyan));
      transform: scaleX(0);
      transform-origin: left;
      transition: transform .4s var(--ease);
      z-index: 2;
    }

    .event-card:hover::before {
      opacity: 1;
    }

    .event-card:hover::after {
      transform: scaleX(1);
    }

    .event-card:hover {
      border-color: var(--blue);
      transform: translateY(-6px);
      box-shadow: var(--shadow-hover);
    }

    .event-card-img {
      position: relative;
      width: 100%;
      aspect-ratio: 16/10;
      overflow: hidden;
      background: var(--blue-pale);
      flex: none;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .event-card-img img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      display: block;
      transition: transform .5s var(--ease);
    }

    .event-card:hover .event-card-img img {
      transform: scale(1.06);
    }

    .event-card-date-badge {
      position: absolute;
      top: 12px;
      right: 12px;
      background: rgba(10, 22, 40, .82);
      backdrop-filter: blur(4px);
      color: #fff;
      font-family: 'JetBrains Mono', monospace;
      font-size: 10.5px;
      font-weight: 700;
      letter-spacing: .05em;
      padding: 6px 11px;
      border-radius: 100px;
      z-index: 2;
    }

    .event-card-body {
      display: flex;
      flex-direction: column;
      gap: 10px;
      position: relative;
      z-index: 1;
      padding: 22px 24px 26px;
      flex: 1;
    }

    .event-card-location {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px;
      letter-spacing: .08em;
      text-transform: uppercase;
      color: var(--blue);
    }

    .event-card-location svg {
      width: 13px;
      height: 13px;
      flex: none;
    }

    .event-card-body h3 {
      font-size: 19px;
      font-weight: 800;
      color: var(--text);
      letter-spacing: -.2px;
      line-height: 1.3;
    }

    .event-card-cta {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      color: #fff;
      background: linear-gradient(135deg, var(--blue), var(--blue-light));
      font-size: 13px;
      font-weight: 700;
      padding: 10px 18px;
      border-radius: 100px;
      box-shadow: 0 6px 16px rgba(27, 79, 216, .28);
      transition: transform .28s var(--ease-spring), box-shadow .28s var(--ease-spring), gap .2s var(--ease);
      align-self: flex-start;
      position: relative;
      z-index: 1;
      margin-top: auto;
    }

    .event-card:hover .event-card-cta {
      gap: 10px;
      transform: translateY(-2px);
      box-shadow: 0 10px 22px rgba(27, 79, 216, .36);
    }

    /* ── "What to expect" experience section ── */
    .ev-experience {
      display: grid;
      grid-template-columns: 1fr 1.15fr;
      gap: 44px;
      align-items: start;
    }

    .ev-experience__main h3 {
      font-size: clamp(20px, 2.6vw, 28px);
      font-weight: 800;
      letter-spacing: -.02em;
      color: var(--text);
      margin: 14px 0 14px;
      max-width: 16ch;
      line-height: 1.25;
    }

    .ev-experience__main p {
      font-size: 14.5px;
      color: var(--muted);
      max-width: 42ch;
      line-height: 1.72;
    }

    .ev-experience__list {
      display: flex;
      flex-direction: column;
      gap: 1px;
      background: #E8EEFF;
      border: 1px solid #E8EEFF;
      border-radius: 20px;
      overflow: hidden;
    }

    .ev-experience__item {
      background: var(--card-bg);
      padding: 24px 26px;
      display: flex;
      gap: 16px;
      align-items: flex-start;
      transition: background .3s var(--ease);
    }

    .ev-experience__item:hover {
      background: var(--blue-pale);
    }

    .ev-experience__item .ic {
      width: 42px;
      height: 42px;
      border-radius: 12px;
      flex: none;
      display: grid;
      place-items: center;
      background: var(--blue-pale);
      border: 1px solid var(--blue-border);
    }

    .ev-experience__item .ic svg {
      width: 21px;
      height: 21px;
    }

    .ev-experience__item h4 {
      font-size: 15px;
      font-weight: 800;
      color: var(--text);
      margin-bottom: 4px;
    }

    .ev-experience__item p {
      font-size: 13px;
      color: var(--muted);
      line-height: 1.65;
    }

    @media(max-width: 900px) {
      .ev-experience {
        grid-template-columns: 1fr;
      }
    }

    /* ── Closing CTA — premium dark banner ── */
    .events-cta {
      padding: clamp(56px, 8vw, 96px) 0;
    }

    .events-cta-inner {
      text-align: center;
      background: linear-gradient(155deg, var(--navy) 0%, var(--navy-mid) 32%, #0B44C4 72%, var(--blue) 100%);
      border: 1px solid rgba(255, 255, 255, .08);
      border-radius: 24px;
      padding: clamp(48px, 8vw, 88px) 24px;
      position: relative;
      overflow: hidden;
      isolation: isolate;
      box-shadow: 0 30px 70px rgba(8, 20, 60, .3);
    }

    .events-cta-inner::before {
      content: '';
      position: absolute;
      inset: 0;
      z-index: -2;
      background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1px);
      background-size: 22px 22px;
      opacity: .35;
    }

    .events-cta-inner::after {
      content: '';
      position: absolute;
      inset: 0;
      z-index: -1;
      pointer-events: none;
      background:
        radial-gradient(620px 360px at 15% 0%, rgba(10, 196, 214, .3), transparent 68%),
        radial-gradient(520px 320px at 100% 100%, rgba(10, 196, 214, .2), transparent 70%);
    }

    .events-cta-inner h2 {
      font-size: clamp(22px, 3.4vw, 34px);
      font-weight: 800;
      letter-spacing: -.02em;
      max-width: 18ch;
      margin: 0 auto 16px;
      color: #fff;
    }

    .events-cta-inner p {
      max-width: 46ch;
      margin: 0 auto 30px;
      font-size: 15px;
      line-height: 1.7;
      color: rgba(255, 255, 255, .78);
    }

    .events-cta-inner .btn-primary {
      background: #fff !important;
      color: var(--navy-mid) !important;
      box-shadow: 0 14px 34px rgba(0, 0, 0, .25) !important;
    }

    .events-cta-inner .btn-primary:hover {
      transform: translateY(-2px) !important;
      box-shadow: 0 18px 40px rgba(0, 0, 0, .32) !important;
    }

    /* Event detail modal (reuses contact-modal look) */
    .event-detail-modal {
      position: fixed;
      inset: 0;
      z-index: 2000;
      background: rgba(10, 22, 40, .55);
      backdrop-filter: blur(6px);
      display: flex;
      align-items: flex-start;
      justify-content: center;
      padding: 60px 16px;
      opacity: 0;
      visibility: hidden;
      transition: opacity .3s var(--ease), visibility 0s linear .3s;
      overflow-y: auto;
    }

    .event-detail-modal.active {
      opacity: 1;
      visibility: visible;
      transition: opacity .3s var(--ease), visibility 0s;
    }

    .event-detail-box {
      position: relative;
      background: var(--surface);
      border-radius: var(--radius);
      max-width: 640px;
      width: 100%;
      padding: 36px 34px 34px;
      box-shadow: var(--shadow-hover);
    }

    .event-detail-box img {
      width: 100%;
      border-radius: 14px;
      margin-bottom: 18px;
      aspect-ratio: 16/9;
      object-fit: contain;
      background: var(--blue-pale);
    }

    .event-detail-box h3 {
      font-size: 22px;
      font-weight: 800;
      color: var(--text);
      margin-bottom: 8px;
    }

    .event-card-meta {
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px;
      letter-spacing: .08em;
      text-transform: uppercase;
      color: #94A3B8;
      display: flex;
      flex-wrap: wrap;
      gap: 8px 12px;
    }

    .event-detail-box .event-card-meta {
      margin-bottom: 14px;
    }

    .event-detail-box p {
      color: var(--muted);
      font-size: 14.5px;
      line-height: 1.75;
    }

    @media(max-width: 620px) {
      .events-hero {
        padding: 110px 6% 48px;
      }

      .event-detail-modal {
        padding: 30px 12px;
      }

      .event-detail-box {
        padding: 26px 20px 24px;
      }
    }

    /* ══════════════════ GALLERY PAGE ══════════════════ */
    .gallery-page {
      display: none;
      background: var(--bg);
    }

    .gallery-page.active {
      display: block;
    }

    .gallery-page .wrap {
      max-width: 1240px;
      margin: 0 auto;
      padding: 0 5%;
      position: relative;
      z-index: 1;
    }

    .gallery-page .eyebrow {
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px;
      letter-spacing: .22em;
      text-transform: uppercase;
      color: var(--blue);
      display: inline-flex;
      align-items: center;
      gap: 10px;
      font-weight: 700;
    }

    .gallery-page .eyebrow::before {
      content: '';
      width: 22px;
      height: 1px;
      background: linear-gradient(90deg, var(--brand-cyan), transparent);
    }

    .gallery-page .eyebrow.on-dark {
      color: var(--brand-cyan);
    }

    .gallery-hero {
      position: relative;
      padding: clamp(120px, 15vw, 168px) 0 clamp(40px, 5vw, 64px);
      overflow: hidden;
      isolation: isolate;
      background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 55%, var(--blue) 150%);
      color: #fff;
    }

    .gallery-hero::before {
      content: '';
      position: absolute;
      inset: 0;
      z-index: 0;
      pointer-events: none;
      background:
        radial-gradient(55% 45% at 88% 10%, rgba(10, 196, 214, .16), transparent 70%),
        radial-gradient(45% 40% at 4% 100%, rgba(59, 130, 246, .18), transparent 70%);
    }

    .gallery-hero-bg {
      position: absolute;
      inset: 0;
      background-image: radial-gradient(circle, rgba(255, 255, 255, .07) 1px, transparent 1px);
      background-size: 26px 26px;
      opacity: .55;
      pointer-events: none;
    }

    .gallery-crumb {
      position: relative;
      font-size: 12.5px;
      color: rgba(255, 255, 255, .55);
      margin-bottom: 22px;
    }

    .gallery-crumb a {
      color: rgba(255, 255, 255, .88);
      text-decoration: none;
      font-weight: 600;
    }

    .gallery-crumb a:hover {
      text-decoration: underline;
    }

    .gallery-hero-title {
      position: relative;
      font-size: clamp(30px, 5vw, 52px);
      font-weight: 800;
      letter-spacing: -.03em;
      line-height: 1.08;
      max-width: 18ch;
      margin: 16px 0 14px;
    }

    .gallery-hero-title .grad {
      background: linear-gradient(100deg, var(--brand-cyan) 0%, #7CC1FF 100%);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }

    .gallery-hero-sub {
      position: relative;
      max-width: 58ch;
      color: rgba(255, 255, 255, .8);
      font-size: clamp(14.5px, 1.4vw, 17px);
      line-height: 1.7;
      font-weight: 450;
    }

    .gallery-context-pill {
      position: relative;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin-top: 20px;
      padding: 9px 16px 9px 8px;
      border-radius: 100px;
      background: rgba(255, 255, 255, .1);
      border: 1px solid rgba(255, 255, 255, .18);
      font-size: 13px;
      color: #fff;
      backdrop-filter: blur(6px);
    }

    .gallery-context-pill img {
      width: 26px;
      height: 26px;
      border-radius: 50%;
      object-fit: cover;
      flex: none;
      background: #fff;
    }

    .gallery-context-pill strong {
      font-weight: 700;
    }

    .gallery-context-pill button {
      background: none;
      border: 0;
      color: rgba(255, 255, 255, .7);
      cursor: pointer;
      font-size: 12px;
      text-decoration: underline;
      padding: 0;
      margin-left: 4px;
    }

    .gallery-context-pill button:hover {
      color: #fff;
    }

    .gallery-filters-section {
      padding: 20px 0;
      background: var(--bg);
      border-bottom: 1px solid transparent;
      transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
    }

    .gallery-filters {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
    }

    .gallery-filter-pill {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 10px 18px;
      border-radius: 100px;
      border: 1.5px solid #E8EEFF;
      background: var(--card-bg);
      color: var(--muted);
      font-size: 13.5px;
      font-weight: 700;
      cursor: pointer;
      transition: all .25s var(--ease);
      white-space: nowrap;
    }

    .gallery-filter-pill:hover {
      border-color: var(--blue);
      color: var(--blue);
      transform: translateY(-1px);
    }

    .gallery-filter-pill.active {
      background: linear-gradient(135deg, var(--blue), var(--blue-light));
      border-color: transparent;
      color: #fff;
      box-shadow: 0 6px 16px rgba(27, 79, 216, .28);
    }

    .gallery-filter-pill .count {
      font-size: 11px;
      opacity: .75;
      font-family: 'JetBrains Mono', monospace;
    }

    .gallery-section {
      padding: clamp(40px, 6vw, 64px) 0 clamp(64px, 8vw, 96px);
    }

    .to-top-btn {
      position: fixed;
      right: clamp(16px, 3vw, 32px);
      bottom: clamp(16px, 3vw, 32px);
      width: 46px;
      height: 46px;
      border-radius: 50%;
      border: 1.5px solid var(--blue-border);
      background: rgba(255, 255, 255, .9);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      color: var(--blue);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      box-shadow: var(--shadow-md);
      opacity: 0;
      visibility: hidden;
      transform: translateY(10px);
      transition: opacity .3s var(--ease), transform .3s var(--ease), background .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
      z-index: 900;
    }

    .to-top-btn.show {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }

    .to-top-btn:hover {
      background: var(--blue);
      border-color: var(--blue);
      color: #fff;
      box-shadow: var(--shadow-hover);
      transform: translateY(-3px);
    }

    .to-top-btn svg {
      width: 19px;
      height: 19px;
    }

    @media(max-width: 620px) {
      .to-top-btn {
        width: 42px;
        height: 42px;
        right: 14px;
        bottom: 14px;
      }
    }

    .gallery-grid {
      column-count: 3;
      column-gap: 20px;
    }

    @media(max-width: 980px) {
      .gallery-grid {
        column-count: 2;
      }
    }

    @media(max-width: 620px) {
      .gallery-grid {
        column-count: 1;
      }
    }

    .gallery-item {
      break-inside: avoid;
      margin-bottom: 20px;
      position: relative;
      border-radius: 18px;
      overflow: hidden;
      cursor: pointer;
      background: var(--blue-pale);
      box-shadow: var(--shadow);
      transition: transform .35s var(--ease), box-shadow .35s var(--ease);
      opacity: 0;
      transform: translateY(16px) scale(.98);
    }

    .gallery-item.in {
      opacity: 1;
      transform: none;
    }

    .gallery-item:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
    }

    .gallery-item img {
      width: 100%;
      display: block;
      transition: transform .5s var(--ease);
    }

    .gallery-item:hover img {
      transform: scale(1.05);
    }

    .gallery-item-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, transparent 40%, rgba(10, 22, 40, .82) 100%);
      opacity: 0;
      transition: opacity .3s var(--ease);
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      padding: 16px;
    }

    .gallery-item:hover .gallery-item-overlay {
      opacity: 1;
    }

    .gallery-item-overlay .ev-tag {
      font-family: 'JetBrains Mono', monospace;
      font-size: 10.5px;
      letter-spacing: .08em;
      text-transform: uppercase;
      color: var(--brand-cyan);
      margin-bottom: 4px;
    }

    .gallery-item-overlay .ev-caption {
      color: #fff;
      font-size: 13.5px;
      font-weight: 700;
      line-height: 1.35;
    }

    .gallery-play-icon {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 56px;
      height: 56px;
      border-radius: 50%;
      background: rgba(255, 255, 255, .92);
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 8px 24px rgba(10, 22, 40, .35);
      transition: transform .3s var(--ease-spring);
      pointer-events: none;
    }

    .gallery-item:hover .gallery-play-icon {
      transform: translate(-50%, -50%) scale(1.12);
    }

    .gallery-play-icon svg {
      width: 20px;
      height: 20px;
      margin-left: 3px;
      color: var(--blue);
    }

    .gallery-video-badge {
      position: absolute;
      top: 12px;
      right: 12px;
      background: rgba(10, 22, 40, .68);
      color: #fff;
      font-size: 10.5px;
      font-weight: 700;
      letter-spacing: .06em;
      text-transform: uppercase;
      padding: 5px 10px;
      border-radius: 100px;
      display: inline-flex;
      align-items: center;
      gap: 5px;
      backdrop-filter: blur(4px);
    }

    .gallery-video-badge svg {
      width: 11px;
      height: 11px;
    }

    .gallery-empty {
      text-align: center;
      padding: 64px 20px;
      color: var(--muted);
      font-size: 15px;
    }

    .gallery-lightbox {
      position: fixed;
      inset: 0;
      z-index: 3000;
      background: rgba(6, 12, 26, .94);
      backdrop-filter: blur(8px);
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      visibility: hidden;
      transition: opacity .3s var(--ease), visibility 0s linear .3s;
    }

    .gallery-lightbox.active {
      opacity: 1;
      visibility: visible;
      transition: opacity .3s var(--ease), visibility 0s;
    }

    .gallery-lightbox-stage {
      position: relative;
      width: min(1100px, 92vw);
      max-height: 88vh;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .gallery-lightbox-media {
      width: 100%;
      max-height: 72vh;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 16px;
      overflow: hidden;
      background: #000;
    }

    .gallery-lightbox-media img,
    .gallery-lightbox-media video {
      max-width: 100%;
      max-height: 72vh;
      object-fit: contain;
      display: block;
    }

    .gallery-lightbox-caption {
      margin-top: 18px;
      text-align: center;
      color: #fff;
    }

    .gallery-lightbox-caption .ev-tag {
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px;
      letter-spacing: .1em;
      text-transform: uppercase;
      color: var(--brand-cyan);
      margin-bottom: 6px;
    }

    .gallery-lightbox-caption p {
      color: rgba(255, 255, 255, .8);
      font-size: 14px;
      max-width: 60ch;
    }

    .gallery-lightbox-close {
      position: absolute;
      top: -8px;
      right: -8px;
      width: 42px;
      height: 42px;
      border-radius: 50%;
      background: rgba(255, 255, 255, .1);
      border: 1px solid rgba(255, 255, 255, .2);
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: background .25s var(--ease);
      z-index: 2;
    }

    .gallery-lightbox-close:hover {
      background: rgba(255, 255, 255, .2);
    }

    .gallery-lightbox-nav {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 46px;
      height: 46px;
      border-radius: 50%;
      background: rgba(255, 255, 255, .1);
      border: 1px solid rgba(255, 255, 255, .2);
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: background .25s var(--ease), transform .25s var(--ease);
      z-index: 2;
    }

    .gallery-lightbox-nav:hover {
      background: rgba(255, 255, 255, .2);
    }

    .gallery-lightbox-nav.prev {
      left: -8px;
    }

    @media(min-width: 900px) {
      .gallery-lightbox-nav.prev {
        left: -64px;
      }

      .gallery-lightbox-nav.next {
        right: -64px;
      }
    }

    .gallery-lightbox-nav.next {
      right: -8px;
    }

    .gallery-lightbox-nav svg {
      width: 20px;
      height: 20px;
    }

    @media(max-width: 620px) {
      .gallery-hero {
        padding: 110px 6% 48px;
      }
    }
    70% {
      transform: scale(1.6);
      opacity: 0;
    }

    100% {
      transform: scale(1.6);
      opacity: 0;
    }
    }

    /* ── STAGGERED nth-child delays ── */
    .blog-grid .blog-card:nth-child(1) {
      transition-delay: .05s;
    }

    .blog-grid .blog-card:nth-child(2) {
      transition-delay: .13s;
    }

    .blog-grid .blog-card:nth-child(3) {
      transition-delay: .21s;
    }

    /* ── RESPONSIVE NEW SECTIONS ── */
    @media(max-width:992px) {
      .stats-inner {
        flex-wrap: wrap;
        row-gap: 24px;
      }

      .stat-item {
        min-width: 45%;
        border-right: none;
      }

      .stat-item:nth-child(odd) {
        border-right: 1px solid rgba(255, 255, 255, .07);
      }

      .blog-grid {
        grid-template-columns: 1fr 1fr;
      }
    }

    @media(max-width:768px) {

      .blog-grid {
        grid-template-columns: 1fr;
      }
    }


    /* ── HERO SCROLL INDICATOR ── */
    .hero-scroll {
      position: absolute;
      bottom: 32px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 5;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      color: rgba(255, 255, 255, .45);
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      cursor: pointer;
      text-decoration: none;
      transition: color .2s;
    }

    .hero-scroll:hover {
      color: rgba(255, 255, 255, .8);
    }

    .hero-scroll-dot {
      width: 1.5px;
      height: 32px;
      background: rgba(255, 255, 255, .15);
      border-radius: 1px;
      position: relative;
      overflow: hidden;
    }

    .hero-scroll-dot::after {
      content: '';
      position: absolute;
      top: -100%;
      left: 0;
      width: 100%;
      height: 50%;
      background: rgba(255, 255, 255, .65);
      border-radius: 1px;
      animation: scrollDot 2s ease-in-out infinite;
    }

    @keyframes scrollDot {
      0% {
        top: -100%;
      }

      100% {
        top: 200%;
      }
    }

    @media(max-width:900px) {
      .hero-scroll {
        display: none;
      }
    }


    /* ── FOOTER SOCIAL LINKS ── */
    .footer-social {
      display: flex;
      align-items: center;
      gap: 6px;
      margin: -8px -9px;   /* the 40px hit areas overhang, so the icons align to the edge */
    }

    .social-link {
      width: 40px;
      height: 40px;
      border-radius: 10px;
      background: transparent;
      border: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      text-decoration: none;
      transition: transform .22s ease;
      flex-shrink: 0;
      outline: none;
      padding: 0;
      line-height: 0;
    }

    .social-link svg {
      width: 19px;
      height: 19px;
      display: block;
      margin: auto;
      flex-shrink: 0;
      pointer-events: none;
      fill: rgba(255, 255, 255, 0.75);
      transition: fill .22s ease;
    }

    .social-link:hover {
      transform: translateY(-3px);
    }

    .social-link:hover svg {
      fill: var(--brand-cyan);
    }

    .footer-company-name {
      font-size: 11px;
      font-weight: 700;
      color: rgba(255, 255, 255, .4);
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-bottom: 6px;
    }


    /* ── FORM FIELD INLINE VALIDATION ── */
    .form-group .field-error {
      display: none;
      font-size: 11.5px;
      color: #DC2626;
      font-weight: 600;
      margin-top: 5px;
      padding: 0 2px;
    }

    .form-group.has-error input,
    .form-group.has-error textarea,
    .form-group.has-error .phone-country-select {
      border-color: #DC2626;
      box-shadow: 0 0 0 3px rgba(220, 38, 38, .09);
      background: #fff;
    }

    .form-group.has-error .field-error {
      display: block;
    }

    .form-group.is-valid input,
    .form-group.is-valid textarea,
    .form-group.is-valid .phone-country-select {
      border-color: #22C55E;
      box-shadow: 0 0 0 3px rgba(34, 197, 94, .07);
    }

    /* ── CONTACT SUCCESS — submitted details, phone masked ── */
    .success-meta {
      background: var(--bg);
      border-radius: 12px;
      padding: 14px 16px;
      margin: 0 0 20px;
      text-align: left;
      border-left: 3px solid var(--blue);
    }

    .success-meta-row {
      display: flex;
      align-items: flex-start;
      gap: 8px;
      font-size: 13px;
      color: #334155;
      margin-bottom: 6px;
      line-height: 1.4;
    }

    .success-meta-row:last-child {
      margin-bottom: 0;
    }

    .success-meta-label {
      font-weight: 700;
      color: var(--blue);
      min-width: 68px;
      flex-shrink: 0;
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: .4px;
      padding-top: 1px;
    }

    .success-meta-val {
      color: #334155;
      font-weight: 500;
      word-break: break-word;
    }

    .success-note {
      font-size: 12px;
      color: #94A3B8;
      margin-bottom: 20px;
      line-height: 1.6;
    }


    /* ── PRODUCT DETAIL PAGE ── */
    .product-detail-page {
      display: none;
      background: linear-gradient(180deg, #EEF2FF 0%, #DCE6FF 45%, #EEF2FF 100%);
      color: var(--text);
      min-height: 70vh;
    }

    .product-detail-page.active {
      display: block;
    }

    /* ── PDP HERO ──
       One composed first screen: name, headline, description and CTAs on
       the left, the robot on a lit stage on the right. Everything is shown
       on render with short keyframe entrances (nothing waits on a class
       transition or on pointer movement), then the robot floats slowly.
       Pointer parallax (initPdpHeroParallax) only adds depth on desktop. */
    .pdp-hero {
      --pdp-ease: cubic-bezier(.16, 1, .3, 1);
      position: relative;
      isolation: isolate;
      max-width: 1240px;
      margin: 0 auto;
      min-height: min(100dvh, 820px);
      padding: 100px clamp(20px, 4vw, 48px) 32px;
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
      grid-template-rows: 1fr auto auto 1fr;
      grid-template-areas:
        ".    media"
        "head media"
        "body media"
        ".    media";
      column-gap: clamp(8px, 2vw, 32px);
      align-items: center;
    }

    /* blueprint floor grid behind the whole hero, strongest around the robot */
    .pdp-hero::before {
      content: "";
      position: absolute;
      z-index: -2;
      inset: 0 -20vw;
      background-image:
        linear-gradient(rgba(27, 79, 216, .1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(27, 79, 216, .1) 1px, transparent 1px);
      background-size: 40px 40px;
      background-position: center;
      -webkit-mask-image: radial-gradient(ellipse 55% 70% at 68% 55%, #000 0%, rgba(0, 0, 0, .55) 45%, transparent 80%);
      mask-image: radial-gradient(ellipse 55% 70% at 68% 55%, #000 0%, rgba(0, 0, 0, .55) 45%, transparent 80%);
      pointer-events: none;
    }

    .pdp-bg-glow {
      position: absolute;
      z-index: -1;
      top: 50%;
      right: 2%;
      width: min(62vw, 820px);
      aspect-ratio: 1;
      translate: 0 -50%;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(0, 194, 206, .14) 0%, rgba(59, 130, 246, .08) 40%, rgba(59, 130, 246, 0) 70%);
      pointer-events: none;
    }

    /* ── copy ── */
    /* copy stays above the robot's lit stage where they overlap (tablet) */
    .pdp-head {
      grid-area: head;
      align-self: end;
      position: relative;
      z-index: 1;
    }

    .pdp-body {
      grid-area: body;
      align-self: start;
      position: relative;
      z-index: 1;
    }

    .pdp-crumb {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 13px;
      color: #64748B;
      margin-bottom: 22px;
    }

    .pdp-crumb a {
      color: #475569;
      font-weight: 600;
      text-decoration: none;
      transition: color .2s ease;
    }

    .pdp-crumb a:hover { color: var(--blue); }
    .pdp-crumb svg { width: 12px; height: 12px; opacity: .6; }

    .pdp-badge {
      display: inline-block;
      font-size: 11.5px;
      font-weight: 700;
      letter-spacing: 1.6px;
      text-transform: uppercase;
      color: #0a6f8c;
      background: rgba(255, 255, 255, .85);
      border: 1px solid rgba(18, 163, 201, .28);
      box-shadow: 0 4px 14px rgba(14, 20, 32, .05);
      padding: 6px 14px;
      border-radius: 100px;
      margin-bottom: 18px;
    }

    .pdp-title {
      font-size: clamp(36px, 4.4vw, 60px);
      font-weight: 800;
      line-height: 1.04;
      letter-spacing: -1.6px;
      color: #0F172A;
      margin: 0;
    }

    /* same gradient treatment as the homepage hero headline */
    .pdp-title-accent {
      background: linear-gradient(90deg, var(--blue-deep, #0c86a8), var(--blue));
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      padding-bottom: .06em; /* keep descenders inside the clip */
    }

    .pdp-title-sub {
      display: block;
      margin-top: 14px;
      font-size: clamp(20px, 1.9vw, 27px);
      font-weight: 600;
      line-height: 1.25;
      letter-spacing: -.4px;
      color: #475569;
    }

    .pdp-desc {
      margin: 22px 0 0;
      max-width: 52ch;
      font-size: 16.5px;
      line-height: 1.7;
      color: #475569;
    }

    .pdp-desc strong {
      color: #0F172A;
      font-weight: 700;
    }

    .pdp-ctas {
      display: flex;
      align-items: center;
      gap: 14px;
      flex-wrap: wrap;
      margin-top: 30px;
    }

    .pdp-cta-primary {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--pdp-accent, #FF6A00);
      color: #101216;
      font-weight: 800;
      font-size: 14.5px;
      padding: 15px 30px;
      border-radius: 11px;
      border: none;
      cursor: pointer;
      text-decoration: none;
      white-space: nowrap;
      transition: transform .25s ease, box-shadow .25s ease;
    }

    .pdp-cta-primary:hover {
      transform: translateY(-3px);
      box-shadow: 0 16px 34px -8px var(--pdp-accent, #FF6A00);
    }

    .pdp-cta-primary:active { transform: translateY(-1px) scale(.98); }

    .pdp-cta-secondary {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(255, 255, 255, .7);
      color: #0F172A;
      font-weight: 700;
      font-size: 14.5px;
      padding: 14px 26px;
      border-radius: 11px;
      border: 1.5px solid rgba(27, 79, 216, .25);
      cursor: pointer;
      text-decoration: none;
      white-space: nowrap;
      transition: all .25s ease;
    }

    .pdp-cta-secondary:hover {
      border-color: rgba(27, 79, 216, .5);
      background: rgba(27, 79, 216, .06);
      transform: translateY(-3px);
    }

    .pdp-cta-primary:focus-visible,
    .pdp-cta-secondary:focus-visible,
    .pdp-crumb a:focus-visible {
      outline: 2px solid var(--blue);
      outline-offset: 3px;
    }

    /* ── robot stage ── */
    .pdp-media {
      --px: 0;
      --py: 0;
      grid-area: media;
      position: relative;
      height: clamp(400px, calc(100dvh - 150px), 660px);
    }

    /* LiDAR-style scan rings on the floor around the robot's base */
    .pdp-rings {
      position: absolute;
      left: 50%;
      bottom: 2%;
      width: 92%;
      height: 20%;
      translate: -50% 0;
      overflow: visible;
      fill: none;
      stroke: rgba(27, 79, 216, .2);
      stroke-width: 1.2;
      stroke-dasharray: 3 7;
      vector-effect: non-scaling-stroke;
    }

    .pdp-rings ellipse {
      vector-effect: non-scaling-stroke;
      animation: pdp-scan 14s linear infinite;
    }

    .pdp-rings ellipse:nth-child(2) {
      stroke: rgba(0, 194, 206, .35);
      animation-direction: reverse;
      animation-duration: 18s;
    }

    .pdp-rings ellipse:nth-child(3) {
      stroke: rgba(0, 194, 206, .5);
      stroke-dasharray: none;
    }

    @keyframes pdp-scan {
      to { stroke-dashoffset: -200; }
    }

    /* two real specs from the robot's data, floating on the stage */
    .pdp-spec-chip {
      position: absolute;
      z-index: 2;
      display: grid;
      gap: 2px;
      min-width: 112px;
      padding: 12px 16px;
      border-radius: 14px;
      background: rgba(255, 255, 255, .86);
      border: 1px solid rgba(27, 79, 216, .14);
      box-shadow: 0 12px 30px rgba(15, 30, 70, .10);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      animation: pdp-rise .5s var(--pdp-ease) both;
    }

    .pdp-spec-chip span {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: .8px;
      text-transform: uppercase;
      color: #64748B;
    }

    .pdp-spec-chip strong {
      font-size: 20px;
      font-weight: 800;
      letter-spacing: -.4px;
      color: #0F172A;
      white-space: nowrap;
    }

    .pdp-spec-chip--a {
      left: 4%;
      top: 22%;
      animation-delay: .3s;
      transform: translate(calc(var(--px) * -10px), calc(var(--py) * -6px));
    }

    .pdp-spec-chip--b {
      right: 2%;
      bottom: 24%;
      animation-delay: .4s;
    }

    /* soft lit disc behind the robot */
    .pdp-stage {
      position: absolute;
      left: 50%;
      top: 48%;
      width: min(94%, 580px);
      aspect-ratio: 1;
      border-radius: 50%;
      background:
        radial-gradient(circle at 50% 42%, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .6) 36%, rgba(255, 255, 255, 0) 68%),
        radial-gradient(circle, rgba(0, 194, 206, .18) 0%, rgba(0, 194, 206, 0) 70%);
      transform: translate(calc(-50% + var(--px) * -6px), calc(-50% + var(--py) * -6px));
      transition: transform .8s var(--pdp-ease);
    }

    /* contact shadow: breathes with the float */
    .pdp-floor {
      position: absolute;
      left: 50%;
      bottom: 6%;
      width: 52%;
      height: 30px;
      translate: -50% 0;
      border-radius: 50%;
      background: radial-gradient(closest-side, rgba(10, 22, 40, .14), rgba(10, 22, 40, 0));
      animation: pdp-floor 7s ease-in-out .7s infinite;
    }

    .pdp-robot {
      position: absolute;
      inset: 0 0 7% 0;
      display: flex;
      align-items: flex-end;
      justify-content: center;
      transform: translate(calc(var(--px) * 12px), calc(var(--py) * 8px));
      transition: transform .8s var(--pdp-ease);
    }

    .pdp-robot img {
      display: block;
      height: 96%;
      width: auto;
      max-width: 100%;
      object-fit: contain;
      object-position: bottom;
      filter: drop-shadow(0 18px 24px rgba(10, 22, 40, .14));
      animation:
        pdp-robot-in .6s var(--pdp-ease) both,
        pdp-float 7s ease-in-out .7s infinite;
    }

    /* low, wide AMRs: size by width so they read as large as the tall bots */
    .pdp-hero--wide .pdp-robot {
      inset: 0 0 10% 0;
    }

    .pdp-hero--wide .pdp-robot img {
      width: 100%;
      height: auto;
      max-height: 80%;
    }

    .pdp-hero--wide .pdp-floor {
      width: 82%;
      bottom: 8%;
    }

    /* ── entrances: short, staggered, start on render ── */
    .pdp-badge,
    .pdp-title,
    .pdp-desc,
    .pdp-ctas {
      animation: pdp-rise .5s var(--pdp-ease) both;
    }

    .pdp-title { animation-delay: .05s; }
    .pdp-desc { animation-delay: .1s; }
    .pdp-ctas { animation-delay: .15s; }

    @keyframes pdp-rise {
      from { opacity: 0; transform: translateY(10px); }
    }

    @keyframes pdp-robot-in {
      from { opacity: 0; transform: translateY(18px) scale(.98); }
    }

    @keyframes pdp-float {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-8px); }
    }

    @keyframes pdp-floor {
      0%, 100% { transform: scaleX(1); opacity: 1; }
      50% { transform: scaleX(.92); opacity: .8; }
    }

    /* ── PDP body sections (features / specs / applications) ── */
    .pdp-section {
      position: relative;
      z-index: 1;
      padding: 70px 6vw;
      border-top: 1px solid rgba(27, 79, 216, .10);
    }

    .pdp-section-head {
      margin-bottom: 40px;
    }

    .pdp-eyebrow {
      font-size: 11px;
      font-weight: 800;
      letter-spacing: 1.6px;
      text-transform: uppercase;
      color: var(--pdp-accent, #FF6A00);
      margin-bottom: 10px;
    }

    .pdp-section-title {
      font-size: clamp(24px, 2.6vw, 32px);
      font-weight: 800;
      color: #0F172A;
    }

    /* ══════════════════════════════════════════════════════════
       KEY FEATURES — contained scrollable panel (~4 visible) + media
       ══════════════════════════════════════════════════════════ */
    .pdp-features-panel {
      position: relative;
      display: grid;
      grid-template-columns: 1.2fr 1fr;
      gap: 40px;
      align-items: stretch;
      max-width: 1120px;
      margin: 0 auto;
      padding: 6px;
      border-radius: 28px;
      box-shadow: 0 0 0 1px rgba(27, 79, 216, .08), 0 30px 70px -30px rgba(27, 79, 216, .18);
    }

    .pdp-features-scroll {
      position: relative;
      max-height: 480px;
      overflow-y: auto;
      overflow-x: hidden;
      padding: 16px 16px 8px 30px;
      scroll-behavior: smooth;
      scroll-snap-type: y proximity;
      scrollbar-width: none;
      -ms-overflow-style: none;
    }

    .pdp-features-scroll::-webkit-scrollbar { width: 0; height: 0; display: none; }

    .pdp-features-fade {
      position: absolute;
      left: 6px;
      right: 6px;
      height: 44px;
      pointer-events: none;
      z-index: 3;
      border-radius: 28px 28px 0 0;
    }

    .pdp-features-fade-top {
      top: 6px;
      background: linear-gradient(180deg, #EEF2FF 0%, transparent 100%);
    }

    .pdp-features-fade-bottom {
      bottom: 6px;
      border-radius: 0 0 28px 28px;
      background: linear-gradient(0deg, #EEF2FF 0%, transparent 100%);
    }

    .pdp-features-media {
      position: relative;
      border-radius: 22px;
      overflow: hidden;
      background: linear-gradient(160deg, #FFFFFF 0%, #E4EBFF 100%);
      border: 1px solid rgba(27, 79, 216, .10);
      min-height: 320px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .pdp-features-media img {
      width: 100%;
      height: 100%;
      max-height: 480px;
      object-fit: contain;
      padding: 30px;
    }

    @media (max-width: 900px) {
      .pdp-features-panel {
        grid-template-columns: 1fr;
        padding: 5px;
      }
      .pdp-features-media {
        order: -1;
        min-height: 220px;
      }
      .pdp-features-media img { max-height: 260px; padding: 20px; }
      .pdp-features-scroll { max-height: 400px; padding-left: 18px; }
    }

    .pdp-features-spine {
      position: absolute;
      left: 58px;
      top: 8px;
      bottom: 8px;
      width: 2px;
      background: rgba(27, 79, 216, .12);
      overflow: hidden;
    }

    .pdp-features-spine-fill {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 0%;
      background: linear-gradient(to bottom, var(--pdp-accent, #FF6A00), color-mix(in srgb, var(--pdp-accent, #FF6A00) 30%, transparent));
      transition: height .1s linear;
    }

    .pdp-feature-row {
      position: relative;
      display: flex;
      gap: 28px;
      padding: 0 0 46px 0;
      opacity: 0;
      transform: translateX(-24px) scale(.98);
      transition: opacity .8s var(--ease-spring), transform .8s var(--ease-spring);
      will-change: opacity, transform;
    }

    .pdp-feature-row:last-child { padding-bottom: 4px; }

    .pdp-feature-row.pdp-in {
      opacity: 1;
      transform: translateX(0) scale(1);
    }

    .pdp-feature-node {
      position: relative;
      flex-shrink: 0;
      width: 56px;
      height: 56px;
      border-radius: 50%;
      background: #FFFFFF;
      border: 1.5px solid rgba(27, 79, 216, .16);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--pdp-accent, #FF6A00);
      z-index: 2;
      box-shadow: 0 4px 14px rgba(27, 79, 216, .08);
      transition: border-color .4s var(--ease-spring), background .4s var(--ease-spring), transform .4s var(--ease-spring), box-shadow .4s var(--ease-spring);
    }

    .pdp-feature-row.pdp-in .pdp-feature-node {
      border-color: var(--pdp-accent, #FF6A00);
      box-shadow: 0 0 0 4px color-mix(in srgb, var(--pdp-accent, #FF6A00) 12%, transparent);
      transition-delay: .12s;
    }

    .pdp-feature-row:hover .pdp-feature-node {
      transform: scale(1.1) rotate(-4deg);
      background: var(--pdp-accent, #FF6A00);
      color: #fff;
      box-shadow: 0 10px 24px -6px var(--pdp-accent, #FF6A00);
    }

    .pdp-feature-node svg { width: 24px; height: 24px; transition: transform .35s var(--ease-spring); }
    .pdp-feature-node .ph { font-size: 26px; line-height: 1; transition: transform .35s var(--ease-spring); }
    .pdp-feature-row:hover .pdp-feature-node svg,
    .pdp-feature-row:hover .pdp-feature-node .ph { transform: scale(1.08); }

    .pdp-feature-index {
      position: absolute;
      top: -6px;
      right: -6px;
      width: 20px;
      height: 20px;
      border-radius: 50%;
      background: #EEF2FF;
      border: 1px solid rgba(27, 79, 216, .18);
      color: #64748B;
      font-size: 10px;
      font-weight: 800;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: transform .3s var(--ease-spring);
    }

    .pdp-feature-row:hover .pdp-feature-index {
      transform: scale(1.12);
    }

    .pdp-feature-body {
      flex: 1;
      padding-top: 8px;
      border-bottom: 1px solid rgba(27, 79, 216, .08);
      padding-bottom: 38px;
      transition: transform .4s var(--ease-spring);
    }

    .pdp-feature-row:hover .pdp-feature-body {
      transform: translateX(4px);
    }

    .pdp-feature-row:last-child .pdp-feature-body {
      border-bottom: none;
    }

    .pdp-feature-title {
      font-size: 18px;
      font-weight: 700;
      color: #0F172A;
      margin-bottom: 8px;
      letter-spacing: -.2px;
    }

    .pdp-feature-text {
      font-size: 14.5px;
      line-height: 1.7;
      color: #64748B;
      max-width: 560px;
    }

    @media (max-width: 640px) {
      .pdp-features-spine { left: 42px; }
      .pdp-feature-node { width: 48px; height: 48px; }
      .pdp-feature-node svg { width: 20px; height: 20px; }
      .pdp-feature-node .ph { font-size: 22px; }
      .pdp-feature-row { gap: 20px; }
    }

    /* ══════════════════════════════════════════════════════════
       TECHNICAL SPECIFICATIONS — hero-stat console panel
       ══════════════════════════════════════════════════════════ */
    .pdp-spec-console {
      position: relative;
      display: grid;
      grid-template-columns: .9fr 1.1fr;
      gap: 0;
      background: linear-gradient(145deg, #FFFFFF 0%, #EEF2FF 100%);
      border: 1px solid rgba(27, 79, 216, .10);
      border-radius: 26px;
      overflow: hidden;
      box-shadow: 0 30px 70px -30px rgba(27, 79, 216, .18);
    }

    .pdp-spec-hero {
      position: relative;
      padding: 48px 40px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      border-right: 1px solid rgba(27, 79, 216, .10);
      overflow: hidden;
    }

    .pdp-spec-hero::before {
      content: '';
      position: absolute;
      top: -30%;
      left: -20%;
      width: 260px;
      height: 260px;
      background: radial-gradient(circle, var(--pdp-accent, #FF6A00) 0%, transparent 70%);
      opacity: .16;
      pointer-events: none;
    }

    .pdp-spec-hero-label {
      font-size: 11px;
      font-weight: 800;
      letter-spacing: 1.6px;
      text-transform: uppercase;
      color: var(--pdp-accent, #FF6A00);
      margin-bottom: 14px;
    }

    .pdp-spec-hero-value {
      font-size: clamp(52px, 6.5vw, 84px);
      font-weight: 800;
      line-height: 1;
      color: #0F172A;
      letter-spacing: -1px;
      display: flex;
      align-items: baseline;
      gap: 6px;
    }

    .pdp-spec-hero-unit {
      font-size: clamp(20px, 2.4vw, 28px);
      font-weight: 700;
      color: var(--pdp-accent, #FF6A00);
    }

    .pdp-spec-hero-desc {
      font-size: 13.5px;
      color: #64748B;
      margin-top: 14px;
      max-width: 320px;
      line-height: 1.6;
    }

    .pdp-spec-list {
      display: grid;
      grid-template-columns: 1fr 1fr;
    }

    .pdp-spec-row {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 22px 26px;
      border-bottom: 1px solid rgba(27, 79, 216, .08);
      border-left: 1px solid rgba(27, 79, 216, .08);
      opacity: 0;
      transform: translateY(10px);
      transition: opacity .5s var(--ease), transform .5s var(--ease), background .25s ease;
    }

    .pdp-spec-row.pdp-in {
      opacity: 1;
      transform: translateY(0);
    }

    .pdp-spec-row:hover {
      background: rgba(27, 79, 216, .04);
    }

    .pdp-spec-row:nth-child(odd) {
      border-left: none;
    }

    .pdp-spec-row-icon {
      flex-shrink: 0;
      width: 34px;
      height: 34px;
      border-radius: 9px;
      background: rgba(27, 79, 216, .06);
      color: var(--pdp-accent, #FF6A00);
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background .3s ease, transform .3s ease;
    }

    .pdp-spec-row:hover .pdp-spec-row-icon {
      background: var(--pdp-accent, #FF6A00);
      color: #fff;
      transform: rotate(-6deg) scale(1.06);
    }

    .pdp-spec-row-icon svg { width: 16px; height: 16px; }

    .pdp-spec-row-label {
      font-size: 10px;
      font-weight: 800;
      letter-spacing: .7px;
      text-transform: uppercase;
      color: #64748B;
      margin-bottom: 2px;
    }

    .pdp-spec-row-value {
      font-size: 14.5px;
      font-weight: 700;
      color: #0F172A;
    }

    @media (max-width: 760px) {
      .pdp-spec-console {
        grid-template-columns: 1fr;
        border-radius: 22px;
      }
      .pdp-spec-hero {
        border-right: none;
        border-bottom: 1px solid rgba(27, 79, 216, .10);
        padding: 36px 26px;
      }
      .pdp-spec-list {
        grid-template-columns: 1fr;
      }
      .pdp-spec-row:nth-child(odd) {
        border-left: 1px solid rgba(27, 79, 216, .08);
      }
    }

    /* ══════════════════════════════════════════════════════════
       APPLICATIONS & USE CASES — horizontal scrolling card rail
       ══════════════════════════════════════════════════════════ */
    .pdp-scenes-rail-wrap {
      position: relative;
    }

    .pdp-scenes-rail {
      display: flex;
      gap: 20px;
      overflow-x: auto;
      overflow-y: hidden;
      scroll-snap-type: x proximity;
      scroll-behavior: smooth;
      padding: 4px 4px 8px;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
      -ms-overflow-style: none;
    }

    .pdp-scenes-rail::-webkit-scrollbar { height: 0; width: 0; display: none; }

    .pdp-scenes-nav {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 42px;
      height: 42px;
      border-radius: 50%;
      background: #FFFFFF;
      border: 1px solid rgba(27, 79, 216, .16);
      color: #0F172A;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      box-shadow: 0 10px 26px -8px rgba(27, 79, 216, .28);
      transition: background .25s ease, color .25s ease, transform .25s ease;
      z-index: 4;
    }

    .pdp-scenes-nav svg { width: 18px; height: 18px; }
    .pdp-scenes-nav:hover { background: var(--pdp-accent, #FF6A00); color: #fff; transform: translateY(-50%) scale(1.06); }
    .pdp-scenes-nav-prev { left: -14px; }
    .pdp-scenes-nav-next { right: -14px; }

    @media (max-width: 760px) {
      .pdp-scenes-nav { display: none; }
    }

    .pdp-scene-card {
      position: relative;
      flex: 0 0 260px;
      scroll-snap-align: start;
      padding: 32px 24px;
      border-radius: 20px;
      background: linear-gradient(160deg, #FFFFFF 0%, #F5F8FF 100%);
      border: 1px solid rgba(27, 79, 216, .10);
      overflow: hidden;
      opacity: 0;
      transform: translateY(22px) scale(.97);
      transition: opacity .6s var(--ease), transform .6s var(--ease), border-color .3s ease, background .3s ease, box-shadow .3s ease;
      cursor: default;
      box-shadow: 0 4px 18px rgba(27, 79, 216, .06);
    }

    .pdp-scene-card.pdp-in {
      opacity: 1;
      transform: translateY(0) scale(1);
    }

    .pdp-scene-card:hover {
      border-color: color-mix(in srgb, var(--pdp-accent, #FF6A00) 45%, transparent);
      background: linear-gradient(160deg, #FFFFFF 0%, #EEF2FF 100%);
      transform: translateY(-6px) scale(1.01);
      box-shadow: 0 16px 34px -10px rgba(27, 79, 216, .18);
    }

    .pdp-scene-glow {
      position: absolute;
      top: -40%;
      right: -30%;
      width: 180px;
      height: 180px;
      background: radial-gradient(circle, var(--pdp-accent, #FF6A00) 0%, transparent 72%);
      opacity: 0;
      transition: opacity .4s ease;
      pointer-events: none;
    }

    .pdp-scene-card:hover .pdp-scene-glow {
      opacity: .18;
    }

    .pdp-scene-icon {
      position: relative;
      width: 52px;
      height: 52px;
      border-radius: 14px;
      background: rgba(27, 79, 216, .06);
      color: var(--pdp-accent, #FF6A00);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 20px;
      transition: background .3s var(--ease), transform .4s var(--ease-spring, var(--ease));
    }

    .pdp-scene-card:hover .pdp-scene-icon {
      background: var(--pdp-accent, #FF6A00);
      color: #fff;
      transform: scale(1.1) rotate(-4deg);
    }

    .pdp-scene-icon svg { width: 26px; height: 26px; }

    .pdp-scene-index {
      position: absolute;
      top: 24px;
      right: 22px;
      font-size: 34px;
      font-weight: 800;
      color: rgba(27, 79, 216, .08);
      line-height: 1;
      transition: color .3s ease;
    }

    .pdp-scene-card:hover .pdp-scene-index {
      color: rgba(27, 79, 216, .16);
    }

    .pdp-scene-title {
      position: relative;
      font-size: 15.5px;
      font-weight: 700;
      color: #0F172A;
      line-height: 1.4;
      letter-spacing: -.1px;
    }

    .pdp-scene-arrow {
      position: relative;
      display: inline-flex;
      align-items: center;
      gap: 4px;
      margin-top: 14px;
      font-size: 12px;
      font-weight: 700;
      color: var(--pdp-accent, #FF6A00);
      opacity: 0;
      transform: translateX(-6px);
      transition: opacity .3s ease, transform .3s ease;
    }

    .pdp-scene-card:hover .pdp-scene-arrow {
      opacity: 1;
      transform: translateX(0);
    }

    .pdp-scene-arrow svg { width: 13px; height: 13px; }

    @media (max-width: 560px) {
      .pdp-scenes-rail {
        gap: 14px;
      }
      .pdp-scene-card {
        flex-basis: 220px;
        padding: 22px 16px;
      }
      .pdp-scene-icon {
        width: 44px;
        height: 44px;
        margin-bottom: 14px;
      }
    }

    /* Bottom CTA band */
    .pdp-bottom-cta {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 24px;
      padding: 56px 6vw 80px;
      border-top: 1px solid rgba(27, 79, 216, .10);
    }

    .pdp-bottom-cta-text h3 {
      font-size: 22px;
      font-weight: 800;
      margin-bottom: 8px;
      color: #0F172A;
    }

    .pdp-bottom-cta-text p {
      font-size: 14px;
      color: #64748B;
    }

    .pdp-bottom-cta-btns {
      display: flex;
      gap: 14px;
      flex-wrap: wrap;
    }

    /* tablet / mobile: name + headline, then the robot, then copy + CTAs,
       so the first screen always shows both the product and its name */
    @media (max-width: 900px) {
      .pdp-hero {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        grid-template-areas: "head" "media" "body";
        min-height: 0;
        padding: 104px 24px 48px;
        row-gap: 12px;
      }
      .pdp-head { align-self: start; }
      .pdp-media { height: clamp(280px, 46vh, 460px); min-height: 0; }
      .pdp-hero::before {
        -webkit-mask-image: radial-gradient(ellipse 80% 45% at 50% 50%, #000 0%, transparent 85%);
        mask-image: radial-gradient(ellipse 80% 45% at 50% 50%, #000 0%, transparent 85%);
      }
      .pdp-spec-chip { min-width: 0; padding: 8px 12px; border-radius: 12px; }
      .pdp-spec-chip span { font-size: 10px; }
      .pdp-spec-chip strong { font-size: 16px; }
      .pdp-spec-chip--a { left: 0; top: 10%; }
      .pdp-spec-chip--b { right: 0; bottom: 20%; }
      .pdp-bg-glow { top: 42%; right: 50%; translate: 50% -50%; width: 120vw; }
      .pdp-desc { margin-top: 4px; }
      .pdp-section { padding: 50px 24px; }
      .pdp-bottom-cta { padding: 40px 24px 60px; }
    }

    @media (max-width: 480px) {
      .pdp-hero { padding: 96px 18px 40px; }
      .pdp-crumb { margin-bottom: 14px; }
      .pdp-badge { margin-bottom: 12px; }
      .pdp-title { font-size: 34px; letter-spacing: -1px; }
      .pdp-title-sub { font-size: 18px; margin-top: 8px; }
      .pdp-media { height: clamp(230px, 36vh, 320px); }
      .pdp-desc { font-size: 15px; }
      .pdp-ctas { margin-top: 22px; }
      .pdp-section { padding: 40px 16px; }
      .pdp-section-head { margin-bottom: 28px; }
      .pdp-ctas { gap: 10px; }
      .pdp-cta-primary,
      .pdp-cta-secondary {
        padding: 12px 20px;
        font-size: 13.5px;
        flex: 1 1 auto;
        justify-content: center;
      }
      .pdp-bottom-cta {
        padding: 32px 16px 48px;
        flex-direction: column;
        align-items: flex-start;
      }
      .pdp-bottom-cta-btns { width: 100%; }
      .pdp-bottom-cta-btns a { flex: 1 1 auto; text-align: center; }
      .pdp-spec-hero { padding: 32px 22px; }
      .pdp-scenes-rail { gap: 12px; }
      .pdp-scene-card { padding: 20px 14px; }
    }

    @media (prefers-reduced-motion: reduce) {
      .pdp-robot img, .pdp-floor, .pdp-rings ellipse, .pdp-spec-chip,
      .pdp-badge, .pdp-title, .pdp-desc, .pdp-ctas {
        animation: none !important;
        opacity: 1 !important;
      }
      .pdp-robot, .pdp-stage {
        transition: none !important;
      }
    }



    /* ── COOKIE BANNER ── */
    .cookie-banner {
      position: fixed;
      bottom: 24px;
      left: 50%;
      transform: translateX(-50%) translateY(120px);
      z-index: 9000;
      background: #fff;
      border: 1.5px solid #C7D2FE;
      border-radius: 18px;
      box-shadow: 0 16px 56px rgba(10, 22, 40, .14), 0 2px 8px rgba(27, 79, 216, .08);
      padding: 20px 24px;
      max-width: 680px;
      width: calc(100% - 40px);
      display: flex;
      align-items: center;
      gap: 20px;
      flex-wrap: wrap;
      opacity: 0;
      transition: transform .45s cubic-bezier(.16, 1, .3, 1), opacity .45s ease;
      pointer-events: none;
    }

    .cookie-banner.show {
      transform: translateX(-50%) translateY(0);
      opacity: 1;
      pointer-events: all;
    }

    .cookie-icon {
      width: 40px;
      height: 40px;
      min-width: 40px;
      background: var(--blue-pale);
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      border: 1.5px solid var(--blue-border);
    }

    .cookie-icon svg {
      width: 20px;
      height: 20px;
    }

    .cookie-text {
      flex: 1;
      min-width: 200px;
    }

    .cookie-text p {
      font-size: 13px;
      color: #475569;
      line-height: 1.65;
      margin: 0;
    }

    .cookie-text a {
      color: var(--blue);
      font-weight: 600;
      text-decoration: none;
    }

    .cookie-text a:hover {
      text-decoration: underline;
    }

    .cookie-btns {
      display: flex;
      gap: 8px;
      flex-shrink: 0;
    }

    .cookie-accept {
      padding: 9px 22px;
      background: linear-gradient(135deg, var(--blue), #3B82F6);
      color: #fff;
      border: none;
      border-radius: 50px;
      font-size: 13px;
      font-weight: 700;
      cursor: pointer;
      font-family: inherit;
      transition: all .22s ease;
      box-shadow: 0 4px 12px rgba(27, 79, 216, .28);
    }

    .cookie-accept:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(27, 79, 216, .38);
    }

    .cookie-decline {
      padding: 9px 18px;
      background: transparent;
      color: #94A3B8;
      border: 1.5px solid #E2E8F0;
      border-radius: 50px;
      font-size: 13px;
      font-weight: 600;
      cursor: pointer;
      font-family: inherit;
      transition: all .22s ease;
    }

    .cookie-decline:hover {
      border-color: #CBD5E1;
      color: #64748B;
    }

    @media(max-width:600px) {
      .cookie-banner {
        bottom: 16px;
        padding: 16px 18px;
        gap: 14px;
      }

      .cookie-btns {
        width: 100%;
        justify-content: flex-end;
      }
    }

    /* ═════════════════════════════════════════════════════
   V6 ADDITIONS — Hero dismiss/restore + Industry tabs
                + Industry-grouped mega menu w/ icons
   ═════════════════════════════════════════════════════ */

    /* ── Simple flat products dropdown (all robots, no categories) ── */
    .mega-menu.mega-products {
      position: absolute;
      left: 0;
      right: auto;
      top: calc(100% + 14px);
      width: 340px;
      max-width: calc(100vw - 32px);
      padding: 10px;
      background: #fff;
      border: 1px solid #E8EEFF;
      border-radius: 16px;
      box-shadow: 0 24px 60px rgba(10, 22, 40, .18), 0 2px 6px rgba(10, 22, 40, .06);
    }

    /* Invisible bridge so hover doesn't drop when crossing the gap below the trigger */
    .mega-menu.mega-products::before {
      content: '';
      position: absolute;
      left: 0;
      right: 0;
      top: -12px;
      height: 12px;
    }

    .mega-products-list {
      display: flex;
      flex-direction: column;
      gap: 2px;
    }

    .product-link {
      display: flex;
      align-items: center;
      gap: 12px;
      text-align: left;
      padding: 10px 12px;
      background: transparent;
      border: 1px solid transparent;
      border-radius: 11px;
      cursor: pointer;
      text-decoration: none;
      transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
    }

    .product-link:hover {
      background: var(--blue-pale);
      border-color: var(--blue-border);
      transform: translateX(2px);
    }

    .product-link:focus-visible {
      outline: 2px solid var(--blue);
      outline-offset: 2px;
    }

    .product-link-icon {
      width: 36px;
      height: 36px;
      border-radius: 9px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      background: var(--blue-pale);
      color: var(--blue);
      border: 1px solid var(--blue-border);
      transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
    }

    .product-link:hover .product-link-icon {
      background: var(--blue);
      color: #fff;
      border-color: var(--blue);
      transform: scale(1.06);
    }

    .product-link-icon svg {
      width: 18px;
      height: 18px;
      display: block;
    }

    .product-link-text {
      display: flex;
      flex-direction: column;
      gap: 1px;
      min-width: 0;
      flex: 1;
    }

    .product-link-name {
      font-size: 13.5px;
      font-weight: 700;
      color: var(--text);
      letter-spacing: -.1px;
      line-height: 1.25;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .product-link-badge {
      font-size: 11px;
      font-weight: 500;
      color: var(--muted);
      letter-spacing: .1px;
      line-height: 1.3;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .product-link-arrow {
      width: 15px;
      height: 15px;
      flex-shrink: 0;
      color: #C7D2E8;
      opacity: 0;
      transform: translateX(-4px);
      transition: opacity .2s var(--ease), transform .2s var(--ease), color .2s var(--ease);
    }

    .product-link:hover .product-link-arrow {
      opacity: 1;
      transform: translateX(0);
      color: var(--blue);
    }

    /* ── Products dropdown: a 2-column grid of real robot thumbnails
       (assets/nav/*.png, 112px renders of each product image) ── */
    .mega-menu.mega-products:not(.mega-resources) { width: 452px; }

    .mega-products:not(.mega-resources) .mega-products-list {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 4px;
    }

    .mega-products:not(.mega-resources) .product-link { padding: 8px 10px 8px 8px; }
    .mega-products:not(.mega-resources) .product-link-arrow { display: none; }

    .product-link-icon--robot {
      width: 56px;
      height: 56px;
      border-radius: 12px;
      background: linear-gradient(160deg, #F4F7FF 0%, #E6ECFB 100%);
      border-color: #E3EAFB;
      overflow: hidden;
    }

    .product-link-icon--robot img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: contain;
      transition: transform .3s var(--ease);
    }

    /* keep the robot tile light on hover; the robot itself lifts */
    .product-link:hover .product-link-icon--robot {
      background: linear-gradient(160deg, #FFFFFF 0%, #DCE5FB 100%);
      border-color: var(--blue-border);
      transform: none;
    }

    .product-link:hover .product-link-icon--robot img { transform: scale(1.08) translateY(-1px); }

    .mega-products:not(.mega-resources) .product-link-name { font-size: 14px; }

    @media(max-width:760px) {
      .mega-menu.mega-products {
        width: calc(100vw - 32px);
        left: 0;
        right: auto;
      }
    }




    /* ── Mega menu: click-open state (mobile) ── */
    .mega-menu.mega-products.is-open {
      opacity: 1 !important;
      visibility: visible !important;
      transform: translateY(0) !important;
      pointer-events: auto !important;
    }

    /* ═════════════════════════════════════════════════════
   V6 MOBILE / TABLET POLISH
   ═════════════════════════════════════════════════════ */

    /* ── Mega menu: full-width tray on mobile ── */
    @media(max-width:760px) {
      .mega-menu.mega-products {
        position: fixed;
        left: 16px;
        right: 16px;
        top: 74px;
        width: auto;
        max-width: none;
        padding: 10px;
        border-radius: 14px;
        max-height: calc(100vh - 90px);
        overflow-y: auto;
      }

      .product-link {
        padding: 12px 12px;
      }

      /* On hover-less devices, fall back to tap. The CSS :hover behavior still
     opens the menu when the trigger is tapped because mobile browsers
     emulate :hover on first tap; the in-menu links navigate as expected. */
    }


    /* ── Products section spacing on mobile ── */
    @media(max-width:768px) {
      .robots-section {
        padding-left: 0;
        padding-right: 0;
      }

    }

    /* ── Section header: tighten on mobile ── */
    @media(max-width:768px) {
      .section-header {
        padding: 48px 16px 24px;
      }

      .section-header h2 {
        font-size: 26px !important;
        line-height: 1.15;
      }

      .section-header p {
        font-size: 14px;
      }

      .section-tag {
        font-size: 10px;
        padding: 5px 12px;
      }
    }

    /* ── Header on mobile: ensure dropdown panel doesn't get clipped behind it ── */
    @media(max-width:768px) {
      header {
        padding: 0 14px 0 20px;
        width: calc(100% - 24px);
        top: 12px;
        border-radius: 26px;
      }

      header.scrolled {
        border-radius: 26px;
      }

      .nav-toggle {
        display: flex;
      }

      nav {
        position: fixed;
        top: 76px;
        right: 12px;
        left: 12px;
        /* solid: it sits inside the header's backdrop blur, where a
           second blur has nothing to blur */
        background: var(--navy);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: 1px solid rgba(255, 255, 255, .12);
        border-radius: 22px;
        box-shadow: 0 20px 48px rgba(5, 12, 30, .32);
        padding: 10px;
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;
        transition: opacity .28s var(--ease), transform .28s var(--ease);
        max-height: calc(100vh - 100px);
        overflow-y: auto;
      }

      nav.open {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
      }

      nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
      }

      nav ul li {
        width: 100%;
      }

      nav a {
        display: block;
        color: #fff;
        padding: 12px 14px;
      }

      .nav-cta {
        padding: 8px 14px !important;
        font-size: 12.5px;
        margin-left: 0;
        text-align: center;
      }
    }

    /* ── Prevent horizontal scroll on phone widths ── */
    @media(max-width:768px) {

      html,
      body {
        overflow-x: hidden;
      }
    }

    /* ── Contact form responsive ── */
    @media(max-width:640px) {
      .form-grid-2 {
        grid-template-columns: 1fr;
        gap: 0;
      }

      .phone-country-select {
        width: 96px;
        font-size: 12px;
      }
    }

    /* ═══════════════════════════════════════════════════════════
       GLASSMORPHISM ENHANCEMENT LAYER
       Premium glass accents applied selectively to floating UI,
       overlays, badges and cards that sit over imagery/dark bg.
       Shared tokens + reusable utility classes, reused wherever
       possible to keep the CSS lean.
       ═══════════════════════════════════════════════════════════ */
    :root {
      --glass-bg-light: rgba(255, 255, 255, .58);
      --glass-bg-light-strong: rgba(255, 255, 255, .74);
      --glass-bg-dark: rgba(10, 22, 40, .46);
      --glass-bg-dark-strong: rgba(10, 22, 40, .62);
      --glass-border-light: rgba(255, 255, 255, .55);
      --glass-border-tint: rgba(27, 79, 216, .18);
      --glass-border-dark: rgba(147, 197, 253, .16);
      --glass-blur: blur(16px) saturate(1.4);
      --glass-blur-sm: blur(10px) saturate(1.3);
      --glass-shadow: 0 8px 28px rgba(10, 22, 40, .10), 0 1px 0 rgba(255, 255, 255, .5) inset;
      --glass-shadow-dark: 0 12px 36px rgba(2, 6, 18, .38), 0 1px 0 rgba(255, 255, 255, .06) inset;
    }
    /* ── Blog tag: badge floating over article image ── */
    .blog-tag {
      background: rgba(27, 79, 216, .5);
      backdrop-filter: var(--glass-blur-sm);
      -webkit-backdrop-filter: var(--glass-blur-sm);
      border: 1px solid rgba(255, 255, 255, .28);
      box-shadow: 0 4px 14px rgba(10, 22, 40, .22);
    }

    /* ── Event date badge: upgrade weak blur to real glass ── */
    .event-card-date-badge {
      background: var(--glass-bg-dark-strong);
      backdrop-filter: var(--glass-blur-sm);
      -webkit-backdrop-filter: var(--glass-blur-sm);
      border: 1px solid rgba(255, 255, 255, .16);
      box-shadow: 0 4px 14px rgba(10, 22, 40, .28);
    }

    /* ── Gallery filter pills: floating filter controls over the page ── */
    .gallery-filter-pill {
      background: var(--glass-bg-light);
      backdrop-filter: var(--glass-blur-sm);
      -webkit-backdrop-filter: var(--glass-blur-sm);
      border: 1.5px solid rgba(27, 79, 216, .14);
      box-shadow: 0 4px 16px rgba(27, 79, 216, .06);
      transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .2s var(--ease), box-shadow .25s var(--ease);
    }

    .gallery-filter-pill:hover {
      background: var(--glass-bg-light-strong);
      box-shadow: 0 8px 22px rgba(27, 79, 216, .12);
    }

    .gallery-filter-pill.active {
      background: linear-gradient(135deg, rgba(27, 79, 216, .88), rgba(59, 130, 246, .88));
      backdrop-filter: var(--glass-blur-sm);
      -webkit-backdrop-filter: var(--glass-blur-sm);
      border-color: rgba(255, 255, 255, .3);
    }

    /* ── Mega/product dropdown panels: solid, so the page behind never
       competes with the menu text. (They sit inside the header's own
       backdrop blur, where a second blur has nothing to blur.) ── */
    .mega-menu {
      background: #fff;
      backdrop-filter: none;
      -webkit-backdrop-filter: none;
      border-bottom: 1.5px solid var(--glass-border-tint);
    }

    .mega-menu.mega-products {
      background: #fff;
      backdrop-filter: none;
      -webkit-backdrop-filter: none;
      border: 1px solid rgba(27, 79, 216, .12);
      box-shadow: 0 24px 60px rgba(13, 34, 85, .18), 0 4px 12px rgba(13, 34, 85, .06), 0 1px 0 #fff inset;
    }
    .product-link {
      transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
    }

    .product-link:hover {
      background: var(--blue-pale);
      box-shadow: 0 4px 14px rgba(27, 79, 216, .08);
    }

    /* ── Robot info panel + spec hero: subtle glass tint over gradients ── */
    .pdp-spec-hero {
      background: rgba(255, 255, 255, .35);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
    }
    /* ── Footer contact items: subtle glass chips for icon rows ── */
    .footer-contact-item {
      padding: 8px 10px;
      border-radius: 10px;
      transition: background .25s var(--ease);
    }

    .footer-contact-item:hover {
      background: rgba(255, 255, 255, .05);
      backdrop-filter: blur(6px);
      -webkit-backdrop-filter: blur(6px);
    }
    /* Performance & mobile guard: reduce blur cost on small screens */
    @media (max-width: 640px) {
      .mega-menu,
      .mega-menu.mega-products,
      .gallery-filter-pill,
      .blog-tag,
      .event-card-date-badge {
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
      }
    }

    /* Fallback for browsers without backdrop-filter support */
    @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
      .mega-menu,
      .mega-menu.mega-products,
      .gallery-filter-pill,
      .blog-tag,
      .event-card-date-badge,
      .pdp-spec-hero {
        background: rgba(255, 255, 255, .92);
      }
      .mega-menu,
      .mega-menu.mega-products {
        background: #fff;
      }
    }


    /* ═══════════════════════════════════════════════════════════
       V7 — Resources dropdown, mobile nav accordions,
            Contact page, Newsroom page
       ═══════════════════════════════════════════════════════════ */

    /* ── Tablet widths: keep the full desktop nav on one line ── */
    @media (min-width: 769px) and (max-width: 1080px) {
      nav ul { gap: 2px; }
      nav a { padding: 9px 11px; font-size: 13px; }
      .nav-cta {
        white-space: nowrap;
        padding: 10px 18px !important;
        margin-left: 4px;
      }
      .logo img { height: 32px; }
    }

    /* ── Resources dropdown: compact, centred under its trigger ── */
    .mega-menu.mega-products.mega-resources {
      width: 300px;
      left: 50%;
      margin-left: -150px;
    }

    /* ── Mobile menu: dropdowns open inline as accordions ── */
    @media (max-width: 768px) {
      nav .nav-dropdown-trigger {
        display: flex;
        justify-content: space-between;
      }

      nav .mega-menu.mega-products,
      nav .mega-menu.mega-products.mega-resources {
        display: none;
        position: static;
        width: auto;
        max-width: none;
        max-height: none;
        margin: 2px 0 6px;
        padding: 4px;
        overflow: visible;
        border: 0;
        border-radius: 14px;
        background: rgba(255, 255, 255, .08);
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
      }

      nav .mega-menu.mega-products::before {
        content: none;
      }

      nav .mega-menu.mega-products.is-open {
        display: block;
        animation: nav-accordion .28s var(--ease);
      }

      nav .product-link {
        padding: 10px;
      }

      nav .product-link:hover {
        background: rgba(255, 255, 255, .08);
        border-color: transparent;
        box-shadow: none;
      }

      nav .product-link-name {
        color: #fff;
      }

      nav .product-link-badge {
        color: rgba(255, 255, 255, .6);
      }

      nav .product-link-icon {
        background: rgba(255, 255, 255, .08);
        border-color: rgba(255, 255, 255, .14);
        color: #9FC4F5;
      }

      /* dark robots need a light tile on the navy phone menu */
      nav .product-link-icon--robot {
        width: 48px;
        height: 48px;
        background: linear-gradient(160deg, #F4F7FF 0%, #DCE5FB 100%);
        border-color: transparent;
      }

      nav .mega-products:not(.mega-resources) .mega-products-list { grid-template-columns: 1fr; }
      nav .mega-menu.mega-products:not(.mega-resources) { width: auto; }

      /* the phone menu panel stays navy, so its links stay light even
         after the header bar turns white on scroll */
      header.scrolled nav a { color: #fff; }
      header.scrolled nav a:hover,
      header.scrolled nav a.active {
        color: #fff;
        background: rgba(255, 255, 255, .1);
      }

      nav .nav-item-cta {
        margin-top: 6px;
      }

      nav .nav-cta {
        padding: 12px 14px !important;
        font-size: 14px;
      }
    }

    @keyframes nav-accordion {
      from { opacity: 0; transform: translateY(-4px); }
      to { opacity: 1; transform: none; }
    }

    /* ── Standalone page titles are h1s; match the events hero title ── */
    .events-page h1.events-hero-title {
      color: #fff;
    }

    /* ── CONTACT PAGE ──
       One split card in the first screen: a navy info panel (title, what
       happens next, direct lines, offices, a real BQ-Aero) beside a white
       form panel. Radius rule: card 28px, fields 12px, chips and buttons pill. */
    .ct {
      background:
        radial-gradient(60% 50% at 85% 0%, #FFFFFF 0%, rgba(255, 255, 255, 0) 70%),
        var(--bg);
    }

    .ct-wrap {
      max-width: 1240px;
      margin: 0 auto;
      padding: clamp(104px, 10vw, 120px) 5% clamp(64px, 8vw, 104px);
    }

    .ct .ct-crumb { margin-bottom: 18px; color: var(--muted); }
    .ct .ct-crumb a { color: var(--text); }

    .ct-card {
      display: grid;
      grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
      border-radius: 28px;
      background: #fff;
      border: 1px solid #E3EAFB;
      box-shadow: 0 2px 8px rgba(13, 34, 85, .05), 0 32px 72px rgba(13, 34, 85, .12);
      overflow: hidden;
      animation: ev2-rise .6s cubic-bezier(.16, 1, .3, 1) both;
    }

    /* ── navy info panel ── */
    .ct-info {
      position: relative;
      isolation: isolate;
      overflow: hidden;
      padding: clamp(32px, 3.6vw, 48px) clamp(28px, 3.4vw, 48px) clamp(32px, 3.6vw, 44px);
      color: #fff;
      background:
        radial-gradient(70% 55% at 100% 100%, rgba(10, 196, 214, .18), rgba(10, 196, 214, 0) 70%),
        radial-gradient(60% 50% at 0% 0%, rgba(59, 130, 246, .28), rgba(59, 130, 246, 0) 70%),
        linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
    }

    /* faint floor grid, the same language as the How It Works panel */
    .ct-info::before {
      content: "";
      position: absolute;
      inset: 0;
      z-index: -1;
      background-image: radial-gradient(circle, rgba(255, 255, 255, .07) 1px, transparent 1px);
      background-size: 24px 24px;
      mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, .2));
      -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, .2));
      pointer-events: none;
    }

    .ct-title {
      margin: 0 0 14px;
      font-size: clamp(30px, 3.2vw, 44px);
      font-weight: 800;
      line-height: 1.08;
      letter-spacing: -1.2px;
      color: #fff;
      text-wrap: balance;
    }

    .ct-title span { color: var(--brand-cyan); }

    .ct-sub {
      max-width: 40ch;
      margin: 0 0 30px;
      font-size: 15.5px;
      line-height: 1.6;
      color: rgba(255, 255, 255, .78);
    }

    .ct-info-head {
      margin: 0 0 16px;
      font-size: 15px;
      font-weight: 700;
      color: #fff;
    }

    .ct-steps {
      list-style: none;
      counter-reset: ct-step;
      display: grid;
      margin: 0 0 28px;
      padding: 0;
    }

    .ct-steps li {
      counter-increment: ct-step;
      position: relative;
      display: grid;
      gap: 2px;
      padding: 0 0 18px 48px;
    }

    .ct-steps li::before {
      content: counter(ct-step);
      position: absolute;
      left: 0;
      top: -3px;
      width: 32px;
      height: 32px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      background: rgba(255, 255, 255, .08);
      border: 1px solid rgba(255, 255, 255, .22);
      color: #fff;
      font-size: 13px;
      font-weight: 700;
      font-variant-numeric: tabular-nums;
    }

    .ct-steps li:first-child::before {
      background: var(--brand-cyan);
      border-color: var(--brand-cyan);
      color: var(--navy);
    }

    /* dashed route between steps, echoing How It Works */
    .ct-steps li:not(:last-child)::after {
      content: "";
      position: absolute;
      left: 15px;
      top: 33px;
      bottom: 2px;
      width: 2px;
      background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .28) 0 5px, transparent 5px 10px);
    }

    .ct-steps b { font-size: 15px; font-weight: 700; color: #fff; }
    .ct-steps span { font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, .7); }

    .ct-direct {
      display: grid;
      gap: 10px;
      padding-top: 22px;
      border-top: 1px solid rgba(255, 255, 255, .12);
    }

    .ct-direct a {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      width: fit-content;
      font-size: 16px;
      font-weight: 700;
      color: #fff;
      text-decoration: none;
      transition: color .2s var(--ease);
    }

    .ct-direct a:hover { color: var(--brand-cyan); }

    .ct-direct svg {
      width: 18px;
      height: 18px;
      flex-shrink: 0;
      color: var(--brand-cyan);
    }

    .ct-offices {
      display: flex;
      align-items: center;
      gap: 12px;
      margin: 14px 0 0;
      font-size: 13.5px;
      color: rgba(255, 255, 255, .66);
    }

    .ct-offices svg { width: 18px; height: 18px; flex-shrink: 0; color: rgba(255, 255, 255, .5); }

    /* the real robot, parked in the corner of the panel */
    .ct-bot {
      position: absolute;
      z-index: -1;
      right: clamp(-6px, 1vw, 18px);
      bottom: -34px;
      width: auto;
      height: clamp(170px, 17vw, 236px);
      opacity: .95;
      filter: drop-shadow(0 18px 30px rgba(2, 8, 24, .45));
      pointer-events: none;
    }

    /* ── form panel ── */
    .ct .ct-form {
      margin: 0;
      padding: clamp(32px, 3.6vw, 48px);
      border: 0;
      border-radius: 0;
      box-shadow: none;
      background: #fff;
    }

    .ct .ct-form h2 {
      margin: 0 0 4px;
      font-size: 24px;
      font-weight: 800;
      letter-spacing: -.4px;
      color: var(--navy);
    }

    .ct .contact-card-sub { margin: 0 0 24px; font-size: 13.5px; color: var(--muted); }

    .ct-topics {
      margin: 0 0 22px;
      padding: 0;
      border: 0;
    }

    .ct-topics legend,
    .ct .form-group label {
      display: block;
      margin-bottom: 8px;
      padding: 0;
      font-size: 13.5px;
      font-weight: 600;
      letter-spacing: 0;
      text-transform: none;
      color: var(--text);
    }

    .ct-topic-list {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .ct-topic { position: relative; cursor: pointer; }

    .ct-topic input {
      position: absolute;
      opacity: 0;
      width: 1px;
      height: 1px;
    }

    .ct-topic span {
      display: inline-flex;
      align-items: center;
      height: 38px;
      padding: 0 16px;
      border: 1px solid #D6DEF2;
      border-radius: 999px;
      background: #fff;
      font-size: 13.5px;
      font-weight: 600;
      color: var(--text);
      transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
    }

    .ct-topic:hover span { border-color: var(--blue-border); background: var(--blue-pale); }

    .ct-topic input:checked + span {
      background: var(--navy);
      border-color: var(--navy);
      color: #fff;
    }

    .ct-topic input:focus-visible + span {
      outline: 2px solid var(--blue);
      outline-offset: 2px;
    }

    .ct .form-grid-2 { gap: 0 16px; }
    .ct .form-group { margin-bottom: 18px; }

    .ct .form-group input,
    .ct .form-group textarea,
    .ct .phone-country-select {
      padding-top: 13px;
      padding-bottom: 13px;
      background-color: #fff;
      border: 1px solid #D6DEF2;
      border-radius: 12px;
      font-size: 14.5px;
      color: var(--text);
    }

    .ct .form-group input::placeholder,
    .ct .form-group textarea::placeholder { color: #66738C; }

    .ct .form-group input:hover,
    .ct .form-group textarea:hover,
    .ct .phone-country-select:hover { border-color: #B9C6E6; }

    .ct .form-group input:focus,
    .ct .form-group textarea:focus,
    .ct .phone-country-select:focus {
      border-color: var(--blue);
      box-shadow: 0 0 0 4px rgba(27, 79, 216, .1);
    }

    /* keep the validation states visible over the base field style above */
    .ct .form-group.has-error input,
    .ct .form-group.has-error textarea,
    .ct .form-group.has-error .phone-country-select {
      border-color: #DC2626;
      box-shadow: 0 0 0 3px rgba(220, 38, 38, .1);
    }

    .ct .form-group.is-valid input,
    .ct .form-group.is-valid textarea,
    .ct .form-group.is-valid .phone-country-select {
      border-color: #22C55E;
      box-shadow: 0 0 0 3px rgba(34, 197, 94, .08);
    }

    .ct .form-group textarea { min-height: 120px; }
    .ct .form-group .field-error { font-size: 12.5px; color: #C81E1E; }
    .ct .form-actions { margin-top: 4px; }

    .ct .btn-submit {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      height: 52px;
      padding: 0 24px;
      border-radius: 999px;
      background: var(--navy);
      font-size: 15px;
      box-shadow: 0 12px 26px rgba(10, 22, 40, .2);
      transition: background .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
    }

    /* arrow lives in CSS: the label text is swapped while sending */
    .ct .btn-submit::after {
      content: "";
      width: 16px;
      height: 16px;
      background: currentColor;
      -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
      mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
      transition: transform .3s var(--ease);
    }

    .ct .btn-submit:hover {
      background: var(--blue);
      transform: translateY(-2px);
      box-shadow: 0 16px 32px rgba(27, 79, 216, .28);
    }

    .ct .btn-submit:hover::after { transform: translateX(3px); }
    .ct .btn-submit:active { transform: translateY(0) scale(.99); }
    .ct .btn-submit:disabled { background: #5B6B8C; transform: none; box-shadow: none; }
    .ct .btn-submit:disabled::after { display: none; }
    .ct .btn-submit:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

    .contact-privacy {
      margin: 14px 0 0;
      font-size: 12.5px;
      color: #5B6780;
    }

    .contact-privacy a {
      color: var(--blue);
      font-weight: 600;
    }

    /* inline success state */
    .contact-success {
      text-align: center;
      padding: 12px 0 4px;
      animation: contact-success-in .5s cubic-bezier(.16, 1, .3, 1);
    }

    .contact-success:focus { outline: none; }

    .contact-success .success-meta {
      text-align: left;
      max-width: 420px;
      margin-left: auto;
      margin-right: auto;
    }

    .contact-success .success-note { margin-top: 18px; }

    .contact-success .success-note a {
      color: var(--blue);
      font-weight: 600;
    }

    .contact-success-actions {
      display: flex;
      gap: 10px;
      max-width: 420px;
      margin: 8px auto 0;
    }

    .contact-success-actions .btn-close-success,
    .contact-success-actions .btn-cancel {
      flex: 1;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      text-decoration: none;
    }

    @keyframes contact-success-in {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: none; }
    }

    @media (max-width: 960px) {
      .ct-card { grid-template-columns: 1fr; }
      .ct-bot { height: 150px; bottom: -24px; }
      /* keep the email, phone and offices lines clear of the robot */
      .ct-direct,
      .ct-offices { padding-right: 110px; }
    }

    @media (max-width: 560px) {
      .ct-wrap { padding-left: 16px; padding-right: 16px; }
      .ct-card { border-radius: 22px; }
      .ct .form-grid-2 { grid-template-columns: 1fr; }
      .ct-topic span { height: 36px; padding: 0 14px; font-size: 13px; }
      .ct-bot { height: 128px; right: -10px; }
      .ct-direct,
      .ct-offices { padding-right: 84px; }
      .ct-direct a { font-size: 15px; }
      .contact-success-actions { flex-direction: column; }
    }

    @media (prefers-reduced-motion: reduce) {
      .ct-card, .contact-success { animation: none; }
      .ct .btn-submit, .ct .btn-submit::after { transition: none; }
    }

    /* ── NEWSROOM: In the press ──
       Newspaper clippings as cards: the clipping (cropped to its masthead
       and headline) opens full size in the lightbox; the Hindi headline is
       set in Noto Sans Devanagari with an English line beneath. */
    .news-press {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 24px;
    }

    .press-clip {
      display: flex;
      flex-direction: column;
      overflow: hidden;
      border: 1px solid #E3EAFB;
      border-radius: 20px;
      background: #fff;
      box-shadow: 0 2px 8px rgba(13, 34, 85, .04);
      transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
    }

    .press-clip:hover {
      transform: translateY(-4px);
      border-color: var(--blue-border);
      box-shadow: 0 20px 40px rgba(13, 34, 85, .1);
    }

    .press-clip-media {
      position: relative;
      display: block;
      overflow: hidden;
      aspect-ratio: 16 / 10;
      padding: 0;
      border: 0;
      background: #F1F3F7;
      cursor: zoom-in;
    }

    .press-clip-media img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: top center;
      transition: transform .8s cubic-bezier(.16, 1, .3, 1);
    }

    .press-clip:hover .press-clip-media img { transform: scale(1.03); }

    .press-clip-zoom {
      position: absolute;
      right: 14px;
      bottom: 14px;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      height: 36px;
      padding: 0 14px;
      border-radius: 999px;
      background: rgba(10, 22, 40, .86);
      font-size: 13px;
      font-weight: 600;
      color: #fff;
      box-shadow: 0 8px 20px rgba(10, 22, 40, .25);
      transition: background .25s var(--ease);
    }

    .press-clip-zoom i { font-size: 16px; }
    .press-clip:hover .press-clip-zoom { background: var(--blue); }

    .press-clip-media:focus-visible {
      outline: 2px solid var(--blue);
      outline-offset: -2px;
    }

    .press-clip-body {
      display: flex;
      flex-direction: column;
      gap: 8px;
      padding: 22px 24px 24px;
    }

    .press-clip-outlet {
      margin: 0;
      font-size: 13px;
      font-weight: 700;
      color: var(--blue);
    }

    .press-clip-hi {
      margin: 0;
      font-family: 'Noto Sans Devanagari', 'Plus Jakarta Sans', sans-serif;
      font-size: clamp(18px, 1.6vw, 21px);
      font-weight: 700;
      line-height: 1.5;
      color: var(--navy);
    }

    .press-clip-en {
      margin: 0;
      font-size: 15px;
      line-height: 1.55;
      color: var(--text);
    }

    .press-clip-note {
      margin: 2px 0 0;
      font-size: 14px;
      line-height: 1.6;
      color: var(--muted);
    }

    @media (max-width: 760px) {
      .news-press { grid-template-columns: 1fr; gap: 18px; }
      .press-clip-body { padding: 18px 18px 20px; }
    }

    @media (prefers-reduced-motion: reduce) {
      .press-clip, .press-clip-media img { transition: none; }
      .press-clip:hover { transform: none; }
      .press-clip:hover .press-clip-media img { transform: none; }
    }

    /* ── NEWSROOM PAGE ── */
    /* Hero: headline beside the real Patrika clippings, fanned like papers
       on a desk. Each paper has a newsprint edge and lifts straight on hover. */
    .nr-hero {
      overflow: hidden;
      padding: clamp(104px, 10vw, 124px) 0 clamp(24px, 3vw, 40px);
      background:
        radial-gradient(50% 70% at 78% 40%, rgba(27, 79, 216, .08), rgba(27, 79, 216, 0) 70%),
        radial-gradient(45% 60% at 15% 10%, #FFFFFF 0%, rgba(255, 255, 255, 0) 70%),
        var(--bg);
    }

    .nr-hero-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
      align-items: center;
      gap: clamp(32px, 5vw, 72px);
      max-width: 1240px;
      margin: 0 auto;
      padding: 0 5%;
    }

    .nr-hero-copy > * { animation: ev2-rise .6s cubic-bezier(.16, 1, .3, 1) both; }
    .nr-title { animation-delay: .05s !important; }
    .nr-sub { animation-delay: .1s !important; }
    .nr-hero-copy .bl-cta { animation-delay: .15s !important; }

    .nr-hero .events-crumb { color: var(--muted); }
    .nr-hero .events-crumb a { color: var(--text); }

    /* same scale as the other page titles */
    .nr-title {
      margin: 0 0 18px;
      font-size: clamp(36px, 4.6vw, 60px);
      font-weight: 800;
      line-height: 1.05;
      letter-spacing: -1.6px;
      color: var(--navy);
    }

    .nr-title span { color: var(--blue); }

    .nr-sub {
      max-width: 42ch;
      margin: 0 0 28px;
      font-size: 17px;
      line-height: 1.6;
      color: var(--muted);
    }

    .nr-stack {
      position: relative;
      aspect-ratio: 1.12;
      max-height: 520px;
      width: 100%;
    }

    .nr-paper {
      position: absolute;
      display: block;
      padding: 8px;
      border: 0;
      border-radius: 6px;
      background: #FCFCFA; /* newsprint edge */
      box-shadow: 0 2px 4px rgba(13, 34, 85, .08), 0 24px 48px rgba(13, 34, 85, .18);
      cursor: zoom-in;
      transition: transform .5s cubic-bezier(.16, 1, .3, 1), box-shadow .5s cubic-bezier(.16, 1, .3, 1);
    }

    .nr-paper img {
      display: block;
      width: 100%;
      height: auto;
      border-radius: 2px;
    }

    /* the full-page feature stands behind, tilted right */
    .nr-paper--back {
      top: 0;
      right: 2%;
      width: 50%;
      transform: rotate(4deg);
      animation: nr-drop-back .9s .1s cubic-bezier(.16, 1, .3, 1) both;
    }

    /* the Patrika Plus front page lies across it, tilted left */
    .nr-paper--front {
      left: 0;
      bottom: 4%;
      width: 72%;
      transform: rotate(-3deg);
      animation: nr-drop-front .9s .25s cubic-bezier(.16, 1, .3, 1) both;
    }

    .nr-paper:hover,
    .nr-paper:focus-visible {
      z-index: 2;
      transform: rotate(0deg) translateY(-8px) scale(1.02);
      box-shadow: 0 4px 8px rgba(13, 34, 85, .1), 0 36px 64px rgba(13, 34, 85, .24);
    }

    .nr-paper:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }

    @keyframes nr-drop-back {
      from { opacity: 0; transform: translateY(-24px) rotate(9deg); }
      to { opacity: 1; transform: rotate(4deg); }
    }

    @keyframes nr-drop-front {
      from { opacity: 0; transform: translateY(-24px) rotate(-8deg); }
      to { opacity: 1; transform: rotate(-3deg); }
    }

    /* the hero already gives the breathing room above this section */
    .events-page .nr-press-sec {
      padding-top: clamp(24px, 3vw, 40px);
      scroll-margin-top: 72px;
    }

    @media (max-width: 960px) {
      .nr-hero-grid { grid-template-columns: 1fr; }
      .nr-stack { max-width: 560px; margin: 8px auto 0; }
    }

    @media (max-width: 560px) {
      .nr-hero-grid { padding: 0 16px; }
      .nr-sub { font-size: 16px; }
      .nr-paper { padding: 5px; }
    }

    @media (prefers-reduced-motion: reduce) {
      .nr-hero-copy > *, .nr-paper--back, .nr-paper--front { animation: none !important; }
      .nr-paper { transition: none; }
    }

    .news-featured,
    .news-item {
      display: grid;
      color: inherit;
      text-decoration: none;
      background: #fff;
      border: 1px solid #E3EAFB;
      overflow: hidden;
      box-shadow: var(--shadow);
      transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
    }

    .news-featured:hover,
    .news-item:hover {
      transform: translateY(-4px);
      border-color: var(--blue-border);
      box-shadow: var(--shadow-hover);
    }

    .news-featured:focus-visible,
    .news-item:focus-visible {
      outline: 2px solid var(--blue);
      outline-offset: 3px;
    }

    .news-featured img,
    .news-item img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform .6s var(--ease);
    }

    .news-featured:hover img,
    .news-item:hover img {
      transform: scale(1.04);
    }

    .news-featured {
      grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
      border-radius: 24px;
      margin-bottom: 20px;
    }

    .news-featured-media {
      display: block;
      min-height: 320px;
      overflow: hidden;
    }

    .news-featured-body {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      padding: clamp(24px, 3.5vw, 44px);
    }

    .news-featured .news-tag {
      position: static;
      margin-bottom: 18px;
    }

    .news-featured h3 {
      font-size: clamp(22px, 2.3vw, 30px);
      font-weight: 800;
      line-height: 1.2;
      letter-spacing: -.6px;
      color: var(--text);
      margin: 0 0 14px;
    }

    .news-featured p,
    .news-item p {
      font-size: 14.5px;
      line-height: 1.7;
      color: var(--muted);
      margin: 0 0 18px;
    }

    .news-featured .blog-read,
    .news-item .blog-read {
      margin-top: auto;
    }

    .news-list {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 20px;
    }

    .news-item {
      grid-template-columns: 180px minmax(0, 1fr);
      border-radius: 20px;
    }

    .news-item-media {
      display: block;
      overflow: hidden;
      min-height: 100%;
    }

    .news-item-body {
      display: flex;
      flex-direction: column;
      padding: 20px 22px;
    }

    .news-item-type {
      font-size: 10.5px;
      font-weight: 700;
      letter-spacing: .8px;
      text-transform: uppercase;
      color: var(--blue);
      margin-bottom: 6px;
    }

    .news-item h3 {
      font-size: 16.5px;
      font-weight: 800;
      line-height: 1.35;
      letter-spacing: -.2px;
      color: var(--text);
      margin: 0 0 8px;
    }

    .news-item p {
      font-size: 13.5px;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    @media (max-width: 980px) {
      .news-featured {
        grid-template-columns: 1fr;
      }
      .news-featured-media {
        min-height: 0;
        aspect-ratio: 16 / 9;
      }
      .news-list {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 620px) {
      .news-item {
        grid-template-columns: 1fr;
      }
      .news-item-media {
        aspect-ratio: 16 / 9;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .news-featured,
      .news-item,
      .news-featured img,
      .news-item img,
      .contact-success,
      nav .mega-menu.mega-products.is-open {
        transition: none !important;
        animation: none !important;
        transform: none !important;
      }
    }

    /* ═══════════════════════════════════════════════════════════
       EVENTS PAGE v2
       Split hero with real booth photos, a next-event spotlight that
       overlaps the hero, a newest-first timeline, a photo bento and a
       compact closing banner. Markup in index_test.html (#eventsPage),
       spotlight + timeline rendered from EVENTS_DATA in script.js.
       ═══════════════════════════════════════════════════════════ */
    .ev2 {
      background: var(--bg);
    }

    /* ── buttons (one pill system for the page) ── */
    .ev2-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 14px 24px;
      border-radius: 999px;
      font-family: inherit;
      font-size: 14.5px;
      font-weight: 700;
      line-height: 1;
      white-space: nowrap;
      text-decoration: none;
      cursor: pointer;
      border: 1.5px solid transparent;
      transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
    }

    .ev2-btn i { font-size: 16px; }
    .ev2-btn:hover { transform: translateY(-2px); }
    .ev2-btn:active { transform: translateY(0) scale(.98); }
    .ev2-btn:focus-visible { outline: 2px solid var(--brand-cyan); outline-offset: 3px; }

    .ev2-btn--primary {
      background: linear-gradient(135deg, var(--blue), var(--blue-light));
      color: #fff;
      box-shadow: 0 8px 22px rgba(27, 79, 216, .32);
    }

    .ev2-btn--primary:hover { box-shadow: 0 14px 30px rgba(27, 79, 216, .42); }

    .ev2-btn--ghost {
      background: #fff;
      color: var(--navy-mid);
      border-color: var(--blue-border);
    }

    .ev2-btn--ghost:hover { border-color: var(--blue); color: var(--blue); }

    .ev2-btn--light {
      background: rgba(255, 255, 255, .08);
      color: #fff;
      border-color: rgba(255, 255, 255, .28);
    }

    .ev2-btn--light:hover { background: rgba(255, 255, 255, .14); }

    /* ── hero ── */
    .ev2-hero {
      position: relative;
      isolation: isolate;
      overflow: hidden;
      padding: 120px 0 156px;
      color: #fff;
      background:
        radial-gradient(55% 60% at 88% 18%, rgba(10, 196, 214, .18), transparent 70%),
        radial-gradient(50% 55% at 0% 100%, rgba(59, 130, 246, .24), transparent 70%),
        linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 60%, #0F2F7A 100%);
    }

    .ev2-hero .events-hero-bg { z-index: -1; }

    .ev2-hero-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
      gap: clamp(32px, 5vw, 72px);
      align-items: center;
    }

    .ev2-hero-copy > * {
      animation: ev2-rise .55s cubic-bezier(.16, 1, .3, 1) both;
    }

    .ev2-hero-title { animation-delay: .05s !important; }
    .ev2-hero-sub { animation-delay: .1s !important; }
    .ev2-hero-ctas { animation-delay: .15s !important; }

    .ev2-hero-title {
      margin: 16px 0 18px;
      font-size: clamp(36px, 4.6vw, 60px);
      font-weight: 800;
      line-height: 1.05;
      letter-spacing: -1.6px;
      color: #fff;
    }

    .ev2-hero-title .grad {
      background: linear-gradient(100deg, var(--brand-cyan) 0%, #7CC1FF 100%);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }

    .ev2-hero-sub {
      max-width: 46ch;
      margin: 0;
      font-size: 17px;
      line-height: 1.65;
      color: rgba(255, 255, 255, .8);
    }

    .ev2-hero-ctas {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 30px;
    }

    /* two real booth photos, offset like prints on a table */
    /* scales with viewport height so the spotlight card always peeks in */
    .ev2-hero-photos {
      position: relative;
      height: clamp(280px, calc(100dvh - 330px), 430px);
    }

    .ev2-photo {
      position: absolute;
      display: block;
      object-fit: cover;
      border-radius: 20px;
      border: 1px solid rgba(255, 255, 255, .16);
      box-shadow: 0 30px 60px rgba(2, 8, 24, .45);
      animation: ev2-rise .7s cubic-bezier(.16, 1, .3, 1) both;
    }

    .ev2-photo--main {
      right: 0;
      top: 0;
      width: 66%;
      height: 100%;
      object-position: center 40%;
    }

    .ev2-photo--side {
      left: 2%;
      bottom: -28px;
      width: 42%;
      aspect-ratio: 3 / 4;
      object-position: center 60%;
      rotate: -3deg;
      animation-delay: .12s;
    }

    @keyframes ev2-rise {
      from { opacity: 0; transform: translateY(14px); }
    }

    /* ── next-event spotlight (overlaps the hero) ── */
    .events-page .wrap.ev2-spot-wrap {
      margin-top: -104px;
      z-index: 2;
    }

    .ev2-spotlight {
      display: grid;
      grid-template-columns: 190px minmax(0, 1fr) minmax(0, .85fr);
      grid-template-areas: "date body media";
      background: #fff;
      border: 1px solid #E3EAFB;
      border-radius: 24px;
      overflow: hidden;
      box-shadow: 0 2px 8px rgba(27, 79, 216, .05), 0 30px 70px rgba(10, 22, 40, .14);
    }

    .ev2-spot-date {
      grid-area: date;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 2px;
      padding: 28px 18px;
      text-align: center;
      color: #fff;
      background:
        radial-gradient(120% 80% at 0% 0%, rgba(10, 196, 214, .35), transparent 60%),
        linear-gradient(160deg, var(--blue) 0%, #0F3BAE 100%);
    }

    .ev2-spot-month {
      font-family: 'JetBrains Mono', ui-monospace, monospace;
      font-size: 13px;
      font-weight: 600;
      letter-spacing: .18em;
      text-transform: uppercase;
      opacity: .85;
    }

    .ev2-spot-days {
      font-size: 50px;
      font-weight: 800;
      line-height: 1;
      letter-spacing: -1.5px;
      font-variant-numeric: tabular-nums;
    }

    .ev2-spot-year {
      font-size: 15px;
      font-weight: 600;
      opacity: .8;
    }

    .ev2-countdown {
      display: inline-flex;
      align-items: baseline;
      gap: 5px;
      margin-top: 18px;
      padding: 8px 14px;
      border-radius: 999px;
      background: rgba(255, 255, 255, .14);
      border: 1px solid rgba(255, 255, 255, .22);
      font-size: 13px;
      font-weight: 600;
      white-space: nowrap;
    }

    .ev2-countdown strong { font-size: 16px; font-weight: 800; }

    .ev2-countdown.is-live {
      align-items: center;
      background: var(--brand-cyan);
      border-color: transparent;
      color: var(--navy);
    }

    .ev2-spot-body {
      grid-area: body;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      padding: 32px 36px;
    }

    .ev2-spot-status {
      font-size: 12px;
      font-weight: 700;
      letter-spacing: .6px;
      text-transform: uppercase;
      color: #0a6f8c;
    }

    .ev2-spot-body h2 {
      margin: 8px 0 8px;
      font-size: clamp(24px, 2.4vw, 32px);
      font-weight: 800;
      letter-spacing: -.6px;
      color: var(--text);
    }

    .ev2-meta {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 6px;
      margin: 0;
      font-size: 14px;
      font-weight: 600;
      color: var(--muted);
    }

    .ev2-meta i { color: var(--blue); font-size: 16px; }

    .ev2-meta-sep {
      width: 4px;
      height: 4px;
      margin: 0 4px;
      border-radius: 50%;
      background: #CBD5E1;
    }

    .ev2-spot-desc {
      margin: 14px 0 0;
      max-width: 52ch;
      font-size: 15px;
      line-height: 1.7;
      color: var(--muted);
    }

    .ev2-spot-ctas {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 22px;
    }

    /* flex (not grid) so the banner's 100% height resolves against the
       cell, and overflow is clipped instead of covering the date block */
    .ev2-spot-media {
      grid-area: media;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      padding: 28px 32px;
      min-height: 240px;
      /* transparent event logo on the brand navy, echoing the date block */
      background:
        linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 28px 28px,
        linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 28px 28px,
        radial-gradient(70% 90% at 100% 0%, rgba(10, 196, 214, .25), transparent 60%),
        linear-gradient(150deg, var(--navy) 0%, var(--navy-mid) 70%, #123A9C 100%);
    }

    .ev2-spot-media img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: contain;
    }

    /* ── shared section rhythm ── */
    .ev2-section {
      padding: clamp(64px, 8vw, 104px) 0;
    }

    .ev2-section--tint {
      background: #F6F8FF;
      border-top: 1px solid #E8EEFF;
      border-bottom: 1px solid #E8EEFF;
    }

    .ev2-head {
      margin-bottom: 40px;
    }

    .ev2-head h2 {
      margin: 0 0 10px;
      font-size: clamp(28px, 3.4vw, 42px);
      font-weight: 800;
      letter-spacing: -1px;
      line-height: 1.1;
      color: var(--text);
    }

    .ev2-head p {
      margin: 0;
      max-width: 60ch;
      font-size: 15.5px;
      line-height: 1.7;
      color: var(--muted);
    }

    /* ── timeline ── */
    .ev2-timeline {
      --tl-date: 96px;
      --tl-gap: 16px;
      --tl-rail: calc(var(--tl-date) + var(--tl-gap) + 16px);
      position: relative;
    }

    .ev2-tl-year {
      display: inline-block;
      position: relative;
      z-index: 1;
      margin: 0 0 26px calc(var(--tl-rail) - 30px);
      padding: 6px 14px;
      border-radius: 999px;
      background: var(--navy);
      color: #fff;
      font-family: 'JetBrains Mono', ui-monospace, monospace;
      font-size: 13px;
      font-weight: 600;
    }

    .ev2-tl-list {
      position: relative;
      display: grid;
      gap: 28px;
      margin: 0;
      padding: 0;
      list-style: none;
    }

    /* the rail */
    .ev2-tl-list::before {
      content: "";
      position: absolute;
      left: calc(var(--tl-rail) - 1px);
      top: -26px;
      bottom: 24px;
      width: 2px;
      background: linear-gradient(180deg, var(--blue-border), rgba(199, 210, 254, 0));
    }

    .ev2-tl-item {
      display: grid;
      grid-template-columns: var(--tl-date) 32px minmax(0, 1fr);
      column-gap: var(--tl-gap);
      align-items: start;
    }

    .ev2-tl-date {
      padding-top: 20px;
      text-align: right;
    }

    .ev2-tl-date span {
      display: block;
      font-family: 'JetBrains Mono', ui-monospace, monospace;
      font-size: 12px;
      font-weight: 600;
      letter-spacing: .14em;
      text-transform: uppercase;
      color: var(--muted);
    }

    .ev2-tl-date strong {
      display: block;
      font-size: 26px;
      font-weight: 800;
      letter-spacing: -.5px;
      color: var(--navy-mid);
      font-variant-numeric: tabular-nums;
    }

    .ev2-tl-dot {
      position: relative;
      z-index: 1;
      width: 16px;
      height: 16px;
      margin: 28px auto 0;
      border-radius: 50%;
      background: #fff;
      border: 3px solid var(--blue);
      box-shadow: 0 0 0 6px var(--bg);
    }

    .ev2-tl-card {
      display: grid;
      grid-template-columns: 300px minmax(0, 1fr);
      background: #fff;
      border: 1px solid #E3EAFB;
      border-radius: 20px;
      overflow: hidden;
      box-shadow: var(--shadow);
      transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
    }

    .ev2-tl-card:hover {
      transform: translateY(-3px);
      border-color: var(--blue-border);
      box-shadow: var(--shadow-hover);
    }

    /* banners are designed graphics: show them whole, never cropped */
    .ev2-tl-media {
      display: flex;
      align-items: center;
      background: #0E1424;
    }

    .ev2-tl-media img {
      display: block;
      width: 100%;
      height: auto;
      transition: transform .5s var(--ease);
    }

    .ev2-tl-card:hover .ev2-tl-media img { transform: scale(1.03); }

    .ev2-tl-body {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      padding: 22px 26px;
    }

    .ev2-tl-body h3 {
      margin: 0 0 8px;
      font-size: 19px;
      font-weight: 800;
      letter-spacing: -.3px;
      color: var(--text);
    }

    .ev2-tl-desc {
      margin: 12px 0 0;
      font-size: 14.5px;
      line-height: 1.7;
      color: var(--muted);
    }

    .ev2-tl-link {
      display: inline-flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 6px;
      margin-top: 16px;
      font-size: 14px;
      font-weight: 700;
      color: var(--blue);
      text-decoration: none;
    }

    .ev2-tl-link span {
      font-weight: 500;
      color: var(--muted);
    }

    .ev2-tl-link i { transition: transform .25s var(--ease); }
    .ev2-tl-link:hover i { transform: translateX(3px); }

    .ev2-tl-link:focus-visible,
    .ev2-tl-media:focus-visible {
      outline: 2px solid var(--blue);
      outline-offset: 3px;
    }

    /* ── what to expect: photo bento ── */
    .ev2-bento {
      display: grid;
      grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr);
      grid-template-rows: 300px 250px;
      gap: 16px;
    }

    .ev2-tile {
      position: relative;
      margin: 0;
      border-radius: 22px;
      overflow: hidden;
    }

    .ev2-tile--tall { grid-row: 1 / 3; }

    .ev2-tile--photo img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform .6s var(--ease);
    }

    .ev2-tile--photo:hover img { transform: scale(1.04); }

    .ev2-tile--photo figcaption {
      position: absolute;
      inset: auto 0 0 0;
      padding: 60px 22px 22px;
      color: #fff;
      background: linear-gradient(180deg, rgba(6, 12, 28, 0) 0%, rgba(6, 12, 28, .88) 100%);
    }

    .ev2-tile i {
      font-size: 24px;
      color: var(--brand-cyan);
    }

    .ev2-tile h3 {
      margin: 8px 0 4px;
      font-size: 19px;
      font-weight: 800;
      letter-spacing: -.3px;
    }

    .ev2-tile p {
      margin: 0;
      font-size: 14px;
      line-height: 1.55;
      color: rgba(255, 255, 255, .84);
    }

    .ev2-tile--cities {
      grid-column: 2 / 4;
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 28px 32px;
      color: #fff;
      background:
        linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 28px 28px,
        linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 28px 28px,
        radial-gradient(80% 90% at 100% 0%, rgba(10, 196, 214, .28), transparent 60%),
        linear-gradient(150deg, var(--navy) 0%, var(--navy-mid) 100%);
    }

    .ev2-cities {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin: 18px 0 0;
      padding: 0;
      list-style: none;
    }

    .ev2-cities li {
      padding: 7px 14px;
      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, .24);
      background: rgba(255, 255, 255, .06);
      font-size: 13.5px;
      font-weight: 600;
    }

    /* ── closing banner ── */
    .ev2-section:last-child {
      padding-top: clamp(36px, 4vw, 52px);
    }

    .ev2-cta {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      padding: 34px 40px;
      border-radius: 24px;
      border: 1px solid #E3EAFB;
      background:
        linear-gradient(rgba(27, 79, 216, .06) 1px, transparent 1px) 0 0 / 32px 32px,
        linear-gradient(90deg, rgba(27, 79, 216, .06) 1px, transparent 1px) 0 0 / 32px 32px,
        radial-gradient(60% 120% at 100% 50%, rgba(10, 196, 214, .12), transparent 70%),
        #fff;
    }

    .ev2-cta h2 {
      margin: 0 0 6px;
      font-size: clamp(22px, 2.4vw, 28px);
      font-weight: 800;
      letter-spacing: -.5px;
      color: var(--text);
    }

    .ev2-cta p {
      margin: 0;
      font-size: 15px;
      color: var(--muted);
    }

    /* ── responsive ── */
    @media (max-width: 980px) {
      .ev2-spotlight {
        grid-template-columns: 170px minmax(0, 1fr);
        grid-template-areas:
          "media media"
          "date  body";
      }
      .ev2-spot-media { min-height: 0; height: clamp(160px, 30vw, 260px); }
      .ev2-spot-media img { height: 100%; }
      .ev2-spot-days { font-size: 40px; white-space: nowrap; }
      .ev2-tl-card { grid-template-columns: 1fr; }
      .ev2-tl-media { justify-content: center; height: clamp(150px, 26vw, 220px); overflow: hidden; }
      .ev2-tl-media img { width: auto; height: 100%; max-width: 100%; object-fit: contain; }
      .ev2-bento {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 340px 260px auto;
      }
      .ev2-tile--tall { grid-row: auto; grid-column: 1 / -1; }
      .ev2-tile--cities { grid-column: 1 / -1; }
    }

    @media (max-width: 900px) {
      .ev2-hero { padding: 108px 0 128px; }
      .ev2-hero-grid { grid-template-columns: 1fr; gap: 40px; }
      .ev2-hero-photos { height: 300px; max-width: 520px; }
      .ev2-hero-grid { gap: 32px; }
    }

    @media (max-width: 640px) {
      .ev2-hero-photos { height: 210px; }
      .ev2-hero-sub { font-size: 15.5px; }
      .ev2-hero-ctas { margin-top: 24px; }
      .events-page .wrap.ev2-spot-wrap { margin-top: -84px; }
      .ev2-spotlight {
        grid-template-columns: 1fr;
        grid-template-areas: "media" "date" "body";
      }
      .ev2-spot-date {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px 10px;
        padding: 16px 20px;
      }
      .ev2-spot-days { font-size: 30px; }
      .ev2-countdown { margin: 0 0 0 auto; }
      .ev2-spot-body { padding: 22px 20px 24px; }
      .ev2-spot-ctas, .ev2-spot-ctas .ev2-btn { width: 100%; justify-content: center; }

      /* timeline: rail on the left, date above each card */
      .ev2-timeline { --tl-rail: 11px; }
      .ev2-tl-year { margin-left: 0; }
      .ev2-tl-item { grid-template-columns: 24px minmax(0, 1fr); column-gap: 14px; }
      .ev2-tl-dot { grid-column: 1; grid-row: 1; margin: 4px 0 0 3px; }
      .ev2-tl-date {
        grid-column: 2;
        grid-row: 1;
        display: flex;
        align-items: baseline;
        gap: 8px;
        padding: 0 0 10px;
        text-align: left;
      }
      .ev2-tl-date strong { font-size: 20px; }
      .ev2-tl-card { grid-column: 2; }
      .ev2-tl-body { padding: 18px 18px 20px; }

      .ev2-bento { grid-template-columns: 1fr; grid-template-rows: none; }
      .ev2-tile--photo { height: 280px; }
      .ev2-tile--cities { padding: 24px; }
      .ev2-cta { flex-direction: column; align-items: flex-start; padding: 26px 22px; }
      .ev2-cta .ev2-btn { width: 100%; justify-content: center; }
    }

    @media (prefers-reduced-motion: reduce) {
      .ev2-hero-copy > *, .ev2-photo { animation: none !important; }
      .ev2-btn, .ev2-tl-card, .ev2-tl-media img, .ev2-tile--photo img { transition: none !important; }
      .ev2-tl-card:hover, .ev2-tile--photo:hover img, .ev2-tl-card:hover .ev2-tl-media img { transform: none; }
    }

    /* ═══════════════════════════════════════════════════════════
       GALLERY PAGE (masonry)
       Photo hero, one filter row, then a masonry wall: CSS columns, so
       every photo and video keeps its natural shape, nothing cropped.
       Rendered from GALLERY_EVENTS in script.js.
       ═══════════════════════════════════════════════════════════ */
    .gallery-page.gl4 {
      background: var(--bg);
    }

    /* ── hero: centred headline over a curved ring of real photos ──
       The ring is the inside of a cylinder with the camera at its centre,
       so the cards at the edges loom closer than the ones in the middle.
       Sizes, perspective and every card transform are set in script.js. */
    .gl5-hero {
      position: relative;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      justify-content: center;
      height: 100vh;
      height: 100svh;
      min-height: 520px;
      padding: clamp(104px, 9vw, 120px) 0 clamp(20px, 3vh, 32px);
      text-align: center;
      background:
        radial-gradient(56% 46% at 50% 8%, #FFFFFF 0%, rgba(255, 255, 255, 0) 72%),
        var(--bg);
    }

    .gl5-head { width: 100%; }

    .gl5-head > * {
      animation: ev2-rise .7s cubic-bezier(.16, 1, .3, 1) both;
    }

    .gl5-title { animation-delay: .06s !important; }
    .gl5-actions { animation-delay: .14s !important; }

    .gl5-hero .gallery-crumb {
      margin-bottom: 16px;
      color: var(--muted);
    }

    .gl5-hero .gallery-crumb a { color: var(--text); }

    /* same scale as the Events hero title */
    .gl5-title {
      margin: 0 auto;
      font-size: clamp(36px, 4.6vw, 60px);
      font-weight: 800;
      line-height: 1.05;
      letter-spacing: -1.6px;
      color: var(--navy);
      text-wrap: balance;
    }

    .gl5-title span { color: var(--blue); }

    .gl5-actions {
      display: flex;
      justify-content: center;
      margin-top: clamp(18px, 3vh, 26px);
    }

    .gl5-cta {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      height: 50px;
      padding: 0 22px 0 26px;
      border-radius: 999px;
      background: var(--navy);
      color: #fff;
      font-size: 15px;
      font-weight: 700;
      text-decoration: none;
      box-shadow: 0 12px 26px rgba(10, 22, 40, .22), 0 2px 6px rgba(10, 22, 40, .16);
      transition: background .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
    }

    .gl5-cta i {
      font-size: 17px;
      transition: transform .3s var(--ease);
    }

    .gl5-cta:hover {
      background: var(--blue);
      transform: translateY(-2px);
      box-shadow: 0 16px 34px rgba(27, 79, 216, .3), 0 3px 8px rgba(27, 79, 216, .2);
    }

    .gl5-cta:hover i { transform: translateY(2px); }
    .gl5-cta:active { transform: translateY(0); }

    /* the ring fills whatever height the headline leaves */
    .gl5-stage {
      position: relative;
      flex: 1 1 auto;
      min-height: 200px;
      margin-top: clamp(16px, 3vh, 36px);
      perspective-origin: 50% 50%;
      touch-action: pan-y;
      user-select: none;
      -webkit-user-select: none;
    }

    .gl5-ring {
      position: absolute;
      left: 50%;
      top: 50%;
      transform-style: preserve-3d;
    }

    .gl5-card {
      position: absolute;
      left: 0;
      top: 0;
      overflow: hidden;
      border-radius: 1.3em;
      background: #0E1424;
      box-shadow: 0 1.4em 2.6em rgba(10, 22, 40, .16), 0 .3em .7em rgba(10, 22, 40, .12);
      backface-visibility: hidden;
      visibility: hidden;
      opacity: 0;
      will-change: transform, opacity;
      cursor: pointer;
    }

    .gl5-card img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      pointer-events: none;
      transition: transform .9s cubic-bezier(.16, 1, .3, 1);
    }

    .gl5-card::after {
      content: "";
      position: absolute;
      inset: 45% 0 0;
      background: linear-gradient(180deg, rgba(6, 12, 28, 0), rgba(6, 12, 28, .78));
      opacity: 0;
      transition: opacity .35s var(--ease);
    }

    .gl5-cap {
      position: absolute;
      z-index: 1;
      left: .9em;
      right: .9em;
      bottom: .8em;
      font-size: 1em;
      font-weight: 700;
      line-height: 1.25;
      text-align: left;
      color: #fff;
      opacity: 0;
      transform: translateY(.4em);
      transition: opacity .35s var(--ease), transform .35s var(--ease);
    }

    .gl5-play {
      position: absolute;
      z-index: 1;
      top: .8em;
      right: .8em;
      display: grid;
      place-items: center;
      width: 2.3em;
      height: 2.3em;
      border-radius: 50%;
      background: rgba(255, 255, 255, .92);
      color: var(--navy);
    }

    .gl5-play svg { width: 1.05em; height: 1.05em; margin-left: .12em; }

    .gl5-card:hover img { transform: scale(1.06); }
    .gl5-card:hover::after,
    .gl5-card:hover .gl5-cap { opacity: 1; transform: none; }

    .gl5-controls {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      justify-content: center;
      gap: 10px 14px;
      margin-top: clamp(12px, 2.5vh, 28px);
      padding: 0 16px;
    }

    .gl5-motion {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      height: 34px;
      padding: 0 14px 0 12px;
      border: 1px solid #DCE4FB;
      border-radius: 999px;
      background: #fff;
      font-family: inherit;
      font-size: 13px;
      font-weight: 600;
      color: var(--text);
      cursor: pointer;
      transition: border-color .2s var(--ease), color .2s var(--ease);
    }

    .gl5-motion i { font-size: 15px; }
    .gl5-motion:hover { border-color: var(--blue-border); color: var(--blue); }

    .gl5-hint {
      font-size: 13px;
      color: var(--muted);
    }

    .gl5-cta:focus-visible,
    .gl5-motion:focus-visible {
      outline: 2px solid var(--blue);
      outline-offset: 3px;
    }

    .gl4-body { scroll-margin-top: 84px; }

    @media (hover: hover) and (pointer: fine) {
      .gl5-stage { cursor: grab; }
      .gl5-stage.is-dragging,
      .gl5-stage.is-dragging .gl5-card { cursor: grabbing; }
    }

    @media (hover: none) {
      .gl5-hint { display: none; }
    }

    /* ── filters: event tabs on the left, photo/video switch on the right ── */
    .gl4-body {
      padding: 34px 0 clamp(64px, 8vw, 104px);
    }

    .gl4-filters {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      border-bottom: 1px solid #DCE4FB;
    }

    .gl4-tabs {
      display: flex;
      gap: 28px;
      min-width: 0;
      overflow-x: auto;
      scrollbar-width: none;
    }

    .gl4-tabs::-webkit-scrollbar { display: none; }

    .gl4-tab {
      position: relative;
      flex-shrink: 0;
      padding: 14px 0 16px;
      border: 0;
      background: none;
      font-family: inherit;
      font-size: 15px;
      font-weight: 600;
      color: var(--muted);
      white-space: nowrap;
      cursor: pointer;
      transition: color .2s var(--ease);
    }

    .gl4-tab::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: -1px;
      height: 3px;
      border-radius: 3px 3px 0 0;
      background: var(--blue);
      transform: scaleX(0);
      transition: transform .3s var(--ease);
    }

    .gl4-tab:hover { color: var(--text); }
    .gl4-tab[aria-pressed="true"] { color: var(--text); font-weight: 700; }
    .gl4-tab[aria-pressed="true"]::after { transform: scaleX(1); }

    .gl4-types {
      flex-shrink: 0;
      display: inline-flex;
      gap: 4px;
      padding: 4px;
      border-radius: 999px;
      background: #fff;
      border: 1px solid #E3EAFB;
    }

    .gl4-type {
      padding: 7px 16px;
      border: 0;
      border-radius: 999px;
      background: transparent;
      font-family: inherit;
      font-size: 13.5px;
      font-weight: 600;
      color: var(--muted);
      cursor: pointer;
      transition: background .2s var(--ease), color .2s var(--ease);
    }

    .gl4-type[aria-pressed="true"] { background: var(--navy); color: #fff; }

    .gl4-count {
      margin: 16px 0 20px;
      font-size: 14px;
      color: var(--muted);
    }

    /* ── masonry wall ── */
    .gl4-wall {
      column-count: 4;
      column-gap: 16px;
    }

    .gl4-tile {
      position: relative;
      display: block;
      width: 100%;
      margin: 0 0 16px;
      padding: 0;
      border: 0;
      border-radius: 16px;
      overflow: hidden;
      background: #0E1424;
      break-inside: avoid;
      cursor: zoom-in;
      font: inherit;
      text-align: left;
      opacity: 0;
      transform: translateY(14px);
      transition: opacity .55s cubic-bezier(.16, 1, .3, 1), transform .55s cubic-bezier(.16, 1, .3, 1);
    }

    .gl4-tile.in { opacity: 1; transform: none; }
    .gl-tile--video { cursor: pointer; }

    .gl4-tile > img,
    .gl4-tile > .gl-frame {
      display: block;
      width: 100%;
      height: auto;
      transition: transform .7s cubic-bezier(.16, 1, .3, 1);
    }

    .gl4-tile:hover > img,
    .gl4-tile:hover > .gl-frame { transform: scale(1.04); }

    .gl4-tile .gl-preview {
      position: absolute;
      inset: 0;
      z-index: 1;
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0;
      transition: opacity .3s var(--ease);
    }

    .gl4-tile.is-previewing .gl-preview { opacity: 1; }

    .gl4-play {
      position: absolute;
      z-index: 2;
      left: 50%;
      top: 50%;
      display: grid;
      place-items: center;
      width: 52px;
      height: 52px;
      border-radius: 50%;
      background: rgba(255, 255, 255, .92);
      color: var(--navy);
      box-shadow: 0 10px 26px rgba(2, 8, 24, .35);
      transform: translate(-50%, -50%);
      transition: transform .3s var(--ease), opacity .3s var(--ease);
    }

    .gl4-play svg { width: 22px; height: 22px; margin-left: 3px; }
    .gl4-tile.is-previewing .gl4-play { opacity: 0; transform: translate(-50%, -50%) scale(.8); }

    .gl4-cap {
      position: absolute;
      z-index: 2;
      inset: auto 0 0 0;
      display: grid;
      gap: 2px;
      padding: 44px 16px 14px;
      font-size: 13.5px;
      font-weight: 600;
      line-height: 1.4;
      color: #fff;
      background: linear-gradient(180deg, rgba(6, 12, 28, 0), rgba(6, 12, 28, .88));
      opacity: 0;
      transform: translateY(8px);
      transition: opacity .3s var(--ease), transform .3s var(--ease);
    }

    .gl4-cap b {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: .4px;
      text-transform: uppercase;
      color: var(--brand-cyan);
    }

    .gl4-tile:hover .gl4-cap,
    .gl4-tile:focus-visible .gl4-cap { opacity: 1; transform: none; }

    .gl4-tab:focus-visible,
    .gl4-type:focus-visible,
    .gl4-tile:focus-visible {
      outline: 2px solid var(--blue);
      outline-offset: 2px;
    }

    /* ── empty state ── */
    .gl-empty {
      display: grid;
      justify-items: center;
      gap: 12px;
      padding: 72px 20px;
      border-radius: 22px;
      border: 1px dashed var(--blue-border);
      text-align: center;
      color: var(--muted);
    }

    .gl-empty[hidden] { display: none; }
    .gl-empty i { font-size: 34px; color: var(--blue); }
    .gl-empty p { margin: 0; font-size: 15px; }

    /* lightbox position counter */
    .gl-lb-count {
      display: inline-block;
      margin-top: 10px;
      font-family: 'JetBrains Mono', ui-monospace, monospace;
      font-size: 12px;
      color: rgba(255, 255, 255, .55);
    }

    /* ── responsive ── */
    @media (max-width: 1100px) {
      .gl4-wall { column-count: 3; }
    }

    @media (max-width: 760px) {
      .gl4-filters {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        border-bottom: 0;
      }
      .gl4-tabs { gap: 22px; border-bottom: 1px solid #DCE4FB; }
      .gl4-types { align-self: flex-start; }
      .gl4-wall { column-count: 2; column-gap: 10px; }
      .gl4-tile { margin-bottom: 10px; border-radius: 12px; }
      .gl4-play { width: 40px; height: 40px; }
      .gl4-play svg { width: 17px; height: 17px; }
    }

    @media (max-width: 640px) {
      .gl5-title { font-size: clamp(32px, 9.4vw, 44px); }
    }

    /* touch screens have no hover: captions live in the lightbox */
    @media (hover: none) {
      .gl4-cap { display: none; }
      .gl4-tile:hover > img, .gl4-tile:hover > .gl-frame { transform: none; }
    }

    @media (prefers-reduced-motion: reduce) {
      .gl5-head > * { animation: none !important; }
      .gl5-card img, .gl5-cap, .gl5-card::after { transition: none !important; }
      .gl5-controls { display: none; }
      .gl4-tile { opacity: 1; transform: none; transition: none; }
      .gl4-tile > img, .gl4-tile > .gl-frame, .gl4-cap, .gl4-play { transition: none !important; }
      .gl4-tile:hover > img, .gl4-tile:hover > .gl-frame { transform: none; }
    }

    /* ═══════════════════════════════════════════════════════════
       BLOG PAGE (list view)
       Split hero (headline + the newest story), a topic picker that says
       what each topic covers, the matching posts, then an ask-our-team
       panel. Radius rule: containers 20px, media inside them 14px,
       buttons are pills. Rendered from BLOG_POSTS + BLOG_TOPICS.
       ═══════════════════════════════════════════════════════════ */
    .bl-hero {
      padding: clamp(104px, 10vw, 128px) 0 clamp(24px, 3vw, 40px);
      background:
        radial-gradient(45% 60% at 80% 25%, #FFFFFF 0%, rgba(255, 255, 255, 0) 70%),
        var(--bg);
    }

    .bl-hero-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
      align-items: center;
      gap: clamp(32px, 5vw, 72px);
    }

    .bl-hero-copy > * { animation: ev2-rise .6s cubic-bezier(.16, 1, .3, 1) both; }
    .bl-title { animation-delay: .05s !important; }
    .bl-sub { animation-delay: .1s !important; }
    .bl-hero-actions { animation-delay: .15s !important; }

    .bl-hero .events-crumb { color: var(--muted); }
    .bl-hero .events-crumb a { color: var(--text); }

    /* same scale as the Events and Gallery hero titles */
    .bl-title {
      margin: 0 0 18px;
      font-size: clamp(36px, 4.6vw, 60px);
      font-weight: 800;
      line-height: 1.05;
      letter-spacing: -1.6px;
      color: var(--navy);
      text-wrap: balance;
    }

    .bl-title span { color: var(--blue); }

    .bl-sub {
      max-width: 42ch;
      margin: 0;
      font-size: 17px;
      line-height: 1.6;
      color: var(--muted);
    }

    .bl-hero-actions { margin-top: 28px; }

    .bl-cta {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      height: 48px;
      padding: 0 22px 0 24px;
      border-radius: 999px;
      background: var(--navy);
      color: #fff;
      font-size: 15px;
      font-weight: 700;
      white-space: nowrap;
      text-decoration: none;
      box-shadow: 0 10px 24px rgba(10, 22, 40, .18);
      transition: background .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
    }

    .bl-cta i { font-size: 16px; transition: transform .3s var(--ease); }
    .bl-cta:hover { background: var(--blue); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(27, 79, 216, .26); }
    .bl-cta:active { transform: translateY(0) scale(.98); }
    .bl-cta:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

    /* shared story parts */
    .bl-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 4px 12px;
      font-size: 13px;
      font-weight: 600;
      color: var(--muted);
    }

    .bl-cat { color: var(--blue); font-weight: 700; }

    .bl-foot {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-top: auto;
      padding-top: 16px;
      border-top: 1px solid #EDF1FB;
    }

    .bl-more {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 14.5px;
      font-weight: 700;
      color: var(--blue);
      transition: gap .3s var(--ease);
    }

    .bl-time {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 13px;
      font-weight: 600;
      color: var(--muted);
      font-variant-numeric: tabular-nums;
    }

    .bl-time i { font-size: 15px; }

    /* the title link stretches over its whole story */
    .bl-lead-title a,
    .bl-card-title a {
      color: inherit;
      text-decoration: none;
    }

    .bl-lead-title a::after,
    .bl-card-title a::after {
      content: "";
      position: absolute;
      inset: 0;
      z-index: 1;
    }

    .bl-lead-title a:focus-visible,
    .bl-card-title a:focus-visible { outline: none; }

    .bl-lead:has(a:focus-visible),
    .bl-card:has(a:focus-visible) {
      outline: 2px solid var(--blue);
      outline-offset: 4px;
    }

    .bl-lead-media img,
    .bl-card-media img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform .8s cubic-bezier(.16, 1, .3, 1);
    }

    /* ── lead story (hero, right) ── */
    .bl-lead {
      position: relative;
      display: flex;
      flex-direction: column;
      padding: 10px;
      border: 1px solid #E3EAFB;
      border-radius: 20px;
      background: #fff;
      box-shadow: 0 24px 48px rgba(13, 34, 85, .1), 0 4px 12px rgba(13, 34, 85, .05);
      animation: ev2-rise .7s .12s cubic-bezier(.16, 1, .3, 1) both;
      transition: transform .4s var(--ease), box-shadow .4s var(--ease);
    }

    .bl-lead-media {
      overflow: hidden;
      aspect-ratio: 16 / 9;
      border-radius: 14px;
      background: #E4E9F5;
    }

    .bl-lead-text { padding: 20px 14px 8px; }

    .bl-lead-title {
      margin: 8px 0 20px;
      font-size: clamp(20px, 1.9vw, 25px);
      font-weight: 800;
      line-height: 1.28;
      letter-spacing: -.4px;
      color: var(--text);
      text-wrap: balance;
      transition: color .25s var(--ease);
    }

    .bl-lead:hover { transform: translateY(-4px); box-shadow: 0 30px 60px rgba(13, 34, 85, .14), 0 6px 16px rgba(13, 34, 85, .06); }
    .bl-lead:hover .bl-lead-title { color: var(--blue); }

    /* ── topic picker ── */
    .bl-body {
      padding: clamp(40px, 5vw, 64px) 0 clamp(72px, 9vw, 120px);
      scroll-margin-top: 72px;
    }

    .bl-sec-title {
      margin: 0 0 20px;
      font-size: clamp(24px, 2.4vw, 32px);
      font-weight: 800;
      line-height: 1.15;
      letter-spacing: -.6px;
      color: var(--text);
    }

    .bl-topic-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 12px;
    }

    .bl-topic {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 6px;
      padding: 20px 20px 18px;
      border: 1px solid #DCE4FB;
      border-radius: 20px;
      background: #fff;
      font: inherit;
      text-align: left;
      color: var(--text);
      cursor: pointer;
      transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
    }

    .bl-topic i {
      margin-bottom: 10px;
      font-size: 26px;
      color: var(--blue);
    }

    .bl-topic-name { font-size: 16px; font-weight: 800; letter-spacing: -.2px; }

    .bl-topic-blurb {
      font-size: 13.5px;
      line-height: 1.5;
      color: var(--muted);
    }

    .bl-topic-count {
      margin-top: auto;
      padding-top: 12px;
      font-size: 12.5px;
      font-weight: 700;
      color: #56637C;
      font-variant-numeric: tabular-nums;
    }

    .bl-topic:hover { border-color: var(--blue-border); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(27, 79, 216, .08); }
    .bl-topic:active { transform: translateY(0) scale(.99); }
    .bl-topic:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

    .bl-topic[aria-pressed="true"] {
      background: var(--navy);
      border-color: var(--navy);
      color: #fff;
      box-shadow: 0 14px 30px rgba(10, 22, 40, .2);
    }

    .bl-topic[aria-pressed="true"] i { color: var(--brand-cyan); }
    .bl-topic[aria-pressed="true"] .bl-topic-blurb { color: rgba(255, 255, 255, .76); }
    .bl-topic[aria-pressed="true"] .bl-topic-count { color: rgba(255, 255, 255, .92); }

    /* ── results ── */
    .bl-results { margin-top: clamp(48px, 6vw, 72px); }

    .bl-results-head {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 16px;
    }

    .bl-results-count {
      margin: 0;
      font-size: 14px;
      font-weight: 600;
      color: var(--muted);
    }

    .bl-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 20px;
    }

    .bl-card {
      position: relative;
      display: flex;
      flex-direction: column;
      padding: 10px;
      border: 1px solid #E3EAFB;
      border-radius: 20px;
      background: #fff;
      animation: bl-in .55s cubic-bezier(.16, 1, .3, 1) both;
      animation-delay: calc(var(--i, 0) * 70ms);
      transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
    }

    .bl-card-media {
      overflow: hidden;
      aspect-ratio: 16 / 10;
      border-radius: 14px;
      background: #E4E9F5;
    }

    .bl-card-text {
      display: flex;
      flex-direction: column;
      flex: 1;
      padding: 18px 14px 8px;
    }

    .bl-card-title {
      margin: 8px 0 8px;
      font-size: 20px;
      font-weight: 800;
      line-height: 1.3;
      letter-spacing: -.3px;
      color: var(--text);
      text-wrap: balance;
      transition: color .25s var(--ease);
    }

    .bl-card-excerpt {
      max-width: 60ch;
      margin: 0 0 20px;
      font-size: 15px;
      line-height: 1.6;
      color: var(--muted);
    }

    .bl-card:hover { transform: translateY(-4px); border-color: var(--blue-border); box-shadow: 0 20px 40px rgba(13, 34, 85, .1); }
    .bl-card:hover .bl-card-title { color: var(--blue); }

    .bl-lead:hover .bl-lead-media img,
    .bl-card:hover .bl-card-media img { transform: scale(1.04); }
    .bl-lead:hover .bl-more,
    .bl-card:hover .bl-more { gap: 12px; }

    /* an odd count: the first result runs full width, image beside text,
       so the grid never ends on an empty slot */
    .bl-grid.is-odd .bl-card:first-child {
      grid-column: 1 / -1;
      flex-direction: row;
    }

    .bl-grid.is-odd .bl-card:first-child .bl-card-media {
      flex: 0 0 52%;
      aspect-ratio: auto;
      min-height: 280px;
    }

    .bl-grid.is-odd .bl-card:first-child .bl-card-text { padding: 24px 28px 12px; }
    .bl-grid.is-odd .bl-card:first-child .bl-card-title { font-size: clamp(22px, 2.2vw, 28px); }

    @keyframes bl-in {
      from { opacity: 0; transform: translateY(14px); }
      to { opacity: 1; transform: none; }
    }

    .bl-body .gl-empty { margin-top: 4px; }

    /* ── ask our team ── */
    .bl-ask {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 20px 40px;
      margin-top: clamp(56px, 7vw, 96px);
      padding: clamp(24px, 3vw, 36px) clamp(24px, 3.5vw, 44px);
      border: 1px solid var(--blue-border);
      border-radius: 20px;
      background: var(--blue-pale);
    }

    .bl-ask h2 {
      margin: 0;
      font-size: clamp(20px, 2vw, 26px);
      font-weight: 800;
      letter-spacing: -.4px;
      color: var(--text);
    }

    .bl-ask p {
      max-width: 52ch;
      margin: 6px 0 0;
      font-size: 15px;
      line-height: 1.6;
      color: var(--muted);
    }

    @media (max-width: 1000px) {
      .bl-hero-grid { grid-template-columns: 1fr; }
      .bl-topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    }

    @media (max-width: 640px) {
      .bl-sub { font-size: 16px; }
      /* topics become a swipeable row */
      .bl-topic-grid {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: 74%;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        margin: 0 -5vw;
        padding: 0 5vw 4px;
        scroll-padding: 0 5vw;
      }
      .bl-topic-grid::-webkit-scrollbar { display: none; }
      .bl-topic { scroll-snap-align: start; }
      .bl-grid { grid-template-columns: 1fr; }
      .bl-grid.is-odd .bl-card:first-child { flex-direction: column; }
      .bl-grid.is-odd .bl-card:first-child .bl-card-media { flex: none; aspect-ratio: 16 / 10; min-height: 0; }
      .bl-grid.is-odd .bl-card:first-child .bl-card-text { padding: 18px 14px 8px; }
      .bl-card-title, .bl-grid.is-odd .bl-card:first-child .bl-card-title { font-size: 18px; }
      .bl-ask .bl-cta { width: 100%; justify-content: center; }
    }

    @media (prefers-reduced-motion: reduce) {
      .bl-hero-copy > *, .bl-lead, .bl-card { animation: none !important; }
      .bl-lead-media img, .bl-card-media img { transition: none; }
      .bl-lead:hover .bl-lead-media img, .bl-card:hover .bl-card-media img { transform: none; }
    }

    /* Phones: "clip" hides sideways overflow like "hidden" did, but doesn't
       turn the page into its own scroll box, so sticky elements keep working. */
    @media (max-width: 768px) {
      html, body { overflow-x: clip; }
    }

    /* ── CAREERS PAGE (#/careers) ──
       Light page like Newsroom. Radius system: containers 20px, media 14px,
       controls are pills. One accent: --blue. */
    .cr-hero {
      overflow: hidden;
      padding: clamp(104px, 10vw, 124px) 0 clamp(40px, 5vw, 64px);
      background:
        radial-gradient(50% 70% at 78% 40%, rgba(27, 79, 216, .08), rgba(27, 79, 216, 0) 70%),
        radial-gradient(45% 60% at 15% 10%, #FFFFFF 0%, rgba(255, 255, 255, 0) 70%),
        var(--bg);
    }

    .cr-hero-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
      align-items: center;
      gap: clamp(32px, 5vw, 72px);
      max-width: 1240px;
      margin: 0 auto;
      padding: 0 5%;
    }

    .cr-hero .events-crumb { color: var(--muted); }
    .cr-hero .events-crumb a { color: var(--text); }

    .cr-hero-copy > * { animation: ev2-rise .6s cubic-bezier(.16, 1, .3, 1) both; }
    .cr-title { animation-delay: .05s !important; }
    .cr-sub { animation-delay: .1s !important; }
    .cr-hero-copy .bl-cta { animation-delay: .15s !important; }

    .cr-title {
      margin: 0 0 18px;
      font-size: clamp(36px, 4.6vw, 60px);
      font-weight: 800;
      line-height: 1.05;
      letter-spacing: -1.6px;
      color: var(--navy);
      text-wrap: balance;
    }

    .cr-title span { color: var(--blue); }

    .cr-sub {
      max-width: 42ch;
      margin: 0 0 28px;
      font-size: 17px;
      line-height: 1.6;
      color: var(--muted);
    }

    /* the robot lineup from the Botriq brochure cover */
    .cr-visual {
      margin: 0;
      border-radius: 20px;
      overflow: hidden;
      background: #E9EFFB;
      box-shadow: 0 2px 4px rgba(13, 34, 85, .08), 0 24px 48px rgba(13, 34, 85, .16);
      animation: cr-rise .9s .1s cubic-bezier(.16, 1, .3, 1) both;
    }

    .cr-visual img {
      display: block;
      width: 100%;
      height: auto;
    }

    /* skill tags on each role */
    .cr-role-skills { display: flex; flex-wrap: wrap; gap: 6px; }

    .cr-role-skills span {
      padding: 4px 10px;
      border-radius: 999px;
      background: var(--blue-pale);
      color: var(--blue);
      font-size: 12.5px;
      font-weight: 600;
    }

    @keyframes cr-rise {
      from { opacity: 0; transform: translateY(24px); }
      to { opacity: 1; transform: none; }
    }

    /* Why Botriq: 3-column bento, lead cell spans 2, photo spans 2 rows */
    .cr-why-sec { padding-top: clamp(32px, 4vw, 56px); }

    .cr-bento {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      grid-auto-rows: minmax(220px, auto);
      gap: 16px;
    }

    .cr-cell {
      display: flex;
      flex-direction: column;
      margin: 0;
      padding: clamp(24px, 2.6vw, 34px);
      border: 1px solid var(--blue-border);
      border-radius: 20px;
      background: #fff;
    }

    .cr-cell h3 {
      margin: auto 0 10px;
      font-size: clamp(19px, 1.8vw, 23px);
      font-weight: 800;
      letter-spacing: -.02em;
      line-height: 1.2;
      color: var(--navy);
    }

    .cr-cell p {
      margin: 0;
      max-width: 46ch;
      font-size: 15.5px;
      line-height: 1.6;
      color: var(--muted);
    }

    .cr-cell-icon {
      font-size: 28px;
      color: var(--blue);
      margin-bottom: 28px;
    }

    .cr-cell--lead {
      grid-column: span 2;
      border-color: transparent;
      background: linear-gradient(150deg, var(--navy) 0%, var(--navy-mid) 100%);
    }

    .cr-cell--lead h3 { color: #fff; font-size: clamp(24px, 2.4vw, 32px); }
    .cr-cell--lead p { color: rgba(255, 255, 255, .78); font-size: 16.5px; }
    .cr-cell--lead .cr-cell-icon { color: var(--brand-cyan); }

    .cr-cell--photo {
      grid-row: span 2;
      padding: 0;
      overflow: hidden;
      border: 0;
    }

    .cr-cell--photo img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .cr-cell--tint { background: var(--blue-pale); }

    /* Open roles */
    .cr-roles-sec { scroll-margin-top: 72px; }

    .cr-roles-head {
      display: flex;
      align-items: baseline;
      gap: 16px;
      flex-wrap: wrap;
      margin-bottom: 20px;
    }

    .cr-roles-head h2 {
      margin: 0;
      font-size: clamp(24px, 3.6vw, 38px);
      font-weight: 800;
      letter-spacing: -.03em;
      color: var(--text);
    }

    .cr-roles-count { margin: 0; font-size: 15px; font-weight: 600; color: var(--muted); }

    .cr-filters {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 24px;
    }

    .cr-filter {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      height: 40px;
      padding: 0 8px 0 16px;
      border: 1px solid var(--blue-border);
      border-radius: 999px;
      background: #fff;
      color: var(--navy);
      font: inherit;
      font-size: 14px;
      font-weight: 700;
      cursor: pointer;
      transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
    }

    .cr-filter span {
      display: inline-grid;
      place-items: center;
      min-width: 24px;
      height: 24px;
      padding: 0 6px;
      border-radius: 999px;
      background: var(--blue-pale);
      color: var(--blue);
      font-size: 12px;
    }

    .cr-filter:hover { border-color: var(--blue); }
    .cr-filter.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
    .cr-filter.is-active span { background: rgba(255, 255, 255, .16); color: #fff; }
    .cr-filter:active { transform: scale(.98); }
    .cr-filter:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

    .cr-roles { display: grid; gap: 12px; }

    .cr-role {
      border: 1px solid var(--blue-border);
      border-radius: 20px;
      background: #fff;
      transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
    }

    .cr-role:hover { border-color: rgba(27, 79, 216, .4); }
    .cr-role[open] { border-color: var(--blue); box-shadow: 0 18px 40px rgba(13, 34, 85, .08); }

    .cr-role summary {
      display: flex;
      align-items: center;
      gap: 16px;
      padding: 22px clamp(20px, 2.4vw, 28px);
      list-style: none;
      cursor: pointer;
      border-radius: 20px;
    }

    .cr-role summary::-webkit-details-marker { display: none; }
    .cr-role summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

    .cr-role-main { flex: 1; min-width: 0; display: grid; gap: 8px; }

    .cr-role-title {
      font-size: clamp(17px, 1.6vw, 20px);
      font-weight: 800;
      letter-spacing: -.01em;
      color: var(--navy);
    }

    .cr-role-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 6px 18px;
      font-size: 14px;
      color: var(--muted);
    }

    .cr-role-meta span { display: inline-flex; align-items: center; gap: 6px; }
    .cr-role-meta i { font-size: 16px; color: var(--blue); }

    .cr-role-toggle {
      flex: none;
      display: grid;
      place-items: center;
      width: 40px;
      height: 40px;
      border-radius: 999px;
      background: var(--blue-pale);
      color: var(--blue);
      font-size: 18px;
      transition: transform .35s var(--ease), background .25s var(--ease), color .25s var(--ease);
    }

    .cr-role[open] .cr-role-toggle { transform: rotate(45deg); background: var(--blue); color: #fff; }

    .cr-role-body {
      padding: 0 clamp(20px, 2.4vw, 28px) 26px;
      animation: cr-open .35s var(--ease) both;
    }

    @keyframes cr-open {
      from { opacity: 0; transform: translateY(-6px); }
      to { opacity: 1; transform: none; }
    }

    .cr-role-summary {
      margin: 0 0 20px;
      padding-top: 18px;
      border-top: 1px solid var(--blue-border);
      max-width: 65ch;
      font-size: 16px;
      line-height: 1.6;
      color: var(--text);
    }

    .cr-role-cols {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 24px;
      margin-bottom: 24px;
    }

    .cr-role-cols h4 {
      margin: 0 0 10px;
      font-size: 14px;
      font-weight: 800;
      color: var(--navy);
    }

    .cr-role-cols ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }

    .cr-role-cols li {
      position: relative;
      padding-left: 22px;
      font-size: 15px;
      line-height: 1.55;
      color: var(--muted);
    }

    .cr-role-cols li::before {
      content: '';
      position: absolute;
      left: 2px;
      top: .55em;
      width: 10px;
      height: 6px;
      border-left: 2px solid var(--blue);
      border-bottom: 2px solid var(--blue);
      transform: rotate(-45deg);
    }

    .cr-apply { height: 44px; font-size: 14.5px; }

    .cr-empty {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 24px;
      border: 1px dashed var(--blue-border);
      border-radius: 20px;
      background: #fff;
      color: var(--muted);
    }

    .cr-empty[hidden] { display: none; }
    .cr-empty i { font-size: 24px; color: var(--blue); }
    .cr-empty p { margin: 0; }

    /* ── Open roles: simple rows, Apply now on the right ── */
    .cr-rows {
      margin: 0;
      padding: 0;
      list-style: none;
      border: 1px solid var(--blue-border);
      border-radius: 20px;
      background: #fff;
      overflow: hidden;
    }

    .cr-row {
      display: flex;
      align-items: center;
      gap: 24px;
      padding: 20px clamp(20px, 2.6vw, 28px);
      transition: background .2s var(--ease);
    }

    .cr-row + .cr-row { border-top: 1px solid #E8EEFF; }
    .cr-row:hover { background: #F8FAFF; }

    .cr-row-text { flex: 1; min-width: 0; }

    .cr-row-title {
      margin: 0 0 6px;
      font-size: clamp(16px, 1.5vw, 18px);
      font-weight: 800;
      letter-spacing: -.01em;
      color: var(--navy);
    }

    .cr-row-meta {
      display: flex;
      flex-wrap: wrap;
      margin: 0;
      font-size: 14px;
      color: var(--muted);
    }

    /* facts separated by a thin bar, not dots */
    .cr-row-meta span + span::before {
      content: '';
      display: inline-block;
      width: 1px;
      height: 12px;
      margin: 0 12px;
      vertical-align: -1px;
      background: var(--blue-border);
    }

    .cr-row-apply {
      flex: none;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      height: 44px;
      padding: 0 20px;
      border: 1px solid var(--blue-border);
      border-radius: 999px;
      background: #fff;
      color: var(--navy);
      font: inherit;
      font-size: 14.5px;
      font-weight: 700;
      white-space: nowrap;
      cursor: pointer;
      transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
    }

    .cr-row-apply { text-decoration: none; }
    .cr-row-apply i { transition: transform .25s var(--ease); }
    .cr-row:hover .cr-row-apply, .cr-row-apply:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
    .cr-row-apply:hover i { transform: translateX(3px); }
    .cr-row-apply:active { transform: scale(.98); }
    .cr-row-apply:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

    .cr-more { display: flex; justify-content: center; margin-top: 20px; }

    .cr-showall {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      height: 44px;
      padding: 0 22px;
      border: 1px solid var(--blue-border);
      border-radius: 999px;
      background: #fff;
      color: var(--navy);
      font: inherit;
      font-size: 14px;
      font-weight: 700;
      cursor: pointer;
    }

    .cr-showall:hover { border-color: var(--blue); }
    .cr-showall:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

    /* ── Job description page (#/careers/<slug>) ── */
    .jd-hero {
      padding: clamp(104px, 10vw, 124px) 0 clamp(28px, 4vw, 44px);
      background:
        radial-gradient(50% 80% at 85% 20%, rgba(27, 79, 216, .08), rgba(27, 79, 216, 0) 70%),
        var(--bg);
    }

    .jd-wrap { max-width: 920px; margin: 0 auto; padding: 0 5%; }
    .jd-hero .events-crumb { color: var(--muted); }
    .jd-hero .events-crumb a { color: var(--text); }

    .jd-back {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 14px;
      font-size: 14px;
      font-weight: 700;
      color: var(--blue);
      text-decoration: none;
    }

    .jd-back:hover i { transform: translateX(-3px); }
    .jd-back i { transition: transform .25s var(--ease); }

    .jd-title {
      margin: 0 0 22px;
      font-size: clamp(30px, 4vw, 48px);
      font-weight: 800;
      letter-spacing: -1.2px;
      line-height: 1.08;
      color: var(--navy);
      text-wrap: balance;
    }

    .jd-lead { margin: 0; max-width: 56ch; font-size: 17px; line-height: 1.6; color: var(--muted); }

    .jd-kicker { margin: 0 0 8px; font-size: 14px; font-weight: 700; color: var(--blue); }

    .jd-notice {
      display: flex;
      align-items: center;
      gap: 10px;
      margin: 14px 0 0;
      padding: 12px 16px;
      border-radius: 14px;
      background: var(--blue-pale);
      color: var(--navy);
      font-size: 14.5px;
      font-weight: 600;
    }

    .jd-notice i { flex: none; font-size: 18px; color: var(--blue); }

    .jd-sec p + p { margin-top: 12px; }

    /* "good to have" list: a plus instead of a tick */
    .jd-list.jd-list--plus li::before {
      content: '+';
      top: 0;
      left: 2px;
      width: auto;
      height: auto;
      border: 0;
      transform: none;
      font-weight: 800;
      color: var(--blue);
    }

    .jd-facts {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      margin: 0;
      padding: 0;
      list-style: none;
      border: 1px solid var(--blue-border);
      border-radius: 20px;
      background: #fff;
    }

    .jd-facts li { display: flex; align-items: center; gap: 12px; padding: 16px 18px; min-width: 0; }
    .jd-facts li + li { border-left: 1px solid #E8EEFF; }
    .jd-facts i { flex: none; font-size: 22px; color: var(--blue); }
    .jd-facts span { display: grid; gap: 2px; font-size: 15px; font-weight: 700; color: var(--navy); min-width: 0; }
    .jd-facts small { font-size: 12.5px; font-weight: 600; color: var(--muted); }

    .jd-body { display: grid; gap: 20px; padding-bottom: clamp(56px, 8vw, 96px); }

    .jd-card {
      padding: clamp(24px, 4vw, 44px);
      border: 1px solid var(--blue-border);
      border-radius: 20px;
      background: #fff;
    }

    /* the global section{} rule adds big padding; JD parts are <section>s */
    .jd-sec { padding: 0; }
    .jd-sec + .jd-sec { margin-top: 28px; padding-top: 26px; border-top: 1px solid #E8EEFF; }

    .jd-sec h2 {
      margin: 0 0 12px;
      font-size: 20px;
      font-weight: 800;
      letter-spacing: -.01em;
      color: var(--navy);
    }

    .jd-sec p { margin: 0; max-width: 68ch; font-size: 16px; line-height: 1.7; color: var(--text); }

    .jd-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }

    .jd-list li {
      position: relative;
      padding-left: 26px;
      max-width: 68ch;
      font-size: 16px;
      line-height: 1.6;
      color: var(--text);
    }

    .jd-list li::before {
      content: '';
      position: absolute;
      left: 3px;
      top: .55em;
      width: 10px;
      height: 6px;
      border-left: 2px solid var(--blue);
      border-bottom: 2px solid var(--blue);
      transform: rotate(-45deg);
    }

    .jd-apply-bar {
      display: flex;
      align-items: center;
      gap: 18px;
      flex-wrap: wrap;
      margin-top: 34px;
      padding-top: 28px;
      border-top: 1px solid #E8EEFF;
    }

    .jd-apply-bar[hidden] { display: none; }
    .jd-apply-bar span { font-size: 14px; color: var(--muted); }
    .jd-apply-btn { border: 0; cursor: pointer; font-family: inherit; }

    .jd-form-card { scroll-margin-top: 96px; }
    .jd-form-card[hidden] { display: none; }
    .jd-form-card.is-revealed { animation: jd-reveal .5s var(--ease) both; }

    @keyframes jd-reveal {
      from { opacity: 0; transform: translateY(16px); }
      to { opacity: 1; transform: none; }
    }

    .jd-form-title {
      margin: 0 0 4px;
      font-size: clamp(22px, 2.6vw, 28px);
      font-weight: 800;
      letter-spacing: -.02em;
      color: var(--navy);
    }

    .jd-form-sub { margin: 0 0 24px; font-size: 14px; color: var(--muted); }

    /* form groups */
    .ca-group { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 16px; }
    .ca-group + .ca-group { padding-top: 22px; border-top: 1px solid #E8EEFF; }

    .ca-group legend {
      float: left;
      width: 100%;
      margin-bottom: 14px;
      padding: 0;
      font-size: 13px;
      font-weight: 800;
      color: var(--blue);
    }

    .ca-req { color: #C62828; font-weight: 700; }
    .ca-hint { margin: 0; font-size: 12.5px; color: var(--muted); }

    .ca-title {
      margin: 0;
      font-size: clamp(22px, 2.6vw, 27px);
      font-weight: 800;
      letter-spacing: -.02em;
      line-height: 1.2;
      color: var(--navy);
    }

    @media (max-width: 760px) {
      .jd-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .jd-facts li:nth-child(3) { border-left: 0; }
      .jd-facts li:nth-child(n+3) { border-top: 1px solid #E8EEFF; }
    }

    @media (max-width: 560px) {
      .jd-wrap { padding: 0 16px; }
      .jd-facts li { padding: 14px; }
    }

    @media (prefers-reduced-motion: reduce) {
      .jd-form-card.is-revealed { animation: none; }
      .jd-back i { transition: none; }
    }

    .ca-form { display: grid; gap: 16px; }
    .ca-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .ca-field { display: grid; gap: 6px; align-content: start; }

    .ca-field label, .ca-label { font-size: 14px; font-weight: 700; color: var(--navy); }
    .ca-opt { font-weight: 500; color: var(--muted); }

    .ca-field input[type="text"], .ca-field input[type="email"], .ca-field input[type="tel"],
    .ca-field input[type="url"], .ca-field textarea, .ca-field select {
      width: 100%;
      padding: 12px 14px;
      border: 1px solid #C9D4F2;
      border-radius: 12px;
      background: #fff;
      color: var(--text);
      font: inherit;
      font-size: 15px;
      transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
    }

    .ca-field textarea { resize: vertical; min-height: 84px; }
    .ca-field input::placeholder, .ca-field textarea::placeholder { color: #6B7A99; }

    .ca-field input:focus, .ca-field textarea:focus, .ca-field select:focus {
      outline: none;
      border-color: var(--blue);
      box-shadow: 0 0 0 3px rgba(27, 79, 216, .15);
    }

    .ca-field.has-error input, .ca-field.has-error textarea, .ca-field.has-error select, .ca-field.has-error .ca-drop { border-color: #C62828; }

    /* custom arrow so the select matches the text inputs */
    .ca-field select {
      appearance: none;
      -webkit-appearance: none;
      padding-right: 40px;
      cursor: pointer;
      background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B4FD8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px;
    }
    .ca-err { margin: 0; font-size: 13px; color: #C62828; }
    .ca-err:empty { display: none; }

    /* resume drop zone: the real file input covers it, so click and drop both work */
    .ca-drop {
      position: relative;
      display: grid;
      justify-items: center;
      gap: 4px;
      padding: 20px 16px;
      border: 1.5px dashed #AFC0EA;
      border-radius: 14px;
      background: #F8FAFF;
      text-align: center;
      cursor: pointer;
      transition: border-color .2s var(--ease), background .2s var(--ease);
    }

    .ca-drop input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
    .ca-drop i { font-size: 26px; color: var(--blue); }
    .ca-drop-text { font-size: 14.5px; color: var(--text); font-weight: 500; overflow-wrap: anywhere; }
    .ca-drop-text b { color: var(--blue); }
    .ca-drop-hint { font-size: 13px; color: var(--muted); }
    .ca-change { margin-left: 4px; font-size: 13px; color: var(--muted); text-decoration: underline; }
    .ca-drop:hover, .ca-drop.is-over { border-color: var(--blue); background: var(--blue-pale); }
    .ca-drop.has-file { border-style: solid; border-color: #2E9E5B; background: #F2FBF5; }
    .ca-drop.has-file i { color: #2E9E5B; }
    .ca-drop:focus-within { outline: 2px solid var(--blue); outline-offset: 2px; }

    .ca-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; line-height: 1.5; color: var(--muted); cursor: pointer; }
    .ca-consent input { flex: none; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--blue); }
    .ca-consent a { color: var(--blue); font-weight: 600; }
    .ca-consent + .ca-err { margin-top: -10px; }

    .ca-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

    .ca-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 4px; }
    .ca-submit { border: 0; cursor: pointer; font-family: inherit; }
    .ca-submit:disabled { opacity: .7; cursor: progress; transform: none; }
    .ca-status { margin: 0; font-size: 14px; color: var(--muted); }
    .ca-status:empty { display: none; }
    .ca-status.is-error { color: #C62828; }
    .ca-status a { color: inherit; font-weight: 700; }
    .ca-status-detail { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); }

    .ca-spin { animation: ca-spin 1s linear infinite; }
    @keyframes ca-spin { to { transform: rotate(360deg); } }

    .ca-done { display: grid; justify-items: center; gap: 12px; padding: 16px 0 4px; text-align: center; outline: none; }
    .ca-done p { margin: 0 0 8px; max-width: 42ch; font-size: 15.5px; line-height: 1.6; color: var(--muted); }
    .ca-done b { color: var(--navy); }

    .ca-done-icon {
      display: grid;
      place-items: center;
      width: 64px;
      height: 64px;
      border-radius: 999px;
      background: #E7F7EE;
      color: #2E9E5B;
      font-size: 30px;
    }

    @media (max-width: 640px) {
      .cr-row { flex-wrap: wrap; gap: 12px; padding: 18px; }
      /* bars can strand at a line start when facts wrap: use gaps instead */
      .cr-row-meta { gap: 2px 14px; }
      .cr-row-meta span + span::before { display: none; }
      .cr-row-apply { height: 40px; padding: 0 16px; font-size: 14px; }
      .ca-grid { grid-template-columns: 1fr; }
    }

    @media (prefers-reduced-motion: reduce) {
      .cr-row, .cr-row-apply, .cr-row-apply i { transition: none; }
      .ca-spin { animation: none; }
    }

    /* Hiring process: connected timeline */
    .cr-process-lead { margin: 0; font-size: 16.5px; line-height: 1.6; color: var(--muted); }

    .cr-process {
      position: relative;
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 24px;
      margin: 0;
      padding: 0;
      list-style: none;
    }

    /* the line joining each step icon to the next one */
    .cr-process li:not(:last-child)::after {
      content: '';
      position: absolute;
      top: 27px;
      left: 64px;
      right: -16px;
      height: 2px;
      background: linear-gradient(90deg, var(--blue), var(--brand-cyan));
      opacity: .35;
    }

    .cr-process li { position: relative; }

    .cr-step-icon {
      display: grid;
      place-items: center;
      width: 56px;
      height: 56px;
      margin-bottom: 20px;
      border-radius: 999px;
      background: #fff;
      border: 2px solid var(--blue);
      color: var(--blue);
      font-size: 24px;
    }

    .cr-process h3 {
      margin: 0 0 8px;
      font-size: 19px;
      font-weight: 800;
      color: var(--navy);
    }

    .cr-process p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }

    /* Closing band */
    .cr-cta-sec { padding: 0 0 clamp(56px, 8vw, 96px); }

    /* centred copy between two robots standing at the bottom corners */
    .cr-cta {
      position: relative;
      overflow: hidden;
      isolation: isolate;
      padding: clamp(48px, 6vw, 80px) clamp(24px, 4vw, 48px);
      border-radius: 20px;
      text-align: center;
      background:
        radial-gradient(42% 70% at 50% 0%, rgba(10, 196, 214, .24), rgba(10, 196, 214, 0) 70%),
        radial-gradient(30% 60% at 0% 100%, rgba(27, 79, 216, .35), rgba(27, 79, 216, 0) 70%),
        radial-gradient(30% 60% at 100% 100%, rgba(27, 79, 216, .35), rgba(27, 79, 216, 0) 70%),
        linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
      color: #fff;
    }

    /* faint dot grid for texture */
    .cr-cta::before {
      content: '';
      position: absolute;
      inset: 0;
      z-index: -1;
      background-image: radial-gradient(circle, rgba(255, 255, 255, .08) 1px, transparent 1px);
      background-size: 24px 24px;
      -webkit-mask-image: radial-gradient(60% 80% at 50% 40%, #000, transparent);
      mask-image: radial-gradient(60% 80% at 50% 40%, #000, transparent);
      pointer-events: none;
    }

    .cr-cta-copy {
      position: relative;
      z-index: 1;
      max-width: 640px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .cr-cta-chip {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 20px;
      padding: 7px 14px;
      border-radius: 999px;
      border: 1px solid rgba(10, 196, 214, .35);
      background: rgba(10, 196, 214, .1);
      color: var(--brand-cyan);
      font-size: 13px;
      font-weight: 700;
    }

    .cr-cta-chip i { font-size: 16px; }

    .cr-cta h2 {
      margin: 0 0 16px;
      font-size: clamp(28px, 3.6vw, 44px);
      font-weight: 800;
      letter-spacing: -.03em;
      line-height: 1.12;
      text-wrap: balance;
    }

    .cr-cta h2 span { color: var(--brand-cyan); }

    .cr-cta p {
      margin: 0 0 30px;
      max-width: 44ch;
      font-size: 17px;
      line-height: 1.6;
      color: rgba(255, 255, 255, .78);
    }

    .cr-cta-btn {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      height: 48px;
      padding: 0 22px 0 24px;
      border-radius: 999px;
      background: #fff;
      color: var(--navy);
      font-size: 15px;
      font-weight: 700;
      white-space: nowrap;
      text-decoration: none;
      transition: transform .3s var(--ease), box-shadow .3s var(--ease);
    }

    .cr-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0, 0, 0, .25); }
    .cr-cta-btn:hover i { transform: translateX(3px); }
    .cr-cta-btn i { transition: transform .3s var(--ease); }
    .cr-cta-btn:active { transform: scale(.98); }
    .cr-cta-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

    .cr-cta-bot {
      position: absolute;
      bottom: -8px;
      z-index: 0;
      display: block;
      width: auto;
      height: clamp(200px, 22vw, 290px);
      filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .35));
      pointer-events: none;
    }

    .cr-cta-bot--left { left: clamp(16px, 4vw, 64px); }
    .cr-cta-bot--right { right: clamp(16px, 4vw, 64px); }

    /* not enough room beside the centred text: hide the robots */
    @media (max-width: 1100px) {
      .cr-cta-bot { display: none; }
    }

    @media (max-width: 960px) {
      .cr-hero-grid { grid-template-columns: 1fr; }
      .cr-visual { max-width: 560px; margin: 8px auto 0; }
      .cr-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .cr-cell--photo { grid-row: span 1; min-height: 280px; }
      .cr-process { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
      .cr-process li::after { display: none; }
    }

    @media (max-width: 640px) {
      .cr-hero-grid { padding: 0 16px; }
      .cr-sub { font-size: 16px; }
      .cr-bento { grid-template-columns: 1fr; }
      .cr-cell--lead { grid-column: auto; }
      .cr-role-cols { grid-template-columns: 1fr; }
      .cr-process { grid-template-columns: 1fr; }
      .cr-cta p { font-size: 16px; }
    }

    @media (prefers-reduced-motion: reduce) {
      .cr-hero-copy > *, .cr-visual, .cr-role-body { animation: none !important; }
      .cr-role-toggle, .cr-filter, .cr-cta-btn, .cr-role { transition: none; }
    }