/* ==========================================================================
   BISI DAVID — Central Stylesheet
   Brand: Green #40B162 (primary), Pumpkin #FF751F (alternate),
          Gold #D4AF37 (wealth accent), neutrals from the brand guide.
   Type:  Inter (headlines in Black 900, body 400–600), Source Serif for long-form body.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Source+Serif+4:ital,wght@0,400;0,600;1,400&display=swap');

:root {
  /* Brand colours */
  --green: #40B162;
  --green-dark: #2F8E4C;
  --orange: #FF751F;       /* Section labels, Optionality Hub button */
  --gold: #D4AF37;
  --gold-soft: #E9D18A;

  /* Neutrals */
  --black: #111111;
  --ink: #333333;          /* Brand dark grey */
  --grey-light: #F2F2F2;   /* Brand light grey */
  --grey-mid: #8A8A8A;
  --white: #FFFFFF;
  --line: rgba(0, 0, 0, 0.08);
  --line-dark: rgba(255, 255, 255, 0.12);

  /* Type */
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Source Serif 4', 'Source Serif Pro', Georgia, serif;

  /* Layout */
  --max: 1180px;
  --gutter: 24px;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --header-h: 72px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
body.nav-open { overflow: hidden; }

/* ---------- Typography (brand: tracking -20, leading 1.2 headlines / 1.4+ body) ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-sans);
  color: var(--black);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.5em;
}
h1 { font-weight: 900; font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-weight: 900; font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-weight: 800; font-size: 1.3rem; }
h4 { font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; }
p  { margin: 0 0 1em; }

.serif { font-family: var(--font-serif); font-size: 1.12rem; line-height: 1.75; }
.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); line-height: 1.55; color: var(--grey-mid); }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}
.text-gold   { color: var(--gold); }
.text-green  { color: var(--green); }
.text-orange { color: var(--orange); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-light { background: var(--grey-light); }
.section-dark  { background: var(--black); color: rgba(255, 255, 255, 0.78); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--white); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* Placeholders reserve space so the page doesn't jump when header/footer load */
#header-placeholder { min-height: var(--header-h); }
#footer-placeholder { min-height: 200px; background: var(--black); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }

.btn-gold    { background: var(--gold); color: var(--black); }
.btn-gold:hover { background: var(--gold-soft); box-shadow: 0 8px 24px rgba(212, 175, 55, 0.35); }
.btn-orange  { background: var(--orange); color: var(--black); }
.btn-orange:hover { background: #FF8F45; box-shadow: 0 8px 24px rgba(255, 117, 31, 0.35); }
.btn-green   { background: var(--green); color: var(--white); }
.btn-green:hover { background: var(--green-dark); }
.btn-dark    { background: var(--black); color: var(--white); }
.btn-dark:hover { background: var(--ink); }
.btn-outline { border-color: currentColor; background: transparent; }
.btn-outline-light { border-color: rgba(255, 255, 255, 0.4); color: var(--white); background: transparent; }
.btn-outline-light:hover { border-color: var(--gold); color: var(--gold); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(17, 17, 17, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line-dark);
}
.nav { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; }
.logo { font-weight: 900; font-size: 1.25rem; letter-spacing: 0.04em; color: var(--white); }
.logo span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a:not(.btn) {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 6px 0;
}
.nav-links a:not(.btn):hover, .nav-links a.active { color: var(--white); }
.nav-links a.active::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--gold); border-radius: 2px;
}
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: none; border: 0; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: transform 0.25s, opacity 0.25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(64, 177, 98, 0.18), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(212, 175, 55, 0.12), transparent 60%),
    var(--black);
  color: rgba(255, 255, 255, 0.78);
  padding: clamp(56px, 8vw, 96px) 0;
}
.hero h1 { color: var(--white); }
.hero .lead { color: rgba(255, 255, 255, 0.72); max-width: 540px; }
.hero-trust { display: flex; align-items: center; gap: 12px; margin-top: 28px; font-size: 0.9rem; color: rgba(255,255,255,0.6); }
.hero-trust .dot-gold { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

/* ---------- Carousel ---------- */
.carousel {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-height: 620px;
  width: 100%;
  background: linear-gradient(145deg, #1d2a21, #111);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line-dark);
}
.slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.slide.is-active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
/* Fallback monogram shows if a photo is missing */
.slide::before {
  content: 'BD';
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-weight: 900; font-size: 7rem; letter-spacing: -0.04em;
  color: rgba(212, 175, 55, 0.18);
  z-index: 0;
}
.slide img { position: relative; z-index: 1; }
.slide-caption {
  position: absolute; left: 16px; right: 16px; bottom: 56px;
  z-index: 2;
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(17, 17, 17, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-left: 3px solid var(--gold);
  color: var(--white);
}
.slide-caption strong { display: block; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; margin-bottom: 2px; }
.slide-caption span { font-size: 0.95rem; color: rgba(255, 255, 255, 0.75); }
.carousel-dots {
  position: absolute; left: 0; right: 0; bottom: 20px;
  z-index: 3;
  display: flex; justify-content: center; gap: 8px;
}
.carousel-dots button {
  width: 10px; height: 10px; padding: 0;
  border-radius: 999px; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, 0.35);
  transition: width 0.3s, background 0.3s;
}
.carousel-dots button.is-active { width: 28px; background: var(--gold); }

/* ---------- Accent banner (BBC) ---------- */
.accent-banner {
  background: var(--gold);
  color: var(--black);
  text-align: center;
  padding: 16px var(--gutter);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.accent-banner span { display: inline-flex; align-items: center; gap: 12px; }
.accent-banner span::before, .accent-banner span::after {
  content: ''; width: 28px; height: 1px; background: rgba(0, 0, 0, 0.4);
}

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(212, 175, 55, 0.5); }
.card p { color: #5a5a5a; flex-grow: 1; }
.card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(64, 177, 98, 0.12);
  color: var(--green);
  margin-bottom: 20px;
}
.card-icon svg { width: 24px; height: 24px; }
.card-link { font-weight: 700; color: var(--black); display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; }
.card-link::after { content: '→'; color: var(--gold); transition: transform 0.2s; }
.card:hover .card-link::after { transform: translateX(4px); }
.card-featured { background: var(--black); color: rgba(255,255,255,0.75); border-color: var(--gold); }
.card-featured h3 { color: var(--white); }
.card-featured p { color: rgba(255,255,255,0.7); }
.card-featured .card-link { color: var(--gold); }
.card-featured .card-icon { background: rgba(212, 175, 55, 0.15); color: var(--gold); }
.tag {
  align-self: flex-start;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
  background: var(--gold); color: var(--black);
  margin-bottom: 16px;
}

/* ---------- About preview ---------- */
.stat-row { display: flex; flex-wrap: wrap; gap: 32px; margin: 28px 0 8px; }
.stat strong { display: block; font-size: 2rem; font-weight: 900; color: var(--black); letter-spacing: -0.03em; line-height: 1.1; }
.stat span { font-size: 0.85rem; color: var(--grey-mid); }
.quote-block {
  border-left: 4px solid var(--gold);
  padding: 8px 0 8px 24px;
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  line-height: 1.5;
  color: var(--black);
  font-style: italic;
}

/* ---------- Optionality ladder ---------- */
.ladder { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line-dark); border-radius: var(--radius); overflow: hidden; }
.ladder-step { background: var(--black); padding: 36px 28px; }
.ladder-step .num { font-weight: 900; font-size: 0.85rem; color: var(--gold); letter-spacing: 0.12em; }
.ladder-step h3 { margin-top: 10px; }
.ladder-step p { color: rgba(255, 255, 255, 0.68); margin: 0; }

/* ---------- Community peek ---------- */
.community {
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: var(--white);
  padding: clamp(36px, 6vw, 64px);
  position: relative;
  overflow: hidden;
}
.community::after {
  content: '';
  position: absolute; right: -120px; top: -120px;
  width: 360px; height: 360px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}
.community h2 { color: var(--white); }
.community p { color: rgba(255, 255, 255, 0.88); }
.check-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li::before {
  content: '✓';
  flex: none;
  width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--white); color: var(--green-dark);
  font-weight: 900; font-size: 0.8rem; margin-top: 2px;
}
.community-panel {
  position: relative; z-index: 1;
  background: rgba(17, 17, 17, 0.85);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid rgba(212, 175, 55, 0.4);
}
.community-panel h3 { color: var(--white); }
.community-panel p { color: rgba(255,255,255,0.72); font-size: 0.95rem; }

