/* ==========================================================================
   Wildcomb Confections — Artisanal Lollipops & Candies
   Global stylesheet
   ========================================================================== */

:root {
  --cream: #fbf6ec;
  --cream-deep: #f3ead9;
  --paper: #fffdf8;
  --ink: #241c17;
  --ink-soft: #4b3d34;
  --ink-muted: #77655a;
  --berry: #9c2f43;
  --berry-dark: #7c2033;
  --honey: #c98a2b;
  --honey-light: #ecc98a;
  --sage: #6f7d5d;
  --line: rgba(36, 28, 23, 0.14);
  --line-soft: rgba(36, 28, 23, 0.08);
  --shadow-sm: 0 1px 2px rgba(36, 28, 23, 0.06), 0 4px 12px rgba(36, 28, 23, 0.05);
  --shadow-md: 0 12px 32px -12px rgba(36, 28, 23, 0.22), 0 2px 6px rgba(36, 28, 23, 0.05);
  --shadow-lg: 0 30px 60px -28px rgba(36, 28, 23, 0.35);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 24px;
  --font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  --wrap-narrow: 760px;
  --header-h: 78px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background-color: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4 {
  font-family: var(--font-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.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1.1em; }

a {
  color: var(--berry);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover { color: var(--berry-dark); }

ul, ol { margin: 0 0 1.2em; padding-left: 1.3em; }
li { margin-bottom: 0.45em; }

strong { font-weight: 650; color: var(--ink); }

:focus-visible {
  outline: 2.5px solid var(--berry);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
  color: #fff;
}

/* ---------- Layout helpers ---------- */

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

.wrap--narrow {
  max-width: var(--wrap-narrow);
}

.section {
  padding: clamp(56px, 8vw, 104px) 0;
}

.section--tight { padding: clamp(40px, 5vw, 64px) 0; }

.section--paper { background: var(--paper); }

.section--deep {
  background: var(--cream-deep);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.section--ink {
  background: #2a211b;
  color: #f1e7d7;
}

.section--ink h2,
.section--ink h3 { color: #fdf7eb; }

.section--ink p { color: #d9cbb8; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--honey);
  margin: 0 0 14px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1.5px;
  background: currentColor;
  opacity: 0.7;
}

.section-head {
  max-width: 680px;
  margin-bottom: clamp(30px, 4vw, 48px);
}

.section-head p {
  color: var(--ink-muted);
  font-size: 1.06rem;
  margin-bottom: 0;
}

.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head--center .eyebrow { justify-content: center; }

/* ---------- Buttons ---------- */

.btn {
  --btn-bg: var(--berry);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  box-shadow: 0 8px 18px -10px rgba(124, 32, 51, 0.75);
  line-height: 1.2;
}

.btn:hover {
  background: var(--berry-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 24px -12px rgba(124, 32, 51, 0.8);
}

.btn:active { transform: translateY(0); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: rgba(36, 28, 23, 0.28);
  box-shadow: none;
}

.btn--ghost:hover {
  background: rgba(36, 28, 23, 0.06);
  color: var(--ink);
  border-color: rgba(36, 28, 23, 0.45);
  box-shadow: none;
}

.btn--honey {
  --btn-bg: var(--honey);
  --btn-fg: #241c17;
  box-shadow: 0 8px 18px -10px rgba(201, 138, 43, 0.85);
}

.btn--honey:hover {
  background: #b87a20;
  color: #1c1611;
  box-shadow: 0 14px 24px -12px rgba(201, 138, 43, 0.9);
}

.btn--sm {
  padding: 10px 18px;
  font-size: 0.86rem;
}

.btn--block { width: 100%; }

.btn--light {
  --btn-bg: #fdf7eb;
  --btn-fg: #241c17;
  box-shadow: none;
}

.btn--light:hover {
  background: #fff;
  color: #241c17;
}

.btn[aria-disabled="true"] {
  opacity: 0.5;
  pointer-events: none;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(251, 246, 236, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 6px 20px -14px rgba(36, 28, 23, 0.5);
  background: rgba(255, 253, 248, 0.96);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  flex: 0 0 auto;
}

.brand:hover { color: var(--ink); }

.brand__mark {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fff8ea 0%, #f6e6c8 55%, #eed9b4 100%);
  border: 1px solid rgba(156, 47, 67, 0.25);
  display: grid;
  place-items: center;
  box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.9);
}

.brand__mark svg { width: 26px; height: 26px; }

.brand__text { display: flex; flex-direction: column; line-height: 1.1; }

.brand__name {
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.brand__tag {
  font-size: 0.63rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 3px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav__link {
  position: relative;
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 550;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.16s ease, background-color 0.16s ease;
}

.nav__link:hover {
  color: var(--berry);
  background: rgba(156, 47, 67, 0.07);
}

.nav__link.is-active {
  color: var(--berry);
}

.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  padding: 0;
  place-items: center;
}

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: background-color 0.16s ease;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, top 0.2s ease;
}

.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 6vw, 84px);
  background:
    radial-gradient(900px 480px at 82% -10%, rgba(236, 201, 138, 0.45), transparent 70%),
    radial-gradient(700px 420px at 4% 10%, rgba(156, 47, 67, 0.09), transparent 70%),
    var(--cream);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px 7px 9px;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.85);
  border: 1px solid rgba(156, 47, 67, 0.2);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  margin-bottom: 22px;
}

.hero__badge .dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(201, 138, 43, 0.18);
  color: var(--honey);
  display: grid;
  place-items: center;
  font-size: 0.7rem;
}

.hero h1 { margin-bottom: 20px; }

.hero h1 em {
  font-style: italic;
  color: var(--berry);
}

.hero__lead {
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  color: var(--ink-soft);
  max-width: 52ch;
  margin-bottom: 28px;
}

.hero__actions { margin-bottom: 30px; }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  margin: 0;
  list-style: none;
  padding-left: 0;
}

.hero__meta li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 0.85rem;
  color: var(--ink-muted);
  font-weight: 550;
}

