/* Combat Cass Nutrition — single stylesheet.
   Palette sampled directly from the logo file. 60 warm white / 30 greens / 10 gold.
   Type: Montserrat, 400 + 500 only, 4 sizes. Spacing: 8pt grid. */

:root {
  /* brand */
  --forest: #26503a;
  --forest-deep: #1c3b2b;
  --sage: #92a191;
  --sage-soft: #b9c4b6;
  --cream: #f4e8df;
  --cream-lift: #fbf6f1;
  --gold: #b17b2a;        /* accents on light backgrounds */
  --gold-light: #e0b45c;  /* text/accents on forest, meets AA */

  /* text. opacities are set at the lowest value that still clears WCAG AA
     (4.5:1) on the surface each one sits on, so do not lighten them. */
  --ink: #1f3529;
  --ink-soft: rgba(31, 53, 41, 0.8);
  --ink-faint: rgba(31, 53, 41, 0.72);
  --on-dark: #f4e8df;
  --on-dark-soft: rgba(244, 232, 223, 0.78);

  /* lines + shadow, tinted to the background */
  --line: rgba(38, 80, 58, 0.14);
  --line-strong: rgba(38, 80, 58, 0.28);
  --shadow-sm: 0 2px 8px rgba(38, 80, 58, 0.06);
  --shadow: 0 12px 32px rgba(38, 80, 58, 0.08);
  --shadow-lg: 0 24px 60px rgba(38, 80, 58, 0.12);

  /* 8pt spacing */
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px;
  --s5: 48px; --s6: 64px; --s7: 80px; --s8: 96px;

  /* 4 type sizes */
  --fs-display: clamp(2.125rem, 6.2vw, 3.5rem);
  --fs-h2: clamp(1.5rem, 3.6vw, 2.25rem);
  --fs-body: 1.0625rem;
  --fs-sm: 0.8125rem;

  --radius: 20px;
  --radius-sm: 12px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --maxw: 1120px;
}

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

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

body {
  margin: 0;
  font-family: Montserrat, "Segoe UI", system-ui, sans-serif;
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 var(--s2);
  color: var(--forest-deep);
}
h1 { font-size: var(--fs-display); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-body); letter-spacing: 0; line-height: 1.4; }
p { margin: 0 0 var(--s2); }
p:last-child { margin-bottom: 0; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 500; }

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--s3);
}
.container--narrow { max-width: 760px; }

section { padding-block: clamp(56px, 9vw, 104px); }
[id] { scroll-margin-top: 96px; } /* sticky header clearance for #faq, #resources, #policies */
.section--tight { padding-block: clamp(40px, 6vw, 72px); }

.measure { max-width: 62ch; }
.center { text-align: center; }
.center .measure { margin-inline: auto; }

.skip-link {
  position: absolute; left: var(--s2); top: -100px;
  background: var(--forest); color: var(--on-dark);
  padding: 12px 20px; border-radius: var(--radius-sm); z-index: 200;
}
.skip-link:focus { top: var(--s2); }

/* ---------- shared bits ---------- */

.eyebrow {
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 var(--s2);
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--gold);
  flex: none;
}
.center .eyebrow { justify-content: center; }
.on-dark .eyebrow { color: var(--gold-light); }
.on-dark .eyebrow::before { background: var(--gold-light); }

.lede { font-size: 1.0625rem; color: var(--ink-soft); }
.small { font-size: var(--fs-sm); color: var(--ink-faint); line-height: 1.6; }

.on-dark { background: var(--forest); color: var(--on-dark); }
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--on-dark); }
.on-dark .lede, .on-dark p { color: var(--on-dark-soft); }
.on-dark .small { color: rgba(244, 232, 223, 0.72); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease),
              box-shadow 0.18s var(--ease), border-color 0.18s var(--ease);
}
.btn svg { flex: none; }
.btn:active { transform: scale(0.98); }

