@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Inter:wght@400;500;600;700;800&display=swap');

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

:root {
  --bg:          #fdf7f0;
  --surface:     #fff9f4;
  --card:        #ffffff;
  --border:      rgba(112, 68, 24, 0.10);
  --border-med:  rgba(112, 68, 24, 0.18);
  --accent:      #c05a28;
  --accent-dark: #a04820;
  --accent-dim:  rgba(192, 90, 40, 0.09);
  --text:        #1c120a;
  --muted:       #7a5e40;
  --dim:         #b09070;
  --forest:      #1a2b16;
  --forest-mid:  #243d1f;
  --sage:        #4e7245;
  --max-w:       1160px;
  --r:           10px;
  --r-lg:        18px;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

/* ── TYPOGRAPHY ──────────────────────────────────── */
.serif { font-family: 'Lora', Georgia, serif; }

/* ── NAV ─────────────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253, 247, 240, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 24px;
}
.nav-logo {
  font-family: 'Lora', serif;
  font-size: 20px; font-weight: 700;
  letter-spacing: -0.3px; color: var(--text);
  white-space: nowrap; flex-shrink: 0;
  display: inline-flex; align-items: center;
}
.nav-logo em { color: var(--accent); font-style: normal; }
.nav-logo img { height: 28px; width: auto; display: block; }

.nav-links { display: flex; align-items: center; gap: 2px; flex: 1; justify-content: center; }
.nav-links a {
  padding: 7px 14px; border-radius: 8px;
  font-size: 14px; font-weight: 500; color: var(--muted);
  transition: all 0.15s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--text); background: rgba(112, 68, 24, 0.07);
}

.nav-ctas { display: flex; gap: 8px; flex-shrink: 0; }

/* ── BUTTONS ─────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 22px; border-radius: var(--r);
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: all 0.15s; border: none; text-decoration: none; white-space: nowrap;
}
.btn-ghost {
  background: transparent; color: var(--muted);
  border: 1px solid var(--border-med);
}
.btn-ghost:hover { color: var(--text); border-color: var(--accent); background: var(--accent-dim); }
.btn-primary { background: var(--accent); color: #fff; font-weight: 700; }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 4px 20px rgba(192,90,40,0.25); }
.btn-forest { background: var(--forest); color: #f0ebe3; font-weight: 700; }
.btn-forest:hover { background: var(--forest-mid); transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: var(--accent);
  border: 1.5px solid rgba(192,90,40,0.35);
}
.btn-outline:hover { background: var(--accent-dim); border-color: var(--accent); }
.btn-lg { padding: 14px 32px; font-size: 16px; border-radius: 12px; }

/* ── HERO ────────────────────────────────────────── */
.hero {
  padding: 88px 24px 72px;
  text-align: center;
  max-width: var(--max-w); margin: 0 auto;
}
.hero-tag {
  display: inline-block;
  background: var(--accent-dim); border: 1px solid rgba(192,90,40,0.2);
  color: var(--accent); font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 100px; margin-bottom: 28px;
}
.hero h1 {
  font-family: 'Lora', serif;
  font-size: clamp(36px, 5.5vw, 68px);
  font-weight: 700; line-height: 1.1; letter-spacing: -0.02em;
  max-width: 800px; margin: 0 auto 24px;
}
.hero h1 em { color: var(--accent); font-style: italic; }
.hero .sub {
  font-size: 18px; color: var(--muted); max-width: 560px;
  margin: 0 auto 40px; line-height: 1.75;
}
.hero-ctas { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ── STATS STRIP ─────────────────────────────────── */
.stats-strip {
  background: var(--forest);
  padding: 52px 24px;
}
.stats-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; text-align: center;
}
.stat-n {
  font-family: 'Lora', serif;
  font-size: 40px; font-weight: 700; letter-spacing: -0.03em;
  color: #f0ebe3; line-height: 1;
}
.stat-l { font-size: 13px; color: rgba(240,235,227,0.6); margin-top: 8px; font-weight: 500; letter-spacing: 0.02em; }

/* ── PROGRAMS SECTION ────────────────────────────── */
.programs { padding: 72px 24px 80px; }
.programs-inner { max-width: var(--max-w); margin: 0 auto; }
.section-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 10px;
}
.section-h {
  font-family: 'Lora', serif;
  font-size: clamp(26px, 4vw, 40px); font-weight: 700;
  letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 14px;
}
.section-sub {
  font-size: 17px; color: var(--muted); max-width: 500px;
  line-height: 1.75; margin-bottom: 48px;
}
.programs-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }

.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 32px;
  transition: all 0.2s; position: relative;
  box-shadow: 0 1px 4px rgba(112,68,24,0.06);
}
.card:hover {
  border-color: var(--border-med);
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(112,68,24,0.12);
}
.card-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--accent-dim); border: 1px solid rgba(192,90,40,0.15);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; color: var(--accent);
}
.card-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 8px;
}
.card h3 {
  font-family: 'Lora', serif;
  font-size: 20px; font-weight: 700;
  line-height: 1.3; margin-bottom: 10px;
}
.card p { font-size: 15px; color: var(--muted); line-height: 1.65; margin-bottom: 20px; }
.card-meta { display: flex; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.card-meta span { font-size: 13px; color: var(--dim); font-weight: 500; }
.card-meta strong { color: var(--muted); }
.card-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--accent);
  transition: gap 0.15s;
}
.card-cta:hover { gap: 10px; }

/* Hub card — dark, full width */
.card-hub {
  grid-column: 1 / -1;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  background: var(--forest);
  border-color: rgba(255,255,255,0.06);
  color: #f0ebe3;
}
.card-hub:hover {
  background: var(--forest-mid); border-color: rgba(255,255,255,0.1);
  box-shadow: 0 8px 40px rgba(0,0,0,0.25);
}
.card-hub .card-eyebrow { color: rgba(240,235,227,0.55); }
.card-hub h3 { color: #f0ebe3; font-size: 22px; }
.card-hub p { color: rgba(240,235,227,0.7); margin-bottom: 0; }
.card-hub .card-meta span { color: rgba(240,235,227,0.4); }
.card-hub .card-meta strong { color: rgba(240,235,227,0.65); }
.card-hub-text { flex: 1; min-width: 0; }
.card-hub-cta { flex-shrink: 0; }

/* ── PAGE HERO (subpages) ────────────────────────── */
.page-hero {
  padding: 80px 24px 64px;
  max-width: var(--max-w); margin: 0 auto;
}
.page-hero h1 {
  font-family: 'Lora', serif;
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 700; letter-spacing: -0.025em; line-height: 1.12;
  margin-bottom: 20px;
}
.page-hero .sub {
  font-size: 18px; color: var(--muted); max-width: 560px; line-height: 1.75;
  margin-bottom: 36px;
}

/* Hero with side image — fills the empty right column on wider screens */
.page-hero--with-image {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 56px; align-items: center;
}
.page-hero--with-image .page-hero-text { min-width: 0; }
.page-hero-image {
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--border); background: var(--surface);
}
.page-hero-image img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 4/3; object-fit: cover;
}
/* For promotional graphics that include text — never crop */
.page-hero-image--graphics { background: var(--bg); padding: 16px; }
.page-hero-image--graphics img { aspect-ratio: 1/1; object-fit: contain; }
@media (max-width: 880px) {
  .page-hero--with-image { grid-template-columns: 1fr; gap: 32px; }
}

/* ── CONTENT SECTIONS ────────────────────────────── */
.content { padding: 0 24px 80px; }
.content-inner { max-width: var(--max-w); margin: 0 auto; }

.divider { border: none; border-top: 1px solid var(--border); margin: 60px 0; }

/* About-page hero photo grid (right column of .page-hero--with-image). */
.hero-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 1fr;
  gap: 8px;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.hero-photo-grid img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--r);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform 0.4s ease;
}
.hero-photo-grid img:hover { transform: scale(1.03); }
@media (max-width: 768px) {
  .hero-photo-grid { aspect-ratio: 4 / 3; }
}

