  :root {
    --bg: #0d0c10;
    --bg2: #13111a;
    --cream: #f0ead8;
    --muted: #7a7490;
    --amber: oklch(0.72 0.14 65);
    --amber-glow: oklch(0.72 0.14 65 / 0.15);
    --blue: oklch(0.62 0.20 255);
    --blue-glow: oklch(0.62 0.20 255 / 0.10);
    --red-ir: oklch(0.62 0.16 25);
    --violet: oklch(0.60 0.18 295);
    --green: oklch(0.65 0.16 155);
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }
  body {
    background: var(--bg);
    color: var(--cream);

    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .hero {
    min-height: 100vh;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center; padding: 80px 24px;
    position: relative; overflow: hidden;
  }
  .hero-bg {
    position: absolute; inset: 0;
    background:
      radial-gradient(ellipse 80% 55% at 50% 100%, oklch(0.35 0.12 65 / 0.28) 0%, transparent 70%),
      radial-gradient(ellipse 50% 40% at 50% 50%, oklch(0.22 0.08 65 / 0.14) 0%, transparent 60%);
  }
  .stars { position: absolute; inset: 0; pointer-events: none; }
  .star {
    position: absolute; background: white; border-radius: 50%;
    animation: twinkle var(--d,3s) ease-in-out infinite var(--delay,0s);
  }
  @keyframes twinkle {
    0%,100%{opacity:var(--min-op,.2)} 50%{opacity:var(--max-op,.9)}
  }

  .eyebrow {
    font-size: 11px; letter-spacing: 0.25em;
    text-transform: uppercase; color: var(--amber);
    margin-bottom: 28px; position: relative;
  }

  .hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.8rem, 8vw, 6.5rem);
    font-weight: 700; line-height: 1.0;
    letter-spacing: -0.02em; max-width: 900px; position: relative;
  }
  .hero h1 em { font-style: italic; color: var(--amber); }

  .hero-sub {
    margin-top: 28px; font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--muted); max-width: 540px; position: relative;
  }

  .container      { max-width: 720px;  margin: 0 auto; padding: 0 32px; }
  .wide-container { max-width: 1100px; margin: 0 auto; padding: 0 32px; overflow-x: hidden; }

  section { padding: 100px 0; }
  section + section { border-top: 1px solid oklch(1 0 0 / 0.06); }

  h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700; line-height: 1.15;
    letter-spacing: -0.01em; margin-bottom: 32px;
  }
  h2 em { font-style: italic; color: var(--amber); }

  h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem; font-weight: 700;
    margin-bottom: 10px; margin-top: 36px;
  }

  p { margin-bottom: 20px; font-size: 1.05rem; color: oklch(0.88 0.01 80); }
  strong { font-weight: 700; color: var(--cream); }

  .pull-quote {
    border-left: 3px solid var(--amber);
    padding: 24px 32px; margin: 48px 0;
    background: var(--amber-glow); border-radius: 0 8px 8px 0;
  }
  .pull-quote p {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-style: italic; color: var(--cream); margin: 0; line-height: 1.5;
  }

  /* spectrum bands */
  .spectrum-wrap {
    background: var(--bg2); border: 1px solid oklch(1 0 0 / 0.08);
    border-radius: 16px; padding: 48px; margin: 56px 0;
  }
  .spec-label {
    font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase;
    color: var(--amber);  margin-bottom: 36px;
  }

  /* two-col compare */
  .compare-block {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 2px; border-radius: 16px; overflow: hidden; margin: 56px 0;
  }
  .compare-side { padding: 48px 40px; }
  .compare-side.sun  { background: oklch(0.17 0.05 65); }
  .compare-side.led  { background: oklch(0.17 0.06 255); }
  .compare-lbl {
    font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase;
     margin-bottom: 18px;
  }
  .compare-side.sun  .compare-lbl { color: var(--amber); }
  .compare-side.led  .compare-lbl { color: var(--blue); }
  .compare-item {
    font-family: 'Playfair Display', serif;
    font-size: 1rem; font-style: italic;
    padding: 9px 0; border-bottom: 1px solid oklch(1 0 0 / 0.06);
  }
  .compare-item:last-child { border-bottom: none; }
  .compare-side.sun  .compare-item { color: oklch(0.80 0.10 70); }
  .compare-side.led  .compare-item { color: oklch(0.70 0.10 255); }

  /* pillar cards */
  .pillars { display: flex; flex-direction: column; margin: 48px 0; }
  .pillar {
    display: grid; grid-template-columns: 72px 1fr;
    gap: 28px; align-items: start;
    padding: 36px 0; border-bottom: 1px solid oklch(1 0 0 / 0.06);
  }
  .pillar:last-child { border-bottom: none; }
  .pillar-icon {
    width: 56px; height: 56px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  }
  .pillar h3 { margin-top: 0; font-size: 1.2rem; }
  .pillar h3 span { color: var(--amber); }
  .pillar p  { margin-bottom: 0; font-size: 0.95rem; }

  /* stat band -->  */
  .stat-band {
    background: var(--bg2); border: 1px solid oklch(1 0 0 / 0.08);
    border-radius: 16px; padding: 56px 48px;
    display: flex; align-items: center; gap: 48px; margin: 64px 0;
  }
  .stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 5rem; font-weight: 700;
    color: var(--amber); line-height: 1; white-space: nowrap;
  }
  .stat-desc { font-size: 1.05rem; color: oklch(0.78 0.01 80); }
  .stat-desc strong { color: var(--cream); font-size: 1.1rem; display: block; margin-bottom: 6px; }

  /* action steps -->  */
  .steps { display: flex; flex-direction: column; margin: 48px 0; }
  .step {
    display: grid; grid-template-columns: 72px 1fr;
    gap: 24px; align-items: start;
    padding: 32px 0; border-bottom: 1px solid oklch(1 0 0 / 0.06);
  }
  .step:last-child { border-bottom: none; }
  .step-num {
    font-family: 'Playfair Display', serif;
    font-size: 3rem; font-weight: 700;
    color: var(--amber); line-height: 1; opacity: 0.5;
  }
  .step h3 { margin-top: 0; font-size: 1.2rem; }
  .step p  { margin-bottom: 0; font-size: 0.95rem; }

  /* study cards -->  */
  .studies { display: flex; flex-direction: column; margin: 48px 0; }
  .study-card {
    background: var(--bg2); border: 1px solid oklch(1 0 0 / 0.07);
    border-radius: 12px; padding: 28px 32px;
    margin-bottom: 12px;
  }
  .study-card:last-child { margin-bottom: 0; }
  .study-author {
    font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--amber); margin-bottom: 6px;
  }
  .study-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; color: var(--cream);
  }
  .study-finding { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }

  .closing {
    text-align: center; padding: 140px 32px;
    position: relative; overflow: hidden;
  }
  .closing-bg {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 70% 80% at 50% 50%, oklch(0.32 0.10 65 / 0.14) 0%, transparent 70%);
  }
  .closing h2 { font-size: clamp(2.5rem, 6vw, 5rem); max-width: 700px; margin: 0 auto 32px; }
  .closing p  { max-width: 480px; margin: 0 auto; font-size: 1.1rem; color: var(--muted); }

  footer {
    text-align: center; padding: 40px 32px;
    font-size: 12px; color: oklch(0.45 0 0);
    border-top: 1px solid oklch(1 0 0 / 0.06);
  }
  footer a { color: var(--amber); text-decoration: none; }