.btn--primary {
  background: var(--forest);
  color: var(--on-dark);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.btn--primary:hover { background: var(--forest-deep); box-shadow: var(--shadow-lg); }
.btn--primary .btn__arrow { color: var(--gold-light); }

.btn--ghost {
  background: transparent;
  color: var(--forest-deep);
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--gold); background: rgba(177, 123, 42, 0.06); }

.on-dark .btn--ghost { color: var(--on-dark); border-color: rgba(244, 232, 223, 0.35); }
.on-dark .btn--ghost:hover { border-color: var(--gold-light); background: rgba(224, 180, 92, 0.1); }
.on-dark .btn--primary {
  background: var(--cream);
  color: var(--forest-deep);
  box-shadow: var(--shadow-lg);
}
.on-dark .btn--primary:hover { background: #fff; }
.on-dark .btn--primary .btn__arrow { color: var(--gold); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  margin-top: var(--s4);
}
.center .btn-row { justify-content: center; }

.card {
  background: var(--cream-lift);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s4);
  box-shadow: var(--shadow-sm);
}

.grid { display: grid; gap: var(--s3); }
@media (min-width: 720px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(177, 123, 42, 0.12);
  color: #7d561c;
  white-space: nowrap;
}
.tag--free { background: rgba(38, 80, 58, 0.1); color: var(--forest); }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 232, 223, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-stuck { border-color: var(--line); box-shadow: var(--shadow-sm); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2);
  min-height: 72px;
  padding-block: 10px;
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img {
  width: 48px; height: 48px;
  border-radius: 50%;
  /* logo art sits on its own cream field; the ring keeps it from floating */
  box-shadow: 0 0 0 1px var(--line);
}
.brand__name {
  display: none;
  font-weight: 500;
  font-size: 0.9375rem;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--forest-deep);
}
.brand__name span { display: block; font-size: var(--fs-sm); color: var(--gold); letter-spacing: 0.14em; }
@media (min-width: 420px) { .brand__name { display: block; } }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 14px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font: inherit;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--forest-deep);
  cursor: pointer;
}
.nav-toggle__bars { display: grid; gap: 4px; width: 16px; }
.nav-toggle__bars span { height: 1.5px; background: currentColor; border-radius: 2px; transition: transform 0.2s var(--ease), opacity 0.2s var(--ease); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.nav { display: none; }
.nav ul { display: flex; align-items: center; gap: 4px; }
.nav a {
  display: block;
  padding: 10px 14px;
  font-size: 0.9375rem;
  text-decoration: none;
  color: var(--ink-soft);
  border-radius: 999px;
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease);
}
.nav a:hover { color: var(--forest-deep); background: rgba(38, 80, 58, 0.06); }
.nav a[aria-current="page"] { color: var(--forest-deep); font-weight: 500; }
.nav a[aria-current="page"]::after {
  content: "";
  display: block;
  height: 2px;
  margin: 4px auto 0;
  width: 18px;
  background: var(--gold);
  border-radius: 2px;
}
.header-cta, .header-social { display: none; }

@media (min-width: 940px) {
  .nav { display: block; }
  .nav-toggle { display: none; }
  .header-cta { display: inline-flex; min-height: 44px; padding: 10px 22px; }
  .header-social {
    display: grid;
    place-items: center;
    width: 44px; height: 44px;
    flex: none;
    margin-left: -4px;
    border-radius: 50%;
    color: var(--forest-deep);
    transition: background-color 0.18s var(--ease), color 0.18s var(--ease);
  }
  .header-social:hover { background: rgba(38, 80, 58, 0.07); color: var(--gold); }
}