.hero__meta svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: var(--sage);
}

.hero__media {
  position: relative;
}

.hero__figure {
  margin: 0;
  position: relative;
  border-radius: 200px 200px var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid rgba(255, 253, 248, 0.75);
  background: var(--cream-deep);
}

.hero__figure img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.hero__chip {
  position: absolute;
  left: -14px;
  bottom: 30px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 13px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 282px;
}

.hero__chip strong {
  display: block;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 1.02rem;
  line-height: 1.2;
}

.hero__chip span {
  font-size: 0.76rem;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
}

.hero__chip .swatch {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex: 0 0 auto;
  background: conic-gradient(from 20deg, #ecc98a, #c98a2b, #9c2f43, #b06a8a, #ecc98a);
  border: 2px solid #fff;
  box-shadow: var(--shadow-sm);
}

/* ---------- Trust strip ---------- */

.strip {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 253, 248, 0.6);
  padding: 20px 0;
}

.strip__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.strip__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}

.strip__list svg {
  width: 18px;
  height: 18px;
  color: var(--honey);
  flex: 0 0 auto;
}

/* ---------- Prose / article ---------- */

.article-body {
  max-width: 74ch;
}

.article-body p {
  color: var(--ink-soft);
  font-size: 1.055rem;
  line-height: 1.78;
}

.article-body h2 { margin-top: 1.6em; }

.article-body h2:first-child { margin-top: 0; }

.article-body > h3 { margin-top: 1.5em; }

.lead-drop::first-letter {
  float: left;
  font-family: var(--font-display);
  font-size: 3.6rem;
  line-height: 0.84;
  padding: 6px 10px 0 0;
  color: var(--berry);
}

.pullquote {
  margin: 34px 0;
  padding: 22px 26px;
  border-left: 3px solid var(--honey);
  background: rgba(236, 201, 138, 0.16);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--ink);
}

.pullquote p { margin: 0; font-size: inherit; color: var(--ink); font-weight: 500; }

.note {
  margin: 28px 0;
  padding: 18px 20px;
  border: 1px solid rgba(201, 138, 43, 0.35);
  background: rgba(236, 201, 138, 0.14);
  border-radius: var(--radius);
  font-size: 0.94rem;
  color: var(--ink-soft);
}

.note strong { color: var(--ink); }

.note p:last-child { margin-bottom: 0; }

