/* Urodania — foglio di stile */

:root {
  --bg: #F3EEE6;
  --surface: #EAE3D6;
  --sand: #E4D9C8;
  --ink: #1C1915;
  --ink-2: #4A453E;
  --muted: #6E675E;
  --line: #E2D9CC;
  --accent: #1F6B5A;
  --accent-deep: #13483C;
  --accent-soft: #E4EFEA;
  --accent-light: #8FBFB3;
  --warn: #8C3A2F;
  --paper: #F3EEE6;

  --font: "Source Sans 3", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --display: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --space: clamp(72px, 9vw, 128px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.nav-open, body.pop-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent-light); outline-offset: 2px; }

h1, h2, h3, h4, h5 {
  font-family: var(--display);
  font-weight: 560;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
}
h1 { font-size: clamp(46px, 6.4vw, 92px); letter-spacing: -0.03em; }
h2 { font-size: clamp(32px, 4vw, 56px); }
h3 { font-size: clamp(24px, 2.2vw, 34px); line-height: 1.15; }
h4 { font-size: 22px; line-height: 1.25; font-weight: 560; }
p { margin: 0 0 1em; }
em { font-style: italic; color: var(--accent); }
i { font-style: italic; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font);
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 16px;
}
.eyebrow .num { font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }
.eyebrow.on-dark { color: var(--accent-light); }

.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--ink); }
.fine { font-size: 13px; line-height: 1.55; color: var(--muted); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 20px;
  font: 600 15px/1 var(--font);
  letter-spacing: 0.01em;
  border: 0; border-radius: 2px;
  background: var(--accent); color: #fff;
  text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s;
}
.btn::after { content: "→"; font-weight: 400; }
.btn:hover { background: var(--accent-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: #fff; color: var(--ink); }

.ad-note {
  margin: 0; padding: 8px var(--gutter);
  background: var(--ink); color: #E7E0D6;
  font-size: 12px; text-align: center;
}
.ad-note strong {
  display: inline-block; color: var(--paper);
  font-weight: 700; font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase;
  border: 1px solid rgba(243,238,230,.45); padding: 2px 7px; margin-right: 10px;
}

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243, 238, 230, 0.92);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: 72px;
  gap: 28px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { width: 32px; height: 32px; flex: none; }
.brand-name {
  font-family: var(--display);
  font-size: 22px; font-weight: 560; letter-spacing: -0.02em; line-height: 1;
}

.site-nav { display: flex; align-items: center; justify-content: center; gap: 2px; }
.site-nav a {
  white-space: nowrap; font-size: 15px; font-weight: 600; text-decoration: none;
  color: var(--ink-2); padding: 8px 12px;
}
.site-nav a:hover { color: var(--accent); background: transparent; }
.site-nav .nav-cta {
  margin-left: 8px; background: var(--ink); color: var(--paper);
  padding: 10px 16px; border-radius: 2px;
}
.site-nav .nav-cta:hover { background: var(--accent); color: #fff; }

.menu-toggle {
  display: none; width: 44px; height: 44px; border: 0; border-radius: 2px;
  background: transparent; padding: 0; cursor: pointer; position: relative;
}
.menu-toggle span {
  position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--ink);
  transition: transform .25s, opacity .2s;
}
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 26px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 1100px) {
  .header-row { grid-template-columns: 1fr auto; }
  .menu-toggle { display: block; }
  .site-nav {
    position: fixed; left: 0; right: 0; top: 72px; bottom: 0;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
    background: var(--bg); padding: 12px var(--gutter) 48px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
    overflow-y: auto;
  }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .site-nav a {
    font-family: var(--display); font-size: 32px; font-weight: 560;
    color: var(--ink); padding: 14px 0; border-bottom: 1px solid var(--line);
  }
  .site-nav a:hover { color: var(--accent); }
  .site-nav .nav-cta {
    margin: 28px 0 0; text-align: center; font-family: var(--font);
    font-size: 16px; font-weight: 600; padding: 16px; background: var(--accent); color: #fff;
  }
}

