/* ===== BRAND FONTS (real files drop in here) =========================
   The licensed brand fonts (Freight Display Pro for headings, Futura PT
   for body/labels) are not yet available, only a PNG preview was shipped.
   Until the .woff2 files (or Adobe Fonts embed) arrive we use close free
   stand-ins: Fraunces (≈ Freight Display) + Jost (≈ Futura PT).

   TO GO LIVE with the real fonts:
     1. Drop the font files in assets/fonts/ and uncomment the @font-face
        blocks below (or paste the Adobe Fonts <link> into each page head).
     2. Point --font-head / --font-body at the real families.
   Nothing else in the stylesheet needs to change, everything reads from
   the two variables. */
/*
@font-face {
  font-family: "Freight Display Pro";
  src: url("assets/fonts/FreightDispProBook-Regular.woff2") format("woff2");
  font-weight: 400 800; font-display: swap;
}
@font-face {
  font-family: "Futura PT";
  src: url("assets/fonts/FuturaPT-Book.woff2") format("woff2");
  font-weight: 400 800; font-display: swap;
}
*/

:root {
  /* ===== Brand identity: official DPW brand kit =====
     Palette from DPW BrandKit_Color Palette. Variable NAMES are kept from
     the previous theme so the whole site re-skins from here. --wine drives
     the primary (Tyrian); --gold drives the Antique Gold accent. */
  --ink: #2b141c;          /* warm near-black, plum undertone (text) */
  --muted: #7a6a66;        /* muted clay-grey */
  --cream: #f3ece1;        /* Linen, light off-white */
  --paper: #fbf6ef;        /* lighter Linen surface */
  --blush: #ead9c8;        /* soft Parchment Clay tint */
  --rose: #8b3d24;         /* Kiln Sienna (accent) */
  --wine: #601938;         /* PRIMARY, Tyrian */
  --wine-2: #7d2749;       /* lighter Tyrian */
  --plum: #3a0f20;         /* Anchor, Dark Plum */
  --gold: #b8882a;         /* Secondary, Antique Gold */
  --gold-deep: #8b3d24;    /* Kiln Sienna (deep accent) */
  --accent: #c8a87c;       /* Neutral, Parchment Clay */
  --line: rgba(96, 25, 56, 0.14);
  --shadow: 0 24px 80px rgba(58, 15, 32, 0.16);
  --shadow-strong: 0 30px 100px rgba(58, 15, 32, 0.26);
  --glow: 0 0 60px rgba(96, 25, 56, 0.26);
  --radius: 1.8rem;

  /* Typography, swap these two lines when the real font files arrive. */
  --font-head: var(--font-head), Georgia, "Times New Roman", serif;
  --font-body: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; overflow-x: hidden; scroll-padding-top: 110px; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 10%, rgba(96, 25, 56, 0.10), transparent 40rem),
    radial-gradient(circle at 80% 50%, rgba(200, 168, 124, 0.40), transparent 35rem),
    radial-gradient(circle at 50% 100%, rgba(139, 61, 36, 0.10), transparent 50rem),
    linear-gradient(180deg, #f7efe4 0%, #f3ece1 44%, #fbf6ef 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: all 0.3s ease; }
img { display: block; max-width: 100%; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ===================== Announcement bar ===================== */
.announce-bar {
  position: relative;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.6rem 3rem;
  background: linear-gradient(90deg, var(--plum), var(--wine) 50%, var(--wine-2));
  color: #fdf3e3;
  font-size: 0.9rem;
}
.announce-bar.hidden { display: none; }
.announce-inner { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; justify-content: center; }
.announce-tag {
  background: var(--cream); color: var(--plum); font-weight: 900;
  font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.2rem 0.6rem; border-radius: 999px;
}
.announce-inner p { margin: 0; color: rgba(255,255,255,0.9); }
.announce-inner .announce-note { color: rgba(255,255,255,0.9); }
.announce-inner strong { color: #fff; }
.announce-inner a { color: var(--gold); font-weight: 800; white-space: nowrap; }
.announce-inner a:hover { color: #fff; }
.announce-close {
  position: absolute; right: 1rem; top: 50%; transform: translateY(-50%);
  background: transparent; border: none; color: rgba(255,255,255,0.7);
  font-size: 1.3rem; line-height: 1; cursor: pointer;
}
.announce-close:hover { color: #fff; }

/* ===================== Header ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem clamp(1rem, 4vw, 3.5rem);
  background: rgba(255, 250, 243, 0.85);
  backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: padding 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.site-header.scrolled {
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
  background: rgba(255, 250, 243, 0.95);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(58, 15, 32, 0.1);
}

.brand img {
  width: 118px; height: auto;
  filter: drop-shadow(0 2px 8px rgba(96, 25, 56, 0.15));
  transition: transform 0.3s ease, width 0.3s ease;
}
.site-header.scrolled .brand img { width: 98px; }
.brand:hover img { transform: scale(1.05); }

.nav-links {
  display: flex; align-items: center; gap: 1.4rem;
  font-size: 0.86rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.nav-links a { color: var(--muted); position: relative; padding: 0.5rem 0; }
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background: var(--wine); transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--wine); }
.nav-links a:hover::after { width: 100%; }

/* Permanent Give tab */
.nav-give {
  padding: 0.7rem 1.4rem !important;
  border-radius: 999px;
  color: var(--plum) !important;
  background: linear-gradient(135deg, var(--gold), var(--accent));
  box-shadow: 0 8px 22px rgba(184, 136, 42, 0.4);
  transition: all 0.3s ease;
}
.nav-give::after { display: none; }
.nav-give:hover {
  color: var(--plum) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(184, 136, 42, 0.55);
  filter: brightness(1.05);
}

.menu-toggle {
  display: none; border: 1px solid var(--line); background: var(--paper);
  border-radius: 999px; padding: 0.7rem 1rem; color: var(--wine);
  font-weight: 800; cursor: pointer;
}

.section-shell { width: min(1440px, calc(100% - clamp(2rem, 6vw, 7rem))); margin: 0 auto; }

/* ===================== Hero ===================== */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: center;
  min-height: calc(100vh - 150px);
  padding: 5rem 0 4rem;
  animation: fadeInUp 0.8s ease 0.2s both;
}

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

.eyebrow {
  margin: 0 0 1.2rem; color: var(--rose); font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.78rem;
  display: inline-block; position: relative;
}
.eyebrow::before {
  content: ''; position: absolute; left: -2rem; top: 50%;
  width: 1.5rem; height: 2px; background: var(--rose); opacity: 0.5;
}

h1, h2, h3 { font-family: var(--font-head), Georgia, serif; color: var(--wine); line-height: 1.05; margin: 0; font-weight: 800; }

h1 {
  font-size: clamp(3.2rem, 7.5vw, 6.6rem);
  letter-spacing: -0.015em; max-width: 820px;
  background: linear-gradient(135deg, var(--wine) 0%, var(--wine-2) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  animation: fadeInUp 0.8s ease 0.4s both;
}
h2 { font-size: clamp(2.2rem, 5vw, 4.2rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.4rem, 2.2vw, 2.1rem); letter-spacing: -0.005em; }

.lead {
  max-width: 680px; color: #504841;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem); line-height: 1.75;
  margin: 1.8rem 0 0; animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; animation: fadeInUp 0.8s ease 0.8s both; }

.hero-trust {
  display: flex; flex-wrap: wrap; gap: 2.2rem; margin-top: 2.6rem;
  padding-top: 2rem; border-top: 1px solid var(--line);
  animation: fadeInUp 0.8s ease 1s both;
}
.hero-trust strong {
  display: block; font-family: var(--font-head), serif;
  font-size: 1.9rem; color: var(--wine); line-height: 1;
}
.hero-trust span { display: block; margin-top: 0.3rem; color: var(--muted); font-weight: 600; font-size: 0.85rem; }

/* ===================== Buttons ===================== */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3.5rem; padding: 0 2rem; border-radius: 999px;
  font-weight: 800; border: 2px solid transparent; transition: all 0.3s ease;
  cursor: pointer; font-size: 0.95rem; position: relative; overflow: hidden;
}
.button::before {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 0; height: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%); transition: width 0.6s, height 0.6s;
}
.button:hover::before { width: 320px; height: 320px; }
.button:hover { transform: translateY(-3px); }

.primary {
  background: linear-gradient(135deg, var(--wine) 0%, var(--wine-2) 50%, var(--wine) 100%);
  background-size: 200% 100%; color: white;
  box-shadow: 0 16px 40px rgba(96, 25, 56,0.3); border-color: var(--wine);
}
.primary:hover { background-position: 100% 0; box-shadow: 0 20px 50px rgba(96, 25, 56,0.4); }

.ghost {
  background: rgba(255,255,255,0.6); color: var(--wine);
  border-color: rgba(96, 25, 56, 0.3); backdrop-filter: blur(10px);
}
.ghost:hover { background: rgba(255,255,255,0.9); border-color: var(--wine); box-shadow: 0 12px 30px rgba(96, 25, 56,0.2); }

.gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--accent) 50%, var(--gold) 100%);
  background-size: 200% 100%; color: var(--plum);
  box-shadow: 0 16px 40px rgba(184, 136, 42, 0.4); border-color: var(--gold);
}
.gold:hover { background-position: 100% 0; box-shadow: 0 20px 50px rgba(184, 136, 42, 0.55); }

/* ===================== Hero card ===================== */
.hero-card {
  position: relative; border-radius: 2.5rem; padding: 1rem;
  background: linear-gradient(135deg, rgba(255,255,255,0.7), rgba(255,255,255,0.4));
  backdrop-filter: blur(20px); box-shadow: var(--shadow-strong);
  transform: rotate(2deg);
  animation: float 6s ease-in-out infinite, fadeInUp 0.8s ease 0.5s both;
}
@keyframes float { 0%, 100% { transform: rotate(2deg) translateY(0px); } 50% { transform: rotate(2deg) translateY(-20px); } }
.hero-card img { width: 100%; height: min(68vh, 640px); object-fit: cover; object-position: 50% 26%; border-radius: 2rem; }

.floating-note {
  position: absolute; left: -1.5rem; bottom: 2.5rem;
  width: min(320px, calc(100% - 2rem)); padding: 1.3rem 1.5rem;
  background: rgba(255, 250, 243, 0.95); backdrop-filter: blur(20px);
  border: 1px solid rgba(184, 136, 42, 0.4); border-radius: 1.6rem;
  box-shadow: 0 20px 70px rgba(45, 34, 55, 0.2);
  animation: slideInLeft 0.8s ease 1.2s both;
}
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: translateX(0); } }
.floating-note span { display: block; color: var(--rose); font-weight: 800; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.5rem; }
.floating-note strong { color: var(--wine); font-family: var(--font-head), Georgia, serif; font-size: 1.55rem; line-height: 1.2; display: block; }

/* ===================== Section headings ===================== */
.section-heading { margin-bottom: 3rem; }
.centered { text-align: center; max-width: 850px; margin-left: auto; margin-right: auto; }
.centered .eyebrow::before { display: none; }
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: end; gap: 3rem; }
.section-heading p { color: var(--muted); line-height: 1.75; font-size: clamp(1.18rem, 1.05rem + 0.45vw, 1.35rem); text-wrap: pretty; }

