  :root {
    --bg: #0d0c10;
    --bg2: #13111a;
    --cream: #f0ead8;
    --muted: #7a7490;
    --blue: oklch(0.62 0.20 255);
    --blue-glow: oklch(0.62 0.20 255 / 0.12);
    --amber: oklch(0.72 0.14 65);
    --amber-glow: oklch(0.72 0.14 65 / 0.15);
    --red: oklch(0.62 0.18 25);
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }
  body {
    background: var(--bg);
    color: var(--cream);
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    line-height: 1.75;
    overflow-x: hidden;
  }

  .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% 60% at 50% 100%, oklch(0.3 0.15 255 / 0.25) 0%, transparent 70%),
      radial-gradient(ellipse 50% 40% at 50% 50%, oklch(0.2 0.10 255 / 0.12) 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; font-weight: 500; letter-spacing: 0.25em;
    text-transform: uppercase; color: var(--blue);
    margin-bottom: 28px; position: relative;
  }

  .hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.8rem, 8vw, 6.5rem);
    font-weight: 900; line-height: 1.05;
    letter-spacing: -0.02em; max-width: 900px; position: relative;
  }
  .hero h1 em { font-style: italic; color: var(--blue); }

  .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; }

  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(--blue); }

  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: 500; color: var(--cream); }

  .pull-quote {
    border-left: 3px solid var(--blue);
    padding: 24px 32px; margin: 48px 0;
    background: var(--blue-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;
  }

  /* answer box */
  .answer-box {
    background: var(--bg2);
    border: 1px solid oklch(1 0 0 / 0.10);
    border-radius: 16px; padding: 48px;
    margin: 56px 0; position: relative; overflow: hidden;
  }
  .answer-box::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--blue), oklch(0.62 0.20 255 / 0));
  }
  .answer-label {
    font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase;
    color: var(--blue); font-weight: 500; margin-bottom: 16px;
  }
  .answer-text {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700; line-height: 1.3; color: var(--cream);
  }
  .answer-text em { font-style: italic; color: var(--blue); }

  /* two col -->  */
  .two-col {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 20px; margin: 48px 0;
  }
  .info-card {
    background: var(--bg2);
    border: 1px solid oklch(1 0 0 / 0.08);
    border-radius: 16px; padding: 36px;
  }
  .info-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem; font-weight: 700; margin-bottom: 12px;
  }
  .info-card p { font-size: 0.95rem; margin: 0; }

  /* mechanism steps */
  .mech-steps { display: flex; flex-direction: column; margin: 48px 0; }
  .mech-step {
    display: grid; grid-template-columns: 64px 1fr;
    gap: 24px; align-items: start;
    padding: 30px 0; border-bottom: 1px solid oklch(1 0 0 / 0.06);
  }
  .mech-step:last-child { border-bottom: none; }
  .mech-icon {
    width: 48px; height: 48px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; margin-top: 4px;
  }
  .mech-step h3 { margin-top: 0; font-size: 1.15rem; }
  .mech-step p  { margin-bottom: 0; font-size: 0.95rem; }

  /* collagen age chart */
  .chart-wrap {
    background: var(--bg2); border: 1px solid oklch(1 0 0 / 0.08);
    border-radius: 16px; padding: 48px; margin: 56px 0;
  }
  .chart-label {
    font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase;
    color: var(--blue); font-weight: 500; margin-bottom: 36px;
  }

  /* what to do -->  */
  .action-list { display: flex; flex-direction: column; gap: 0; margin: 48px 0; }
  .action-item {
    display: grid; grid-template-columns: 48px 1fr;
    gap: 20px; padding: 28px 0;
    border-bottom: 1px solid oklch(1 0 0 / 0.06);
    align-items: start;
  }
  .action-item:last-child { border-bottom: none; }
  .action-num {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem; font-weight: 900;
    color: var(--blue); line-height: 1; opacity: 0.45;
  }
  .action-item h3 { margin-top: 0; font-size: 1.1rem; }
  .action-item p  { margin-bottom: 0; font-size: 0.92rem; }

  /* faq -->  */
  .faq { display: flex; flex-direction: column; gap: 0; margin: 48px 0; }
  .faq-item {
    padding: 28px 0; border-bottom: 1px solid oklch(1 0 0 / 0.06);
  }
  .faq-item:last-child { border-bottom: none; }
  .faq-q {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem; font-weight: 700; margin-bottom: 10px;
  }
  .faq-a { font-size: 0.95rem; color: oklch(0.82 0.01 80); margin: 0; }

  /* ref -->  */
  .references {
    background: var(--bg2); border: 1px solid oklch(1 0 0 / 0.07);
    border-radius: 16px; padding: 40px 48px; margin-top: 32px;
  }
  .ref-title {
    font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase;
    color: var(--blue); font-weight: 500; margin-bottom: 24px;
  }
  .ref-item {
    padding: 14px 0; border-bottom: 1px solid oklch(1 0 0 / 0.05);
    font-size: 0.9rem; color: var(--muted); line-height: 1.6;
  }
  .ref-item:last-child { border-bottom: none; }
  .ref-item strong { color: oklch(0.72 0.05 80); font-weight: 500; }

  .closing {
    text-align: center; padding: 0 32px 140px;
    position: relative; overflow: hidden;
  }
  .closing-bg {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 70% 80% at 50% 50%, oklch(0.28 0.12 255 / 0.15) 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; }