/* ---------- Split feature ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(26px, 4.4vw, 60px);
  align-items: center;
}

.split--reverse .split__media { order: 2; }

.split__media {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--cream-deep);
}

.split__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.split__media--tall img { aspect-ratio: 4 / 5; }

figcaption {
  font-size: 0.8rem;
  color: var(--ink-muted);
  padding: 11px 4px 0;
  line-height: 1.5;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 22px 0 26px;
}

.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 13px;
  font-size: 0.99rem;
  color: var(--ink-soft);
}

.checklist li::before {
  content: "";
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 4px;
  border-radius: 50%;
  background: rgba(111, 125, 93, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236f7d5d' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- Flavor cards ---------- */

.flavors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(238px, 1fr));
  gap: 18px;
}

.flavor {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px 22px 20px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.flavor:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(156, 47, 67, 0.22);
}

.flavor__dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  margin-bottom: 14px;
  background: var(--dot, var(--honey));
  box-shadow: inset 0 -3px 6px rgba(0, 0, 0, 0.18);
}

.flavor h3 { font-size: 1.12rem; margin-bottom: 6px; }

.flavor__profile {
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--honey);
  margin: 0 0 10px;
}

.flavor p {
  font-size: 0.93rem;
  color: var(--ink-muted);
  margin-bottom: 0;
  line-height: 1.65;
}

.flavor__meta {
  margin-top: auto;
  padding-top: 14px;
  font-size: 0.76rem;
  color: var(--ink-muted);
  display: flex;
  gap: 8px;
  align-items: center;
  border-top: 1px dashed var(--line-soft);
}

.flavor__meta b { color: var(--ink-soft); font-weight: 650; }

/* ---------- Filter chips ---------- */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 26px;
}

.chip {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.16s ease;
}

.chip:hover {
  border-color: rgba(156, 47, 67, 0.4);
  color: var(--berry);
}

.chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fdf7eb;
}

.chip.is-active:hover { color: #fdf7eb; }

/* ---------- Steps ---------- */

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 20px 22px 20px 68px;
  background: var(--paper);
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  margin: 0;
  font-size: 0.96rem;
  color: var(--ink-soft);
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 20px;
  top: 18px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--berry);
  font-weight: 600;
}

.steps h4 { margin-bottom: 6px; font-size: 1.02rem; }
.steps p { margin: 0; font-size: 0.94rem; color: var(--ink-muted); }

/* ---------- Stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.stats li {
  margin: 0;
  padding: 22px 20px;
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.07);
  border: 1px solid rgba(253, 247, 235, 0.14);
}

.stats b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.2rem);
  font-weight: 600;
  color: #fdf7eb;
  line-height: 1.1;
  margin-bottom: 6px;
}

.stats span {
  font-size: 0.83rem;
  color: #cbbca8;
  letter-spacing: 0.02em;
}

/* ---------- Box builder ---------- */

.builder {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(20px, 3vw, 34px);
  align-items: start;
}

.builder__panel {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 30px);
  box-shadow: var(--shadow-sm);
}

.builder__options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  margin: 0 0 6px;
  padding: 0;
  list-style: none;
}

.opt {
  margin: 0;
}

.opt input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.opt label {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 550;
  color: var(--ink-soft);
  transition: all 0.15s ease;
  background: #fff;
}

.opt label:hover { border-color: rgba(156, 47, 67, 0.38); }

.opt .sq {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1.5px solid rgba(36, 28, 23, 0.32);
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  transition: all 0.15s ease;
  background: #fff;
}

.opt .price {
  margin-left: auto;
  font-size: 0.8rem;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
}

.opt input:checked + label {
  border-color: var(--berry);
  background: rgba(156, 47, 67, 0.05);
  color: var(--ink);
}

.opt input:checked + label .sq {
  background: var(--berry);
  border-color: var(--berry);
}

.opt input:checked + label .sq::after {
  content: "";
  width: 8px;
  height: 4.5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
}

.opt input:focus-visible + label {
  outline: 2.5px solid var(--berry);
  outline-offset: 2px;
}

.summary {
  position: sticky;
  top: calc(var(--header-h) + 18px);
  background: #2a211b;
  color: #f1e7d7;
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 28px);
  box-shadow: var(--shadow-md);
}

.summary h3 { color: #fdf7eb; margin-bottom: 4px; font-size: 1.2rem; }

.summary__hint {
  font-size: 0.82rem;
  color: #c3b4a0;
  margin-bottom: 18px;
}

.summary__list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  font-size: 0.88rem;
  border-top: 1px solid rgba(253, 247, 235, 0.16);
}