/* ===================== Dual track ===================== */
.tracks { padding: 5rem 0; border-top: 1px solid var(--line); }
.track-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.track-card {
  position: relative; overflow: hidden; padding: 2.8rem;
  border-radius: 2rem; border: 1px solid rgba(184, 136, 42, 0.25);
  background: linear-gradient(135deg, rgba(255, 250, 243, 0.9), rgba(255, 255, 255, 0.7));
  box-shadow: 0 16px 45px rgba(75,45,35,0.08); transition: all 0.35s ease;
}
.track-card:hover { transform: translateY(-6px); box-shadow: 0 28px 70px rgba(75,45,35,0.16); }
.track-partner { background: linear-gradient(135deg, rgba(96, 25, 56, 0.04), rgba(184, 136, 42, 0.08)); border-color: rgba(184, 136, 42, 0.4); }
.track-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3.2rem; height: 3.2rem; border-radius: 1rem; font-size: 1.4rem;
  background: rgba(184, 136, 42, 0.18); color: var(--gold-deep); margin-bottom: 1.3rem;
}
.track-partner .track-icon { background: rgba(166, 93, 84, 0.15); color: var(--rose); }
.track-card h3 { margin-bottom: 0.8rem; }
.track-card p { color: var(--muted); line-height: 1.75; margin-bottom: 1.8rem; }

/* ===================== Resource library ===================== */
.resources { padding: 6rem 0; }
.resource-controls {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.2rem; flex-wrap: wrap; margin-bottom: 2.2rem;
}
.resource-filters { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.filter-chip {
  border: 1px solid var(--line); background: rgba(255,255,255,0.6);
  color: var(--muted); font-weight: 800; font-size: 0.82rem;
  letter-spacing: 0.04em; padding: 0.6rem 1.2rem; border-radius: 999px;
  cursor: pointer; transition: all 0.25s ease;
}
.filter-chip:hover { color: var(--wine); border-color: rgba(96, 25, 56,0.3); }
.filter-chip.is-active { background: var(--wine); color: #fff; border-color: var(--wine); box-shadow: 0 8px 20px rgba(96, 25, 56,0.25); }
.resource-search input {
  width: min(280px, 60vw); border: 1px solid var(--line);
  background: rgba(255,255,255,0.7); color: var(--ink);
  padding: 0.75rem 1.1rem; border-radius: 999px; font: inherit; outline: none;
  transition: all 0.25s ease;
}
.resource-search input::placeholder { color: var(--muted); }
.resource-search input:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(184, 136, 42,0.18); }

.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
/* Homepage teaser only has 2 cards (Book, YouTube), not 3, so a bare
   repeat(3,1fr) would leave an empty column on the right instead of
   sizing the two cards to fill the row. Scoped to body[data-page="home"]
   specifically, not just #resources, since resources.html's full
   library section reuses that same id for its (much longer) grid. */
body[data-page="home"] #resources .resource-grid { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin: 0 auto; }
.resource-card {
  display: flex; flex-direction: column; padding: 1.8rem;
  border-radius: 1.6rem; border: 1px solid rgba(184, 136, 42, 0.22);
  background: linear-gradient(135deg, rgba(255, 250, 243, 0.9), rgba(255, 255, 255, 0.7));
  box-shadow: 0 14px 40px rgba(75,45,35,0.07); transition: all 0.3s ease;
}
.resource-card:hover { transform: translateY(-5px); box-shadow: 0 24px 60px rgba(75,45,35,0.15); border-color: rgba(184, 136, 42, 0.5); }
.resource-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.1rem; }
.resource-type {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.7rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold-deep); background: rgba(184, 136, 42,0.14);
  padding: 0.35rem 0.7rem; border-radius: 999px;
}
.resource-archived-tag { font-size: 0.65rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.resource-card h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.resource-card p { color: var(--muted); line-height: 1.7; font-size: 0.96rem; flex: 1; margin-bottom: 1.4rem; }
.resource-card a {
  color: var(--wine); font-weight: 900; align-self: flex-start;
  border-bottom: 2px solid rgba(96, 25, 56,0.3); transition: all 0.3s ease;
}
.resource-card a:hover { border-bottom-color: var(--wine); transform: translateX(5px); }
.resource-empty { text-align: center; color: var(--muted); padding: 2rem; font-size: 1.05rem; }
.archive-toggle {
  display: inline-flex; align-items: center; gap: 0.6rem; margin-top: 2rem;
  color: var(--muted); font-weight: 700; font-size: 0.9rem; cursor: pointer;
}
.archive-toggle input { width: 1.1rem; height: 1.1rem; accent-color: var(--wine); }

/* ===================== Book (existing) ===================== */
.book-section { padding: 7rem 0; position: relative; overflow: hidden; }
.book-card {
  display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 4rem; align-items: center;
  background: linear-gradient(135deg, rgba(96, 25, 56, 0.03) 0%, rgba(184, 136, 42, 0.05) 100%);
  border: 2px solid rgba(184, 136, 42, 0.2); border-radius: 3rem; padding: 4rem;
  box-shadow: var(--shadow-strong); position: relative; overflow: hidden;
}
.book-card::before {
  content: ''; position: absolute; top: -50%; right: -20%; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(184, 136, 42, 0.1) 0%, transparent 70%);
  border-radius: 50%; animation: pulse 8s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 0.5; } 50% { transform: scale(1.2); opacity: 0.8; } }
.book-cover-wrapper { position: relative; display: flex; align-items: center; justify-content: center; perspective: 1500px; animation: fadeInUp 0.8s ease both; }
.book-cover-glow { position: absolute; width: 100%; height: 100%; background: radial-gradient(ellipse at center, rgba(184, 136, 42, 0.4) 0%, transparent 70%); filter: blur(40px); animation: glowPulse 3s ease-in-out infinite; }
@keyframes glowPulse { 0%, 100% { opacity: 0.6; transform: scale(0.9); } 50% { opacity: 1; transform: scale(1.1); } }
.book-cover { position: relative; width: 320px; height: 480px; transform-style: preserve-3d; transition: transform 0.6s ease; animation: bookFloat 4s ease-in-out infinite; }
@keyframes bookFloat { 0%, 100% { transform: rotateY(-15deg) translateY(0px); } 50% { transform: rotateY(-15deg) translateY(-15px); } }
.book-cover-wrapper:hover .book-cover { transform: rotateY(-25deg) scale(1.05); }
.book-spine { position: absolute; left: 0; top: 0; width: 40px; height: 100%; background: linear-gradient(90deg, #3a0f20 0%, #601938 50%, #3a0f20 100%); transform: rotateY(-90deg); transform-origin: left; border-radius: 8px 0 0 8px; }
.book-front { position: relative; width: 100%; height: 100%; border-radius: 0 12px 12px 0; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4); overflow: hidden; }
.book-front img { width: 100%; height: 100%; object-fit: cover; display: block; }
.book-info { animation: fadeInUp 0.8s ease 0.2s both; }
.book-description { color: var(--muted); line-height: 1.8; font-size: 1.05rem; margin-bottom: 1.3rem; }
.book-highlights { display: grid; gap: 1.2rem; margin: 2.5rem 0; padding: 2rem; background: rgba(255, 255, 255, 0.5); border-radius: 1.5rem; border: 1px solid rgba(184, 136, 42, 0.2); }
.highlight-item { display: flex; gap: 1rem; align-items: flex-start; }
.highlight-icon { color: var(--gold); font-size: 1.5rem; line-height: 1; flex-shrink: 0; }
.highlight-item strong { display: block; color: var(--wine); font-weight: 800; font-size: 1.05rem; margin-bottom: 0.3rem; }
.highlight-item p { color: var(--muted); font-size: 0.95rem; line-height: 1.6; margin: 0; }
.book-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }

/* ===================== Story ===================== */
.story {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 4rem; align-items: center;
  padding: 6rem 0; border-top: 1px solid var(--line);
}
.story-portrait { position: relative; }
.story-portrait img { width: 100%; height: min(72vh, 640px); object-fit: cover; object-position: 50% 22%; border-radius: 2.5rem; box-shadow: var(--shadow-strong); filter: brightness(1.04) saturate(1.03); }
.story-badge {
  position: absolute; right: -1rem; bottom: 2.5rem; padding: 1.1rem 1.6rem;
  background: rgba(255, 250, 243, 0.96); backdrop-filter: blur(20px);
  border: 1px solid rgba(184, 136, 42, 0.4); border-radius: 1.4rem;
  box-shadow: 0 20px 60px rgba(45, 34, 55, 0.2);
}
.story-badge span { display: block; color: var(--rose); font-weight: 800; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.3rem; }
.story-badge strong { color: var(--wine); font-family: var(--font-head), serif; font-size: 1.5rem; }
.story-copy p { color: var(--muted); line-height: 1.85; font-size: 1.08rem; margin-top: 1.2rem; }
.story-signature { font-family: var(--font-head), serif !important; font-size: 1.6rem !important; color: var(--wine) !important; font-style: italic; margin-top: 1.6rem !important; }
.story-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

