/* ═══════════════════════════════════════════════════════════ */
/* styles.css — VocalPrint: The Living Sound Museum            */
/* ═══════════════════════════════════════════════════════════ */

/* ─── RESET ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ─── TOKENS ─────────────────────────────────────────────── */
:root {
  --teal:          #245d55;
  --teal-dark:     #0D3528;
  --cream:         #f1e8cf;
  --off-white:     #F5EDD6;
  --dark-brown:    #2D1818;
  --copper:        #804E1C;
  --sand:          #DDD0AE;
  --muted-gold:    #9A7F2E;
  --gold:          #D1B266;
  --purple:        #502739;
  --gold-faint:    rgba(209,178,102,0.18);
  --cream-faint:   rgba(255,246,225,0.08);

  /* Font stacks — matched to PDF design deck roles:
     BrightWall (primary titles) → Permanent Marker
     Barlow Condensed (section titles) → Roboto Condensed
     Cakerolli (body text) → Baloo 2                      */
  --font-serif:    'Playfair Display', Georgia, serif;
  --font-sans:     'DM Sans', system-ui, sans-serif;
  --font-condensed:'Roboto Condensed', 'Arial Narrow', Arial, sans-serif;
  --font-marker:   'Permanent Marker', 'Caveat', cursive;
  --font-rounded:  'Baloo 2', 'Fredoka One', cursive;
}

/* ─── BASE ───────────────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-rounded);  /* Baloo 2 — Cakerolli substitute for body text */
  font-size: 18px;
  line-height: 1.75;
  color: var(--dark-brown);
  background: var(--cream);
  overflow-x: hidden;
}

/* ─── TYPOGRAPHY ─────────────────────────────────────────── */

/* h1 / primary display titles — Permanent Marker (BrightWall substitute) */
h1 {
  font-family: var(--font-marker);
  line-height: 1.1;
  font-size: clamp(2.6rem, 5.5vw, 5rem);
  font-weight: 400; /* Permanent Marker is inherently bold */
}

/* h2 / h3 / section titles — Roboto Condensed (Barlow Condensed substitute) */
h2 {
  font-family: var(--font-condensed);
  line-height: 1.08;
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  font-weight: 600;
}

h3 {
  font-family: var(--font-condensed);
  line-height: 1.1;
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  font-weight: 600;
}

/* blockquote — Playfair Display for italic pull quotes (editorial contrast) */
blockquote {
  font-family: var(--font-serif);
  line-height: 1.12;
}

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

/* Eyebrow / exhibit label — Roboto Condensed (Barlow Condensed substitute) */
.eyebrow {
  font-family: var(--font-condensed);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: inline-block;
  padding: 0.28em 0.75em;
  border: 1px solid currentColor;
  margin-bottom: 1.6rem;
  color: var(--muted-gold);
}

/* ─── LAYOUT ─────────────────────────────────────────────── */
.container {
  width: min(1160px, 90%);
  margin-inline: auto;
}

section { padding: 7rem 0; position: relative; }

/* ─── SECTION BACKGROUNDS ────────────────────────────────── */
.bg-teal-dark { background: var(--teal-dark); color: var(--cream); }
.bg-teal      { background: var(--teal);      color: var(--cream); }
.bg-cream     { background: var(--cream);     color: var(--dark-brown); }
.bg-off-white { background: var(--off-white); color: var(--dark-brown); }
.bg-purple    { background: var(--purple);    color: var(--cream); }

/* ─── NAV ────────────────────────────────────────────────── */
#site-nav {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 200;
  padding: 1.1rem 0;
  background: rgba(10, 42, 30, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(209,178,102,0.15);
  transition: background 0.3s;
}

#site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.nav-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.nav-text { display: flex; flex-direction: column; gap: 1px; }

.nav-name {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--cream);
  line-height: 1;
}

.nav-sub {
  font-family: var(--font-condensed);
  font-size: 0.65rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted-gold);
  line-height: 1;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2.2rem;
}