.hero { padding: 0; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: stretch;
  padding-top: clamp(36px, 5vw, 72px);
  padding-bottom: clamp(36px, 5vw, 72px);
}
.hero-copy { display: flex; flex-direction: column; justify-content: center; }
.hero h1 { margin-bottom: 24px; }
.hero h1 em { font-style: italic; }
.hero .lead { max-width: 34em; }
.hero-copy > p:not(.lead):not(.eyebrow):not(.fine) { max-width: 38em; color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.hero-photo { margin: 0; position: relative; min-height: 560px; background: var(--surface); overflow: hidden; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 36% center; }
.hero-photo figcaption {
  position: absolute; top: 0; bottom: 0; left: 0; width: 46px; margin: 0;
  writing-mode: vertical-lr;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 18px 0;
  background: var(--ink); color: var(--paper);
  font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
}
.hero-photo figcaption b {
  font-family: var(--display); font-size: 28px; font-weight: 560;
  letter-spacing: 0; text-transform: none; font-style: normal;
}

.index-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.index-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.index-row a {
  display: grid; gap: 6px; padding: 22px 28px 22px 0; margin-right: 28px;
  text-decoration: none; color: var(--ink);
  border-right: 1px solid var(--line); border-radius: 0; background: transparent;
}
.index-row a:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.index-row a:hover { color: var(--accent); background: transparent; }
.index-row .n { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; color: var(--accent); }
.index-row strong { font-family: var(--display); font-size: 28px; font-weight: 560; letter-spacing: -0.02em; line-height: 1; }
.index-row span:last-child { font-size: 14px; color: var(--muted); line-height: 1.4; }

.section { padding: var(--space) 0; }
.section-tint { background: var(--surface); }
.section-white { background: var(--bg); }

.chapter-grid {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: start;
}
.chapter-label { position: sticky; top: 96px; }
.chapter-label h2 { font-size: clamp(30px, 3.2vw, 44px); }
.chapter-label p:last-child { margin: 16px 0 0; color: var(--ink-2); font-size: 16px; }

.prose h2 { margin-bottom: 20px; }
.prose p { color: var(--ink-2); }
.prose .lead, .chapter-body > .prose > p:first-of-type { color: var(--ink); }

.notice { margin: 28px 0 0; padding: 18px 0 0; border-top: 1px solid var(--warn); }
.notice strong { display: block; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--warn); margin-bottom: 6px; }
.notice p { margin: 0; font-size: 16px; color: var(--ink); }

.pavimento-body { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.9fr); gap: clamp(28px, 4vw, 56px); align-items: start; }

.diagram { margin: 0; padding: 8px 0 0; position: sticky; top: 96px; }
.diagram svg { width: 100%; height: auto; }
.diagram figcaption { font-size: 13px; color: var(--muted); margin-top: 12px; }

