:root {
  --bg: #fbf7f2;
  --bg-soft: #f4ece3;
  --ink: #2e2430;
  --ink-soft: #6b5d68;
  --accent: #b5654a;
  --accent-dark: #9a4f38;
  --sage: #7f8f76;
  --card: #ffffff;
  --line: #e8ddd2;
  --radius: 22px;
  --shadow: 0 18px 50px rgba(70, 45, 55, .08);
  --shadow-lg: 0 30px 70px rgba(70, 45, 55, .16);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Assistant', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  inset-inline-start: 16px;
  top: -100px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 12px 12px;
  text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 22px; }

[id] { scroll-margin-top: 92px; }

h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -.4px; }
h1 { font-size: clamp(36px, 5.4vw, 62px); font-weight: 800; }
h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; }
h3 { font-size: 21px; font-weight: 800; }
p { color: var(--ink-soft); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 242, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -.4px;
  white-space: nowrap;
}
.brand span { color: var(--accent); }
.brand small {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: .2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  font-size: 15px;
  font-weight: 600;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  transition: color .2s;
}
.nav-links a:hover { color: var(--accent); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff !important;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  transition: background .2s, transform .2s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--accent-dark); transform: translateY(-1px); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  transition: background .2s, color .2s, transform .2s, border-color .2s;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 28px rgba(181, 101, 74, .28);
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--bg-soft); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-block { width: 100%; }
.btn-sm { padding: 11px 20px; font-size: 14px; }

/* Preview bar */
.preview-bar {
  background: var(--ink);
  color: #f4ece3;
  text-align: center;
  font-size: 13px;
  padding: 8px 14px;
}
.preview-bar strong { color: #fff; }

/* Hero */
.hero { padding: 66px 0 46px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 52px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero h1 { margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.lead {
  font-size: clamp(17px, 1.8vw, 21px);
  max-width: 560px;
  margin-bottom: 30px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.event-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 30px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
}
.event-strip span { display: inline-flex; align-items: center; gap: 7px; }
.event-strip b { color: var(--ink); font-weight: 800; }

.hero-visual { position: relative; }
.hero-visual > img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 32px;
  box-shadow: var(--shadow-lg);
}
.hero-card {
  position: absolute;
  inset-inline-start: -22px;
  bottom: 26px;
  width: min(270px, 80%);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 18px 20px;
  box-shadow: var(--shadow-lg);
}
.hero-card .kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.hero-card strong { display: block; font-size: 17px; line-height: 1.35; margin-bottom: 4px; }
.hero-card small { color: var(--ink-soft); font-size: 13px; }

/* Sections */
.section { padding: 78px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 660px; margin: 0 auto 42px; text-align: center; }
.section-head h2 { margin-bottom: 12px; }
.section-head p { font-size: 18px; }

/* Story */
.story-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 52px;
  align-items: center;
}
.story-quote {
  background: var(--ink);
  color: #fff;
  border-radius: 32px;
  padding: 42px 36px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.story-quote::before {
  content: "”";
  position: absolute;
  top: -30px;
  inset-inline-start: 18px;
  font-size: 170px;
  line-height: 1;
  color: rgba(255,255,255,.08);
  font-family: Georgia, serif;
}
.story-quote p {
  color: #f4ece3;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 600;
  line-height: 1.45;
  position: relative;
}
.story-quote small {
  display: block;
  margin-top: 18px;
  color: #d9cbc4;
  font-size: 14px;
}
.story-copy h2 { margin-bottom: 16px; }
.story-copy p { margin-bottom: 16px; font-size: 18px; }
.signature {
  font-size: 20px;
  font-weight: 800;
  color: var(--accent);
  margin-top: 8px;
}

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card .ico {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 23px;
  margin-bottom: 18px;
}
.card h3 { margin-bottom: 8px; }
.card p { font-size: 16px; }

/* Event feature */
.event-feature {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  border-radius: 32px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow-lg);
}
.event-feature::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .16;
  top: -120px;
  inset-inline-end: -80px;
  pointer-events: none;
}
.event-feature h2 { color: #fff; margin-bottom: 14px; }
.event-feature p { color: #d9cbc4; font-size: 18px; }
.event-facts { display: grid; gap: 12px; margin-top: 24px; position: relative; z-index: 1; }
.event-fact {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  padding: 13px 16px;
}
.event-fact .ico { font-size: 18px; line-height: 1.4; }
.event-fact strong { display: block; font-size: 15px; color: #fff; }
.event-fact small { font-size: 13px; color: #d9cbc4; }
.event-feature .btn { margin-top: 26px; }
.donation-note {
  font-size: 13px;
  color: #d9cbc4;
  border-inline-start: 3px solid var(--accent);
  padding-inline-start: 12px;
  margin-top: 14px;
}

/* Quotes */
.quotes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.quote {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.quote p {
  color: var(--ink);
  font-size: 17px;
  font-style: italic;
  margin-bottom: 14px;
}
.quote .who { font-size: 13px; font-weight: 800; color: var(--accent); }
.quote-placeholder { opacity: .72; border-style: dashed; box-shadow: none; }

/* Contact */
.contact-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: start;
  box-shadow: var(--shadow);
}
.contact-card h2 { margin-bottom: 12px; }
.contact-card p { font-size: 18px; }
.contact-links { display: grid; gap: 10px; margin-top: 24px; }
.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}
.contact-links a:hover { text-decoration: underline; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
  outline: none;
}
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--accent); }
.form-note { font-size: 12px; color: var(--ink-soft); margin-top: 10px; text-align: center; }
.contact-actions {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  display: grid;
  gap: 10px;
  align-content: start;
}
.contact-actions p { margin: 0; }
.contact-actions .btn { width: 100%; }


/* Footer */
.site-footer {
  padding: 44px 0;
  border-top: 1px solid var(--line);
  text-align: center;
}
.site-footer .handle {
  font-weight: 800;
  color: var(--accent);
  text-decoration: none;
  font-size: 16px;
}
.site-footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin-top: 14px;
  font-size: 13px;
}
.site-footer .footer-links a { color: var(--ink-soft); }
.site-footer p { font-size: 13px; margin-top: 12px; }