/* ===================== Event timeline ===================== */
.retreats { padding: 6rem 0; }
.timeline { position: relative; }
.timeline-year {
  font-family: var(--font-head), serif; font-size: 2rem; color: var(--gold-deep);
  font-weight: 800; margin: 2.5rem 0 1.5rem; padding-left: 3.2rem; position: relative;
}
.timeline-year:first-child { margin-top: 0; }
.timeline-item {
  position: relative; padding: 0 0 1.5rem 3.2rem; border-left: 2px solid rgba(184, 136, 42, 0.35);
  margin-left: 0.6rem;
}
.timeline-item::before {
  content: ''; position: absolute; left: -0.65rem; top: 0.4rem;
  width: 1.1rem; height: 1.1rem; border-radius: 50%;
  background: var(--gold); border: 3px solid var(--paper); box-shadow: 0 0 0 2px rgba(184, 136, 42,0.4);
}
.timeline-item.is-past::before { background: var(--muted); box-shadow: none; }
.timeline-card {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  background: linear-gradient(135deg, var(--wine) 0%, var(--wine-2) 100%);
  color: #fff; padding: 1.5rem 1.8rem; border-radius: 1.4rem;
  box-shadow: 0 18px 45px rgba(96, 25, 56, 0.25); transition: all 0.3s ease;
  border: 1px solid rgba(184, 136, 42, 0.2);
}
.timeline-item.is-past .timeline-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.85), rgba(255,250,243,0.7));
  color: var(--ink); box-shadow: 0 12px 35px rgba(75,45,35,0.08); border-color: var(--line);
}
.timeline-card:hover { transform: translateX(8px); }
.timeline-info .tl-date { color: var(--gold); font-size: 0.78rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.timeline-item.is-past .tl-date { color: var(--rose); }
.timeline-info .tl-loc { display: block; margin-top: 0.4rem; font-family: var(--font-head), serif; font-size: 1.6rem; font-weight: 800; }
.timeline-info .tl-desc { margin-top: 0.3rem; color: rgba(255,255,255,0.8); font-size: 0.95rem; }
.timeline-item.is-past .tl-desc { color: var(--muted); }
.tl-action { display: flex; align-items: center; gap: 0.9rem; }
.tl-status {
  font-size: 0.7rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.35rem 0.8rem; border-radius: 999px; white-space: nowrap;
}
.status-open { background: var(--gold); color: var(--plum); }
.status-soon { background: rgba(255,255,255,0.18); color: #fff; border: 1px solid rgba(255,255,255,0.3); }
.status-past { background: rgba(166,93,84,0.12); color: var(--rose); }
.tl-link {
  font-weight: 900; font-size: 0.85rem; color: #fff;
  border-bottom: 2px solid rgba(255,255,255,0.4); white-space: nowrap;
}
.tl-link:hover { border-bottom-color: #fff; }

/* ===================== Speaking ===================== */
.speaking { padding: 6rem 0; }
.speaking-list { display: grid; gap: 0.9rem; }
.speaking-row {
  display: grid; grid-template-columns: 140px 1fr auto; gap: 1.5rem; align-items: center;
  padding: 1.4rem 1.8rem; border-radius: 1.3rem;
  background: linear-gradient(135deg, rgba(255, 250, 243, 0.9), rgba(255, 255, 255, 0.7));
  border: 1px solid rgba(184, 136, 42, 0.22); box-shadow: 0 12px 35px rgba(75,45,35,0.07);
  transition: all 0.3s ease;
}
.speaking-row:hover { transform: translateY(-3px); box-shadow: 0 20px 50px rgba(75,45,35,0.13); border-color: rgba(184, 136, 42,0.45); }
.sp-date { font-weight: 900; color: var(--gold-deep); font-size: 0.85rem; letter-spacing: 0.04em; }
.sp-main strong { display: block; font-family: var(--font-head), serif; font-size: 1.3rem; color: var(--wine); }
.sp-main span { color: var(--muted); font-size: 0.92rem; }
.sp-status { font-size: 0.7rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.35rem 0.8rem; border-radius: 999px; white-space: nowrap; }
.sp-upcoming { background: var(--gold); color: var(--plum); }
.sp-past { background: rgba(116,107,99,0.14); color: var(--muted); }
.speaking-cta { display: flex; align-items: center; justify-content: center; gap: 1.5rem; flex-wrap: wrap; margin-top: 2.5rem; text-align: center; }
.speaking-cta p { color: var(--muted); font-weight: 700; font-size: 1.05rem; }

/* ===================== Conference (existing) ===================== */
.conference { padding: 6rem 0; }
.conference-card {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem;
  background: linear-gradient(135deg, #fffaf3 0%, rgba(255, 250, 243, 0.8) 100%);
  backdrop-filter: blur(10px); border: 2px solid rgba(184, 136, 42, 0.25);
  border-radius: 2.5rem; padding: clamp(2rem, 4vw, 3rem); box-shadow: var(--shadow-strong);
  transition: all 0.3s ease;
}
.conference-card:hover { transform: translateY(-5px); box-shadow: 0 35px 110px rgba(58, 15, 32, 0.3); }
.conference-card img { height: 100%; min-height: 480px; width: 100%; object-fit: cover; object-position: center 30%; border-radius: 2rem; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2); align-self: center; }
.conference-copy { padding: clamp(1rem, 3vw, 2rem); }
.focus-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1.5rem; margin: 2rem 0; }
.focus-grid div { border-left: 4px solid var(--gold); padding-left: 1.2rem; transition: all 0.3s ease; }
.focus-grid div:hover { border-left-color: var(--wine); padding-left: 1.5rem; }
.focus-grid h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.focus-grid p { color: var(--muted); line-height: 1.7; }
.summit-close { font-style: italic; color: var(--wine); line-height: 1.7; margin: 0.5rem 0 1.8rem; padding-left: 1.1rem; border-left: 3px solid var(--gold); }

/* ===================== Ways we gather (tea parties + retreats) ===================== */
.gather { padding: 5rem 0; }
.gather-card {
  display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 3rem; align-items: center;
  margin-top: 3rem;
}
.gather-card.reverse .gather-photo { order: 2; }
.gather-photo { position: relative; }
.gather-photo img {
  width: 100%; height: 100%; max-height: 520px; min-height: 360px; object-fit: cover;
  border-radius: 2rem; box-shadow: var(--shadow-strong);
}
.gather-copy h3 {
  font-family: var(--font-head), serif; font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.2; margin: 0.4rem 0 1rem; color: var(--wine);
}
.gather-copy p { color: var(--muted); line-height: 1.8; margin-bottom: 1rem; }
.gather-copy .button { margin-top: 0.6rem; }

/* ===================== Community ===================== */
.community { padding: 6rem 0; }
.gallery { display: grid; grid-template-columns: 1.2fr 0.8fr 1fr; gap: 1.2rem; height: 520px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 2rem; box-shadow: 0 20px 60px rgba(55,35,28,0.15); transition: all 0.3s ease; }
.gallery img:hover { transform: scale(1.02) rotate(-1deg); box-shadow: 0 28px 80px rgba(55,35,28,0.25); }
.gallery img:nth-child(2) { margin-top: 3.5rem; height: calc(100% - 3.5rem); }
.reviews { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; margin-top: 1.3rem; }
.quote-card {
  position: relative; overflow: hidden; padding: 1.8rem 2rem 2rem;
  background: linear-gradient(135deg, rgba(255, 250, 243, 0.85), rgba(255, 255, 255, 0.7));
  backdrop-filter: blur(10px); border: 1px solid rgba(184, 136, 42, 0.25);
  border-radius: 1.8rem; box-shadow: 0 16px 45px rgba(75,45,35,0.08); transition: all 0.3s ease;
}
.quote-card:hover { transform: translateY(-5px); box-shadow: 0 24px 60px rgba(75,45,35,0.15); }
.quote-card::before { content: '\201C'; position: absolute; top: -1rem; left: 1rem; font-size: 10rem; font-family: var(--font-head), serif; color: rgba(184, 136, 42, 0.1); line-height: 1; }
.quote-card p { font-family: var(--font-head), Georgia, serif; color: var(--wine); font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.2; margin: 0 0 1.2rem; position: relative; font-weight: 700; }
.quote-card span { color: var(--rose); font-weight: 900; font-family: var(--font-body), sans-serif; font-size: 0.9rem; letter-spacing: 0.05em; }

/* ===================== Give ===================== */
.give { padding: 7rem 0; }
.give-layout { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 2rem; align-items: start; }
.give-card { padding: 2.6rem; border-radius: 2rem; }
.give-onetime {
  background: linear-gradient(150deg, var(--plum) 0%, var(--wine) 100%);
  color: #fff; box-shadow: var(--shadow-strong); position: relative; overflow: hidden;
}
.give-onetime::before { content: ''; position: absolute; top: -40%; right: -20%; width: 380px; height: 380px; background: radial-gradient(circle, rgba(184, 136, 42,0.18), transparent 70%); border-radius: 50%; }
.give-onetime h3 { color: #fff; position: relative; }
.give-sub { margin: 0.6rem 0 1.6rem; line-height: 1.6; position: relative; }
.give-onetime .give-sub { color: rgba(255,255,255,0.82); }
.give-onetime .give-sub a { color: var(--gold); text-decoration: underline; font-weight: 700; }
.give-onetime .give-sub a:hover { color: #fff; }
.give-btn { width: 100%; position: relative; margin-top: 0.4rem; }
.secure-note { position: relative; margin-top: 1.3rem; color: rgba(255,255,255,0.72); font-size: 0.82rem; line-height: 1.6; }
.secure-note .lock { margin-right: 0.3rem; }

.partner-about .give-sub { color: var(--muted); }
/* Why a partnership program panel */
.partner-about {
  background: linear-gradient(135deg, rgba(255, 250, 243, 0.95), rgba(255, 255, 255, 0.75));
  border: 1px solid rgba(184, 136, 42, 0.28); box-shadow: 0 12px 35px rgba(75,45,35,0.07);
}
.partner-about h3 { color: var(--wine); }
.about-objectives { list-style: none; display: grid; gap: 0.7rem; margin-bottom: 1.8rem; }
.about-objectives li { position: relative; padding-left: 1.7rem; color: var(--ink); font-weight: 600; line-height: 1.5; }
.about-objectives li::before {
  content: '✦'; position: absolute; left: 0; top: 0.05rem; color: var(--gold-deep); font-weight: 900;
}
.about-partners-label { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.8rem; }
.partner-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.partner-chips span {
  font-size: 0.8rem; font-weight: 700; color: var(--wine);
  background: rgba(184, 136, 42, 0.14); border: 1px solid rgba(184, 136, 42, 0.3);
  padding: 0.4rem 0.85rem; border-radius: 999px;
}

/* Multi-tier partnership program */
.partnership-tiers { margin-top: 3rem; }
.partnership-tiers .section-heading { margin-bottom: 2.6rem; }

.tier-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; align-items: stretch; }
.tier {
  display: flex; flex-direction: column; position: relative;
  padding: 1.9rem 1.6rem; border-radius: 1.5rem;
  background: linear-gradient(160deg, rgba(255, 250, 243, 0.95), rgba(255, 255, 255, 0.8));
  border: 1px solid rgba(184, 136, 42, 0.28); box-shadow: 0 12px 35px rgba(75,45,35,0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.tier:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(75,45,35,0.16); border-color: rgba(184, 136, 42,0.55); }
.tier.is-featured { background: linear-gradient(160deg, rgba(184, 136, 42,0.16), rgba(255,255,255,0.85)); border-color: var(--gold); box-shadow: 0 20px 50px rgba(184, 136, 42,0.22); }
.tier-label { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-deep); }
.tier-name { font-family: var(--font-head), serif; font-size: 1.25rem; color: var(--wine); margin: 0.3rem 0 0.9rem; line-height: 1.25; }
.tier-price { display: flex; align-items: baseline; gap: 0.3rem; }
.tier-price strong { font-family: var(--font-head), serif; font-size: 1.55rem; color: var(--wine); line-height: 1; }
.tier-price span { font-size: 0.78rem; color: var(--muted); font-weight: 700; }
.tier-annual { font-size: 0.82rem; color: var(--muted); margin: 0.35rem 0 1rem; }
.tier-ideal { font-size: 0.85rem; color: var(--ink); line-height: 1.5; padding: 0.8rem 0; margin-bottom: 1rem; border-top: 1px solid rgba(184, 136, 42,0.22); border-bottom: 1px solid rgba(184, 136, 42,0.22); }
.tier-ideal span { display: block; font-size: 0.64rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.3rem; }
.tier-benefits { list-style: none; display: grid; gap: 0.65rem; margin-bottom: 1.6rem; flex: 1; }
.tier-benefits li { position: relative; padding-left: 1.6rem; font-size: 0.86rem; line-height: 1.5; color: var(--ink); }
.tier-benefits li::before {
  content: '✓'; position: absolute; left: 0; top: 0.1rem; color: var(--plum); font-weight: 900; font-size: 0.62rem;
  width: 1.05rem; height: 1.05rem; border-radius: 50%; background: var(--gold);
  display: inline-flex; align-items: center; justify-content: center;
}
.tier-pick {
  display: block; text-align: center; margin-top: auto;
  font-weight: 900; font-size: 0.82rem; color: var(--plum);
  background: linear-gradient(135deg, var(--gold), var(--accent));
  padding: 0.8rem 1.1rem; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 8px 20px rgba(184, 136, 42,0.35); transition: all 0.25s ease;
}
.tier-pick:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(184, 136, 42,0.5); }
.tier-badge {
  position: absolute; top: -0.7rem; left: 50%; transform: translateX(-50%);
  font-size: 0.6rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; color: var(--plum);
  background: var(--gold); padding: 0.25rem 0.7rem; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 6px 16px rgba(184, 136, 42,0.4);
}

/* Partner vision */
.partner-vision {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center;
  margin-top: 2rem; padding: 2.8rem clamp(1.5rem, 4vw, 3rem); border-radius: 2rem;
  background: linear-gradient(135deg, rgba(96, 25, 56, 0.04), rgba(184, 136, 42, 0.07));
  border: 1px solid rgba(184, 136, 42, 0.3);
}
.partner-vision h3 { margin: 0.4rem 0 0.8rem; }
.partner-vision p { color: var(--muted); line-height: 1.8; margin-bottom: 1.6rem; }
.vision-points { list-style: none; display: grid; gap: 0.9rem; }
.vision-points li { display: flex; align-items: center; gap: 0.9rem; color: var(--ink); font-weight: 600; }
.vision-points li span { display: inline-flex; align-items: center; justify-content: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--gold); color: var(--plum); font-weight: 900; flex-shrink: 0; }

/* ===================== Newsletter ===================== */
.newsletter { padding: 5rem 0; }
.newsletter-card {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; align-items: center;
  background: linear-gradient(135deg, var(--wine) 0%, var(--wine-2) 100%);
  color: #fff; border-radius: 2.5rem; padding: clamp(2rem, 5vw, 3.5rem);
  box-shadow: var(--shadow-strong); position: relative; overflow: hidden;
}
.newsletter-card::before { content: ''; position: absolute; bottom: -40%; left: -15%; width: 480px; height: 480px; background: radial-gradient(circle, rgba(184, 136, 42,0.16), transparent 70%); border-radius: 50%; }
.newsletter-copy { position: relative; }
.newsletter-copy h2 { color: #fff; }
.newsletter-copy .eyebrow { color: var(--gold); }
.newsletter-copy .eyebrow::before { background: var(--gold); }
.newsletter-copy p { color: rgba(255,255,255,0.85); line-height: 1.7; margin-top: 0.8rem; }
.newsletter-form { position: relative; display: grid; gap: 1rem; }
.track-select { border: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.track-select legend { color: rgba(255,255,255,0.9); font-weight: 800; font-size: 0.85rem; margin-bottom: 0.6rem; }
.radio-pill { position: relative; cursor: pointer; }
.radio-pill input { position: absolute; opacity: 0; }
.radio-pill span { display: block; padding: 1rem 1.2rem; border-radius: 1.1rem; border: 2px solid rgba(255,255,255,0.25); background: rgba(255,255,255,0.08); transition: all 0.25s ease; }
.radio-pill span strong { display: block; color: #fff; font-size: 0.98rem; }
.radio-pill span small { color: rgba(255,255,255,0.7); font-size: 0.8rem; }
.radio-pill input:checked + span { border-color: var(--gold); background: rgba(184, 136, 42,0.2); }
.radio-pill input:focus-visible + span { box-shadow: 0 0 0 4px rgba(184, 136, 42,0.3); }
.newsletter-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.newsletter-form input[type="text"], .newsletter-form input[type="email"] {
  width: 100%; border: 2px solid rgba(255,255,255,0.25); border-radius: 1.1rem;
  background: rgba(255,255,255,0.12); color: #fff; padding: 1rem 1.2rem; font: inherit; outline: none; transition: all 0.25s ease;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.55); }
.newsletter-form input:focus { border-color: var(--gold); background: rgba(255,255,255,0.18); }
.newsletter-form .primary { background: var(--gold); color: var(--plum); border-color: var(--gold); justify-self: start; }
.newsletter-form .primary:hover { filter: brightness(1.05); }
.form-status { font-size: 0.9rem; font-weight: 700; min-height: 1.2rem; }
.newsletter-form .form-status { color: var(--gold); }

/* ===================== YouTube (existing) ===================== */
.youtube-section { padding: 7rem 0; background: linear-gradient(135deg, rgba(234, 217, 200, 0.2) 0%, transparent 100%); }
.youtube-card { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.9) 100%); border: 2px solid rgba(184, 136, 42, 0.25); border-radius: 2.5rem; padding: 3.5rem; box-shadow: var(--shadow-strong); overflow: hidden; position: relative; }
.youtube-card::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(255, 0, 0, 0.03) 0%, transparent 70%); animation: rotate 20s linear infinite; }
@keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.youtube-content { position: relative; z-index: 1; }
.youtube-features { list-style: none; margin: 2rem 0; padding: 0; }
.youtube-features li { display: flex; align-items: center; gap: 1rem; padding: 0.8rem 0; color: var(--muted); font-size: 1.05rem; line-height: 1.6; }
.youtube-features li span { color: var(--wine); font-weight: 900; font-size: 1.2rem; flex-shrink: 0; }
.youtube-btn { background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%); color: white; box-shadow: 0 16px 40px rgba(255, 0, 0, 0.3); border: none; margin-top: 1rem; }
.youtube-btn:hover { background: linear-gradient(135deg, #CC0000 0%, #FF0000 100%); box-shadow: 0 20px 50px rgba(255, 0, 0, 0.4); }
.youtube-btn svg { flex-shrink: 0; }
.youtube-embed { display: block; position: relative; z-index: 1; aspect-ratio: 16/9; border-radius: 1.5rem; overflow: hidden; box-shadow: var(--shadow-strong); background: linear-gradient(135deg, #601938 0%, var(--wine-2) 100%); }
.video-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--wine) 0%, var(--wine-2) 100%); transition: all 0.3s ease; cursor: pointer; }
.video-placeholder:hover { background: linear-gradient(135deg, var(--wine-2) 0%, var(--wine) 100%); }
.video-placeholder svg { transition: transform 0.3s ease; }
.video-placeholder:hover svg { transform: scale(1.2); }

/* ===================== FAQ (existing) ===================== */
.faq { padding: 6rem 0; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; align-items: start; }
.faq details {
  background: linear-gradient(135deg, rgba(255, 250, 243, 0.85), rgba(255, 255, 255, 0.7));
  backdrop-filter: blur(10px); border: 1px solid rgba(184, 136, 42, 0.25);
  border-radius: 1.8rem; padding: 1.8rem; box-shadow: 0 16px 45px rgba(75,45,35,0.08);
  cursor: pointer; transition: all 0.3s ease;
}
.faq details[open] { padding-bottom: 2rem; border-color: rgba(184, 136, 42, 0.5); }
.faq summary { cursor: pointer; color: var(--wine); font-weight: 900; font-size: 1.08rem; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; transition: all 0.3s ease; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.5rem; font-weight: 800; color: var(--gold); transition: transform 0.3s ease; flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--gold); }
.faq p { color: var(--muted); line-height: 1.8; font-size: 1.05rem; margin-top: 1rem; }

