/* ─── Hundred Acre Wood Theme ───────────────────────────────────────────── */
:root {
  /* Sky blue — Introduction hero / primary UI colour */
  --blue:        #5EA8C8;
  --blue-dark:   #3A7EA0;
  --blue-light:  #CCE8F5;

  /* Honey gold — Impact hero / primary accent */
  --gold:        #D4901A;
  --gold-dark:   #A06810;
  --gold-light:  #FDF0CC;

  /* Forest green — CSTP hero */
  --green:       #527A35;
  --green-dark:  #355520;
  --green-light: #C5DFA5;

  /* Warm parchment backgrounds */
  --cream:       #FFFBEE;
  --surface:     #FFF8E4;
  --border:      #E5D09A;

  /* Warm brown text — Pooh's fur */
  --text:        #38281A;
  --text-muted:  #7A6640;

  --white:       #FFFFFF;
  --shadow-sm:   0 2px 10px rgba(100,60,20,.08);
  --shadow:      0 4px 24px rgba(100,60,20,.12);
  --shadow-lg:   0 8px 40px rgba(100,60,20,.18);
  --radius:      16px;
  --radius-sm:   8px;
}

/* ─── Reset & Base ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.75;
  min-height: 100vh;
}

/* ─── Navigation ────────────────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 200;
  height: 68px;
  background: var(--surface);            /* warm parchment instead of white */
  border-bottom: 2px solid var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  gap: 1rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  flex-shrink: 0;
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: opacity .15s;
}

.nav-brand:hover { opacity: .75; }

.nav-icon { font-size: 1.75rem; line-height: 1; }

.nav-title {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: .95rem;
  color: var(--gold-dark);
  line-height: 1.2;
}

.nav-subtitle {
  font-size: .68rem;
  color: var(--text-muted);
}

.nav-tabs { display: flex; gap: .4rem; }

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .45rem 1.2rem;
  border: 2px solid transparent;
  border-radius: 50px;
  background: none;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: .85rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: background .18s, color .18s, border-color .18s;
  white-space: nowrap;
}

.tab-btn:hover {
  background: var(--gold-light);
  color: var(--gold-dark);
}

.tab-btn.active {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--text);
  line-height: 1;
  padding: .25rem;
}

/* Honey drip under nav */
.honey-drip {
  position: sticky;
  top: 68px;
  z-index: 199;
  line-height: 0;
  pointer-events: none;
}

.honey-drip svg {
  width: 100%;
  height: 22px;
  display: block;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: .4rem;
  position: fixed;
  top: 68px;
  left: 0; right: 0;
  background: var(--surface);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow);
  z-index: 190;
  border-bottom: 2px solid var(--gold-light);
}

.mobile-menu.open { display: flex; }
.mobile-menu .tab-btn { width: 100%; justify-content: flex-start; border-radius: var(--radius-sm); }

/* ─── Hero Sections ─────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 4.5rem 2rem 6rem;
  color: var(--white);
  overflow: hidden;
}

/* Subtle dot pattern overlay for warmth */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,.07) 2px, transparent 2px),
    radial-gradient(rgba(255,255,255,.04) 2px, transparent 2px);
  background-size: 28px 28px;
  background-position: 0 0, 14px 14px;
  pointer-events: none;
}

.intro-hero  { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%); }
.cstp-hero   { background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%); }
.impact-hero { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%); }

.hero-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  position: relative;
  z-index: 1;
}

.hero-centered { flex-direction: column; text-align: center; gap: .5rem; }

.hero-label {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  opacity: .8;
}

.hero h1 {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: clamp(1.9rem, 5vw, 3rem);
  line-height: 1.15;
  margin: .25rem 0 .75rem;
}

.hero-name {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: clamp(1.9rem, 5vw, 3rem);
  line-height: 1.15;
  margin: .25rem 0 .75rem;
}

.hero-desc { font-size: 1.05rem; opacity: .88; margin-top: .4rem; }

.hero-badges { display: flex; flex-wrap: wrap; gap: .6rem; }

.badge {
  padding: .3rem .9rem;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: .8rem;
}

.badge-outline {
  border: 1.5px solid rgba(255,255,255,.55);
  background: rgba(255,255,255,.15);
}