/* About page bio cards */
.bio-grid { display: grid; grid-template-columns: 1fr; gap: 2px; }
.bio {
  background: var(--card); border: 1px solid var(--border);
  padding: 28px 32px; border-radius: var(--r-lg);
  display: flex; gap: 28px; align-items: flex-start;
}
.bio + .bio { margin-top: 12px; }
.bio-portrait {
  width: 144px; height: 144px;
  border-radius: 50%; object-fit: cover;
  flex-shrink: 0; border: 1px solid var(--border-med);
  background: var(--surface);
}
.bio-content { min-width: 0; flex: 1; }
@media (max-width: 600px) {
  .bio { flex-direction: column; gap: 18px; }
  .bio-portrait { width: 112px; height: 112px; }
}
.bio-name {
  font-family: 'Lora', serif; font-weight: 600;
  font-size: 22px; color: var(--text); letter-spacing: -0.01em; margin-bottom: 4px;
}
.bio-role {
  font-size: 11px; font-weight: 800; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 18px;
}
.bio-list {
  list-style: none; padding: 0; margin: 0;
  font-size: 15px; line-height: 1.65; color: var(--muted);
}
.bio-list li { padding-left: 20px; position: relative; margin-bottom: 8px; }
.bio-list li::before {
  content: '·'; position: absolute; left: 6px; top: -3px;
  color: var(--accent); font-weight: 800; font-size: 18px;
}
.bio-list a { color: var(--text); text-decoration: underline; text-decoration-color: var(--border-med); text-underline-offset: 3px; }
.bio-list a:hover { color: var(--accent); text-decoration-color: var(--accent); }

.feature-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 2px; }
.feature-item {
  background: var(--surface); padding: 32px;
}
.feature-item:first-child  { border-radius: var(--r-lg) 0 0 0; }
.feature-item:nth-child(2) { border-radius: 0 var(--r-lg) 0 0; }
.feature-item:nth-child(3) { border-radius: 0 0 0 var(--r-lg); }
.feature-item:last-child   { border-radius: 0 0 var(--r-lg) 0; }
.feature-item h4 {
  font-family: 'Lora', serif;
  font-size: 17px; font-weight: 700; margin-bottom: 8px;
}
.feature-item p { font-size: 15px; color: var(--muted); line-height: 1.65; }

.stats-row {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 2px; margin: 48px 0;
}
.stat-box { background: var(--surface); padding: 32px 24px; text-align: center; }
.stat-box:first-child { border-radius: var(--r-lg) 0 0 var(--r-lg); }
.stat-box:last-child  { border-radius: 0 var(--r-lg) var(--r-lg) 0; }
.stat-box .n {
  font-family: 'Lora', serif;
  font-size: 38px; font-weight: 700; letter-spacing: -0.03em; line-height: 1;
  color: var(--text);
}
.stat-box .l { font-size: 13px; color: var(--muted); margin-top: 8px; }

.format-steps { display: flex; flex-direction: column; gap: 2px; margin: 48px 0; }
.format-step {
  background: var(--surface); padding: 28px 32px;
  display: flex; align-items: flex-start; gap: 20px;
}
.format-step:first-child { border-radius: var(--r-lg) var(--r-lg) 0 0; }
.format-step:last-child  { border-radius: 0 0 var(--r-lg) var(--r-lg); }
.step-num {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent-dim); border: 1px solid rgba(192,90,40,0.2);
  color: var(--accent); font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.step-content h4 {
  font-family: 'Lora', serif;
  font-size: 17px; font-weight: 700; margin-bottom: 6px;
}
.step-content p { font-size: 15px; color: var(--muted); line-height: 1.65; }

/* ── SUBSCRIBE FORM ──────────────────────────────── */
.subscribe-form {
  display: flex; gap: 10px; max-width: 480px; flex-wrap: wrap;
  margin: 32px 0;
}
.subscribe-form input {
  flex: 1; min-width: 200px;
  background: #fff; border: 1px solid var(--border-med);
  color: var(--text); padding: 13px 18px; border-radius: var(--r);
  font-size: 15px; font-family: inherit; outline: none;
}
.subscribe-form input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
.subscribe-form input::placeholder { color: var(--dim); }
.form-note { font-size: 13px; color: var(--dim); margin-top: 10px; }

/* Beehiiv embed wrapper — replaces the legacy custom subscribe form. */
.beehiiv-wrap { margin: 32px 0; max-width: 100%; }
.beehiiv-wrap iframe { display: block; max-width: 100%; }