/* ===================== Contact (existing) ===================== */
.contact { padding: 6rem 0; }
.contact-card {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem;
  background: linear-gradient(135deg, var(--wine) 0%, var(--wine-2) 100%); color: white;
  border-radius: 2.5rem; padding: clamp(2rem, 5vw, 4rem); box-shadow: var(--shadow-strong);
  position: relative; overflow: hidden;
}
.contact-card::before { content: ''; position: absolute; top: -50%; right: -30%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(184, 136, 42, 0.15) 0%, transparent 70%); border-radius: 50%; }
.contact-card h2 { color: white; }
.contact-card p { color: rgba(255,255,255,0.85); line-height: 1.7; margin-top: 0.8rem; }
.email-line { color: var(--gold) !important; font-weight: 900; font-size: 1.1rem; letter-spacing: 0.02em; }
.contact form { display: grid; gap: 1.2rem; position: relative; z-index: 1; }
.contact label { display: grid; gap: 0.5rem; color: rgba(255,255,255,0.9); font-weight: 800; font-size: 0.9rem; letter-spacing: 0.03em; }
input, textarea, select { width: 100%; border: 2px solid rgba(255,255,255,0.25); border-radius: 1.2rem; background: rgba(255,255,255,0.15); backdrop-filter: blur(10px); color: white; padding: 1.1rem 1.3rem; font: inherit; outline: none; transition: all 0.3s ease; }
.contact select option { color: var(--ink); }
input:focus, textarea:focus, select:focus { border-color: var(--gold); background: rgba(255,255,255,0.2); box-shadow: 0 0 0 4px rgba(184, 136, 42, 0.2); }
textarea { min-height: 140px; resize: vertical; }
input::placeholder, textarea::placeholder { color: rgba(255,255,255,0.55); }
.contact .primary { background: white; color: var(--wine); justify-self: start; border: 2px solid white; }
.contact .primary:hover { background: var(--gold); color: white; border-color: var(--gold); }
.contact .form-status { color: var(--gold); }

/* ===================== Footer ===================== */
.site-footer { border-top: 2px solid var(--line); padding: 3.5rem clamp(1rem, 4vw, 3.5rem) 2rem; background: linear-gradient(180deg, transparent 0%, rgba(234, 217, 200, 0.15) 100%); }
.footer-content { display: grid; grid-template-columns: 1.2fr 1.4fr; gap: 4rem; margin-bottom: 3rem; max-width: 1180px; margin-left: auto; margin-right: auto; }
.footer-brand img { width: 110px; margin-bottom: 1.2rem; }
.footer-tagline { color: var(--muted); font-size: 0.95rem; line-height: 1.6; max-width: 400px; }
.footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; max-width: 420px; }
.footer-links div { display: flex; flex-direction: column; gap: 0.8rem; }
.footer-links strong { color: var(--wine); font-weight: 900; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.4rem; }
.footer-links a { color: var(--muted); font-weight: 600; font-size: 0.95rem; transition: all 0.3s ease; display: inline-block; }
.footer-links a:hover { color: var(--wine); transform: translateX(5px); }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid var(--line); max-width: 1180px; margin: 0 auto; }
.footer-bottom p { color: var(--muted); font-size: 0.88rem; font-weight: 600; }
.footer-bottom .footer-social { justify-content: center; margin: 0 0 1.2rem; }
.footer-bottom p.footer-credit { margin-top: 0.4rem; font-size: 0.82rem; font-weight: 500; }
.footer-bottom p.footer-credit a { color: var(--wine); font-weight: 700; display: inline-flex; align-items: center; }
.footer-bottom p.footer-credit a:hover { text-decoration: underline; }
.footer-bottom p.footer-credit .cozy-logo {
  display: inline-block; width: 28px; height: 15px; margin-left: 0.35rem; vertical-align: middle;
  background-color: var(--wine);
  -webkit-mask-image: url('assets/cozy-digital-logo.png'); mask-image: url('assets/cozy-digital-logo.png');
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
}