.summary__list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 9px 0;
  border-bottom: 1px solid rgba(253, 247, 235, 0.1);
  color: #e6d9c6;
}

.summary__list li.is-empty {
  color: #b8a894;
  font-style: italic;
  justify-content: flex-start;
}

.summary__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: #fdf7eb;
}

.summary__note {
  font-size: 0.75rem;
  color: #b8a894;
  margin-bottom: 18px;
  line-height: 1.5;
}

.summary .btn { margin-bottom: 9px; }

.summary__secondary {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.summary__secondary .btn { flex: 1 1 auto; margin-bottom: 0; }

/* ---------- FAQ ---------- */

.faq {
  display: grid;
  gap: 10px;
}

.faq__item {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq__item[open] {
  border-color: rgba(156, 47, 67, 0.25);
  box-shadow: var(--shadow-sm);
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
}

.faq__q::-webkit-details-marker { display: none; }

.faq__q::after {
  content: "";
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--berry);
  border-bottom: 2px solid var(--berry);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.22s ease;
}

.faq__item[open] .faq__q::after {
  transform: rotate(-135deg) translateY(-2px);
}

.faq__a {
  padding: 0 22px 20px;
  font-size: 0.96rem;
  color: var(--ink-muted);
  line-height: 1.7;
}

.faq__a p:last-child { margin-bottom: 0; }

/* ---------- Contact ---------- */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
}

.contact__list {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  display: grid;
  gap: 14px;
}

.contact__list li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  margin: 0;
  font-size: 0.96rem;
  color: var(--ink-soft);
}

.contact__list svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  margin-top: 4px;
  color: var(--berry);
}

.contact__list b {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 2px;
  font-weight: 700;
}

.contact__list a { text-decoration: none; }
.contact__list a:hover { text-decoration: underline; }

.hours {
  display: grid;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
}

.hours li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin: 0;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink-soft);
}

.hours li:last-child { border-bottom: 0; }

.hours b { font-weight: 650; }

/* ---------- Forms ---------- */

.form-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3.2vw, 34px);
  box-shadow: var(--shadow-sm);
}

.form-card h3 { margin-bottom: 6px; }

.form-card > p {
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin-bottom: 22px;
}

.field {
  margin-bottom: 16px;
}

.field--row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.field .req { color: var(--berry); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.5;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.field textarea {
  resize: vertical;
  min-height: 104px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--berry);
  box-shadow: 0 0 0 3px rgba(156, 47, 67, 0.14);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"],
.field select[aria-invalid="true"] {
  border-color: #b3261e;
  background: #fff7f6;
}

.field__error {
  display: none;
  font-size: 0.78rem;
  color: #b3261e;
  margin-top: 5px;
  font-weight: 550;
}

.field__error.is-visible { display: block; }

.field__hint {
  font-size: 0.76rem;
  color: var(--ink-muted);
  margin-top: 6px;
}

.checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.83rem;
  color: var(--ink-muted);
  margin-bottom: 18px;
  line-height: 1.55;
}

.checkbox input {
  width: 17px;
  height: 17px;
  margin: 3px 0 0;
  flex: 0 0 auto;
  accent-color: var(--berry);
}

.form-status {
  display: none;
  margin-top: 16px;
  padding: 13px 16px;
  border-radius: 10px;
  font-size: 0.87rem;
  line-height: 1.55;
}

.form-status.is-visible { display: block; }

.form-status--ok {
  background: rgba(111, 125, 93, 0.14);
  border: 1px solid rgba(111, 125, 93, 0.4);
  color: #3f4a34;
}

.form-status--err {
  background: rgba(179, 38, 30, 0.08);
  border: 1px solid rgba(179, 38, 30, 0.35);
  color: #8c1d18;
}

/* ---------- Footer ---------- */

.site-footer {
  background: #241c17;
  color: #d9cbb8;
  padding: clamp(48px, 6vw, 72px) 0 26px;
  font-size: 0.9rem;
}

.site-footer h3,
.site-footer h4 { color: #fdf7eb; }

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 0.9fr)) minmax(0, 1.1fr);
  gap: clamp(24px, 3.6vw, 48px);
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(253, 247, 235, 0.14);
}

