:root {
  --paper: #f8f6ec;
  --ink: #16372b;
  --muted: #48584c;
  --deep: #10382a;
  --gold: #f3bd3d;
  --line: #d8dacc;
  --green-tint: #e8eedb;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body, figure { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-underline-offset: .23em; }
a:hover { text-decoration-thickness: 2px; }
button { font: inherit; }
:focus-visible { outline: 3px solid #a45813; outline-offset: 5px; }
.wrap { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: absolute; z-index: 2; top: 12px; left: 12px; transform: translateY(-160%); background: #fff; padding: 8px 14px; }
.skip:focus { transform: none; }
.top { border-bottom: 1px solid var(--line); }
.top-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 16px; font-weight: 750; line-height: 1.22; text-decoration: none; }
.brand small { display: block; color: var(--muted); font-size: 14px; font-weight: 600; margin-bottom: 3px; }
.seal { display: grid; place-items: center; width: 41px; height: 41px; border-radius: 12px; background: var(--deep); color: #ffda76; font: bold 17px Georgia, serif; }
nav { display: flex; align-items: center; gap: clamp(10px, 2.5vw, 30px); }
nav a { font-size: 15px; font-weight: 650; text-decoration: none; }
nav a:hover { text-decoration: underline; }
.eyebrow { color: #506044; font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: .14em; margin: 0 0 12px; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 700; letter-spacing: -.055em; line-height: 1.03; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(3.5rem, 9vw, 8rem); }
h1 span { color: #996015; }
h2 { font-size: clamp(2.15rem, 4.5vw, 4rem); }
.hero { padding-block: clamp(36px, 6.4vw, 86px); display: grid; grid-template-columns: .88fr 1.12fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.hero-lede { max-width: 31ch; font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.4; margin: 20px 0 12px; color: var(--muted); }
.scientific { margin: 0; color: var(--muted); }
.hero-image { overflow: hidden; border-radius: 25px; background: var(--deep); }
.hero-image img { width: 100%; object-fit: cover; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; border-radius: 8px; padding: 9px 16px; font-size: 16px; line-height: 1.3; font-weight: 750; text-align: center; cursor: pointer; text-decoration: none; border: 1px solid transparent; }
.button:hover { text-decoration: none; }
.primary { color: var(--ink); background: var(--gold); }
.primary:hover { background: #ffce5c; }
.secondary { background: transparent; border-color: #a9b3a4; }
.secondary:hover { background: #e9ecdf; }
.section-nav { background: var(--deep); color: #f7efd2; }
.section-nav > div { display: flex; align-items: center; gap: 10px 26px; flex-wrap: wrap; padding-block: 15px; }
.section-nav a { font-weight: 650; font-size: 14px; }
.section-nav a:focus-visible { outline-color: #fbd160; }
.section { padding-block: clamp(42px, 6vw, 82px); scroll-margin-top: 12px; }
.section-lede, .copy p { color: var(--muted); font-size: clamp(1.04rem, 1.8vw, 1.2rem); }
.section-lede { max-width: 64ch; margin-block: 18px 25px; }
.two-col { display: grid; grid-template-columns: 1fr .92fr; gap: clamp(14px, 5vw, 62px); margin-top: 20px; }
.copy p { margin: 0 0 14px; }
.parts { margin: 0; }
.parts > div { padding: 10px 0; border-top: 1px solid var(--line); }
.parts dt { font-weight: 750; }
.parts dd { margin: 0; color: var(--muted); }
.olive-section { background: var(--green-tint); }
.timeline, .stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 0; list-style: none; margin: 24px 0 0; }
.timeline > li { border-top: 3px solid #72805b; padding: 13px 10px 0 0; }
.timeline strong { font-size: clamp(1.08rem, 2vw, 1.4rem); }
.timeline p { margin: 5px 0 0; color: var(--muted); }
.stats > div { border-radius: 12px; padding: 17px; background: #f6eabb; }
.stats dt { font: bold clamp(2rem, 5vw, 3.7rem) / 1 Georgia, serif; letter-spacing: -.06em; }
.stats small { font: 750 clamp(.8rem, 2vw, 1.1rem) / 1.1 "Segoe UI", sans-serif; letter-spacing: 0; }
.stats dd { margin: 8px 0 0; font-weight: 650; }
.recipe-section { padding-top: 4px; }
.recipe { display: grid; grid-template-columns: 1fr .9fr; overflow: hidden; background: #f4dda0; border-radius: 22px; }
.recipe-copy { padding: clamp(22px, 4vw, 48px); }
.recipe-copy p:not(.eyebrow) { margin: 16px 0 12px; }
.recipe img { width: 100%; height: 100%; object-fit: cover; }
.recipe-steps { margin: 0; padding-left: 1.25em; }
.recipe-steps li { padding: 3px 0 3px 3px; }
.review { padding-top: 0; }
.questions { margin-top: 18px; }
.questions details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.questions summary { cursor: pointer; font-weight: 750; }
.questions p { margin: 6px 0 0 20px; color: var(--muted); }
.references { background: var(--green-tint); }
.references .section { padding-block: 34px; }
.references h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); }
.references ul { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; padding-left: 20px; margin-bottom: 0; }
.site-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 18px; font-size: 14px; color: var(--muted); padding-block: 24px; }
.library-intro { padding-top: clamp(48px, 8vw, 96px); }
.library-intro h1 { font-size: clamp(3rem, 8vw, 7rem); text-wrap: initial; }
.library-intro > p:last-child { font-size: clamp(1.1rem, 2vw, 1.35rem); color: var(--muted); margin: 15px 0 0; }
.library { display: grid; gap: 24px; padding-block: 32px clamp(44px, 7vw, 82px); }
.work { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; overflow: hidden; border-radius: 22px; border: 1px solid var(--line); background: #eef0e1; }
.work > img { width: 100%; height: 100%; object-fit: cover; }
.work-copy { padding: clamp(23px, 5vw, 62px); }
.work-copy h2 { font-size: clamp(2.5rem, 5.9vw, 5rem); }
.work-copy p:not(.eyebrow) { color: var(--muted); }
.work-copy .byline { font-weight: 750; margin-bottom: 23px; }
.deck { color: #fff9e6; background: var(--deep); border: 0; padding: 0; margin: 0; top: 0; left: 0; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; }
.deck[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.deck::backdrop { background: var(--deep); }
.deck-bar, .deck-controls { display: flex; align-items: center; justify-content: space-between; gap: 9px; padding: 12px clamp(14px, 5vw, 64px); }
.deck-bar { border-bottom: 1px solid #6d897d; font-weight: 750; }
.deck-controls { border-top: 1px solid #6d897d; }
.deck-button { border-color: #9eb6a8; color: #fff9e6; background: transparent; }
.deck-button:hover { background: #255442; }
.deck-button:focus-visible { outline-color: #f3bd3d; }
.deck-button:disabled { opacity: .52; cursor: default; }
.deck-stage { width: min(1500px, 100%); max-height: 100%; overflow: auto; margin: auto; padding: clamp(16px, min(3.8vw, 5vh), 56px); display: grid; align-items: center; gap: clamp(18px, 4vw, 55px); }
.deck-stage.illustrated { grid-template-columns: 1.08fr .92fr; }
.deck-stage h2 { text-wrap: initial; color: #ffda76; font-size: clamp(2.25rem, min(5.4vw, 9vh), 5.3rem); }
.deck-stage h2:focus { outline: none; }
.deck-stage ul { padding-left: 1.15em; margin: .75em 0 0; font-size: clamp(1.03rem, min(1.9vw, 3.75vh), 1.8rem); line-height: 1.3; }
.deck-stage li { padding-left: .15em; margin-bottom: .45em; }
.deck-stage img { border-radius: 15px; width: 100%; max-height: 57vh; object-fit: contain; }
@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .hero, .two-col, .recipe, .work { grid-template-columns: 1fr; }
  .hero-image { max-width: 620px; }
  .recipe img { aspect-ratio: 3 / 2; height: auto; }
  .work > img { aspect-ratio: 1.55; }
  .timeline { grid-template-columns: 1fr; gap: 13px; }
  .deck-stage.illustrated { grid-template-columns: 1fr; }
  .deck-stage img { width: auto; max-height: 28vh; }
}
@media (max-width: 490px) {
  .top-inner { padding-block: 10px; gap: 10px; }
  .top-inner:has(nav a:nth-child(2)) { align-items: flex-start; flex-direction: column; }
  .top-inner:has(nav a:nth-child(2)) nav { gap: 18px; }
  .section-nav > div { gap: 8px 14px; }
  .stats { gap: 6px; }
  .stats > div { padding: 11px 7px; }
  .stats dd { font-size: 14px; }
  .references ul { grid-template-columns: 1fr; }
}
