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

    :root {
      --navy:       #0B1929;
      --navy-mid:   #112340;
      --navy-light: #1a3352;
      --teal:       #00B4D8;
      --teal-dim:   #0090ac;
      --amber:      #F4A22D;
      --amber-dim:  #c47f15;
      --gold:       #C9A84C;
      --gold-light: #e8c97a;
      --off-white:  #EDF2F7;
      --muted:      #8FA3B8;
      --body-text:  #CBD5E0;
      --border:     rgba(0,180,216,0.15);
      --card-bg:    rgba(17,35,64,0.7);

      /* Added 2026-08-07 (DESIGN.md §1.1). The pre-revamp site had colors
         only; 11 pages need real scales so spacing stops being ad hoc. */
      --focus-ring: 0 0 0 3px rgba(0,180,216,0.5);
      --space-xs:  .5rem;   --space-sm:  1rem;    --space-md: 1.5rem;
      --space-lg:  2.5rem;  --space-xl:  4rem;    --space-2xl: 6rem;
      --radius-sm: 4px;     --radius-md: 8px;     --radius-lg: 12px;
      --maxw:      1100px;
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: 'DM Sans', sans-serif;
      background: var(--navy);
      color: var(--body-text);
      line-height: 1.7;
      overflow-x: hidden;
    }

    /* ── NAV ── */
    nav {
      position: fixed; top: 0; left: 0; right: 0; z-index: 100;
      display: flex; align-items: center; justify-content: space-between;
      padding: 1.1rem 4rem;
      background: rgba(11,25,41,0.92);
      backdrop-filter: blur(16px);
      border-bottom: 1px solid var(--border);
    }
    .nav-brand {
      display: flex; flex-direction: column; gap: 0;
      text-decoration: none;
    }
    .nav-brand-name {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.4rem; font-weight: 600;
      color: var(--off-white); letter-spacing: 0.02em;
      line-height: 1.1;
    }
    .nav-brand-tag {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.6rem; color: var(--gold);
      letter-spacing: 0.12em; text-transform: uppercase;
    }
    .nav-links {
      display: flex; align-items: center; gap: 2rem;
    }
    .nav-links a {
      color: var(--muted); text-decoration: none;
      font-size: 0.85rem; font-weight: 500;
      transition: color 0.2s; letter-spacing: 0.02em;
    }
    .nav-links a:hover { color: var(--off-white); }
    .nav-links .nav-flagship {
      background: var(--teal); color: var(--navy) !important;
      padding: 0.45rem 1.1rem; border-radius: 3px;
      font-weight: 600; font-size: 0.82rem;
      transition: background 0.2s;
    }
    .nav-links .nav-flagship:hover { background: var(--teal-dim); }

    /* ── HAMBURGER ── */
    .hamburger {
      display: none; flex-direction: column;
      justify-content: center; gap: 5px;
      cursor: pointer; padding: 6px;
      background: none; border: none;
    }
    .hamburger span {
      display: block; width: 24px; height: 2px;
      background: var(--off-white); border-radius: 2px;
      transition: all 0.25s ease;
    }
    .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .hamburger.open span:nth-child(2) { opacity: 0; }
    .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .mobile-menu {
      display: none; position: fixed;
      top: 62px; left: 0; right: 0;
      background: rgba(11,25,41,0.98);
      backdrop-filter: blur(16px);
      border-bottom: 1px solid var(--border);
      padding: 1.5rem 2rem 2rem;
      z-index: 99; flex-direction: column; gap: 0;
    }
    .mobile-menu.open { display: flex; }
    .mobile-menu a {
      color: var(--body-text); text-decoration: none;
      font-size: 1rem; font-weight: 500;
      padding: 0.9rem 0;
      border-bottom: 1px solid rgba(255,255,255,0.06);
      transition: color 0.2s;
    }
    .mobile-menu a:last-child { border-bottom: none; margin-top: 0.5rem; }
    .mobile-menu a:hover { color: var(--teal); }
    .mobile-menu .m-flagship {
      margin-top: 1rem;
      background: var(--teal); color: var(--navy) !important;
      padding: 0.8rem 1.5rem; border-radius: 3px;
      text-align: center; font-weight: 600;
    }

    /* ── HERO ── */
    .hero {
      min-height: 100vh;
      display: flex; align-items: center;
      padding: 8rem 4rem 5rem;
      position: relative; overflow: hidden;
    }
    .hero-bg {
      position: absolute; inset: 0; z-index: 0;
      background:
        radial-gradient(ellipse 70% 60% at 15% 40%, rgba(0,180,216,0.07) 0%, transparent 70%),
        radial-gradient(ellipse 50% 70% at 85% 60%, rgba(201,168,76,0.06) 0%, transparent 70%),
        linear-gradient(160deg, #0B1929 0%, #0d2035 50%, #0B1929 100%);
    }
    /* Subtle dot grid */
    .hero-bg::after {
      content: '';
      position: absolute; inset: 0;
      background-image: radial-gradient(circle, rgba(0,180,216,0.12) 1px, transparent 1px);
      background-size: 36px 36px;
      opacity: 0.4;
    }
    .hero-inner {
      position: relative; z-index: 1;
      max-width: 820px;
    }
    .hero-eyebrow {
      display: inline-flex; align-items: center; gap: 0.6rem;
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.72rem; color: var(--gold);
      letter-spacing: 0.14em; text-transform: uppercase;
      margin-bottom: 1.5rem;
      opacity: 0; animation: fadeUp 0.7s ease forwards;
    }
    .hero-eyebrow::before {
      content: ''; display: block;
      width: 28px; height: 1px; background: var(--gold);
    }
    .hero-badge {
      display: inline-block;
      border: 1px solid rgba(201,168,76,0.35);
      color: var(--gold-light);
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.65rem; letter-spacing: 0.1em;
      padding: 0.2rem 0.6rem; border-radius: 2px;
      text-transform: uppercase; margin-left: 0.5rem;
    }
    .hero h1 {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(2.8rem, 5.5vw, 4.2rem);
      font-weight: 500; line-height: 1.15;
      color: var(--off-white);
      margin-bottom: 1.5rem;
      opacity: 0; animation: fadeUp 0.7s ease 0.15s forwards;
    }
    .hero h1 em {
      font-style: italic; color: var(--teal);
    }
    .hero-lead {
      font-size: 1.1rem; color: var(--body-text);
      max-width: 620px; line-height: 1.8;
      margin-bottom: 2.5rem;
      opacity: 0; animation: fadeUp 0.7s ease 0.3s forwards;
    }
    .hero-actions {
      display: flex; gap: 1rem; flex-wrap: wrap;
      opacity: 0; animation: fadeUp 0.7s ease 0.45s forwards;
    }
    .btn-primary {
      background: var(--teal); color: var(--navy);
      padding: 0.85rem 2rem; border-radius: 3px;
      font-weight: 600; font-size: 0.9rem;
      text-decoration: none; transition: background 0.2s;
      display: inline-block;
    }
    .btn-primary:hover { background: var(--teal-dim); }
    .btn-outline {
      border: 1px solid rgba(0,180,216,0.4); color: var(--teal);
      padding: 0.85rem 2rem; border-radius: 3px;
      font-weight: 500; font-size: 0.9rem;
      text-decoration: none; transition: all 0.2s;
      display: inline-block;
    }
    .btn-outline:hover { border-color: var(--teal); background: rgba(0,180,216,0.06); }
    .btn-gold {
      background: var(--gold); color: var(--navy);
      padding: 0.85rem 2rem; border-radius: 3px;
      font-weight: 600; font-size: 0.9rem;
      text-decoration: none; transition: background 0.2s;
      display: inline-block;
    }
    .btn-gold:hover { background: var(--gold-light); }

    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(20px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    /* ── CHARTER PILLARS ── */
    .charter {
      background: var(--navy-mid);
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      padding: 4rem;
    }
    .charter-inner {
      max-width: 1100px; margin: 0 auto;
      display: grid; grid-template-columns: 1fr 1fr 1fr;
      gap: 0;
    }
    .charter-pillar {
      padding: 2rem 2.5rem;
      border-right: 1px solid var(--border);
    }
    .charter-pillar:last-child { border-right: none; }
    .pillar-mark {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.65rem; letter-spacing: 0.12em;
      text-transform: uppercase; color: var(--gold);
      margin-bottom: 0.8rem;
    }
    .pillar-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.35rem; font-weight: 600;
      color: var(--off-white); margin-bottom: 0.6rem;
    }
    .pillar-body {
      font-size: 0.88rem; color: var(--muted); line-height: 1.7;
    }

    /* ── SECTIONS ── */
    section { padding: 5.5rem 4rem; }
    .section-inner { max-width: 1100px; margin: 0 auto; }
    .section-label {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.68rem; color: var(--gold);
      letter-spacing: 0.14em; text-transform: uppercase;
      margin-bottom: 0.8rem;
    }
    .section-label-teal {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.68rem; color: var(--teal);
      letter-spacing: 0.14em; text-transform: uppercase;
      margin-bottom: 0.8rem;
    }
    h2 {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(2rem, 3.5vw, 2.8rem);
      font-weight: 500; color: var(--off-white);
      line-height: 1.2; margin-bottom: 1.2rem;
    }
    h2 em { font-style: italic; color: var(--teal); }
    .section-lead {
      font-size: 1rem; color: var(--body-text);
      max-width: 680px; line-height: 1.8;
      margin-bottom: 3rem;
    }

    /* ── SD-AGILE FLAGSHIP ── */
    .flagship {
      background: linear-gradient(135deg, #0d2035 0%, #0B1929 100%);
      border-top: 1px solid var(--border);
    }
    .flagship-inner {
      max-width: 1100px; margin: 0 auto;
      display: grid; grid-template-columns: 1fr 1fr;
      gap: 5rem; align-items: center;
    }
    .flagship-visual {
      position: relative;
    }
    .flagship-card {
      background: var(--card-bg);
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: 2.5rem;
      backdrop-filter: blur(10px);
    }
    .flagship-card-label {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.65rem; letter-spacing: 0.14em;
      text-transform: uppercase; color: var(--teal);
      margin-bottom: 1rem;
    }
    .flagship-card h3 {
      font-family: 'Cormorant Garamond', serif;
      font-size: 2rem; font-weight: 600;
      color: var(--off-white); margin-bottom: 0.5rem;
    }
    .flagship-card p {
      font-size: 0.88rem; color: var(--muted);
      line-height: 1.7; margin-bottom: 1.5rem;
    }
    .flagship-tags {
      display: flex; flex-wrap: wrap; gap: 0.5rem;
      margin-bottom: 1.5rem;
    }
    .flagship-tag {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.65rem; letter-spacing: 0.08em;
      color: var(--teal); border: 1px solid rgba(0,180,216,0.25);
      padding: 0.2rem 0.6rem; border-radius: 2px;
    }
    .flagship-link {
      display: inline-flex; align-items: center; gap: 0.4rem;
      color: var(--teal); text-decoration: none;
      font-weight: 600; font-size: 0.88rem;
      transition: gap 0.2s;
    }
    .flagship-link:hover { gap: 0.7rem; }
    .flagship-accent {
      position: absolute;
      top: -1rem; right: -1rem;
      width: 120px; height: 120px;
      border: 1px solid rgba(0,180,216,0.15);
      border-radius: 50%;
      pointer-events: none;
    }
    .flagship-accent::after {
      content: '';
      position: absolute; inset: 12px;
      border: 1px solid rgba(201,168,76,0.12);
      border-radius: 50%;
    }

    /* ── BENEFIT COMPANY ── */
    .benefit {
      background: #080f1a;
    }
    .benefit-grid {
      display: grid; grid-template-columns: 1.1fr 1fr;
      gap: 5rem; align-items: start;
    }
    .benefit-text p {
      font-size: 0.95rem; color: var(--body-text);
      line-height: 1.85; margin-bottom: 1.2rem;
    }
    .benefit-text p strong {
      color: var(--off-white); font-weight: 600;
    }
    .benefit-aside {
      display: flex; flex-direction: column; gap: 1.2rem;
    }
    .benefit-card {
      background: var(--card-bg);
      border: 1px solid var(--border);
      border-radius: 6px;
      padding: 1.5rem 1.8rem;
    }
    .benefit-card-icon {
      font-size: 1.4rem; margin-bottom: 0.6rem;
    }
    .benefit-card h4 {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.1rem; font-weight: 600;
      color: var(--off-white); margin-bottom: 0.4rem;
    }
    .benefit-card p {
      font-size: 0.83rem; color: var(--muted); line-height: 1.6;
    }

    /* ── PUBLIC BENEFIT ── */
    .public-benefit {
      background: var(--navy-mid);
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
    }
    .pb-grid {
      display: grid; grid-template-columns: repeat(3, 1fr);
      gap: 1.5rem; margin-top: 2.5rem;
    }
    .pb-card {
      background: rgba(11,25,41,0.6);
      border: 1px solid var(--border);
      border-radius: 6px; padding: 2rem;
    }
    .pb-card-mark {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.65rem; letter-spacing: 0.1em;
      text-transform: uppercase; color: var(--gold);
      margin-bottom: 0.8rem;
    }
    .pb-card h4 {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.15rem; font-weight: 600;
      color: var(--off-white); margin-bottom: 0.6rem;
    }
    .pb-card p {
      font-size: 0.83rem; color: var(--muted); line-height: 1.6;
    }
    .pb-note {
      margin-top: 2.5rem;
      background: rgba(0,180,216,0.06);
      border: 1px solid rgba(0,180,216,0.2);
      border-radius: 4px; padding: 1.2rem 1.8rem;
      font-size: 0.85rem; color: var(--body-text); line-height: 1.7;
    }
    .pb-note strong { color: var(--teal); }

    /* ── BOOK ── */
    .book-section {
      background: #080f1a;
    }
    .book-inner {
      max-width: 1100px; margin: 0 auto;
      display: grid; grid-template-columns: auto 1fr;
      gap: 4rem; align-items: center;
    }
    .book-cover {
      width: 180px; flex-shrink: 0;
      background: linear-gradient(145deg, #112340, #0B1929);
      border: 1px solid var(--border);
      border-radius: 4px;
      padding: 2rem 1.5rem;
      text-align: center;
      box-shadow: -8px 8px 30px rgba(0,0,0,0.5), 4px 0 0 rgba(201,168,76,0.3);
    }
    .book-cover-label {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.55rem; letter-spacing: 0.14em;
      text-transform: uppercase; color: var(--gold);
      margin-bottom: 1rem;
    }
    .book-cover-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.2rem; font-weight: 600;
      color: var(--off-white); line-height: 1.3;
      margin-bottom: 1rem;
    }
    .book-cover-author {
      font-size: 0.7rem; color: var(--muted);
      font-style: italic;
    }
    .book-cover-line {
      width: 40px; height: 2px;
      background: var(--gold);
      margin: 0.8rem auto;
    }
    .book-text h2 { margin-bottom: 0.8rem; }
    .book-text p {
      font-size: 0.95rem; color: var(--body-text);
      line-height: 1.8; margin-bottom: 1.2rem;
    }
    .book-text p strong { color: var(--off-white); }

    /* ── TEAM ── */
    .team {
      background: var(--navy);
      border-top: 1px solid var(--border);
    }
    .team-grid {
      display: grid; grid-template-columns: 1fr 1fr;
      gap: 2rem; margin-top: 2.5rem;
    }
    .team-card {
      background: var(--card-bg);
      border: 1px solid var(--border);
      border-radius: 8px; padding: 2rem 2.2rem;
      display: grid; grid-template-columns: 90px 1fr;
      gap: 1.5rem; align-items: start;
    }
    .team-photo {
      width: 90px; height: 90px; border-radius: 50%;
      object-fit: cover;
      border: 2px solid rgba(0,180,216,0.3);
    }
    .team-photo-placeholder {
      width: 90px; height: 90px; border-radius: 50%;
      background: var(--navy-light);
      border: 2px solid rgba(0,180,216,0.3);
      display: flex; align-items: center; justify-content: center;
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.6rem; color: var(--muted);
    }
    .team-info h3 {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.25rem; font-weight: 600;
      color: var(--off-white); margin-bottom: 0.15rem;
    }
    .team-title {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.65rem; letter-spacing: 0.08em;
      color: var(--teal); text-transform: uppercase;
      margin-bottom: 0.7rem;
    }
    .team-bio {
      font-size: 0.83rem; color: var(--muted);
      line-height: 1.65; margin-bottom: 0.8rem;
    }
    .team-linkedin {
      color: var(--teal); text-decoration: none;
      font-size: 0.78rem; font-weight: 500;
      transition: color 0.2s;
    }
    .team-linkedin:hover { color: var(--off-white); }

    /* ── CONTACT ── */
    .contact {
      background: var(--navy-mid);
      border-top: 1px solid var(--border);
    }
    .contact-grid {
      display: grid; grid-template-columns: 1fr 1fr;
      gap: 4rem; align-items: start;
    }
    .contact-text p {
      font-size: 0.95rem; color: var(--body-text);
      line-height: 1.8; margin-bottom: 1rem;
    }
    .contact-links {
      display: flex; flex-direction: column; gap: 0.8rem;
      margin-top: 1.5rem;
    }
    .contact-link {
      display: flex; align-items: center; gap: 0.8rem;
      color: var(--body-text); text-decoration: none;
      font-size: 0.88rem; transition: color 0.2s;
    }
    .contact-link:hover { color: var(--teal); }
    .contact-link-icon {
      width: 32px; height: 32px;
      background: var(--navy-light);
      border: 1px solid var(--border);
      border-radius: 4px;
      display: flex; align-items: center; justify-content: center;
      font-size: 0.9rem; flex-shrink: 0;
    }
    .contact-right {
      background: rgba(11,25,41,0.6);
      border: 1px solid var(--border);
      border-radius: 6px; padding: 2rem;
    }
    .contact-right h4 {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.2rem; font-weight: 600;
      color: var(--off-white); margin-bottom: 1rem;
    }
    .contact-item {
      display: flex; flex-direction: column; gap: 0.2rem;
      padding: 0.9rem 0;
      border-bottom: 1px solid rgba(255,255,255,0.06);
      font-size: 0.84rem;
    }
    .contact-item:last-child { border-bottom: none; }
    .contact-item-label {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.62rem; color: var(--gold);
      letter-spacing: 0.1em; text-transform: uppercase;
    }
    .contact-item-val { color: var(--body-text); }
    .contact-item-val a { color: var(--teal); text-decoration: none; }
    .contact-item-val a:hover { text-decoration: underline; }

    /* ── FOOTER ── */
    footer {
      background: #060e18;
      border-top: 1px solid var(--border);
      padding: 3rem 4rem 2rem;
    }
    .footer-inner {
      max-width: 1100px; margin: 0 auto;
      display: flex; justify-content: space-between;
      align-items: flex-start; gap: 3rem;
      flex-wrap: wrap;
    }
    .footer-brand {
      max-width: 280px;
    }
    .footer-brand-name {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.3rem; font-weight: 600;
      color: var(--off-white); margin-bottom: 0.3rem;
    }
    .footer-brand-tag {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.6rem; color: var(--gold);
      letter-spacing: 0.1em; text-transform: uppercase;
      margin-bottom: 0.8rem;
    }
    .footer-brand p {
      font-size: 0.8rem; color: var(--muted); line-height: 1.65;
    }
    .footer-col h5 {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.65rem; letter-spacing: 0.12em;
      text-transform: uppercase; color: var(--gold);
      margin-bottom: 1rem;
    }
    .footer-col a {
      display: block; color: var(--muted);
      text-decoration: none; font-size: 0.83rem;
      margin-bottom: 0.5rem; transition: color 0.2s;
    }
    .footer-col a:hover { color: var(--off-white); }
    .footer-bottom {
      max-width: 1100px; margin: 2rem auto 0;
      padding-top: 1.5rem;
      border-top: 1px solid rgba(255,255,255,0.05);
      display: flex; justify-content: space-between;
      align-items: center; flex-wrap: wrap; gap: 1rem;
    }
    .footer-bottom p {
      font-size: 0.75rem; color: var(--muted); line-height: 1.6;
    }
    .footer-bottom-links {
      display: flex; gap: 1.5rem;
    }
    .footer-bottom-links a {
      font-size: 0.75rem; color: var(--muted);
      text-decoration: none; transition: color 0.2s;
    }
    .footer-bottom-links a:hover { color: var(--teal); }

    /* ── RESPONSIVE ── */
    @media (max-width: 900px) {
      nav { padding: 1rem 1.5rem; }
      .nav-links { display: none; }
      .hamburger { display: flex; }
      .hero { padding: 7rem 1.5rem 4rem; }
      .charter { padding: 3rem 1.5rem; }
      .charter-inner { grid-template-columns: 1fr; }
      .charter-pillar { border-right: none; border-bottom: 1px solid var(--border); padding: 1.5rem 0; }
      .charter-pillar:last-child { border-bottom: none; }
      section { padding: 4rem 1.5rem; }
      .flagship-inner, .benefit-grid, .contact-grid,
      .book-inner { grid-template-columns: 1fr; gap: 2.5rem; }
      .book-cover { width: 140px; margin: 0 auto; }
      .pb-grid { grid-template-columns: 1fr; }
      .team-grid { grid-template-columns: 1fr; }
      footer { padding: 2.5rem 1.5rem; }
      .footer-inner { flex-direction: column; }
      .footer-bottom { flex-direction: column; align-items: flex-start; }
    }

/* ═══════════════════════════════════════════════════════════════════════════
   MULTI-PAGE + SIX-LOCALE ADDITIONS (2026-08-07)
   Components introduced by the training-led revamp, plus the accessibility
   baseline the single-page site never had. See DESIGN.md §1.4 and §4.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Accessibility baseline ── */
.skip-link {
  position: absolute; top: -100%; left: 0; z-index: 200;
  background: var(--teal); color: var(--navy);
  padding: 0.7rem 1.2rem; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 0; }

a:focus-visible,
button:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--radius-sm);
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── Nav CTA (amber = action) and active state ── */
.nav-links .nav-cta {
  background: var(--amber); color: var(--navy) !important;
  padding: 0.45rem 1.1rem; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.82rem;
  transition: background 0.2s;
}
.nav-links .nav-cta:hover { background: var(--amber-dim); }

.nav-links a.is-active {
  color: var(--teal);
  border-bottom: 2px solid var(--teal);
  padding-bottom: 2px;
}
.nav-links a.nav-cta.is-active { border-bottom: none; padding-bottom: 0.45rem; }

.mobile-menu .m-cta {
  margin-top: var(--space-sm);
  background: var(--amber); color: var(--navy) !important;
  padding: 0.8rem 1.5rem; border-radius: var(--radius-sm);
  text-align: center; font-weight: 600;
}
.mobile-menu .m-sub {
  padding-left: var(--space-md);
  font-size: 0.92rem;
  opacity: 0.85;
}

/* ── Availability badges ──
   Load-bearing, not decorative: these render the availability state from
   REQUIREMENTS §4.2. A beta badge must accompany every App Builder and
   Compliance Corridor heading so the beta framing cannot be lost in a copy
   edit. */
.avail-badge {
  display: inline-block; vertical-align: middle;
  margin-left: 0.6rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  white-space: nowrap;
}
.avail-badge--now {
  background: rgba(0,180,216,0.15);
  color: var(--teal);
  border: 1px solid rgba(0,180,216,0.4);
}
.avail-badge--beta {
  background: rgba(244,162,45,0.15);
  color: var(--amber);
  border: 1px solid rgba(244,162,45,0.45);
}

/* ── Free-access offer band (amber/gold = public-good material) ── */
.offer-band {
  background: linear-gradient(160deg, rgba(201,168,76,0.10), rgba(244,162,45,0.06));
  border-block: 1px solid rgba(244,162,45,0.25);
}
.offer-grid {
  display: grid; gap: var(--space-md);
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  margin-top: var(--space-lg);
}
.offer-card {
  background: var(--card-bg);
  border: 1px solid rgba(244,162,45,0.25);
  border-radius: var(--radius-md);
  padding: var(--space-md);
}
.offer-card h3 { color: var(--gold-light); margin: 0 0 0.5rem; }
.offer-card p  { color: var(--body-text); font-size: 0.92rem; margin: 0; }

/* ── Certification ladder ── */
.ladder { list-style: none; margin: var(--space-lg) 0 0; padding: 0; }
.ladder li {
  display: flex; align-items: baseline; gap: var(--space-sm);
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
}
.ladder li:last-child { border-bottom: none; }
.ladder .rung {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem; color: var(--teal);
  letter-spacing: 0.1em; flex: 0 0 3.5rem;
}
.ladder .rung-name { font-weight: 600; color: var(--off-white); }
.ladder .rung-note { color: var(--muted); font-size: 0.88rem; }

/* ── Language switcher ── */
.lang-switcher {
  display: flex; align-items: center; gap: var(--space-xs);
  margin-bottom: var(--space-sm);
  font-size: 0.82rem;
}
.lang-switcher label { color: var(--muted); }
.lang-switcher select {
  background: var(--navy-mid); color: var(--off-white);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 0.35rem 0.6rem; font: inherit; cursor: pointer;
}

/* ── Machine-translation disclosure ──
   Mandatory on every non-en-US page until that locale passes native review
   (REQUIREMENTS §5.3). Deliberately legible, not a buried asterisk. */
.mt-notice {
  margin: 0 0 var(--space-sm);
  padding: 0.7rem 0.9rem;
  background: rgba(244,162,45,0.08);
  border-left: 3px solid var(--amber);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--body-text);
  font-size: 0.82rem; line-height: 1.6;
  max-width: 62ch;
}