.footer-brand .brand { color: #fdf7eb; margin-bottom: 14px; }

.footer-brand .brand:hover { color: #fff; }

.footer-brand .brand__tag { color: #b8a894; }

.footer-brand .brand__mark {
  background: radial-gradient(circle at 32% 28%, #4a3b2f 0%, #33281f 100%);
  border-color: rgba(236, 201, 138, 0.35);
}

.footer-brand p {
  color: #b8a894;
  font-size: 0.88rem;
  max-width: 34ch;
  line-height: 1.65;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
}

.footer-col li { margin: 0; }

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #b8a894;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-col a {
  color: #d9cbb8;
  text-decoration: none;
  font-size: 0.88rem;
}

.footer-col a:hover { color: #fff; text-decoration: underline; }

.footer-col address {
  font-style: normal;
  color: #b8a894;
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.79rem;
  color: #a3927f;
}

.footer-bottom p { margin: 0; }

.footer-bottom a { color: #cbbca8; text-decoration: none; }
.footer-bottom a:hover { color: #fff; text-decoration: underline; }

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-legal-links li { margin: 0; }

.link-btn {
  background: none;
  border: 0;
  padding: 0;
  color: #cbbca8;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.link-btn:hover { color: #fff; }

.disclaimer {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(253, 247, 235, 0.1);
  font-size: 0.76rem;
  color: #9c8b78;
  line-height: 1.65;
  max-width: 92ch;
}

/* ---------- Cookie banner ---------- */

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translate(-50%, 130%);
  width: min(940px, calc(100% - 32px));
  background: #2a211b;
  color: #ece0cd;
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6);
  z-index: 200;
  transition: transform 0.38s cubic-bezier(0.22, 0.68, 0.3, 1), opacity 0.3s ease;
  opacity: 0;
  border: 1px solid rgba(253, 247, 235, 0.16);
  max-height: calc(100vh - 36px);
  overflow-y: auto;
}

.cookie-banner.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

.cookie-banner__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px 26px;
  align-items: center;
}

.cookie-banner h2 {
  font-size: 1rem;
  color: #fdf7eb;
  margin-bottom: 5px;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.6;
  color: #c3b4a0;
}

.cookie-banner a { color: #ecc98a; }

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: flex-end;
}

.cookie-actions .btn {
  padding: 10px 18px;
  font-size: 0.82rem;
}

.cookie-prefs {
  display: none;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(253, 247, 235, 0.14);
}

.cookie-prefs.is-open { display: block; }

.cookie-prefs__row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid rgba(253, 247, 235, 0.08);
}

.cookie-prefs__row:last-of-type { border-bottom: 0; }

.cookie-prefs__row strong {
  display: block;
  font-size: 0.85rem;
  color: #fdf7eb;
  margin-bottom: 2px;
}

.cookie-prefs__row span {
  font-size: 0.78rem;
  color: #b8a894;
  line-height: 1.5;
  display: block;
  max-width: 62ch;
}

.switch {
  position: relative;
  flex: 0 0 auto;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: rgba(253, 247, 235, 0.24);
  border: 0;
  cursor: pointer;
  margin-top: 2px;
  transition: background-color 0.18s ease;
}

.switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.18s ease;
}

.switch[aria-checked="true"] { background: var(--sage); }

.switch[aria-checked="true"]::after { transform: translateX(18px); }

.switch[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
}

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 24px);
  background: #241c17;
  color: #fdf7eb;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 550;
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.6);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  max-width: calc(100% - 40px);
  text-align: center;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- Back to top ---------- */

.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.22s ease;
  z-index: 90;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover { background: var(--cream-deep); }

.to-top svg { width: 18px; height: 18px; }

/* ---------- Reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 0.68, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- CTA band ---------- */

.cta-band {
  background:
    radial-gradient(700px 320px at 15% 0%, rgba(236, 201, 138, 0.22), transparent 70%),
    #2a211b;
  color: #f1e7d7;
  text-align: center;
  padding: clamp(48px, 6vw, 76px) 0;
}

