
.story-section{display:block;padding-block:clamp(52px,6.2vw,96px);border-block:1px solid var(--line)}
.story-heading{padding-top:0;display:grid;grid-template-columns:1fr .72fr;align-items:end;gap:20px;margin-bottom:42px}
.story-heading .lead{font-size:clamp(17px,1.8vw,22px);margin-bottom:0;max-width:420px}
.story-heading .eyebrow{margin-bottom:17px}
.story-heading h2{font-size:clamp(48px,6vw,88px)}
.story-grid{--story-title-size:31px;display:grid;grid-template-columns:1fr 1fr;gap:18px}
.story-panel{--accent:var(--lime);--wash:#181915;background:linear-gradient(155deg,var(--wash),#111 72%);border:1px solid #333;padding:clamp(24px,3.5vw,54px);border-top:2px solid var(--accent);min-width:0}
.pro-story{--accent:var(--purple);--wash:#1c151d}
.story-panel header{display:block;margin-bottom:28px}
.story-panel header h3{font-size:clamp(60px,6.7vw,96px);margin:0 0 5px;color:var(--accent);inset-block-start:-.085em}
/* Optical alignment: compensate for the different left bearings of d and p. */
.daily-story header h3{position:relative;inset-inline-start:-.05em}
.pro-story header h3{position:relative;inset-inline-start:-.075em}
.story-panel header p{font-size:17px;color:#D5D5D1}
.story-panel header .story-tagline{font-size:18px}
.story-entry{padding-block:22px;border-top:1px solid var(--line)}
.story-entry:last-child{padding-bottom:8px}
.story-entry h4,.story-panel header .story-intro-title{color:var(--accent);font-family:BoldLight,Helvetica,Arial,sans-serif;font-weight:300;overflow-wrap:break-word;font-size:var(--story-title-size);line-height:1.2;letter-spacing:-.035em;margin:0 0 9px}
.story-entry p{font-size:16px;line-height:1.48;color:#cfcfca}
.story-link{margin:27px 0 0;display:inline-flex;gap:12px;color:var(--white);align-items:center;border-bottom:1px solid #565656;padding:3px 0 6px;font-size:15px}
.story-link span{color:var(--lime)}
@media(max-width:1100px) and (min-width:761px){.story-grid{--story-title-size:26px}}
@media(max-width:760px){
 .story-grid{--story-title-size:clamp(19px,5.25vw,27px)}
 .story-heading,.story-grid{grid-template-columns:1fr}
 .story-heading{margin-bottom:28px}
 .story-panel{padding:24px}
}

/* Match expanded ingredient subheadings to the serum they belong to. */
.ingredient.daily .ingredient-pairings strong{color:var(--lime)}
.ingredient.pro .ingredient-pairings strong{color:var(--purple)}

/* Share the desktop row heights so all three dividers and headings align. */
@media(max-width:360px){.story-grid{--story-title-size:18px}}
.story-panel header .story-intro-title{margin:24px 0 9px}
.story-panel header .story-intro-title strong{font-weight:inherit}
.story-panel header .story-intro-copy{margin:0;line-height:1.48}
@media(min-width:761px){
 @supports(grid-template-rows:subgrid){
  .story-panel{display:grid;grid-template-rows:subgrid;grid-row:span 4;row-gap:0}
  .story-entries{display:contents}
 }
}

/* More room across each serum panel, with matched type and compact rows. */
.story-section{padding-block:clamp(38px,4.5vw,68px)}
.story-heading{margin-bottom:30px}
.story-panel{padding-block:clamp(23px,2.7vw,40px);padding-inline:clamp(20px,2.45vw,36px)}
.story-panel header{margin-bottom:20px}
.story-panel header .story-intro-title{margin-top:20px}
.story-panel header .story-intro-copy,.story-entry p{font-size:16px;line-height:1.48}
.story-entry{padding-block:16px}
.story-entry p{margin:0}
.story-entry:last-child{padding-bottom:4px}
.story-link{margin-top:20px}
@media(max-width:760px){
 .story-heading{margin-bottom:23px}
 .story-panel{padding-block:22px;padding-inline:21px}
}

/* A shared scale for major content headings, separate from the hero and card titles. */
:root{--ingredients-section-heading:clamp(44px,5.1vw,78px)}
.story-heading h2,
#ingredients .section-intro h2,
.approach-reference h2,
#faq h2{font-size:var(--ingredients-section-heading);white-space:normal}
@media(max-width:760px){
 :root{--ingredients-section-heading:clamp(34px,9.6vw,44px)}
}

/* Full-bleed rules with the same text alignment as the surrounding content. */
.ingredients-principles{border-block:1px solid #44463f}
.ingredients-principles ul{border-block:0}
.ingredients-principles li{font-size:13px}
@media(max-width:760px){.ingredients-principles li{font-size:12px}}

/* Keep both serum ribbons in frame as a shallow, full-width accent. */
.ingredients-original-membranes img{height:clamp(190px,23vw,340px);object-fit:cover;object-position:center}
@media(max-width:760px){
 .ingredients-original-membranes img{height:clamp(125px,32vw,180px)}
}

/* Reference layout: ribbons behind the hero, then formula stories and the index. */
.ingredient-reference-hero{position:relative;isolation:isolate;overflow:hidden;border-bottom:1px solid var(--line)}
.ingredient-reference-hero::before{position:absolute;z-index:-1;inset:0;content:"";background:linear-gradient(90deg,#0b0b0b 0%,rgba(11,11,11,.9) 34%,rgba(11,11,11,.43) 77%,rgba(11,11,11,.55)),url(/assets/serum-ribbons-refined.webp) right center/cover no-repeat}
.ingredient-reference-hero-copy{padding-block:clamp(56px,8.5vw,138px) clamp(42px,6.4vw,102px)}
.ingredient-reference-hero .eyebrow{margin:0 0 25px}
.ingredient-reference-hero h1{font-size:clamp(44px,7.4vw,108px);margin:0 0 24px;line-height:.99;max-width:12ch}
.ingredient-reference-hero .lead{max-width:52ch;margin:0;font-size:clamp(16px,1.55vw,21px);line-height:1.55}
.ingredients-jump-links{display:flex;flex-wrap:wrap;gap:2px 24px;margin-top:19px;max-width:620px}
.ingredients-jump-links a{display:inline-flex;align-items:center;min-height:44px;color:var(--lime);text-decoration:underline;text-underline-offset:.28em;font-size:15px}
#inside-formulas{border-top:0}
#inside-formulas .story-grid{--story-title-size:clamp(23px,2.75vw,35px);gap:clamp(16px,2vw,30px)}
#inside-formulas .story-panel{display:flex;flex-direction:column;min-width:0;background:#171a13;border-inline:0;border-bottom:0;border-top-width:2px;padding:clamp(24px,3vw,46px)}
#inside-formulas .pro-story{--accent:var(--brand-orchid)}
#inside-formulas .story-panel h3{font-family:BoldHeavy,Helvetica,Arial,sans-serif;font-weight:700;font-size:clamp(49px,6.05vw,91px);line-height:1.04}
#inside-formulas .story-entry h4,#inside-formulas .story-panel .story-intro-title{font-family:BoldHeavy,Helvetica,Arial,sans-serif;font-weight:700;letter-spacing:-.027em}
#inside-formulas .story-panel .ingredient-story-kicker{margin:0 0 15px}
.ingredient-product-link{align-self:flex-start;color:var(--accent);text-decoration:underline;text-underline-offset:.26em;margin-top:auto;padding-top:16px;min-height:44px}
#ingredients .section-intro h2{margin-bottom:17px}
#ingredients .section-intro .intro-copy{margin:0;max-width:59ch;font-size:clamp(16px,1.5vw,20px);line-height:1.55}
#ingredients .ingredient-index-label{grid-template-columns:var(--ingredient-clean-layout);gap:var(--locator-gap)}
#ingredients .ingredient-index-label>span:first-child{grid-column:1}
#ingredients .ingredient-index-label>span:nth-child(2){grid-column:2}
#ingredients .ingredient-index-label>span:last-child{grid-column:3}
#ingredients.ingredient-section{--ingredient-clean-layout:minmax(0,1.04fr) minmax(0,1.12fr) minmax(143px,.56fr) 28px}
#ingredients .ingredient>summary{grid-template-columns:var(--ingredient-clean-layout);min-height:63px;padding-block:14px}
#ingredients .ingredient>summary>.ingredient-number{display:none}
#ingredients .ingredient>summary>.ingredient-name{font-size:clamp(17px,1.87vw,25px);line-height:1.2}
#ingredients .ingredient>summary>.ingredient-row-role{font-size:clamp(14px,1.33vw,17px);line-height:1.35}
#ingredients .ingredient.pro>summary>.ingredient-name>span{color:var(--brand-orchid)}
#ingredients .ingredient>summary>.formula-tag{display:flex;flex-wrap:wrap;align-items:center;gap:4px;text-transform:none}
.ingredient-formula-chip{display:inline-flex;align-items:center;min-height:24px;white-space:nowrap;border:1px solid currentColor;padding:2px 6px;font-family:BoldBody,Helvetica,Arial,sans-serif;font-size:12px;line-height:1.1;letter-spacing:.025em;color:var(--lime)}
.ingredient-formula-chip.chip-pro{color:var(--brand-orchid)}
#ingredients .ingredient.both .ingredient-formula-chip{color:var(--white)}
@media(max-width:760px){
 .ingredient-reference-hero::before{background-position:center,right center;background-size:auto,auto 100%}
 .ingredient-reference-hero h1{font-size:clamp(43px,11.5vw,70px)}
 #inside-formulas .story-grid{--story-title-size:clamp(22px,5.6vw,28px)}
 #ingredients.ingredient-section{--ingredient-clean-layout:minmax(0,1fr) minmax(68px,auto) 23px}
 #ingredients .ingredient-index-label>span:nth-child(2){display:none}
 #ingredients .ingredient-index-label>span:last-child{grid-column:2}
 #ingredients .ingredient>summary>.formula-tag{justify-content:flex-end}
 #ingredients .ingredient>summary>.ingredient-row-role{grid-column:1/-1}
 #ingredients .ingredient>summary>.ingredient-name{font-size:clamp(17px,4.3vw,22px)}
}

/* The original Ingredients serum artwork and paired formula treatment. */
.ingredient-reference-hero::before {
  inset:15px 0 0 auto;width:48%;
  background:url(/assets/ingredients-original-serum.webp) center / cover no-repeat;
  opacity:.58;mask-image:linear-gradient(90deg,transparent,#000 46%);
}
.ingredient-reference-hero h1 {max-width:9ch}
.ingredient-reference-hero h1 strong{
  font-family:BoldHeavy,Helvetica,Arial,sans-serif;font-weight:700;color:var(--lime);
}
#inside-formulas .story-grid {gap:clamp(18px,2.1vw,30px)}
#inside-formulas .story-panel {background:#141414}
#inside-formulas .daily-story {--accent:var(--lime)}
#inside-formulas .pro-story {--accent:var(--brand-orchid);border-top-color:var(--brand-orchid)}
#inside-formulas .story-panel header h3,
#inside-formulas .story-panel header .story-intro-title,
#inside-formulas .story-panel .story-entry h4 {color:var(--accent)}
#inside-formulas .story-panel header .story-tagline{
  color:var(--white);font-family:BoldLight,Helvetica,Arial,sans-serif;
  font-size:clamp(18px,1.7vw,24px);font-weight:300;
}
#inside-formulas .ingredient-story-kicker .ingredient-formula-chip {
  min-height:28px;background:var(--accent);color:#0b0b0b;border-color:var(--accent);
  padding:4px 9px;font-family:BoldHeavy,Helvetica,Arial,sans-serif;
}
@media(max-width:760px){
  .ingredient-reference-hero::before{width:71%;background-position:center;opacity:.23}
}

/* Both formula cards share the intro, three ingredient rows, and the closing link. */
@media (min-width:761px) {
  @supports (grid-template-rows:subgrid) {
    #inside-formulas .story-panel {
      display:grid;
      grid-template-rows:subgrid;
      grid-row:1 / span 5;
      row-gap:0;
    }
    #inside-formulas .daily-story {grid-column:1}
    #inside-formulas .pro-story {grid-column:2}
    #inside-formulas .story-entries {display:contents}
    #inside-formulas .ingredient-product-link {justify-self:start;align-self:start;margin-top:0}
  }
}

/* Match the Shop closer's headline scale and section padding in Daily lime. */
#ingredients.ingredient-section:has(+ .ingredients-closing) {padding-bottom:clamp(10px,1.2vw,18px)}
#ingredients.ingredient-section > .index-note {margin-bottom:0}
.ingredients-closing {
  padding-block:clamp(64px,7.25vw,118px);
  background:var(--lime);color:var(--black);
}
.ingredients-closing #ingredients-closer-title {
  margin:0;max-width:100%;color:inherit;
  font-size:clamp(39px,5.5vw,88px);font-weight:300;line-height:1.04;
}
.ingredients-closing #ingredients-closer-title > :is(span,strong) {
  display:block;color:inherit;text-wrap:balance;
}