*/
  
    .mech-step { grid-template-columns: 1fr; }
    .mech-icon { display: none; }
    .action-item { grid-template-columns: 40px 1fr; }
    .references { padding: 28px 20px; }


  @media (max-width: 640px) {
    body { overflow-x: hidden; }

    .container      { padding: 0 16px !important; }
    .wide-container { padding: 0 12px !important; overflow-x: hidden; }

    section { padding: 64px 0; }

    /* Cards and boxes */
    .graphic-card, .info-card, .stat-card,
    .collagen-viz, .chart-wrap, .geo-wrap,
    .spectrum-wrap, .references, .contrast-block,
    .signal-block, .it-row, .it-header,
    .pull-quote, .finding, .mechanism,
    .cascade, .pillar, .step { padding: 20px 16px !important; }

    /* All 2-col grids → 1 col */
    .graphic-grid, .two-col, .trio,
    .bullet-grid, .stat-row,
    [style*="grid-template-columns: 1fr 1fr"],
    [style*="grid-template-columns:1fr 1fr"],
    [style*="grid-template-columns: repeat(3"],
    [style*="grid-template-columns:repeat(3"] {
      grid-template-columns: 1fr !important;
    }

    /* Contrast / compare blocks */
    .contrast-block, .compare-block, .modern-vs,
    [style*="grid-template-columns: 1fr 1fr;"],
    [style*="grid-template-columns:1fr 1fr;"] {
      display: block !important;
    }

    .contrast-side, .compare-side,
    .modern-side { padding: 28px 18px !important; }

    /* Stat band */
    .stat-band {
      flex-direction: column !important;
      gap: 20px !important;
      padding: 32px 18px !important;
    }
    .stat-num { font-size: 3.5rem !important; }

    /* Steps */
    .step  { grid-template-columns: 40px 1fr !important; gap: 12px !important; }
    .step-num { font-size: 2rem !important; }
    .mech-step { grid-template-columns: 1fr !important; }
    .mech-icon, .pillar-icon, .finding-icon { display: none !important; }

    /* Tables */
    .it-header, .it-row {
      grid-template-columns: 1fr 1fr !important;
      padding: 12px 14px !important;
    }
    .it-bar-wrap, .it-context { display: none !important; }

    /* Inline padded divs */
    [style*="padding: 48px"], [style*="padding:48px"] {
      padding: 24px 16px !important;
    }
    [style*="padding: 40px 48px"], [style*="padding:40px 48px"] {
      padding: 22px 16px !important;
    }
    [style*="padding: 56px 48px"], [style*="padding:56px 48px"] {
      padding: 28px 16px !important;
    }

    /* Signal blocks side by side → stack */
    [style*="grid-template-columns: 1fr 1fr; gap:2px"],
    [style*="grid-template-columns:1fr 1fr; gap:2px"],
    [style*="display: grid; grid-template-columns: 1fr 1fr"] {
      display: block !important;
    }

    /* SVG scroll wrapper */
    .svg-scroll {
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      margin: 0 -4px;
      padding-bottom: 8px;
    }

    /* Closing */
    .closing { padding: 0 16px 80px !important; }
    .closing h2 { font-size: clamp(2rem, 9vw, 3.2rem) !important; }

    /* References */
    .references { padding: 24px 16px !important; }

    /* Hero graphic scales down */
    .hero-graphic svg,
    .hero > div > svg { max-width: 100% !important; height: auto !important; }

    footer { padding: 24px 16px; font-size: 11px; }
  }