/* ═══════════════════════════════════════════════════════════════
   THANK A TEACHER PODCAST — Stylesheet  (v3: real assets + modern)

   Fonts:
     Playfair Display   — bold editorial display headlines
     Cormorant Garamond — elegant high-contrast italic accents
     Lora               — warm readable body text
     Caveat             — handwritten chalk labels

   Palette:
     --parchment:      #f5efe0   main bg
     --parchment-2:    #ede0c8   secondary surface
     --parchment-dark: #e0d0b0   dividers
     --espresso:       #2c1a0e   dark text
     --espresso-soft:  #4a3220   softer text
     --chalk-green:    #3a5432   deep chalkboard
     --chalk-green-mid:#4a6741   mid tone
     --amber:          #c8922a   warm gold
     --amber-light:    #daa83e   hover gold
     --cream:          #faf5e9   card surface
═══════════════════════════════════════════════════════════════ */

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

:root {
  --parchment:        #f9f7f4;
  --parchment-2:      #eeeae3;
  --parchment-dark:   #ddd8ce;
  --espresso:         #1e1209;
  --espresso-soft:    #3d2a18;
  --chalk-green:      #3a5432;
  --chalk-green-mid:  #4a6741;
  --chalk-green-lt:   #5a7a50;
  --amber:            #e09a1a;
  --amber-light:      #f0ae28;
  --cream:            #ffffff;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-chalk:   'Caveat', cursive;

  --max-w:     1160px;
  --pad-x:     clamp(1.25rem, 5vw, 3rem);
  --section-y: clamp(5rem, 9vw, 8rem);
}

/* ── Scroll progress bar ────────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--amber);
  z-index: 500;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(224,154,26,0.5);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--espresso);
  background: var(--parchment);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ── Shared ─────────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.label-caveat {
  font-family: var(--font-chalk);
  font-size: 1.1rem;
  letter-spacing: 0.01em;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--amber);
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
  font-family: var(--font-chalk);
}

/* Decorative rule before label */
.section-label::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1.5px;
  background: var(--amber);
  opacity: 0.7;
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin-bottom: 1.25rem;
}

/* ── Scroll fade-in ─────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.72s ease, transform 0.72s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children inside a revealed container */
.fade-in.visible > * {
  animation: none; /* prevent double-animating */
}

/* Hero eyebrow / title / sub / ctas stagger on load */
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero.loaded .hero-eyebrow {
  animation: hero-rise 0.6s ease 0.05s both;
}
.hero.loaded .hero-title {
  animation: hero-rise 0.7s ease 0.18s both;
}
.hero.loaded .hero-sub {
  animation: hero-rise 0.6s ease 0.32s both;
}
.hero.loaded .hero-ctas {
  animation: hero-rise 0.6s ease 0.44s both;
}
.hero.loaded .hero-deco {
  animation: hero-rise 0.7s ease 0.28s both;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.9rem 2.2rem;
  border-radius: 2px;
  cursor: pointer;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 0.22s ease, box-shadow 0.22s ease,
              background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--amber);
  color: #fff;
  box-shadow: 0 4px 24px rgba(200,146,42,0.38);
}
.btn-primary:hover {
  background: var(--amber-light);
  box-shadow: 0 8px 34px rgba(200,146,42,0.52);
}

/* Ghost — white borders, for use on dark hero bg */
.btn-ghost {
  background: transparent;
  color: rgba(245,239,224,0.88);
  border: 1px solid rgba(245,239,224,0.38);
}
.btn-ghost:hover {
  background: rgba(245,239,224,0.09);
  border-color: rgba(245,239,224,0.78);
  color: #f5efe0;
}

/* Chalk glass — used inside green sections */
.btn-chalk {
  background: rgba(255,255,255,0.1);
  color: rgba(245,239,224,0.92);
  border: 1px solid rgba(255,255,255,0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-top: auto;
}
.btn-chalk:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.65);
}