.pacer-band { background: var(--accent-deep); color: #fff; padding: var(--space) 0; }
.pacer-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.pacer-copy h2 { color: #fff; margin-bottom: 20px; }
.pacer-copy h2 em { color: var(--accent-light); }
.pacer-copy p { color: #D5E6E1; max-width: 36em; }
.pacer-copy .btn { margin-top: 12px; }
.pacer-stage { position: relative; aspect-ratio: 1; max-width: 380px; width: 100%; justify-self: center; display: grid; place-items: center; }
.pacer-stage::before { content: ""; position: absolute; inset: 8%; border: 1px solid rgba(243,238,230,.25); border-radius: 50%; }
.pacer-ring { position: absolute; inset: 14%; border-radius: 50%; background: var(--paper); transition-property: transform; transition-timing-function: cubic-bezier(.45, 0, .55, 1); transform: scale(1); }
.pacer-readout { position: relative; z-index: 1; text-align: center; display: grid; gap: 6px; }
.pacer-phase { font-family: var(--display); font-size: clamp(32px, 3.6vw, 46px); font-weight: 560; letter-spacing: -0.02em; color: var(--ink); line-height: 1; }
.pacer-seconds { font-size: 14px; color: var(--ink-2); }
.pacer-count { position: absolute; bottom: -36px; left: 0; right: 0; text-align: center; margin: 0; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: #D5E6E1; }

.timeline { position: relative; display: grid; gap: 56px; margin-left: 8px; padding-left: 36px; border-left: 1px solid var(--line); }
.phase { position: relative; display: grid; gap: 18px; }
.phase::before {
  content: "";
  position: absolute; left: -41px; top: 6px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 5px var(--bg);
}
.phase-label { display: flex; gap: 12px; align-items: baseline; margin: 0; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.phase-label span { color: var(--muted); font-weight: 600; }
.phase h3 { font-size: clamp(28px, 3vw, 40px); }
.phase-main { display: grid; grid-template-columns: minmax(180px, 280px) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.phase img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.phase img.crop-right { object-position: 70% center; }

.moves { list-style: none; margin: 0; padding: 0; counter-reset: move var(--start, 0); }
.moves li { counter-increment: move; padding: 18px 0; border-top: 1px solid var(--line); }
.moves li:last-child { border-bottom: 1px solid var(--line); }
.moves h4 { margin-bottom: 6px; }
.moves h4::before { content: counter(move, decimal-leading-zero) "  "; color: var(--accent); font-variant-numeric: tabular-nums; }
.moves p { margin: 0; color: var(--ink-2); font-size: 16px; }
.moves .dose { margin: 10px 0 0; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent); }
.tip { margin: 16px 0 0; font-size: 15px; color: var(--ink-2); padding-top: 14px; border-top: 1px dashed var(--accent-light); }

.offmat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.15fr); gap: 12px; align-items: stretch; }
.offmat img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; }
.offmat-copy { padding: clamp(24px, 3vw, 36px); background: var(--ink); color: var(--paper); display: flex; flex-direction: column; justify-content: flex-end; }
.offmat-copy .eyebrow { color: var(--accent-light); }
.offmat-copy h3 { margin-bottom: 12px; }
.offmat-copy p { color: #D9D1C6; margin: 0; }

.week-list { list-style: none; margin: 0; padding: 0; }
.week-list li {
  display: grid; grid-template-columns: 150px minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 16px; align-items: baseline;
  padding: 16px 0; border-top: 1px solid var(--line);
  font-size: 16px;
}
.week-list li:last-child { border-bottom: 1px solid var(--line); }
.week-list .day { font-family: var(--display); font-size: 22px; font-weight: 560; }
.week-list .work { font-weight: 600; }
.week-list .extra { color: var(--ink-2); }
.week-list li.soft { color: var(--muted); }
.week-list li.soft .extra { color: var(--muted); }
.tag { display: inline-block; margin-left: 8px; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }

.product-layout { display: grid; gap: 28px; }
.product-gallery { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 8px; align-items: stretch; }
.product-gallery img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; background: #fff; }
.product-gallery .product-main { aspect-ratio: 1; grid-row: span 1; }

.facts { list-style: none; margin: 28px 0; padding: 0; border-top: 1px solid var(--line); }
.facts li {
  display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 16px; align-items: baseline;
  padding: 12px 0; border-bottom: 1px solid var(--line);
  font-size: 15px; color: var(--ink-2);
}
.facts b { font-family: var(--display); font-size: 18px; font-weight: 560; color: var(--ink); }

.steps { list-style: none; margin: 0 0 28px; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 0 0 12px 36px; color: var(--ink-2); font-size: 16px; }
.steps li::before {
  content: counter(s);
  position: absolute; left: 0; top: 0;
  font-size: 14px; font-weight: 700; color: var(--accent);
}

.price-row {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 28px;
  padding: 18px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
  margin-bottom: 16px;
}
.price-row .price { margin: 0; font-family: var(--display); font-size: 42px; font-weight: 560; letter-spacing: -0.03em; line-height: 1; }
.price-row span { font-size: 14px; color: var(--ink-2); flex: 1 1 220px; }
.prose .btn { margin-top: 8px; }

.mosaic { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 12px; margin-bottom: clamp(56px, 7vw, 96px); }
.mosaic figure { margin: 0; position: relative; overflow: hidden; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic figcaption {
  position: absolute; left: 0; bottom: 0; right: 0;
  font-size: 13px; color: var(--paper); background: linear-gradient(transparent, rgba(28,25,21,.72));
  padding: 28px 14px 12px;
}
.mm-a { grid-column: 1; grid-row: 1 / span 3; }
.mm-a img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.mm-b, .mm-c, .mm-note { grid-column: 2; }
.mm-b img, .mm-c img { aspect-ratio: 16 / 10; }
.mm-note { padding: 8px 4px 0; color: var(--ink); }
.mm-figure { font-family: var(--display); font-size: clamp(48px, 6vw, 84px); font-weight: 560; line-height: .9; letter-spacing: -0.03em; margin-bottom: 12px; }
.mm-note p:last-child { color: var(--ink-2); margin: 0; font-size: 16px; }

.block-head { margin-bottom: 28px; max-width: 40em; }
.block-head h3 { margin-bottom: 10px; }
.block-head p { margin: 0; color: var(--ink-2); }

.how { margin-bottom: clamp(56px, 7vw, 96px); }
.how-list { list-style: none; margin: 0; padding: 0; counter-reset: how; }
.how-list li { counter-increment: how; padding: 22px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 8px 18px; }
.how-list li:last-child { border-bottom: 1px solid var(--line); }
.how-icon { width: 36px; height: 36px; color: var(--accent); grid-row: span 2; }
.how-list h4 { margin-bottom: 0; }
.how-list h4::before { content: counter(how, decimal-leading-zero) "  "; color: var(--muted); font-size: 14px; }
.how-list p { margin: 0; grid-column: 2; font-size: 16px; color: var(--ink-2); }
.sources { font-size: 13px; color: var(--muted); margin-top: 20px; }

.ingredients { margin-bottom: clamp(56px, 7vw, 96px); }
.ing-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.ing { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line); }
.ing img { width: 72px; height: 72px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; margin-bottom: 12px; }
.ing h4 { font-size: 18px; margin-bottom: 4px; }
.ing p { margin: 0 0 8px; font-size: 14px; color: var(--ink-2); line-height: 1.4; }
.ing-in { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent); }

.recipes-title { font-size: clamp(28px, 3vw, 40px); margin-bottom: 8px; }
.recipe { display: grid; grid-template-columns: minmax(200px, 280px) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); padding: 28px 0; border-top: 1px solid var(--line); align-items: start; }
.recipe:last-of-type { border-bottom: 1px solid var(--line); }
.recipe-media > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.recipe-num { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin: 0 0 8px; }
.recipe h4 { font-size: clamp(26px, 2.6vw, 36px); margin-bottom: 12px; }
.recipe-tags { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 0 0 18px; }
.recipe-tags span { font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--accent); }
.recipe-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 20px; }
.recipe-cols h5 { font-family: var(--font); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.recipe ul { list-style: none; margin: 0; padding: 0; }
.recipe ul li { position: relative; padding: 4px 0 4px 14px; font-size: 15px; }
.recipe ul li::before { content: ""; position: absolute; left: 0; top: 12px; width: 5px; height: 1px; background: var(--accent); }
.recipe-cols p { font-size: 15px; color: var(--ink-2); }
.recipe-cols p:last-child { margin: 0; }
.recipe-thumbs { display: flex; gap: 6px; margin-top: 10px; }
.recipe-thumbs img { width: 40px; height: 40px; object-fit: cover; }

.tips { margin-top: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: minmax(160px, 240px) minmax(0, 1fr); gap: 28px; }
.tips h3 { font-size: clamp(26px, 2.8vw, 36px); }
.tips ol { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.tips li { counter-increment: t; display: grid; grid-template-columns: 48px 1fr; padding: 16px 0; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 16px; }
.tips li:last-child { border-bottom: 1px solid var(--line); }
.tips li::before { content: counter(t, decimal-leading-zero); font-family: var(--display); font-size: 20px; color: var(--accent); }
.tips li strong { color: var(--ink); font-weight: 700; }

.pantry { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: clamp(56px, 7vw, 96px); align-items: stretch; }
.pantry-copy { padding: 8px 12px 8px 0; }
.pantry-copy h3 { margin-bottom: 8px; font-size: 26px; }
.pantry-copy p { color: var(--ink-2); font-size: 16px; }
.pantry-copy h3 + p { margin-bottom: 24px; }
.pantry-copy p:last-child { margin: 0; }
.pantry img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; }

.health { padding: 0 0 var(--space); }
.health-row {
  display: grid; grid-template-columns: minmax(160px, 240px) minmax(0, 1fr);
  gap: 28px; padding-top: 28px; border-top: 1px solid var(--warn);
}
.health h2 { font-size: clamp(26px, 2.4vw, 34px); color: var(--warn); }
.health p { margin: 0; color: var(--ink-2); font-size: 16px; }

.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; gap: 24px; align-items: center;
  padding: 18px 0;
  font-family: var(--display); font-size: clamp(20px, 1.8vw, 26px); font-weight: 560; line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-family: var(--font); font-weight: 400; font-size: 24px; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding: 0 48px 18px 0; color: var(--ink-2); max-width: 46em; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-list { list-style: none; margin: 24px 0 0; padding: 0; }
.contact-list li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 16px; }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list span { font-size: 13px; color: var(--muted); }
.contact-list a { text-decoration: none; font-weight: 600; }

