*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --base: #FDFCF8;
    --cream: #F5F1E8;
    --cream2: #EDE8DC;
    --card: #FFFFFF;
    --border: rgba(0,0,0,0.08);
    --text: #0A1628;
    --dark: #0A1628;
    --mid: #1E2D45;
    --muted: #637383;
    --yellow: #FFB800;
    --yellow-dark: #E6A000;
    --yellow-light: #FFF6D6;
    --orange: #FF6B2B;
    --blue: #1A5FA8;
  }

  html { scroll-behavior: smooth; background: #05080F; overflow-x: hidden; }

  body {
    background: transparent;
    color: var(--text);
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
  }

  #hero, #about, #charter, #road-spacer { background: transparent; }

  /* ── CANVAS ── */
  #bus-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
  }

  /* ── NAV ── */
  nav {
    position: fixed;
    top: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    /* expanded hero state */
    width: min(calc(100vw - 4rem), 1400px);
    padding: 0.9rem 1.5rem;
    background: rgba(10, 22, 40, 0.45);
    backdrop-filter: blur(12px) saturate(1.4);
    -webkit-backdrop-filter: blur(12px) saturate(1.4);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.2);
    transition:
      width 0.7s cubic-bezier(0.4,0,0.2,1),
      padding 0.7s cubic-bezier(0.4,0,0.2,1),
      border-radius 0.7s cubic-bezier(0.4,0,0.2,1),
      background 0.7s ease,
      backdrop-filter 0.7s ease,
      box-shadow 0.7s ease,
      border-color 0.7s ease;
  }

  /* collapsed pill state — applied via JS */
  nav.nav-collapsed {
    width: min(780px, calc(100vw - 2rem));
    padding: 0.6rem 0.7rem 0.6rem 1.4rem;
    background: rgba(10, 22, 40, 0.82);
    backdrop-filter: blur(24px) saturate(1.6);
    -webkit-backdrop-filter: blur(24px) saturate(1.6);
    border-color: rgba(255,184,0,0.25);
    border-radius: 100px;
    box-shadow:
      0 0 0 1px rgba(255,184,0,0.08),
      0 0 18px 4px rgba(255,184,0,0.18),
      0 0 48px 12px rgba(255,184,0,0.08),
      0 8px 32px rgba(0,0,0,0.4),
      0 1px 0 rgba(255,255,255,0.06) inset;
  }

  .nav-logo {
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--yellow);
    text-decoration: none;
    white-space: nowrap;
  }
  .nav-logo span { color: #fff; }

  .nav-links { display: flex; gap: 0.25rem; list-style: none; }
  .nav-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.45rem 0.9rem;
    border-radius: 100px;
    transition: color 0.2s, background 0.2s;
  }
  .nav-links a:hover { color: #fff; background: rgba(255,255,255,0.08); }

  .nav-actions { display: flex; gap: 0.5rem; align-items: center; }

  .btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    color: rgba(255,255,255,0.8);
    padding: 0.55rem 1.2rem;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
    text-decoration: none;
    white-space: nowrap;
  }
  .btn-ghost:hover { border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.14); color: #fff; }

  .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--yellow);
    color: #000;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 100px;
    font-size: 0.88rem;
    white-space: nowrap;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    text-decoration: none;
    letter-spacing: -0.01em;
  }
  .btn-primary:hover {
    background: var(--yellow-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255,184,0,0.35);
  }

  section { position: relative; z-index: 10; }

  /* ── HERO ── */
  #hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8rem 5rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    will-change: opacity, transform;
  }

  .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,184,0,0.15);
    border: 1.5px solid rgba(255,184,0,0.5);
    color: var(--yellow);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    margin-bottom: 2rem;
    width: fit-content;
  }

  .hero-title {
    font-size: clamp(3rem, 7vw, 6.5rem);
    font-weight: 900;
    line-height: 0.97;
    letter-spacing: -0.04em;
    max-width: 820px;
    margin-bottom: 1.8rem;
    color: #ffffff;
  }

  .hero-title em {
    font-style: normal;
    background: linear-gradient(135deg, var(--yellow-dark) 0%, var(--orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.75);
    max-width: 460px;
    line-height: 1.75;
    margin-bottom: 2.8rem;
    font-weight: 400;
  }

  .hero-cta { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }

  .btn-large {
    padding: 1rem 2.4rem;
    font-size: 1rem;
    border-radius: 100px;
    font-weight: 800;
    line-height: 1;
  }

  .hero-cta .btn-primary,
  .hero-cta .btn-ghost {
    padding: 0 2.4rem;
    height: 52px;
    font-size: 1rem;
    font-weight: 800;
    border-radius: 100px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .hero-cta .btn-primary { border: none; }
  .hero-cta .btn-ghost   { display: none; }

  .hero-scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
    animation: bounce 2s ease-in-out infinite;
  }

  .scroll-arrow {
    width: 18px; height: 18px;
    border-right: 2px solid var(--yellow-dark);
    border-bottom: 2px solid var(--yellow-dark);
    transform: rotate(45deg);
    opacity: 0.7;
  }

  @keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(7px); }
  }

  /* ── ROAD SPACER ── */
  #road-spacer { height: 420vh; background: transparent; }

  /* ── STATS ── */
  #stats {
    padding: 5rem 4rem;
    background: var(--text);
  }

  .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
  }

  .stat-card {
    padding: 2.5rem 2rem;
    border-right: 1px solid rgba(255,255,255,0.1);
  }
  .stat-card:last-child { border-right: none; }

  .stat-number {
    font-size: 3.8rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 1;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--yellow), var(--orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .stat-label {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
  }

  /* ── ABOUT ── */
  #about {
    background: #0A1628;
    padding: 0;
    overflow: hidden;
  }

  .about-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 5rem 6rem;
  }

  .about-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
    margin-bottom: 6rem;
  }

  .about-top .section-eyebrow {
    background: rgba(255,184,0,0.12);
    border-color: rgba(255,184,0,0.25);
    color: var(--yellow);
  }

  .about-top .section-title {
    color: #fff;
    font-size: clamp(2.2rem, 4vw, 3.6rem);
  }

  .about-top .section-body {
    color: rgba(255,255,255,0.55);
    font-size: 1.05rem;
  }

  .about-quote {
    border-left: 3px solid var(--yellow);
    padding: 1.2rem 1.8rem;
    margin-top: 2.5rem;
    background: rgba(255,184,0,0.06);
    border-radius: 0 12px 12px 0;
  }
  .about-quote p {
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
    font-style: italic;
  }
  .about-quote cite {
    display: block;
    margin-top: 0.7rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--yellow);
    font-style: normal;
  }

  .about-right {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 3.5rem;
  }

  .about-pill {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 1.1rem 1.4rem;
    transition: background 0.2s, border-color 0.2s;
  }
  .about-pill:hover {
    background: rgba(255,184,0,0.07);
    border-color: rgba(255,184,0,0.2);
  }
  .about-pill-icon {
    font-size: 1.4rem;
    width: 44px; height: 44px;
    background: rgba(255,184,0,0.1);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
  }
  .about-pill-text strong {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    color: #fff;
  }
  .about-pill-text span {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.45);
  }

  .about-stats {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 4rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }

  .about-stat {
    padding: 2rem;
    border-right: 1px solid rgba(255,255,255,0.08);
    text-align: center;
  }
  .about-stat:last-child { border-right: none; }

  .about-stat-num {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    color: var(--yellow);
    line-height: 1;
    margin-bottom: 0.5rem;
  }
  .about-stat-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }

  .section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #7A5000;
    margin-bottom: 1.2rem;
    background: var(--yellow-light);
    border: 1px solid rgba(255,184,0,0.35);
    padding: 0.35rem 0.9rem;
    border-radius: 100px;
    width: fit-content;
  }

  .section-title {
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text);
  }

  .section-body {
    color: var(--muted);
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
  }

  .feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-top: 1.8rem;
  }

  .feature-list li {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    font-size: 0.95rem;
    color: var(--text);
    font-weight: 500;
  }

  .feature-list li::before {
    content: '✓';
    width: 24px; height: 24px;
    border-radius: 50%;
    background: var(--yellow-light);
    border: 1.5px solid rgba(255,184,0,0.4);
    color: #7A5000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 900;
    flex-shrink: 0;
  }

  .about-badge-value {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--text);
    letter-spacing: -0.02em;
    line-height: 1.2;
  }

  /* ── NETWORK MAP ── */
  #network {
    background: var(--base);
    padding: 7rem 2rem;
    text-align: center;
    overflow: hidden;
  }
  #network .section-eyebrow { margin: 0 auto 1.2rem; }
  #network .section-title { margin-bottom: 0.6rem; }
  #network .section-body { max-width: 480px; margin: 0 auto 3.5rem; }

  .network-map {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 520px;
    margin: 0 auto;
  }

  .network-svg {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    overflow: visible;
  }
  .net-line {
    fill: none;
    stroke: #CBD5E1;
    stroke-width: 1.8;
    stroke-dasharray: 6 5;
    stroke-dashoffset: 0;
    animation: dash-move 18s linear infinite;
  }
  .net-line.active {
    stroke: var(--yellow);
    stroke-width: 2.2;
    animation: dash-move 6s linear infinite;
  }
  @keyframes dash-move {
    to { stroke-dashoffset: -110; }
  }

  .net-node {
    position: absolute;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }
  .net-avatar {
    width: 58px; height: 58px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.13);
    font-size: 1.7rem;
    display: flex; align-items: center; justify-content: center;
    background: var(--cream);
    cursor: default;
    transition: transform 0.25s, box-shadow 0.25s;
  }
  .net-avatar:hover { transform: scale(1.15); box-shadow: 0 8px 28px rgba(0,0,0,0.18); }
  .net-avatar.hub {
    width: 76px; height: 76px;
    font-size: 2rem;
    background: var(--yellow);
    border-color: var(--yellow-dark);
    box-shadow: 0 0 0 6px rgba(255,184,0,0.2), 0 8px 24px rgba(255,184,0,0.35);
  }
  .net-name {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--muted);
    white-space: nowrap;
    background: #fff;
    padding: 2px 8px;
    border-radius: 100px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.08);
  }

  .net-card {
    position: absolute;
    transform: translate(-50%, -50%);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 0.6rem 1.1rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text);
    box-shadow: 0 4px 18px rgba(0,0,0,0.09);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    pointer-events: none;
  }
  .net-card span { font-size: 1.1rem; }

  /* ── SERVICES ── */
  #services {
    padding: 9rem 5rem;
    background: var(--cream);
    border-top: 1px solid var(--border);
  }

  .services-header {
    text-align: center;
    max-width: 580px;
    margin: 0 auto 4rem;
  }

  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
  }

  .service-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 2.2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    transition: box-shadow 0.25s, transform 0.25s;
    position: relative;
    overflow: hidden;
  }
  .service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--yellow), var(--orange));
    opacity: 0;
    transition: opacity 0.25s;
  }
  .service-card:hover {
    box-shadow: 0 16px 40px rgba(0,0,0,0.1);
    transform: translateY(-5px);
  }
  .service-card:hover::before { opacity: 1; }

  .service-icon {
    width: 52px; height: 52px;
    background: var(--yellow-light);
    border: 1.5px solid rgba(255,184,0,0.3);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
  }

  .service-title {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 0.7rem;
    letter-spacing: -0.01em;
    color: var(--text);
  }

  .service-desc {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.75;
  }

  /* ── CHARTER CTA ── */
  #charter {
    padding: 9rem 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: var(--text);
  }

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

  .charter-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(255,184,0,0.1) 0%, transparent 65%);
  }

  .charter-title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    margin-bottom: 1.2rem;
    line-height: 1.05;
    color: #FFFFFF;
  }

  .charter-body {
    color: rgba(255,255,255,0.5);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 3rem;
    font-weight: 400;
  }

  .charter-inner .btn-primary {
    background: var(--yellow);
    color: #000;
    font-size: 1rem;
  }

  /* ── CONTACT ── */
  #contact {
    padding: 9rem 5rem;
    background: var(--cream);
    border-top: 1px solid var(--border);
  }

  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
  }

  .contact-item {
    display: flex;
    gap: 1.1rem;
    align-items: flex-start;
    margin-bottom: 2rem;
  }

  .contact-icon {
    width: 46px; height: 46px;
    background: var(--yellow-light);
    border: 1.5px solid rgba(255,184,0,0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
  }

  .contact-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    margin-bottom: 0.3rem;
    font-weight: 700;
  }

  .contact-value {
    font-size: 1rem;
    color: var(--text);
    font-weight: 600;
  }

  .contact-value a { color: var(--text); text-decoration: none; transition: color 0.2s; }
  .contact-value a:hover { color: var(--yellow-dark); }

  .contact-form { display: flex; flex-direction: column; gap: 1rem; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .form-field { display: flex; flex-direction: column; gap: 0.45rem; }

  .form-field label {
    font-size: 0.78rem;
    color: var(--muted);
    letter-spacing: 0.05em;
    font-weight: 700;
    text-transform: uppercase;
  }

  .form-field input,
  .form-field textarea {
    background: var(--card);
    border: 1.5px solid var(--border);
    color: var(--text);
    padding: 0.85rem 1.1rem;
    border-radius: 14px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    resize: vertical;
    font-weight: 500;
  }
  .form-field input:focus,
  .form-field textarea:focus {
    border-color: var(--yellow);
    box-shadow: 0 0 0 3px rgba(255,184,0,0.15);
  }

  /* ── FOOTER ── */
  footer {
    position: relative;
    z-index: 10;
    padding: 2rem 3rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--base);
  }

  footer p { font-size: 0.82rem; color: var(--muted); font-weight: 500; }
  .footer-links { display: flex; gap: 2rem; list-style: none; }
  .footer-links a {
    font-size: 0.82rem;
    color: var(--muted);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
  }
  .footer-links a:hover { color: var(--yellow-dark); }

  /* word-split wrappers */
  .hw  { display: inline-block; overflow: hidden; vertical-align: bottom; }
  .hwi { display: inline-block; will-change: transform; }

  /* ── FADE-IN ── */
  .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
  }
  .reveal.visible { opacity: 1; transform: translateY(0); }

  /* ── MEGAMENU ── */
  .nav-item-has-mega {
    position: relative;
  }

  .nav-item-has-mega > a::after {
    content: '';
    display: inline-block;
    width: 0; height: 0;
    border-left: 3.5px solid transparent;
    border-right: 3.5px solid transparent;
    border-top: 4.5px solid rgba(255,255,255,0.45);
    transition: transform 0.25s ease, border-top-color 0.2s;
    vertical-align: middle;
    margin-left: 0.3rem;
  }
  .nav-item-has-mega:hover > a::after,
  .nav-item-has-mega.mega-open > a::after {
    transform: rotate(180deg);
    border-top-color: rgba(255,255,255,0.9);
  }

  .megamenu {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    width: 680px;
    background: rgba(8, 16, 32, 0.96);
    backdrop-filter: blur(28px) saturate(1.6);
    -webkit-backdrop-filter: blur(28px) saturate(1.6);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 20px;
    box-shadow:
      0 0 0 1px rgba(255,184,0,0.06),
      0 24px 60px rgba(0,0,0,0.55),
      0 8px 24px rgba(0,0,0,0.3);
    display: grid;
    grid-template-columns: 1fr 240px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.4,0,0.2,1);
    z-index: 200;
  }

  .nav-item-has-mega:hover .megamenu,
  .nav-item-has-mega.mega-open .megamenu {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }

  /* bridge gap so mouse can move to menu */
  .megamenu::before {
    content: '';
    position: absolute;
    top: -14px; left: 0; right: 0;
    height: 14px;
  }

  .mega-left {
    padding: 1.6rem 1.4rem 1.6rem 1.6rem;
  }

  .mega-section-label {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    padding: 0 0.6rem;
    margin-bottom: 0.6rem;
  }

  .mega-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.2rem;
  }

  .mega-item {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 0.8rem 0.9rem;
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.18s ease;
    cursor: pointer;
  }
  .mega-item:hover { background: rgba(255,255,255,0.06); }
  .mega-item:hover .mega-item-icon { background: rgba(255,184,0,0.2); border-color: rgba(255,184,0,0.35); }
  .mega-item:hover .mega-item-title { color: #fff; }

  .mega-item-icon {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: background 0.18s, border-color 0.18s;
  }
  .mega-item-icon svg {
    width: 16px; height: 16px;
    stroke: rgba(255,255,255,0.6);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    transition: stroke 0.18s;
  }
  .mega-item:hover .mega-item-icon svg { stroke: rgba(255,184,0,0.9); }

  .mega-item-text { min-width: 0; }

  .mega-item-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: rgba(255,255,255,0.82);
    line-height: 1.2;
    margin-bottom: 0.2rem;
    transition: color 0.18s;
  }

  .mega-item-desc {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.35);
    line-height: 1.4;
  }

  .mega-right {
    background: rgba(255,184,0,0.05);
    border-left: 1px solid rgba(255,184,0,0.1);
    padding: 1.6rem 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .mega-right-label {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: rgba(255,184,0,0.55);
    margin-bottom: 0.4rem;
  }

  .mega-highlight {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.8rem;
    border-radius: 11px;
    text-decoration: none;
    transition: background 0.18s;
    cursor: pointer;
  }
  .mega-highlight:hover { background: rgba(255,184,0,0.08); }

  .mega-highlight-icon {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255,184,0,0.12);
    border: 1px solid rgba(255,184,0,0.25);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
  }
  .mega-highlight-icon svg {
    width: 16px; height: 16px;
    stroke: rgba(255,184,0,0.85);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
  }

  .mega-highlight-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255,255,255,0.75);
    line-height: 1.3;
    margin-bottom: 0.15rem;
  }
  .mega-highlight-sub {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.3);
    line-height: 1.3;
  }

  .mega-cta {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--yellow);
    text-decoration: none;
    padding: 0.5rem 0.3rem;
    transition: gap 0.2s;
  }
  .mega-cta:hover { gap: 0.65rem; }
  .mega-cta::after { content: '→'; }

  /* ── LOGO MARQUEE ── */
  #logo-marquee {
    background: #05080F;
    padding: 4rem 0 3.5rem;
    overflow: hidden;
    position: relative;
    z-index: 10;
    border-top: 1px solid rgba(255,255,255,0.06);
  }

  .logo-marquee-label {
    text-align: center;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.22);
    margin-bottom: 2.2rem;
  }

  .logo-marquee-track {
    overflow: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  }

  .logo-marquee-inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    animation: logo-scroll 36s linear infinite;
    will-change: transform;
    flex-shrink: 0;
    width: max-content;
  }

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

  @keyframes logo-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }

  .logo-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.4rem;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    background: rgba(255,255,255,0.03);
    white-space: nowrap;
    flex-shrink: 0;
    transition: border-color 0.2s, background 0.2s;
    cursor: default;
  }
  .logo-card:hover {
    border-color: rgba(255,184,0,0.25);
    background: rgba(255,184,0,0.05);
  }

  .logo-card-badge {
    width: 34px; height: 34px;
    border-radius: 9px;
    background: rgba(255,184,0,0.12);
    border: 1px solid rgba(255,184,0,0.22);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.7rem;
    font-weight: 900;
    color: var(--yellow);
    letter-spacing: -0.02em;
    flex-shrink: 0;
  }

  .logo-card-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: rgba(255,255,255,0.5);
    letter-spacing: -0.01em;
    transition: color 0.2s;
  }
  .logo-card:hover .logo-card-name { color: rgba(255,255,255,0.85); }

  /* ── SCHOOL MARQUEE ── */
  #school-marquee {
    background: #080D18;
    padding: 0;
    overflow: hidden;
    position: relative;
    z-index: 10;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }

  .marquee-label {
    text-align: center;
    padding: 2.5rem 1rem 0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.25);
  }

  .marquee-track {
    display: flex;
    gap: 0;
    padding: 1.8rem 0 2.2rem;
    overflow: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  }

  .marquee-inner {
    display: flex;
    gap: 0;
    animation: marquee-scroll 32s linear infinite;
    will-change: transform;
    flex-shrink: 0;
  }

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

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

  .marquee-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0 3rem;
    white-space: nowrap;
    border-right: 1px solid rgba(255,255,255,0.07);
    flex-shrink: 0;
  }

  .marquee-item-icon {
    width: 32px; height: 32px;
    border-radius: 8px;
    background: rgba(255,184,0,0.12);
    border: 1px solid rgba(255,184,0,0.2);
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
  }

  .marquee-item-name {
    font-size: 0.92rem;
    font-weight: 700;
    color: rgba(255,255,255,0.55);
    letter-spacing: -0.01em;
    transition: color 0.2s;
  }

  .marquee-item:hover .marquee-item-name { color: rgba(255,255,255,0.9); }
  .marquee-item:hover .marquee-item-icon { background: rgba(255,184,0,0.2); border-color: rgba(255,184,0,0.4); }

  /* Mobile enroll button hidden on desktop */
  .nav-mobile-enroll { display: none; }

  @media (max-width: 900px) {
    /* ── No horizontal overflow on mobile (homepage only) ── */
    body.home { overflow-x: hidden; max-width: 100%; }
    body.home section { max-width: 100%; }

    /* ── Nav — stretch closer to screen edges ── */
    nav {
      padding: 0.75rem 1.25rem;
      width: calc(100vw - 1.5rem);
    }
    .nav-links { display: none; }
    .nav-actions { display: none; }
    .nav-mobile-enroll {
      display: inline-flex;
      align-items: center;
      background: var(--yellow);
      color: var(--dark);
      font-weight: 700;
      font-size: 0.875rem;
      padding: 0.55rem 1.1rem;
      border-radius: 10px;
      text-decoration: none;
      white-space: nowrap;
    }

    /* ── Hero — full viewport, locked, condensed ── */
    #hero {
      min-height: 100svh;
      padding: 6rem 1.5rem 3rem;
      display: flex;
      flex-direction: column;
      justify-content: center;
      will-change: auto;
    }
    .hero-eyebrow { display: none; }
    .hero-title { font-size: 2.15rem; line-height: 1.05; margin-bottom: 1.2rem; }
    .hero-cta { display: none; }

    /* ── Shorter bus scroll on mobile ── */
    #road-spacer { height: 150vh; }

    /* ── Solid backgrounds so canvas doesn't bleed through ── */
    #about   { background: var(--dark); }
    #charter { background: var(--dark); }

    /* ── Section spacing ── */
    #stats { padding: 4rem 1.5rem; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat-card { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
    #services { padding: 5rem 1.5rem; }
    .services-grid { grid-template-columns: 1fr; }
    #charter, #contact { padding: 5rem 1.5rem; }
    .about-inner { padding: 5rem 1.5rem 4rem; }
    .about-top { grid-template-columns: 1fr; gap: 3rem; }
    .about-stats { grid-template-columns: 1fr 1fr; }
    .about-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
    .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
    .form-row { grid-template-columns: 1fr; }
    footer { flex-direction: column; gap: 1rem; text-align: center; }
  }

