/* Savorant — shared styles for the pages behind the teaser.
   The teaser at / is untouched (founder). These pages inherit its palette and
   type so the two feel like one place, but they are built to be READ, not to
   perform: longer measure, quieter motion, nothing that moves while you read. */

:root {
  --paper: #FAF6EE;
  --paper-dim: #E9E2D2;
  --slate: #26292E;
  --slate-soft: #4A4E55;
  --saffron: #E58D1A;
  --saffron-ink: #8F5A0B;
  --quiet-ink: #6B6552;
  --chili: #C4502E;
  --fam-sweet: #dca24e; --fam-fruity: #bb5468; --fam-floral: #c58bb2;
  --fam-herbal: #8aa76a; --fam-spice: #cc6a38; --fam-woody: #9c6b3f;
  --fam-nutty: #b98f57; --fam-grainy: #cdb56b; --fam-earthy: #7d6a4f;
  --fam-smoke: #84878e;
}

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

body {
  background: var(--paper);
  color: var(--slate);
  font-family: 'Atkinson Hyperlegible', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}

.spectrum-top { display: flex; height: 6px; }
.spectrum-top span { flex: 1; }

/* ---- Navigation ------------------------------------------------------- */
.nav {
  border-bottom: 1px solid var(--paper-dim);
  background: var(--paper);
}
.nav-in {
  max-width: 60rem; margin: 0 auto;
  padding: 0.9rem clamp(1rem, 4vw, 2rem);
  display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap;
}
.nav-mark {
  display: flex; align-items: center; gap: 0.5rem;
  font-weight: 700; letter-spacing: 0.34em; text-transform: uppercase;
  font-size: 0.72rem; color: var(--saffron-ink); text-decoration: none;
}
.nav-mark img { width: 26px; height: 26px; border-radius: 22.5%; border: 1px solid var(--paper-dim); }
.nav-links { display: flex; gap: 1.1rem; flex-wrap: wrap; margin-left: auto; }
.nav-links a {
  color: var(--slate-soft); text-decoration: none;
  font-size: 0.9rem; padding-bottom: 2px; border-bottom: 2px solid transparent;
}
.nav-links a:hover { color: var(--slate); border-bottom-color: var(--paper-dim); }
.nav-links a[aria-current="page"] { color: var(--saffron-ink); border-bottom-color: var(--saffron); }

/* ---- Page frame ------------------------------------------------------- */
main { max-width: 46rem; margin: 0 auto; padding: clamp(2rem, 6vh, 3.5rem) clamp(1rem, 4vw, 2rem) 4rem; }
main.wide { max-width: 60rem; }

.eyebrow {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--saffron-ink); margin-bottom: 0.6rem;
}
h1 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 700; font-size: clamp(2rem, 5.5vw, 3rem);
  line-height: 1.05; letter-spacing: -0.015em;
  text-wrap: balance; margin-bottom: 0.8rem;
}
h1 .dot { color: var(--saffron); }
h2 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 600; font-size: clamp(1.3rem, 3vw, 1.7rem);
  line-height: 1.15; margin: 2.6rem 0 0.7rem; text-wrap: balance;
}
h3 { font-size: 1.02rem; font-weight: 700; margin: 1.6rem 0 0.4rem; }
p { margin-bottom: 1rem; }
p.lede { font-size: 1.12rem; color: var(--slate-soft); }

/* The modesty line — set apart, because it is the sentence that earns trust. */
.modesty {
  border-top: 2px solid var(--saffron);
  margin: 1.6rem 0 2rem; padding-top: 0.9rem;
  font-family: Fraunces, Georgia, serif; font-size: 1.15rem; font-style: italic;
  color: var(--saffron-ink);
}

ul, ol { margin: 0 0 1.2rem 1.2rem; }
li { margin-bottom: 0.5rem; }
a { color: var(--saffron-ink); }

.card {
  background: #FFFFFF; border: 1px solid var(--paper-dim);
  border-radius: 12px; padding: 1.2rem 1.35rem; margin-bottom: 1.2rem;
}
.card p:last-child { margin-bottom: 0; }
.card.flag { border-left: 3px solid var(--saffron); }
.card.plain { background: none; border-style: dashed; }

.doors { display: grid; gap: 0.9rem; grid-template-columns: 1fr; margin: 1.6rem 0 2rem; }
@media (min-width: 640px) { .doors { grid-template-columns: 1fr 1fr; } }
.door {
  display: block; text-decoration: none; color: inherit;
  background: #FFFFFF; border: 1px solid var(--paper-dim); border-radius: 12px;
  padding: 1rem 1.15rem;
}
.door:hover { border-color: var(--saffron); }
.door b { display: block; color: var(--saffron-ink); margin-bottom: 0.15rem; }
.door span { font-size: 0.93rem; color: var(--slate-soft); }

