/* =========================================================
   Sugar & Sage Confectionery — global stylesheet
   1. Tokens
   2. Reset & base
   3. Utilities
   4. Buttons, links, chips
   5. Header & navigation
   6. Hero
   7. Article layout
   8. Content components
   9. Flavor library
   10. Quiz
   11. Accordion
   12. Contact & newsletter
   13. Footer
   14. Cookie banner & dialogs
   15. Privacy page
   16. Motion & responsive
   ========================================================= */

/* 1. Tokens ------------------------------------------------ */
:root {
  --paper: #fbf6ee;
  --paper-deep: #f4ecdf;
  --card: #fffdf9;
  --ink: #241c16;
  --ink-soft: #4e4238;
  --ink-muted: #7a6a5c;
  --line: #e3d7c6;
  --line-soft: #efe6d8;
  --caramel: #b9702a;
  --caramel-dark: #94551b;
  --caramel-tint: #f6e6d3;
  --sage: #6f8163;
  --sage-soft: #e6ece0;
  --rose: #a85365;
  --rose-soft: #f3e2e2;
  --gold: #c9a227;
  --danger: #a8342f;

  --display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, "Times New Roman", serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --shell: 1180px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(36, 28, 22, 0.05), 0 4px 12px rgba(36, 28, 22, 0.05);
  --shadow: 0 10px 30px -12px rgba(36, 28, 22, 0.22), 0 2px 6px rgba(36, 28, 22, 0.05);
  --shadow-lg: 0 30px 70px -30px rgba(36, 28, 22, 0.45), 0 8px 24px rgba(36, 28, 22, 0.08);

  --ease: cubic-bezier(0.22, 0.68, 0.24, 1);
  --header-h: 78px;
}

/* 2. Reset & base ------------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 80% -8%, #fdf1e1 0%, rgba(253, 241, 225, 0) 60%),
    radial-gradient(900px 500px at 0% 12%, #f7f2e6 0%, rgba(247, 242, 230, 0) 55%),
    var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img,
svg { max-width: 100%; }

img {
  display: block;
  height: auto;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  color: var(--ink);
}

h1 { font-size: clamp(2.35rem, 1.4rem + 3.5vw, 4.1rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.8rem); letter-spacing: -0.022em; }
h3 { font-size: clamp(1.15rem, 1rem + 0.6vw, 1.45rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--caramel-dark);
  text-decoration-color: rgba(185, 112, 42, 0.4);
  text-underline-offset: 0.18em;
  transition: color 0.18s var(--ease), text-decoration-color 0.18s var(--ease);
}
a:hover { color: var(--ink); text-decoration-color: currentColor; }

strong { font-weight: 650; }

ul, ol { margin: 0 0 1.15em; padding-left: 1.15em; }
li { margin-bottom: 0.35em; }

fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }

::selection { background: #f0d9bd; color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--caramel);
  outline-offset: 3px;
  border-radius: 3px;
}

address { font-style: normal; }

section[id],
div[id],
article[id] { scroll-margin-top: calc(var(--header-h) + 26px); }

/* 3. Utilities --------------------------------------------- */
.shell {
  width: min(100% - 2.6rem, var(--shell));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 0.7rem 1.1rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }

.eyebrow,
.kicker {
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--caramel);
  opacity: 0.65;
}

.eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 4px rgba(111, 129, 99, 0.16);
}

.lede {
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 40em;
}

.progress {
  position: fixed;
  inset: 0 0 auto;
  height: 2px;
  z-index: 120;
  background: transparent;
  pointer-events: none;
}
.progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--sage), var(--caramel), var(--rose));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.08s linear;
}