/* ===================== Responsive ===================== */
@media (max-width: 1024px) {
  .book-card, .youtube-card, .newsletter-card { grid-template-columns: 1fr; gap: 3rem; }
  .book-cover { width: 280px; height: 420px; }
  .resource-grid { grid-template-columns: repeat(2, 1fr); }
  .give-layout { grid-template-columns: 1fr; }
  .partner-vision { grid-template-columns: 1fr; gap: 2rem; }
  .tier-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; top: calc(100% + 1px); left: 1rem; right: 1rem;
    display: none; flex-direction: column; align-items: stretch; padding: 1.2rem;
    /* Fully opaque, no backdrop-filter: iOS Safari has long-standing
       compositing bugs where a blurred, semi-transparent sticky-header
       child renders with page content ghosting through it. A solid fill
       sidesteps the whole bug class instead of chasing it per-device. */
    background: var(--paper);
    border: 1px solid var(--line); border-radius: 1.5rem; box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 1rem; border-radius: 0.8rem; }
  .nav-links a:hover { background: rgba(96, 25, 56, 0.05); }
  .nav-give { text-align: center; }

  .hero, .split, .story, .conference-card, .contact-card, .footer-content, .track-grid, .gather-card { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 3.5rem; }
  .hero-card { transform: none; }
  .conference-card img { min-height: 360px; }
  .gather-card.reverse .gather-photo { order: 0; }
  .gather-photo img { max-height: 420px; }
  .story-portrait img { height: 480px; }
  .speaking-row { grid-template-columns: 1fr auto; }
  .speaking-row .sp-date { grid-column: 1 / -1; }
  .stats, .faq-grid, .reviews, .footer-links { grid-template-columns: 1fr 1fr; }
  /* The floating "Give" button is fixed at bottom-right on mobile; add
     footer clearance so it never overlaps the copyright / credit line. */
  body:not([data-page="partnership"]) .footer-bottom { padding-bottom: 4.5rem; }
}

@media (max-width: 640px) {
  .announce-bar { padding: 0.6rem 2.2rem; font-size: 0.82rem; }
  /* "Save the date." drops to its own line on mobile so the event
     name/date/location isn't crammed together with the call to action.
     Center it (and the event line) so it lines up with the rest of the
     bar instead of sitting left-aligned and looking out of place. */
  .announce-inner .announce-note { flex-basis: 100%; text-align: center; margin: 0.1rem 0; }
  .announce-inner p { text-align: center; width: 100%; }
  .faq-grid, .reviews, .focus-grid, .resource-grid, .newsletter-inputs, .track-select { grid-template-columns: 1fr; }
  /* Two groups (Explore, Get Involved) sit side by side rather than
     stacking into one very tall vertical list. Left-align the links and
     center the pair under the brand block. */
  .footer-links { grid-template-columns: 1fr 1fr; gap: 1.5rem 2rem; text-align: left; justify-content: center; max-width: 360px; margin-left: auto; margin-right: auto; }
  .gallery { grid-template-columns: 1fr; height: auto; }
  .gallery img, .gallery img:nth-child(2) { height: 300px; margin: 0; }
  .tier-grid { grid-template-columns: 1fr; }
  .resource-controls { flex-direction: column; align-items: stretch; }
  .resource-search input { width: 100%; }
  /* Stack the card contents and pin each child to the card width so the
     text wraps. The base card is a wrapping flex row; on a narrow column
     layout that let the children size to their max-content width, so the
     text overflowed the card and got clipped on the right. nowrap + an
     explicit full width forces them back inside the card. */
  .timeline-card { flex-direction: column; align-items: stretch; flex-wrap: nowrap; }
  .timeline-card > * { min-width: 0; width: 100%; }
  /* Let the action row (status pill + details link + Add to calendar)
     wrap instead of running off the side of the narrow card. */
  .tl-action { flex-wrap: wrap; row-gap: 0.8rem; }
  .site-footer { text-align: center; }
  .footer-content { grid-template-columns: 1fr; gap: 2rem; }
  .footer-brand { text-align: center; }
  .footer-brand img, .footer-tagline { margin-left: auto; margin-right: auto; }
  h1 { font-size: clamp(2.2rem, 10.5vw, 4.4rem); overflow-wrap: break-word; hyphens: auto; }
  .book-card, .youtube-card { padding: 2rem 1.5rem; }
  .book-cover { width: 240px; height: 360px; }
  .book-actions { flex-direction: column; }
  .book-actions .button { width: 100%; }
  .eyebrow::before { display: none; }
  .hero-trust { gap: 1.4rem; }

  /* Keep the "Clarity · Confidence · Community" tagline on one line
     instead of wrapping under the wordmark, but let the whole brand
     block actually shrink to fit next to the Menu button (min-width:0
     overrides the flex default that was blocking it), and truncate
     with an ellipsis as a safety net on the very narrowest phones
     instead of overflowing the header and clipping the Menu button.
     !important throughout: the base .bw-main/.bw-sub rules live later
     in the file (in the brand-refresh section) at equal specificity,
     so on a specificity tie they'd otherwise win via source order
     regardless of this media query actually matching. */
  .brand-vessel { width: 41px !important; height: 48px !important; }
  .brand { min-width: 0; flex-shrink: 1; }
  .brand .brand-wordmark { min-width: 0; }
  .brand .brand-wordmark .bw-main { font-size: 1.2rem !important; }
  .brand .brand-wordmark .bw-sub {
    font-size: 0.5rem !important; letter-spacing: 0.02em !important; white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis; max-width: 100%;
  }
  .menu-toggle { flex-shrink: 0; }
}

/* ===================== Mobile: picture on top of hero ===================== */
@media (max-width: 900px) {
  .hero-card { order: -1; }
}

/* ============ "Because of you" collapse w/ show-more (mobile) ============ */
.because-toggle { display: none; }
@media (max-width: 900px) {
  .because-wrap.is-collapsed .because-item.is-hidden { display: none; }
  .because-wrap.is-collapsed .because-close { display: none; }
  .because-toggle {
    display: inline-flex; align-items: center; gap: 0.45rem; margin-top: 0.4rem;
    background: none; border: none; padding: 0.5rem 0; cursor: pointer;
    color: var(--wine); font-family: var(--font-body);
    font-weight: 800; font-size: 0.98rem; letter-spacing: 0.02em;
  }
  .because-toggle .chev { transition: transform 0.25s ease; font-size: 0.8em; }
  .because-wrap:not(.is-collapsed) .because-toggle .chev { transform: rotate(180deg); }
}

/* ===================== Floating "Give" button (persistent) ===================== */
.floating-give {
  position: fixed; right: clamp(0.8rem, 3vw, 1.4rem); bottom: clamp(0.8rem, 3vw, 1.4rem);
  z-index: 45; display: none; align-items: center; gap: 0.4rem;
  padding: 0.85rem 1.3rem; border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--accent));
  color: var(--plum); font-weight: 900; font-family: var(--font-body);
  letter-spacing: 0.01em; text-decoration: none;
  box-shadow: 0 10px 28px rgba(58, 15, 32, 0.35);
  transition: transform 0.25s ease, filter 0.25s ease;
}
.floating-give:hover { color: var(--plum); filter: brightness(1.05); transform: translateY(-2px); }
/* Show on narrow screens (where the nav Partner button collapses into the menu),
   but never on the partnership page, its own donate box is already on screen. */
@media (max-width: 900px) {
  body:not([data-page="partnership"]) .floating-give { display: inline-flex; }
}

/* ===================== Film-grain texture (depth) ===================== */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
.site-header, .announce-bar, .scroll-progress { position: relative; z-index: 20; }

/* ===================== Animated heading underline =====================
   The dash lives INSIDE the h2 box (padding-bottom + bottom: 0) so the
   space between heading, dash, and whatever follows is identical on
   every section, instead of hanging into the next element. */
.section-heading h2 { position: relative; display: inline-block; padding-bottom: 1rem; }
.section-heading.centered h2::after { left: 50%; transform: translateX(-50%); }
.section-heading h2::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--gold), var(--rose)); border-radius: 999px;
  transition: width 0.9s cubic-bezier(.2,.7,.2,1) 0.2s;
}
.section-heading.in-view h2::after { width: clamp(3rem, 18%, 6rem); }
.section-heading h2 + p { margin-top: 0.4rem; }

/* ===================== Scroll progress bar ===================== */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--rose), var(--gold));
  z-index: 50; box-shadow: 0 0 12px rgba(184, 136, 42, 0.7);
  transition: width 0.1s linear;
}

/* ===================== Hero aurora (subtle drifting glow) ===================== */
.hero { position: relative; }
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(70px);
  z-index: -1; pointer-events: none; opacity: 0.55;
}
.hero::before {
  width: 26rem; height: 26rem; top: -4rem; left: -6rem;
  background: radial-gradient(circle, rgba(184, 136, 42,0.5), transparent 70%);
  animation: drift1 16s ease-in-out infinite;
}
.hero::after {
  width: 22rem; height: 22rem; bottom: -3rem; right: -4rem;
  background: radial-gradient(circle, rgba(166,93,84,0.4), transparent 70%);
  animation: drift2 20s ease-in-out infinite;
}
@keyframes drift1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(3rem, 2rem) scale(1.12); } }
@keyframes drift2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-2.5rem, -2rem) scale(1.15); } }

/* ===================== Animated headline shimmer ===================== */
h1 {
  background: linear-gradient(110deg, var(--wine) 0%, var(--rose) 30%, var(--gold-deep) 50%, var(--rose) 70%, var(--wine) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  animation: fadeInUp 0.8s ease 0.4s both, shimmer 9s ease-in-out infinite;
}
@keyframes shimmer { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* ===================== Card spotlight + tilt ===================== */
.tilt { transform-style: preserve-3d; will-change: transform; transition: transform 0.25s ease, box-shadow 0.3s ease; }
.spotlight { position: relative; overflow: hidden; }
.spotlight::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(184, 136, 42,0.16), transparent 60%);
  transition: opacity 0.3s ease;
}
.spotlight:hover::after { opacity: 1; }

/* ===================== Magnetic buttons ===================== */
.button { will-change: transform; }

/* Gallery image subtle Ken-Burns on hover */
.gallery img { will-change: transform; }

