:root {
  --paper: #fffaf7;
  --peach: #f8ded1;
  --peach-deep: #edbba6;
  --coral: #db634f;
  --red: #e41424;
  --ink: #2f2422;
  --muted: #77645e;
  --line: rgba(82, 50, 42, .15);
  --white: #fff;
  --shadow: 0 24px 70px rgba(88, 50, 37, .11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input { font: inherit; }

.eyebrow, .section-kicker, .talk-number {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.035em; }
h1 { margin-bottom: 22px; font-family: Georgia, serif; font-size: clamp(40px, 7vw, 68px); font-weight: 500; }
h1 em { color: var(--red); font-weight: 500; }
.button.primary {
  border: 0;
  border-radius: 14px;
  color: white;
  background: var(--ink);
  font-weight: 750;
  cursor: pointer;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 10px max(24px, calc((100vw - 1240px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(255,250,247,.9);
  backdrop-filter: blur(16px);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; }
.brand img { width: 48px; height: 48px; border-radius: 13px; }
.site-header nav { display: flex; align-items: center; gap: 26px; }
.site-header nav a { text-decoration: none; font-size: 14px; font-weight: 700; }
.site-header nav a:hover { color: var(--coral); }
.header-gift-link {
  padding: 9px 15px;
  border: 1px solid var(--coral);
  border-radius: 999px;
  color: var(--coral);
  background: rgba(255,255,255,.55);
}
main > section, footer { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.hero {
  position: relative;
  overflow: clip;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  min-height: 710px;
  padding: 90px 0;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 40px -4vw;
  border-radius: 54px;
  background: linear-gradient(135deg, #fff 0 45%, #f9dfd3 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.8);
}
.hero-copy { padding-left: clamp(0px, 3vw, 48px); }
.hero h1 { max-width: 760px; font-size: clamp(54px, 7vw, 96px); }
.hero-lead { max-width: 650px; margin-bottom: 34px; color: var(--muted); font-size: clamp(18px, 2vw, 23px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px; text-decoration: none; }
.button.secondary { border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.6); font-weight: 750; }
.hero-stats { display: flex; gap: clamp(24px, 5vw, 64px); margin: 54px 0 0; }
.hero-stats div { display: grid; }
.hero-stats dt { font-family: Georgia, serif; font-size: 34px; line-height: 1; }
.hero-stats dd { margin: 7px 0 0; color: var(--muted); font-size: 13px; }
.hero-art { position: relative; display: grid; place-items: center; min-height: 450px; }
.hero-art img { z-index: 2; width: clamp(150px, 16vw, 210px); border-radius: 42px; box-shadow: 0 24px 60px rgba(165,40,42,.2); transform: rotate(-4deg); }
.hero-art p { position: absolute; right: 0; bottom: 25px; font-family: Georgia, serif; font-size: 24px; font-style: italic; line-height: 1.3; }
.orbit { position: absolute; border: 1px solid rgba(212,92,72,.3); border-radius: 50%; }
.orbit-one { width: 390px; height: 390px; }
.orbit-two { width: 290px; height: 480px; transform: rotate(38deg); }
.intro-section, .section-heading {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
}
.intro-section { padding: 130px 0; border-bottom: 1px solid var(--line); }
h2 { margin-bottom: 20px; font-family: Georgia, serif; font-size: clamp(38px, 5vw, 62px); font-weight: 500; }
.intro-copy { color: var(--muted); font-size: 18px; }
.intro-copy p:last-child, .section-heading p:last-child { margin-bottom: 0; }
.welcome-video {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: 110px 0;
}
.video-frame, .talk-media {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #241b19;
  box-shadow: var(--shadow);
}
.video-frame { aspect-ratio: 16 / 9; }
.video-frame iframe, .talk-media iframe { width: 100%; height: 100%; border: 0; }
.welcome-video > div:last-child p:last-child { color: var(--muted); font-size: 17px; }
.program-section { padding: 120px 0; border-top: 1px solid var(--line); }
.section-heading { align-items: end; margin-bottom: 48px; }
.section-heading > p { max-width: 580px; color: var(--muted); }
.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 0; list-style: none; }
.program-grid a {
  display: grid;
  grid-template-columns: 44px 1fr;
  min-height: 145px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.5);
  text-decoration: none;
  transition: transform .2s, background .2s, box-shadow .2s;
}
.program-grid a:hover { transform: translateY(-3px); background: white; box-shadow: 0 14px 34px rgba(88,50,37,.08); }
.program-grid span { color: var(--coral); font-size: 13px; font-weight: 800; }
.program-grid strong { line-height: 1.25; }
.program-grid small { grid-column: 2; align-self: end; margin-top: 18px; color: var(--muted); }
.talks-section { padding: 70px 0 120px; }
.talk-card {
  scroll-margin-top: 100px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 82px);
  align-items: start;
  padding: 72px 0;
  border-top: 1px solid var(--line);
}
.talk-card:nth-of-type(even) .talk-media { order: 2; }
.talk-media { aspect-ratio: 16 / 9; }
.talk-media > img { width: 100%; height: 100%; object-fit: cover; }
.play-button {
  position: absolute;
  left: 24px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: 999px;
  color: white;
  background: rgba(35,25,23,.9);
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}
.play-button span { color: #ff4351; }
.cover-placeholder {
  display: grid;
  align-content: center;
  width: 100%;
  height: 100%;
  padding: 12%;
  color: var(--ink);
  background: radial-gradient(circle at 75% 20%, rgba(255,255,255,.9), transparent 25%), linear-gradient(135deg, #fff8f2, #f0b8a1);
}
.cover-placeholder span { color: var(--red); font-family: Georgia, serif; font-size: clamp(28px, 5vw, 60px); font-style: italic; }
.cover-placeholder strong { margin-top: 18px; font-size: clamp(18px, 2.5vw, 30px); }
.coming-badge { position: absolute; left: 22px; bottom: 22px; padding: 10px 15px; border-radius: 999px; color: white; background: rgba(45,35,32,.9); font-size: 13px; font-weight: 800; }
.talk-content h3 { margin-bottom: 22px; font-family: Georgia, serif; font-size: clamp(34px, 4vw, 54px); font-weight: 500; }
.speaker-name { margin-bottom: 3px; font-size: 20px; font-weight: 850; }
.speaker-role { margin-bottom: 28px; color: var(--muted); font-size: 14px; }
.talk-description { color: #594b47; }
.talk-description p { margin-bottom: 14px; }
.speaker-contacts { margin-top: 28px; padding-top: 20px; border-top: 1px dashed var(--line); }
.contacts-title { display: block; margin-bottom: 14px; color: var(--muted); font-size: 12px; font-weight: 850; text-transform: uppercase; letter-spacing: .1em; }
.contact-links { display: flex; flex-wrap: wrap; gap: 9px; }
.contact-link {
  --brand: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 39px;
  padding: 8px 13px 8px 10px;
  border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent);
  border-radius: 999px;
  color: var(--ink);
  background: color-mix(in srgb, var(--brand) 7%, white);
  font-size: 13px;
  font-weight: 780;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.contact-link:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--brand) 48%, transparent); box-shadow: 0 8px 20px rgba(52,38,34,.1); }
.contact-link svg { width: 21px; height: 21px; flex: 0 0 auto; fill: var(--brand); stroke: var(--brand); stroke-width: 1.7; }
.contact-link svg path { stroke: none; }
.contact-link .social-dot { fill: var(--brand); stroke: none; }
.contact-link .social-play { fill: white; stroke: none; }
.contact-instagram { --brand: #d62976; }
.contact-facebook { --brand: #1877f2; }
.contact-youtube { --brand: #ff0000; }
.contact-telegram { --brand: #229ed9; }
.contact-tiktok { --brand: #111111; }
.contact-phone { --brand: #2f8f58; }
.contact-website { --brand: #b24f49; }
.notes-panel {
  margin-top: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 248, 243, .72);
}
.notes-panel summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  font-weight: 850;
}
.notes-panel summary::-webkit-details-marker { display: none; }
.notes-panel summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: white;
  background: var(--coral);
  text-align: center;
  font-size: 23px;
  line-height: 30px;
}
.notes-panel[open] summary { border-bottom: 1px solid var(--line); }
.notes-panel[open] summary::after { content: "−"; }
.notes-panel summary small {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}
.notes-content {
  max-width: 76ch;
  padding: 26px 24px 30px;
  color: #514541;
  font-size: 15px;
  line-height: 1.72;
}
.notes-content h4 {
  margin: 30px 0 12px;
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: 23px;
  font-weight: 500;
}
.notes-content h4:first-child { margin-top: 0; }
.notes-content p { margin: 0 0 14px; }
.notes-content ul, .notes-content ol { margin: 0 0 18px; padding-left: 24px; }
.notes-content li { margin-bottom: 8px; }
.notes-content .disclaimer {
  padding: 16px 18px;
  border-left: 3px solid var(--coral);
  background: white;
  font-size: 13px;
}
.notes-unavailable {
  margin-top: 26px;
  padding: 16px 18px;
  border: 1px dashed var(--line);
  border-radius: 16px;
  color: var(--muted);
  background: rgba(255, 248, 243, .55);
  font-size: 13px;
}
@media (min-width: 901px) {
  body.notes-modal-open { overflow: hidden; }
  .notes-panel[open] {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    margin: 0;
    border: 0;
    border-radius: 0;
    background: #fffaf6;
    box-shadow: none;
  }
  .notes-panel[open] summary {
    position: relative;
    z-index: 2;
    min-height: 76px;
    padding: 18px max(32px, calc((100vw - 1240px) / 2));
    color: white;
    border: 0;
    background: var(--ink);
  }
  .notes-panel[open] summary small { color: rgba(255,255,255,.72); }
  .notes-panel[open] summary::after {
    content: "×";
    color: var(--ink);
    background: white;
    font-size: 28px;
    line-height: 29px;
  }
  .notes-panel[open] .notes-content {
    width: 100%;
    max-width: none;
    height: 100%;
    min-height: 0;
    margin: 0 auto;
    padding: 48px max(48px, calc((100vw - 1400px) / 2)) 80px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    color: #413633;
    font-size: 17px;
    line-height: 1.78;
    columns: auto;
  }
  .notes-panel[open] .notes-content h4 {
    font-size: 26px;
  }
}
.talk-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 34px; }
.talk-nav a { color: var(--coral); font-size: 14px; font-weight: 800; text-decoration: none; }
footer { display: flex; align-items: center; gap: 18px; padding: 34px 0 54px; border-top: 1px solid var(--line); }
footer img { width: 54px; height: 54px; border-radius: 14px; }
footer p { margin: 0; color: var(--muted); }
footer a { font-size: 14px; font-weight: 800; text-decoration: none; }
.footer-copy { flex: 1; }
.footer-copy .copyright { margin-top: 4px; font-size: 12px; }
.footer-links { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 9px 18px; }
.footer-links a:hover { color: var(--coral); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 70px 0 40px; }
  .hero-art { min-height: 330px; }
  .intro-section, .section-heading, .welcome-video { grid-template-columns: 1fr; gap: 28px; }
  .program-grid { grid-template-columns: repeat(2, 1fr); }
  .talk-card { grid-template-columns: 1fr; gap: 36px; }
  .talk-card:nth-of-type(even) .talk-media { order: 0; }
}
@media (max-width: 640px) {
  .site-header { min-height: 66px; padding-inline: 16px; }
  .brand span, .site-header nav a:not(.header-gift-link) { display: none; }
  .site-header nav { gap: 8px; }
  main > section, footer { width: min(100% - 32px, 1240px); }
  .hero { min-height: 0; padding-top: 54px; }
  .hero::before { inset: 14px -8px; border-radius: 30px; }
  .hero h1 { font-size: clamp(48px, 15vw, 68px); }
  .hero-stats { gap: 18px; }
  .hero-stats dd { font-size: 11px; }
  .hero-art { min-height: 300px; }
  .hero-art p { right: 8px; font-size: 19px; }
  .orbit-one { width: 270px; height: 270px; }
  .orbit-two { width: 210px; height: 310px; }
  .intro-section, .welcome-video, .program-section { padding-block: 80px; }
  .program-grid { grid-template-columns: 1fr; }
  .program-grid a { min-height: 116px; }
  .talks-section { padding-top: 30px; }
  .talk-card { padding: 52px 0; }
  .talk-media { border-radius: 20px; }
  .play-button { left: 14px; bottom: 14px; padding: 10px 15px; }
  .talk-nav { align-items: flex-end; }
  .notes-panel summary { align-items: flex-start; padding: 18px; }
  .notes-panel summary small { display: none; }
  .notes-content { padding: 22px 18px 26px; font-size: 14px; }
  footer { align-items: flex-start; flex-wrap: wrap; }
  .footer-copy { min-width: calc(100% - 80px); }
  .footer-links { width: 100%; align-items: flex-start; justify-content: flex-start; flex-direction: column; gap: 10px; padding-top: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