/* ---------- Socials ---------- */
.socials { display: flex; flex-wrap: wrap; gap: 14px; }
.social-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 22px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  font-weight: 600;
  color: var(--black);
  transition: border-color 0.2s, transform 0.2s;
}
.social-btn:hover { border-color: var(--gold); transform: translateY(-2px); }
.social-btn svg { width: 22px; height: 22px; color: var(--green); }
.social-btn small { display: block; font-weight: 400; color: var(--grey-mid); font-size: 0.8rem; }

/* ---------- About page ---------- */
.prose { max-width: 720px; margin: 0 auto; }
.prose h2 { margin-top: 56px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.prose p { font-family: var(--font-serif); font-size: 1.15rem; line-height: 1.8; color: #3b3b3b; }
.prose > p:first-of-type::first-letter {
  float: left;
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: 4rem;
  line-height: 0.85;
  padding: 6px 12px 0 0;
  color: var(--green);
}
.timeline { list-style: none; padding: 0; margin: 32px 0; border-left: 2px solid var(--grey-light); }
.timeline li { position: relative; padding: 0 0 26px 28px; }
.timeline li::before {
  content: ''; position: absolute; left: -7px; top: 6px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--gold);
}
.timeline strong { display: block; color: var(--black); font-weight: 800; }
.timeline span { color: #5a5a5a; font-size: 0.98rem; }
.mission {
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius);
  padding: clamp(32px, 5vw, 56px);
  margin: 56px 0;
  border-top: 4px solid var(--gold);
}
.mission h4 { color: var(--gold); }
.mission p { font-family: var(--font-serif); font-size: clamp(1.3rem, 2.6vw, 1.75rem); line-height: 1.45; color: var(--white); margin: 0; }

/* ---------- Links page ---------- */
.links-page { background: var(--black); min-height: 100vh; }
.linktree {
  max-width: 560px;
  margin: 0 auto;
  padding: 48px var(--gutter) 72px;
  text-align: center;
  color: rgba(255,255,255,0.75);
}
.avatar {
  width: 112px; height: 112px;
  border-radius: 50%;
  margin: 0 auto 18px;
  border: 3px solid var(--gold);
  overflow: hidden;
  background: linear-gradient(145deg, #1d2a21, #111);
  display: grid; place-items: center;
  font-weight: 900; font-size: 2rem; color: var(--gold);
}
.avatar { position: relative; }
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.linktree h1 { color: var(--white); font-size: 1.9rem; margin-bottom: 6px; }
.linktree .handle { color: var(--gold); font-weight: 600; font-size: 0.95rem; }
.linktree .bio { margin: 14px auto 28px; max-width: 420px; font-size: 1rem; }
.link-group-label {
  text-align: left;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--orange);
  margin: 28px 4px 10px;
}
.link-list { display: grid; gap: 12px; }
.link-item {
  display: flex; align-items: center; gap: 14px;
  text-align: left;
  padding: 18px 20px;
  border-radius: 16px;
  background: #1c1c1c;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.35;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.link-item:hover { transform: translateY(-2px); border-color: var(--green); background: #222; }
.link-item:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.link-item .li-icon {
  flex: none;
  width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(64, 177, 98, 0.14); color: var(--green);
}
.link-item .li-icon svg { width: 20px; height: 20px; }
.link-item .li-text { flex: 1; }
.link-item .li-text small { display: block; font-weight: 400; font-size: 0.82rem; color: rgba(255,255,255,0.55); margin-top: 2px; }
.link-item .li-arrow { color: rgba(255,255,255,0.35); transition: transform 0.2s, color 0.2s; }
.link-item:hover .li-arrow { transform: translateX(3px); color: var(--gold); }

.link-item.featured {
  background: linear-gradient(135deg, var(--gold) 0%, #c49b26 100%);
  color: var(--black);
  border: 0;
  padding: 22px 20px;
  box-shadow: 0 12px 32px rgba(212, 175, 55, 0.25);
}
.link-item.featured .li-icon { background: rgba(17,17,17,0.12); color: var(--black); }
.link-item.featured .li-text small { color: rgba(17,17,17,0.7); }
.link-item.featured .li-arrow { color: var(--black); }
.link-item.featured:hover { background: linear-gradient(135deg, var(--gold-soft) 0%, var(--gold) 100%); }
.link-socials { display: flex; justify-content: center; gap: 12px; margin-top: 32px; }
.link-socials a {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,0.15); color: var(--white);
  transition: border-color 0.2s, color 0.2s;
}
.link-socials a:hover { border-color: var(--gold); color: var(--gold); }
.link-socials svg { width: 20px; height: 20px; }

/* ---------- About page additions ---------- */
.prose h2.first { margin-top: 0; }
.chips, .topic-grid { list-style: none; padding: 0; margin: 20px 0 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  padding: 8px 16px; border-radius: 999px;
  background: rgba(64, 177, 98, 0.1); color: var(--green-dark);
  font-weight: 600; font-size: 0.92rem;
}
.cred-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0 28px; }
.cred { border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius-sm); padding: 18px; }
.cred strong { display: block; font-size: 1.6rem; font-weight: 900; color: var(--black); letter-spacing: -0.03em; line-height: 1.1; }
.cred span { font-size: 0.85rem; color: var(--grey-mid); }
.topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.topic-grid li {
  padding: 14px 16px; border-radius: var(--radius-sm);
  background: var(--grey-light); color: var(--black);
  font-weight: 600; font-size: 0.95rem; line-height: 1.35;
  border-left: 3px solid var(--green);
}
.text-link { font-family: var(--font-sans); font-weight: 700; color: var(--green-dark); border-bottom: 2px solid var(--gold); padding-bottom: 2px; }
.text-link:hover { color: var(--black); }
.tag-quiet { background: rgba(64, 177, 98, 0.12); color: var(--green-dark); }
.work-grid { align-items: stretch; }
.contact-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line);
}
.contact-row h4 { color: var(--grey-mid); margin-bottom: 8px; }
.contact-row a { font-weight: 600; color: var(--black); word-break: break-word; }
.contact-row a:hover { color: var(--green-dark); }
@media (max-width: 860px) {
  .topic-grid { grid-template-columns: 1fr 1fr; }
  .contact-row { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 560px) {
  .topic-grid, .cred-row { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: rgba(255, 255, 255, 0.6); padding: 64px 0 28px; border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-tagline { margin-top: 14px; max-width: 300px; font-size: 0.95rem; }
.footer-col h4 { color: var(--gold); margin-bottom: 16px; }
.footer-col a { display: block; margin-bottom: 10px; font-size: 0.95rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-small { font-size: 0.82rem; color: rgba(255, 255, 255, 0.4); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  font-size: 0.88rem;
}
.footer-bottom p { margin: 0; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  /* Solid header on mobile: the desktop blur effect would trap the
     full-screen menu inside the header bar and make it see-through */
  .site-header {
    background: var(--black);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: var(--header-h); left: 0; right: 0; bottom: 0;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    z-index: 99;
    flex-direction: column; align-items: flex-start;
    gap: 6px;
    padding: 28px var(--gutter);
    background: rgba(17, 17, 17, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a:not(.btn) { font-size: 1.4rem; font-weight: 700; padding: 12px 0; }
  .nav-links .btn { margin-top: 16px; width: 100%; }
  .grid-2, .grid-3, .ladder { grid-template-columns: 1fr; }
  .hero .carousel { max-width: 460px; margin: 0 auto; }
}

@media (max-width: 560px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .grid-4, .footer-grid { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
  .accent-banner span::before, .accent-banner span::after { display: none; }
  .stat-row { gap: 24px; }
}
