/* ==========================================================================
   Melipsa — site stylesheet
   Warm, cream-and-honey. Product-forward. Mobile-first.
   Palette taken from the Melipsa packaging artwork.
   ========================================================================== */

:root {
  --paper:        #FBF9F1;
  --paper-2:      #F5EFE0;
  --paper-3:      #EFE7D3;
  --ink:          #2E2A22;
  --ink-soft:     #5B5445;
  --ink-faint:    #736C5D;
  --honey:        #8A6519;   /* action + accents: AA on paper */
  --honey-dark:   #6E5013;
  --honey-bright: #C79A3E;   /* decorative / on dark only */
  --honey-tint:   #F7EDD6;
  --wax:          #DCAB44;
  --forest:       #24371A;
  --forest-2:     #2D4520;
  --sage:         #A9C089;
  --cream:        #F5EFDD;
  --cream-dim:    #D8CDB2;
  --line:         #E8DFC9;
  --radius:       14px;
  --radius-sm:    10px;
  --shadow:       0 2px 10px rgba(46, 42, 34, 0.07), 0 12px 32px rgba(46, 42, 34, 0.08);
  --shadow-soft:  0 1px 4px rgba(46, 42, 34, 0.06);
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body:    "Inter", -apple-system, "Segoe UI", sans-serif;
  --container:    1120px;
  --pad-x:        clamp(1.1rem, 4vw, 2rem);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--honey); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--honey-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.18;
  color: var(--ink);
  margin: 0 0 0.6em;
  letter-spacing: -0.005em;
}
h1 { font-size: clamp(2rem, 5.3vw, 3rem); }
h2 { font-size: clamp(1.55rem, 4vw, 2.2rem); }
h3 { font-size: clamp(1.12rem, 2.5vw, 1.32rem); }

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

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.section { padding-block: clamp(3rem, 8vw, 5.5rem); }
.section--tint { background: var(--paper-2); }
.section--tight { padding-block: clamp(2.2rem, 6vw, 4rem); }

.kicker {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--honey);
  margin-bottom: 0.9rem;
}

.lede { font-size: 1.08rem; color: var(--ink-soft); max-width: 62ch; }

.center { text-align: center; }
.center .lede { margin-inline: auto; }

/* Editorial flourish — the hex rule used on pack and in the A+ imagery */
.hex-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin: 1.6rem auto 0;
  max-width: 260px;
  color: var(--honey-bright);
}
.hex-rule::before, .hex-rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.hex-rule svg { width: 42px; height: 16px; flex: none; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
  cursor: pointer;
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--honey); color: #fff; }
.btn--primary:hover { background: var(--honey-dark); color: #fff; }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }

.btn--light { background: var(--paper); color: var(--forest); }
.btn--light:hover { background: var(--cream); color: var(--forest); }

.btn--ghost-light { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.85); }
.btn--ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn--sm { padding: 0.55rem 1.15rem; font-size: 0.88rem; }

.btn-note {
  display: block;
  font-size: 0.82rem;
  color: var(--ink-faint);
  margin-top: 0.6rem;
}

/* --------------------------------------------------------------------------
   Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 249, 241, 0.93);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 66px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.22em;
  color: var(--ink);
  text-decoration: none;
}
.brand svg { width: 28px; height: 28px; flex: none; }
.brand:hover { color: var(--honey-dark); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a:not(.btn) {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}
.nav-links a:not(.btn):hover { color: var(--ink); }
.nav-links a[aria-current="page"]:not(.btn) { color: var(--ink); font-weight: 600; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.4rem;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 0.5rem 0 1rem;
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links li { padding: 0; }
  .nav-links a:not(.btn) {
    display: block;
    padding: 0.8rem var(--pad-x);
    font-size: 1.02rem;
  }
  .nav-links .nav-cta { padding: 0.6rem var(--pad-x) 0; }
  .nav-links .nav-cta .btn { width: 100%; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* --------------------------------------------------------------------------
   Split hero (copy left on cream, photograph bleeding off the right edge)
   -------------------------------------------------------------------------- */