/* Lecture page */
.event-hero { padding: 28px 0 44px; }
.event-hero-media {
  position: relative;
  min-height: 460px;
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 44px;
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.event-hero-media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.event-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(46,36,48,.12) 20%, rgba(46,36,48,.88) 100%);
  z-index: 1;
}
.event-hero-content { position: relative; z-index: 2; max-width: 720px; }
.event-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  padding: 7px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.event-hero h1 { color: #fff; margin-bottom: 14px; }
.event-hero .lead { color: #e9ddd7; max-width: 620px; }
.event-hero .hero-actions { margin-top: 24px; }
.event-hero .event-strip { color: #e9ddd7; }
.event-hero .event-strip b { color: #fff; }

.event-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  gap: 44px;
  align-items: start;
  padding-bottom: 40px;
}
.event-body h2 { margin: 34px 0 12px; font-size: clamp(26px, 3vw, 34px); }
.event-body h2:first-child { margin-top: 0; }
.event-body p { font-size: 18px; margin-bottom: 14px; }
.event-body ul { margin: 0 0 18px 0; padding-inline-start: 20px; color: var(--ink-soft); font-size: 18px; }
.event-body li { margin-bottom: 8px; }
.event-body li strong { color: var(--ink); }

.event-sidebar {
  position: sticky;
  top: 92px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 26px;
  box-shadow: var(--shadow);
}
.event-sidebar .price {
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -1px;
}
.event-sidebar .price small { font-size: 15px; font-weight: 600; color: var(--ink-soft); letter-spacing: 0; }
.event-sidebar .seats {
  font-size: 13px;
  font-weight: 700;
  color: var(--sage);
  margin-top: 6px;
  margin-bottom: 18px;
}
.meta-list { list-style: none; margin: 0 0 20px; display: grid; gap: 12px; }
.meta-list li { display: flex; gap: 10px; font-size: 14px; color: var(--ink-soft); }
.meta-list .ico { flex: 0 0 auto; }
.meta-list strong { display: block; color: var(--ink); font-size: 14px; }
.meta-list a { color: var(--accent); font-weight: 700; }
.event-sidebar .btn { width: 100%; }
.sidebar-note { font-size: 12px; color: var(--ink-soft); text-align: center; margin-top: 12px; }

.faq { display: grid; gap: 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 17px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq p { margin-top: 10px; font-size: 16px; }

.venue-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}
.venue-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.venue-gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }
.venue-gallery img:first-child { grid-column: span 2; aspect-ratio: 16 / 10; }
.venue-gallery img:not(:first-child) { aspect-ratio: 1; }
.venue-copy h2 { margin-bottom: 12px; }
.venue-copy p { font-size: 17px; margin-bottom: 12px; }
.venue-copy .address {
  font-weight: 700;
  color: var(--ink);
  background: var(--bg-soft);
  border-radius: 12px;
  padding: 12px 14px;
  margin: 14px 0;
}

.notice {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 22px;
  margin: 22px 0;
}
.notice p { margin: 0; font-size: 16px; }
.notice strong { color: var(--ink); }

/* Legal pages */
.legal-page { padding: 56px 0 80px; }
.legal-inner { max-width: 820px; margin: 0 auto; }
.legal-page h1 { font-size: clamp(32px, 4vw, 46px); margin-bottom: 10px; }
.legal-page h2 { font-size: 24px; margin: 32px 0 10px; }
.legal-page h3 { font-size: 18px; margin: 22px 0 8px; }
.legal-page p, .legal-page li { font-size: 17px; margin-bottom: 10px; }
.legal-page ul, .legal-page ol { padding-inline-start: 22px; margin-bottom: 16px; }
.legal-page .box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  margin: 24px 0;
  box-shadow: var(--shadow);
}
.legal-page .box p:last-child { margin-bottom: 0; }
.legal-page .updated { font-size: 14px; color: var(--ink-soft); }
.legal-page a { color: var(--accent); font-weight: 700; }

/* Mobile buy bar */
.mobile-buy {
  display: none;
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 60;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.mobile-buy .price { font-size: 20px; font-weight: 800; line-height: 1.1; }
.mobile-buy .price small { display: block; font-size: 11px; font-weight: 600; color: var(--ink-soft); }
.mobile-buy .btn { flex: 0 0 auto; }

/* Utilities */
.center { text-align: center; }
.mt-24 { margin-top: 24px; }
.muted { color: var(--ink-soft); }
.small { font-size: 14px; }

/* Responsive */
@media (max-width: 940px) {
  .nav-links { display: none; }
  .hero-grid,
  .story-grid,
  .event-feature,
  .contact-card,
  .venue-grid,
  .event-layout { grid-template-columns: 1fr; }
  .hero-grid { gap: 34px; }
  .hero-visual { order: -1; }
  .hero-visual > img { aspect-ratio: 16 / 11; border-radius: 26px; }
  .hero-card { inset-inline-start: 14px; bottom: 14px; }
  .event-layout { gap: 30px; }
  .event-sidebar { position: static; }
  .event-feature { padding: 38px 30px; }
  .contact-card { padding: 34px 26px; }
  .event-hero-media { min-height: 420px; padding: 30px; }
  .mobile-buy { display: flex; }
  body.has-mobile-buy { padding-bottom: 78px; }
}

@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .hero { padding: 40px 0 30px; }
  .nav { padding: 12px 0; }
  .brand small { display: none; }
  .nav-cta { padding: 9px 14px; font-size: 13px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .event-strip { gap: 6px 14px; font-size: 13px; }
  .event-feature { padding: 30px 22px; border-radius: 26px; }
  .event-hero-media { min-height: 380px; padding: 24px; border-radius: 26px; }
  .event-hero .hero-actions .btn { flex: 1 1 100%; }
  .contact-card { padding: 28px 22px; border-radius: 26px; }
  .story-quote { padding: 34px 26px; border-radius: 26px; }
  .event-sidebar { padding: 22px; }
  .quotes-grid, .cards-grid { gap: 16px; }
  .venue-gallery img:first-child { aspect-ratio: 4 / 3; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