.mobile-nav {
  display: none;
  padding: var(--s1) var(--s3) var(--s4);
  border-top: 1px solid var(--line);
  background: var(--cream);
}
.mobile-nav.is-open { display: block; }
.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 12px 4px;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.mobile-nav a[aria-current="page"] { color: var(--forest-deep); font-weight: 500; }
.mobile-nav a[aria-current="page"]::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
/* .mobile-nav a rules would otherwise win over .btn on the drawer CTA */
.mobile-nav .btn {
  width: 100%;
  margin-top: var(--s3);
  justify-content: center;
  border-bottom: 0;
  color: var(--on-dark);
}
.mobile-nav__social { display: flex; flex-wrap: wrap; gap: var(--s1); margin-top: var(--s2); }
.mobile-nav__social a {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}
@media (min-width: 940px) { .mobile-nav { display: none !important; } }

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(48px, 9vw, 96px) clamp(56px, 10vw, 112px);
}
.hero__grid { display: grid; gap: var(--s5); align-items: center; }
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.15fr 0.85fr; gap: var(--s6); }
}
.hero h1 { margin-bottom: var(--s3); }
.hero .lede { font-size: 1.125rem; max-width: 52ch; }

.tagline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--s3);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--forest);
}
.tagline::before, .tagline::after {
  content: "";
  width: 20px; height: 1px;
  background: var(--gold);
}
.on-dark .tagline { color: var(--gold-light); }
.on-dark .tagline::before, .on-dark .tagline::after { background: var(--gold-light); }

.credential {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: var(--s4);
  padding: 10px 18px 10px 12px;
  background: var(--cream-lift);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--forest-deep);
  box-shadow: var(--shadow-sm);
}
.credential svg { color: var(--gold); flex: none; }
.on-dark .credential {
  background: rgba(244, 232, 223, 0.08);
  border-color: rgba(244, 232, 223, 0.28);
  color: var(--on-dark);
  box-shadow: none;
}
.on-dark .credential svg { color: var(--gold-light); }

.hero__mark {
  position: relative;
  justify-self: center;
  width: min(340px, 78vw);
  aspect-ratio: 1;
}
.hero__mark img {
  width: 100%;
  border-radius: 50%;
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--line);
}
/* phones: small logo sitting above the headline instead of a full-width mark */
@media (max-width: 899px) {
  .hero__grid { gap: var(--s4); }
  .hero__mark--logo {
    order: -1;
    justify-self: center;
    width: 124px;
  }
}
.hero__glow {
  position: absolute;
  inset: -12%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(146, 161, 145, 0.35), transparent 62%);
  filter: blur(24px);
  z-index: -1;
}

/* drifting leaves. ponytail: 5 static SVGs animated by GSAP, no particle lib.
   Owner is adding a full falling-leaf background later; delete .leaf blocks then. */
.leaf {
  position: absolute;
  color: var(--sage);
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}
.hero > .container { position: relative; z-index: 1; }

/* ---------- audience chips ---------- */

.chips { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s3); }
.chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px 12px 14px;
  background: var(--cream-lift);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--forest-deep);
}
.chip svg { color: var(--sage); flex: none; }

/* ---------- offer lists ---------- */

/* one masked pseudo-element instead of an inline SVG on every bullet */
.list-item {
  display: flex;
  gap: 12px;
  padding-block: 10px;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
}
.list-item:last-child { border-bottom: 0; padding-bottom: 0; }
.list-item::before {
  content: "";
  flex: none;
  width: 18px; height: 18px;
  margin-top: 5px;
  -webkit-mask: var(--icon) center / 18px 18px no-repeat;
  mask: var(--icon) center / 18px 18px no-repeat;
}
.list-item--yes::before {
  background-color: var(--forest);
  --icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6L9 17l-5-5"/></svg>');
}
.list-item--no { color: var(--ink-soft); }
.list-item--no::before {
  background-color: var(--ink-faint);
  --icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2.5" stroke-linecap="round"><path d="M5 12h14"/></svg>');
}
.card--no { background: transparent; }

/* ---------- photo placeholder (About) ---------- */

.photo-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream-lift);
  border: 1px dashed var(--line-strong);
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  text-align: center;
  padding: var(--s3);
  color: var(--ink-faint);
  font-size: var(--fs-sm);
  line-height: 1.6;
}
.photo-frame svg { color: var(--sage); margin: 0 auto var(--s1); }

/* ---------- program tabs ---------- */

