/* ==========================================================================
   KAMP — Kolade Adepoju Mentoring Program
   wearekamp.org
   ========================================================================== */

:root {
  --ink: #0e0b13;
  --purple: #38024e;
  --night: #120a18;
  --violet: #8b3dd6;
  --gold: #ffc501;
  --gold-deep: #dfab00;
  --paper: #f8f6fb;
  --white: #ffffff;
  --bg: #f8f6fb;
  --surface: #ffffff;
  --text: #0e0b13;
  --line: rgba(14, 11, 19, 0.12);
  --shadow: 0 14px 40px rgba(56, 2, 78, 0.16);
  color-scheme: light dark;
  --radius: 18px;
  --font-display: "Bricolage Grotesque", "Arial Black", sans-serif;
  --font-body: "Public Sans", "Segoe UI", Arial, sans-serif;
  --wrap: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ---------- Signature: the KAMP woven strip ---------- */
.kamp-strip {
  height: 14px;
  background: repeating-linear-gradient(
    -55deg,
    var(--purple) 0 26px,
    var(--gold) 26px 40px,
    #ffffff 40px 46px,
    var(--night) 46px 72px
  );
}

/* ---------- Typography ---------- */
h1, h2, h3, .display {
  font-family: var(--font-display);
  line-height: 1.05;
  letter-spacing: -0.015em;
}

.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--purple);
  border: 1.5px solid var(--purple);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 18px;
}

.section { padding: 88px 0; }
.section--white { background: var(--surface); }
.section--purple { background: var(--night); color: var(--paper); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(30px, 4.5vw, 46px); font-weight: 800; margin-bottom: 14px; }
.section-head p { font-size: 18px; opacity: 0.85; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15.5px;
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 28px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-deep); }
.btn--purple { background: var(--purple); color: var(--white); }
.btn--purple:hover { background: #4d0a68; }
.btn--ghost { border-color: currentColor; background: transparent; color: inherit; }
.btn--sm { padding: 10px 20px; font-size: 14px; }

/* ---------- Header ---------- */
.topbar {
  background: var(--night);
  color: var(--paper);
  font-size: 13.5px;
  text-align: center;
  padding: 9px 16px;
}
.topbar a { color: var(--gold); font-weight: 700; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }

header.site {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(14, 11, 19, 0.94);
  color: var(--paper);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 197, 1, 0.25);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 24px;
  max-width: var(--wrap);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-logo {
  width: 52px; height: 48px;
  border-radius: 10px;
  object-fit: cover;
  background: #010101;
}
.brand-name { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name strong { font-family: var(--font-display); font-size: 20px; font-weight: 800; }
.brand-name span { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.7; }

.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; }
.nav-links a {
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 6px 2px;
  border-bottom: 2.5px solid transparent;
}
.nav-links a:hover, .nav-links a.active { border-bottom-color: var(--gold); color: var(--gold); }
.nav-cta { display: flex; gap: 10px; align-items: center; }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--gold);
  border-radius: 10px;
  width: 44px; height: 44px;
  font-size: 20px;
  color: var(--gold);
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(139, 61, 214, 0.35), transparent 60%),
    radial-gradient(900px 480px at -10% 110%, rgba(255, 197, 1, 0.14), transparent 60%),
    var(--night);
  color: var(--paper);
  padding: 96px 0 88px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.hero-verbs { font-size: clamp(52px, 8vw, 104px); font-weight: 800; }
.hero-verbs span { display: block; }
.hero-verbs .verb { color: rgba(248, 246, 251, 0.28); transition: color 0.5s ease; }
.hero-verbs .verb.lit { color: var(--gold); }
.hero-sub {
  margin-top: 26px;
  font-size: 19px;
  max-width: 520px;
  opacity: 0.92;
}
.hero-actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-panel {
  background: rgba(247, 245, 238, 0.06);
  border: 1px solid rgba(247, 245, 238, 0.18);
  border-radius: var(--radius);
  padding: 30px;
}
.hero-panel h3 { font-size: 20px; margin-bottom: 16px; color: var(--gold); }
.hero-stat { display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px dashed rgba(247, 245, 238, 0.2); }
.hero-stat:last-child { border-bottom: 0; }
.hero-stat b { font-family: var(--font-display); font-size: 26px; color: var(--white); min-width: 84px; }
.hero-stat span { font-size: 14.5px; opacity: 0.85; align-self: center; }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .tag {
  align-self: flex-start;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  color: var(--purple);
}
.card h3 { font-size: 22px; font-weight: 800; }
.card p { font-size: 15.5px; opacity: 0.85; flex: 1; }
.card .card-link {
  font-weight: 700;
  text-decoration: none;
  color: var(--purple);
  border-bottom: 2px solid var(--gold);
  align-self: flex-start;
  padding-bottom: 2px;
}