/* 4. Buttons, links, chips --------------------------------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.85rem 1.55rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--body);
  font-size: 0.95rem;
  font-weight: 620;
  letter-spacing: 0.005em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
  box-shadow: 0 1px 2px rgba(36, 28, 22, 0.08);
}
.btn:hover { transform: translateY(-1px); color: var(--btn-fg); }
.btn:active { transform: translateY(0); }

.btn--primary {
  --btn-bg: linear-gradient(180deg, #c27a31 0%, var(--caramel) 55%, var(--caramel-dark) 100%);
  box-shadow: 0 6px 18px -8px rgba(148, 85, 27, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.btn--primary:hover { box-shadow: 0 10px 24px -8px rgba(148, 85, 27, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.25); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line);
  background: rgba(255, 253, 249, 0.7);
}
.btn--ghost:hover { --btn-bg: #fff; border-color: #cbb99f; color: var(--ink); }

.btn--sm { padding: 0.62rem 1.1rem; font-size: 0.86rem; }
.btn--block { width: 100%; }

.link-btn {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--caramel-dark);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-align: left;
}
.link-btn::after {
  content: "→";
  transition: transform 0.2s var(--ease);
  font-size: 0.95em;
}
.link-btn:hover { color: var(--ink); }
.link-btn:hover::after { transform: translateX(3px); }

.chip {
  appearance: none;
  font-family: var(--body);
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: rgba(255, 253, 249, 0.85);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: all 0.18s var(--ease);
}
.chip:hover { border-color: #c9b397; color: var(--ink); transform: translateY(-1px); }
.chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

/* 5. Header & navigation ----------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 246, 238, 0.82);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--line-soft);
  box-shadow: 0 6px 26px -18px rgba(36, 28, 22, 0.5);
  background: rgba(251, 246, 238, 0.94);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}
.brand img { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong {
  font-family: var(--display);
  font-size: 1.24rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.brand-text em {
  font-style: normal;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 0.28rem;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.primary-nav ul li { margin: 0; }
.primary-nav ul a {
  position: relative;
  font-size: 0.9rem;
  font-weight: 560;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 0.35rem 0;
}
.primary-nav ul a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1.5px;
  background: var(--caramel);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.primary-nav ul a:hover,
.primary-nav ul a.is-current { color: var(--ink); }
.primary-nav ul a:hover::after,
.primary-nav ul a.is-current::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  appearance: none;
  background: rgba(255, 253, 249, 0.9);
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 44px; height: 44px;
  cursor: pointer;
  position: relative;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  position: absolute;
  left: 50%;
  width: 18px; height: 1.6px;
  background: var(--ink);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: transform 0.22s var(--ease), opacity 0.18s var(--ease);
}
.nav-toggle-bars { top: 50%; margin-top: -0.8px; }
.nav-toggle-bars::before { content: ""; top: -6px; }
.nav-toggle-bars::after { content: ""; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateX(-50%) translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateX(-50%) translateY(-6px) rotate(-45deg); }

/* 6. Hero --------------------------------------------------- */
.hero {
  position: relative;
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 78%;
  background:
    radial-gradient(700px 380px at 82% 20%, rgba(240, 214, 180, 0.55), rgba(240, 214, 180, 0) 70%),
    radial-gradient(520px 320px at 6% 66%, rgba(214, 223, 204, 0.5), rgba(214, 223, 204, 0) 70%);
  pointer-events: none;
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(2rem, 4.5vw, 4.5rem);
  align-items: center;
}

.hero-copy h1 { margin-bottom: 1.1rem; text-wrap: balance; }
.hero-copy .lede { margin-bottom: 1.9rem; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.9rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.8rem;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
}
.hero-meta li {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.hero-meta li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--sage);
}
.hero-meta li + li { padding-left: 0.9rem; border-left: 1px solid var(--line); }

.hero-figure {
  position: relative;
  margin: 0;
}
.hero-figure > img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 190px 190px var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.hero-figure::after {
  content: "";
  position: absolute;
  inset: -14px -14px auto auto;
  width: 120px; height: 120px;
  border-top: 1px solid rgba(185, 112, 42, 0.45);
  border-right: 1px solid rgba(185, 112, 42, 0.45);
  border-radius: 0 190px 0 0;
  pointer-events: none;
}

.photo-card {
  position: absolute;
  left: clamp(-1.5rem, -2vw, -0.5rem);
  bottom: 1.6rem;
  background: rgba(255, 253, 249, 0.94);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(227, 215, 198, 0.9);
  border-radius: var(--radius);
  padding: 0.95rem 1.15rem;
  max-width: 280px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.15rem;
  font-size: 0.82rem;
  color: var(--ink-soft);
}
.photo-card-kicker {
  font-size: 0.63rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--caramel-dark);
  font-weight: 700;
}
.photo-card strong {
  font-family: var(--display);
  font-size: 1.02rem;
  color: var(--ink);
  line-height: 1.25;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  list-style: none;
  margin: clamp(2.4rem, 4vw, 3.4rem) 0 0;
  padding: 1.4rem 0 0;
  border-top: 1px solid var(--line);
}
.stat-strip li { margin: 0; display: flex; flex-direction: column; gap: 0.15rem; }
.stat-strip strong {
  font-family: var(--display);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 1.9rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
}
.stat-strip span {
  font-size: 0.78rem;
  color: var(--ink-muted);
  letter-spacing: 0.01em;
}

/* 7. Article layout ---------------------------------------- */
.article {
  padding-block: clamp(2.5rem, 4vw, 3.5rem);
}

.article-head {
  max-width: 780px;
  padding-bottom: clamp(1.6rem, 3vw, 2.4rem);
  border-bottom: 1px solid var(--line);
}
.article-head h2 {
  font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3rem);
  margin-bottom: 0.7rem;
  text-wrap: balance;
}
.article-standfirst {
  font-size: 1.09rem;
  color: var(--ink-soft);
  max-width: 46em;
}
.byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8rem;
  color: var(--ink-muted);
  margin-top: 1.2rem;
}

.toc {
  margin-top: 1.8rem;
  padding: 1.05rem 1.25rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 253, 249, 0.6);
}
.toc-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-muted);
  margin-bottom: 0.6rem;
}
.toc ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.toc li { margin: 0; }
.toc a {
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}
.toc a:hover,
.toc a.is-current { color: var(--caramel-dark); border-bottom-color: currentColor; }

