/* ============================================================
   Scott Means for Alameda City Council — Campaign Website
   Branding: Island Teal · Mandarin · Shoreline Sand
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,900;1,700&family=Source+Sans+3:wght@400;600;700&display=swap');

/* ── DESIGN TOKENS ── */
:root {
  --teal:     #1c8278;   /* Island Teal – primary */
  --orange:   #d4622a;   /* Mandarin – accent */
  --sand:     #f5edd8;   /* Shoreline Sand – neutral bg */
  --deep:     #0d5c63;   /* Deep Water – secondary */
  --dark:     #0d1f2d;   /* Night Tide – dark */
  --cream:    #f0e6c8;   /* Cream – text on dark */
  --teal-lt:  #e6f3f1;   /* Light teal tint */
  --sand-dk:  #ede0c4;   /* Slightly darker sand */

  --ff-head: 'Playfair Display', Georgia, serif;
  --ff-body: 'Source Sans 3', Calibri, Arial, sans-serif;

  --max-w:    1120px;
  --pad-x:    1.5rem;
  --section-y: 5rem;
  --radius:   6px;
  --radius-lg: 14px;
  --shadow:   0 2px 12px rgba(13,31,45,.10);
  --shadow-lg: 0 8px 32px rgba(13,31,45,.15);
  --ease:     200ms ease;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; font-size: 16px; }
