  :root {
    --navy: #0B2545;
    --teal: #1A7FA0;
    --teal-light: #5BB8D4;
    --teal-glow: rgba(26,127,160,0.15);
    --cream: #F5F1EB;
    --white: #ffffff;
    --gray: #6b7280;
    --dark: #1a1a2e;
  }

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

  html { scroll-behavior: smooth; }

  body {
    background: var(--navy);
    color: var(--white);
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    overflow-x: hidden;
  }

  /* ── HERO ── */
  .hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 40px 80px;
    position: relative;
    overflow: hidden;
  }

  .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(26,127,160,0.18) 0%, transparent 70%);
    pointer-events: none;
  }

  .hero-eyebrow {
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--teal-light);
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.2s forwards;
  }

  .hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3.5rem, 6vw, 5.5rem);
    font-weight: 900;
    line-height: 1.0;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.4s forwards;
  }

  .hero-title em {
    font-style: italic;
    color: var(--teal-light);
  }

  .hero-subtitle {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    font-weight: 700;
    font-style: italic;
    color: rgba(255,255,255,0.5);
    margin-bottom: 32px;
    position: relative;
    z-index: 2;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.55s forwards;
  }

  .hero-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.7);
    max-width: 640px;
    margin-bottom: 48px;
    position: relative;
    z-index: 2;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.7s forwards;
  }

  .hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--teal);
    color: white;
    padding: 16px 32px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    position: relative;
    z-index: 2;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.85s forwards;
  }

  .hero-cta:hover { background: var(--teal-light); transform: translateX(4px); }
  .hero-cta svg { transition: transform 0.2s; }
  .hero-cta:hover svg { transform: translateX(4px); }

  /* ── STATS STRIP ── */
  .stats {
    background: var(--teal);
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    position: relative;
    z-index: 10;
  }

  .stat-item {
    padding: 40px 40px;
    border-right: 1px solid rgba(255,255,255,0.2);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: background 0.3s;
  }
  .stat-item:last-child { border-right: none; }
  .stat-item:hover { background: rgba(0,0,0,0.1); }

  .stat-num {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.6rem, 4vw, 3.8rem);
    font-weight: 900;
    color: white;
    display: block;
    line-height: 1;
    margin-bottom: 8px;
  }

  .stat-unit {
    font-size: 0.4em;
    font-weight: 700;
    opacity: 0.7;
    letter-spacing: 0.02em;
  }

  .stat-label {
    font-size: 0.8rem;
    font-weight: 400;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.03em;
    line-height: 1.45;
    max-width: 240px;
    margin: 0 auto;
  }

  /* ── SECTIONS WRAPPER ── */
  .sections {
    background: var(--cream);
    color: var(--navy);
  }

  /* ── SECTION CARD ── */
  .section-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 480px;
    border-bottom: 1px solid rgba(11,37,69,0.08);
  }

  .section-card.reverse { direction: rtl; }
  .section-card.reverse > * { direction: ltr; }

  .section-visual {
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
  }

  .section-visual.gradient {
    background: linear-gradient(135deg, var(--teal) 0%, var(--navy) 100%);
  }

  .section-visual.dark {
    background: #06172e;
  }

  .section-content {
    padding: 60px 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .section-num {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    font-weight: 900;
    color: rgba(26,127,160,0.1);
    line-height: 1;
    margin-bottom: -16px;
  }

  .section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 16px;
    line-height: 1.2;
  }

  .section-rule {
    width: 48px;
    height: 3px;
    background: var(--teal);
    margin-bottom: 20px;
  }

  .section-text {
    font-size: 1rem;
    line-height: 1.75;
    color: #3d4d60;
    margin-bottom: 24px;
  }

  .bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .bullets li {
    font-size: 0.925rem;
    color: #4a5568;
    line-height: 1.6;
    padding-left: 1.2em;
    text-indent: -1.2em;
  }

  .bullets li::before {
    content: '\25B8';
    color: var(--teal);
    font-size: 0.8rem;
    margin-right: 0.4em;
  }

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

  .callout {
    margin-top: 24px;
    padding: 16px 20px;
    background: rgba(26,127,160,0.08);
    border-left: 3px solid var(--teal);
    font-size: 0.9rem;
    color: #2d4a5e;
    line-height: 1.6;
  }

  .callout strong { color: var(--navy); }

  .callout.warning {
    background: rgba(200,120,30,0.10);
    border-left-color: #c8781e;
    color: #6b4415;
  }
  .callout.warning strong { color: #6b4415; }

  /* ── MINI GRID ── */
  .mini-grid {
    background: var(--cream);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border-bottom: 1px solid rgba(11,37,69,0.08);
  }

  .mini-card {
    padding: 56px 60px;
    border-right: 1px solid rgba(11,37,69,0.08);
    border-bottom: 1px solid rgba(11,37,69,0.08);
    position: relative;
    overflow: hidden;
    transition: background 0.3s;
  }

  .mini-card:hover { background: rgba(26,127,160,0.04); }
  .mini-card:nth-child(even) { border-right: none; }

  .mini-card .section-num { font-size: 4rem; margin-bottom: -10px; }

  /* ── FULL-WIDTH SECTION ── */
  .section-full {
    background: var(--cream);
    color: var(--navy);
    padding: 80px 64px;
    border-bottom: 1px solid rgba(11,37,69,0.08);
  }

  .section-full .full-inner {
    max-width: 820px;
    margin: 0 auto;
  }

  .section-full .section-title { margin-bottom: 16px; }

  /* ── COMPARISON TABLE ── */
  .comparison {
    background: var(--navy);
    padding: 100px 80px;
  }

  .comparison-header {
    text-align: center;
    margin-bottom: 60px;
  }

  .comparison-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    margin-bottom: 12px;
  }

  .comparison-header p {
    color: rgba(255,255,255,0.5);
    font-size: 1rem;
  }

  .cmp-table {
    max-width: 860px;
    margin: 0 auto;
    border-collapse: collapse;
    width: 100%;
  }

  .cmp-table thead th {
    padding: 16px 24px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
  }

  .cmp-table thead th:first-child {
    text-align: left;
    color: rgba(255,255,255,0.4);
  }

  .cmp-table thead th:nth-child(2) {
    background: var(--teal);
    color: white;
    border-radius: 8px 8px 0 0;
  }

  .cmp-table thead th:nth-child(3) {
    color: rgba(255,255,255,0.4);
  }

  .cmp-table tbody tr {
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: background 0.2s;
  }

  .cmp-table tbody tr:hover { background: rgba(255,255,255,0.04); }

  .cmp-table tbody td {
    padding: 18px 24px;
    font-size: 0.95rem;
  }

  .cmp-table tbody td:first-child { color: rgba(255,255,255,0.75); }

  .cmp-table tbody td:nth-child(2) {
    text-align: center;
    background: rgba(26,127,160,0.12);
  }

  .cmp-table tbody td:nth-child(3) {
    text-align: center;
    color: rgba(255,255,255,0.35);
  }

  .positive { color: #4ade80; font-weight: 500; }
  .negative { color: rgba(255,255,255,0.4); }

  /* ── REFERENCES ── */
  .ref-accordion {
    margin-top: 20px;
    border: 1px solid rgba(11,37,69,0.08);
  }

  .ref-toggle {
    cursor: pointer;
    padding: 10px 16px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--teal);
    letter-spacing: 0.05em;
    list-style: none;
  }

  .ref-toggle::-webkit-details-marker { display: none; }
  .ref-toggle::before { content: '+ '; font-weight: 700; }
  details[open] .ref-toggle::before { content: '- '; }

  .ref-list {
    padding: 8px 16px 16px 32px;
    font-size: 0.78rem;
    color: #5a6a78;
    line-height: 1.7;
  }

  .ref-list li { margin-bottom: 6px; }

  .ref-num {
    font-size: 0.7rem;
    color: var(--teal);
    opacity: 0.75;
  }

  /* References variant for dark backgrounds */
  .ref-accordion.light { border-color: rgba(255,255,255,0.15); }
  .ref-accordion.light .ref-toggle { color: var(--teal-light); }
  .ref-accordion.light .ref-list { color: rgba(255,255,255,0.6); }

  /* ── SECTION 1 VISUAL: WAVES ── */
  .wave-visual {
    text-align: center;
    color: var(--white);
  }
  .wave-label {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    margin: 8px 0;
  }
  .wave-svg {
    width: 240px;
    height: 110px;
    display: block;
    margin: 4px auto;
  }
  .wave-svg path {
    fill: none;
    stroke-width: 3;
    stroke-linecap: round;
  }
  .wave-svg .wave-a { stroke: var(--teal-light); }
  .wave-svg .wave-b { stroke: rgba(255,255,255,0.55); }
  .wave-sum {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.5rem;
    color: var(--teal-light);
    margin-top: 14px;
  }

  /* ── SECTION 2 VISUAL: PEAK STACK ── */
  .peak-stack { width: 100%; max-width: 320px; }
  .peak-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
  }
  .peak-name {
    flex: 0 0 92px;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    text-align: right;
  }
  .peak-bar {
    flex: 1;
    height: 12px;
    background: rgba(255,255,255,0.10);
    border-radius: 6px;
    overflow: hidden;
  }
  .peak-fill {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--teal), var(--teal-light));
    border-radius: 6px;
  }
  .peak-caption {
    margin-top: 10px;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--teal-light);
    font-size: 1.05rem;
    text-align: center;
  }

  /* ── SECTION 3 VISUAL: RANGE ── */
  .range-visual { text-align: center; color: var(--white); }
  .range-num {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.8rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1;
  }
  .range-unit {
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
    margin-top: 6px;
  }
  .range-track {
    position: relative;
    width: 220px;
    height: 4px;
    background: rgba(255,255,255,0.25);
    border-radius: 2px;
    margin: 28px auto 14px;
  }
  .range-dot {
    position: absolute;
    top: 50%;
    left: 55%;
    width: 16px;
    height: 16px;
    background: var(--teal-light);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 6px rgba(91,184,212,0.25);
  }
  .range-foot {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    max-width: 220px;
    margin: 0 auto;
  }

  /* ── SECTION 4 VISUAL: TRAIN FLOW ── */
  .train-visual { width: 100%; max-width: 280px; text-align: center; }
  .train-step {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    padding: 14px 16px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.85);
  }
  .train-step.highlight {
    background: var(--teal);
    border-color: var(--teal-light);
    color: white;
    font-weight: 500;
  }
  .train-arrow {
    color: var(--teal-light);
    font-size: 1.2rem;
    margin: 6px 0;
  }

  /* ── INTERACTIVE PACER ── */
  .pacer-section {
    background: linear-gradient(180deg, #06172e 0%, var(--navy) 100%);
    color: var(--white);
    padding: 90px 40px 100px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .pacer-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--teal-light);
    margin-bottom: 14px;
  }
  .pacer-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 16px;
  }
  .pacer-intro {
    max-width: 560px;
    margin: 0 auto 8px;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    font-size: 1rem;
  }

  .pacer { max-width: 560px; margin: 0 auto; }

  .pacer-stage {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 48px auto 40px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .pacer-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px dashed rgba(91,184,212,0.35);
  }
  .pacer-orb {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, var(--teal-light), var(--teal) 70%);
    box-shadow: 0 0 60px rgba(26,127,160,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    /* JS sets transition-duration to match the breath phase */
    transition: transform 0.4s ease-in-out;
    transform: scale(1);
    will-change: transform;
  }
  .pacer-orb.expanded { transform: scale(2.1); }

  .pacer-cue {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.1rem;
    color: white;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 6px rgba(0,0,0,0.3);
    /* counter-scale so the label doesn't balloon with the orb */
    transition: transform 0.4s ease-in-out;
  }
  .pacer-orb.expanded .pacer-cue { transform: scale(0.48); }

  .pacer-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 28px;
    margin-bottom: 24px;
  }

  .pacer-btn {
    background: var(--teal);
    color: white;
    border: none;
    padding: 14px 38px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.25s, transform 0.15s;
  }
  .pacer-btn:hover { background: var(--teal-light); transform: translateY(-1px); }

  .pacer-rate-control { min-width: 220px; }
  .pacer-rate-readout {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--teal-light);
    margin-bottom: 8px;
  }
  .pacer-rate-unit {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
  }
  .pacer-rate-control input[type="range"] {
    width: 100%;
    accent-color: var(--teal-light);
    cursor: pointer;
  }
  .pacer-rate-scale {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.45);
    margin-top: 4px;
  }

  .pacer-note {
    max-width: 540px;
    margin: 0 auto;
    font-size: 0.85rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.6);
  }
  .pacer-section .ref-accordion {
    max-width: 540px;
    margin: 16px auto 0;
    text-align: left;
  }

  /* ── ANIMATIONS ── */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* Scroll reveal */
  .reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* ── RESPONSIVE ── */
  @media (max-width: 900px) {
    .hero { min-height: auto; padding: 80px 32px 60px; }
    .stats { grid-template-columns: 1fr; }
    .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.2); }
    .section-card, .section-card.reverse { grid-template-columns: 1fr; direction: ltr; }
    .section-visual { min-height: 280px; }
    .section-content { padding: 40px 32px; }
    .mini-grid { grid-template-columns: 1fr; }
    .mini-card { border-right: none; }
    .comparison { padding: 60px 24px; }
    .section-full { padding: 60px 32px; }
    .pacer-section { padding: 70px 24px 80px; }
    .footer { padding: 60px 32px; }
  }

  /* ── FOOTER ── */
  .footer {
    background: #06172e;
    border-top: 2px solid var(--teal);
    padding: 80px;
    text-align: center;
  }
  .footer-headline {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 700;
    font-style: italic;
    color: var(--teal-light);
    margin-bottom: 16px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }
  .footer-sub {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 40px;
  }
  .footer-divider {
    width: 60px;
    height: 2px;
    background: var(--teal);
    margin: 32px auto;
  }

  /* ── REDUCED MOTION ── */
  @media (prefers-reduced-motion: reduce) {
    .pacer-orb, .pacer-cue { transition: none !important; }
    .hero-eyebrow, .hero-title, .hero-subtitle, .hero-desc, .hero-cta { animation: none; opacity: 1; }
    .reveal { transition: none; }
  }