.article-section {
  padding-block: clamp(2.6rem, 4.5vw, 4rem);
  border-bottom: 1px solid var(--line-soft);
}
.article-section:last-child { border-bottom: 0; }

.section-head { max-width: 760px; margin-bottom: clamp(1.6rem, 3vw, 2.4rem); }
.section-head h2 { margin-bottom: 0.55rem; text-wrap: balance; }
.section-intro { color: var(--ink-soft); max-width: 44em; margin: 0; }

.prose-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.6rem);
  align-items: start;
}
.prose { max-width: 66ch; font-size: 1.02rem; color: var(--ink-soft); }
.prose h3 { margin-top: 2rem; color: var(--ink); }
.prose > p:first-child { font-size: 1.08rem; color: var(--ink); }
.prose strong { color: var(--ink); }

/* 8. Content components ------------------------------------ */
.rules {
  list-style: none;
  padding: 0;
  counter-reset: rule;
  margin: 1.4rem 0;
  display: grid;
  gap: 0.85rem;
}
.rules li {
  counter-increment: rule;
  position: relative;
  padding-left: 2.35rem;
  margin: 0;
  font-size: 0.98rem;
}
.rules li::before {
  content: counter(rule, decimal-leading-zero);
  position: absolute;
  left: 0; top: 0.15rem;
  font-family: var(--display);
  font-size: 0.85rem;
  color: var(--caramel-dark);
  background: var(--caramel-tint);
  border-radius: 6px;
  width: 1.75rem; height: 1.55rem;
  display: grid;
  place-items: center;
  font-weight: 600;
}
.rules strong { display: block; color: var(--ink); }

.aside-card {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  background: linear-gradient(165deg, #fffdf9, #f8f0e4);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  font-size: 0.94rem;
}
.aside-card h3 { font-size: 1.1rem; }
.aside-card p { color: var(--ink-soft); }
.aside-sign {
  font-family: var(--display);
  font-style: italic;
  color: var(--ink) !important;
  font-size: 0.95rem;
}
.aside-figure { margin: 1.1rem 0 0; }
.aside-figure img {
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
}

.feature-figure { margin: 0 0 clamp(1.8rem, 3vw, 2.6rem); }
.feature-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
figcaption {
  font-size: 0.8rem;
  color: var(--ink-muted);
  margin-top: 0.7rem;
  padding-left: 0.9rem;
  border-left: 2px solid var(--line);
  max-width: 62ch;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.step {
  background: var(--card);
  padding: 1.45rem 1.4rem 1.6rem;
  margin: 0;
  position: relative;
  transition: background 0.25s var(--ease);
}
.step:hover { background: #fff; }
.step-num {
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--caramel-dark);
  display: block;
  margin-bottom: 0.65rem;
}
.step h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.step p { font-size: 0.9rem; color: var(--ink-soft); margin: 0; }

.callout {
  margin-top: clamp(1.8rem, 3vw, 2.4rem);
  border-radius: var(--radius-lg);
  padding: clamp(1.35rem, 2.4vw, 1.9rem) clamp(1.4rem, 2.6vw, 2.1rem);
  border: 1px solid var(--line);
  background: var(--card);
  position: relative;
  overflow: hidden;
}
.callout h3 { font-size: 1.15rem; margin-bottom: 0.45rem; }
.callout p { color: var(--ink-soft); margin: 0; max-width: 66ch; font-size: 0.97rem; }
.callout--warm {
  background: linear-gradient(140deg, #fdf1e3, #fbe9d5);
  border-color: #eed4b6;
}
.callout--warm::before {
  content: "";
  position: absolute;
  right: -40px; top: -40px;
  width: 150px; height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0));
}
.callout--note {
  background: linear-gradient(140deg, #eef2e8, #e6ece0);
  border-color: #d6dfcc;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.panel {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.55rem;
}
.panel--muted { background: #f7f2e9; }
.panel h3 { font-size: 1.12rem; margin-bottom: 0.85rem; }
.tick-list,
.cross-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.94rem;
  color: var(--ink-soft);
}
.tick-list li,
.cross-list li {
  position: relative;
  padding-left: 1.65rem;
  margin-bottom: 0.55rem;
}
.tick-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.48em;
  width: 9px; height: 5px;
  border-left: 1.7px solid var(--sage);
  border-bottom: 1.7px solid var(--sage);
  transform: rotate(-45deg);
}
.cross-list li::before,
.cross-list li::after {
  content: "";
  position: absolute;
  left: 0; top: 0.72em;
  width: 10px;
  height: 1.6px;
  background: var(--rose);
}
.cross-list li::before { transform: rotate(45deg); }
.cross-list li::after { transform: rotate(-45deg); }
.panel-note {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}

.portrait-figure,
.visit-figure { margin: 0; }
.portrait-figure img,
.visit-figure img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow);
}
.portrait-figure img { aspect-ratio: 4 / 3; }

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.visit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1.2rem;
  align-items: stretch;
}
.visit-figure img { height: 100%; min-height: 300px; }