.hero-split { background: var(--paper-2); display: grid; }
.hero-split__media { order: -1; }
.hero-split__media img { width: 100%; height: 100%; object-fit: cover; object-position: 34% center; aspect-ratio: 4 / 3; }
.hero-split__body {
  display: flex;
  align-items: center;
  padding: clamp(2rem, 6vw, 3.4rem) var(--pad-x);
}
.hero-split__copy { width: 100%; }
.hero-split h1 { margin-bottom: 0.45em; }
.hero-split .lede { margin-bottom: 1.5rem; }

@media (min-width: 900px) {
  .hero-split { grid-template-columns: 1fr 1fr; min-height: clamp(540px, 74vh, 700px); }
  .hero-split__media { order: 0; }
  .hero-split__media img { height: 100%; aspect-ratio: auto; }
  .hero-split__body { justify-content: flex-end; }
  .hero-split__copy { max-width: calc(var(--container) / 2 - var(--pad-x)); }
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  margin-top: 1.6rem;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.trust-strip li { display: inline-flex; align-items: center; gap: 0.45rem; }
.trust-strip svg { width: 15px; height: 15px; color: var(--honey); flex: none; }

/* --------------------------------------------------------------------------
   Full-bleed banners
   Light variant: marble photography, ink copy, soft white scrim.
   -------------------------------------------------------------------------- */
.hero-bleed {
  position: relative;
  width: 100%;
  min-height: clamp(420px, 56vh, 560px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--paper-2);
}
.hero-bleed__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-bleed__bg--top { object-position: center 20%; }
.hero-bleed__scrim { position: absolute; inset: 0; }
.hero-bleed__content { position: relative; width: 100%; padding-block: clamp(2.2rem, 7vw, 3.4rem); }
.hero-bleed__inner { max-width: 560px; }

/* light (marble) — the copy side resolves into a near-solid cream panel */
.hero-bleed--light .hero-bleed__scrim {
  background:
    linear-gradient(to left,
      rgba(252, 251, 246, 0.97) 0%,
      rgba(252, 251, 246, 0.955) 44%,
      rgba(252, 251, 246, 0.62) 55%,
      rgba(252, 251, 246, 0.08) 74%,
      rgba(252, 251, 246, 0) 100%);
}
.hero-bleed--light .hero-bleed__inner { margin-left: auto; }
.hero-bleed--light h1,
.hero-bleed--light h2 { color: var(--ink); }
.hero-bleed--light .lede { color: var(--ink-soft); }

/* product banner keeps room for the overlapping card row beneath it */
.hero-bleed--product { padding-bottom: clamp(4rem, 10vw, 6.5rem); }

@media (max-width: 899px) {
  .hero-bleed { min-height: 0; display: block; }
  .hero-bleed__bg { position: static; height: auto; aspect-ratio: 4 / 3; }
  .hero-bleed__scrim { display: none; }
  .hero-bleed__content { padding-block: clamp(1.8rem, 7vw, 2.6rem); }
  .hero-bleed__inner { max-width: none; margin-left: 0; }
  .hero-bleed--product { padding-bottom: clamp(4rem, 12vw, 5.5rem); }
}

.overlap-up {
  position: relative;
  z-index: 2;
  margin-top: calc(-1 * clamp(3.4rem, 9vw, 5.5rem));
}

/* Simple tinted page header for the guides and inner pages */
.page-banner {
  background: linear-gradient(160deg, var(--paper-2) 0%, var(--honey-tint) 100%);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(2.2rem, 6vw, 3.6rem);
  position: relative;
  overflow: hidden;
}
/* .page-banner__inner is itself the .container, so keep the container width and
   constrain the children — that lines the banner up with the article column. */
.page-banner__inner { position: relative; }
.page-banner__inner > * { max-width: 760px; }
.page-banner .lede { margin-bottom: 0; }
.page-banner__comb {
  position: absolute;
  top: -30px;
  right: -40px;
  width: 340px;
  opacity: 0.16;
  color: var(--honey-bright);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Cards / grids
   -------------------------------------------------------------------------- */
.grid-3 { display: grid; gap: 1.4rem; }
@media (min-width: 680px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.grid-4 { display: grid; gap: 1.2rem; }
@media (min-width: 620px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 940px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.grid-2 { display: grid; gap: clamp(1.4rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 880px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}
.card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper); }
.card__media--square { aspect-ratio: 1 / 1; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.card:hover .card__media img { transform: scale(1.03); }
.card__body { padding: 1.15rem 1.25rem 1.35rem; }
.card__body h3 { margin-bottom: 0.35em; }
.card__body p { color: var(--ink-soft); font-size: 0.95rem; }

a.card { text-decoration: none; color: inherit; transition: box-shadow 0.2s ease, transform 0.2s ease; }
a.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
a.card .card__more { color: var(--honey); font-weight: 600; font-size: 0.9rem; }

/* --------------------------------------------------------------------------
   Product feature / specs
   -------------------------------------------------------------------------- */
.media-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.media-frame--plain { box-shadow: var(--shadow-soft); border: 1px solid var(--line); }

.spec-list { list-style: none; margin: 1.4rem 0; padding: 0; display: grid; gap: 0.7rem; }
.spec-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.97rem;
  color: var(--ink-soft);
}
.spec-list svg { width: 17px; height: 17px; color: var(--honey); flex: none; margin-top: 5px; }
.spec-list strong { color: var(--ink); font-weight: 600; }

.spec-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; margin: 1rem 0 0.4rem; }
.spec-table th, .spec-table td {
  text-align: left;
  padding: 0.62rem 0.4rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.spec-table th { color: var(--ink); font-weight: 600; white-space: nowrap; padding-right: 1.2rem; }
.spec-table td { color: var(--ink-soft); }
.spec-note { font-size: 0.82rem; color: var(--ink-faint); }

/* Comparison table (wax vs plastic vs paper vs bin) */
.compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare-hint { display: none; font-size: 0.82rem; color: var(--ink-faint); margin: 0 0 0.6rem; }
@media (max-width: 700px) { .compare-hint { display: block; } }
.compare {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 0.93rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.compare th, .compare td { padding: 0.75rem 0.85rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare thead th { background: var(--paper-2); font-family: var(--font-body); font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); font-weight: 600; }
.compare tbody th { font-weight: 600; color: var(--ink); white-space: nowrap; }
.compare td { color: var(--ink-soft); }
.compare .col-us { background: var(--honey-tint); }
.compare thead .col-us { background: #F0E1BE; color: var(--honey-dark); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; counter-reset: step; }
@media (min-width: 680px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li {
  counter-increment: step;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.2rem 1.3rem;
  box-shadow: var(--shadow-soft);
}
.steps li::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--honey-tint);
  color: var(--honey-dark);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.7rem;
}
.steps h3 { font-size: 1.06rem; margin-bottom: 0.3em; }
.steps p { color: var(--ink-soft); font-size: 0.93rem; margin: 0; }

/* Three-way "the problem" panel */
.trio { display: grid; gap: 1.2rem; }
@media (min-width: 720px) { .trio { grid-template-columns: repeat(3, 1fr); } }
.trio__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.3rem 1.3rem 1.4rem;
  box-shadow: var(--shadow-soft);
}
.trio__item--hero { background: var(--honey-tint); border-color: #E7D6AD; }
.trio__item h3 { font-size: 1.08rem; margin-bottom: 0.4em; }
.trio__item p { color: var(--ink-soft); font-size: 0.94rem; margin: 0; }
.trio__icon { width: 34px; height: 34px; color: var(--honey); margin-bottom: 0.7rem; }

/* --------------------------------------------------------------------------
   Founder
   -------------------------------------------------------------------------- */
.founder-quote {
  border-left: 3px solid var(--honey-bright);
  padding-left: 1.1rem;
  font-family: var(--font-display);
  font-size: 1.14rem;
  font-style: italic;
  color: var(--ink);
  margin: 1.4rem 0;
}
.founder-sig { font-size: 0.9rem; color: var(--ink-faint); }

/* --------------------------------------------------------------------------
   Hive band (deep green, honeycomb — the brand-story block)
   -------------------------------------------------------------------------- */
.hive-band {
  background: var(--forest);
  color: var(--cream);
  padding-block: clamp(3rem, 8vw, 5rem);
  position: relative;
  overflow: hidden;
}
.hive-band h2 { color: #fff; }
.hive-band .kicker { color: var(--honey-bright); }
.hive-band p { color: var(--cream-dim); max-width: 62ch; }
.hive-band a { color: var(--honey-bright); }
.hive-band a:hover { color: #fff; }
.hive-band__grid { display: grid; gap: 2rem; align-items: center; position: relative; }
@media (min-width: 880px) { .hive-band__grid { grid-template-columns: auto 1fr; column-gap: 4rem; } }
.hive-band__mark { text-align: center; }
.hive-band__mark svg { width: 92px; height: 92px; margin-inline: auto; }
.hive-band .greek {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  color: var(--honey-bright);
  margin-top: 0.7rem;
}
.hive-band .greek-gloss {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.hive-band__comb { position: absolute; inset: 0; pointer-events: none; opacity: 0.1; color: var(--honey-bright); }
.hive-band blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-style: italic;
  color: #fff;
  margin: 0 0 1rem;
}

/* --------------------------------------------------------------------------
   Recipe cards (the booklet page)
   -------------------------------------------------------------------------- */
.recipe {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: clamp(1.3rem, 3vw, 2rem);
  margin-bottom: 1.6rem;
}
.recipe__meta {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--honey);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.recipe h3 { font-size: clamp(1.3rem, 3vw, 1.6rem); margin-bottom: 0.25em; }
.recipe__intro { font-style: italic; color: var(--ink-soft); margin-bottom: 1.2rem; }
.recipe__cols { display: grid; gap: 1.4rem; }
@media (min-width: 720px) { .recipe__cols { grid-template-columns: 0.85fr 1.15fr; gap: 2.2rem; } }
.recipe h4 {
  font-family: var(--font-body);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--forest-2);
  margin-bottom: 0.6rem;
}
.recipe ul, .recipe ol { margin: 0; padding-left: 1.15rem; color: var(--ink-soft); font-size: 0.95rem; }
.recipe li { margin-bottom: 0.4em; }
.recipe__tip {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.recipe__tip strong {
  display: block;
  font-family: var(--font-body);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--honey);
  margin-bottom: 0.3rem;
}

.chip-list { list-style: none; margin: 1.2rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip-list li {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 0.86rem;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq { max-width: 780px; margin-inline: auto; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 0.8rem;
  box-shadow: var(--shadow-soft);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  font-weight: 600;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--honey);
  flex: none;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 1.2rem 1.1rem; color: var(--ink-soft); font-size: 0.96rem; }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  background: var(--paper-3);
  border-block: 1px solid var(--line);
  text-align: center;
  padding-block: clamp(2.8rem, 7vw, 4.5rem);
}
.cta-band h2 { margin-bottom: 0.4em; }
.cta-band p { color: var(--ink-soft); max-width: 54ch; margin-inline: auto; }
.cta-band .btn { margin-top: 1.2rem; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--forest);
  color: var(--cream-dim);
  padding-block: clamp(2.5rem, 6vw, 4rem) 1.5rem;
  font-size: 0.9rem;
}
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid {
  display: grid;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(245, 239, 221, 0.15);
}
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; } }
.footer-brand .brand { color: var(--cream); font-size: 1.1rem; margin-bottom: 0.9rem; }
.footer-brand p { max-width: 42ch; }
.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--honey-bright);
  margin-top: 0.6rem;
}
.footer-col h4 {
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.footer-legal {
  padding-top: 1.4rem;
  font-size: 0.78rem;
  color: rgba(216, 205, 178, 0.78);
  line-height: 1.6;
}
.footer-legal p { margin-bottom: 0.6em; }

/* --------------------------------------------------------------------------
   Inner pages (articles)
   -------------------------------------------------------------------------- */
.breadcrumb { font-size: 0.85rem; color: var(--ink-faint); margin-bottom: 1.1rem; }
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--honey); text-decoration: underline; }
.breadcrumb .sep { margin-inline: 0.45rem; }

