:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);

  --space-1: .25rem; --space-2: .5rem; --space-3: .75rem; --space-4: 1rem; --space-5: 1.25rem;
  --space-6: 1.5rem; --space-8: 2rem; --space-10: 2.5rem; --space-12: 3rem; --space-16: 4rem;
  --space-20: 5rem; --space-24: 6rem; --space-32: 8rem;

  --font-display: 'Gambetta', 'Georgia', serif;
  --font-body: 'Satoshi', 'Inter', system-ui, sans-serif;

  /* Brand: charcoal night + gilded gold + warm parchment */
  --ink: #121110;
  --ink-2: #1b1917;
  --ink-3: #26231f;
  --line-dark: #3a352d;
  --on-dark: #f3ece0;
  --on-dark-muted: #b9ae9c;
  --gold: #d4a94e;
  --gold-hover: #e3bd68;
  --gold-deep: #7d5c17;
  --paper: #f7f1e6;
  --paper-2: #efe6d6;
  --cream: #fbf8f2;
  --text: #221e19;
  --text-muted: #615849;
  --line: #ddd1bd;

  --color-primary: var(--gold);
  --color-text: var(--text);
  --color-bg: var(--cream);
  --radius-sm: 4px; --radius: 8px; --radius-lg: 14px;
  --transition-interactive: 180ms cubic-bezier(.16,1,.3,1);
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: none; text-size-adjust: none; -webkit-font-smoothing: antialiased; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { min-height: 100dvh; line-height: 1.6; font-family: var(--font-body); font-size: var(--text-base); color: var(--text); background: var(--cream); overflow-x: hidden; }
img, svg { display: block; max-width: 100%; height: auto; }
ul[role='list'] { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }
h1, h2, h3 { text-wrap: balance; line-height: 1.15; }
p, li, dd { text-wrap: pretty; max-width: 68ch; }
a { color: inherit; }
button { cursor: pointer; background: none; border: none; }
a, button, input, textarea, select { transition: color var(--transition-interactive), background var(--transition-interactive), border-color var(--transition-interactive), box-shadow var(--transition-interactive), transform var(--transition-interactive); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: var(--radius-sm); }
::selection { background: rgba(212,169,78,.3); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: var(--space-2); background: var(--gold); color: var(--ink); padding: var(--space-2) var(--space-4); z-index: 100; border-radius: var(--radius-sm); }
.skip:focus { left: var(--space-4); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }

.wrap { width: min(100% - 2 * clamp(var(--space-5), 4vw, var(--space-12)), var(--wrap)); margin-inline: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); padding: var(--space-3) var(--space-6); border-radius: 999px; font-size: var(--text-sm); font-weight: 700; letter-spacing: .01em; text-decoration: none; border: 1.5px solid transparent; white-space: nowrap; }
.btn-sm { padding: var(--space-2) var(--space-5); }
.btn-block { width: 100%; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-hover); }
.btn-ghost { border-color: rgba(243,236,224,.5); color: var(--on-dark); }
.btn-ghost:hover { border-color: var(--on-dark); background: rgba(243,236,224,.08); }
.btn-dark { background: var(--ink); color: var(--on-dark); }
.btn-dark:hover { background: var(--ink-3); }
.btn:active { transform: translateY(1px); }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; background: rgba(18,17,16,.0); transition: background 240ms ease, box-shadow 240ms ease, backdrop-filter 240ms ease; }
.site-header.scrolled { background: rgba(18,17,16,.92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line-dark); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); padding-block: var(--space-3); }
.brand { display: flex; align-items: center; gap: var(--space-3); text-decoration: none; color: var(--on-dark); }
.brand img { width: 44px; height: 44px; border-radius: 50%; }
.brand-text { font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; line-height: 1.05; display: flex; flex-direction: column; }
.brand-text small { font-family: var(--font-body); font-size: var(--text-xs); font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.nav ul { display: flex; align-items: center; gap: var(--space-6); }
.nav a:not(.btn) { color: var(--on-dark); text-decoration: none; font-size: var(--text-sm); font-weight: 500; opacity: .85; }
.nav a:not(.btn):hover { opacity: 1; color: var(--gold-hover); }
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
.bars, .bars::before, .bars::after { display: block; width: 22px; height: 2px; background: var(--on-dark); border-radius: 2px; position: relative; transition: transform 200ms ease, background 200ms ease; }
.bars::before, .bars::after { content: ''; position: absolute; left: 0; }
.bars::before { top: -7px; } .bars::after { top: 7px; }
.nav-toggle[aria-expanded='true'] .bars { background: transparent; }
.nav-toggle[aria-expanded='true'] .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] .bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; }
  .nav ul { position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--ink); padding: var(--space-4) var(--space-6) var(--space-8); border-bottom: 1px solid var(--line-dark); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity 200ms ease, transform 200ms ease; }
  .nav ul.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav li a:not(.btn) { display: block; padding: var(--space-3) 0; font-size: var(--text-base); border-bottom: 1px solid var(--line-dark); }
  .nav-cta { padding-top: var(--space-5); }
  .nav-cta .btn { width: 100%; padding: var(--space-3); }
  .site-header.menu-open { background: var(--ink); }
}