/* ════════════════════════════════════════════════════════════
   NAVBAR — minimal, appears on scroll
════════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem var(--pad-x);
  /* Invisible by default, fades in with JS on scroll */
  background: transparent;
  transition: background 0.35s ease, backdrop-filter 0.35s ease,
              box-shadow 0.35s ease;
}

.navbar.scrolled {
  background: rgba(30, 18, 8, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: rgba(245,239,224,0.92);
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
.nav-logo:hover { color: var(--amber); }

.nav-links {
  display: flex;
  gap: 2.25rem;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,239,224,0.7);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 100%;
  height: 1px;
  background: var(--amber);
  transition: right 0.25s ease;
}
.nav-links a:hover { color: rgba(245,239,224,1); }
.nav-links a:hover::after { right: 0; }

/* Hamburger button — hidden on desktop */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 210;
}
.nav-hamburger span {
  display: block;
  height: 2px;
  background: rgba(245,239,224,0.85);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
  width: 100%;
}

/* Animate to X when open */
.navbar.nav-open .nav-hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar.nav-open .nav-hamburger span:nth-child(2) { opacity: 0; width: 0; }
.navbar.nav-open .nav-hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ════════════════════════════════════════════════════════════
   SECTION 1 — HERO
   Full-bleed background: classroom.jpg image + overlay.
   Two-column: big editorial type | iPhone podcast mockup.
════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: clamp(6rem, 12vw, 10rem) var(--pad-x) clamp(4rem, 8vw, 7rem);
}

/* Classroom artwork fills the entire section */
.hero-bg {
  position: absolute;
  inset: 0;
  /* Focus toward chalkboard — upper portion of the landscape image */
  background: url('heroimage.png') center 20% / cover no-repeat;
  z-index: 0;
}

/* Directional overlay: dark+green left (text), fades to warm amber-tinted right (phone) */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(20, 11, 4,  0.94) 0%,
      rgba(35, 52, 28, 0.90) 28%,
      rgba(44, 52, 30, 0.72) 52%,
      rgba(30, 20, 8,  0.52) 72%,
      rgba(20, 14, 6,  0.35) 100%
    );
  z-index: 1;
}

/* Two-column inner layout */
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

/* ── Hero copy ──────────────────────────────────────────────── */
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(200,224,190,0.88);
  margin-bottom: 1.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.eyebrow-pip {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  flex-shrink: 0;
  animation: pulse-pip 2.5s ease-in-out infinite;
}
@keyframes pulse-pip {
  0%,100% { box-shadow: 0 0 0 0 rgba(200,146,42,0.55); }
  50%      { box-shadow: 0 0 0 8px rgba(200,146,42,0); }
}

/* Display headline */
.hero-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.18em;
  margin-bottom: 0;
  line-height: 1;
}

.ht-line1 {
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 9vw, 8.2rem);
  font-weight: 900;
  color: #f5efe0;
  letter-spacing: -0.03em;
  line-height: 0.93;
}

/* "Teacher" — chalk-green color band, ref-3 style */
.chalk-mark {
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 9vw, 8.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  /* Tight line-height + equal em padding on all four sides */
  line-height: 0.85;
  padding: 0.18em 0.2em;
  background: var(--chalk-green);
  color: #f0ebe0;
  display: inline-block;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  position: relative;
}
/* Subtle chalk texture on the band */
.chalk-mark::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='80'%3E%3Cfilter id='c'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='80' filter='url(%23c)' opacity='0.07'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 80px;
  pointer-events: none;
  mix-blend-mode: overlay;
}