/* ── Parent Registration Section ─────────────────────────────────── */
#parent-register {
  background: var(--dark);
  padding: 7rem 2rem;
  position: relative;
  overflow: hidden;
}
#parent-register::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,184,0,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.parent-reg-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 5rem;
  align-items: center;
}
.parent-reg-text .section-title { color: #fff; }
.parent-reg-text .section-body  { color: rgba(255,255,255,0.7); }

.parent-reg-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 2rem 0 2.5rem;
}
.parent-reg-step {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  color: rgba(255,255,255,0.85);
}
.parent-reg-step-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--dark);
  font-weight: 800;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.parent-reg-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Registration card */
.parent-reg-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.parent-reg-card-icon {
  font-size: 48px;
  margin-bottom: 12px;
}
.parent-reg-card-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
}
.parent-reg-features {
  list-style: none;
  padding: 0; margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.parent-reg-features li {
  font-size: 14px;
  color: #374151;
  padding: 8px 12px;
  background: #F9FAFB;
  border-radius: 8px;
}

@media (max-width: 900px) {
  #parent-register { padding: 5rem 1.5rem; }
  .parent-reg-inner { grid-template-columns: 1fr; gap: 3rem; }
  .parent-reg-card { max-width: 100%; }
}

/* ── Inner pages (not homepage) ─────────────────────────────────────
   Hide the 3D canvas. Body is a flex column so content fills the
   viewport and footer stays at the bottom.
   ================================================================= */
body.page #bus-canvas {
  display: none;
}

body.page {
  background: #0A1628;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* WordPress admin bar pushes html down 32px; subtract it so body
   doesn't overflow the viewport by 32px */
.admin-bar body.page {
  min-height: calc(100vh - 32px);
}

/* Registration page — undo inner-page overrides so the plugin layout works */
body.page.dnw-registration-page {
  background: #F7F8FC !important;
  display: block !important;
  min-height: 100vh !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}
@media screen and (max-width: 782px) {
  .admin-bar body.page { min-height: calc(100vh - 46px); }
}

/* Content wrappers + new onboard layout get flex:1 */
body.page .dnw-auth-container,
body.page .dnw-auth-gate,
body.page > .dnw-onboard {
  flex: 1;
}

/* Gate is a flex column so onboard can stretch inside it */
body.page .dnw-auth-gate {
  display: flex;
  flex-direction: column;
  padding: 0;
  background: linear-gradient(145deg, #060D1A 0%, #0A1628 40%, #0F1D38 100%);
}

/* Onboard inside gate stretches to full gate height */
body.page .dnw-auth-gate > .dnw-onboard {
  flex: 1;
}

/* Hide footer on onboarding pages — clean full-page experience */
body.page:has(.dnw-onboard) > footer {
  display: none;
}
