/* =============================================================================
   RookiDroid theme — Homepage sections and shared page utilities (.container, .btn, .badge, .section)
   ============================================================================= */

/* ── Utility ───────────────────────────────────────── */
    .container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }

    .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
    .badge {
      --rd-chamfer: 4px;
      display: inline-block; font-family: var(--rd-font-mono); font-size: .7rem; font-weight: 700;
      letter-spacing: .01em; padding: 4px 10px; border-radius: 0;
      border: 1px solid var(--rd-outline); clip-path: var(--rd-chamfer-clip);
    }
    .badge--sale { background: var(--rd-danger); color: #fff; }
    .badge--free { background: var(--rd-success); color: #fff; }
    .badge--new  { background: var(--rd-primary); color: #fff; }

    /* ── Buttons ──────────────────────────────────────────
       One extra element or class on each rule keeps these ahead of the
       `.button` / `button` styles WooCommerce and plugins ship. */
    :is(a, button).btn {
      display: inline-flex; align-items: center; gap: 8px;
      font-family: var(--rd-font-body); font-weight: 700; font-size: .95rem;
      line-height: 1.2; letter-spacing: .03em;
      padding: 13px 28px; border-radius: 0; border: 2px solid transparent;
      box-shadow: none;
      clip-path: var(--rd-chamfer-clip);
      cursor: pointer; transition: var(--rd-transition);
      text-decoration: none;
    }
    :is(a, button).btn:hover { transform: translate(-1px, -1px); filter: brightness(1.08); }
    :is(a, button).btn:active { transform: translate(1px, 1px); filter: none; }
    .btn.btn--primary {
      background: var(--rd-primary); color: #fff;
      border-color: var(--rd-outline);
    }
    .btn.btn--primary:hover { background: var(--rd-primary-dark); }
    .btn.btn--primary:active { background: var(--rd-primary-active); }
    .btn.btn--outline {
      background: var(--rd-surface); color: var(--rd-text);
      border: 2px solid var(--rd-navy);
    }
    .btn.btn--outline:hover { background: var(--rd-surface-alt); color: var(--rd-primary); border: 2px solid var(--rd-navy); }
    .btn.btn--ghost { background: transparent; color: var(--rd-primary); padding: 8px 0; border: none; clip-path: none; }
    .btn.btn--ghost:hover { gap: 12px; background: transparent;  color: var(--rd-primary); transform: none; filter: none; }
    .btn.btn--sm { font-size: .85rem; padding: 9px 18px; }

    /* ── Hero ────────────────────────────────────────────── */
    .home-hero {
      position: relative; overflow: hidden;
      padding: 100px 0 86px;
      background: linear-gradient(135deg, var(--rd-surface-alt) 0%, #fff 45%, var(--rd-panel) 100%);
    }
    /* Navy panel lines across the right-hand side. */
    .home-hero::before {
      content: ''; position: absolute; top: 0; right: 0;
      width: 55%; height: 100%;
      background-image: var(--rd-panel-lines);
      background-repeat: repeat;
      opacity: .12;
      pointer-events: none;
    }
    /* Chest trim along the bottom edge. */
    .home-hero::after {
      content: ''; position: absolute; left: 0; bottom: 0;
      width: 100%; height: 6px;
      background: var(--rd-chest-trim);
      pointer-events: none;
    }
    .home-hero .container {
      display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
    }
    .home-hero__content { position: relative; z-index: 2; }
    .home-hero__tag {
      --rd-chamfer: 6px;
      display: inline-flex; align-items: center; gap: 6px;
      background: var(--rd-surface); color: var(--rd-primary);
      font-family: var(--rd-font-mono);
      font-size: .78rem; font-weight: 700; letter-spacing: .01em;
      padding: 6px 14px;
      border: 2px solid var(--rd-navy); border-left: 6px solid var(--rd-yellow);
      clip-path: var(--rd-chamfer-clip);
      margin-bottom: 14px;
    }
    .home-hero__tag svg { width: 14px; height: 14px; }
    .home-hero__title {
      font-family: var(--rd-font-display);
      letter-spacing: -0.01em; font-weight: 800;
      font-size: clamp(1.8rem, 2.8vw, 2.4rem); line-height: 1.3;
      margin: 0 0 14px; text-wrap: balance;
    }
    /* Thinner gap above the underline so it clears the next line. */
    .home-hero__title span { color: var(--rd-primary); padding-bottom: 4px; }
    .home-hero__subtitle {
      font-size: 1rem; color: var(--rd-text-secondary);
      max-width: 460px; margin-bottom: 26px; line-height: 1.6;
    }
    .home-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
    .home-hero__stats {
      display: flex; gap: 40px; margin-top: 48px;
      padding-top: 32px; border-top: 2px solid var(--rd-border);
    }
    .home-hero__stats > div { padding-left: 12px; border-left: 3px solid var(--rd-primary); }
    .home-hero__stat-value {
      font-family: var(--rd-font-display);
      letter-spacing: -0.01em; font-weight: 700;
      font-size: 1.6rem; color: var(--rd-primary);
    }
    .home-hero__stat-label {
      font-family: var(--rd-font-mono); font-size: .75rem; font-weight: 600;
      letter-spacing: .01em;
      color: var(--rd-text-muted); margin-top: 4px;
    }
    .home-hero__visual {
      position: relative; display: flex; align-items: center; justify-content: center;
    }
    .home-hero__float-card {
      position: absolute; z-index: 5; background: #fff; border-radius: 0;
      border: 2px solid var(--rd-navy);
      padding: 16px 18px 14px; box-shadow: var(--rd-shadow-hard);
      display: flex; align-items: center; gap: 10px;
      font-size: .85rem; font-weight: 600;
    }
    .home-hero__float-card--top { top: -32px; right: -16px; }
    .home-hero__float-card--bottom { bottom: -32px; left: -16px; }
    .home-hero__float-icon {
      --rd-chamfer: 6px;
      width: 38px; height: 38px; border-radius: 0;
      clip-path: var(--rd-chamfer-clip);
      display: flex; align-items: center; justify-content: center;
      font-size: 1.2rem;
    }
    .home-hero__float-icon--purple { background: var(--rd-primary-subtle); color: var(--rd-primary); }
    .home-hero__float-icon--green { background: #e8f5e9; color: var(--rd-success); }

    /* ── Section Shared ────────────────────────────────── */
    .section { padding: 90px 0; }
    .section--alt { background: var(--rd-surface-alt); border-top: 2px solid var(--rd-border-light); border-bottom: 2px solid var(--rd-border-light); }
    .section__header { text-align: center; margin-bottom: 56px; }
    .section__tag {
      display: inline-block; font-family: var(--rd-font-mono); font-size: .78rem; font-weight: 700;
 letter-spacing: .01em;
      color: var(--rd-primary); margin-bottom: 12px;
      padding-left: 10px; border-left: 4px solid var(--rd-yellow);
    }
    .section__title {
      font-family: var(--rd-font-display);
      letter-spacing: -0.01em; font-weight: 700;
      font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 14px;
 line-height: 1.2;
    }
    .section__subtitle {
      font-size: 1.05rem; color: var(--rd-text-secondary);
      max-width: 560px; margin: 0 auto;
    }

    /* ── Category Cards ────────────────────────────────── */
    .categories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .cat-card {
      background: var(--rd-surface); border: 2px solid var(--rd-navy);
      border-radius: 0; padding: 38px 28px 32px;
      box-shadow: var(--rd-shadow-hard);
      text-align: center; transition: var(--rd-transition);
      position: relative; overflow: hidden;
    }
    .cat-card:hover {
      border-color: var(--rd-primary);
      box-shadow: var(--rd-shadow-hover);
      transform: translate(-2px, -2px);
    }
    .cat-card__icon {
      width: 64px; height: 64px; border-radius: 0;
      clip-path: var(--rd-chamfer-clip);
      background: var(--rd-primary-subtle); color: var(--rd-primary);
      box-shadow: inset 0 -4px 0 var(--rd-primary);
      display: inline-flex; align-items: center; justify-content: center;
      font-size: 1.8rem; margin-bottom: 20px;
    }
    .cat-card__title {
      font-family: var(--rd-font-display);
      letter-spacing: -0.01em; font-weight: 700;
      font-size: 1.15rem;
      margin-bottom: 10px;
    }
    .cat-card__desc { font-size: .9rem; color: var(--rd-text-secondary); margin-bottom: 18px; line-height: 1.6; }
    .cat-card__count {
      font-family: var(--rd-font-mono);
      font-size: .78rem; font-weight: 700; letter-spacing: .04em; color: var(--rd-primary);
    }

    /* ── Product Grid ──────────────────────────────────── */
    .product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
    .product-card {
      background: var(--rd-surface); border: 2px solid var(--rd-navy);
      border-radius: 0; overflow: hidden;
      box-shadow: var(--rd-shadow-hard);
      transition: var(--rd-transition); position: relative;
    }
    .product-card:hover {
      border-color: var(--rd-primary);
      box-shadow: var(--rd-shadow-hover);
      transform: translate(-2px, -2px);
    }
    .product-card__badges {
      position: absolute; top: 14px; left: 12px; z-index: 2;
      display: flex; gap: 6px;
    }
    .product-card__image {
      aspect-ratio: 1; background: var(--rd-surface-alt);
      border-bottom: 2px solid var(--rd-navy);
      display: flex; align-items: center; justify-content: center;
      overflow: hidden; position: relative;
    }
    .product-card__image-placeholder {
      font-size: 3rem; opacity: .25; color: var(--rd-primary);
    }
    .product-card__overlay {
      position: absolute; inset: 0;
      background: rgba(156,39,176,.06);
      opacity: 0; transition: var(--rd-transition);
      display: flex; align-items: center; justify-content: center;
    }
    .product-card:hover .product-card__overlay { opacity: 1; }
    .product-card__body { padding: 18px; }
    .product-card__category {
      font-family: var(--rd-font-mono);
      font-size: .72rem; font-weight: 600;
      letter-spacing: .01em; color: var(--rd-primary); margin-bottom: 6px;
    }
    .product-card__title {
      font-weight: 600; font-size: .95rem; margin-bottom: 10px;
      line-height: 1.4;
    }
    .product-card__price { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
    .product-card__price-current {
      font-family: var(--rd-font-mono); font-weight: 700;
      font-size: 1.1rem; color: var(--rd-primary);
    }
    .product-card__price-original {
      font-family: var(--rd-font-mono);
      font-size: .85rem; color: var(--rd-text-muted);
      text-decoration: line-through;
    }
    .product-card__action { width: 100%; }

    /* ── Tabs ───────────────────────────────────────────── */
    .tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 40px; flex-wrap: wrap; }
    .tab-btn {
      font-family: var(--rd-font-body); font-size: .88rem; font-weight: 700;
      letter-spacing: .02em;
      padding: 9px 22px; border-radius: 0; border: 2px solid var(--rd-navy);
      clip-path: var(--rd-chamfer-clip);
      background: var(--rd-surface); color: var(--rd-text-secondary);
      cursor: pointer; transition: var(--rd-transition);
    }
    .tab-btn:hover { border-color: var(--rd-navy); color: var(--rd-text); background: var(--rd-surface-alt); }
    .tab-btn--active {
      background: var(--rd-primary); color: #fff;
      border-color: var(--rd-outline);
    }

    /* ── About / Story ─────────────────────────────────── */
    .about-grid {
      display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
    }
    .about__image {
      border-radius: 0; overflow: hidden;
      border: 4px solid var(--rd-primary);
      background: var(--rd-primary-subtle); aspect-ratio: 4/3;
      display: flex; align-items: center; justify-content: center;
      box-shadow: var(--rd-shadow-lg);
    }
    .about__image-placeholder { font-size: 4rem; opacity: .3; color: var(--rd-primary); }
    .about__tag {
      display: inline-block; font-family: var(--rd-font-mono); font-size: .78rem; font-weight: 700;
 letter-spacing: .01em;
      color: var(--rd-primary); margin-bottom: 12px;
      padding-left: 10px; border-left: 4px solid var(--rd-yellow);
    }
    .about__title {
      font-family: var(--rd-font-display);
      letter-spacing: -0.01em; font-weight: 700;
      font-size: 1.8rem;
      margin-bottom: 18px; line-height: 1.25;
    }
    .about__text { color: var(--rd-text-secondary); margin-bottom: 16px; line-height: 1.75; }
    .about__highlights { display: flex; gap: 24px; margin-top: 28px; }
    .about__highlight {
      display: flex; align-items: center; gap: 10px;
      font-size: .9rem; font-weight: 600;
    }
    .about__highlight-icon {
      --rd-chamfer: 6px;
      width: 36px; height: 36px; border-radius: 0;
      clip-path: var(--rd-chamfer-clip);
      background: var(--rd-primary-subtle); color: var(--rd-primary);
      display: flex; align-items: center; justify-content: center;
    }

    /* ── Custom Gadgets CTA ────────────────────────────── */
    /* A purple armour plate, framed in navy, with the trim along its top. */
    .custom-cta {
      position: relative;
      background: var(--rd-primary);
      border: 2px solid var(--rd-outline);
      box-shadow: var(--rd-shadow-lg);
      border-radius: 0; padding: 64px; color: #fff;
      display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
    }
    .custom-cta::before {
      content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 6px;
      background: var(--rd-chest-trim);
      background-color: var(--rd-navy);
      pointer-events: none;
    }
    .custom-cta__title {
      font-family: var(--rd-font-display);
      letter-spacing: -0.01em; font-weight: 700;
      font-size: clamp(1.5rem, 2.5vw, 2rem);
      line-height: 1.25; margin-bottom: 16px;
    }
    .custom-cta__text { opacity: .9; margin-bottom: 28px; line-height: 1.7; }
    .custom-cta__items { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    .custom-cta__item {
      background: rgba(255,255,255,.12); border-radius: 0;
      clip-path: var(--rd-chamfer-clip);
      padding: 20px; text-align: center;
      border: 2px solid rgba(255,255,255,.25);
    }
    .custom-cta__item-icon { font-size: 1.8rem; margin-bottom: 8px; }
    .custom-cta__item-label { font-family: var(--rd-font-mono); font-size: .8rem; font-weight: 600; letter-spacing: .04em; }
    .btn.btn--white { background: #fff; color: var(--rd-primary); border-color: var(--rd-outline); }
    .btn.btn--white:hover { background: var(--rd-primary-subtle); color: var(--rd-primary); border-color: var(--rd-outline); }

    /* ── Testimonials / Social Proof ────────────────────── */
    .social-row {
      display: flex; justify-content: center; gap: 48px; flex-wrap: wrap;
      padding: 32px 0;
    }
    .social-item {
      display: flex; align-items: center; gap: 12px;
      font-size: .92rem; color: var(--rd-text-secondary);
    }
    .social-item svg { width: 28px; height: 28px; color: var(--rd-text-muted); }

    /* ── Newsletter ─────────────────────────────────────── */
    .newsletter {
      text-align: center; max-width: 540px; margin: 0 auto;
    }
    .newsletter__form {
      display: flex; gap: 10px; margin-top: 24px;
    }
    .newsletter__input {
      flex: 1; padding: 14px 18px; border: 2px solid var(--rd-border);
      border-radius: 0; font-family: var(--rd-font-mono);
      font-size: .95rem; font-weight: 600; transition: var(--rd-transition);
      background: var(--rd-surface-alt);
      box-shadow: inset 2px 2px 0 rgba(0,0,0,.05);
    }
    .newsletter__input:focus {
      outline: none; border-color: var(--rd-primary);
      background: var(--rd-surface);
      box-shadow: inset 2px 2px 0 rgba(0,0,0,.05), var(--rd-shadow-glow);
    }

    /* ── Build Process Band ────────────────── */
    .proc-panel {
      background: var(--rd-surface-alt);
      border: 2px solid var(--rd-navy);
      box-shadow: var(--rd-shadow-hard);
      border-radius: 0;
      padding: 52px 44px 48px;
    }
    .proc {
      display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
      position: relative;
    }
    /* Dashed navy conduit linking the four stations. */
    .proc::before {
      content: ''; position: absolute; top: 31px; left: 12%; right: 12%;
      height: 2px; z-index: 0;
      background: repeating-linear-gradient(90deg, var(--rd-navy) 0 10px, transparent 10px 16px);
    }
    .proc__step { position: relative; z-index: 1; text-align: center; }
    .proc__icon {
      --rd-chamfer: 12px;
      width: 64px; height: 64px; border-radius: 0;
      clip-path: var(--rd-chamfer-clip);
      background: var(--rd-surface); color: var(--rd-primary);
      border: 2px solid var(--rd-navy);
      box-shadow: inset 0 -4px 0 var(--rd-primary);
      display: flex; align-items: center; justify-content: center;
      margin: 0 auto 18px;
    }
    .proc__icon svg { width: 26px; height: 26px; }
    .proc__n {
      font-family: var(--rd-font-mono);
      font-size: .72rem; font-weight: 700; letter-spacing: .01em;
 color: var(--rd-text-muted); margin-bottom: 6px;
    }
    .proc__title {
      font-family: var(--rd-font-display);
      letter-spacing: -0.01em; font-weight: 700;
      font-size: 1.08rem;
      margin: 0 0 10px;
    }
    .proc__desc { font-size: .9rem; color: var(--rd-text-secondary); line-height: 1.65; margin: 0 0 16px; }
    .proc__meta { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
    .proc__meta li {
      --rd-chamfer: 4px;
      font-family: var(--rd-font-mono);
      font-size: .7rem; font-weight: 600; color: var(--rd-primary);
      background: var(--rd-surface); border: 1px solid var(--rd-border);
      clip-path: var(--rd-chamfer-clip);
      border-radius: 0; padding: 4px 11px;
    }

    /* ── Build Guide Links ─────────────────── */
    .build-links {
      display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
      gap: 10px; margin-top: 40px;
    }
    .build-links__label {
      font-family: var(--rd-font-mono);
      font-size: .75rem; font-weight: 700; letter-spacing: .01em;
 color: var(--rd-text-muted); margin-right: 4px;
    }
    .build-links__item {
      font-size: .88rem; font-weight: 700; color: var(--rd-primary);
      text-decoration: none; background: var(--rd-surface);
      border: 2px solid var(--rd-navy); border-radius: 0;
      clip-path: var(--rd-chamfer-clip);
      padding: 8px 16px; transition: var(--rd-transition);
    }
    .build-links__item:hover {
      border-color: var(--rd-navy);
      background: var(--rd-surface-alt);
      transform: translate(-1px, -1px);
    }
    .build-links__item--ghost {
      background: transparent; border-color: transparent; color: var(--rd-text-secondary);
      clip-path: none;
    }
    .build-links__item--ghost:hover {
      background: transparent; border-color: transparent;
      color: var(--rd-primary); transform: none;
    }

    /* Build guide links under the hero buttons */
    .home-hero__guides { justify-content: flex-start; margin-top: 28px; }

    /* ── Hexapod Link app promo ────────────── */
    .app-promo {
      display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center;
    }
    /* The app's own window: navy frame, chest trim along the top, a title bar. */
    .app-promo__media {
      position: relative;
      background: var(--rd-navy);
      border: 2px solid var(--rd-outline);
      box-shadow: var(--rd-shadow-lg);
      padding: 6px 0 0;
    }
    .app-promo__media::before {
      content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 6px;
      background: var(--rd-chest-trim);
      background-color: var(--rd-navy);
      pointer-events: none;
    }
    .app-promo__bar {
      display: flex; justify-content: space-between; align-items: center; gap: 12px;
      padding: 8px 14px;
      font-family: var(--rd-font-mono); font-size: .72rem; font-weight: 700;
      letter-spacing: .04em; color: #fff;
    }
    .app-promo__live { display: inline-flex; align-items: center; gap: 6px; color: var(--rd-yellow); }
    .app-promo__live::before {
      content: ''; width: 8px; height: 8px; background: var(--rd-success);
      box-shadow: 0 0 0 2px rgba(22,163,74,.35);
    }
    .app-promo__media img { display: block; width: 100%; height: auto; }
    .app-promo__title {
      font-family: var(--rd-font-display);
      letter-spacing: -0.01em; font-weight: 700;
      font-size: clamp(1.6rem, 3vw, 2.4rem);
      line-height: 1.2; margin-bottom: 16px;
    }
    .app-promo__text { color: var(--rd-text-secondary); line-height: 1.75; margin-bottom: 20px; }
    .app-promo__list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
    .app-promo__list li {
      position: relative; padding-left: 22px;
      font-size: .93rem; color: var(--rd-text-secondary); line-height: 1.55;
    }
    .app-promo__list li::before {
      content: ''; position: absolute; left: 0; top: .5em;
      width: 10px; height: 10px; background: var(--rd-primary);
      clip-path: polygon(30% 0, 100% 0, 100% 70%, 70% 100%, 0 100%, 0 30%);
    }
    .app-promo__list strong { color: var(--rd-text); }
    .app-promo__meta { justify-content: flex-start; margin-bottom: 28px; }
    .app-promo__actions { display: flex; flex-wrap: wrap; gap: 12px; }

    /* ── Responsive ─────────────────────────────────────── */
    @media (max-width: 1024px) {
      .home-hero .container { grid-template-columns: 1fr; text-align: center; }
      .home-hero__subtitle { margin: 0 auto 26px; }
      .home-hero__actions { justify-content: center; }
      .home-hero__guides { justify-content: center; }
      .home-hero__stats { justify-content: center; }
      .home-hero__visual { order: -1; max-width: 480px; margin: 0 auto; }
      .home-hero__float-card--top { top: -16px; right: 8px; }
      .home-hero__float-card--bottom { bottom: -32px; left: 8px; }
      .categories { grid-template-columns: 1fr 1fr; }
      .proc { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
      .proc::before { display: none; }
      .proc-panel { padding: 40px 28px; }
      .product-grid { grid-template-columns: repeat(2, 1fr); }
      .about-grid { grid-template-columns: 1fr; }
      .app-promo { grid-template-columns: 1fr; gap: 40px; }
      .custom-cta { grid-template-columns: 1fr; padding: 40px 28px; }
      .footer-grid { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 640px) {
      .categories { grid-template-columns: 1fr; }
      .proc { grid-template-columns: 1fr; gap: 36px; }
      .build-links__label { width: 100%; text-align: center; margin: 0 0 4px; }
      .product-grid { grid-template-columns: 1fr; }
      .home-hero__stats { flex-direction: column; gap: 20px; }
      .home-hero__stats > div { border-left: none; padding-left: 0; }
      .custom-cta__items { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: 1fr; }
      .newsletter__form { flex-direction: column; }
      .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
    }

    /* ── Nav Mobile Overlay ─────────────────────────────── */
    .mobile-nav {
      display: none; position: fixed; inset: 0; z-index: 200;
      background: rgba(15,26,48,.45); backdrop-filter: blur(4px);
    }
    .mobile-nav.is-open { display: block; }
    .mobile-nav__panel {
      position: absolute; top: 0; right: 0;
      width: 280px; height: 100%; background: #fff;
      border-left: 4px solid var(--rd-primary);
      padding: 24px; box-shadow: -4px 0 16px rgba(15,26,48,.2);
    }
    .mobile-nav__close {
      background: none; border: none; font-size: 1.4rem;
      cursor: pointer; float: right; color: var(--rd-text);
    }
    .mobile-nav__links { margin-top: 48px; }
    .mobile-nav__links a {
      display: block; padding: 14px 0; font-size: 1.05rem;
      font-weight: 600; border-bottom: 1px solid var(--rd-border-light);
      color: var(--rd-text-secondary);
    }
    .mobile-nav__links a:hover { color: var(--rd-primary); }

    /* ── Hero Slider ────────────────────────────────── */
    /* The slider is the hero's monitor: a purple frame with HUD targeting
       brackets in its four corners. */
    .home-hero__slider {
      position: relative; border-radius: 0;
      border: 4px solid var(--rd-primary);
      overflow: hidden; box-shadow: var(--rd-shadow-lg);
      aspect-ratio: 4 / 3; width: 100%;
      background: var(--rd-primary-subtle);
    }
    .home-hero__slider::after {
      --hud: rgba(255, 255, 255, .85);
      --arm: 18px;
      content: '';
      position: absolute;
      inset: 10px;
      z-index: 3;
      pointer-events: none;
      background:
        linear-gradient(var(--hud), var(--hud)) top left / var(--arm) 2px,
        linear-gradient(var(--hud), var(--hud)) top left / 2px var(--arm),
        linear-gradient(var(--hud), var(--hud)) top right / var(--arm) 2px,
        linear-gradient(var(--hud), var(--hud)) top right / 2px var(--arm),
        linear-gradient(var(--hud), var(--hud)) bottom left / var(--arm) 2px,
        linear-gradient(var(--hud), var(--hud)) bottom left / 2px var(--arm),
        linear-gradient(var(--hud), var(--hud)) bottom right / var(--arm) 2px,
        linear-gradient(var(--hud), var(--hud)) bottom right / 2px var(--arm);
      background-repeat: no-repeat;
    }
    .home-hero__slides {
      display: flex; width: 100%; height: 100%;
      transition: transform .5s cubic-bezier(.4,0,.2,1);
    }
    .home-hero__slide {
      min-width: 100%; height: 100%; flex-shrink: 0;
      position: relative;
    }
    .home-hero__slide img {
      width: 100%; height: 100%; object-fit: cover; display: block;
    }
    .home-hero__slide-caption {
      position: absolute; bottom: 0; left: 0; right: 0;
      padding: 14px 18px;
      background: linear-gradient(to top, rgba(15,26,48,.6) 0%, transparent 100%);
      color: #fff; font-family: var(--rd-font-mono); font-size: .78rem; font-weight: 600;
      letter-spacing: .04em;
    }
    .home-hero__slider-btn {
      /* Layout */
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      z-index: 4;
      /* Size & shape */
      width: 38px;
      height: 38px;
      min-width: 0;
      min-height: 0;
      padding: 0;
      margin: 0;
      border: 2px solid var(--rd-navy);
      border-radius: 0;
      clip-path: var(--rd-chamfer-clip);
      outline: none;
      -webkit-appearance: none;
      appearance: none;
      /* Visual */
      background: rgba(255,255,255,.92);
      color: var(--rd-primary);
      box-shadow: none;
      /* Content */
      display: flex;
      align-items: center;
      justify-content: center;
      line-height: 1;
      font-size: 0;
      cursor: pointer;
      transition: var(--rd-transition);
    }
    .home-hero__slider-btn svg {
      width: 18px;
      height: 18px;
      flex-shrink: 0;
      display: block;
    }
    .home-hero__slider-btn:hover {
      background: #fff;
      filter: brightness(1.05);
      transform: translateY(-50%) translate(-1px, -1px);
    }
    .home-hero__slider-btn--prev { left: 14px; }
    .home-hero__slider-btn--next { right: 14px; }
    .home-hero__dots {
      position: absolute; bottom: 14px; left: 50%;
      transform: translateX(-50%);
      display: flex; gap: 6px; z-index: 4;
    }
    .home-hero__dot {
      width: 12px; height: 4px; border-radius: 0;
      background: rgba(255,255,255,.5); border: none;
      cursor: pointer; padding: 0; transition: var(--rd-transition);
    }
    .home-hero__dot--active { background: var(--rd-yellow); width: 24px; }
    /* Float card text fade */
    .home-hero__float-label, .home-hero__float-sub {
      transition: opacity .25s ease, transform .25s ease;
    }
    .home-hero__float-card--fading .home-hero__float-label,
    .home-hero__float-card--fading .home-hero__float-sub {
      opacity: 0; transform: translateY(-4px);
    }



/* ── Phones: headline and call to action first, slider after ──
   With the slider on top, a 375 px screen showed no headline above the
   fold. */
@media (max-width: 640px) {
  .home-hero { padding: 44px 0 64px; }
  .home-hero__visual { order: 0; margin-top: 48px; width: 100%; }
  .home-hero__stats { flex-direction: row; justify-content: center; gap: 28px; }
}