nav a {
  font-family: var(--font-condensed);
  color: rgba(255,246,225,0.65);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.2s;
}
nav ul a {
  position: relative;
}
nav ul a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #ffd671;
  transition: width 0.3s ease-in;
}
nav ul a:hover {
  color: #ffd671;
}
nav ul a:not(.nav-cta):hover::after {
  width: 100%;
}
.nav-cta {
  background: #ffd671 !important;
  color: #153d2e !important;
  padding: 0.45em 1.1em;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 0.1em;
  transition: background 0.25s, color 0.25s;
}
.nav-cta:hover {
  background: #153d2e !important;
  color: #ffd671 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

/* Hamburger button — hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--cream, #fff6e1);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease, background 0.2s ease;
}
.nav-toggle:hover span {
  background: #ffd671;
}
/* X state */
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ─── HERO ───────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 9rem 2rem 6rem;
  background: #000;
  overflow: hidden;
}

.hero-stamp {
  position: absolute;
  top: 30%;
  margin-top: -150px; /* half of 300px height */
  height: 300px;
  width: auto;
  opacity: 0;
  pointer-events: none;
  user-select: none;
  z-index: 10;
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.hero-stamp--left {
  left: 3%;
  transform: translateX(-90px);
}

.hero-stamp--right {
  right: 3%;
  transform: translateX(90px);
}

.hero-stamp.visible {
  opacity: 0.3;
  transform: translateX(0);
}

@media (max-width: 768px) {
  .hero-stamp { display: none; }
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 38%, rgba(34,102,92,0.5) 0%, transparent 65%),
    radial-gradient(ellipse 40% 30% at 20% 80%, rgba(209,178,102,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 30% 25% at 80% 20%, rgba(128,78,28,0.05) 0%, transparent 55%);
  pointer-events: none;
  z-index: 1;
}

#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('graphics/illustrations/rosetta4.webp') center center / cover no-repeat;
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
}

/* Ensure hero content sits above pseudo-elements */
#hero > * { position: relative; z-index: 2; }
/* Restore absolute positioning for elements that need it */
#hero > .scroll-hint { position: absolute; z-index: 2; }
#hero > .hero-stamp  { position: absolute; }

/* hero status rectangle — replaces logo-wrap + badge */
.hero-logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 2.4rem;
}

.hero-mark {
  width: 120px;
  height: 120px;
  display: block;
  margin-bottom: 0.5rem;
}

.hero-wordmark {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--cream);
  text-transform: uppercase;
}

.hero-sub-wordmark {
  font-family: var(--font-condensed);
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(226, 227, 223, 0.7);;
}

.hero-status-rect {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  border: 1.6px solid #d1b266;
  border-radius: 9999px;
  padding: 0.55em 1.8em;
  font-family: var(--font-condensed);
  font-size: clamp(0.65rem, 1.1vw, 0.8rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffd671;
  margin-top: 1rem;
  background: rgba(14, 51, 37, 0.5);
}

.hero-rect-dot {
  width: 4px; height: 4px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0.7;
  display: inline-block;
}

#hero h1 .h1-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.1rem, 3.2vw, 2.2rem);
  letter-spacing: 0.02em;
  color: var(--cream)
  display: block;
  line-height: 1.2;
  margin-top: 0.3em;
}

.hero-badge-dot {
  width: 4px; height: 4px;
  background: var(--gold);
  border-radius: 50%;
  display: inline-block;
}

#hero h1 {
  color: var(--cream);
  max-width: 16ch;
  margin-bottom: 1.6rem;
  margin-top: 0.8rem;
  position: relative;
}

#hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero-rule {
  width: clamp(120px, 20vw, 240px);
  height: 2px;
  background: #E5C36F;
  margin: 0 auto 2.2rem;
}

.hero-intro {
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  color: rgba(255,246,225,0.75);
  max-width: 68ch;
  line-height: 1.8;
  margin: 0 auto 3.5rem;
}

.hero-waveform {
  width: min(560px, 85%);
  margin: 0 auto;
  opacity: 0.28;
}

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: #d1b266;
  font-family: var(--font-condensed);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  animation: scrollBob 2s ease-in-out infinite;
}

.scroll-hint::after {
  content: '';
  display: block;
  width: 11px;
  height: 11px;
  border-right: 1.5px solid #d1b266;
  border-bottom: 1.5px solid #d1b266;
  transform: rotate(45deg);
  margin-top: 2px;
}

@keyframes scrollBob {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.5; }
  50%       { transform: translateX(-50%) translateY(6px); opacity: 1; }
}