/* Hero subtitle */
.hero-sub {
  font-family: var(--font-body);
  font-style: normal;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 400;
  color: rgba(245,239,224,0.82);
  max-width: 460px;
  margin: 1.75rem 0 2.5rem;
  line-height: 1.65;
  letter-spacing: 0.01em;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── Hero deco: iPhone mockup ───────────────────────────────── */
.hero-deco {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-wrap {
  position: relative;
  z-index: 1;
}

.iphone-mockup {
  width: clamp(220px, 25vw, 300px);
  /* 3-D perspective tilt for editorial depth */
  transform: perspective(1200px) rotateY(-10deg) rotateX(3deg) scale(1.02);
  filter: drop-shadow(0 30px 70px rgba(0,0,0,0.55))
          drop-shadow(0 8px 20px rgba(0,0,0,0.35));
  transition: transform 0.45s ease, filter 0.45s ease;
  display: block;
}

.hero-deco:hover .iphone-mockup {
  transform: perspective(1200px) rotateY(-4deg) rotateX(1deg) scale(1.04);
  filter: drop-shadow(0 38px 80px rgba(0,0,0,0.5))
          drop-shadow(0 10px 24px rgba(0,0,0,0.3));
}

/* Floating sticky notes around the phone */
.float-note {
  position: absolute;
  background: #f7e96e;
  color: var(--espresso);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.4;
  padding: 0.6rem 0.9rem;
  border-radius: 2px;
  box-shadow:
    3px 5px 16px rgba(0,0,0,0.32),
    0 1px 4px rgba(0,0,0,0.18),
    inset 0 1px 0 rgba(255,255,255,0.5);
  pointer-events: none;
  white-space: nowrap;
  z-index: 2;
}
.float-note--a {
  top: 6%;
  right: -6%;
  transform: rotate(3.5deg);
}
.float-note--b {
  bottom: 10%;
  left: -10%;
  transform: rotate(-2.5deg);
}

/* Scroll cue at bottom of hero */
.hero-scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  opacity: 0.45;
  pointer-events: none;
  animation: fade-bob 3s ease-in-out infinite;
}
.hero-scroll-cue .label-caveat {
  color: rgba(245,239,224,0.8);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(245,239,224,0.7), transparent);
}
@keyframes fade-bob {
  0%,100% { transform: translateX(-50%) translateY(0); opacity: 0.45; }
  50%      { transform: translateX(-50%) translateY(6px); opacity: 0.25; }
}


/* ════════════════════════════════════════════════════════════
   STATS RIBBON
════════════════════════════════════════════════════════════ */
.stats-ribbon {
  background: var(--espresso);
  overflow: hidden;
  padding: 0.8rem 0;
  white-space: nowrap;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.stats-track {
  display: inline-flex;
  gap: 2.5rem;
  align-items: center;
  letter-spacing: 0.03em;
  animation: ticker-scroll 30s linear infinite;
  font-family: var(--font-chalk);
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(245,239,224,0.75);
}
.stats-track span { flex-shrink: 0; }
.ribbon-dot { color: var(--amber); opacity: 0.55; }

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* ════════════════════════════════════════════════════════════
   SECTION 2 — ABOUT
════════════════════════════════════════════════════════════ */
.about {
  background-color: var(--parchment);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23p)' opacity='0.035'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

/* Quote bar */
.about-quote-bar {
  background: var(--chalk-green);
  padding: clamp(3rem, 6vw, 5rem) var(--pad-x);
  text-align: center;
  position: relative;
  overflow: hidden;
}
/* Subtle chalk texture on quote bar */
.about-quote-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 300px 300px;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.about-quote-text {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.6vw, 1.65rem);
  font-weight: 700;
  font-style: italic;
  color: rgba(245,239,224,0.96);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.5;
  letter-spacing: -0.01em;
}
.open-quote, .close-quote {
  font-family: var(--font-display);
  font-size: 1.4em;
  line-height: 0;
  vertical-align: -0.1em;
  color: var(--amber);
  opacity: 0.8;
  margin: 0 0.1em;
}

/* Team container spacing */
.about .container {
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: var(--section-y);
}

.about-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: clamp(3rem, 7vw, 6rem);
  align-items: start;
}

/* Photo column */
.about-photo-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}

.photo-frame { text-align: center; }

/* Amber ring + portrait image */
.photo-ring {
  width: 215px;
  height: 215px;
  border-radius: 50%;
  border: 3.5px solid var(--amber);
  box-shadow:
    0 0 0 9px rgba(200,146,42,0.09),
    0 14px 55px rgba(44,26,14,0.22);
  overflow: hidden;
  margin: 0 auto 0.9rem;
  position: relative;
  flex-shrink: 0;
}
/* Dashed orbit ring */
.photo-ring::after {
  content: '';
  position: absolute;
  inset: -13px;
  border-radius: 50%;
  border: 1px dashed rgba(200,146,42,0.25);
  pointer-events: none;
}

