    :root {
      --cream:        #F5F0E8;
      --cream-dark:   #EDE6D8;
      --forest:       #1B3A2D;
      --forest-mid:   #2D5E45;
      --sage:         #4A7C59;
      --gold:         #C4933F;
      --gold-light:   #E8BE7C;
      --blush:        #C97D6A;
      --blush-light:  #EFC5B8;
      --text:         #2A1F1A;
      --text-muted:   #7A6D67;
      --white:        #FEFAF3;
      --border:       rgba(27,58,45,0.14);
      --shadow:       0 12px 40px rgba(27,58,45,0.08);
    }

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

    html { scroll-behavior: smooth; }

    body {
      font-family: 'DM Sans', sans-serif;
      background: var(--cream);
      color: var(--text);
      min-height: 100vh;
      -webkit-font-smoothing: antialiased;
    }

    /* ─── SCREENS ─── */
    .screen { display: none; min-height: 100vh; flex-direction: column; animation: fadeUp .45s ease both; }
    .screen.active { display: flex; }

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

    /* ─── LOGO ─── */
    .logo {
      font-family: 'Cormorant Garamond', serif;
      font-size: 20px;
      font-weight: 500;
      color: var(--forest);
      letter-spacing: .04em;
      text-decoration: none;
    }
    .logo b { color: var(--gold); font-weight: 600; }

    /* ═══════════════════════════════════════
       LANDING
    ═══════════════════════════════════════ */
    #screen-landing {
      background: var(--forest);
      position: relative;
      overflow: hidden;
    }

    /* Mesh blobs */
    .blob {
      position: absolute;
      border-radius: 50%;
      pointer-events: none;
      filter: blur(80px);
      opacity: .18;
    }
    .blob-1 { width:600px; height:600px; background:var(--sage);   top:-180px; right:-160px; }
    .blob-2 { width:480px; height:480px; background:var(--gold);   bottom:-200px; left:-140px; }
    .blob-3 { width:320px; height:320px; background:var(--blush);  top:40%; right:5%; }

    /* Grain overlay */
    #screen-landing::before {
      content:'';
      position:absolute; inset:0;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='.05'/%3E%3C/svg%3E");
      opacity:.4; pointer-events:none; z-index:1;
    }

    .landing-nav {
      position: relative; z-index:2;
      padding: 32px 48px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .landing-logo {
      font-family: 'Cormorant Garamond', serif;
      font-size: 22px;
      font-weight: 500;
      color: rgba(245,240,232,.9);
      letter-spacing: .06em;
    }
    .landing-logo b { color: var(--gold-light); font-weight: 600; }

    .badge {
      border: 1px solid rgba(196,147,63,.4);
      color: var(--gold-light);
      font-size: 11px;
      font-weight: 500;
      letter-spacing: .12em;
      text-transform: uppercase;
      padding: 6px 14px;
      border-radius: 100px;
    }

    .landing-body {
      position: relative; z-index: 2;
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 40px 48px 80px;
    }

    .eyebrow {
      font-size: 11px;
      font-weight: 500;
      letter-spacing: .2em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 28px;
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .eyebrow::before, .eyebrow::after {
      content:'';
      width: 32px;
      height: 1px;
      background: var(--gold);
      opacity: .5;
    }

    .landing-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(54px, 9vw, 100px);
      font-weight: 300;
      line-height: .95;
      color: var(--cream);
      margin-bottom: 20px;
      letter-spacing: -.01em;
    }
    .landing-title em {
      font-style: italic;
      color: var(--gold-light);
    }

    .landing-tagline {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(18px, 2.5vw, 26px);
      font-weight: 300;
      color: rgba(245,240,232,.55);
      margin-bottom: 44px;
      max-width: 500px;
      line-height: 1.45;
    }

    .landing-cta {
      background: var(--gold);
      color: var(--forest);
      border: none;
      padding: 19px 52px;
      font-family: 'DM Sans', sans-serif;
      font-size: 15px;
      font-weight: 500;
      letter-spacing: .04em;
      border-radius: 2px;
      cursor: pointer;
      transition: transform .25s, box-shadow .25s;
      position: relative;
      overflow: hidden;
    }
    .landing-cta::after {
      content:'→';
      margin-left: 10px;
      transition: transform .2s;
      display: inline-block;
    }
    .landing-cta:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,.35); }
    .landing-cta:hover::after { transform: translateX(4px); }

    .landing-footnote {
      margin-top: 28px;
      font-size: 12px;
      color: rgba(245,240,232,.25);
      letter-spacing: .04em;
    }

    /* Three pillars */
    .pillars {
      position: relative; z-index: 2;
      display: flex;
      justify-content: center;
      gap: 1px;
      border-top: 1px solid rgba(245,240,232,.08);
      background: rgba(245,240,232,.04);
    }
    .pillar {
      flex: 1;
      max-width: 220px;
      padding: 28px 24px;
      text-align: center;
      border-right: 1px solid rgba(245,240,232,.08);
    }
    .pillar:last-child { border-right: none; }
    .pillar-icon { font-size: 22px; margin-bottom: 10px; }
    .pillar-label {
      font-size: 12px;
      font-weight: 500;
      color: rgba(245,240,232,.5);
      line-height: 1.5;
      letter-spacing: .02em;
    }

    /* ═══════════════════════════════════════
       QUIZ SHELL (nav + progress + content)
    ═══════════════════════════════════════ */
    .quiz-nav {
      padding: 24px 44px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-bottom: 1px solid var(--border);
    }

    .back-btn {
      background: none;
      border: none;
      color: var(--text-muted);
      font-family: 'DM Sans', sans-serif;
      font-size: 13px;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 6px;
      padding: 6px 0;
      transition: color .2s;
    }
    .back-btn:hover { color: var(--forest); }
    .back-btn svg { width:15px; height:15px; }

    .step-counter {
      font-size: 12px;
      color: var(--text-muted);
      letter-spacing: .06em;
      font-weight: 500;
    }

    .progress-wrap { padding: 0 44px; }
    .progress-track {
      height: 2px;
      background: var(--cream-dark);
      border-radius: 2px;
      overflow: hidden;
      margin-top: 16px;
    }
    .progress-fill {
      height: 100%;
      background: linear-gradient(90deg, var(--sage), var(--gold));
      border-radius: 2px;
      transition: width .5s cubic-bezier(.4,0,.2,1);
    }

    .quiz-content {
      flex: 1;
      padding: 44px 44px 64px;
      max-width: 820px;
      margin: 0 auto;
      width: 100%;
    }

    /* Question heading */
    .q-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(30px, 5vw, 48px);
      font-weight: 400;
      line-height: 1.1;
      color: var(--forest);
      margin-bottom: 10px;
    }
    .q-title em { font-style: italic; color: var(--sage); }

    .q-sub {
      font-size: 15px;
      color: var(--text-muted);
      margin-bottom: 40px;
      line-height: 1.6;
      max-width: 520px;
    }

    /* ─── PRODUCT TYPE GRID ─── */
    .type-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 14px;
    }

    .type-card {
      background: var(--white);
      border: 1.5px solid var(--border);
      border-radius: 4px;
      padding: 22px 18px 18px;
      cursor: pointer;
      transition: border-color .2s, transform .2s, box-shadow .2s, background .2s;
      position: relative;
      overflow: hidden;
    }
    .type-card:hover {
      border-color: var(--sage);
      transform: translateY(-2px);
      box-shadow: var(--shadow);
    }
    .type-card.selected {
      background: var(--forest);
      border-color: var(--forest);
    }
    .type-card.selected .tc-icon,
    .type-card.selected .tc-name { color: var(--cream); }
    .type-card.selected .tc-desc { color: rgba(245,240,232,.55); }

    .tc-icon {
      font-size: 30px;
      margin-bottom: 12px;
      display: block;
      line-height: 1;
    }
    .tc-name {
      font-size: 15px;
      font-weight: 500;
      color: var(--text);
      margin-bottom: 4px;
    }
    .tc-desc {
      font-size: 12px;
      color: var(--text-muted);
      line-height: 1.4;
    }

    /* ─── YES / NO ─── */
    .yn-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
    }
    .yn-card {
      background: var(--white);
      border: 1.5px solid var(--border);
      border-radius: 4px;
      padding: 48px 32px;
      cursor: pointer;
      text-align: center;
      transition: all .25s;
    }
    .yn-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
    .yn-yes:hover  { background: var(--sage);   border-color: var(--sage); }
    .yn-no:hover   { background: var(--blush);  border-color: var(--blush); }
    .yn-card:hover .yn-label,
    .yn-card:hover .yn-sub { color: #fff; }
    .yn-card:hover .yn-sub { opacity: .75; }

    .yn-icon  { font-size: 44px; margin-bottom: 18px; display: block; }
    .yn-label {
      font-family: 'Cormorant Garamond', serif;
      font-size: 34px;
      font-weight: 400;
      color: var(--forest);
      margin-bottom: 10px;
    }
    .yn-sub {
      font-size: 13px;
      color: var(--text-muted);
      line-height: 1.55;
    }

    /* ─── CONCERN CHIPS ─── */
    .concern-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-bottom: 36px;
    }
    .concern-chip {
      background: var(--white);
      border: 1.5px solid var(--border);
      border-radius: 100px;
      padding: 11px 22px;
      font-size: 14px;
      cursor: pointer;
      transition: all .2s;
      display: flex;
      align-items: center;
      gap: 8px;
      color: var(--text);
      user-select: none;
    }
    .concern-chip:hover { border-color: var(--sage); color: var(--forest); }
    .concern-chip.selected {
      background: var(--forest);
      border-color: var(--forest);
      color: var(--cream);
    }
    .chip-icon { font-size: 17px; }

    /* ─── SKIN TYPE CARDS ─── */
    .skintype-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 14px;
    }
    .skintype-card {
      background: var(--white);
      border: 1.5px solid var(--border);
      border-radius: 4px;
      padding: 22px 18px;
      cursor: pointer;
      transition: all .2s;
    }
    .skintype-card:hover { border-color: var(--forest); transform: translateY(-2px); box-shadow: var(--shadow); }
    .skintype-card.selected { background: var(--forest); border-color: var(--forest); }
    .skintype-card.selected .tc-icon,
    .skintype-card.selected .tc-name { color: var(--cream); }
    .skintype-card.selected .tc-desc { color: rgba(245,240,232,.55); }
    .skintype-card.full-width { grid-column: 1 / -1; }

    /* ─── CONTINUE BUTTON ─── */
    .continue-btn {
      background: var(--forest);
      color: var(--cream);
      border: none;
      padding: 17px 44px;
      font-family: 'DM Sans', sans-serif;
      font-size: 15px;
      font-weight: 500;
      border-radius: 2px;
      cursor: pointer;
      transition: all .2s;
      letter-spacing: .02em;
    }
    .continue-btn:hover:not(:disabled) { background: var(--forest-mid); transform: translateY(-1px); }
    .continue-btn:disabled { opacity: .32; cursor: not-allowed; }

    /* Skin-type mini-quiz result card */
    .skinquiz-result {
      grid-column: 1 / -1;
      text-align: center;
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: 4px;
      box-shadow: var(--shadow);
      padding: 40px 28px;
    }
    .skinquiz-result-icon { font-size: 52px; line-height: 1; display: block; margin-bottom: 14px; }
    .skinquiz-result-name { font-size: 22px; font-weight: 500; color: var(--forest); margin-bottom: 10px; }
    .skinquiz-result-name em { font-style: italic; color: var(--sage); }
    .skinquiz-result-desc {
      font-size: 14px; color: var(--text-muted); line-height: 1.6;
      max-width: 420px; margin: 0 auto 26px;
    }
    .skinquiz-result-actions { display: flex; flex-direction: column; align-items: center; gap: 12px; }
    .skinquiz-retake {
      background: none; border: none; cursor: pointer;
      font-family: 'DM Sans', sans-serif; font-size: 13px; color: var(--text-muted);
      text-decoration: underline; text-underline-offset: 3px;
    }
    .skinquiz-retake:hover { color: var(--forest); }

    /* ═══════════════════════════════════════
       RESULTS
    ═══════════════════════════════════════ */
    #screen-results { background: var(--cream); }

    .results-hero {
      background: var(--forest);
      padding: 28px 48px 72px;
      position: relative;
      overflow: hidden;
    }

    .results-nav {
      position: relative;
      z-index: 2;
      margin-bottom: 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .results-logo {
      font-family: 'Cormorant Garamond', serif;
      font-size: 22px;
      font-weight: 500;
      letter-spacing: .06em;
      color: rgba(245,240,232,.92);
      text-decoration: none;
      cursor: pointer;
      transition: color .2s, transform .2s;
      display: inline-block;
    }
    .results-logo b { color: var(--gold-light); font-weight: 600; }
    .results-logo:hover { color: var(--cream); transform: translateY(-1px); }
    .results-logo:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 2px; }
    .results-hero::after {
      content: '';
      position: absolute;
      bottom: -2px; left: 0; right: 0;
      height: 56px;
      background: var(--cream);
      clip-path: ellipse(52% 100% at 50% 100%);
    }
    .results-hero .blob-1 { width:400px; height:400px; top:-150px; right:-100px; opacity:.12; }
    .results-hero .blob-2 { width:300px; height:300px; bottom:-180px; left:-80px; opacity:.1; }

    .results-eyebrow {
      font-size: 11px;
      font-weight: 500;
      letter-spacing: .18em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 14px;
      position: relative;
    }
    .results-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(34px, 5.5vw, 58px);
      font-weight: 300;
      color: var(--cream);
      line-height: 1.1;
      max-width: 640px;
      margin-bottom: 20px;
      position: relative;
    }
    .results-title em { font-style: italic; color: var(--gold-light); }

    .summary-pills {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      position: relative;
    }
    .summary-pill {
      background: rgba(245,240,232,.1);
      border: 1px solid rgba(245,240,232,.2);
      color: rgba(245,240,232,.65);
      padding: 5px 16px;
      border-radius: 100px;
      font-size: 12px;
      font-weight: 500;
      letter-spacing: .04em;
      text-transform: capitalize;
    }

    .results-body {
      padding: 52px 48px 80px;
      max-width: 900px;
      margin: 0 auto;
    }

    /* Ingredients section */
    .section-label {
      font-family: 'Cormorant Garamond', serif;
      font-size: 24px;
      font-weight: 500;
      color: var(--forest);
      margin-bottom: 6px;
    }
    .section-note {
      font-size: 13px;
      color: var(--text-muted);
      margin-bottom: 20px;
      line-height: 1.5;
    }

    .ing-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 56px;
    }
    .ing-tag {
      background: var(--forest);
      color: var(--cream);
      padding: 9px 20px;
      border-radius: 2px;
      font-size: 13px;
      font-weight: 500;
      letter-spacing: .02em;
      display: flex;
      align-items: baseline;
      gap: 6px;
    }
    .ing-note {
      font-weight: 300;
      opacity: .55;
      font-size: 11px;
    }

    /* Products */
    .products-list {
      display: flex;
      flex-direction: column;
      gap: 14px;
      margin-bottom: 48px;
    }

    .prod-card {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: 4px;
      padding: 22px 26px;
      display: grid;
      grid-template-columns: 40px 1fr auto;
      gap: 18px;
      align-items: start;
      transition: box-shadow .2s, transform .2s;
    }
    .prod-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }

    .prod-rank {
      font-family: 'Cormorant Garamond', serif;
      font-size: 40px;
      font-weight: 300;
      line-height: 1;
      color: var(--cream-dark);
      text-align: center;
      padding-top: 2px;
    }
    .prod-card:nth-child(1) .prod-rank { color: var(--gold); }

    .prod-name {
      font-size: 15px;
      font-weight: 500;
      color: var(--text);
      margin-bottom: 3px;
    }
    .prod-brand {
      font-size: 11px;
      font-weight: 500;
      letter-spacing: .08em;
      text-transform: uppercase;
      color: var(--text-muted);
      margin-bottom: 12px;
    }
    .prod-matches {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .match-chip {
      background: rgba(74,124,89,.1);
      color: var(--sage);
      font-size: 11px;
      font-weight: 500;
      padding: 3px 10px;
      border-radius: 100px;
      align-self: flex-start;
    }
    .concern-group {
      display: flex;
      flex-direction: column;
      gap: 2px;
    }
    .concern-group-name {
      font-size: 11px;
      font-weight: 600;
      color: var(--forest);
      text-transform: capitalize;
      letter-spacing: .2px;
    }
    .concern-group-ings {
      font-size: 12px;
      color: var(--text);
      line-height: 1.4;
    }
    .concern-group-ings .ing-name { font-weight: 500; color: var(--sage); }
    .concern-group-ings .ing-note { color: var(--text-muted); }
    .concern-group-ings .sep { color: var(--text-muted); margin: 0 4px; }

    .prod-meta { text-align: right; flex-shrink: 0; }
    .prod-price {
      font-size: 19px;
      font-weight: 500;
      color: var(--forest);
      white-space: nowrap;
    }
    .prod-unit {
      font-size: 11px;
      color: var(--text-muted);
      margin-top: 2px;
    }
    .prod-dots {
      display: flex;
      gap: 3px;
      justify-content: flex-end;
      margin-top: 10px;
    }
    .dot {
      width: 6px; height: 6px;
      border-radius: 50%;
      background: var(--cream-dark);
    }
    .dot.on { background: var(--gold); }

    /* Disclaimer */
    .disclaimer {
      font-size: 12px;
      color: var(--text-muted);
      line-height: 1.6;
      border-top: 1px solid var(--border);
      padding-top: 24px;
      margin-bottom: 32px;
    }

    .restart-btn {
      background: none;
      border: 1.5px solid var(--border);
      color: var(--text-muted);
      padding: 14px 32px;
      font-family: 'DM Sans', sans-serif;
      font-size: 14px;
      border-radius: 2px;
      cursor: pointer;
      transition: all .2s;
    }
    .restart-btn:hover { border-color: var(--forest); color: var(--forest); }

    .bottom-actions {
      display: flex;
      align-items: center;
      gap: 16px;
      flex-wrap: wrap;
    }

    .plinko-btn {
      display: inline-block;
      background: none;
      border: 1.5px solid var(--border);
      color: var(--text-muted);
      padding: 14px 28px;
      font-family: 'DM Sans', sans-serif;
      font-size: 14px;
      border-radius: 2px;
      cursor: pointer;
      transition: all .2s;
      text-decoration: none;
    }
    .plinko-btn:hover {
      border-color: #e87d3e;
      color: #e87d3e;
      border-style: solid;
    }

    /* ─── RESPONSIVE ─── */
    @media (max-width: 640px) {
      .landing-nav, .landing-body { padding-left: 24px; padding-right: 24px; }
      .pillars { flex-direction: column; align-items: center; }
      .pillar { border-right: none; border-bottom: 1px solid rgba(245,240,232,.08); max-width: 100%; }

      .quiz-nav, .progress-wrap, .quiz-content { padding-left: 22px; padding-right: 22px; }
      .type-grid { grid-template-columns: repeat(2, 1fr); }
      .yn-grid { grid-template-columns: 1fr; }
      .skintype-grid { grid-template-columns: 1fr; }

      .results-hero { padding: 36px 24px 60px; }
      .results-body { padding: 40px 24px 64px; }
      .prod-card { grid-template-columns: 32px 1fr; }
      .prod-meta { grid-column: 2; }
    }
  .prod-score { font-size: 22px; font-weight: 600; color: var(--forest); line-height: 1; }
  .score-label { font-size: 11px; font-weight: 400; color: var(--text-muted); margin-left: 1px; }
  .score-reason {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 3px;
    line-height: 1.3;
    font-style: italic;
    max-width: 140px;
    text-align: right;
    margin-left: auto;
  }
  .site-footer {
    border-top: 1px solid rgba(27,58,45,.1);
    padding: 28px 24px 36px;
    margin-top: 60px;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    background: var(--cream-dark);
  }
  .site-footer a {
    color: var(--forest);
    text-decoration: none;
    border-bottom: 1px dotted rgba(27,58,45,.3);
    transition: border-color .15s ease;
  }
  .site-footer a:hover { border-bottom-color: var(--forest); }
  .site-footer .footer-tagline { display: block; margin-top: 6px; opacity: .7; font-size: 12px; }
  .prod-link { display: inline-block; margin-top: 6px; font-size: 12px; color: var(--gold); text-decoration: none; letter-spacing: .03em; }
  .prod-link:hover { text-decoration: underline; }
  .prod-img {
    width: 112px;
    height: 112px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 16px;
    flex-shrink: 0;
    background: var(--cream-dark);
    box-shadow: 0 2px 6px rgba(27,58,45,.08);
  }
  @media (max-width: 640px) {
    .prod-img { width: 84px; height: 84px; margin-right: 12px; }
  }
  .conflict-note { font-size: 11px; color: var(--blush); margin-top: 4px; }
  .results-loading { text-align: center; padding: 60px 20px; color: var(--text-muted); font-size: 15px; }

  /* ─── PAGINATION ─── */
  .pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    margin: 8px 0 40px;
  }
  .page-btn {
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    background: var(--white);
    border: 1px solid var(--border);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    border-radius: 2px;
    cursor: pointer;
    transition: all .18s;
  }
  .page-btn:hover:not(:disabled):not(.active) { border-color: var(--forest); color: var(--forest); }
  .page-btn.active {
    background: var(--forest);
    border-color: var(--forest);
    color: var(--cream);
    cursor: default;
  }
  .page-btn:disabled { opacity: .35; cursor: not-allowed; }
  .page-ellipsis { color: var(--text-muted); padding: 0 4px; font-size: 13px; user-select: none; }
  .page-info { font-size: 12px; color: var(--text-muted); text-align: center; margin-bottom: 14px; letter-spacing: .03em; }

  .prod-card { cursor: pointer; }
  .prod-card .view-hint {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 8px;
    letter-spacing: .04em;
    opacity: .55;
    transition: opacity .2s, color .2s;
  }
  .prod-card:hover .view-hint { opacity: 1; color: var(--gold); }

  /* ─── INLINE "WHY THIS SCORE?" ACCORDION ─── */
  .why-expand {
    margin-top: 10px;
    border-top: 1px dashed rgba(27,58,45,.12);
    padding-top: 8px;
  }
  .why-expand summary {
    list-style: none;
    cursor: pointer;
    font-size: 12px;
    color: var(--forest-mid);
    font-weight: 500;
    letter-spacing: .03em;
    padding: 4px 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px dotted rgba(45,94,69,.4);
    transition: color .15s ease;
  }
  .why-expand summary::-webkit-details-marker { display: none; }
  .why-expand summary:hover { color: var(--forest); }
  .why-chevron {
    font-size: 10px;
    transition: transform .25s ease;
    display: inline-block;
  }
  .why-expand[open] summary .why-chevron { transform: rotate(180deg); }
  .why-body {
    padding: 12px 0 4px;
    animation: whyFadeIn .25s ease;
  }
  @keyframes whyFadeIn {
    from { opacity: 0; transform: translateY(-3px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .why-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 6px 0;
    font-size: 13px;
    line-height: 1.45;
    color: var(--text);
    border-bottom: 1px solid rgba(27,58,45,.06);
  }
  .why-row:last-of-type { border-bottom: none; }
  .why-row .why-icon {
    flex-shrink: 0;
    width: 16px;
    color: var(--sage);
    font-weight: 600;
    margin-top: 1px;
  }
  .why-row.warn .why-icon { color: var(--blush); }
  .why-row.warn { color: var(--blush); }
  .why-row .why-name { font-weight: 500; color: var(--forest); }
  .why-row.warn .why-name { color: var(--blush); }
  .why-row .why-pos {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: .02em;
  }
  .why-row .why-note {
    color: var(--text-muted);
    font-size: 12px;
    display: block;
    margin-top: 2px;
  }
  .see-full-btn {
    margin-top: 12px;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--forest);
    padding: 8px 14px;
    border-radius: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .03em;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease;
  }
  .see-full-btn:hover {
    background: var(--forest);
    color: var(--white);
    border-color: var(--forest);
  }

  /* ─── PRODUCT MODAL ─── */
  .modal-overlay {
    position: fixed; inset: 0;
    background: rgba(27,58,45,0.55);
    backdrop-filter: blur(4px);
    display: none;
    align-items: flex-start;
    justify-content: center;
    z-index: 1000;
    padding: 40px 20px;
    overflow-y: auto;
    animation: overlayFade .25s ease;
  }
  .modal-overlay.open { display: flex; }
  @keyframes overlayFade { from { opacity: 0; } to { opacity: 1; } }

  .modal {
    background: var(--cream);
    width: 100%;
    max-width: 720px;
    border-radius: 6px;
    box-shadow: 0 30px 80px rgba(27,58,45,.35);
    position: relative;
    animation: modalRise .35s cubic-bezier(.4,0,.2,1);
    margin: auto;
  }
  @keyframes modalRise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

  .modal-close {
    position: absolute;
    top: 16px; right: 16px;
    width: 36px; height: 36px;
    border: none;
    background: rgba(27,58,45,.06);
    color: var(--forest);
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    transition: background .2s, transform .2s;
    z-index: 2;
  }
  .modal-close:hover { background: var(--forest); color: var(--cream); transform: rotate(90deg); }

  .modal-hero {
    background: var(--forest);
    color: var(--cream);
    padding: 36px 40px 32px;
    border-radius: 6px 6px 0 0;
    position: relative;
    overflow: hidden;
  }
  .modal-hero-img {
    width: 64px; height: 64px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 18px;
    background: var(--cream-dark);
  }
  .modal-brand {
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 6px;
  }
  .modal-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 16px;
  }
  .modal-score-row {
    display: flex;
    align-items: baseline;
    gap: 18px;
    flex-wrap: wrap;
  }
  .modal-big-score {
    font-family: 'Cormorant Garamond', serif;
    font-size: 56px;
    font-weight: 300;
    color: var(--gold-light);
    line-height: 1;
  }
  .modal-big-score small { font-size: 16px; opacity: .55; }
  .modal-price {
    font-size: 18px;
    font-weight: 500;
    color: var(--cream);
  }
  .modal-link {
    margin-left: auto;
    background: var(--gold);
    color: var(--forest);
    text-decoration: none;
    padding: 9px 18px;
    border-radius: 2px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .04em;
    transition: transform .2s, box-shadow .2s;
  }
  .modal-link:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.25); }

  .modal-body { padding: 32px 40px 40px; }

  .modal-section { margin-bottom: 28px; }
  .modal-section:last-child { margin-bottom: 0; }
  .modal-section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 500;
    color: var(--forest);
    margin-bottom: 10px;
  }
  .modal-section-note {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 14px;
    line-height: 1.55;
  }

  .why-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .why-list li {
    font-size: 14px;
    line-height: 1.55;
    color: var(--text);
    padding: 10px 0 10px 26px;
    position: relative;
    border-bottom: 1px solid var(--border);
  }
  .why-list li:last-child { border-bottom: none; }
  .why-list li::before {
    content: '✓';
    position: absolute;
    left: 0; top: 10px;
    color: var(--sage);
    font-weight: 600;
  }
  .why-list li.warn::before { content: '⚠'; color: var(--blush); }

  .hero-ing-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-left: 4px solid var(--gold);
    border-radius: 4px;
    padding: 14px 16px;
    margin-bottom: 10px;
  }
  .hero-ing-name {
    font-size: 15px;
    font-weight: 500;
    color: var(--forest);
    margin-bottom: 4px;
  }
  .hero-ing-meta {
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 8px;
  }
  .hero-ing-meta .disclosed-tag {
    background: var(--gold);
    color: var(--forest);
    padding: 2px 8px;
    border-radius: 100px;
    margin-left: 6px;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 600;
  }
  .hero-ing-reasons {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text);
  }
  .hero-ing-reasons li {
    padding: 3px 0;
    color: var(--text);
  }
  .hero-ing-reasons li b {
    color: var(--sage);
    font-weight: 600;
    margin-right: 6px;
  }
  .hero-ing-reasons li.tier-supporting b { color: var(--gold); }

  .inci-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    line-height: 1.7;
  }
  .inci-chip {
    background: var(--white);
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 4px 11px;
    border-radius: 100px;
    font-size: 12px;
    transition: all .15s;
  }
  .inci-chip.hero {
    background: var(--forest);
    border-color: var(--forest);
    color: var(--cream);
    font-weight: 500;
  }
  .inci-chip.skin-prefer { border-color: var(--sage); color: var(--sage); }
  .inci-chip.skin-avoid  { border-color: var(--blush); color: var(--blush); }
  .inci-chip.hero.skin-prefer,
  .inci-chip.hero.skin-avoid { color: var(--cream); }

  .score-note {
    background: rgba(74,124,89,.08);
    border-left: 3px solid var(--sage);
    border-radius: 4px;
    padding: 16px 18px;
    margin-top: 8px;
  }
  .score-note-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 17px;
    font-weight: 500;
    color: var(--forest);
    margin-bottom: 6px;
  }
  .score-note-body {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text);
  }
  .score-note-body em {
    color: var(--sage);
    font-style: normal;
    font-weight: 600;
  }

  body.modal-open { overflow: hidden; }

  @media (max-width: 640px) {
    .modal-overlay { padding: 0; }
    .modal { border-radius: 0; min-height: 100vh; }
    .modal-hero { padding: 28px 22px; }
    .modal-body { padding: 24px 22px 36px; }
    .modal-name { font-size: 22px; }
    .modal-big-score { font-size: 44px; }
    .modal-link { margin-left: 0; }
  }