/* ─── SECTION DIVIDERS — clean border lines ──────────────── */
/*
 * Replaces the former zigzag wave path dividers.
 * Each divider is a minimal SVG: top-half fill / bottom-half fill /
 * single gold hairline at the seam. No curves, no zigzags.
 */
.divider {
  display: block;
  width: 100%;
  line-height: 0;
  overflow: hidden;
}

/* ─── SECTION HEADER ─────────────────────────────────────── */
.section-header { margin-bottom: 3.5rem; }

.bg-teal .eyebrow,
.bg-teal-dark .eyebrow {
  color: var(--gold);
  border-color: rgba(209,178,102,0.45);
}

/* ─── STAMP CARDS ────────────────────────────────────────── */
.stamp {
  position: relative;
  padding: 2.5rem;
  border: 1.5px dashed var(--gold);
}

.stamp::after {
  content: '';
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(209,178,102,0.18);
  pointer-events: none;
}

.bg-cream .stamp,
.bg-off-white .stamp {
  border-color: var(--muted-gold);
}

.bg-cream .stamp::after,
.bg-off-white .stamp::after {
  border-color: rgba(154,127,46,0.18);
}

/* Green stamp badge — top-left corner, number inside */
.stamp-badge {
  position: absolute;
  top: -14px;
  left: -14px;
  width: 46px;
  height: 46px;
  background: var(--teal);
  border: 1.5px dashed var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-marker);
  font-size: 1rem;
  color: var(--gold);
  z-index: 2;
  letter-spacing: 0;
}

.bg-teal .stamp-badge {
  background: var(--teal-dark);
  border-color: var(--gold);
}

/* Stamp number label below badge */
.stamp-num {
  font-family: var(--font-condensed);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-gold);
  display: block;
  margin-bottom: 0.5rem;
  margin-top: 0.4rem;
}

.bg-teal .stamp-num { color: var(--gold); opacity: 0.7; }

/* Space between h3 and stat-group / card-inline-quote */
.stamp h3 { margin-bottom: 0.9rem; }

/* Stat/quote rectangle box */
.stat-rect {
  border: 1px solid rgba(209,178,102,0.4);
  background: rgba(209,178,102,0.2);
  padding: 0.8rem 1rem;
  margin-bottom: 1rem;
}

/* Exhibit 02 (teal bg) — darker/more prominent stat boxes */
.bg-teal .stat-rect {
  border: 1.5px solid var(--gold);
  background: rgba(13, 53, 40, 0.6);
  padding: 1rem 1.2rem;
}

/* ─── GRIDS ──────────────────────────────────────────────── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
  gap: 1.6rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.6rem;
}

/* ─── PULL QUOTE ─────────────────────────────────────────── */
.pullquote {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-style: italic;
  line-height: 1.6;
  border-left: 3px solid var(--gold);
  padding: 0.8rem 2rem;
  margin: 2.5rem 0;
  max-width: 64ch;
}

.bg-teal .pullquote       { color: rgba(255,246,225,0.88); }
.bg-cream .pullquote      { color: var(--dark-brown); border-color: var(--purple); }
.bg-off-white .pullquote  { color: var(--dark-brown); border-color: var(--purple); }

/* ─── STAT DISPLAY ───────────────────────────────────────── */
.stat-group {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin: 1.2rem 0 1rem;
}

.stat-figure {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1;
  color: var(--purple);
}

.bg-teal .stat-figure,
.bg-teal-dark .stat-figure { color: var(--gold); }

.stat-caption {
  font-family: var(--font-condensed);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-gold);
}

/* ─── PROBLEM SECTION ────────────────────────────────────── */
#problem { background: var(--cream); }

.problem-lead {
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.85;
  max-width: 66ch;
  margin-bottom: 3rem;
  color: #4A2820;
}

.card-body {
  font-size: 1rem;
  line-height: 1.7;
  color: #5A3428;
  margin: 0;
}

.card-inline-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--purple);
  border-left: 2px solid var(--purple);
  padding-left: 1rem;
  margin: 0.8rem 0;
  line-height: 1.55;
}

.card-source {
  font-family: var(--font-condensed);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--muted-gold);
  display: block;
  margin-top: 0.4rem;
}

/* ─── BUILDING SECTION ───────────────────────────────────── */
#building { background: var(--teal); }

.manifesto-text {
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.85;
  color: rgba(255,246,225,0.88);
  max-width: 64ch;
  margin-bottom: 3rem;
}