.visit-card {
  border: 1px solid var(--line);
  background: linear-gradient(170deg, #fffdf9, #f8f0e4);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 2.4vw, 1.9rem);
  box-shadow: var(--shadow-sm);
}
.visit-card h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.visit-card address { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 1rem; }
.hours { margin: 0 0 1rem; font-size: 0.9rem; }
.hours div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.42rem 0;
  border-bottom: 1px dashed var(--line);
}
.hours div:last-child { border-bottom: 0; }
.hours dt { color: var(--ink-soft); margin: 0; }
.hours dd { margin: 0; font-weight: 600; color: var(--ink); }
.visit-note { font-size: 0.82rem; color: var(--ink-muted); }
.visit-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.1rem; }

/* 9. Flavor library ---------------------------------------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}
.filter-status {
  font-size: 0.8rem;
  color: var(--ink-muted);
  margin-bottom: 1.2rem;
}

.flavor-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.flavor-card {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.25rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
  position: relative;
  overflow: hidden;
}
.flavor-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--sage-soft), var(--caramel-tint), var(--rose-soft));
  opacity: 0.9;
}
.flavor-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: #d8c6ad;
}
.flavor-card.is-hidden { display: none; }
.flavor-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.flavor-tag {
  font-size: 0.63rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--caramel-dark);
}
.intensity { display: inline-flex; gap: 3px; }
.intensity i {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--line);
  display: block;
}
.intensity i.on { background: var(--rose); }

.flavor-card h3 { font-size: 1.08rem; margin: 0; line-height: 1.25; }
.flavor-notes {
  font-size: 0.86rem;
  color: var(--ink-soft);
  margin: 0;
  flex-grow: 1;
}
.flavor-facts {
  margin: 0;
  font-size: 0.74rem;
  color: var(--ink-muted);
  display: grid;
  gap: 0.18rem;
  padding-top: 0.55rem;
  border-top: 1px solid var(--line-soft);
}
.flavor-facts div { display: flex; justify-content: space-between; gap: 0.6rem; }
.flavor-facts dt { margin: 0; }
.flavor-facts dd { margin: 0; color: var(--ink-soft); font-weight: 550; text-align: right; }
.flavor-card .link-btn { font-size: 0.8rem; margin-top: 0.15rem; }

.grid-empty {
  margin-top: 1.4rem;
  padding: 1.1rem 1.2rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* 10. Quiz -------------------------------------------------- */
.quiz {
  background: linear-gradient(165deg, #fffdf9, #f7efe2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  box-shadow: var(--shadow-sm);
  max-width: 880px;
}
.quiz-step {
  display: none;
  animation: fadeUp 0.35s var(--ease);
}
.quiz-step.is-active { display: block; }
.quiz-step legend {
  font-family: var(--display);
  font-size: clamp(1.15rem, 1rem + 0.7vw, 1.45rem);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 1.2rem;
  color: var(--ink);
  display: block;
  width: 100%;
}
.quiz-step-label {
  display: block;
  font-family: var(--body);
  font-size: 0.66rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--caramel-dark);
  margin-bottom: 0.5rem;
}
.quiz-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}
.quiz-option {
  position: relative;
  display: block;
  cursor: pointer;
}
.quiz-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.quiz-option span {
  display: block;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fffdf9;
  font-size: 0.92rem;
  color: var(--ink-soft);
  transition: all 0.16s var(--ease);
  height: 100%;
}
.quiz-option:hover span { border-color: #cbb69a; background: #fff; }
.quiz-option input:checked + span {
  border-color: var(--caramel);
  background: #fdf3e6;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--caramel);
  font-weight: 550;
}
.quiz-option input:focus-visible + span { outline: 2px solid var(--caramel); outline-offset: 2px; }

.quiz-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}
.quiz-progress {
  margin: 0 0 0 auto;
  font-size: 0.78rem;
  color: var(--ink-muted);
}
.quiz-result {
  margin-top: 1.4rem;
  padding: 1.4rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid #e7d6bd;
  box-shadow: var(--shadow-sm);
  animation: fadeUp 0.4s var(--ease);
}
.quiz-result h3 { margin-bottom: 0.4rem; font-size: 1.5rem; }
.quiz-result p { color: var(--ink-soft); font-size: 0.95rem; }
.quiz-result-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }

/* 11. Accordion -------------------------------------------- */
.accordion {
  border-top: 1px solid var(--line);
  max-width: 900px;
}
.accordion-item { border-bottom: 1px solid var(--line); }
.accordion-item h3 { margin: 0; }
.accordion-trigger {
  appearance: none;
  width: 100%;
  background: none;
  border: 0;
  padding: 1.15rem 2.6rem 1.15rem 0;
  text-align: left;
  font-family: var(--display);
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  position: relative;
  line-height: 1.35;
  transition: color 0.18s var(--ease);
}
.accordion-trigger:hover { color: var(--caramel-dark); }
.accordion-trigger::after,
.accordion-trigger::before {
  content: "";
  position: absolute;
  right: 0.35rem;
  top: 50%;
  width: 12px; height: 1.6px;
  background: var(--caramel-dark);
  transition: transform 0.25s var(--ease);
}
.accordion-trigger::before { transform: translateY(-50%) rotate(90deg); }
.accordion-trigger::after { transform: translateY(-50%) rotate(0); }
.accordion-trigger[aria-expanded="true"]::before { transform: translateY(-50%) rotate(0); }
.accordion-panel {
  padding: 0 2.4rem 1.3rem 0;
  animation: fadeUp 0.3s var(--ease);
}
.accordion-panel p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
  max-width: 68ch;
}