.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Tania's photo has black side bars — scale up to crop them out */
.cohost-img {
  transform: scale(1.45);
  object-position: center 20%;
}

.photo-caption {
  color: var(--espresso-soft);
  font-size: 1.05rem;
  opacity: 0.8;
}

/* Small educator tags under photo */
.host-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
}

.host-tag {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--chalk-green-mid);
  border: 1px solid rgba(74,103,65,0.35);
  padding: 0.2rem 0.65rem;
  border-radius: 99px;
  background: rgba(74,103,65,0.07);
}

/* Bio column */
.about-bio-col .section-title { color: var(--espresso); }
.about-bio-col .section-label::before { background: var(--amber); }

.bio-text {
  font-size: 1.05rem;
  color: var(--espresso-soft);
  line-height: 1.85;
  margin-bottom: 2.25rem;
}

/* Clean pull quote */
.pull-quote {
  border-left: 3px solid var(--amber);
  padding: 0.9rem 1.2rem;
  margin-top: 1.5rem;
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.97rem;
  color: var(--espresso-soft);
  line-height: 1.72;
  background: rgba(224,154,26,0.07);
  border-radius: 0 4px 4px 0;
}

/* Team grid — side-by-side host cards */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.team-card .section-label { margin-top: 1.25rem; }
.team-card .section-label::before { display: none; }

.team-name {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 0.85rem;
  color: var(--espresso);
}

.team-card .bio-text { text-align: left; margin-bottom: 0; }
.team-card .pull-quote { text-align: left; width: 100%; }

/* ════════════════════════════════════════════════════════════
   SECTION 3 — BE A GUEST (chalkboard)
════════════════════════════════════════════════════════════ */
.guest {
  padding: var(--section-y) var(--pad-x);
  position: relative;
  overflow: hidden;
  background-color: var(--chalk-green);
  background-image:
    repeating-linear-gradient(173deg, transparent, transparent 5px,
      rgba(255,255,255,0.011) 5px, rgba(255,255,255,0.011) 6px),
    repeating-linear-gradient(84deg, transparent, transparent 11px,
      rgba(255,255,255,0.008) 11px, rgba(255,255,255,0.008) 12px),
    linear-gradient(155deg, #4d6e44 0%, #3a5432 58%, #2e4428 100%);
}

.guest::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 300px 300px;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.guest .container {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
}

.guest-header {
  text-align: center;
  margin-bottom: 3rem;
}
.guest-header .section-label::before { background: #a8cba0; }
.guest-header .section-label { color: #a8cba0; }

.guest-intro {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(245,239,224,0.78);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.82;
  letter-spacing: 0.01em;
}

.guest-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto 2.5rem;
  text-align: left;
}

.guest-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 5px;
  padding: 2rem 1.8rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: background 0.25s, transform 0.28s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.25s;
  /* Top accent line */
  border-top: 1px solid rgba(200,146,42,0.3);
}
.guest-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-6px);
  box-shadow: 0 20px 55px rgba(0,0,0,0.2), 0 4px 12px rgba(0,0,0,0.1);
  border-top-color: rgba(200,146,42,0.7);
}

.guest-card-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  color: var(--amber-light);
}
.guest-card-icon svg { width: 22px; height: 22px; }
.guest-card-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: #f0ebe0;
  letter-spacing: -0.01em;
}
.guest-card-body {
  font-size: 0.97rem;
  color: rgba(245,239,224,0.73);
  line-height: 1.75;
  flex: 1;
}
.guest-footer-note {
  display: block;
  text-align: center;
  color: rgba(255,255,255,0.55);
  font-size: 1.25rem;
}