/* Profile circle */
.profile-ring {
  flex-shrink: 0;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  border: 4px solid rgba(255,255,255,.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-emoji { font-size: 4rem; line-height: 1; }

.profile-ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* Wave divider at hero bottom */
.wave-bottom {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  line-height: 0;
  z-index: 2;
}

.wave-bottom svg { width: 100%; height: 80px; display: block; }
.wave-bottom svg path { fill: var(--cream); }

/* ─── Container & Layout ────────────────────────────────────────────────── */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.two-col   { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.three-col { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.75rem; }

/* ─── Cards ─────────────────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: box-shadow .2s;
}

.card:hover { box-shadow: var(--shadow-lg); }

.card-icon-wrap { font-size: 2rem; margin-bottom: .75rem; display: block; }

.card h2 {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--text);
  margin-bottom: .85rem;
}

.card h3 {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: .6rem;
}

/* Honey-gold left border accent */
.accent-left { border-left: 5px solid var(--gold); }

/* ─── Typography ─────────────────────────────────────────────────────────── */
.body-text {
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.85;
  white-space: pre-line;
}

.bullet-pre { white-space: pre-line; text-align: left; }

.lead-text { font-size: 1rem; line-height: 1.85; color: var(--text-muted); }

.section-heading {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text);
  margin: 0;
}

/* ─── Multimedia card ───────────────────────────────────────────────────── */
.multimedia-card {
  border: 2px dashed var(--border);
  background: var(--surface);
}

.multimedia-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.multimedia-header h2 { margin-bottom: 0; }
.multimedia-body { color: var(--text-muted); }

.multimedia-body iframe {
  width: 100%;
  min-height: 420px;
  border: none;
  border-radius: var(--radius-sm);
  display: block;
  margin-top: 1rem;
}

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.6rem;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform .15s, box-shadow .15s;
}

.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-primary { background: var(--gold); color: var(--white); margin-top: .75rem; }
.btn-primary:hover { background: var(--gold-dark); }

/* ─── Compare section ───────────────────────────────────────────────────── */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  gap: 1.25rem;
  align-items: center;
}

.compare-arrow { font-size: 1.75rem; color: var(--gold); font-weight: 900; text-align: center; }

.compare-label {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .9rem;
}

.dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.dot-gold  { background: var(--gold); }
.dot-green { background: var(--green); }

.compare-initial { border-top: 4px solid var(--gold); }
.compare-final   { border-top: 4px solid var(--green); }

/* ─── Highlight cards ───────────────────────────────────────────────────── */
.highlight-card { text-align: center; }
.highlight-icon { font-size: 2.25rem; margin-bottom: .6rem; }

.highlight-blue  { border-top: 4px solid var(--blue); }
.highlight-green { border-top: 4px solid var(--green); }
.highlight-gold  { border-top: 4px solid var(--gold); }

/* ─── Pull-quote ────────────────────────────────────────────────────────── */
.pullquote-block {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  border-radius: var(--radius);
  padding: 3.5rem 3rem 2.5rem;
  color: var(--white);
  position: relative;
  text-align: center;
  box-shadow: var(--shadow);
}

.pullquote-mark {
  position: absolute;
  top: 1rem; left: 2rem;
  font-size: 7rem;
  font-family: Georgia, serif;
  line-height: .8;
  opacity: .2;
  pointer-events: none;
}

.pullquote-text {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: clamp(1.15rem, 3vw, 1.65rem);
  line-height: 1.55;
  font-style: italic;
  position: relative;
  z-index: 1;
  margin-bottom: 1.25rem;
}

.pullquote-attr { font-size: .9rem; font-weight: 600; opacity: .85; }

/* ─── Embed area ────────────────────────────────────────────────────────── */
.embed-area { margin-top: 1.25rem; border-radius: var(--radius-sm); overflow: hidden; }
.embed-area iframe { width: 100%; min-height: 300px; border: none; display: block; }

/* ─── Leader statement card ─────────────────────────────────────────────── */
.leader-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.leader-ribbon {
  background: var(--green);
  color: var(--white);
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: .6rem 1.5rem;
}

.leader-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.leader-quote-icon { font-size: 2.25rem; }

.leader-quote {
  font-family: 'Nunito', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  font-style: italic;
  color: var(--text);
  line-height: 1.75;
  border-left: 4px solid var(--green);
  padding-left: 1.25rem;
}

.leader-info { display: flex; flex-direction: column; gap: .2rem; }

.leader-info strong {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1rem;
}

.leader-info span { color: var(--text-muted); font-size: .85rem; }

/* ─── Tab section show/hide ─────────────────────────────────────────────── */
.tab-section { display: none; }
.tab-section.active { display: block; animation: fadeUp .3s ease; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--text);           /* warm dark brown — like tree bark */
  color: rgba(255,255,255,.65);
  padding: 1.5rem 2rem;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .9rem;
  flex-wrap: wrap;
}

.footer-inner p { font-size: .85rem; }

.footer-admin-link {
  color: rgba(255,255,255,.3);
  font-size: .75rem;
  text-decoration: none;
  margin-left: 1rem;
  transition: color .15s;
}

.footer-admin-link:hover { color: rgba(255,255,255,.65); }

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .nav-tabs { display: none; }
  .hamburger { display: block; }
  .two-col, .three-col { grid-template-columns: 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
  .compare-arrow { display: none; }
}

@media (max-width: 560px) {
  .navbar { padding: 0 1rem; }
  .hero { padding: 3rem 1.25rem 5.5rem; }
  .hero-inner { flex-direction: column; text-align: center; }
  .hero-badges { justify-content: center; }
  .container { padding: 2rem 1rem 3rem; }
  .card { padding: 1.5rem; }
  .pullquote-block { padding: 2.5rem 1.5rem 2rem; }
}
