/* ============================================================
   Planted Coffee Shop — styles.css
   Design language: "Potting bench" — oat / charcoal / amber / sprout
   Zilla Slab (headings) + Rubik (body)
   ============================================================ */

/* ---------- Palette tokens (light default) ---------- */
:root {
  --ground: #F6F2EA;      /* page background */
  --surface: #FFFFFF;     /* cards (border in light) */
  --ink: #262320;         /* body text */
  --muted: #5B544C;       /* secondary text */
  --brand: #9A5B0B;       /* CTA fill */
  --brand-text: #9A5B0B;  /* small accent text / ticks / links on normal surfaces */
  --accent-dark: #F2D3A0; /* accent text on always-dark bands — fixed */
  --sprout: #CFE5A8;      /* highlight fill — dark text on it, never white */
  --ink-fixed: #262320;   /* dark text on sprout — fixed */
  --on-brand: #FFFFFF;    /* text on brand fills — fixed */
  --cream: #F3EEE4;       /* text on always-dark bands — fixed */
  --band: #262320;        /* always-dark header/hero/footer/CTA/Meeting card */

  --border: #E4DCCF;
  --border-strong: #D6CBB8;
  --note-bg: #EFE6D4;
  --note-ink: #5A4A2C;    /* ≥4.5:1 on note tint (light) */

  --radius: 14px;
  --radius-sm: 9px;
  --maxw: 1080px;

  --font-head: "Zilla Slab", Georgia, serif;
  --font-body: "Rubik", system-ui, sans-serif;

  --shadow: 0 1px 2px rgba(38, 35, 32, 0.06), 0 6px 20px rgba(38, 35, 32, 0.05);
}

[data-theme="dark"] {
  --ground: #1A1714;
  --surface: #27231F;
  --ink: #F3EEE4;
  --muted: #CFC7BA;
  --brand: #9A5B0B;       /* identical in dark; white ≥4.5:1 kept */
  --brand-text: #F0B766;  /* links / ticks on normal surfaces in dark */
  --accent-dark: #F2D3A0; /* fixed */
  --sprout: #CFE5A8;      /* fixed */
  --ink-fixed: #262320;   /* fixed */
  --on-brand: #FFFFFF;    /* fixed */
  --cream: #F3EEE4;       /* fixed */
  --band: #0E0C0A;

  --border: #3A342E;
  --border-strong: #4A433B;
  --note-bg: #332C22;
  --note-ink: #E7D4B3;    /* readable on dark note tint */
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ground);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--ink);
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }

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

a { color: var(--brand-text); }
a:hover { text-decoration: underline; }

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

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

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

.section { padding-block: clamp(2.5rem, 6vw, 4.5rem); } /* bug #4: never padding:X 0 on a .container */

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--brand-text);
  margin: 0 0 0.5rem;
}

.lead { font-size: 1.12rem; color: var(--muted); }
.muted { color: var(--muted); }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: 8px; top: -60px;
  background: var(--brand);
  color: var(--on-brand);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  z-index: 100;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  padding: 0.8rem 1.3rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.05s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.btn--primary:hover { background: #864f09; border-color: #864f09; color: var(--on-brand); }

.btn--ghost { background: transparent; color: var(--brand-text); border-color: var(--border-strong); }
.btn--ghost:hover { background: rgba(154, 91, 11, 0.08); color: var(--brand-text); }

.btn--sprout { background: var(--sprout); color: var(--ink-fixed); border-color: var(--sprout); }
.btn--sprout:hover { background: #bcdd8d; color: var(--ink-fixed); border-color: #bcdd8d; }

.btn--sm { padding: 0.55rem 0.9rem; font-size: 0.9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.7rem; }

/* ---------- Chips ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--note-bg);
  color: var(--note-ink);
  border: 1px solid var(--border);
}

.note-chip { /* bug #17: ≥4.5:1 in light on tint */
  display: inline-block;
  font-size: 0.82rem;
  color: var(--note-ink);
  background: var(--note-bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
}

/* ---------- Header (always-dark band) ---------- */
.site-header {
  background: var(--band);
  color: var(--cream);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(243, 238, 228, 0.1);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.8rem;
  flex-wrap: wrap;
}
/* bug #1 & header rules: explicit light-on-dark */
.site-header h1, .site-header h2, .site-header h3, .site-header h4,
.site-header p, .site-header li { color: var(--cream); }

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.1;
}
.brand:hover { text-decoration: none; }
.brand .brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--cream);
  overflow-wrap: anywhere; /* bug #3: brand name wraps */
}
.brand .brand-sub { /* sub-label uses --accent-dark */
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-dark);
}
.site-header .muted { color: var(--accent-dark); } /* required override */