/* Teaser bar — inside the guest section, below the cards */
.teaser-bar {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2.5rem;
  padding: 1.25rem 2rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-left: 3px solid var(--amber);
  border-radius: 4px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.teaser-pip {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  flex-shrink: 0;
  animation: pulse-pip 2.5s ease-in-out infinite;
}

.teaser-text {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(245,239,224,0.88);
  flex: 1;
  min-width: 200px;
  line-height: 1.5;
}

.teaser-btn {
  flex-shrink: 0;
  padding: 0.7rem 1.6rem;
  font-size: 0.75rem;
}


/* ════════════════════════════════════════════════════════════
   SECTION 4 — SHOUT OUT
════════════════════════════════════════════════════════════ */
.shoutout {
  padding: var(--section-y) var(--pad-x);
  background-color: var(--parchment-2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0.2'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23p)' opacity='0.04'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
  position: relative;
}
.shoutout::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--parchment-dark), transparent);
}

.shoutout-header {
  text-align: center;
  max-width: var(--max-w);
  margin: 0 auto 3.5rem;
}
.shoutout-header .section-title { color: var(--espresso); }

.shoutout-sub {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.05rem, 2.3vw, 1.35rem);
  color: var(--espresso-soft);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Corkboard pin cards */
.pins-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
  max-width: 780px;
  margin: 0 auto;
}

.pin-card {
  background: var(--cream);
  border: 1px solid rgba(44,26,14,0.06);
  border-radius: 2px;
  padding: 1.6rem 1.2rem 1.4rem;
  text-align: center;
  position: relative;
  box-shadow:
    0 5px 18px rgba(44,26,14,0.13),
    0 1px 4px rgba(44,26,14,0.07),
    inset 0 1px 0 rgba(255,255,255,0.98);
  transition: transform 0.28s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.22s ease;
}
.pin-card:hover {
  box-shadow:
    0 12px 40px rgba(44,26,14,0.2),
    0 3px 10px rgba(44,26,14,0.1),
    inset 0 1px 0 rgba(255,255,255,0.98);
  transform: translateY(-5px) rotate(0deg) !important;
}

.pin-card--featured { border-top: 3px solid var(--amber); }
.pin-card--tilt-left  { transform: rotate(-1.2deg); }
.pin-card--straight   { transform: rotate(0.3deg); }
.pin-card--tilt-right { transform: rotate(1.4deg); }

.pin-icon {
  display: block;
  font-size: 1.5rem;
  position: absolute;
  top: -17px;
  left: 50%;
  transform: translateX(-50%);
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.22));
}

.pin-label {
  color: var(--chalk-green-mid);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}
.pin-value {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--espresso);
  word-break: break-word;
  line-height: 1.5;
  margin-bottom: 0.4rem;
}