/*
  .reveal {
    opacity: 0; transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal.visible { opacity: 1; transform: none; }
*/
  @media (max-width: 640px) {
    .container      { padding: 0 18px; }
    .wide-container { padding: 0 14px; }

    .compare-block  { grid-template-columns: 1fr; }
    .compare-side   { padding: 32px 22px; }

    .stat-band      { flex-direction: column; gap: 20px; padding: 32px 22px; }
    .stat-num       { font-size: 3.8rem; }

    .pillar         { grid-template-columns: 1fr; gap: 14px; }
    .pillar-icon    { display: none; }

    .step           { grid-template-columns: 44px 1fr; gap: 14px; }
    .step-num       { font-size: 2.2rem; }

    .spectrum-wrap,
    .geo-wrap,
    .chart-wrap,
    .collagen-viz   { padding: 28px 18px; }

    .study-card     { padding: 22px 18px; }

    /* SVGs — keep them scrollable rather than tiny */
    .svg-scroll     { overflow-x: auto; -webkit-overflow-scrolling: touch; }

    /* melatonin two-role diagram stacks vertically on mobile */
    .mel-grid       { display: block !important; }

    .closing        { padding: 80px 18px; }
    .closing h2     { font-size: clamp(2rem, 9vw, 3.5rem); }


  }