/* 12. Contact & newsletter ---------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(1.6rem, 3.5vw, 3rem);
  align-items: start;
}
.contact-details h3 { font-size: 1.1rem; margin-bottom: 1rem; }
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem;
  display: grid;
  gap: 1rem;
}
.contact-list li {
  margin: 0;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.94rem;
  color: var(--ink-soft);
}
.contact-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-label {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-muted);
  margin-bottom: 0.28rem;
}
.copy-btn {
  appearance: none;
  margin-left: 0.7rem;
  border: 1px solid var(--line);
  background: #fffdf9;
  border-radius: 999px;
  font-size: 0.7rem;
  padding: 0.18rem 0.6rem;
  color: var(--ink-muted);
  cursor: pointer;
  transition: all 0.16s var(--ease);
}
.copy-btn:hover { border-color: var(--caramel); color: var(--caramel-dark); }
.copy-btn.is-done { border-color: var(--sage); color: var(--sage); }
.contact-small { font-size: 0.83rem; color: var(--ink-muted); }

.contact-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.3rem, 2.6vw, 1.9rem);
  box-shadow: var(--shadow-sm);
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}
.field { margin-bottom: 1rem; }
.field:last-of-type { margin-bottom: 1.2rem; }
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.32rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 0.94rem;
  color: var(--ink);
  background: #fffdfa;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.68rem 0.8rem;
  transition: border-color 0.16s var(--ease), box-shadow 0.16s var(--ease), background 0.16s var(--ease);
}
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-muted) 50%), linear-gradient(135deg, var(--ink-muted) 50%, transparent 50%); background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 2.2rem; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: #cdb99e; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--caramel);
  box-shadow: 0 0 0 3px rgba(185, 112, 42, 0.14);
  background: #fff;
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(168, 52, 47, 0.1); }
.field-error {
  color: var(--danger);
  font-size: 0.76rem;
  margin: 0.3rem 0 0;
}
.field-hint {
  font-size: 0.76rem;
  color: var(--ink-muted);
  margin: 0.3rem 0 0;
}
.field--checkbox {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.1rem 0.65rem;
  align-items: start;
}
.field--checkbox input {
  width: 17px; height: 17px;
  margin: 0.22rem 0 0;
  accent-color: var(--caramel-dark);
  grid-row: span 2;
}
.field--checkbox label {
  font-weight: 450;
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.5;
}
.field--checkbox .field-error { grid-column: 2; }

.form-status {
  margin: 0.85rem 0 0;
  font-size: 0.85rem;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  background: var(--sage-soft);
  color: #43503a;
  border: 1px solid #cfdac4;
}
.form-status.is-error { background: #f7e3e1; color: #7c2b27; border-color: #e8c8c4; }
.form-footnote {
  font-size: 0.74rem;
  color: var(--ink-muted);
  margin: 0.8rem 0 0;
  text-align: center;
}

.newsletter {
  background: linear-gradient(150deg, #2b2119, #3a2c20 55%, #2b2119);
  color: #f4ece0;
  padding: clamp(2.4rem, 4vw, 3.4rem) 0;
  position: relative;
  overflow: hidden;
}
.newsletter::before {
  content: "";
  position: absolute;
  inset: -60% -10% auto auto;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.22), rgba(201, 162, 39, 0) 65%);
  pointer-events: none;
}
.newsletter-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  position: relative;
}
.newsletter .kicker { color: #d9c3a3; }
.newsletter .kicker::before { background: #d9c3a3; }
.newsletter h2 { color: #fdf8ef; font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.2rem); margin-bottom: 0.5rem; }
.newsletter p { color: #cbbca8; font-size: 0.92rem; max-width: 34em; }
.newsletter-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
}
.newsletter-form input {
  min-width: 0;
  font-family: var(--body);
  font-size: 0.92rem;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(244, 236, 224, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.newsletter-form input::placeholder { color: #a89b8b; }
.newsletter-form input:focus {
  outline: none;
  border-color: #d9b07a;
  background: rgba(255, 255, 255, 0.13);
}
.newsletter-form .form-status { grid-column: 1 / -1; background: rgba(255, 255, 255, 0.1); color: #f1e7d8; border-color: rgba(255, 255, 255, 0.2); }
.newsletter-consent {
  grid-column: 1 / -1;
  font-size: 0.7rem !important;
  margin: 0;
  color: #a89b8b !important;
}
.newsletter-consent a { color: #dcc6a8; }

/* 13. Footer ------------------------------------------------ */
.site-footer {
  background: #221a14;
  color: #cbbba7;
  padding: clamp(2.4rem, 4vw, 3.4rem) 0 1.4rem;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 0.8fr)) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 2.6rem);
}
.footer-brand .brand { color: #fdf8ef; margin-bottom: 0.9rem; }
.footer-brand .brand-text em { color: #9c8c79; }
.footer-brand p { color: #a3937f; font-size: 0.86rem; max-width: 32ch; }
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  font-size: 0.82rem;
}
.footer-social li { margin: 0; }
.footer-social a { color: #dcc7ab; text-decoration: none; border-bottom: 1px solid rgba(220, 199, 171, 0.3); }
.footer-social a:hover { color: #fff; border-bottom-color: #fff; }

.footer-col h2 {
  font-family: var(--body);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8f7f6c;
  margin-bottom: 0.9rem;
  font-weight: 700;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.55rem; }
.footer-col a { color: #cbbba7; text-decoration: none; }
.footer-col a:hover { color: #fff; }
.footer-visit address { color: #cbbba7; line-height: 1.7; font-size: 0.86rem; }
.footer-visit p { font-size: 0.82rem; color: #8f7f6c; margin-top: 0.8rem; }
.footer-link {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: inherit;
  color: #cbbba7;
  cursor: pointer;
  text-align: left;
}
.footer-link:hover { color: #fff; text-decoration: underline; }

.footer-bottom {
  margin-top: 2.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(203, 187, 167, 0.16);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.76rem;
  color: #8f7f6c;
}
.footer-bottom p { margin: 0; }
.footer-bottom ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-bottom li { margin: 0; }
.footer-bottom a { color: #a3937f; text-decoration: none; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom .footer-link { color: #a3937f; }

/* 14. Cookie banner & dialogs ------------------------------- */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 1.1rem;
  transform: translateX(-50%) translateY(20px);
  width: min(100% - 2rem, 1080px);
  z-index: 130;
  opacity: 0;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  pointer-events: none;
}
.cookie-banner.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.cookie-inner {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: rgba(34, 26, 20, 0.97);
  color: #e7dbcb;
  border: 1px solid rgba(203, 169, 124, 0.3);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
}
.cookie-copy { flex: 1 1 auto; min-width: 0; }
.cookie-copy h2 {
  font-family: var(--body);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f2e6d5;
  margin-bottom: 0.25rem;
  font-weight: 700;
}
.cookie-copy p { margin: 0; font-size: 0.78rem; line-height: 1.55; color: #b8a795; }
.cookie-copy a { color: #e4c9a6; }
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.cookie-actions .btn--ghost {
  --btn-fg: #ecdfcd;
  border-color: rgba(203, 187, 167, 0.4);
  background: transparent;
}
.cookie-actions .btn--ghost:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.cookie-manage {
  appearance: none;
  background: none;
  border: 0;
  color: #b8a795;
  font: inherit;
  font-size: 0.76rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  padding: 0.3rem 0.2rem;
}
.cookie-manage:hover { color: #fff; }

dialog.modal {
  width: min(100% - 2rem, 720px);
  max-height: min(88vh, 900px);
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(175deg, #fffdf9, #f8f1e6);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
  overflow: auto;
  overscroll-behavior: contain;
}
dialog.modal--wide { width: min(100% - 2rem, 820px); }
dialog.modal::backdrop {
  background: rgba(28, 21, 16, 0.55);
  backdrop-filter: blur(3px);
}
dialog.modal[open] { animation: modalIn 0.28s var(--ease); }
.modal-close-form { position: sticky; top: 0; display: flex; justify-content: flex-end; height: 0; z-index: 3; }
.modal-close {
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.9);
  color: var(--ink-soft);
  width: 34px; height: 34px;
  border-radius: 50%;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  margin: 0.9rem 0.9rem 0 0;
  transition: all 0.16s var(--ease);
}
.modal-close:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.modal-body { padding: 0.4rem clamp(1.2rem, 3vw, 2.1rem) clamp(1.4rem, 3vw, 2rem); }
.modal-body h2 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2rem); margin-bottom: 0.5rem; }
.modal-lede { color: var(--ink-soft); font-size: 0.95rem; }
.modal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 1.4rem;
  margin: 1.2rem 0;
}
.modal-grid h3 {
  font-family: var(--body);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.3rem;
}
.modal-grid p { font-size: 0.92rem; color: var(--ink-soft); }
.modal-facts {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  font-size: 0.82rem;
  align-self: start;
}
.modal-facts div {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.32rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.modal-facts div:last-child { border-bottom: 0; }
.modal-facts dt { color: var(--ink-muted); margin: 0; }
.modal-facts dd { margin: 0; color: var(--ink); font-weight: 600; text-align: right; }
.modal-note {
  font-size: 0.77rem;
  color: var(--ink-muted);
  border-top: 1px solid var(--line);
  padding-top: 0.9rem;
  margin: 0 0 1.1rem;
}
.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  margin-top: 1.1rem;
}

.gift-form { margin-top: 1.2rem; }
.gift-group { margin-bottom: 1.15rem; }
.gift-group legend {
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--ink);
  margin-bottom: 0.5rem;
  display: block;
  width: 100%;
}
.gift-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
}
.gift-options--stack { grid-template-columns: 1fr 1fr; }
.gift-option { position: relative; cursor: pointer; display: block; }
.gift-option input { position: absolute; opacity: 0; pointer-events: none; }
.gift-option-body {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fffdf9;
  padding: 0.75rem 0.85rem;
  height: 100%;
  transition: all 0.16s var(--ease);
  font-size: 0.8rem;
  color: var(--ink-muted);
}
.gift-option-body strong { font-size: 0.9rem; color: var(--ink); font-weight: 650; }
.gift-option-body em { font-style: normal; }
.gift-option-body b { margin-top: 0.25rem; color: var(--caramel-dark); font-size: 0.88rem; }
.gift-option:hover .gift-option-body { border-color: #cbb69a; background: #fff; }
.gift-option input:checked + .gift-option-body {
  border-color: var(--caramel);
  background: #fdf3e6;
  box-shadow: inset 0 0 0 1px var(--caramel);
}
.gift-option input:focus-visible + .gift-option-body { outline: 2px solid var(--caramel); outline-offset: 2px; }
.gift-summary {
  display: grid;
  gap: 0.3rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.9rem 1.05rem;
  margin: 0.4rem 0 0.8rem;
  font-size: 0.84rem;
}
.gift-summary div { display: flex; justify-content: space-between; gap: 1rem; }
.gift-summary span { color: var(--ink-muted); }
.gift-summary strong { color: var(--ink); text-align: right; }
.gift-disclaimer { font-size: 0.75rem; color: var(--ink-muted); margin-bottom: 1rem; }

.pref-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.2rem;
  border-top: 1px solid var(--line);
  padding: 1rem 0;
}
.pref-row h3 { font-family: var(--body); font-size: 0.9rem; font-weight: 650; margin-bottom: 0.2rem; }
.pref-row p { font-size: 0.82rem; color: var(--ink-muted); margin: 0; max-width: 44ch; }
.pref-badge {
  font-size: 0.7rem;
  color: var(--sage);
  background: var(--sage-soft);
  border: 1px solid #d2ddc8;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  white-space: nowrap;
  font-weight: 600;
}
.switch { position: relative; display: inline-block; flex-shrink: 0; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch-track {
  display: block;
  width: 44px; height: 25px;
  border-radius: 999px;
  background: #ded1be;
  transition: background 0.2s var(--ease);
  position: relative;
}
.switch-thumb {
  position: absolute;
  top: 3px; left: 3px;
  width: 19px; height: 19px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s var(--ease);
}
.switch input:checked + .switch-track { background: var(--sage); }
.switch input:checked + .switch-track .switch-thumb { transform: translateX(19px); }
.switch input:focus-visible + .switch-track { outline: 2px solid var(--caramel); outline-offset: 2px; }

.to-top {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 90;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.94);
  color: var(--ink);
  font-size: 1.05rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}
.to-top:hover { transform: translateY(-2px); background: #fff; }
body.has-cookie .to-top { bottom: 8.2rem; }

/* 15. Privacy page ------------------------------------------ */
.page-head {
  padding: clamp(2.2rem, 4vw, 3.2rem) 0 clamp(1.4rem, 3vw, 2rem);
  max-width: 820px;
}
.page-head h1 { font-size: clamp(2rem, 1.5rem + 2.4vw, 3.2rem); }
.page-head .lede { font-size: 1.03rem; }
.legal-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(1.6rem, 4vw, 3.4rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}
.legal-nav {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 249, 0.7);
  padding: 1rem 1.1rem;
}
.legal-nav h2 {
  font-family: var(--body);
  font-size: 0.66rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.7rem;
}
.legal-nav ol { list-style: none; padding: 0; margin: 0; counter-reset: legal; }
.legal-nav li { margin: 0 0 0.4rem; counter-increment: legal; }
.legal-nav a {
  font-size: 0.82rem;
  color: var(--ink-soft);
  text-decoration: none;
  display: flex;
  gap: 0.5rem;
  border-left: 2px solid transparent;
  padding-left: 0.6rem;
  transition: all 0.16s var(--ease);
}
.legal-nav a::before {
  content: counter(legal, decimal-leading-zero);
  color: var(--ink-muted);
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
}
.legal-nav a:hover,
.legal-nav a.is-current { color: var(--caramel-dark); border-left-color: var(--caramel); }

.legal-body { max-width: 72ch; }
.legal-body section {
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--line-soft);
}
.legal-body section:last-child { border-bottom: 0; }
.legal-body h2 {
  font-size: clamp(1.35rem, 1.15rem + 0.8vw, 1.7rem);
  margin-bottom: 0.7rem;
}
.legal-body h3 { font-size: 1.05rem; margin-top: 1.5rem; }
.legal-body p,
.legal-body li { font-size: 0.97rem; color: var(--ink-soft); }
.legal-body ul { padding-left: 1.1rem; }
.legal-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  margin: 1rem 0;
  background: #fffdf9;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.legal-body th,
.legal-body td {
  text-align: left;
  padding: 0.65rem 0.8rem;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
  color: var(--ink-soft);
}
.legal-body th {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  background: #f7f0e6;
}
.legal-body tr:last-child td { border-bottom: 0; }
.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.2rem;
  font-size: 0.79rem;
  color: var(--ink-muted);
  padding: 0.9rem 0 0;
  border-top: 1px solid var(--line);
  margin-top: 1.2rem;
}
.legal-body .callout { margin-top: 1.2rem; }
.legal-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 1.4rem; }

/* 16. Motion & responsive ----------------------------------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .flavor-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.6rem; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  :root { --header-h: 70px; }
  .hero-grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .hero-figure { max-width: 520px; }
  .hero-figure > img { aspect-ratio: 5 / 4; border-radius: 140px 140px var(--radius-lg) var(--radius-lg); }
  .photo-card { left: auto; right: 1rem; bottom: -1.2rem; max-width: 240px; }
  .prose-grid,
  .visit-grid,
  .contact-grid,
  .two-col,
  .newsletter-inner,
  .modal-grid { grid-template-columns: 1fr; }
  .aside-card { position: static; }
  .aside-figure { display: none; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-nav { position: static; }
  .legal-nav ol { columns: 2; column-gap: 1.2rem; }
  .flavor-grid { grid-template-columns: repeat(2, 1fr); }
  .cookie-inner { flex-direction: column; align-items: stretch; gap: 0.9rem; }
  .cookie-actions { justify-content: flex-start; }
  body.has-cookie .to-top { bottom: 12rem; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .primary-nav {
    position: absolute;
    inset: 100% 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0.9rem;
    background: rgba(251, 246, 238, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -28px rgba(36, 28, 22, 0.6);
    padding: 1.1rem 1.3rem 1.4rem;
    display: none;
  }
  .primary-nav.is-open { display: flex; animation: fadeUp 0.22s var(--ease); }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav ul li { border-bottom: 1px solid var(--line-soft); }
  .primary-nav ul a { display: block; padding: 0.75rem 0; font-size: 1rem; }
  .primary-nav ul a::after { display: none; }
  .primary-nav .btn { align-self: flex-start; }
}

@media (max-width: 720px) {
  body { font-size: 16.5px; }
  .hero-figure > img { aspect-ratio: 1 / 1; }
  .stat-strip { grid-template-columns: 1fr 1fr; gap: 1.2rem 1rem; }
  .steps { grid-template-columns: 1fr; }
  .quiz-options { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .gift-options,
  .gift-options--stack { grid-template-columns: 1fr; }
  .newsletter-form { grid-template-columns: 1fr; }
  .newsletter-form .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-visit { grid-column: 1 / -1; }
  .legal-nav ol { columns: 1; }
  .modal-facts div { flex-direction: row; }
}

@media (max-width: 520px) {
  .shell { width: min(100% - 1.9rem, var(--shell)); }
  .brand-text em { display: none; }
  .flavor-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .hero-meta { gap: 0.4rem; }
  .hero-meta li + li { border-left: 0; padding-left: 0; }
  .photo-card { position: static; margin-top: 0.9rem; max-width: none; }
  .article-head h2 { font-size: 1.75rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom ul { gap: 0.8rem; }
  .cookie-banner { bottom: 0.5rem; width: calc(100% - 1rem); }
  .cookie-inner { padding: 0.85rem 0.95rem; border-radius: var(--radius); gap: 0.7rem; }
  .cookie-copy h2 { font-size: 0.7rem; }
  .cookie-copy p { font-size: 0.73rem; line-height: 1.5; }
  .cookie-actions { gap: 0.4rem; }
  .cookie-actions .btn { flex: 1 1 auto; padding: 0.55rem 0.7rem; font-size: 0.78rem; }
  .cookie-manage { flex-basis: 100%; text-align: center; font-size: 0.72rem; }
  .to-top { right: 0.7rem; bottom: 0.7rem; }
  body.has-cookie .to-top { bottom: 12.8rem; }
  .legal-body table { font-size: 0.78rem; }
  .legal-body th, .legal-body td { padding: 0.5rem 0.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header,
  .cookie-banner,
  .to-top,
  .newsletter,
  .progress,
  .modal,
  .hero-actions,
  .inline-actions { display: none !important; }
  body { background: #fff; color: #000; }
  .article-section { break-inside: avoid; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