/* ===================== Reveal on scroll ===================== */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.7s cubic-bezier(.2,.7,.2,1), transform 0.7s cubic-bezier(.2,.7,.2,1); }
  .reveal.from-left { transform: translateX(-44px); }
  .reveal.from-right { transform: translateX(44px); }
  .reveal.zoom { transform: scale(0.92); }
  .reveal.in-view { opacity: 1; transform: translate(0,0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-progress { display: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ============================================================
   Week 1 sync additions: nav dropdown, events, bookings,
   community coming-soon, social, branding placeholder
   ============================================================ */

/* ----- Brand / footer wordmark fallback (until logo is delivered) ----- */
.brand-wordmark {
  font-family: var(--font-head), serif; font-weight: 800;
  font-size: 1.4rem; color: var(--wine); letter-spacing: -0.01em;
}
.footer-wordmark {
  font-family: var(--font-head), serif; font-weight: 800;
  font-size: 1.5rem; color: var(--wine); margin-bottom: 1.2rem;
}

/* ----- Nav dropdown (Events) ----- */
.nav-dropdown { position: relative; display: inline-flex; align-items: center; }
.nav-dropdown-toggle { display: inline-flex; align-items: center; gap: 0.3rem; }
.nav-dropdown .caret { font-size: 0.7rem; transition: transform 0.25s ease; }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 0.6rem); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 200px; padding: 0.6rem; display: flex; flex-direction: column; gap: 0.2rem;
  background: rgba(255, 250, 243, 0.98); backdrop-filter: blur(20px);
  border: 1px solid var(--line); border-radius: 1rem; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transition: all 0.25s ease; z-index: 40;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.nav-dropdown:hover .caret { transform: rotate(180deg); }
.nav-dropdown-menu a {
  padding: 0.7rem 0.9rem !important; border-radius: 0.7rem;
  text-transform: none; letter-spacing: normal; font-size: 0.92rem; color: var(--ink);
}
.nav-dropdown-menu a::after { display: none; }
.nav-dropdown-menu a:hover { background: rgba(96, 25, 56, 0.06); color: var(--wine); }

/* ----- Event filters + category badge ----- */
.event-filters { margin-bottom: 2.2rem; }
.tl-cat {
  display: inline-block; font-size: 0.62rem; font-weight: 900; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 0.3rem 0.7rem; border-radius: 999px;
  background: rgba(184, 136, 42, 0.9); color: var(--plum); margin-bottom: 0.6rem;
}
/* Guest-speaker marker for external events May speaks at (not DPW-hosted). */
.tl-guest {
  display: inline-block; margin: 0 0 0.6rem 0.4rem; font-size: 0.62rem; font-weight: 900;
  letter-spacing: 0.1em; text-transform: uppercase; padding: 0.3rem 0.7rem; border-radius: 999px;
  background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.45);
}
.status-guest { background: rgba(255,255,255,0.18); color: #fff; border: 1px solid rgba(255,255,255,0.3); }
.timeline-info .tl-title {
  display: block; margin-top: 0.1rem; font-family: var(--font-head), serif;
  font-size: 1.55rem; font-weight: 800; line-height: 1.15;
}
.timeline-info .tl-date { display: block; margin-top: 0.5rem; }
.timeline-info .tl-loc {
  display: block; margin-top: 0.2rem; font-family: var(--font-body), sans-serif;
  font-size: 0.95rem; font-weight: 700; color: rgba(255,255,255,0.92);
}
.timeline-item.is-past .tl-loc { color: var(--wine); }

/* ----- Bookings ----- */
.bookings { padding: 6rem 0; }
.bookings-card {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem;
  background: linear-gradient(135deg, var(--wine) 0%, var(--wine-2) 100%); color: white;
  border-radius: 2.5rem; padding: clamp(2rem, 5vw, 4rem); box-shadow: var(--shadow-strong);
  position: relative; overflow: hidden;
}
.bookings-card::before {
  content: ''; position: absolute; top: -50%; right: -30%; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(184, 136, 42,0.15) 0%, transparent 70%); border-radius: 50%;
}
.bookings-intro h2 { color: white; }
.bookings-photo {
  width: 100%; max-height: 320px; object-fit: cover; object-position: center 6%;
  border-radius: 1.5rem; margin: 1.4rem 0 0.4rem; display: block;
  box-shadow: 0 18px 40px rgba(0,0,0,0.28); position: relative; z-index: 1;
}
.bookings-intro p { color: rgba(255,255,255,0.85); line-height: 1.7; margin-top: 0.8rem; }
.bookings form { display: grid; gap: 1.1rem; position: relative; z-index: 1; }
.bookings label { display: grid; gap: 0.5rem; color: rgba(255,255,255,0.9); font-weight: 800; font-size: 0.9rem; }
.bookings .primary { background: white; color: var(--wine); justify-self: start; border: 2px solid white; }
.bookings .primary:hover { background: var(--gold); color: white; border-color: var(--gold); }
.bookings .form-status { color: var(--gold); font-weight: 700; }

/* ----- Give: payment methods line ----- */
.give-onetime .form-status { color: var(--cream); margin-top: 0.8rem; }
.give-methods { margin-top: 1.1rem; color: rgba(255,255,255,0.82); font-size: 0.84rem; font-weight: 600; }
.give-methods span { color: var(--gold); font-weight: 800; }

/* ----- Community: Coming Soon ----- */
.coming-soon-card {
  max-width: 720px; margin: 0 auto; text-align: center;
  padding: clamp(2.5rem, 6vw, 4.5rem);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255,250,243,0.95), rgba(255,255,255,0.8));
  border: 1px solid rgba(184, 136, 42, 0.25);
  box-shadow: var(--shadow);
}
.coming-soon-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 92px; height: 92px; border-radius: 50%;
  color: var(--wine); background: rgba(96, 25, 56, 0.08);
  margin-bottom: 1.4rem;
}
.coming-soon-mark .brand-vessel { width: 58px; height: 68px; }
.coming-soon-tag {
  display: inline-block; background: var(--gold); color: var(--plum);
  font-weight: 900; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.3rem 0.9rem; border-radius: 999px; margin-bottom: 1.2rem;
}
.coming-soon-card h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.coming-soon-sub { color: var(--muted); line-height: 1.7; margin: 1.1rem auto 0; max-width: 480px; }
.coming-soon-form {
  display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center;
  margin-top: 1.8rem;
}
.coming-soon-form label { flex: 1 1 180px; max-width: 260px; }
.coming-soon-form input {
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  border-radius: 999px; padding: 1rem 1.3rem;
}
.coming-soon-form input::placeholder { color: var(--muted); }
.coming-soon-form input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184, 136, 42, 0.18); }
.coming-soon-form .button { flex: 0 0 auto; }
.coming-soon-form .form-status { flex-basis: 100%; color: var(--gold-deep); }
.coming-soon-meanwhile { margin-top: 1.6rem; color: var(--muted); font-size: 0.95rem; }
.coming-soon-meanwhile a { color: var(--wine); font-weight: 800; border-bottom: 2px solid rgba(96, 25, 56, 0.25); }
.coming-soon-meanwhile a:hover { border-color: var(--wine); }

/* ===================== Community forum (preview) ===================== */
.community-banner {
  display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between;
  background: linear-gradient(135deg, var(--plum), var(--wine));
  color: #fff; border-radius: var(--radius); padding: 1.8rem clamp(1.4rem, 3vw, 2.4rem);
  margin-bottom: 2rem; box-shadow: var(--shadow);
}
.community-banner-copy { flex: 1 1 320px; }
.community-banner .coming-soon-tag { margin-bottom: 0.6rem; }
.community-banner h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); }
.community-banner p { color: rgba(255,255,255,0.82); margin-top: 0.4rem; max-width: 46ch; }
.community-notify { display: flex; flex-wrap: wrap; gap: 0.6rem; flex: 1 1 300px; }
.community-notify label { flex: 1 1 140px; }
.community-notify input {
  width: 100%; padding: 0.8rem 1rem; border-radius: 0.9rem; border: 1px solid transparent;
  background: rgba(255,255,255,0.95); font: inherit; color: var(--ink);
}
.community-notify input:focus { outline: 2px solid var(--gold); }
.community-notify .button { flex: 0 0 auto; }
.community-notify .form-status { flex-basis: 100%; color: #ffe9c7; margin: 0; }

.community-composer {
  display: flex; align-items: center; gap: 0.9rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0.9rem 1.1rem; margin-bottom: 1.5rem; box-shadow: var(--shadow);
}
.community-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-size: 1.4rem; font-weight: 700;
  background: linear-gradient(135deg, var(--gold), var(--accent)); color: var(--plum);
}
.community-composer-fake {
  flex: 1; text-align: left; padding: 0.8rem 1.1rem; border-radius: 999px;
  border: 1px dashed var(--line); background: var(--paper); color: var(--muted);
  font: inherit; font-weight: 600; cursor: pointer; transition: border-color 0.2s ease, background 0.2s ease;
}
.community-composer-fake:hover { border-color: var(--wine-2); background: #fff; color: var(--wine); }

.community-layout { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.community-topics {
  position: sticky; top: 110px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.1rem; box-shadow: var(--shadow);
}
.community-aside-title {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em;
  font-weight: 800; color: var(--rose); margin: 0.2rem 0 0.7rem;
}
.community-topic-list { display: flex; flex-direction: column; gap: 0.3rem; }
.community-topic {
  display: flex; align-items: center; gap: 0.7rem; width: 100%; text-align: left;
  padding: 0.6rem 0.7rem; border: none; background: none; border-radius: 0.9rem;
  cursor: pointer; font: inherit; color: var(--ink); transition: background 0.2s ease;
}
.community-topic:hover { background: var(--paper); }
.community-topic.is-active { background: rgba(96, 25, 56, 0.08); }
.community-topic .ct-icon {
  width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: var(--blush); color: var(--wine); font-size: 1rem;
}
.community-topic .ct-body { display: flex; flex-direction: column; line-height: 1.25; }
.community-topic .ct-body strong { font-size: 0.92rem; color: var(--wine); font-weight: 800; }
.community-topic .ct-body small { font-size: 0.76rem; color: var(--muted); }

.community-feed { display: flex; flex-direction: column; gap: 1rem; }
.community-thread {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.3rem 1.4rem; box-shadow: var(--shadow); transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.community-thread:hover { transform: translateY(-2px); box-shadow: var(--shadow-strong); }
.community-thread-head { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.7rem; }
.community-thread-avatar {
  width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--wine), var(--wine-2)); color: #fff; font-weight: 800;
}
.community-thread-head strong { display: block; font-size: 0.92rem; color: var(--ink); }
.community-thread-meta { font-size: 0.78rem; color: var(--muted); }
.community-thread-topic {
  margin-left: auto; font-size: 0.72rem; font-weight: 800; color: var(--rose);
  background: var(--blush); padding: 0.25rem 0.7rem; border-radius: 999px; white-space: nowrap;
}
.community-thread-title { font-size: 1.15rem; color: var(--wine); margin: 0.1rem 0 0.4rem; }
.community-thread-excerpt { color: var(--muted); line-height: 1.6; margin: 0 0 0.9rem; white-space: pre-line; }
.community-thread-foot { display: flex; align-items: center; gap: 1.2rem; font-size: 0.85rem; color: var(--muted); font-weight: 700; }
.community-thread { cursor: pointer; }
.community-thread-full { cursor: default; }
.community-thread-open {
  margin-left: auto; border: none; background: none; color: var(--rose);
  font: inherit; font-weight: 800; cursor: pointer;
}
.community-thread-open:hover { text-decoration: underline; }

/* ----- Compose / thread-detail panel ----- */
.community-panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow); max-width: 720px; margin: 0 auto;
}
.community-back {
  border: none; background: none; color: var(--wine); font: inherit; font-weight: 800;
  cursor: pointer; padding: 0 0 1.2rem; font-size: 0.88rem;
}
.community-back:hover { text-decoration: underline; }
.community-panel .community-thread { padding: 0; border: none; box-shadow: none; margin-bottom: 1.6rem; }
.community-panel .community-thread:hover { transform: none; }
.community-form { margin-top: 1.6rem; }
.community-form h3 { font-size: 1.1rem; color: var(--wine); margin-bottom: 0.9rem; }
.community-form textarea { resize: vertical; font-family: inherit; }