/* ── PLATFORM LINKS ──────────────────────────────── */
.platform-links { display: flex; gap: 12px; flex-wrap: wrap; margin: 32px 0; }
.platform-btn {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--card); border: 1px solid var(--border-med);
  padding: 12px 20px; border-radius: var(--r);
  font-size: 14px; font-weight: 600; color: var(--muted);
  transition: all 0.15s;
  box-shadow: 0 1px 3px rgba(112,68,24,0.06);
}
.platform-btn:hover { border-color: var(--accent); color: var(--text); background: var(--accent-dim); }

/* ── PHOTO GALLERY ───────────────────────────────── */
.photo-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 28px 0; }
.photo-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
  display: flex; flex-direction: column;
}
.photo-card img { display: block; width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; }
.photo-card .photo-caption {
  padding: 14px 18px; font-size: 13px; color: var(--muted); font-weight: 500;
  border-top: 1px solid var(--border);
}
.photo-card .photo-caption strong { color: var(--text); font-weight: 600; }

/* "graphics" variant — for promotional cards / posters that include text
   overlays. Use contain (never crop) on a subtle bg so the whole image
   is visible. */
.photo-gallery--graphics .photo-card img {
  aspect-ratio: 1/1; object-fit: contain; background: var(--bg); padding: 12px;
}

/* "hero" variant — sits between the stats strip and the first content
   section, so we tighten the spacing. */
.photo-gallery--hero { margin: 36px 0 0; max-width: var(--max-w); margin-left: auto; margin-right: auto; padding: 0 24px; }

@media (max-width: 760px) { .photo-gallery { grid-template-columns: 1fr; } }

/* ── CITIES ──────────────────────────────────────── */
.cities-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0; }
.city-tag {
  background: var(--surface); border: 1px solid var(--border);
  padding: 5px 14px; border-radius: 100px;
  font-size: 13px; color: var(--muted); font-weight: 500;
}

/* ── EVENT CARD ──────────────────────────────────── */
.event-card {
  background: var(--forest); border-radius: var(--r-lg);
  padding: 40px 48px; color: #f0ebe3; margin: 40px 0;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 40px;
  flex-wrap: wrap;
}
.event-card .event-date {
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(240,235,227,0.55); margin-bottom: 8px;
}
.event-card h3 {
  font-family: 'Lora', serif;
  font-size: 24px; font-weight: 700; color: #f0ebe3; margin-bottom: 8px;
}
.event-card .event-location { font-size: 15px; color: rgba(240,235,227,0.7); margin-bottom: 4px; }
.event-card .event-hosts { font-size: 13px; color: rgba(240,235,227,0.5); }
.event-cta { flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; justify-content: center; }
.event-price { font-size: 13px; color: rgba(240,235,227,0.5); }

/* ── CTA BLOCK ───────────────────────────────────── */
.cta-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 56px 48px;
  text-align: center; margin-top: 64px;
}
.cta-block h2 {
  font-family: 'Lora', serif;
  font-size: 32px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 12px;
}
.cta-block p { font-size: 16px; color: var(--muted); margin-bottom: 28px; }
.cta-btns { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ── FOOTER ──────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  background: var(--forest); padding: 48px 24px;
}
.footer-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.footer-logo {
  font-family: 'Lora', serif;
  font-size: 18px; font-weight: 700; color: #f0ebe3;
}
.footer-logo em { color: rgba(240,235,227,0.55); font-style: normal; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { font-size: 14px; color: rgba(240,235,227,0.45); transition: color 0.15s; }
.footer-links a:hover { color: rgba(240,235,227,0.8); }
.footer-copy { font-size: 13px; color: rgba(240,235,227,0.35); }

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 768px) {
  .programs-grid { grid-template-columns: 1fr; }
  .card-hub { flex-direction: column; }
  .stats-inner, .stats-row { grid-template-columns: repeat(2,1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-item { border-radius: 0 !important; }
  .feature-item:first-child { border-radius: var(--r-lg) var(--r-lg) 0 0 !important; }
  .feature-item:last-child  { border-radius: 0 0 var(--r-lg) var(--r-lg) !important; }
  .stat-box { border-radius: 0 !important; }
  .event-card { padding: 28px 24px; flex-direction: column; }
  .cta-block { padding: 36px 24px; }
  .nav-links { display: none; }
}