/* The article column keeps the container's left edge (so it lines up with the
   page banner above it) and constrains the measure on the children instead. */
.article-body { padding-block: clamp(1.8rem, 4vw, 2.6rem) clamp(3rem, 7vw, 4.5rem); }
.article-body > * { max-width: 720px; }
.article-body > .table-wrap,
.article-body > figure { max-width: 860px; }
.article-body h2 { margin-top: 1.9em; font-size: clamp(1.32rem, 3vw, 1.68rem); }
.article-body h3 { margin-top: 1.6em; }
.article-body ul, .article-body ol { color: var(--ink); padding-left: 1.3rem; }
.article-body li { margin-bottom: 0.45em; }
.article-body blockquote {
  border-left: 3px solid var(--honey-bright);
  margin: 1.4em 0;
  padding: 0.2em 0 0.2em 1.1em;
  color: var(--ink-soft);
  font-style: italic;
}
.article-body table { width: 100%; border-collapse: collapse; font-size: 0.93rem; margin: 1.2em 0; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 0.55rem 0.7rem; text-align: left; vertical-align: top; }
.article-body th { background: var(--paper-2); }
.article-body img { border-radius: var(--radius-sm); }
.article-body .table-wrap { overflow-x: auto; }
.article-body figure { margin: 1.8em 0; }
.article-body figcaption { font-size: 0.85rem; color: var(--ink-faint); margin-top: 0.6rem; }