.cta-band h2 { color: #fdf7eb; max-width: 22ch; margin: 0 auto 14px; }

.cta-band p {
  color: #cbbca8;
  max-width: 56ch;
  margin: 0 auto 26px;
  font-size: 1.02rem;
}

.cta-band .btn-row { justify-content: center; }

.cta-band .btn--ghost {
  border-color: rgba(253, 247, 235, 0.35);
  color: #fdf7eb;
}

.cta-band .btn--ghost:hover {
  background: rgba(253, 247, 235, 0.1);
  color: #fff;
}

/* ---------- Legal / policy pages ---------- */

.page-head {
  padding: clamp(40px, 5vw, 66px) 0 clamp(24px, 3vw, 36px);
  background:
    radial-gradient(700px 320px at 85% -20%, rgba(236, 201, 138, 0.4), transparent 70%),
    var(--cream);
  border-bottom: 1px solid var(--line-soft);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.breadcrumb li { margin: 0; }

.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--ink-muted);
  opacity: 0.6;
}

.breadcrumb a { color: var(--ink-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--berry); text-decoration: underline; }

.page-head h1 { margin-bottom: 12px; }

.page-head .updated {
  font-size: 0.82rem;
  color: var(--ink-muted);
  margin: 0;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: clamp(26px, 4vw, 56px);
  align-items: start;
  padding: clamp(36px, 5vw, 60px) 0 clamp(56px, 7vw, 88px);
}

.legal-nav {
  min-width: 0;
  position: sticky;
  top: calc(var(--header-h) + 20px);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--paper);
}

.legal-nav h2 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 12px;
}

.legal-nav ol {
  margin: 0;
  padding-left: 1.1em;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.legal-nav li { margin-bottom: 7px; }

.legal-nav a {
  color: var(--ink-soft);
  text-decoration: none;
}

.legal-nav a:hover { color: var(--berry); text-decoration: underline; }

.legal-body {
  max-width: 76ch;
  min-width: 0;
}

.legal-body h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.62rem);
  margin-top: 2.2em;
  padding-top: 0.2em;
  scroll-margin-top: 100px;
}

.legal-body h2:first-child { margin-top: 0; }

.legal-body h3 {
  font-size: 1.05rem;
  margin-top: 1.6em;
  scroll-margin-top: 100px;
}

.legal-body p,
.legal-body li {
  font-size: 0.97rem;
  color: var(--ink-soft);
  line-height: 1.75;
}

.legal-body ul, .legal-body ol { margin-bottom: 1.2em; }

.legal-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 24px;
  font-size: 0.87rem;
}

.legal-body th,
.legal-body td {
  text-align: left;
  padding: 11px 13px;
  border: 1px solid var(--line-soft);
  vertical-align: top;
  color: var(--ink-soft);
}

.legal-body th {
  background: var(--cream-deep);
  font-weight: 650;
  color: var(--ink);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.legal-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86em;
  background: rgba(36, 28, 23, 0.06);
  padding: 1px 5px;
  border-radius: 4px;
}

.legal-card {
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--honey);
  background: rgba(236, 201, 138, 0.13);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  margin: 22px 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.legal-card p:last-child { margin-bottom: 0; }

/* ---------- Print ---------- */