/* Phase label — Roboto Condensed (Barlow Condensed substitute) */
.phase-label {
  font-family: var(--font-condensed);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.6rem;
  opacity: 0.8;
}

.phase-card-body {
  font-size: 1rem;
  color: rgba(255,246,225,0.78);
  line-height: 1.7;
  margin: 0.7rem 0 0;
}

.phase-meta {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(209,178,102,0.18);
}

.phase-meta-label {
  font-family: var(--font-condensed);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.7;
}

.phase-meta-value {
  font-size: 0.92rem;
  color: rgba(255,246,225,0.65);
  margin-top: 0.2rem;
}

/* ─── HOW SECTION ────────────────────────────────────────── */
/* #how { background: var(--off-white); } */

.governance-lead {
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.85;
  max-width: 64ch;
  margin-bottom: 0.8rem;
}

.governance-sub {
  font-size: 1rem;
  color: #5A3428;
  max-width: 66ch;
  margin-bottom: 3rem;
}

.doc-list-label {
  font-family: var(--font-condensed);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-gold);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.doc-list-label img {
  width: 20px;
  height: 20px;
  opacity: 0.7;
}

.doc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 3rem;
}

.doc-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.2rem 1.5rem;
  border-left: 2px solid var(--purple);
  background: rgba(154,127,46,0.04);
  transition: background 0.2s;
}

.doc-item:hover { background: rgba(154,127,46,0.08); }

/* Doc numbers — Fredoka One (Cakerolli substitute: rounded, friendly) */
.doc-n {
  font-family: var(--font-rounded);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--muted-gold);
  line-height: 1;
  flex-shrink: 0;
  min-width: 1.8rem;
}

.doc-n-content { flex: 1; }

.doc-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark-brown);
  margin-bottom: 0.3rem;
}

.doc-desc {
  font-size: 0.95rem;
  color: #5A3428;
  line-height: 1.65;
  margin: 0;
}

/* ─── PURPLE SECTION OVERRIDES (How / Exhibit 03) ───────── */
.bg-purple .eyebrow {
  color: var(--gold);
  border-color: rgba(209,178,102,0.45);
}

.bg-purple .governance-lead,
.bg-purple h2 {
  color: var(--cream);
}

.bg-purple .governance-sub {
  color: rgba(255,246,225,0.7);
}

.bg-purple .doc-list-label {
  color: var(--gold);
  opacity: 0.85;
}

.bg-purple .doc-list {
  counter-reset: doc-counter;
  margin-top: 0.8rem;
}

.bg-purple .doc-item {
  border-left: none;
  background: #733a50;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  counter-increment: doc-counter;
}

.bg-purple .doc-item:nth-child(even) {
  background: #613145;
}

.bg-purple .doc-item:hover {
  filter: brightness(1.06);
}

.bg-purple .doc-item::after {
  content: counter(doc-counter);
  position: absolute;
  right: -8px;
  top: -16px;
  font-family: var(--font-serif);
  font-size: 96px;
  font-weight: 700;
  line-height: 96px;
  color: #e9c349;
  opacity: 0.05;
  pointer-events: none;
}

.bg-purple .doc-n {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  font-weight: 700;
  color: #dac769;
  line-height: 1.2;
}

.bg-purple .doc-title {
  color: #f1e8cf;
}

.bg-purple .doc-desc {
  color: #d4c2c6;
}

.bg-purple .pullquote {
  color: rgba(255,246,225,0.88);
  border-color: var(--gold);
}

.bg-purple .stamp {
  border-color: rgba(209,178,102,0.45);
}

.bg-purple .stamp::after {
  border-color: rgba(209,178,102,0.15);
}

.bg-purple .stamp-badge {
  background: rgba(209,178,102,0.15);
  border-color: var(--gold);
}

.bg-purple .stamp-num { color: var(--gold); opacity: 0.75; }

/* ─── FLYWHEEL ────────────────────────────────────────────── */
.flywheel-wrap {
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  border: 1.5px solid var(--gold);
  border-radius: 4px;
  padding: 2.5rem 2rem 2rem;
  position: relative;
  background: rgba(209,178,102,0.04);
  overflow: hidden;
}

.flywheel-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('graphics/backgrounds/lined-page.svg') center / cover no-repeat;
  opacity: 0.15;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
}