/* Hero */
.hero { position: relative; min-height: min(92vh, 920px); display: flex; align-items: flex-end; color: var(--on-dark); background: var(--ink); isolation: isolate; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; z-index: -2; animation: settle 1.6s cubic-bezier(.16,1,.3,1) both; }
@keyframes settle { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18,17,16,.55) 0%, rgba(18,17,16,.15) 30%, rgba(18,17,16,.55) 60%, rgba(18,17,16,.94) 100%), linear-gradient(90deg, rgba(18,17,16,.7) 0%, rgba(18,17,16,0) 65%); }
.hero-content { padding-block: var(--space-32) clamp(var(--space-12), 9vh, var(--space-24)); }
.announce { display: inline-flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-6); padding: var(--space-1) var(--space-4) var(--space-1) var(--space-1); border: 1px solid rgba(212,169,78,.5); border-radius: 999px; background: rgba(18,17,16,.55); backdrop-filter: blur(6px); color: var(--on-dark); text-decoration: none; font-size: var(--text-sm); font-weight: 500; }
.announce:hover { border-color: var(--gold); background: rgba(18,17,16,.75); }
.announce-tag { background: var(--gold); color: var(--ink); font-size: var(--text-xs); font-weight: 700; padding: var(--space-1) var(--space-3); border-radius: 999px; }
.eyebrow { font-size: var(--text-xs); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: var(--space-5); }
.hero h1 { font-family: var(--font-display); font-weight: 500; font-size: var(--text-3xl); line-height: 1.04; letter-spacing: -.015em; max-width: 15ch; }
.hero h1 em { font-style: italic; color: var(--gold-hover); }
.lede { margin-top: var(--space-6); font-size: var(--text-base); color: #e4dbcb; max-width: 56ch; }
.hero-actions { margin-top: var(--space-8); display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* Paths */
.paths { background: var(--ink); color: var(--on-dark); border-top: 1px solid var(--line-dark); }
.paths-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.path { display: block; padding: var(--space-10) var(--space-8) var(--space-10) 0; text-decoration: none; border-right: 1px solid var(--line-dark); }
.path + .path { padding-left: var(--space-8); }
.path:last-child { border-right: 0; }
.path-num { font-size: var(--text-xs); color: var(--gold); font-weight: 700; letter-spacing: .14em; }
.path h2 { font-family: var(--font-display); font-weight: 500; font-size: var(--text-xl); margin: var(--space-2) 0 var(--space-3); }
.path p { color: var(--on-dark-muted); font-size: var(--text-sm); }
.path-link { display: inline-block; margin-top: var(--space-5); font-size: var(--text-sm); font-weight: 700; color: var(--gold); }
.path:hover h2 { color: var(--gold-hover); }
.path:hover .path-link span { display: inline-block; transform: translateX(4px); }
.path-link span { transition: transform 180ms ease; display: inline-block; }
@media (max-width: 760px) {
  .paths-grid { grid-template-columns: 1fr; }
  .path, .path + .path { padding: var(--space-8) 0; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .path:last-child { border-bottom: 0; }
}

/* Sections */
.section { padding-block: clamp(var(--space-16), 9vw, var(--space-32)); }
.light { background: var(--cream); }
.paper { background: var(--paper); }
.dark { background: var(--ink-2); color: var(--on-dark); }
.kicker { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .2em; font-weight: 700; color: var(--gold-deep); margin-bottom: var(--space-4); }
.dark .kicker { color: var(--gold); }
.h-section { font-family: var(--font-display); font-weight: 500; font-size: var(--text-2xl); line-height: 1.08; letter-spacing: -.01em; max-width: 20ch; margin-bottom: var(--space-6); }
.h-sub { font-family: var(--font-display); font-weight: 500; font-size: var(--text-xl); margin-bottom: var(--space-5); }
.muted { color: var(--text-muted); }
.section p + p { margin-top: var(--space-4); }

/* Gather */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(var(--space-10), 6vw, var(--space-20)); align-items: center; }
.split-text > p { color: var(--text-muted); }
.split-media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius-lg); }
.cities { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-8); }
.cities span { padding: var(--space-2) var(--space-4); border: 1px solid var(--line); border-radius: 999px; font-size: var(--text-sm); font-weight: 500; background: #fff; }
.info-card { margin-top: var(--space-6); display: grid; grid-template-columns: auto 1fr auto; gap: var(--space-8); align-items: center; padding: var(--space-6); background: var(--paper); border-radius: var(--radius-lg); border: 1px solid var(--line); }
.info-label { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .14em; color: var(--gold-deep); font-weight: 700; }
.info-value { font-weight: 500; }
.section .info-card p + p { margin-top: var(--space-1); }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split-media { order: -1; }
  .split-media img { aspect-ratio: 4/3; object-position: center 22%; }
  .info-card { grid-template-columns: 1fr; gap: var(--space-4); }
  .info-card .btn { width: 100%; }
}