.tabs { margin-top: var(--s4); }
.tablist {
  position: relative;
  display: flex;
  max-width: 760px;
  margin-inline: auto;
  gap: 4px;
  padding: 6px;
  background: rgba(38, 80, 58, 0.07);
  border-radius: 999px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.tablist::-webkit-scrollbar { display: none; }
.tab {
  position: relative;
  z-index: 1;
  flex: 1 0 auto;
  min-height: 48px;
  padding: 12px 20px;
  background: transparent;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--ink-soft);
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
  transition: color 0.25s var(--ease);
}
.tab[aria-selected="true"] { color: var(--on-dark); font-weight: 500; }
.tab__price { display: block; font-size: var(--fs-sm); opacity: 0.75; font-weight: 400; }
/* JS sets x, y, width and height from the active tab, so this works for both
   the desktop row and the 2x2 phone grid below */
.tab-indicator {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--forest);
  border-radius: 999px;
  box-shadow: var(--shadow);
  z-index: 0;
  pointer-events: none;
}

/* phones: all four tiers visible at once, two per row */
@media (max-width: 639px) {
  .tablist {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 1fr;
    overflow: visible;
    border-radius: 28px;
  }
  .tab {
    /* fixed height + centred content keeps all four cells identical whether
       the label wraps to one line or two */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    font-size: 0.875rem;
    padding: 8px;
    white-space: normal;
    line-height: 1.3;
  }
}

.tabpanels { position: relative; margin-top: var(--s3); }
.tabpanel { display: none; }
.tabpanel.is-active { display: block; }

.plan {
  display: grid;
  gap: var(--s4);
  padding: var(--s4);
  background: var(--cream-lift);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
@media (min-width: 860px) {
  .plan { grid-template-columns: 320px 1fr; gap: var(--s6); padding: var(--s5); }
}
.plan__price {
  font-size: var(--fs-h2);
  font-weight: 500;
  color: var(--forest-deep);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  margin-bottom: var(--s1);
}
.plan__price small { font-size: var(--fs-sm); font-weight: 400; color: var(--ink-faint); }
.plan__best {
  margin-top: var(--s3);
  padding: var(--s2) var(--s3);
  background: rgba(146, 161, 145, 0.16);
  border-left: 2px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: var(--fs-sm);
  line-height: 1.6;
}
.plan__features { columns: 1; }
@media (min-width: 1000px) { .plan__features { columns: 2; column-gap: var(--s5); } }
.plan__features--short { columns: 1 !important; } /* 4 bullets read worse split in two */
.plan__features .list-item { break-inside: avoid; }

/* ---------- marquee (exclusive guides) ---------- */

.marquee {
  position: relative;
  overflow: hidden;
  padding-block: var(--s1);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee__track {
  display: flex;
  gap: var(--s2);
  width: max-content;
  animation: marquee-scroll 52s linear infinite;
}
.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track { animation-play-state: paused; }
.marquee + .marquee .marquee__track { animation-direction: reverse; animation-duration: 44s; }
@keyframes marquee-scroll {
  to { transform: translateX(-50%); }
}
.guide-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: var(--cream-lift);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.9375rem;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}
.guide-pill::before {
  content: "";
  flex: none;
  width: 16px; height: 16px;
  background-color: var(--gold);
  -webkit-mask: var(--icon-lock) center / 16px 16px no-repeat;
  mask: var(--icon-lock) center / 16px 16px no-repeat;
  --icon-lock: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.8"><rect x="5" y="11" width="14" height="9" rx="2"/><path d="M8 11V8a4 4 0 018 0v3"/></svg>');
}
.on-dark .guide-pill {
  background: rgba(244, 232, 223, 0.07);
  border-color: rgba(244, 232, 223, 0.18);
  color: var(--on-dark);
  box-shadow: none;
}
.on-dark .guide-pill::before { background-color: var(--gold-light); }

@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; }
  .marquee__track { animation: none; }
}

/* ---------- download cards ---------- */

.download {
  display: flex;
  align-items: center;
  gap: var(--s2);
  padding: var(--s3);
  background: var(--cream-lift);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.download:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--gold); }