.pin-link {
  display: block;
  transition: color 0.18s ease;
}
.pin-link:hover {
  color: var(--chalk-green-mid);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.pin-sub {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.83rem;
  color: rgba(44,26,14,0.42);
  line-height: 1.4;
}


/* ════════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════════ */
.footer {
  background: var(--espresso);
  padding: 3.5rem var(--pad-x);
  border-top: 3px solid var(--amber);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.footer-logo {
  font-size: 1.4rem;
  color: rgba(245,239,224,0.85);
  margin-bottom: 0.25rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  justify-content: center;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(245,239,224,0.55);
  margin-bottom: 0.5rem;
}
.footer-links a {
  color: rgba(245,239,224,0.65);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--amber); }
.footer-dot { opacity: 0.3; }
.footer-copy {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: rgba(245,239,224,0.35);
  letter-spacing: 0.04em;
}
.footer-tagline {
  font-size: 1.2rem;
  color: var(--amber);
  opacity: 0.75;
}


/* ════════════════════════════════════════════════════════════
   RESPONSIVE — tablet & mobile
════════════════════════════════════════════════════════════ */

/* ── Tablet (≤ 860px) ──────────────────────────────────────── */
@media (max-width: 860px) {

  /* ── Nav ── */
  .nav-hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(22, 13, 5, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    z-index: 205;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .navbar.nav-open .nav-links {
    opacity: 1;
    pointer-events: all;
  }

  .nav-links a {
    font-size: 1.5rem;
    letter-spacing: 0.08em;
  }

  /* ── Hero: vertical stack ── */
  .hero {
    padding-top: clamp(5.5rem, 14vw, 7.5rem);
    padding-bottom: clamp(3rem, 8vw, 5rem);
    /* Focus on chalkboard, accounting for portrait crop */
    background-position: center 18%;
  }

  /* Switch overlay to vertical gradient for stacked layout */
  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(18, 10, 4, 0.92) 0%,
      rgba(30, 46, 24, 0.86) 35%,
      rgba(22, 14, 6, 0.80) 65%,
      rgba(18, 10, 4, 0.88) 100%
    );
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    gap: 2.5rem;
  }
  .hero-copy  { align-items: center; }
  .hero-title { align-items: center; }
  .hero-sub   {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
  }
  .hero-ctas  { justify-content: center; }

  /* iPhone: visible and prominent below the text */
  .hero-deco {
    width: 100%;
    justify-content: center;
  }
  .phone-wrap {
    display: flex;
    justify-content: center;
  }
  .iphone-mockup {
    width: min(52vw, 230px);
    /* Flat on mobile — no 3D tilt */
    transform: none;
    filter: drop-shadow(0 22px 55px rgba(0,0,0,0.55))
            drop-shadow(0 6px 18px rgba(0,0,0,0.35));
    transition: transform 0.3s ease, filter 0.3s ease;
  }
  .hero-deco:hover .iphone-mockup {
    transform: scale(1.03);
    filter: drop-shadow(0 28px 65px rgba(0,0,0,0.5));
  }

  /* Float notes hidden on tablet — layout too tight */
  .float-note { display: none; }

  /* Scroll cue: hide on tablet/mobile */
  .hero-scroll-cue { display: none; }

  /* ── About ── */
  .team-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .team-card .bio-text  { text-align: center; }
  .team-card .pull-quote { text-align: left; }
}


/* ── Mobile (≤ 540px) ──────────────────────────────────────── */
@media (max-width: 540px) {

  /* ── Hero ── */
  .hero {
    padding-top: 5rem;
    padding-bottom: 2.5rem;
  }

  /* Slightly smaller title on very small screens */
  .ht-line1,
  .chalk-mark {
    font-size: clamp(2.9rem, 14vw, 4rem);
    letter-spacing: -0.02em;
  }

  .hero-eyebrow { font-size: 0.92rem; }

  /* Phone: slightly smaller on small phones */
  .iphone-mockup {
    width: min(58vw, 240px);
  }

  /* Stacked CTAs */
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 260px;
  }
  .hero-ctas .btn { text-align: center; }

  /* ── Stats ribbon ── */
  .stats-track { font-size: 0.9rem; gap: 1.8rem; }

  /* ── About ── */
  .about-quote-bar { padding: 2.5rem var(--pad-x); }
  .about .container { padding-top: 3rem; padding-bottom: 3rem; }
  .photo-ring { width: 175px; height: 175px; }
  .pull-quote { font-size: 0.95rem; }

  /* ── Guest ── */
  .guest { padding: 3.5rem var(--pad-x); }
  .guest-cards { grid-template-columns: 1fr; max-width: 100%; }
  .guest-card  { padding: 1.5rem 1.25rem; }

  /* ── Shout out ── */
  .shoutout { padding: 3.5rem var(--pad-x); }
  .pins-grid { grid-template-columns: 1fr; max-width: 320px; }
  .pin-card--tilt-left,
  .pin-card--straight,
  .pin-card--tilt-right { transform: rotate(0deg); }

  /* ── Footer ── */
  .footer { padding: 2.5rem var(--pad-x); }
}


/* ── Very small phones (≤ 380px) ─────────────────────────── */
@media (max-width: 380px) {
  .ht-line1,
  .chalk-mark { font-size: 2.6rem; }

  .iphone-mockup { width: 62vw; }

  .section-title { font-size: 1.85rem; }
}