.community-replies { margin: 1.6rem 0; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.community-reply { display: flex; gap: 0.8rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.community-reply:last-child { border-bottom: none; }
.community-reply-body { flex: 1; }
.community-reply-body strong { display: block; font-size: 0.9rem; color: var(--ink); }
.community-reply-body p { color: var(--muted); line-height: 1.6; margin: 0.35rem 0 0; white-space: pre-line; }

@media (max-width: 900px) {
  .community-layout { grid-template-columns: 1fr; }
  .community-topics { position: static; }
  .community-topic-list { flex-direction: row; flex-wrap: wrap; }
  .community-topic { width: auto; }
  .community-topic .ct-body small { display: none; }
  .community-panel { padding: 1.2rem; }
}

/* ----- Events: featured cards ----- */
.event-featured-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem;
  margin: 2rem 0 3rem;
}
.event-featured-grid[hidden] { display: none; }
.featured-event {
  display: flex; flex-direction: column; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255,250,243,0.95), rgba(255,255,255,0.85));
  border: 1px solid rgba(184, 136, 42, 0.25); box-shadow: var(--shadow);
}
.featured-event-art {
  position: relative; min-height: 210px; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.featured-event-art .brand-vessel { width: 129px; height: 150px; opacity: 0.92; color: var(--cream); }
.featured-event-art.art-plum { background: linear-gradient(135deg, var(--plum), var(--wine) 55%, var(--wine-2)); }
.featured-event-art.art-clay { background: linear-gradient(135deg, var(--gold-deep), var(--rose) 55%, var(--accent)); }
.featured-flag {
  position: absolute; top: 1.1rem; left: 1.1rem;
  background: rgba(244, 237, 227, 0.92); color: var(--plum);
  font-weight: 900; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.3rem 0.8rem; border-radius: 999px;
}
.featured-event-body { display: flex; flex-direction: column; gap: 0.7rem; padding: 1.8rem 2rem 2rem; flex: 1; }
.featured-event-body .tl-cat { align-self: flex-start; }
.featured-event-body h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.featured-event-date { color: var(--gold-deep); font-weight: 800; font-size: 0.95rem; }
.featured-event-desc { color: var(--muted); line-height: 1.7; font-size: 0.98rem; }
.featured-event-action { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: auto; padding-top: 0.6rem; }
.featured-event-action .tl-status { background: rgba(96, 25, 56, 0.1); color: var(--wine); }
.timeline-heading { margin-bottom: 1.4rem; }
/* ----- Footer social ----- */
.footer-social { display: flex; gap: 0.7rem; margin-top: 1.3rem; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%; color: var(--wine);
  background: rgba(96, 25, 56,0.07); transition: all 0.25s ease;
}
.footer-social a:hover { background: var(--wine); color: #fff; transform: translateY(-3px); }

/* ----- Responsive ----- */
@media (max-width: 900px) {
  .event-featured-grid { grid-template-columns: 1fr; }
  .bookings-card { grid-template-columns: 1fr; }
  .nav-dropdown { flex-direction: column; align-items: stretch; }
  .nav-dropdown-menu {
    position: static; transform: none; opacity: 1; visibility: visible;
    box-shadow: none; border: none; background: transparent; min-width: 0;
    max-height: 0; overflow: hidden; padding: 0; transition: max-height 0.25s ease;
  }
  /* Same specificity as the desktop .open rule that sets
     transform: translateX(-50%), without restating transform here too,
     that desktop rule wins the tie (later in source, equal specificity)
     and the submenu items render shifted off-screen to the left. */
  .nav-dropdown.open .nav-dropdown-menu { max-height: 300px; padding: 0.3rem 0 0.3rem 1rem; transform: none; }
  .nav-dropdown-menu a { padding: 0.8rem 1rem !important; }
}

/* ============================================================
   MULTI-PAGE ADDITIONS (brand refresh)
   ============================================================ */

/* ----- Vessel logo mark + wordmark ----- */
.brand { display: inline-flex; align-items: center; gap: 0.25rem; }
/* The vessel viewBox is cropped tight to the artwork (92:107), so sizes
   are height-driven with a matching width to keep the mark undistorted. */
.brand-vessel { width: 62px; height: 72px; color: var(--wine); flex: none; }
.brand .brand-wordmark {
  display: inline-flex !important; flex-direction: column; line-height: 1;
}
.brand .brand-wordmark .bw-main {
  font-family: var(--font-head), Georgia, serif; font-weight: 800;
  font-size: 1.5rem; color: var(--wine); letter-spacing: 0.01em;
}
.brand .brand-wordmark .bw-sub {
  font-size: 0.72rem; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 700; margin-top: 0.22rem;
}

/* ----- Active nav link ----- */
.nav-links a.is-current { color: var(--wine); }
.nav-links a.is-current::after { width: 100%; }
.nav-links a.nav-give.is-current { color: #fff !important; }

/* Social icons live in the footer only (moved out of the header per brand direction). */

/* nav-give now reads as "Partner" CTA in purple */
.nav-give {
  background: linear-gradient(135deg, var(--wine), var(--wine-2)) !important;
  color: #fff !important;
  box-shadow: 0 8px 22px rgba(96, 25, 56, 0.38);
}
.nav-give:hover { color: #fff !important; box-shadow: 0 12px 30px rgba(96, 25, 56, 0.5); }

/* ----- Inner-page hero band ----- */
.page-hero { padding: 3.5rem 0 1rem; text-align: center; }
.page-hero .eyebrow { justify-content: center; }
.page-hero h1 {
  font-family: var(--font-head), Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.14; margin: 0.4rem auto 0.9rem;
  /* Override the animated two-tone shimmer from the global h1 rule: inner-page
     titles read cleaner as one solid brand colour with a little more leading. */
  background: none; color: var(--wine); -webkit-text-fill-color: var(--wine);
  animation: fadeInUp 0.8s ease 0.2s both;
}
.page-hero p { max-width: 620px; margin: 0 auto; color: var(--muted); font-size: clamp(1.18rem, 1.05rem + 0.45vw, 1.3rem); line-height: 1.75; text-wrap: pretty; }
.page-section { padding: 2rem 0 4rem; }

/* ----- Long-form article pages ----- */
.article-body { max-width: 720px; margin: 0 auto; }
.article-source { color: var(--rose); font-size: 0.95rem; font-style: italic; margin-bottom: 1.6rem; }
.article-body p { color: var(--muted); line-height: 1.85; font-size: 1.08rem; margin-top: 1.2rem; }
.article-body h2 {
  font-family: var(--font-head), Georgia, serif; color: var(--wine);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem); line-height: 1.2; margin-top: 2.4rem;
}
.article-reflect {
  margin-top: 2.4rem; padding: 1.6rem 1.7rem; border-radius: 1.2rem;
  background: linear-gradient(160deg, rgba(255,255,255,0.85), rgba(244,237,227,0.7));
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.article-reflect-label {
  font-weight: 800; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--rose); margin-bottom: 0.5rem;
}
.article-reflect p { color: var(--ink); margin-top: 0.4rem; font-size: 1.02rem; line-height: 1.7; }
.article-reflect p:first-of-type { margin-top: 0; }
.article-note { color: var(--gold-deep); font-style: italic; font-size: 0.98rem; margin-top: 1.6rem; }
.article-footer { margin-top: 2.8rem; border-top: 1px solid var(--line); padding-top: 2rem; }
.article-footer .story-signature { margin-top: 0 !important; }
.article-footer .story-actions { margin-top: 1.2rem; }

/* ----- "However you arrived" routing buttons ----- */
.arrived { padding: 4.5rem 0 2rem; }
.arrived-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.1rem; margin-top: 2rem;
}
.arrived-card {
  display: flex; flex-direction: column; gap: 0.5rem;
  padding: 1.6rem 1.5rem; border-radius: 1.4rem;
  background: linear-gradient(160deg, rgba(255,255,255,0.85), rgba(244,237,227,0.7));
  border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.arrived-card:hover { transform: translateY(-6px); border-color: var(--wine-2); box-shadow: var(--shadow-strong); }
.arrived-card .arrived-icon { font-size: 1.6rem; color: var(--gold); }
.arrived-card h3 { font-family: var(--font-head), serif; font-size: 1.2rem; color: var(--wine); }
.arrived-card p { color: var(--muted); font-size: 0.95rem; flex: 1; }
.arrived-card .arrived-go { color: var(--wine); font-weight: 800; font-size: 0.9rem; }
.arrived-card:hover .arrived-go { color: var(--gold-deep); }

/* ----- Partnership page ----- */
.partner-intro { text-align: center; max-width: 720px; margin: 0 auto 1rem; }
.partner-intro p { color: var(--muted); font-size: 1.1rem; line-height: 1.7; }
.partner-intro p + p { margin-top: 1rem; }

/* ----- Partner + donation two-column ----- */
.partner-give {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem); align-items: start;
  padding-top: 3rem; max-width: 1080px; margin: 0 auto;
}
.partner-give .eyebrow { justify-content: flex-start; }
.partner-give h1 {
  font-family: var(--font-head), Georgia, serif; color: var(--wine);
  font-size: clamp(2rem, 4vw, 3rem); line-height: 1.14; margin: 0.4rem 0 1.4rem;
  -webkit-text-fill-color: var(--wine); background: none;
}
.partner-photo { margin: 0 0 1.8rem; border-radius: var(--radius); overflow: hidden; position: relative; box-shadow: var(--shadow); }
.partner-photo img { width: 100%; height: clamp(240px, 34vw, 340px); object-fit: cover; object-position: 50% 28%; display: block; }
/* community.html's photo source is a modest 768px wide, capping the
   display width keeps it closer to native resolution instead of being
   stretched (and softened) across the full section width on desktop. */
body[data-page="community"] .partner-photo { max-width: 700px; margin-left: auto; margin-right: auto; }
/* Partnership photo is a tall portrait, so give it more height and anchor
   the crop near the top so May's head is never clipped. */
body[data-page="partnership"] .partner-photo img { height: clamp(340px, 46vw, 480px); object-position: 50% 12%; }
.partner-photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2.4rem 1.4rem 1.1rem;
  background: linear-gradient(0deg, rgba(60,39,82,0.82), transparent);
  color: var(--cream); font-family: var(--font-head), serif; font-style: italic;
  font-size: 1.25rem; line-height: 1.2;
}
.because-lead {
  font-family: var(--font-head), serif; font-weight: 700; color: var(--wine);
  font-size: 1.5rem; margin: 0 0 1.2rem;
}
.because-item { margin-bottom: 1.3rem; padding-left: 1.1rem; border-left: 3px solid rgba(184, 136, 42, 0.35); }
.because-item h3 { font-size: 1.12rem; color: var(--wine); margin-bottom: 0.35rem; }
.because-item p { color: var(--muted); line-height: 1.7; font-size: 1rem; }
.because-close {
  margin-top: 1.6rem; color: var(--ink); font-weight: 700; font-size: 1.08rem;
  line-height: 1.6;
}

/* ----- Donation widget ----- */
.donate-box {
  position: sticky; top: 96px; margin-top: 15rem;
  background: linear-gradient(160deg, #fff, rgba(244,237,227,0.7));
  border: 1px solid rgba(184, 136, 42, 0.25); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1.6rem;
}
.donate-head { display: flex; align-items: center; gap: 0.5rem; font-weight: 800; color: var(--wine); font-size: 1.05rem; margin-bottom: 1.1rem; }
.donate-head .lock { color: var(--gold-deep); }
.donate-freq { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-bottom: 0.9rem; }
.donate-freq-btn {
  border: 1.5px solid var(--line); background: #fff; color: var(--muted);
  font: inherit; font-weight: 800; font-size: 0.95rem; padding: 0.75rem 0.5rem;
  border-radius: 0.9rem; cursor: pointer; transition: all 0.2s ease;
}
.donate-freq-btn:hover { border-color: var(--wine-2); color: var(--wine); }
.donate-freq-btn.is-active { border-color: var(--wine); background: var(--wine); color: #fff; }
.donate-amounts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; margin-bottom: 0.7rem; }
.donate-amt {
  border: 1.5px solid var(--line); background: #fff; color: var(--wine);
  font: inherit; font-weight: 800; font-size: 1rem; padding: 0.8rem 0.4rem;
  border-radius: 0.9rem; cursor: pointer; transition: all 0.2s ease;
}
.donate-amt:hover { border-color: var(--wine-2); }
.donate-amt.is-active { border-color: var(--wine); background: rgba(96, 25, 56, 0.08); box-shadow: 0 0 0 1px var(--wine) inset; }
.donate-go { width: 100%; }
.donate-go[hidden] { display: none; }
.donate-once-embed { margin-bottom: 1rem; display: flex; justify-content: center; }
.donate-once-embed[hidden] { display: none; }
.donate-box .form-status { margin-top: 0.7rem; color: var(--gold-deep); }
.donate-note { margin-top: 1rem; color: var(--muted); font-size: 0.8rem; line-height: 1.5; display: flex; gap: 0.4rem; }
.donate-note .lock { color: var(--gold-deep); flex-shrink: 0; }

/* Cover-the-fees toggle + running total */
.donate-fee {
  display: flex; align-items: flex-start; gap: 0.55rem; margin: 0.2rem 0 0.9rem;
  font-size: 0.82rem; color: var(--muted); font-weight: 600; line-height: 1.45; cursor: pointer;
}
.donate-fee[hidden] { display: none; }
.donate-fee input { width: 1.1rem; height: 1.1rem; margin-top: 0.15rem; accent-color: var(--wine); flex-shrink: 0; }
.donate-fee strong { color: var(--gold-deep); }
.donate-total { margin: 0 0 0.8rem; font-weight: 800; color: var(--wine); font-size: 0.9rem; }
.donate-total[hidden] { display: none; }

/* Payment method switch (card vs bank transfer) */
.donate-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-top: 0.9rem; }
.donate-methods[hidden] { display: none; }
.donate-method {
  border: 1.5px solid var(--line); background: #fff; color: var(--muted);
  font: inherit; font-weight: 700; font-size: 0.82rem; padding: 0.6rem 0.4rem;
  border-radius: 0.8rem; cursor: pointer; transition: all 0.2s ease;
}
.donate-method:hover { border-color: var(--wine-2); color: var(--wine); }
.donate-method.is-active { border-color: var(--wine); background: var(--wine); color: #fff; }
.donate-once-note {
  text-align: center; color: var(--wine); font-weight: 700; font-size: 1rem;
  padding: 0.9rem; margin-bottom: 1rem; border-radius: 0.9rem;
  background: rgba(96, 25, 56, 0.06); border: 1.5px solid var(--line);
}
.donate-once-note strong { font-family: var(--font-head), serif; font-size: 1.2rem; }
/* .donate-amounts sets its own `display`, which otherwise beats the UA
   [hidden] rule, restate it here so toggling `hidden` from JS (Give once
   vs Monthly) actually hides it. */
.donate-amounts[hidden] { display: none; }

@media (max-width: 900px) {
  .partner-give { grid-template-columns: 1fr; }
  .partner-give .eyebrow { justify-content: center; order: 1; }
  .partner-give h1 { text-align: center; order: 2; }
  /* Reorder for mobile only: heading, photo, payment widget, then the
     "because of you" impact stories, giving is one tap away right after
     the photo, instead of buried under the full narrative. Desktop keeps
     the default two-column order (untouched, no order set there). */
  .partner-narrative { display: contents; }
  .partner-photo { order: 3; }
  .donate-box { position: static; order: 4; margin-top: 0; }
  .because-wrap { order: 5; }
  .share-row { order: 6; }
}

.impact-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem; margin: 2.5rem 0;
}
.impact-card {
  padding: 1.8rem; border-radius: 1.4rem; background: var(--paper);
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.impact-card .impact-quote {
  font-family: var(--font-head), serif; font-size: 1.15rem; color: var(--wine);
  line-height: 1.45; font-style: italic; margin-bottom: 1rem;
}
.impact-card .impact-by { color: var(--gold-deep); font-weight: 800; font-size: 0.9rem; }
.impact-stat { font-family: var(--font-head), serif; font-size: 2.4rem; color: var(--wine); line-height: 1; }
.impact-stat + span { color: var(--muted); font-size: 0.92rem; }

.share-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.7rem;
  justify-content: center; margin: 1rem 0 2.5rem;
}
.share-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 1.2rem; border-radius: 999px; font-weight: 800; font-size: 0.9rem;
  border: 1px solid var(--line); background: var(--paper); color: var(--wine); cursor: pointer;
  transition: all 0.25s ease;
}
.share-btn:hover { background: var(--wine); color: #fff; transform: translateY(-2px); }

/* Partner sign-up form (capture before Stripe) */
.partner-form-card {
  max-width: 720px; margin: 0 auto; padding: 2.2rem; border-radius: var(--radius);
  background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-strong);
}
.partner-form-card h2 { color: var(--wine); margin-bottom: 0.3rem; }
.partner-form-card .form-note { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.4rem; }
.partner-form { display: grid; gap: 1rem; }
.partner-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.partner-form label { display: flex; flex-direction: column; gap: 0.35rem; font-weight: 700; color: var(--wine); font-size: 0.85rem; }
.partner-form input, .partner-form select {
  padding: 0.85rem 1rem; border-radius: 0.9rem; border: 1px solid var(--line);
  background: #fff; font: inherit; color: var(--ink);
}
.partner-form input:focus, .partner-form select:focus { outline: 2px solid var(--wine-2); border-color: transparent; }
.partner-tier-pills { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.partner-tier-pills label {
  flex-direction: row; align-items: center; gap: 0.45rem; font-weight: 700;
  padding: 0.6rem 1rem; border: 1px solid var(--line); border-radius: 999px; cursor: pointer;
  font-size: 0.85rem; background: #fff;
}
.partner-tier-pills label:has(input:checked) { background: var(--wine); color: #fff; border-color: var(--wine); }
/* Secure note on the light partner form card needs dark text (the base
   .secure-note is white for dark give cards). */
.secure-note.inline { margin-top: 0.4rem; color: var(--muted); }

@media (max-width: 640px) {
  .partner-form .field-row { grid-template-columns: 1fr; }
}

/* ===================== Event detail page ===================== */
.event-page { padding-top: 2.5rem; }
.event-back {
  display: inline-block; margin-bottom: 1.4rem; color: var(--wine);
  font-weight: 800; font-size: 0.9rem; letter-spacing: 0.02em;
}
.event-back:hover { color: var(--wine-2); }
.event-page-grid {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.9fr);
  gap: clamp(2rem, 5vw, 4rem); align-items: start;
}
.event-page-main h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 0.6rem 0 1rem; }
.event-page-meta {
  display: flex; flex-wrap: wrap; gap: 0.7rem 1.4rem; align-items: center;
  margin: 0 0 1.4rem; color: var(--muted); font-weight: 700; font-size: 0.95rem;
}
.event-h2 { font-size: 1.35rem; margin: 1.8rem 0 0.5rem; color: var(--wine); }
.event-page-lead { font-size: 1.12rem; color: var(--ink); line-height: 1.6; }
.event-page-main p { color: var(--muted); line-height: 1.7; }
.event-page-side { position: sticky; top: 110px; }
.event-reg-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; box-shadow: var(--shadow);
}
.event-reg-card h3 { font-size: 1.4rem; margin-bottom: 0.4rem; }