.download__icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  flex: none;
  border-radius: 12px;
  background: rgba(177, 123, 42, 0.12);
  color: var(--gold);
}
.download__body { flex: 1; }
.download__body strong { display: block; font-weight: 500; color: var(--forest-deep); }

/* ---------- steps ---------- */

.step { position: relative; padding-left: 56px; }
.step__num {
  position: absolute;
  left: 0; top: 0;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(38, 80, 58, 0.08);
  color: var(--forest);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.on-dark .step__num { background: rgba(224, 180, 92, 0.16); color: var(--gold-light); }

/* ---------- FAQ + policies (native details) ---------- */

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2);
  min-height: 60px;
  padding: 18px 4px;
  font-weight: 500;
  color: var(--forest-deep);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 11px; height: 11px;
  border-right: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details[open] summary { color: var(--forest); }
.faq p { padding: 0 4px 20px; color: var(--ink-soft); max-width: 70ch; }
.faq p + p { padding-top: 0; }

.draft-note {
  display: flex;
  gap: 10px;
  padding: var(--s2) var(--s3);
  margin-bottom: var(--s3);
  background: rgba(177, 123, 42, 0.09);
  border: 1px dashed rgba(177, 123, 42, 0.5);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: #7d561c;
}
.draft-note svg { flex: none; margin-top: 3px; }

/* ---------- next-page pager ---------- */

.pager {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s2);
  text-align: center;
  padding: var(--s5) var(--s3);
  margin-top: var(--s5);
  background: var(--cream-lift);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.pager .small { margin: 0; }

/* ---------- elsewhere links ---------- */

.link-row { display: grid; gap: var(--s2); }
@media (min-width: 720px) { .link-row { grid-template-columns: repeat(3, 1fr); } }
.link-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px var(--s3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream-lift);
  text-decoration: none;
  font-weight: 500;
  color: var(--forest-deep);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease);
}
.link-card:hover { transform: translateY(-2px); border-color: var(--gold); }
.link-card svg { color: var(--gold); flex: none; }
.link-card span { flex: 1; }
.link-card small { display: block; font-weight: 400; font-size: var(--fs-sm); color: var(--ink-faint); }

/* ---------- footer ---------- */

.site-footer {
  background: var(--forest-deep);
  color: var(--on-dark-soft);
  padding-block: var(--s6) var(--s4);
}
.footer-grid { display: grid; gap: var(--s5); }
@media (min-width: 780px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h3 {
  font-size: var(--fs-sm);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: var(--s2);
}
.site-footer a { color: var(--on-dark-soft); text-decoration: none; }
.site-footer a:hover { color: var(--on-dark); text-decoration: underline; text-underline-offset: 4px; }
.site-footer li { padding-block: 7px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: var(--s2); }
.footer-brand img { width: 56px; height: 56px; border-radius: 50%; }
.footer-brand strong { display: block; font-weight: 500; color: var(--on-dark); }
.footer-brand span { font-size: var(--fs-sm); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-light); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2) var(--s4);
  justify-content: space-between;
  margin-top: var(--s5);
  padding-top: var(--s3);
  border-top: 1px solid rgba(244, 232, 223, 0.16);
  font-size: var(--fs-sm);
  color: rgba(244, 232, 223, 0.65);
}

/* ---------- sticky mobile CTA (thumb zone) ---------- */

.thumb-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  padding: 10px var(--s3) calc(10px + env(safe-area-inset-bottom));
  background: rgba(244, 232, 223, 0.94);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform 0.3s var(--ease);
}
.thumb-cta.is-visible { transform: translateY(0); }
.thumb-cta .btn { width: 100%; }
@media (min-width: 940px) { .thumb-cta { display: none; } }
@media (max-width: 939px) { body { padding-bottom: 84px; } }

/* ---------- particle field ----------
   Sits behind everything. The dark sections are opaque, so particles only
   ever show in the warm-white areas. Canvas is created in main.js. */

.particles {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

/* ---------- scroll reveal ---------- */

.reveal { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; } }