.site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1.1rem;
  margin: 0; padding: 0;
}
.site-nav a {
  color: var(--cream);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.97rem;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--accent-dark); border-bottom-color: var(--accent-dark); }
.site-nav a[aria-current="page"] { color: var(--accent-dark); border-bottom-color: var(--accent-dark); }

.header-tools { display: flex; align-items: center; gap: 0.6rem; }

/* bug #6: button text exceptions inside header so link rules don't override */
.site-header a.btn--primary { color: var(--on-brand); }
.site-header a.btn--primary:hover { color: var(--on-brand); }
.site-header a.btn--ghost { color: var(--accent-dark); border-color: var(--accent-dark); }
.site-header a.btn--ghost:hover { color: var(--accent-dark); background: rgba(242, 211, 160, 0.12); }

/* theme toggle */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(243, 238, 228, 0.3);
  background: transparent;
  color: var(--cream);
  cursor: pointer;
}
.theme-toggle:hover { background: rgba(243, 238, 228, 0.1); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .icon-moon { display: none; }
.theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }

/* ---------- Hero (always-dark band) ---------- */
.hero {
  background: var(--band);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}
.hero h1, .hero h2, .hero h3, .hero h4,
.hero p, .hero li, .hero .muted { color: var(--cream); }
.hero .eyebrow { color: var(--accent-dark); }
.hero .lead { color: #E6DECF; }
.hero a { color: var(--accent-dark); }
/* bug #6: hero button exceptions */
.hero a.btn--primary, .hero a.btn--primary:hover { color: var(--on-brand); }
.hero a.btn--ghost { color: var(--accent-dark); border-color: var(--accent-dark); }
.hero a.btn--ghost:hover { color: var(--accent-dark); background: rgba(242, 211, 160, 0.12); }
.hero a.btn--sprout, .hero a.btn--sprout:hover { color: var(--ink-fixed); }

.hero-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.img-note { /* on dark band */
  font-size: 0.76rem;
  color: var(--accent-dark);
  margin-top: 0.5rem;
}

/* ---------- Generic always-dark band ---------- */
.band {
  background: var(--band);
  color: var(--cream);
}
.band h1, .band h2, .band h3, .band h4,
.band p, .band li, .band .muted { color: var(--cream); }
.band .eyebrow { color: var(--accent-dark); }
.band a { color: var(--accent-dark); }
.band a.btn--primary, .band a.btn--primary:hover { color: var(--on-brand); }
.band a.btn--ghost { color: var(--accent-dark); border-color: var(--accent-dark); }
.band a.btn--ghost:hover { color: var(--accent-dark); background: rgba(242, 211, 160, 0.12); }
.band button.btn--ghost { color: var(--accent-dark); border-color: var(--accent-dark); background: transparent; }
.band button.btn--ghost:hover { color: var(--accent-dark); background: rgba(242, 211, 160, 0.12); }
.band a.btn--sprout, .band a.btn--sprout:hover { color: var(--ink-fixed); }
.band .chip { background: rgba(243, 238, 228, 0.12); color: var(--cream); border-color: rgba(243, 238, 228, 0.25); }
.band .img-note { color: var(--accent-dark); }

.band-split .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}
.band-media { border-radius: var(--radius); overflow: hidden; }
.band-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }

/* ---------- Proof strip ---------- */
.proof {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  justify-content: center;
  text-align: center;
  list-style: none;
  margin: 0; padding: 0;
}
.proof li {
  flex: 1 1 200px;
  min-width: 0; /* bug #3 */
  background: var(--surface);
  border: 1px solid var(--border); /* bug #16 */
  border-radius: var(--radius);
  padding: 1.1rem;
  box-shadow: var(--shadow);
}
.proof .stat {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--brand-text);
  display: block;
}
.proof .stat-label { font-size: 0.86rem; color: var(--muted); }

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.3rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border); /* bug #16: visible border in light */
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.card-media img { width: 100%; height: 190px; object-fit: cover; }
.card-body { padding: 1.1rem 1.2rem 1.3rem; }
.card-body h3 { margin-bottom: 0.3rem; }
.card-body p { color: var(--muted); font-size: 0.96rem; }