.facts { list-style: none; margin-left: 0; }
.facts li { padding-left: 1.1rem; position: relative; }
.facts li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--saffron);
}

/* ---- The study table (research page) ---------------------------------- */
.study { border: 1px solid var(--paper-dim); border-radius: 12px; background: #FFFFFF; padding: 1.15rem 1.3rem; margin-bottom: 1.1rem; }
.study .found { font-weight: 400; margin-bottom: 0.7rem; }
.study dl { display: grid; gap: 0.35rem 0.8rem; grid-template-columns: max-content 1fr; font-size: 0.93rem; }
.study dt { font-weight: 700; color: var(--quiet-ink); text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.7rem; padding-top: 0.28em; }
.study dd { color: var(--slate-soft); }
.study cite { display: block; margin-top: 0.7rem; font-size: 0.85rem; color: var(--quiet-ink); font-style: normal; }

/* ---- The calculator --------------------------------------------------- */
.calc { background: #FFFFFF; border: 1px solid var(--paper-dim); border-radius: 12px; padding: 1.3rem; margin: 1.6rem 0; }
.calc-row { display: flex; gap: 0.8rem; align-items: flex-end; flex-wrap: wrap; }
.calc label { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--quiet-ink); margin-bottom: 0.25rem; }
.calc input {
  width: 6.5rem; padding: 0.6rem 0.7rem; font: inherit; color: var(--slate);
  border: 1px solid var(--paper-dim); border-radius: 8px; background: var(--paper);
}
.calc input:focus-visible { outline: 2px solid var(--saffron); outline-offset: 1px; }
.calc-out { margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--paper-dim); }
.calc-verdict { font-family: Fraunces, Georgia, serif; font-size: 1.2rem; line-height: 1.3; margin-bottom: 0.4rem; }
.calc-verdict.real { color: var(--saffron-ink); }
.calc-verdict.notyet { color: var(--slate); }
.calc-why { font-size: 0.93rem; color: var(--slate-soft); margin: 0; }

.btn {
  display: inline-block; cursor: pointer; text-decoration: none;
  font: inherit; font-weight: 700;
  background: linear-gradient(180deg, #F09E2C 0%, #DD8410 100%);
  color: #3D2503; border: 0; border-radius: 10px; padding: 0.7rem 1.4rem;
  box-shadow: 0 2px 8px rgba(143, 90, 11, 0.28), inset 0 1px 0 rgba(255,255,255,0.35);
}

footer.site {
  border-top: 1px solid var(--paper-dim);
  margin-top: 3rem; padding: 1.6rem clamp(1rem, 4vw, 2rem) 2.4rem;
  color: var(--quiet-ink); font-size: 0.85rem;
}
footer.site .in { max-width: 46rem; margin: 0 auto; }
footer.site a { color: var(--quiet-ink); }
footer.site .links { margin-bottom: 0.5rem; }
footer.site .links a { margin-right: 1rem; }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* Page photographs: informative, never wallpaper. */
figure.page-photo { margin: 1.6rem 0 0.4rem; }
figure.page-photo img { display: block; width: 100%; height: auto; border-radius: 14px; box-shadow: 0 12px 34px rgba(38,41,46,0.16); }
figure.page-photo figcaption { margin-top: 0.5rem; font-size: 0.82rem; color: var(--quiet-ink); }

/* The hamburger: one menu, every page, phone mode. Native <details> — no
   scripts, keyboard-accessible, works on the legal pages too. */
.nav-menu { display: none; position: relative; margin-left: auto; }
.nav-menu > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center;
  padding: 0.35rem; border-radius: 8px; color: var(--saffron-ink);
}
.nav-menu > summary::-webkit-details-marker { display: none; }
.nav-menu[open] > summary { background: var(--paper-dim); }
.nav-drop {
  position: absolute; right: 0; top: calc(100% + 0.55rem); z-index: 80;
  min-width: 14.5rem; display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--paper-dim); border-radius: 12px;
  box-shadow: 0 16px 44px rgba(38, 41, 46, 0.2); padding: 0.4rem;
}
.nav-drop a {
  color: var(--slate); text-decoration: none; font-size: 0.95rem;
  padding: 0.55rem 0.8rem; border-radius: 8px; border-bottom: 0;
}
.nav-drop a:hover { background: var(--paper-dim); border-bottom: 0; }
.nav-drop a[aria-current="page"] { color: var(--saffron-ink); font-weight: 700; }
.nav-drop .nav-drop-get {
  margin-top: 0.3rem; border-top: 1px solid var(--paper-dim);
  color: var(--saffron-ink); font-weight: 700;
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-menu { display: block; }
}
