:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --text: #111111;
  --muted: #6b6b68;
  --accent: #2d5a4f;
  --accent-hover: #1e3f36;
  --border: #e7e5dd;
  --max-width: 1120px;
  --narrow-width: 760px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: var(--text);
  margin: 0 0 1rem;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 1.875rem; }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1rem; }

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover { color: var(--accent-hover); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}
.container--narrow { max-width: var(--narrow-width); }

/* ---------- Header ---------- */
.site-header {
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.site-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text);
}
.site-title:hover { color: var(--accent); }
.site-title__sub {
  color: var(--muted);
  font-weight: 400;
  margin-left: 0.25rem;
}

.site-nav ul {
  display: flex;
  gap: 2.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 0.25rem 0;
  border-bottom: 1px solid transparent;
}
.site-nav a:hover,
.site-nav a.is-active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ---------- Main ---------- */
main { flex: 1; }

/* ---------- Hero ---------- */
.hero {
  padding: 6rem 0 5rem;
}
.hero__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem;
  align-items: start;
}
.hero__media {
  width: 100%;
  max-width: 366px;
  margin: 2.3rem auto 0;
  display: flex;
  flex-direction: column;
}
.hero__image {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  overflow: hidden;
  border: 1px solid #000;
  background: var(--surface);
  box-shadow: 0 20px 50px -30px rgba(17, 17, 17, 0.35);
}
.hero__mnid {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #000;
  border-top: none;
}
.hero__flyer {
  display: block;
  margin-top: 0.85rem;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__flyer:hover { color: var(--accent); }
.hero__image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero__image-caption {
  position: absolute;
  right: 0.9rem;
  bottom: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.1rem;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  pointer-events: none;
}
.hero__image > img.hero__image-overlay {
  position: absolute;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  width: 33%;
  height: auto;
  object-fit: contain;
  pointer-events: none;
}
.hero__eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.25rem;
}
.hero__headline {
  font-size: 2rem !important;
  line-height: 1.2;
  max-width: 24ch;
}
.hero__tagline {
  font-size: 1.125rem;
  color: var(--muted);
  margin-bottom: 2.25rem;
  max-width: 44ch;
}
.hero__meta {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.65rem 2rem;
  margin: 0 0 2.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.hero__meta dt {
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.75rem;
  align-self: center;
}
.hero__meta dd {
  margin: 0;
  font-weight: 500;
}

/* ---------- Button ---------- */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff !important;
  padding: 0.95rem 2rem;
  border-radius: 2px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: background 0.2s ease, transform 0.15s ease;
}
.btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}
.btn--secondary {
  background: transparent;
  color: var(--accent) !important;
  border: 1px solid var(--accent);
  padding: calc(0.95rem - 1px) calc(2rem - 1px);
}
.btn--secondary:hover {
  background: var(--accent);
  color: #fff !important;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* ---------- Sections ---------- */
.section {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
}
.section__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}
.section__header h2 { margin: 0; }
.section__kicker {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Speakers ---------- */
.speakers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0;
}
.speaker {
  padding: 1.75rem 0;
  border-top: 1px solid var(--border);
}
.speaker:first-child,
.speaker:nth-child(-n+4) { /* top row */
}
.speaker__name {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}
.speaker__affiliation {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- Sponsors ---------- */
.sponsors-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.5rem 4rem;
}
.sponsor-placeholder {
  padding: 1.25rem 2.25rem;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s, border-color 0.2s;
}
.sponsor-placeholder:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.sponsors-row img {
  max-height: 64px;
  width: auto;
  opacity: 0.8;
  filter: grayscale(100%);
  transition: opacity 0.2s, filter 0.2s;
}
.sponsors-row a:hover img {
  opacity: 1;
  filter: grayscale(0);
}

/* ---------- Map embed ---------- */
.map-embed {
  margin: 2rem 0 2.5rem;
  border: 1px solid var(--border);
  overflow: hidden;
  line-height: 0;
}
.map-embed iframe {
  display: block;
  width: 100%;
}

/* ---------- Page layout ---------- */
.page {
  padding: 5rem 0 6rem;
}
.page h1 {
  font-size: 2.75rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.page-content h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
}
.page-content ul { padding-left: 1.25rem; }
.page-content li { margin-bottom: 0.4rem; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.25rem 0;
  font-size: 0.82rem;
  color: var(--muted);
  background: var(--bg);
}
.site-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  h1 { font-size: 2.25rem; }
  .hero { padding: 3.5rem 0 3rem; }
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero__media {
    max-width: 320px;
  }
  .hero h1 { font-size: 2.25rem; }
  .section { padding: 2rem 0; }
  .page { padding: 3rem 0 4rem; }
  .page h1 { font-size: 2rem; }
  .container { padding: 0 1.5rem; }
}

@media (max-width: 600px) {
  .site-header__inner { height: 64px; }
  .site-nav ul { gap: 1.25rem; }
  .site-nav a { font-size: 0.82rem; }
  .site-title { font-size: 1.1rem; }
  .hero__meta {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
  .hero__meta dt { margin-top: 0.75rem; }
  .site-footer__inner {
    flex-direction: column;
    gap: 0.35rem;
    text-align: center;
  }
}