.flywheel-wrap > * {
  position: relative;
  z-index: 1;
}

.flywheel-label {
  font-family: var(--font-condensed);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.9;
}

.flywheel-svg {
  width: 100%;
  max-width: 750px;
  height: auto;
  display: block;
}

/* ─── FOUNDER SECTION ────────────────────────────────────── */
#founder { background: var(--teal); }

.founder-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 5rem;
  align-items: start;
}

.founder-aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
}

.founder-medallion {
  width: 160px;
  height: 160px;
  border: 1.5px dashed rgba(209,178,102,0.55);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.founder-medallion::before {
  content: '';
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(209,178,102,0.22);
  border-radius: 50%;
}

/* Photo fills the medallion; initials show as fallback when no photo */
.founder-photo {
  position: absolute;
  inset: 9px;
  width: calc(100% - 18px);
  height: calc(100% - 18px);
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  z-index: 1;
}

.founder-initial {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.founder-initial-name {
  font-family: var(--font-condensed);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,246,225,0.5);
  margin-top: 0.25rem;
}

.founder-facts {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.fact-item {
  border-bottom: 1px solid rgba(209,178,102,0.12);
  padding-bottom: 0.9rem;
}

.fact-item:last-child { border-bottom: none; padding-bottom: 0; }

.fact-label {
  font-family: var(--font-condensed);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.65;
  margin-bottom: 0.2rem;
}

.fact-value {
  font-size: 0.92rem;
  color: rgba(255,246,225,0.8);
  line-height: 1.4;
}

.fact-value a {
  color: var(--gold);
  text-decoration: none;
}

.founder-body p {
  color: rgba(255,246,225,0.82);
  line-height: 1.8;
}

.founder-body p.dim { color: rgba(255,246,225,0.65); }

/* ─── CONTACT SECTION ────────────────────────────────────── */
#contact { background: var(--cream); overflow: hidden; }

.contact-lead {
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.85;
  max-width: 60ch;
  margin-bottom: 3.5rem;
  color: #4A2820;
}

.audience-card {
  position: relative;
  padding: 2.5rem;
  border: 1.5px dashed var(--muted-gold);
  transition: border-color 0.25s;
}

.audience-card::after {
  content: '';
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(154,127,46,0.14);
  pointer-events: none;
  transition: border-color 0.25s;
}

.audience-card:hover { border-color: var(--purple); }
.audience-card:hover::after { border-color: rgba(80,39,57,0.18); }

.audience-tag {
  font-family: var(--font-condensed);
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-gold);
  border: 1px solid var(--muted-gold);
  padding: 0.22em 0.6em;
  margin-bottom: 1rem;
}

.audience-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.9rem;
  color: var(--dark-brown);
}

.audience-body {
  font-size: 0.95rem;
  color: #5A3428;
  line-height: 1.7;
  margin-bottom: 1.6rem;
}

.cta-link {
  font-family: var(--font-condensed);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple);
  text-decoration: none;
  border-bottom: 1.5px solid var(--purple);
  padding-bottom: 0.08em;
  display: inline-block;
  transition: color 0.2s, border-color 0.2s;
}

.cta-link:hover { color: var(--muted-gold); border-color: var(--muted-gold); }

/* ─── FOOTER ─────────────────────────────────────────────── */
footer {
  background: var(--teal-dark);
  padding: 4.5rem 0 3rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  text-align: center;
}

.footer-rule {
  width: 64px;
  height: 1px;
  background: rgba(209,178,102,0.3);
}

.footer-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--cream);
}

.footer-tagline {
  font-family: var(--font-condensed);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted-gold);
}

.footer-description {
  font-size: 0.92rem;
  color: rgba(255,246,225,0.4);
  max-width: 48ch;
  line-height: 1.7;
  margin: 0;
}