/* Institute */
.inst-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--space-12); align-items: end; margin-bottom: var(--space-10); }
.inst-head .h-section { margin-bottom: 0; }
.inst-intro { color: var(--on-dark-muted); }
.filters { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-8); }
.chip { padding: var(--space-2) var(--space-4); border-radius: 999px; border: 1px solid var(--line-dark); color: var(--on-dark-muted); font-size: var(--text-sm); font-weight: 500; }
.chip:hover { border-color: var(--gold); color: var(--on-dark); }
.chip.is-active { background: var(--gold); border-color: var(--gold); color: var(--ink); font-weight: 700; }
.courses { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.course { display: flex; flex-direction: column; background: var(--ink-3); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); padding: var(--space-6); transition: border-color 200ms ease, transform 200ms ease; }
.course:hover { border-color: rgba(212,169,78,.55); }
.course[hidden] { display: none; }
.cover { margin: calc(-1 * var(--space-6)) calc(-1 * var(--space-6)) var(--space-6); aspect-ratio: 4/3; border-radius: var(--radius-lg) var(--radius-lg) 0 0; overflow: hidden; background: radial-gradient(ellipse at 50% 45%, #3b2d12 0%, #0d0c0b 70%); display: flex; align-items: center; justify-content: center; padding: var(--space-5); border-bottom: 1px solid var(--line-dark); }
.cover img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; border-radius: var(--radius-sm); box-shadow: 0 18px 40px -16px rgba(0,0,0,.8); }
.course-feature { background: linear-gradient(160deg, #3a2e17 0%, var(--ink-3) 70%); border-color: rgba(212,169,78,.45); }
.course-top { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); flex-wrap: wrap; margin-bottom: var(--space-5); }
.tag { font-size: var(--text-xs); font-weight: 700; padding: var(--space-1) var(--space-3); border-radius: 999px; letter-spacing: .02em; }
.tag-open { background: var(--gold); color: var(--ink); }
.tag-soon { background: #f3ece0; color: var(--ink); }
.tag-dev, .tag-ask { border: 1px solid rgba(212,169,78,.6); color: var(--gold-hover); }
.tag-past { border: 1px solid var(--line-dark); color: var(--on-dark-muted); }
.course-format { font-size: var(--text-xs); color: var(--on-dark-muted); }
.course h3 { font-family: var(--font-display); font-weight: 500; font-size: var(--text-xl); line-height: 1.12; margin-bottom: var(--space-3); }
.course > p { color: var(--on-dark-muted); font-size: var(--text-sm); }
.course-meta { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); margin-top: var(--space-5); font-size: var(--text-xs); color: var(--on-dark); }
.course-meta li::before { content: '·'; margin-right: var(--space-2); color: var(--gold); }
.course-meta li:first-child::before { content: none; }
.course-cta { margin-top: auto; padding-top: var(--space-6); font-size: var(--text-sm); font-weight: 700; color: var(--gold); text-decoration: none; }
.course-cta:hover { color: var(--gold-hover); }
.empty { margin-top: var(--space-6); color: var(--on-dark-muted); }
.empty a { color: var(--gold); }
@media (max-width: 1000px) { .courses { grid-template-columns: repeat(2, 1fr); } .inst-head { grid-template-columns: 1fr; gap: var(--space-6); } }
@media (max-width: 640px) { .courses { grid-template-columns: 1fr; } }

/* Quote */
.quote-band { position: relative; background: var(--ink); color: var(--on-dark); padding-block: clamp(var(--space-20), 12vw, var(--space-32)); overflow: hidden; isolation: isolate; }
.quote-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; opacity: .55; }
.quote-band blockquote p { font-family: var(--font-display); font-size: var(--text-xl); line-height: 1.35; max-width: 34ch; margin-inline: auto; text-align: center; font-style: italic; }
.quote-band footer { text-align: center; margin-top: var(--space-6); color: var(--gold); font-size: var(--text-sm); font-weight: 700; letter-spacing: .08em; }

/* Writing */
.writing-head { display: flex; justify-content: space-between; align-items: end; gap: var(--space-8); margin-bottom: var(--space-10); flex-wrap: wrap; }
.writing-head .h-section { margin-bottom: var(--space-3); }
.posts { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); }
.post { display: flex; flex-direction: column; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.post:hover { border-color: var(--gold-deep); box-shadow: 0 10px 30px -18px rgba(34,30,25,.45); }
.post img { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: var(--paper-2); }
.post-body { padding: var(--space-5); }
.post-date { font-size: var(--text-xs); color: var(--gold-deep); font-weight: 700; margin-bottom: var(--space-2); }
.post h3 { font-family: var(--font-body); font-weight: 700; font-size: var(--text-base); line-height: 1.3; }
.post-body p:not(.post-date) { font-size: var(--text-sm); color: var(--text-muted); margin-top: var(--space-2); }
.post-lead { grid-column: span 2; grid-row: span 2; }
.post-lead img { aspect-ratio: auto; flex: 1 1 0; min-height: 280px; height: 0; object-position: center 25%; }
.post-lead h3 { font-family: var(--font-display); font-weight: 500; font-size: var(--text-xl); }
.subscribe { margin-top: var(--space-12); display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); align-items: center; padding: var(--space-8); background: var(--paper); border-radius: var(--radius-lg); border: 1px solid var(--line); }
.subscribe h3 { font-family: var(--font-display); font-weight: 500; font-size: var(--text-xl); margin-bottom: var(--space-2); }
.subscribe p { color: var(--text-muted); }
.sub-form { display: grid; grid-template-columns: 1fr auto; gap: var(--space-3); }
.sub-form input { width: 100%; padding: var(--space-3) var(--space-5); border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: var(--text-base); min-width: 0; }
.sub-form input:focus { outline: none; border-color: var(--gold-deep); box-shadow: 0 0 0 3px rgba(212,169,78,.25); }
.sub-form .form-note { grid-column: 1 / -1; text-align: left; padding-left: var(--space-5); }
@media (max-width: 480px) { .sub-form { grid-template-columns: 1fr; } .sub-form .btn { width: 100%; } .sub-form .form-note { padding-left: 0; text-align: center; } }
@media (max-width: 1000px) { .posts { grid-template-columns: repeat(2, 1fr); } .post-lead { grid-row: auto; } .subscribe { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .posts { grid-template-columns: 1fr; } .post-lead { grid-column: auto; } .post-lead img { min-height: 0; height: auto; flex: none; aspect-ratio: 4/3; } .subscribe { padding: var(--space-6); } }

/* About */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(var(--space-10), 6vw, var(--space-20)); align-items: start; }
.about-media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius-lg); }
.about-text > p { color: var(--text-muted); }
.creds { margin-top: var(--space-8); display: grid; gap: var(--space-4); }
.creds div { display: grid; grid-template-columns: 110px 1fr; gap: var(--space-4); padding-top: var(--space-4); border-top: 1px solid var(--line); }
.creds dt { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .14em; font-weight: 700; color: var(--gold-deep); padding-top: 3px; }
.creds dd { font-size: var(--text-sm); }
.books-team { margin-top: var(--space-16); display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-12); }
.books li, .team li { display: flex; flex-direction: column; padding: var(--space-4) 0; border-top: 1px solid var(--line); }
.book-title, .person { font-weight: 700; }
.book-sub, .role { font-size: var(--text-sm); color: var(--text-muted); }
@media (max-width: 900px) { .about, .books-team { grid-template-columns: 1fr; } .about-media img { aspect-ratio: 16/10; } .creds div { grid-template-columns: 1fr; gap: var(--space-1); } }