/* ===================== Add to calendar dropdown ===================== */
.add-cal { position: relative; display: inline-block; }
.add-cal-btn {
  font: inherit; font-weight: 800; font-size: 0.85rem; cursor: pointer;
  padding: 0.55rem 1rem; border-radius: 999px; white-space: nowrap;
  background: transparent; color: var(--wine); border: 1.5px solid var(--line);
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.add-cal-btn:hover { border-color: var(--wine); background: rgba(96, 25, 56, 0.06); }
.add-cal-btn.compact { padding: 0.3rem 0.7rem; font-size: 0.8rem; }
/* On the dark timeline cards, render the compact button in light ink. */
.timeline-card .add-cal-btn { color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.timeline-card .add-cal-btn:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }
.add-cal-menu {
  position: absolute; z-index: 30; top: calc(100% + 0.5rem); right: 0; min-width: 200px;
  background: #fff; border: 1px solid var(--line); border-radius: 0.9rem;
  box-shadow: var(--shadow); padding: 0.4rem; display: flex; flex-direction: column;
}
.add-cal-menu[hidden] { display: none; }
.add-cal-menu a {
  padding: 0.6rem 0.8rem; border-radius: 0.6rem; font-weight: 700; font-size: 0.9rem;
  color: var(--ink); white-space: nowrap;
}
.add-cal-menu a:hover { background: var(--paper); color: var(--wine); }
.event-cal-row { margin: 0 0 1.4rem; }

/* ===================== Multi-step form / stepper ===================== */
.stepper-form label,
.event-reg-card label {
  display: flex; flex-direction: column; gap: 0.35rem; font-weight: 700;
  color: var(--wine); font-size: 0.85rem; margin-bottom: 0.9rem;
}
.stepper-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.stepper-form input, .stepper-form select, .stepper-form textarea {
  padding: 0.8rem 1rem; border-radius: 0.9rem; border: 1px solid var(--line);
  background: var(--paper); font: inherit; color: var(--ink); font-weight: 500;
}
.stepper-form input:focus, .stepper-form select:focus, .stepper-form textarea:focus {
  outline: 2px solid var(--wine-2); border-color: transparent;
}
.stepper-form .check-row {
  flex-direction: row; align-items: flex-start; gap: 0.55rem;
  font-weight: 600; color: var(--muted); font-size: 0.85rem;
}
.stepper-form .check-row input { width: auto; margin-top: 0.15rem; }
.form-step { border: none; padding: 0; margin: 0; }
/* The `hidden` attribute must win over .button's display rule (steps, nav
   buttons, and the submit button are all toggled via `hidden`). */
.stepper-form [hidden], .stepper-nav [hidden], .form-step[hidden] { display: none !important; }

.stepper-head { margin-bottom: 1.2rem; }
.stepper-bar {
  height: 6px; border-radius: 999px; background: var(--blush); overflow: hidden;
}
.stepper-bar-fill {
  display: block; height: 100%; width: 33%;
  background: linear-gradient(90deg, var(--wine), var(--gold));
  border-radius: 999px; transition: width 0.35s cubic-bezier(.2,.7,.2,1);
}
.stepper-count {
  margin: 0.5rem 0 0; font-size: 0.78rem; font-weight: 800;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--rose);
}
.stepper-nav { display: flex; gap: 0.8rem; margin-top: 0.4rem; }
.stepper-nav .button { flex: 1; padding: 0.8rem 1rem; }
.stepper-nav .stepper-back[hidden] { display: none; }
.stepper-form [type="submit"] { width: 100%; margin-top: 0.4rem; }

@media (max-width: 900px) {
  .event-page-grid { grid-template-columns: 1fr; }
  .event-page-side { position: static; }
}
@media (max-width: 640px) {
  .stepper-form .field-row { grid-template-columns: 1fr; }
}