/* ── Print ── */
@media print {
  nav, .mobile-menu, .hamburger, .skip-link,
  .lang-switcher, .nav-cta, .m-cta { display: none !important; }
  body { background: #fff !important; color: #000 !important; }
  a { color: #000 !important; text-decoration: underline; }
  .section-inner { max-width: none; }
}

/* ── Generic content scaffolding for the multi-page build ── */
.page-hero {
  padding: 9rem 4rem 3.5rem;
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-hero .hero-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero-inner { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; }
.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 500; line-height: 1.15;
  color: var(--off-white); margin-bottom: var(--space-sm);
}
.page-hero h1 em { font-style: italic; color: var(--teal); }
.page-hero .hero-lead { margin-bottom: var(--space-md); animation: none; opacity: 1; }

.card-grid {
  display: grid; gap: var(--space-md);
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  margin-top: var(--space-lg);
}
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
}
.card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem; font-weight: 600;
  color: var(--off-white); margin-bottom: 0.5rem;
}
.card p { color: var(--muted); font-size: 0.92rem; margin-bottom: 0.6rem; }
.card p:last-child { margin-bottom: 0; }
/* Unscoped on purpose: several .card-link elements sit in bare <p> blocks
   outside any .card. Scoping this to `.card .card-link` left those falling back
   to the UA default link blue on navy — 1.88:1, effectively invisible. */