/* Family */
.family-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); margin-top: var(--space-4); }
.fam { padding: var(--space-6); border-top: 2px solid var(--gold); background: var(--paper); border-radius: 0 0 var(--radius-lg) var(--radius-lg); display: flex; flex-direction: column; }
.fam h3 { font-weight: 700; font-size: var(--text-base); margin-bottom: var(--space-2); }
.fam p { font-size: var(--text-sm); color: var(--text-muted); }
.fam a { margin-top: auto; padding-top: var(--space-5); font-size: var(--text-sm); font-weight: 700; color: var(--gold-deep); text-decoration: none; }
.fam a:hover { color: var(--text); }

@media (max-width: 560px) { .family-grid { grid-template-columns: 1fr; } }

/* Partner */
.partner-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(var(--space-10), 6vw, var(--space-20)); align-items: center; }
.partner-inner > div > p { color: var(--on-dark-muted); }
.partner-card { background: var(--ink-3); border: 1px solid rgba(212,169,78,.45); border-radius: var(--radius-lg); padding: var(--space-8); }
.partner-card h3 { font-family: var(--font-display); font-weight: 500; font-size: var(--text-xl); margin-bottom: var(--space-4); }
.partner-card ul { margin-bottom: var(--space-6); }
.partner-card li { padding: var(--space-3) 0 var(--space-3) var(--space-6); border-top: 1px solid var(--line-dark); font-size: var(--text-sm); position: relative; }
.partner-card li::before { content: ''; position: absolute; left: 0; top: 1.15em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.partner-more { display: block; text-align: center; margin-top: var(--space-4); font-size: var(--text-sm); color: var(--on-dark-muted); }
.partner-more:hover { color: var(--gold-hover); }
@media (max-width: 900px) { .partner-inner { grid-template-columns: 1fr; } .partner-card { padding: var(--space-6); } }

/* Connect */
.connect { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(var(--space-10), 6vw, var(--space-20)); align-items: start; }
.connect > div > p { color: var(--text-muted); }
.email-line { margin-top: var(--space-6); font-weight: 700; word-break: break-word; }
.email-line a { color: var(--gold-deep); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.socials { margin-top: var(--space-8); display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.socials li { display: flex; flex-direction: column; padding-top: var(--space-3); border-top: 1px solid var(--line); }
.socials a { font-weight: 700; text-decoration: none; }
.socials a:hover { color: var(--gold-deep); }
.socials span { font-size: var(--text-xs); color: var(--text-muted); }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-8); display: grid; gap: var(--space-5); }
.field { display: grid; gap: var(--space-2); }
.field label { font-size: var(--text-sm); font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; padding: var(--space-3) var(--space-4); border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream); font-size: var(--text-base); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-deep); box-shadow: 0 0 0 3px rgba(212,169,78,.25); }
.field [aria-invalid='true'] { border-color: #a23b2a; }
.form-error { color: #a23b2a; font-size: var(--text-sm); font-weight: 500; }
.form-note { font-size: var(--text-xs); color: var(--text-muted); text-align: center; }
@media (max-width: 900px) { .connect { grid-template-columns: 1fr; } .form { padding: var(--space-6); } }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding-block: var(--space-12); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: var(--space-8); flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: var(--space-4); color: var(--on-dark); font-family: var(--font-display); font-size: var(--text-lg); line-height: 1.2; }
.footer-brand img { width: 64px; height: 64px; border-radius: 50%; }
.footer-brand span { font-family: var(--font-body); font-size: var(--text-xs); color: var(--on-dark-muted); }
.site-footer ul { display: flex; flex-wrap: wrap; gap: var(--space-5); }
.site-footer a { text-decoration: none; font-size: var(--text-sm); }
.site-footer a:hover { color: var(--gold-hover); }
.copy { font-size: var(--text-xs); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 700ms cubic-bezier(.16,1,.3,1), transform 700ms cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* Events */
.btn-outline { border-color: var(--text); color: var(--text); }
.btn-outline:hover { background: var(--text); color: var(--cream); }
.event { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(var(--space-10), 6vw, var(--space-20)); align-items: center; }
.event-flyer img { width: 100%; border-radius: var(--radius-lg); box-shadow: 0 30px 60px -30px rgba(34,30,25,.55); }
.event-text .h-section { margin-bottom: var(--space-3); }
.event-sub { color: var(--text-muted); }
.event-facts { margin-top: var(--space-8); display: grid; gap: var(--space-4); }
.event-facts div { display: grid; grid-template-columns: 110px 1fr; gap: var(--space-4); padding-top: var(--space-4); border-top: 1px solid var(--line); }
.event-facts dt { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .14em; font-weight: 700; color: var(--gold-deep); padding-top: 3px; }
.event-facts dd { font-weight: 500; }
.event-actions { margin-top: var(--space-8); display: flex; flex-wrap: wrap; gap: var(--space-3); }
@media (max-width: 900px) { .event { grid-template-columns: 1fr; } .event-flyer { max-width: 520px; } .event-facts div { grid-template-columns: 1fr; gap: var(--space-1); } }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; grid-auto-flow: dense; gap: var(--space-3); }
.g { overflow: hidden; border-radius: var(--radius); background: var(--paper-2); }
.g img { width: 100%; height: 100%; object-fit: cover; }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }
.photo-credit { margin-top: var(--space-4); font-size: var(--text-xs); color: var(--text-muted); }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; } }
@media (max-width: 480px) { .gallery { grid-auto-rows: 140px; gap: var(--space-2); } }