/* ---------- Find-us / NAP ---------- */
.findus {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: start;
}
.findus > * { min-width: 0; } /* bug #3 */
dl.nap { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 1rem; }
dl.nap dt { font-weight: 700; color: var(--ink); min-width: 0; }
dl.nap dd {
  margin: 0;
  color: var(--muted);
  min-width: 0; /* bug #3 */
  overflow-wrap: anywhere; /* bug #3 */
}
dl.nap dd a { color: var(--brand-text); }

/* NAP inside a dark band (bug #1) */
.band dl.nap dt, .band dl.nap dd,
.hero dl.nap dt, .hero dl.nap dd { color: var(--cream); }
.band dl.nap dd a, .hero dl.nap dd a { color: var(--accent-dark); }

/* ---------- Panel / info blocks ---------- */
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow);
}
.panel--sprout {
  background: var(--sprout);
  border-color: var(--sprout);
}
.panel--sprout h2, .panel--sprout h3, .panel--sprout h4,
.panel--sprout p, .panel--sprout li { color: var(--ink-fixed); } /* bug #8 */
.panel--sprout .btn--ghost { /* ghost in sun band uses ink-fixed, bug #8 */
  color: var(--ink-fixed);
  border-color: var(--ink-fixed);
  background: transparent;
}
.panel--sprout .btn--ghost:hover { background: rgba(38, 35, 32, 0.1); color: var(--ink-fixed); }

.prose p { max-width: 62ch; }
.prose > * + * { margin-top: 1rem; }

.needs-content {
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
  background: var(--note-bg);
  color: var(--note-ink);
  font-size: 0.95rem;
}

.quote {
  font-family: var(--font-head);
  font-size: 1.3rem;
  line-height: 1.4;
  border-left: 4px solid var(--sprout);
  padding-left: 1.1rem;
  margin: 0;
}
.quote cite { display: block; font-family: var(--font-body); font-size: 0.85rem; font-style: normal; color: var(--muted); margin-top: 0.6rem; }
.band .quote cite { color: var(--accent-dark); }

/* sprout divider motif */
.divider {
  border: 0;
  height: 1px;
  background: var(--border);
  position: relative;
  margin: 2.5rem 0;
}
.divider::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 10px; height: 10px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: var(--sprout);
  border-radius: 2px;
}

/* ============================================================
   Meeting card planner (signature feature)
   ============================================================ */
.planner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: start;
}
.planner > * { min-width: 0; }

.planner-form fieldset {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem 1.3rem;
  margin: 0 0 1.2rem;
  background: var(--surface);
  min-width: 0;
}
.planner-form legend {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0 0.4rem;
  color: var(--ink);
}

.option-list { display: grid; gap: 0.6rem; margin-top: 0.4rem; }
.option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  border: 2px solid var(--border-strong); /* bug #13: outline, not colour alone */
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.9rem;
  cursor: pointer;
  background: var(--ground);
}
.option input { accent-color: var(--brand); width: 18px; height: 18px; flex: none; }
.option .option-label { font-weight: 500; }
.option .tick { margin-left: auto; opacity: 0; font-weight: 700; color: var(--brand-text); } /* ticks use --brand-text */
.option:has(input:checked) {
  border-color: var(--brand);
  box-shadow: inset 0 0 0 1px var(--brand);
  background: var(--note-bg);
}
.option:has(input:checked) .tick { opacity: 1; } /* bug #13: outline + tick */