.card-link {
  color: var(--teal); text-decoration: none;
  font-size: 0.85rem; font-weight: 600;
}
.card-link:hover { text-decoration: underline; }

/* Two-door split: the free/self-paced path vs. the paid/live path */
.doors { display: grid; gap: var(--space-md); grid-template-columns: 1fr 1fr; margin-top: var(--space-lg); }
.door {
  border-radius: var(--radius-md); padding: var(--space-lg);
  border: 1px solid var(--border); background: var(--card-bg);
}
.door--free { border-color: rgba(244,162,45,0.3); background: linear-gradient(160deg, rgba(201,168,76,0.08), transparent); }
.door--live { border-color: rgba(0,180,216,0.3); }
.door .door-who {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.door--free .door-who { color: var(--gold); }
.door--live .door-who { color: var(--teal); }
.door h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem; font-weight: 600; color: var(--off-white);
  margin-bottom: 0.6rem; line-height: 1.2;
}
.door ul { list-style: none; margin: var(--space-sm) 0; padding: 0; }
.door li {
  color: var(--body-text); font-size: 0.92rem;
  padding: 0.3rem 0 0.3rem 1.3rem; position: relative;
}
.door li::before {
  content: '→'; position: absolute; left: 0;
  color: var(--teal); font-size: 0.85rem;
}
.door--free li::before { color: var(--gold); }