.article-callout {
  background: var(--honey-tint);
  border: 1px solid #E7D6AD;
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.3rem;
  margin: 1.6em 0;
}
.article-callout p { color: var(--ink); font-size: 0.96rem; }
.article-callout h3 { margin-top: 0; font-size: 1.1rem; }

.article-nav { display: flex; flex-wrap: wrap; gap: 0.6rem; padding-block: 0 clamp(2.5rem, 6vw, 4rem); }
.article-nav a {
  font-size: 0.88rem;
  text-decoration: none;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 0.45rem 1rem;
}
.article-nav a:hover { border-color: var(--honey); color: var(--honey-dark); }
.article-nav a[aria-current="page"] { background: var(--honey-tint); border-color: #E7D6AD; color: var(--honey-dark); font-weight: 600; }

.topic-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: clamp(2rem, 5vw, 3rem);
}
.topic-nav a { font-size: 0.92rem; font-weight: 600; text-decoration: none; color: var(--honey); }
.topic-nav a:hover { text-decoration: underline; }
.topic-nav__prev::before { content: "← "; }
.topic-nav__next::after { content: " →"; }

/* --------------------------------------------------------------------------
   Utility
   -------------------------------------------------------------------------- */
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 0.6rem 1rem; z-index: 100; }
.skip-link:focus { left: 0; }

.badge {
  display: inline-block;
  background: var(--honey-tint);
  color: var(--honey-dark);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  margin-bottom: 1rem;
}

/* Placeholder marker — anything still wrapped in this must be filled in
   before the site goes live. Deliberately loud. */
.todo {
  background: #FFEE8C;
  color: #4A3B00;
  border-bottom: 2px solid #C9A400;
  padding: 0 0.25em;
  font-weight: 600;
}

:where(a, button, summary, input):focus-visible {
  outline: 2px solid var(--honey);
  outline-offset: 2px;
  border-radius: 4px;
}

.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .card:hover .card__media img { transform: none; }
}
