.ingredient-story { --story-forest: #192f27; --story-pale: #e7ecdf; background: #f6f7f1; }
.ingredient-story .ingredient-header { background: var(--story-forest); color: #edf1e7; border-color: #d4dfca26; padding-block: 24px; }
.ingredient-story .ingredient-header .brand { color: inherit; }
.ingredient-story .ingredient-breadcrumb { background: var(--story-forest); color: #b8c9ae; padding-block: 18px; }
.story-hero { display: grid; grid-template-columns: 1fr 1fr; background: var(--story-forest); color: #f0f2e9; }
.story-hero-copy { padding: 34px 10% 34px; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 50px; min-height: 480px; }
.story-eyebrow { display: flex; justify-content: space-between; gap: 15px; margin: 0; font: 10px/1.6 var(--mono); letter-spacing: 1px; color: #afc3a3; }
.story-category { display: block; font: 10px/1.8 var(--mono); color: #b8c9ae; letter-spacing: .4px; }
.story-title-group h1 { font-size: clamp(56px, 6.5vw, 104px); font-weight: 400; line-height: 1.02; letter-spacing: -.065em; margin: 25px 0 30px; overflow-wrap: normal; }
.story-opening { font-size: clamp(18px, 1.7vw, 24px); line-height: 1.65; max-width: 36ch; color: #d0dbca; margin: 0; }
.story-hero-bottom { border-top: 1px solid #c3d1b841; padding-top: 10px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.story-hero-bottom a { font-size: 14px; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; display: flex; gap: 12px; align-items: center; }
.story-hero-bottom a span { font-size: 24px; }
.story-hero-bottom > span { font: 8px/1.7 var(--mono); letter-spacing: .6px; color: #afc3a3; }
.story-hero-visual { position: relative; min-width: 0; }
.story-hero-visual .photo-frame { height: 100%; border-radius: 0; background: var(--story-forest); }
.story-hero-visual .ingredient-photo { width: 100%; height: 100%; min-height: 480px; position: absolute; inset: 0; object-fit: contain; }
.story-hero-visual.has-cutout .ingredient-photo { width: 86%; height: 86%; min-height: 0; inset: 7%; }
.story-hero-visual.has-cutout { background: radial-gradient(ellipse at center, #354f3e55, transparent 68%); }
.story-photo-label, .story-inspect { position: absolute; pointer-events: none; background: #192f27; color: #c8d9c0; font: 9px/1.5 var(--mono); letter-spacing: .6px; padding: 9px 12px; }
.story-photo-label { bottom: 12px; left: 6%; }
.story-inspect { bottom: 22px; right: 22px; }
.story-chapters { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 6px 5%; background: #f6f7f1f7; border-bottom: 1px solid #cbd2c5; }
.story-chapter-name { font-size: 13px; letter-spacing: -.3px; }
.story-chapters > div { display: flex; gap: clamp(18px, 3vw, 50px); }
.story-chapters a { display: flex; min-height: 44px; align-items: center; justify-content: center; gap: 8px; font: 10px/1.5 var(--mono); color: #64765b; }
.story-chapters a span { font: 12px/1.4 var(--sans); color: #43573d; }
.story-chapters a:hover span, .story-chapters a[aria-current] span { text-decoration: underline; text-underline-offset: 6px; }
.story-progress { position: absolute; height: 2px; bottom: -1px; left: 0; width: 100%; transform: scaleX(var(--reading-progress, 0)); transform-origin: left; background: #526e43; }
.story-section { padding: clamp(56px, 6vw, 92px) 7%; scroll-margin-top: 0; }
.story-section h2 { overflow-wrap: anywhere; font-size: clamp(36px, 4.2vw, 66px); line-height: 1.15; letter-spacing: -.05em; font-weight: 400; margin: 25px 0 28px; }
.story-section .section-index { display: block; margin: 0; font-size: 10px; }
.story-origin, .story-evidence, .story-reading { display: grid; grid-template-columns: 1fr 1fr; gap: 9%; }
.story-prose { padding-top: 32px; min-width: 0; }
.story-prose p { font-size: 15px; line-height: 1.95; color: #53644e; margin: 0 0 24px; }
.story-prose .story-lead { font-size: clamp(20px, 1.9vw, 27px); line-height: 1.65; letter-spacing: -.025em; color: #2c4432; }
.story-asterisk { display: block; font-size: 90px; color: #899d7e; margin-top: 35px; line-height: 1; }
.story-research-focus { margin-top: 35px; padding-top: 22px; border-top: 1px solid #bdcbb5; }
.story-research-focus p { font-size: 13px; margin: 8px 0 0; }
.story-inside { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 9%; color: #edf1e7; background: var(--story-forest); }
.story-inside .section-index { color: #afc3a3; }
.story-inside-heading > p:last-child { font-size: 16px; line-height: 1.8; max-width: 30ch; color: #b8c9ae; }
.story-molecular { min-width: 0; align-self: center; }
.ingredient-story .chemistry-panel { margin: 0; padding: 28px 0; border: 0; border-top: 1px solid #b6caaa4a; border-bottom: 1px solid #b6caaa4a; background: transparent; border-radius: 0; }
.ingredient-story .chemistry-topline { color: #b8c9ae; }
.ingredient-story .chemical-formula { font-size: clamp(38px, 4.8vw, 76px); margin: 35px 0 24px; letter-spacing: -2px; }
.ingredient-story .chemical-name { font-size: 17px; }
.ingredient-story .chemical-name span { display: block; margin-top: 5px; color: #b8c9ae; font: 10px/1.6 var(--mono); }
.ingredient-story .chemical-note { color: #b8c9ae; font-size: 12px; margin-top: 18px; }
.story-specimen { grid-column: 1 / -1; display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 7%; margin: 28px 0 0; padding-top: 50px; border-top: 1px solid #b6caaa4a; }
.specimen-stage { position: relative; height: 410px; min-width: 0; display: grid; place-items: center; padding: 30px; }
.specimen-image { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.specimen-stage.has-cutout { background: radial-gradient(ellipse, #3a564544, transparent 68%); }
.specimen-stage.has-cutout .specimen-image { filter: drop-shadow(0 22px 15px #06130d66); }
.specimen-motion-toggle { position: absolute; right: 0; bottom: 0; padding: 8px 11px; color: #b8c9ae; background: transparent; border: 1px solid #b6caaa4a; border-radius: 2px; font: 9px/1.5 var(--mono); }
.specimen-motion-toggle[hidden] { display: none; }
.specimen-motion-toggle:hover { color: #fff; border-color: #d5dfce; }
@keyframes specimen-float {
  0%, 100% { transform: translateY(5px) rotate(-1.5deg); }
  50% { transform: translateY(-7px) rotate(1.5deg); }
}
@media (prefers-reduced-motion: no-preference) {
  .specimen-stage.has-cutout.motion-ready .specimen-image { animation: specimen-float 8s ease-in-out infinite; animation-play-state: paused; }
  .specimen-stage.has-cutout.is-in-view:not(.motion-paused) .specimen-image { animation-play-state: running; }
}
.story-specimen figcaption > p { font-size: 15px; line-height: 1.85; color: #d5dfce; margin: 16px 0; max-width: 42ch; }
.story-specimen .photo-credit { color: #b8c9ae; line-height: 1.9; }
.story-question { background: var(--story-pale); }
.story-question > h2 { max-width: 21ch; font-size: clamp(40px, 5.8vw, 86px); margin: 36px 0 65px; }
.story-question-bottom { display: grid; grid-template-columns: 1fr 1.25fr; gap: 10%; }
.story-question-bottom > p { color: #53644e; font-size: 15px; line-height: 1.9; margin: 22px 0; }
.story-question-list { list-style: none; padding: 0; margin: 0; }
.story-question-list li { border-top: 1px solid #b6c4ac; display: grid; grid-template-columns: 32px 1fr; gap: 20px; padding: 22px 0; }
.story-question-list li > span { color: #506449; font: 11px/1.9 var(--mono); }
.story-question-list p { margin: 0; font-size: 16px; line-height: 1.8; }
.story-evidence { border-bottom: 1px solid #cbd2c5; }
.story-evidence .evidence-note { margin-top: 36px; }
.story-evidence .evidence-note p { font-size: 13px; margin: 12px 0 0; }
.story-reading { padding-top: 90px; padding-bottom: 90px; }
.story-reading .reading-link { font-size: 16px; padding: 26px 0; }
.story-reading .reading-link small { font-size: 10px; margin-top: 10px; }
.story-reading .medical-note { font-size: 11px; margin: 26px 0 0; }
.ingredient-story .related-ingredients { padding: 80px 7%; background: #e9ede5; }
.ingredient-story .related-heading h2 { font-size: clamp(36px, 4vw, 60px); }
.ingredient-story .related-grid { gap: 36px; }
.ingredient-story .ingredient-pagination { margin: 0 7%; padding: 50px 0; }
@media (min-width: 1800px) { .story-hero-copy { min-height: 560px; } .story-hero-visual:not(.has-cutout) .ingredient-photo { min-height: 560px; } }
@media (max-width: 1000px) {
  .story-hero-copy { padding: 30px 8%; min-height: 420px; }
  .story-hero-visual:not(.has-cutout) .ingredient-photo { min-height: 420px; }
  .story-title-group h1 { font-size: clamp(46px, 6.6vw, 70px); }
  .story-eyebrow { font-size: 11px; }
  .story-chapter-name { display: none; }
  .story-chapters { justify-content: center; }
  .story-origin, .story-evidence, .story-reading, .story-inside { column-gap: 6%; }
  .story-specimen { gap: 6%; }
}
@media (max-width: 700px) {
  .story-hero { grid-template-columns: 1fr; }
  .story-hero-copy { min-height: 0; padding: 24px 6% 12px; gap: 22px; }
  .story-title-group h1 { font-size: clamp(54px, 12vw, 82px); margin: 22px 0; }
  .story-opening { font-size: 17px; max-width: 42ch; }
  .story-hero-bottom > span { font-size: 7px; }
  .story-hero-visual .photo-frame { height: clamp(210px, 54vw, 330px); }
  .story-hero-visual .ingredient-photo { min-height: 0; }
  .story-inspect { display: none; }
  .story-photo-label { font-size: 10px; }
  .story-chapters { padding: 4px 4%; gap: 0; }
  .story-chapters > div { width: 100%; justify-content: space-between; gap: 8px; }
  .story-chapters a { flex-direction: column; gap: 4px; font-size: 8px; }
  .story-chapters a span { font-size: 12px; }
  .story-section { padding: 66px 6%; }
  .story-section h2 { font-size: 39px; }
  .story-origin, .story-inside, .story-evidence, .story-reading { grid-template-columns: 1fr; gap: 24px; }
  .story-prose { padding-top: 0; }
  .story-prose .story-lead { font-size: 22px; }
  .story-asterisk { display: none; }
  .story-specimen { grid-template-columns: 1fr; margin: 14px 0 0; padding-top: 32px; gap: 24px; }
  .specimen-stage { height: 340px; padding: 26px; }
  .ingredient-story .chemical-formula { font-size: clamp(38px, 11vw, 60px); }
  .story-question > h2 { font-size: 43px; margin-bottom: 35px; }
  .story-question-bottom { grid-template-columns: 1fr; gap: 22px; }
  .story-question-list p { font-size: 15px; }
  .ingredient-story .related-ingredients { padding: 56px 6%; }
  .ingredient-story .related-grid { gap: 22px; }
}
@media (max-width: 360px) {
  .story-title-group h1 { font-size: 48px; }
  .story-section h2 { font-size: 34px; }

  .story-hero-bottom { gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .specimen-motion-toggle { display: none; }
}