.stat-row {
  display: grid; gap: var(--space-md);
  grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
}
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem; font-weight: 600; color: var(--amber);
  line-height: 1;
}
.stat-label {
  font-size: 0.8rem; color: var(--muted);
  margin-top: 0.35rem; line-height: 1.4;
}

.cta-band { text-align: center; }
.cta-band h2 { margin-bottom: var(--space-sm); }
.cta-band .hero-actions { justify-content: center; animation: none; opacity: 1; }

@media (max-width: 900px) {
  .page-hero { padding: 7rem 1.5rem 2.5rem; }
  .doors { grid-template-columns: 1fr; }
}

/* Platform cards read better as a balanced 2x2 than 3+1 */
.card-grid--pair { grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); }

/* Body paragraphs inside a section need breathing room. The single-page site
   never stacked two of them, so this gap only showed up once pages had prose. */
.section-inner > p { margin-bottom: 1.1rem; max-width: 68ch; }
.section-inner > p:last-child { margin-bottom: 0; }
.section-inner > p.section-lead { margin-bottom: 2rem; }

/* Nav gets its own breakpoint, above the 900px one used for grids.
   Six links plus the CTA no longer fit beside the brand lockup below ~1024px,
   and translated labels run wider still (Certification/Plateforme/Partenaires/
   Accès gratuit), so the hamburger has to take over earlier than the layout
   breakpoint does. Collapsing grids at 1024px too would be a regression. */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 1200px) and (min-width: 1025px) {
  .nav-links { gap: 1.25rem; }
}