.contact-form { background: var(--ink); color: var(--paper); padding: clamp(24px, 3vw, 40px); }
.form-title { font-family: var(--display); font-size: 30px; font-weight: 560; margin: 0 0 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.field { margin-bottom: 14px; }
.field-full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13px; font-weight: 600; color: #C9C0B4; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; font: 400 16px/1.4 var(--font); color: #fff;
  background: transparent; border: 0; border-bottom: 1px solid rgba(243,238,230,.28);
  border-radius: 0; padding: 10px 0;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8A8176; }
.field input:focus, .field textarea:focus { outline: 0; border-bottom-color: var(--accent-light); }
.field [aria-invalid="true"] { border-bottom-color: #E7A090; }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; font-size: 14px; color: #C9C0B4; margin: 8px 0 20px; line-height: 1.5; }
.consent a { color: #fff; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent-light); }
.consent input[aria-invalid="true"] { outline: 2px solid #E7A090; outline-offset: 2px; }
.contact-form .btn { width: 100%; background: var(--paper); color: var(--ink); }
.contact-form .btn:hover { background: #fff; color: var(--ink); }
.form-status { font-size: 14px; color: #C9C0B4; margin: 14px 0 0; }
.form-status.is-error { color: #F0B4A4; font-weight: 600; }

.thanks-pop { position: fixed; inset: 0; z-index: 200; background: rgba(28, 25, 21, 0.55); display: grid; place-items: center; padding: 16px; opacity: 0; transition: opacity .2s; }
.thanks-pop.is-open { opacity: 1; }
.thanks-pop-box { position: relative; background: var(--bg); max-width: 440px; width: 100%; padding: 40px 32px 32px; }
.thanks-pop-box h2 { font-size: 34px; margin: 16px 0 10px; }
.thanks-pop-box p { color: var(--ink-2); margin-bottom: 24px; }
.thanks-pop-box .btn { width: 100%; }
.thanks-pop-icon { width: 48px; height: 48px; border: 1px solid var(--accent); display: grid; place-items: center; }
.thanks-pop-icon svg { width: 24px; height: 24px; }
.thanks-pop-close { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border: 0; background: transparent; font-size: 22px; cursor: pointer; color: var(--ink); }

.cookie-bar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 150;
  max-width: 520px; background: var(--ink); color: #E7E0D6;
  padding: 20px; display: grid; gap: 14px;
}
.cookie-bar p { margin: 0; font-size: 14px; line-height: 1.55; }
.cookie-bar a { color: var(--paper); }
.cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie-actions button {
  flex: 1 1 140px; min-height: 42px; font: 600 14px/1 var(--font); cursor: pointer;
  border: 1px solid rgba(243,238,230,.35); border-radius: 2px; background: transparent; color: var(--paper);
}
.cookie-actions button[data-cookie="all"] { background: var(--paper); color: var(--ink); border-color: var(--paper); }

.page-hero { padding: clamp(40px, 6vw, 88px) 0 clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.page-hero .back-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--accent); text-decoration: none; margin-bottom: 28px; }
.page-hero .back-link::before { content: "←"; }
.page-hero h1 { font-size: clamp(42px, 5.5vw, 76px); margin-bottom: 16px; }
.page-hero p { color: var(--ink-2); max-width: 40em; margin: 0; font-size: 18px; }
.legal { padding: clamp(40px, 5vw, 72px) 0 var(--space); }
.legal-layout { display: grid; grid-template-columns: minmax(160px, 220px) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); }
.legal-aside { position: sticky; top: 96px; align-self: start; font-size: 15px; }
.legal-aside h2 { font-family: var(--font); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.legal-aside ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.legal-aside li a { display: block; padding: 7px 0; text-decoration: none; color: var(--ink-2); border-bottom: 1px solid transparent; }
.legal-aside li a:hover { color: var(--accent); }
.legal-aside li a[aria-current="page"] { color: var(--ink); font-weight: 700; border-bottom-color: var(--accent); }
.legal-body { max-width: 720px; }
.legal-body h2 { font-size: clamp(26px, 2.4vw, 34px); margin: 40px 0 12px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { color: var(--ink-2); }
.legal-body ul { padding-left: 1.1em; margin: 0 0 1em; }
.legal-body li { margin-bottom: 6px; }
.entity { margin: 20px 0 28px; }
.entity div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.entity div:last-child { border-bottom: 1px solid var(--line); }
.entity dt { font-size: 13px; color: var(--muted); }
.entity dd { margin: 0; color: var(--ink); font-weight: 600; }
.table-wrap { overflow-x: auto; margin: 0 0 1em; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.legal-table th, .legal-table td { text-align: left; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-table th { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.contact-page { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 5vw, 80px); align-items: start; }
.contact-page h2 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 8px; }

.site-footer { background: var(--ink); color: #C9C0B4; padding: clamp(56px, 7vw, 96px) 0 28px; font-size: 14px; }
.site-footer a { color: var(--paper); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr) minmax(0, 0.9fr) minmax(0, 1.3fr);
  gap: clamp(24px, 3vw, 48px);
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(243,238,230,.14);
}
.site-footer .brand { color: var(--paper); margin-bottom: 18px; }
.site-footer .brand:hover { color: var(--paper); text-decoration: none; }
.footer-claim { font-family: var(--display); font-size: clamp(22px, 2vw, 28px); font-weight: 560; line-height: 1.2; color: var(--paper); max-width: 16em; margin: 0; }
.site-footer h2 { font-family: var(--font); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #8A8176; margin: 0 0 14px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-entity p { margin: 0 0 4px; line-height: 1.55; }
.footer-entity strong { color: var(--paper); font-weight: 700; }
.footer-notes {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px 48px;
  padding: 32px 0; border-bottom: 1px solid rgba(243,238,230,.14);
}
.footer-notes h3 { font-family: var(--font); font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--paper); margin: 0 0 8px; }
.footer-notes p { margin: 0; font-size: 13px; line-height: 1.6; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; font-size: 13px; color: #8A8176; }
.footer-base button { background: none; border: 0; padding: 0; font: inherit; color: #C9C0B4; text-decoration: underline; cursor: pointer; }

@media (max-width: 1080px) {
  .ing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > div:first-child { grid-column: 1 / -1; }
  .site-nav a { padding: 8px 8px; font-size: 14px; }
}

@media (max-width: 900px) {
  .hero-grid, .chapter-grid, .pavimento-body, .pacer-grid, .phase-main, .tips, .health-row, .legal-layout, .contact-page, .contact-grid, .recipe, .recipe-cols { grid-template-columns: 1fr; }
  .hero-photo { min-height: 0; aspect-ratio: 4 / 3; }
  .hero-photo figcaption {
    writing-mode: horizontal-tb; width: auto; top: auto; left: 0; right: 0; bottom: 0;
    flex-direction: row; padding: 12px 14px; letter-spacing: 0.04em;
  }
  .hero-photo figcaption b { font-size: 22px; }
  .chapter-label, .legal-aside, .diagram { position: static; }
  .legal-aside ul { display: flex; flex-wrap: wrap; gap: 8px 16px; }
  .index-row { grid-template-columns: 1fr 1fr; }
  .index-row a { margin-right: 0; padding: 18px 16px 18px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .index-row a:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 16px; }
  .mosaic { grid-template-columns: 1fr; }
  .mm-a, .mm-note { grid-column: auto; grid-row: auto; }
  .mm-a img { aspect-ratio: 16 / 10; }
  .offmat { grid-template-columns: 1fr 1fr; }
  .offmat-copy { grid-column: 1 / -1; }
  .pantry { grid-template-columns: 1fr 1fr; }
  .pantry-copy { grid-column: 1 / -1; }
  .pacer-stage { max-width: 300px; margin-bottom: 36px; }
  .footer-notes { grid-template-columns: 1fr; }
  .product-gallery { grid-template-columns: 1fr 1fr; }
  .product-gallery .product-main { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .header-row { height: 64px; }
  .site-nav { top: 64px; }
  .brand-name { font-size: 20px; }
  .brand-mark { width: 28px; height: 28px; }
  .hero-actions .btn { width: 100%; }
  .index-row { grid-template-columns: 1fr; }
  .index-row a, .index-row a:nth-child(odd) { border-right: 0; padding-right: 0; }
  .index-row strong { font-size: 24px; }
  .week-list li, .facts li, .contact-list li, .entity div { grid-template-columns: 1fr; gap: 2px; }
  .ing-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .offmat { grid-template-columns: 1fr; }
  .offmat img { min-height: 200px; }
  .pantry { grid-template-columns: 1fr 1fr; }
  .pantry img:nth-of-type(3) { display: none; }
  .thanks-pop-box { padding: 36px 20px 24px; }
  .phase-main { grid-template-columns: 1fr; }
  .phase img { aspect-ratio: 16 / 10; }
}