.footer-contact {
  font-size: 0.95rem;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.footer-contact a {
  color: var(--gold);
  text-decoration: none;
  transition: opacity 0.2s;
}
.footer-contact a:hover { opacity: 0.75; }
.footer-contact span { color: rgba(255,246,225,0.25); }

.footer-copy {
  font-family: var(--font-condensed);
  font-size: 0.75rem;
  color: rgba(255,246,225,0.2);
  letter-spacing: 0.1em;
}

/* ─── DECORATIVE HERO ELEMENTS ───────────────────────────── */
.hero-wave-accent {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 180px;
  opacity: 0.09;
  pointer-events: none;
  z-index: 0;
}

.hero-wave-accent-right {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 180px;
  opacity: 0.09;
  pointer-events: none;
  z-index: 0;
  transform: scaleX(-1);
}

.hero-community-mark { position: relative; z-index: 1; }

/* ─── STAMP CORNER ICON ──────────────────────────────────── */
.stamp-icon {
  position: absolute;
  top: -14px;
  left: -14px;
  right: auto;
  width: 56px;
  height: 56px;
  opacity: 0.9;
}

.stamp-icon-cream {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 56px;
  height: 56px;
  opacity: 0.9;
}

/* ─── SECTION BACKGROUND GRAPHICS ───────────────────────── */
/*
 * Decorative illustrations from /graphics/ placed as section accents.
 * All are aria-hidden and pointer-events: none.
 */
.section-bg-img {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

.section-bg-img--right {
  right: -2%;
  top: 50%;
  transform: translateY(-50%);
  height: 72%;
  width: auto;
  opacity: 0.09;
}

.section-bg-img--left {
  left: -2%;
  top: 50%;
  transform: translateY(-50%);
  height: 72%;
  width: auto;
  opacity: 0.09;
}

.section-bg-img--bottom-right {
  bottom: 2.5rem;
  right: 3rem;
  height: 100px;
  width: auto;
  opacity: 0.13;
}

.section-bg-img--bottom-left {
  bottom: 2.5rem;
  left: 3rem;
  height: 90px;
  width: auto;
  opacity: 0.11;
}

.section-bg-img--center {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  height: 78%;
  width: auto;
  opacity: 0.075;
}

.section-bg-img--bottom-center {
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  height: 72%;
  width: auto;
  opacity: 0.075;
}

/* ─── TEXTURE OVERLAYS ───────────────────────────────────── */
.bg-cream::before,
.bg-teal::before,
.bg-purple::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.bg-cream::before {
  background: url('graphics/backgrounds/cream-texture-bg.svg') center / cover no-repeat;
  opacity: 0.07;
}

.bg-teal::before {
  background: url('graphics/backgrounds/green-texture-bg.svg') center / cover no-repeat;
  opacity: 0.07;
}

.bg-purple::before {
  background: url('graphics/backgrounds/purple-texture-bg.svg') center / cover no-repeat;
  opacity: 0.07;
}

/* Section side decorations (legacy inline SVG helpers) */
.section-side-decor {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 80px;
  opacity: 0.07;
  pointer-events: none;
  overflow: hidden;
}

.section-side-decor svg { height: 100%; width: auto; }

.section-side-decor-left {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 80px;
  opacity: 0.07;
  pointer-events: none;
  overflow: hidden;
  transform: scaleX(-1);
}

.section-side-decor-left svg { height: 100%; width: auto; }

.elegant-divider {
  width: 100%;
  height: 60px; /* Adjust this value to make it thicker/thinner */
  display: block;
  /* Adds a soft, professional lift */
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 820px) {
  .nav-toggle { display: flex; }

  #nav-menu {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 42, 30, 0.98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(209,178,102,0.15);
    padding: 1rem 0 1.2rem;
  }
  #nav-menu.is-open { display: flex; }

  #nav-menu li {
    width: 100%;
    text-align: right;
    padding: 0 1.5rem;
  }

  #nav-menu a {
    display: inline-block;
    padding: 0.7rem 0;
    font-size: 0.78rem;
  }


  #nav-menu .nav-cta {
    margin-top: 0.5rem;
  }

  .founder-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .founder-aside {
    flex-direction: row;
    align-items: flex-start;
  }

  .founder-facts { max-width: 280px; }
}

@media (max-width: 600px) {
  section { padding: 5rem 0; }
  #hero   { padding: 7rem 1.5rem 5rem; }

  .grid-2, .grid-3 { grid-template-columns: 1fr; }

.founder-aside { flex-direction: column; align-items: center; }
  .founder-facts { max-width: 100%; }

  .section-bg-img--right,
  .section-bg-img--left,
  .section-bg-img--bottom-center { display: none; }
}

@media (orientation: landscape) and (max-height: 600px) {
  .section-bg-img--bottom-center { display: none; }
}