/* The mission line leads the hero (REQUIREMENTS §3). Slightly brighter and
   tighter than the paragraph beneath it, so it reads as the umbrella statement
   rather than as more body copy. */
.hero-mission {
  color: var(--off-white);
  font-size: 1.15rem;
  margin-bottom: 1.1rem;
  max-width: 640px;
}

/* The mission statement is long by design (it is the full statement, not a
   tagline). At phone widths that pushed the hero CTAs below the fold, so the
   line steps down a size and the hero tightens its top padding. Desktop is
   unchanged — this only buys back vertical space where it is scarce. */
@media (max-width: 600px) {
  .hero { padding-top: 6.5rem; padding-bottom: 3rem; }
  .hero-mission { font-size: 1rem; line-height: 1.55; margin-bottom: 0.9rem; }
  .hero-lead { font-size: 1rem; margin-bottom: 1.1rem; }
}

/* Last squeeze for small phones: the hero carries H1 + mission + authorship +
   the free-access line + two buttons, and on mobile the nav CTA is inside the
   hamburger — so if the hero buttons fall below the fold there is nothing
   tappable on first paint. Tightening the H1 and the gaps buys that back. */
@media (max-width: 600px) {
  .hero h1 { font-size: 2.15rem; line-height: 1.12; margin-bottom: 1rem; }
  .hero-eyebrow { margin-bottom: 1rem; font-size: 0.66rem; }
  .hero-mission { margin-bottom: 0.8rem; }
  .hero-lead { margin-bottom: 0.9rem; line-height: 1.6; }
  .hero-actions { gap: 0.7rem; }
}

/* Header language switcher (DESIGN §2.7). Sits outside .nav-links so it stays
   visible when the nav collapses to the hamburger — a language control hidden
   inside a menu is barely better than one in the footer, which is the problem
   this move exists to fix. */
.lang-switcher--header {
  display: flex; align-items: center;
  margin: 0 0 0 auto; padding-left: 1rem;
}
.lang-switcher--header select {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.3rem 0.45rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem; letter-spacing: 0.04em;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.lang-switcher--header select:hover {
  color: var(--off-white);
  border-color: rgba(0,180,216,0.45);
}
/* Above the collapse the links already sit right-aligned, so the switcher
   should not also claim the free space. */
@media (min-width: 1025px) {
  .lang-switcher--header { margin-left: 1.25rem; }
}
@media (max-width: 1024px) {
  /* Between the switcher and the hamburger, keep them from crowding. */
  .lang-switcher--header { padding-left: 0; margin-right: 0.75rem; }
}
@media (max-width: 380px) {
  .lang-switcher--header select { font-size: 0.65rem; padding: 0.25rem 0.3rem; }
}