.stepper { display: inline-flex; align-items: center; gap: 0.8rem; margin-top: 0.4rem; }
.stepper button {
  width: 44px; height: 44px;
  border-radius: 999px;
  border: 2px solid var(--border-strong);
  background: var(--surface);
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.stepper button:hover { border-color: var(--brand); color: var(--brand-text); }
.stepper .count-display {
  min-width: 3.2rem;
  text-align: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
}

.dependent {
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px dashed var(--border);
}
.dependent[hidden] { display: none; }

label.field-label { display: block; font-weight: 500; margin-bottom: 0.35rem; }
.text-input, .date-input, textarea.text-area {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  min-width: 0;
}
textarea.text-area { resize: vertical; min-height: 4.5rem; }
.field-hint { font-size: 0.8rem; color: var(--muted); margin-top: 0.3rem; }
.collect-check { display: flex; align-items: center; gap: 0.6rem; margin-top: 0.4rem; }
.collect-check input { width: 18px; height: 18px; accent-color: var(--brand); }

/* --- Meeting card preview (name-card style, normal surface) --- */
.meeting-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.meeting-card .mc-head {
  background: var(--sprout);
  color: var(--ink-fixed);
  padding: 0.9rem 1.2rem;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.meeting-card .mc-head .seed { width: 16px; height: 16px; }
.meeting-card .mc-body { padding: 1.1rem 1.2rem 1.3rem; }
.mc-stop { font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; color: var(--ink); margin: 0 0 0.6rem; }
.mc-empty { color: var(--muted); font-style: italic; }
.mc-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.mc-rows li { display: flex; gap: 0.6rem; }
.mc-rows .mc-key { font-weight: 700; color: var(--muted); min-width: 4.6rem; }
.mc-rows .mc-val { color: var(--ink); overflow-wrap: anywhere; }

/* --- Message panel: always dark (bug #1) --- */
.message-panel {
  background: var(--band);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
  margin-top: 1.3rem;
}
.message-panel h2, .message-panel h3, .message-panel h4,
.message-panel p, .message-panel li, .message-panel .muted { color: var(--cream); }
.message-panel .eyebrow { color: var(--accent-dark); }
.message-panel a { color: var(--accent-dark); }
.message-text {
  background: rgba(243, 238, 228, 0.08);
  border: 1px solid rgba(243, 238, 228, 0.18);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--cream);
  white-space: pre-wrap;
  margin-bottom: 1.1rem;
}
.message-text.is-empty { color: var(--accent-dark); font-style: italic; }
/* bug #6 & #1: button exceptions inside always-dark message panel */
.message-panel a.btn--primary, .message-panel a.btn--primary:hover { color: var(--on-brand); }
.message-panel a.btn--ghost, .message-panel button.btn--ghost {
  color: var(--accent-dark); border-color: var(--accent-dark); background: transparent;
}
.message-panel a.btn--ghost:hover, .message-panel button.btn--ghost:hover {
  color: var(--accent-dark); background: rgba(242, 211, 160, 0.12);
}
.message-panel a.btn--sprout, .message-panel a.btn--sprout:hover,
.message-panel button.btn--sprout, .message-panel button.btn--sprout:hover { color: var(--ink-fixed); }
.copy-status { font-size: 0.85rem; color: var(--accent-dark); min-height: 1.2em; margin-top: 0.5rem; }

/* ---------- Footer (always-dark band) ---------- */
.site-footer {
  background: var(--band);
  color: var(--cream);
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
  margin-top: 2rem;
}
.site-footer h1, .site-footer h2, .site-footer h3, .site-footer h4,
.site-footer p, .site-footer li, .site-footer .muted { color: var(--cream); }
.site-footer .eyebrow { color: var(--accent-dark); }
.site-footer a { color: var(--accent-dark); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
/* bug #6 footer button exceptions */
.site-footer a.btn--primary, .site-footer a.btn--primary:hover { color: var(--on-brand); }
.site-footer a.btn--ghost { color: var(--accent-dark); border-color: var(--accent-dark); }
.site-footer a.btn--ghost:hover { color: var(--accent-dark); background: rgba(242, 211, 160, 0.12); }
.site-footer .chip { background: rgba(243, 238, 228, 0.12); color: var(--cream); border-color: rgba(243, 238, 228, 0.25); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 2.5rem);
}
.footer-grid > * { min-width: 0; overflow-wrap: anywhere; } /* bug #3 */
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(243, 238, 228, 0.15);
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.5rem;
  justify-content: space-between;
  font-size: 0.85rem;
}
.footer-bottom, .footer-bottom p, .footer-bottom span { color: var(--cream); }
.demo-note {
  background: #0E0C0A; /* solid dark background (bug #1) */
  border: 1px solid rgba(243, 238, 228, 0.18);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  font-size: 0.86rem;
  color: var(--cream);
}
.demo-note strong { color: var(--accent-dark); } /* footer-bottom .demo-note strong (bug #1) */

/* ---------- Page intro ---------- */
.page-intro { padding-block: clamp(2rem, 5vw, 3.2rem); }
.page-intro .eyebrow { color: var(--brand-text); }

/* ============================================================
   Responsive (bug #3: 320px safety)
   ============================================================ */
@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; }
  .band-split .container { grid-template-columns: 1fr; }
  .findus { grid-template-columns: 1fr; }
  .planner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .site-header .container { flex-direction: column; align-items: flex-start; }
  .site-nav { order: 3; width: 100%; } /* nav on its own row ≤700px */
  .site-nav ul { gap: 0.2rem 1rem; }
  .header-tools { order: 2; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .header-cta { display: none; } /* bug #3: hide header CTA ≤480px */
  h1 { font-size: 1.8rem; }
  .btn-row .btn { flex: 1 1 100%; }
  .stepper { width: 100%; justify-content: space-between; }
}

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