/* Family with media */
.family-grid { grid-template-columns: repeat(2, 1fr); }
.fam-media { display: grid; grid-template-columns: 180px 1fr; gap: var(--space-6); align-items: stretch; }
.fam-media > img { width: 100%; height: 100%; max-height: 240px; object-fit: cover; border-radius: var(--radius); }
.fam-body { display: flex; flex-direction: column; }
@media (max-width: 560px) { .fam-media { grid-template-columns: 1fr; } .fam-media > img { max-height: 220px; } }
@media (max-width: 760px) { .family-grid { grid-template-columns: 1fr; } }
.g-top img { object-position: center 20%; }

/* Name-only hero */
.hero-name { align-items: center; justify-content: center; text-align: center; min-height: 100svh; }
.hero-name .hero-img { object-position: center 40%; }
.hero-name .hero-shade { background: radial-gradient(ellipse at center, rgba(18,17,16,.55) 0%, rgba(18,17,16,.72) 55%, rgba(18,17,16,.9) 100%); }
.hero-name .hero-content { padding-block: var(--space-24); }
.hero-name h1 { max-width: none; display: flex; flex-direction: column; align-items: center; gap: var(--space-2); }
.hn-1 { font-family: var(--font-body); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: var(--text-3xl); line-height: 1; color: var(--on-dark); }
.hn-2 { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: var(--text-3xl); line-height: 1.05; color: var(--gold-hover); }
.hn-place { margin: var(--space-6) auto 0; font-size: var(--text-sm); letter-spacing: .32em; text-transform: uppercase; color: var(--on-dark); font-weight: 500; max-width: none; }
.hero-cue { position: absolute; left: 50%; bottom: var(--space-8); transform: translateX(-50%); width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(243,236,224,.45); border-radius: 50%; }
.hero-cue span { width: 10px; height: 10px; border-right: 2px solid var(--on-dark); border-bottom: 2px solid var(--on-dark); transform: translateY(-2px) rotate(45deg); }
.hero-cue:hover { border-color: var(--gold); }
#gather-title em { font-style: italic; color: var(--gold-deep); }