body  {
  font-family: var(--ff-body);
  color: var(--dark);
  background: var(--sand);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img   { max-width: 100%; display: block; }
a     { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
address { font-style: normal; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { font-family: var(--ff-head); font-weight: 700; line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.1rem; }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: block;
  font-family: var(--ff-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.6rem;
}

.rule {
  width: 44px; height: 3px;
  background: var(--orange);
  border: none;
  margin: 0.65rem 0 1.5rem;
}
.rule.center { margin-left: auto; margin-right: auto; }

/* ── LAYOUT ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}
.section { padding-block: var(--section-y); }

.bg-sand  { background: var(--sand); }
.bg-white { background: #fff; }
.bg-teal  { background: var(--teal); }
.bg-deep  { background: var(--deep); }
.bg-dark  { background: var(--dark); }
.bg-teal-lt { background: var(--teal-lt); }

.bg-teal  h1, .bg-teal  h2, .bg-teal  h3,
.bg-deep  h1, .bg-deep  h2, .bg-deep  h3,
.bg-dark  h1, .bg-dark  h2, .bg-dark  h3 { color: var(--cream); }

.bg-teal  .eyebrow,
.bg-deep  .eyebrow,
.bg-dark  .eyebrow { color: rgba(240,230,200,.7); }

.bg-teal  p, .bg-deep  p, .bg-dark  p { color: rgba(240,230,200,.88); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: var(--ease);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: #be571f; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(212,98,42,.35); }

.btn-secondary { background: var(--teal); color: #fff; }
.btn-secondary:hover { background: #177268; transform: translateY(-1px); }

.btn-outline-light { border-color: rgba(240,230,200,.45); color: var(--cream); }
.btn-outline-light:hover { background: rgba(240,230,200,.1); border-color: var(--cream); }

.btn-outline-dark { border-color: var(--dark); color: var(--dark); }
.btn-outline-dark:hover { background: var(--dark); color: var(--cream); }

.btn-light { background: var(--cream); color: var(--dark); }
.btn-light:hover { background: #fff; transform: translateY(-1px); }

.btn-lg { padding: 0.95rem 2.5rem; font-size: 0.9rem; }

/* ── NAVIGATION ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--dark);
  box-shadow: 0 2px 10px rgba(0,0,0,.35);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 0.8rem var(--pad-x);
  gap: 1rem;
}
.nav-brand { display: flex; flex-direction: column; line-height: 1; }
.nav-brand-first {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: rgba(240,230,200,.65);
  text-transform: uppercase;
  font-weight: 700;
}
.nav-brand-last {
  font-family: var(--ff-head);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-links a {
  display: block;
  padding: 0.4rem 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(240,230,200,.82);
  border-radius: var(--radius);
  transition: var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--orange); }
.nav-links .nav-donate {
  background: var(--orange);
  color: #fff;
  padding: 0.4rem 1.1rem;
  margin-left: 0.4rem;
  border-radius: var(--radius);
}
.nav-links .nav-donate:hover { background: #be571f; color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.4rem;
  border-radius: var(--radius);
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--cream);
  transition: var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ── */
.hero {
  background: var(--dark);
  color: var(--cream);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 15% 60%, rgba(13,92,99,.35) 0%, transparent 60%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding-block: 1.5rem 2rem;
  width: 100%;
}
.hero-content { position: relative; z-index: 1; }
.hero-photo-col {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  padding-top: 1rem;
}
/* Orange offset block gives depth / framing */
.hero-photo-wrap {
  position: relative;
  width: 100%;
  max-width: 420px;
}
.hero-photo-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--orange);
  border-radius: var(--radius-lg);
  transform: translate(-14px, 14px);
  opacity: .75;
  z-index: 0;
}
.hero-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  position: relative;
  z-index: 1;
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
}
.hero-wordmark { display: block; font-family: var(--ff-head); font-weight: 900; line-height: 0.9; }
.hero-wordmark .w-scott {
  display: block;
  font-size: clamp(2.2rem, 5.5vw, 4.25rem);
  letter-spacing: 0.2em;
  color: var(--cream);
  text-transform: uppercase;
}
.hero-wordmark .w-means {
  display: block;
  font-size: clamp(4rem, 14vw, 10.5rem);
  color: var(--orange);
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.hero-sub {
  font-family: var(--ff-head);
  font-size: clamp(0.8rem, 1.8vw, 1.1rem);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(240,230,200,.6);
  margin-top: 0.4rem;
}
.hero-tagline {
  margin-top: 2.25rem;
  font-family: var(--ff-head);
  font-size: clamp(1.4rem, 3.5vw, 2.25rem);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.2;
}
.hero-tagline .accent { color: var(--orange); }
.hero-body {
  margin-top: 1rem;
  max-width: 540px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(240,230,200,.85);
}
.hero-ctas {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Wave divider */
.wave {
  line-height: 0;
  overflow: hidden;
  display: block;
}
.wave svg { display: block; width: 100%; }

/* ── SCROLL OFFSET for sticky nav ── */
section[id] { scroll-margin-top: 64px; }

/* ── PAGE HEADER ── */
.page-header {
  background: var(--deep);
  padding: 4rem var(--pad-x) 3.5rem;
}
.page-header-inner { max-width: var(--max-w); margin-inline: auto; }
.page-header h1 { color: var(--cream); }
.page-header .lead {
  margin-top: 0.75rem;
  font-size: 1.05rem;
  color: rgba(240,230,200,.8);
  max-width: 580px;
  line-height: 1.6;
}

/* ── PILLAR CARDS ── */
.pillar-card {
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem 2.5rem;
  position: relative;
  overflow: hidden;
}
.pillar-card h3 { color: var(--cream); margin-bottom: 0.75rem; }
.pillar-card .eyebrow { color: rgba(255,255,255,.55); }
.pillar-card p, .pillar-card li { color: rgba(255,255,255,.85); font-size: 0.92rem; }
.pillar-card li {
  padding: 0.35rem 0 0.35rem 1.2rem;
  position: relative;
  line-height: 1.5;
}
.pillar-card li::before {
  content: '▪';
  position: absolute;
  left: 0;
  color: var(--orange);
}
.pillar-bg-teal { background: var(--teal); }
.pillar-bg-orange { background: var(--orange); }
.pillar-bg-orange li::before { color: var(--dark); }
.pillar-bg-deep { background: var(--deep); }
.pillar-num {
  position: absolute;
  bottom: -1rem;
  right: 0.75rem;
  font-family: var(--ff-head);
  font-weight: 900;
  font-size: 8rem;
  color: rgba(255,255,255,.06);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* ── QUOTE BLOCK ── */
.quote-block {
  border-left: 4px solid var(--orange);
  padding: 0.85rem 1.5rem;
  margin: 2rem 0;
}
.quote-block blockquote {
  font-family: var(--ff-head);
  font-size: clamp(1.05rem, 2.2vw, 1.4rem);
  font-style: italic;
  line-height: 1.45;
}
.quote-block cite {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
}

/* Large centered quote */
.quote-hero {
  text-align: center;
  padding: var(--section-y) var(--pad-x);
}
.quote-hero blockquote {
  font-family: var(--ff-head);
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-style: italic;
  max-width: 820px;
  margin-inline: auto;
  line-height: 1.4;
}
.quote-hero cite {
  display: block;
  margin-top: 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
}

/* ── SNAPSHOT TABLE ── */
.snapshot-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.snapshot-table tr { border-bottom: 1px solid rgba(13,31,45,.1); }
.snapshot-table tr:last-child { border-bottom: none; }
.snapshot-table td { padding: 0.85rem 1rem; vertical-align: top; }
.snapshot-table td:first-child {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  white-space: nowrap;
  width: 155px;
  padding-left: 0;
}

/* ── BADGES ── */
.badge-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.5rem 0; }
.badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 40px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.badge-teal   { background: var(--teal);   color: #fff; }
.badge-orange { background: var(--orange); color: #fff; }
.badge-deep   { background: var(--deep);   color: #fff; }
.badge-dark   { background: var(--dark);   color: #fff; }

/* ── IMAGE PLACEHOLDER ── */
.img-ph {
  background: linear-gradient(135deg, var(--deep) 0%, var(--teal) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.25);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ── CTA BANNER ── */
.cta-banner {
  padding: var(--section-y) var(--pad-x);
  text-align: center;
}
.cta-banner h2 { color: var(--cream); }
.cta-banner .cta-lead {
  margin-top: 0.75rem;
  margin-bottom: 1.75rem;
  font-size: 1.1rem;
  color: rgba(240,230,200,.8);
  max-width: 540px;
  margin-inline: auto;
  display: block;
}
.cta-pair { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ── 90-DAY BOX ── */
.ninety-box {
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.ninety-box h4 {
  color: var(--orange);
  font-family: var(--ff-body);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.ninety-box li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: 0.9rem;
  color: rgba(240,230,200,.85);
  line-height: 1.5;
}
.ninety-box li:last-child { border-bottom: none; }
.ninety-icon {
  width: 30px;
  height: 30px;
  min-width: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

/* ── FORMS ── */
.form-wrap {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--deep);
}
.form-field input,
.form-field select,
.form-field textarea {
  padding: 0.7rem 1rem;
  border: 1.5px solid rgba(13,92,99,.22);
  border-radius: var(--radius);
  font-family: var(--ff-body);
  font-size: 1rem;
  color: var(--dark);
  background: #fff;
  transition: var(--ease);
  width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(28,130,120,.14);
}
.form-field textarea { min-height: 130px; resize: vertical; }

/* ── INTEGRATION PLACEHOLDER ── */
.integration-ph {
  background: #fff;
  border: 2px dashed rgba(28,130,120,.3);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
}
.integration-ph .ph-title {
  font-family: var(--ff-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.5rem;
}
.integration-ph p { font-size: 0.85rem; color: #888; margin-top: 0.4rem; }
.integration-ph code {
  font-size: 0.78rem;
  background: var(--teal-lt);
  color: var(--deep);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

/* ── EVENT CARDS ── */
.event-list { display: flex; flex-direction: column; gap: 1.25rem; }
.event-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 1.25rem;
  align-items: start;
}
.event-date {
  background: var(--teal);
  color: #fff;
  border-radius: var(--radius);
  padding: 0.6rem 0.5rem;
  text-align: center;
}
.event-date .month {
  display: block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.event-date .day {
  display: block;
  font-family: var(--ff-head);
  font-size: 1.85rem;
  font-weight: 900;
  line-height: 1;
}
.event-info h4 { font-size: 1rem; margin-bottom: 0.3rem; }
.event-info p  { font-size: 0.88rem; color: #666; }
.event-meta { display: flex; gap: 1rem; font-size: 0.78rem; font-weight: 600; color: var(--deep); margin-top: 0.4rem; }

/* ── ENDORSEMENT CARDS ── */
.endorse-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--teal);
}
.endorse-card .name { font-weight: 700; font-size: 1rem; }
.endorse-card .title { font-size: 0.82rem; color: var(--deep); margin-top: 0.15rem; }
.endorse-card .quote { font-size: 0.88rem; color: #555; margin-top: 0.75rem; font-style: italic; }

/* ── CONTACT INFO ── */
.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.contact-item h4 {
  font-family: var(--ff-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.4rem;
}
.contact-item a { color: var(--teal); font-weight: 600; }
.contact-item a:hover { color: var(--orange); }

.social-row { display: flex; gap: 0.65rem; margin-top: 0.5rem; }
.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--teal-lt);
  color: var(--deep);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: var(--ease);
  border: 2px solid transparent;
}
.social-btn:hover { background: var(--teal); color: #fff; }

/* ── FEATURE ROW ── */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.feature-row.flip { direction: rtl; }
.feature-row.flip > * { direction: ltr; }

/* ── FOOTER ── */
.site-footer {
  background: var(--dark);
  color: var(--cream);
  padding: 3.5rem var(--pad-x) 0;
}
.footer-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}
.footer-wordmark {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1.15;
  color: var(--cream);
}
.footer-wordmark span { color: var(--orange); }
.footer-tagline {
  font-size: 0.82rem;
  opacity: 0.55;
  margin-top: 0.2rem;
}
.footer-disclaimer {
  margin-top: 1.25rem;
  font-size: 0.72rem;
  opacity: 0.45;
  line-height: 1.6;
}
.footer-col h5 {
  font-family: var(--ff-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.85rem;
}
.footer-col ul li { margin-bottom: 0.4rem; }
.footer-col ul li a { font-size: 0.88rem; opacity: 0.7; transition: var(--ease); }
.footer-col ul li a:hover { opacity: 1; color: var(--orange); }
.footer-col address { font-size: 0.88rem; opacity: 0.7; line-height: 1.7; }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1rem; }
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  font-size: 0.72rem;
  font-weight: 700;
  opacity: 0.7;
  transition: var(--ease);
}
.footer-social a:hover { background: var(--orange); opacity: 1; }
.footer-bottom {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.73rem;
  opacity: 0.4;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ── UTILITIES ── */
.text-center { text-align: center; }
.text-orange { color: var(--orange); }
.text-teal   { color: var(--teal); }
.mt-sm { margin-top: 0.5rem; }
.mt-1  { margin-top: 1rem; }
.mt-2  { margin-top: 1.5rem; }
.mt-3  { margin-top: 2rem; }
.mt-4  { margin-top: 3rem; }
.mb-1  { margin-bottom: 1rem; }
.mb-2  { margin-bottom: 1.5rem; }
.narrow { max-width: 680px; }
.narrow-sm { max-width: 520px; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .grid-3      { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .feature-row { grid-template-columns: 1fr; }
  .feature-row.flip { direction: ltr; }
}

@media (max-width: 680px) {
  :root { --section-y: 3rem; }

  .grid-2      { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; padding-bottom: 2rem; }
  .form-grid   { grid-template-columns: 1fr; }
  .form-field.full { grid-column: auto; }

  /* Hero stacks: photo on top, text below */
  .hero-grid {
    grid-template-columns: 1fr;
    padding-block: 1.5rem 2rem;
    gap: 2.5rem;
  }
  .hero-photo-col {
    order: -1;
    justify-content: center;
    padding-top: 0;
  }
  .hero-photo-wrap { max-width: 280px; }

  .nav-toggle  { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--dark);
    flex-direction: column;
    padding: 0.75rem var(--pad-x) 1.25rem;
    border-top: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 8px 20px rgba(0,0,0,.3);
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 0.7rem 0;
    font-size: 0.88rem;
    border-bottom: 1px solid rgba(255,255,255,.07);
  }
  .nav-links li:last-child a { border-bottom: none; }
  .nav-links .nav-donate { margin-left: 0; margin-top: 0.4rem; text-align: center; }

  .hero-wordmark .w-scott { font-size: 2rem; }
  .hero-wordmark .w-means { font-size: 5.5rem; }
  .page-header { padding: 3rem var(--pad-x) 2.5rem; }
}

/* ── KOENIG EDITOR (Ghost content renderer) ── */
.gh-content .kg-width-wide {
  position: relative;
  width: 85vw;
  min-width: 100%;
  margin: 1.5em auto;
  transform: translateX(calc(50% - 50vw + var(--pad-x)));
}
.gh-content .kg-width-full {
  position: relative;
  width: 100vw;
  margin: 1.5em auto;
  transform: translateX(calc(50% - 50vw));
}
.kg-image { max-width: 100%; height: auto; display: block; }
.kg-image-card { margin: 1.5em 0; }
.kg-image-card img { margin: 0 auto; }

.kg-gallery-container { display: flex; flex-direction: column; max-width: 100%; width: 100%; }
.kg-gallery-row { display: flex; flex-direction: row; justify-content: center; gap: 4px; margin-bottom: 4px; }
.kg-gallery-image { flex: 1 1 auto; cursor: zoom-in; }
.kg-gallery-image img { display: block; width: 100%; height: 100%; object-fit: cover; }

.kg-bookmark-card { width: 100%; margin: 1.5em 0; }
.kg-bookmark-container {
  display: flex;
  color: inherit;
  font-family: inherit;
  text-decoration: none;
  border: 1px solid rgba(13,31,45,.12);
  border-radius: var(--radius);
  overflow: hidden;
}
.kg-bookmark-container:hover { border-color: var(--teal); }
.kg-bookmark-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 1.25rem;
}
.kg-bookmark-title { font-size: 0.95rem; font-weight: 700; color: var(--dark); }
.kg-bookmark-description { font-size: 0.85rem; color: #666; margin-top: 0.25rem; }
.kg-bookmark-metadata {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: #888;
  margin-top: 0.75rem;
}
.kg-bookmark-icon { width: 1rem; height: 1rem; }
.kg-bookmark-author,
.kg-bookmark-publisher { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kg-bookmark-thumbnail { width: 33%; min-width: 33%; }
.kg-bookmark-thumbnail img { width: 100%; height: 100%; object-fit: cover; }

.kg-callout-card {
  display: flex;
  gap: 0.75rem;
  padding: 1.25rem;
  background: var(--teal-lt);
  border-radius: var(--radius);
  margin: 1.5em 0;
}
.kg-callout-emoji { font-size: 1.25rem; }
.kg-callout-text { font-size: 0.95rem; }

.kg-toggle-card { border: 1px solid rgba(13,31,45,.12); border-radius: var(--radius); margin: 1.5em 0; }
.kg-toggle-heading { display: flex; justify-content: space-between; padding: 1rem 1.25rem; cursor: pointer; font-weight: 700; }
.kg-toggle-content { padding: 0 1.25rem 1rem; }

.kg-video-card { margin: 1.5em 0; }
.kg-video-card video { width: 100%; height: auto; display: block; border-radius: var(--radius); }

.kg-audio-card { display: flex; align-items: center; gap: 1rem; background: var(--teal-lt); border-radius: var(--radius); padding: 1rem 1.25rem; margin: 1.5em 0; }
.kg-audio-thumbnail { width: 48px; height: 48px; object-fit: cover; border-radius: 4px; }
.kg-audio-player-container { flex: 1; }

.kg-file-card { margin: 1.5em 0; }
.kg-file-card-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(13,31,45,.12);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
}
.kg-file-card-container:hover { border-color: var(--teal); }
.kg-file-card-contents { flex: 1; }
.kg-file-card-title { font-weight: 700; font-size: 0.95rem; }
.kg-file-card-caption { font-size: 0.82rem; color: #888; margin-top: 0.2rem; }
.kg-file-card-metadata { font-size: 0.75rem; color: #aaa; margin-top: 0.2rem; }
.kg-file-card-icon { width: 2.5rem; height: 2.5rem; color: var(--teal); }

.kg-header-card { padding: var(--section-y) var(--pad-x); text-align: center; }
.kg-header-card h2 { color: inherit; }

.kg-product-card { display: flex; gap: 1.5rem; align-items: flex-start; margin: 1.5em 0; padding: 1.5rem; border: 1px solid rgba(13,31,45,.12); border-radius: var(--radius); }
.kg-product-card-image { width: 120px; height: 120px; object-fit: cover; border-radius: var(--radius); }
.kg-product-card-title { font-weight: 700; font-size: 1.1rem; margin-bottom: 0.4rem; }
.kg-product-card-rating { display: flex; gap: 0.2rem; margin-bottom: 0.5rem; }
.kg-product-card-rating-active { color: var(--orange); }
.kg-product-card-button { display: inline-block; margin-top: 0.75rem; }

.kg-nft-card { margin: 1.5em 0; }
.kg-nft-card a { display: block; border: 1px solid rgba(13,31,45,.12); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; }

.kg-hr-card { border: none; border-top: 1px solid rgba(13,31,45,.12); margin: 2em 0; }

@media (max-width: 680px) {
  .gh-content .kg-width-wide,
  .gh-content .kg-width-full { transform: none; width: 100%; margin-left: calc(var(--pad-x) * -1); margin-right: calc(var(--pad-x) * -1); width: calc(100% + var(--pad-x) * 2); }
  .kg-bookmark-thumbnail { display: none; }
  .kg-product-card { flex-direction: column; }
  .kg-product-card-image { width: 100%; height: auto; }
}