@media print {
  .site-header,
  .cookie-banner,
  .to-top,
  .toast,
  .site-footer,
  .legal-nav { display: none !important; }

  body { background: #fff; color: #000; font-size: 11pt; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; max-width: 520px; }
  .hero__figure img { aspect-ratio: 5 / 4; }
  .hero__chip { bottom: 14px; left: 8px; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .contact { grid-template-columns: 1fr; }
  .builder { grid-template-columns: 1fr; }
  .summary { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .strip__list { grid-template-columns: 1fr 1fr; }
  .legal-layout { grid-template-columns: minmax(0, 1fr); }
  .legal-nav { position: static; }
}

@media (max-width: 820px) {
  .nav-toggle { display: grid; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 14px 20px 22px;
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.22s ease;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }

  .nav.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .nav__link {
    padding: 13px 10px;
    border-radius: 10px;
    font-size: 1rem;
    border-bottom: 1px solid var(--line-soft);
  }

  .nav__link.is-active::after { display: none; }

  .nav__link.is-active { background: rgba(156, 47, 67, 0.07); }

  .header-actions .btn { display: none; }

  .cookie-banner__grid { grid-template-columns: 1fr; }

  .cookie-actions { justify-content: flex-start; }

  .cookie-actions .btn { flex: 1 1 auto; }

  .hero__badge { font-size: 0.74rem; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }

  .strip__list { grid-template-columns: 1fr; gap: 12px; }

  .footer-top { grid-template-columns: 1fr; }

  .field--row { grid-template-columns: 1fr; }

  .hero__meta { gap: 10px 18px; }

  .hero__chip { position: static; margin: 14px 0 0; max-width: none; }

  .summary__secondary { flex-direction: column; }

  .cookie-banner { bottom: 0; width: 100%; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }

  .to-top { right: 14px; bottom: 14px; }

  .article-body p { font-size: 1rem; }

  .pullquote { font-size: 1.06rem; padding: 18px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }

  .reveal { opacity: 1; transform: none; }
}

/* ---------- Utility modifiers used by the markup ---------- */

.article-body--flow {
  margin-top: clamp(30px, 4vw, 52px);
}

.lead-muted {
  color: var(--ink-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.note--spaced { margin-top: 30px; }
.field--spaced { margin-top: 22px; }
.btn-row--top { margin-top: 16px; }
.hint--tight { margin-bottom: 16px; }
.hint--top { margin-top: 10px; }

.label-note {
  font-weight: 500;
  color: var(--ink-muted);
}

.subhead {
  font-size: 1rem;
  margin-bottom: 10px;
}

/* ---------- Flavor swatches ---------- */

.flavor__dot.dot-1 { background: #e0902f; }
.flavor__dot.dot-2 { background: #5b1f38; }
.flavor__dot.dot-3 { background: #a8b56a; }
.flavor__dot.dot-4 { background: #c97f8a; }
.flavor__dot.dot-5 { background: #d9a33a; }
.flavor__dot.dot-6 { background: #4a3b3a; }
.flavor__dot.dot-7 { background: #c9cf7f; }
.flavor__dot.dot-8 { background: #8a5a3b; }

/* ---------- Filtering state ---------- */

.flavor.is-hidden { display: none; }

/* ---------- Small screen tweaks for new helpers ---------- */

@media (max-width: 620px) {
  .article-body--flow { margin-top: 26px; }
}

/* ---------- Anchor offset for the sticky header ---------- */

section[id],
[id="cookies"],
[id="contact-privacy"] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

/* ---------- Ghost buttons inside the dark cookie banner ---------- */

.cookie-banner .btn--ghost {
  border-color: rgba(253, 247, 235, 0.38);
  color: #f4ead9;
}

.cookie-banner .btn--ghost:hover {
  background: rgba(253, 247, 235, 0.12);
  color: #fff;
  border-color: rgba(253, 247, 235, 0.6);
}

/* ---------- Legal tables on small screens ---------- */

@media (max-width: 720px) {
  .legal-body table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .legal-body th,
  .legal-body td {
    min-width: 130px;
  }
}

/* ---------- Very small screens ---------- */

@media (max-width: 480px) {
  .wrap { padding: 0 16px; }

  .header-inner { gap: 10px; }

  .brand { min-width: 0; }

  .brand__text { min-width: 0; }

  .brand__mark { width: 38px; height: 38px; }

  .brand__mark svg { width: 22px; height: 22px; }

  .brand__name { font-size: 1.02rem; }

  .brand__tag { display: none; }

  .nav-toggle { width: 40px; height: 40px; }

  .hero__figure { border-width: 4px; }

  .cookie-banner { padding: 18px 16px; }

  .cookie-banner__grid { gap: 14px; }

  .footer-bottom { font-size: 0.76rem; }
}

@media (max-width: 380px) {
  .wrap { padding: 0 14px; }

  .brand__mark { width: 34px; height: 34px; }

  .brand__mark svg { width: 20px; height: 20px; }

  .brand__name { font-size: 0.94rem; letter-spacing: 0; }

  .header-inner { gap: 8px; }

  .hero__meta { font-size: 0.82rem; }

  .cookie-actions .btn { padding: 10px 12px; font-size: 0.78rem; }
}

/* ---------- Wide editorial figure ---------- */

.wide-figure {
  margin: 0 0 clamp(26px, 3.4vw, 38px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--cream-deep);
  box-shadow: var(--shadow-md);
}

.wide-figure img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

.wide-figure figcaption {
  background: var(--paper);
  padding: 11px 18px;
  margin: 0;
}

@media (max-width: 620px) {
  .wide-figure img { aspect-ratio: 4 / 3; }
}