/* Program feature rows */
.program-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: center;
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}
.program-row:last-child { border-bottom: 0; }
.program-visual {
  border-radius: var(--radius);
  aspect-ratio: 16 / 10;
  background: linear-gradient(140deg, var(--purple), var(--violet));
  color: var(--paper);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3.5vw, 44px);
  text-align: center;
  padding: 20px;
  position: relative;
  overflow: hidden;
}
.program-visual::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 12px;
  background: repeating-linear-gradient(-55deg, var(--gold) 0 16px, transparent 16px 32px);
}
.program-visual--gold { background: linear-gradient(140deg, var(--gold-deep), var(--gold)); color: var(--ink); }
.program-visual--ink { background: linear-gradient(140deg, #16261c, var(--night)); }
.program-copy h3 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 12px; }
.program-copy .meta { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--violet); margin-bottom: 10px; display: block; }
.program-copy p { opacity: 0.85; margin-bottom: 18px; }
.program-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Impact strip ---------- */
.impact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.impact b { display: block; font-family: var(--font-display); font-size: clamp(34px, 4.5vw, 54px); color: var(--gold); }
.impact span { font-size: 14.5px; opacity: 0.85; }

/* ---------- Gallery ---------- */
.gallery-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.gallery-tab {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  border: 2px solid var(--purple);
  border-radius: 999px;
  background: transparent;
  color: var(--purple);
  padding: 10px 22px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.gallery-tab.active, .gallery-tab:hover { background: var(--purple); color: var(--white); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}
.gallery-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #e6e2d6;
  border: 1px solid var(--line);
  text-decoration: none;
  display: block;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item .badge {
  position: absolute;
  top: 10px; left: 10px;
  background: rgba(18, 10, 24, 0.85);
  color: var(--gold);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 4px 11px;
}
.gallery-item .play {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: 46px;
  color: var(--white);
  background: rgba(18, 10, 24, 0.4);
}
.gallery-status { padding: 40px 0; text-align: center; opacity: 0.8; }
.gallery-fallback { text-align: center; margin-top: 30px; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
input, select, textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15.5px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
}
input:focus, select:focus, textarea:focus {
  outline: 3px solid rgba(139, 61, 214, 0.4);
  border-color: var(--violet);
}
textarea { min-height: 120px; resize: vertical; }
.form-msg { margin-top: 16px; font-weight: 700; display: none; padding: 12px 16px; border-radius: 10px; }
.form-msg.ok { display: block; background: rgba(46, 158, 91, 0.14); color: var(--purple); }
.form-msg.err { display: block; background: rgba(217, 78, 60, 0.12); color: #a83224; }

/* Newsletter band */
.newsletter { text-align: center; }
.newsletter form {
  display: flex;
  gap: 12px;
  justify-content: center;
  max-width: 560px;
  margin: 26px auto 0;
  flex-wrap: wrap;
}
.newsletter input { flex: 1; min-width: 220px; background: var(--surface); }

/* ---------- Events ---------- */
.event-list { display: grid; gap: 18px; }
.event-item {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 22px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px;
}
.event-date {
  font-family: var(--font-display);
  text-align: center;
  background: var(--bg);
  border-radius: 12px;
  padding: 12px 8px;
  border: 1px solid var(--line);
}
.event-date b { display: block; font-size: 26px; color: var(--purple); }
.event-date span { font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; }
.event-item h3 { font-size: 19px; margin-bottom: 4px; }
.event-item p { font-size: 14.5px; opacity: 0.8; }

/* ---------- Values / about ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value {
  border-left: 4px solid var(--gold);
  background: var(--surface);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 26px;
}
.value h3 { font-size: 20px; margin-bottom: 8px; }
.founder-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: center; }
.founder-photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--purple), var(--violet));
  display: grid;
  place-items: center;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 60px;
  font-weight: 800;
  overflow: hidden;
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
blockquote.pull {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  line-height: 1.3;
  border-left: 5px solid var(--gold);
  padding-left: 22px;
  margin: 24px 0;
}

/* ---------- Socials ---------- */
.social-row { display: flex; gap: 12px; flex-wrap: wrap; }
.social-row a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  border: 1.5px solid rgba(248, 246, 251, 0.28);
  border-radius: 999px;
  padding: 9px 18px;
  transition: background 0.15s ease, color 0.15s ease;
}
.social-row a:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }

/* ---------- Footer ---------- */
footer.site {
  background: var(--night);
  color: var(--paper);
  padding: 64px 0 34px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 44px; }
.footer-grid h4 { font-size: 15px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer-grid ul { list-style: none; display: grid; gap: 10px; }
.footer-grid a { color: var(--paper); text-decoration: none; opacity: 0.9; }
.footer-grid a:hover { color: var(--gold); }
.footer-brand p { font-size: 14.5px; opacity: 0.85; margin-top: 12px; max-width: 320px; }
.footer-bottom {
  border-top: 1px solid rgba(247, 245, 238, 0.18);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
  opacity: 0.75;
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-verbs .verb { transition: none; }
  .btn, .card, .gallery-item img { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .founder-grid { grid-template-columns: 1fr; }
  .card-grid, .value-grid { grid-template-columns: 1fr 1fr; }
  .impact-grid { grid-template-columns: 1fr 1fr; row-gap: 34px; }
  .program-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links, .nav.open .nav-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 14px;
  }
  .nav { flex-wrap: wrap; }
  .card-grid, .value-grid, .form-grid { grid-template-columns: 1fr; }
  .event-item { grid-template-columns: 1fr; text-align: left; }
  .event-date { justify-self: start; padding: 10px 16px; }
  .section { padding: 64px 0; }
}

/* Contact email cards */
.contact-emails { grid-template-columns: 1fr 1fr; }
@media (max-width: 720px) { .contact-emails { grid-template-columns: 1fr; } }

/* Press strip */
.press-strip {
  margin-top: 44px;
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}
.press-strip span { font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.6; font-weight: 700; }
.press-strip b { font-family: var(--font-display); font-size: 17px; opacity: 0.55; }

/* Team cards (featured person component) */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.person {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.person:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.person-photo { aspect-ratio: 1 / 1; background: linear-gradient(150deg, var(--purple), var(--violet)); display: grid; place-items: center; overflow: hidden; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; }
.person-photo .initials { font-family: var(--font-display); font-weight: 800; font-size: 44px; color: var(--gold); }
.person-body { padding: 20px 22px 24px; }
.person-body h3 { font-size: 19px; }
.person-body .role { font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--violet); margin: 4px 0 10px; }
.person-body p { font-size: 14.5px; opacity: 0.82; }
@media (max-width: 960px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .team-grid { grid-template-columns: 1fr; } }

/* Testimonials */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 26px;
}
.quote-card p { font-size: 15.5px; font-style: italic; margin-bottom: 14px; }
.quote-card cite { font-style: normal; font-size: 13px; font-weight: 700; color: var(--purple); }
@media (max-width: 960px) { .quote-grid { grid-template-columns: 1fr; } }

/* Donation presets */
.preset-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.preset {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  border: 2px solid var(--purple);
  color: var(--purple);
  background: transparent;
  border-radius: 999px;
  padding: 9px 18px;
  cursor: pointer;
}
.preset.active, .preset:hover { background: var(--purple); color: var(--white); }

/* News & updates */
.news-list { display: grid; gap: 26px; }
.news-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 34px;
}
.news-card h3 { font-size: clamp(21px, 2.6vw, 27px); margin-bottom: 6px; }
.news-meta { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--violet); margin-bottom: 16px; }
.news-body p { margin-bottom: 12px; font-size: 15.5px; opacity: 0.88; }
.news-body p:last-child { margin-bottom: 0; }

/* ---------- Dropdown navigation (MMC-style) ---------- */
.nav-links { gap: 6px; }
.nav-links > li { position: relative; }
.nav-links > li > a, .drop-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  color: var(--paper);
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
}
.nav-links > li > a:hover, .drop-btn:hover,
.nav-links > li > a.active, .drop-btn.active {
  color: var(--gold);
  background: rgba(255, 197, 1, 0.08);
  border-bottom: none;
}
.drop-btn .caret { font-size: 10px; transition: transform 0.18s ease; }
.dropdown.open .caret { transform: rotate(180deg); }

.drop-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 210px;
  background: #17101f;
  border: 1px solid rgba(255, 197, 1, 0.25);
  border-radius: 14px;
  padding: 8px;
  list-style: none;
  display: none;
  z-index: 80;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
}
.dropdown.open .drop-menu { display: block; }
.drop-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 9px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--paper);
}
.drop-menu a:hover, .drop-menu a.active { background: rgba(255, 197, 1, 0.12); color: var(--gold); }

@media (min-width: 721px) {
  .dropdown:hover .drop-menu, .dropdown:focus-within .drop-menu { display: block; }
  .dropdown:hover .caret { transform: rotate(180deg); }
}