.fam-full { grid-column: 1 / -1; }

/* Locations */
.locations { margin-top: var(--space-8); display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.locations li { display: flex; flex-direction: column; padding: var(--space-4) var(--space-5); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); max-width: none; }
.loc-city { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .14em; font-weight: 700; color: var(--gold-deep); }
.loc-name { font-weight: 700; margin-top: var(--space-1); line-height: 1.3; }
.loc-lead { font-size: var(--text-sm); color: var(--text-muted); }
@media (max-width: 560px) { .locations { grid-template-columns: 1fr; } }
/* Podcast */
.podcast-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(var(--space-10), 6vw, var(--space-20)); align-items: center; }
.podcast-art img { width: 100%; border-radius: var(--radius-lg); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); border: 1px solid var(--line-dark); }
.muted-dark { color: var(--on-dark-muted); }
@media (max-width: 900px) { .podcast-inner { grid-template-columns: 1fr; } }

/* Events list */
.section-head { margin-bottom: var(--space-10); }
.events { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); }
.event-card { display: flex; flex-direction: column; gap: var(--space-6); }
.event-card .event-flyer img { aspect-ratio: 4/5; object-fit: cover; }
.event-kind { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .14em; font-weight: 700; color: var(--gold-deep); }
.event-title { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 500; line-height: 1.1; margin-top: var(--space-2); }
.event-card .event-facts { margin-top: var(--space-5); }
.event-card .event-actions { margin-top: var(--space-6); }
@media (max-width: 900px) { .events { grid-template-columns: 1fr; gap: var(--space-16); } .event-card .event-flyer { max-width: 520px; } }
/* Watch & listen */
.media-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); }
.media-frame { display: block; aspect-ratio: 16/9; border-radius: var(--radius-lg); overflow: hidden; background: #000; border: 1px solid var(--line-dark); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
.media-frame video, .media-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-item figcaption { margin-top: var(--space-5); }
.media-kind { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .14em; font-weight: 700; color: var(--gold); }
.media-item h3 { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 500; color: var(--on-dark); margin: var(--space-2) 0; }
.media-item .btn { margin-top: var(--space-5); }
@media (max-width: 900px) { .media-grid { grid-template-columns: 1fr; gap: var(--space-12); } }

/* Watch grid: three items */
@media (min-width: 1100px) { .media-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-6); } }
@media (min-width: 901px) and (max-width: 1099px) { .media-grid { grid-template-columns: 1fr 1fr; } }
/* Book feature */
.book-feature { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(var(--space-10), 6vw, var(--space-20)); align-items: center; }
.book-cover img { width: 100%; max-width: 380px; border-radius: 4px; box-shadow: 0 40px 70px -30px rgba(18,17,16,.7), 0 2px 6px rgba(18,17,16,.25); }
.book-subtitle { font-family: var(--font-display); font-size: var(--text-lg); color: var(--text); margin-top: var(--space-2); }
.book-tagline { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .16em; font-weight: 700; color: var(--gold-deep); margin: var(--space-4) 0 var(--space-5); }
@media (max-width: 900px) { .book-feature { grid-template-columns: 1fr; } .book-cover img { max-width: 280px; } }