@media (max-width: 720px) {
  .nav.open .nav-links { gap: 4px; }
  .nav-links > li { width: 100%; }
  .drop-btn { width: 100%; justify-content: space-between; }
  .drop-menu {
    position: static;
    box-shadow: none;
    border: none;
    border-left: 2px solid rgba(255, 197, 1, 0.35);
    border-radius: 0;
    background: transparent;
    margin-left: 10px;
    padding: 2px 0 6px;
  }
  .nav.open .nav-cta { flex-direction: row; }
}

.drop-menu a { border-bottom: none !important; }


/* ==========================================================================
   DARK MODE
   1) Follows the visitor's device automatically…
   2) …unless they choose a theme with the header toggle (data-theme attr)
   ========================================================================== */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #120a18;
    --surface: #1b1223;
    --text: #f1edf7;
    --line: rgba(241, 237, 247, 0.14);
    --shadow: 0 14px 40px rgba(0, 0, 0, 0.55);
  }
  :root:not([data-theme="light"]) .eyebrow { color: var(--gold); border-color: var(--gold); }
  :root:not([data-theme="light"]) .card .tag { color: var(--gold); }
  :root:not([data-theme="light"]) .card-link { color: var(--gold); }
  :root:not([data-theme="light"]) .gallery-tab { border-color: var(--gold); color: var(--gold); }
  :root:not([data-theme="light"]) .gallery-tab.active, :root:not([data-theme="light"]) .gallery-tab:hover { background: var(--gold); color: #120a18; }
  :root:not([data-theme="light"]) .preset { border-color: var(--gold); color: var(--gold); }
  :root:not([data-theme="light"]) .preset.active, :root:not([data-theme="light"]) .preset:hover { background: var(--gold); color: #120a18; }
  :root:not([data-theme="light"]) .quote-card cite { color: var(--gold); }
  :root:not([data-theme="light"]) .event-date b { color: var(--gold); }
  :root:not([data-theme="light"]) .form-msg.ok { color: #7ee0a8; }
  :root:not([data-theme="light"]) .form-msg.err { color: #ff9b8a; }
  :root:not([data-theme="light"]) .gallery-item { background: #241a2e; }
  :root:not([data-theme="light"]) .btn--ghost { color: var(--gold) !important; border-color: var(--gold) !important; }
  :root:not([data-theme="light"]) .btn--purple { background: #5b1a7e; }
  :root:not([data-theme="light"]) .btn--purple:hover { background: #6e2496; }
  :root:not([data-theme="light"]) .press-strip b, :root:not([data-theme="light"]) .press-strip span { color: var(--text); }
}

:root[data-theme="dark"] {
    --bg: #120a18;
    --surface: #1b1223;
    --text: #f1edf7;
    --line: rgba(241, 237, 247, 0.14);
    --shadow: 0 14px 40px rgba(0, 0, 0, 0.55);
  }
  [data-theme="dark"] .eyebrow { color: var(--gold); border-color: var(--gold); }
  [data-theme="dark"] .card .tag { color: var(--gold); }
  [data-theme="dark"] .card-link { color: var(--gold); }
  [data-theme="dark"] .gallery-tab { border-color: var(--gold); color: var(--gold); }
  [data-theme="dark"] .gallery-tab.active, [data-theme="dark"] .gallery-tab:hover { background: var(--gold); color: #120a18; }
  [data-theme="dark"] .preset { border-color: var(--gold); color: var(--gold); }
  [data-theme="dark"] .preset.active, [data-theme="dark"] .preset:hover { background: var(--gold); color: #120a18; }
  [data-theme="dark"] .quote-card cite { color: var(--gold); }
  [data-theme="dark"] .event-date b { color: var(--gold); }
  [data-theme="dark"] .form-msg.ok { color: #7ee0a8; }
  [data-theme="dark"] .form-msg.err { color: #ff9b8a; }
  [data-theme="dark"] .gallery-item { background: #241a2e; }
  [data-theme="dark"] .btn--ghost { color: var(--gold) !important; border-color: var(--gold) !important; }
  [data-theme="dark"] .btn--purple { background: #5b1a7e; }
  [data-theme="dark"] .btn--purple:hover { background: #6e2496; }
  [data-theme="dark"] .press-strip b, [data-theme="dark"] .press-strip span { color: var(--text); }

/* ---------- Theme toggle button ---------- */
.theme-toggle {
  margin-left: auto;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 197, 1, 0.55);
  background: transparent;
  color: var(--gold);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.theme-toggle:hover { background: rgba(255, 197, 1, 0.12); }
@media (min-width: 721px) {
  .theme-toggle { margin-left: 0; order: 5; }
}