.inline-link { color: var(--gold-deep); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.inline-link:hover { color: var(--text); }

.media-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-5); margin-top: var(--space-5); }
.media-actions .btn { margin-top: 0; }
.text-link-light { color: var(--gold); font-weight: 600; font-size: var(--text-sm); text-decoration: none; }
.text-link-light:hover { color: var(--on-dark); }

.episodes { margin-top: var(--space-4); display: grid; gap: 0; border-top: 1px solid var(--line-dark); list-style: none; padding: 0; }
.episodes li { max-width: none; border-bottom: 1px solid var(--line-dark); }
.episodes a { display: grid; grid-template-columns: 48px 1fr; gap: var(--space-3); padding: var(--space-3) 0; color: var(--on-dark); text-decoration: none; font-size: var(--text-sm); line-height: 1.4; }
.episodes a:hover .ep-title { color: var(--gold); }
.ep-num { font-size: var(--text-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); padding-top: 2px; }
.episodes li { list-style: none; } .episodes li::marker { content: none; }

.loc-link { color: var(--text); text-decoration: none; }
.loc-link:hover { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 3px; }
.locations li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.about .role a, .leaders .role a, .role a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* Give */
.give { margin-top: var(--space-20); padding-top: var(--space-16); border-top: 1px solid var(--line-dark); }
.give-head { max-width: 640px; }
.give-head p:not(.kicker) { color: var(--on-dark-muted); }
.give-title { font-family: var(--font-display); font-weight: 500; font-size: var(--text-2xl); line-height: 1.1; margin: var(--space-2) 0 var(--space-3); }
.give-grid { margin-top: var(--space-8); display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
.give-opt { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-1); padding: var(--space-6); background: var(--ink-3); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); color: var(--on-dark); text-decoration: none; transition: border-color .2s, transform .2s; }
a.give-opt:hover { border-color: var(--gold); transform: translateY(-2px); }
.give-qr { width: 112px; height: 112px; background: #fff; padding: 6px; border-radius: var(--radius); margin-bottom: var(--space-4); }
.give-mark { width: 112px; height: 112px; display: grid; place-items: center; border-radius: var(--radius); background: rgba(212,169,78,.12); border: 1px solid rgba(212,169,78,.4); color: var(--gold); font-family: var(--font-display); font-size: 56px; line-height: 1; margin-bottom: var(--space-4); }
.give-name { font-weight: 700; font-size: var(--text-lg); }
.give-handle { font-size: var(--text-sm); color: var(--on-dark-muted); overflow-wrap: anywhere; }
.give-handle a { color: inherit; }
.give-go { margin-top: auto; padding-top: var(--space-4); font-size: var(--text-sm); font-weight: 600; color: var(--gold); }
.give-note { margin-top: auto; padding-top: var(--space-4); font-size: var(--text-xs); color: var(--on-dark-muted); }
.give-other { margin-top: var(--space-8); color: var(--on-dark-muted); }
.give-other a { color: var(--gold); font-weight: 600; }
@media (max-width: 1000px) { .give-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .give-grid { grid-template-columns: 1fr; } .give-opt { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: var(--space-4); } .give-qr, .give-mark { width: 72px; height: 72px; margin-bottom: 0; font-size: 36px; } .give-opt > .give-name { flex: 1; } .give-handle, .give-go, .give-note { flex-basis: 100%; } }
.give-handle a[href^="tel"] { white-space: nowrap; }

/* Give: brand logos */
.give-top { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-4); }
.give-logo { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--brand); color: #fff; }
.give-logo svg { width: 22px; height: 22px; }
.give-opt .give-qr { width: 120px; height: 120px; margin-bottom: var(--space-4); }
@media (max-width: 520px) {
  .give-opt { display: grid; grid-template-columns: 96px 1fr; column-gap: var(--space-4); row-gap: var(--space-1); align-items: start; }
  .give-top { grid-column: 1 / -1; margin-bottom: var(--space-3); }
  .give-opt .give-qr { grid-row: span 2; width: 96px; height: 96px; margin: 0; }
  .give-handle, .give-go, .give-note { flex-basis: auto; grid-column: 2; }
  .give-go, .give-note { margin-top: 0; padding-top: var(--space-2); }
}

.give-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .give-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .give-grid { grid-template-columns: 1fr; } }
.give-tax { margin-top: var(--space-3); font-size: var(--text-xs); color: var(--on-dark-muted); max-width: 640px; }
