:root {
  --red-950: #4f0716;
  --red-900: #6f0c20;
  --red-800: #86152a;
  --red-700: #9e1b32;
  --red-600: #b52b43;
  --red-200: #efb9c2;
  --red-100: #f8dfe3;
  --red-50: #fff4f6;
  --ink-950: #171214;
  --ink-800: #3f3538;
  --ink-600: #706467;
  --paper: #fffdfd;
  --white: #ffffff;
  --line: #eadcdf;
  --shadow: 0 18px 50px rgba(91, 18, 35, .10);
  --radius-lg: 28px;
  --radius-md: 18px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink-950);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }

.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.section { padding: 96px 0; scroll-margin-top: 78px; }
.eyebrow { margin: 0 0 12px; color: var(--red-700); font-size: .76rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
h1, h2, h3, h4, p { text-wrap: pretty; }
h1, h2, h3, h4 { font-weight: 800; }
h2 { margin: 0; font-size: clamp(2.15rem, 3.6vw, 3.65rem); line-height: 1.08; letter-spacing: -.04em; font-weight: 800; }
h3 { line-height: 1.22; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; left: 20px; top: 10px; transform: translateY(-150%); background: var(--white); padding: 10px 16px; border-radius: 8px; color: var(--red-800); font-weight: 700; }
.skip-link:focus { transform: none; }

.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(255,255,255,.10); background: rgba(91, 8, 26, .92); color: var(--white); backdrop-filter: blur(14px); }
.nav-wrap { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.32); border-radius: 12px; display: grid; place-items: center; font-size: .78rem; font-weight: 900; letter-spacing: .08em; background: rgba(255,255,255,.08); }
.brand-copy { display: grid; line-height: 1.1; }
.brand-copy strong { font-size: .98rem; }
.brand-copy small { margin-top: 5px; color: rgba(255,255,255,.68); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { position: relative; color: rgba(255,255,255,.78); text-decoration: none; font-size: .88rem; font-weight: 700; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -10px; height: 2px; background: var(--white); transition: right .2s ease; }
.site-nav a:hover { color: var(--white); }
.site-nav a:hover::after { right: 0; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.2); border-radius: 12px; background: transparent; padding: 11px; }
.nav-toggle span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--white); }

.hero { position: relative; isolation: isolate; overflow: hidden; padding: 96px 0 0; color: var(--white); background: linear-gradient(132deg, #4e0716 0%, #790e24 52%, #9e1b32 100%); }
.hero-grid { position: absolute; inset: 0; z-index: -3; opacity: .24; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 74px 74px; mask-image: linear-gradient(to bottom, #000, transparent 90%); }
.hero-orb { position: absolute; z-index: -2; border-radius: 50%; filter: blur(10px); }
.hero-orb-one { width: 480px; height: 480px; right: -140px; top: -170px; background: rgba(255, 170, 184, .18); }
.hero-orb-two { width: 340px; height: 340px; left: 30%; bottom: -230px; background: rgba(255,255,255,.10); }
.hero-content { padding-bottom: 62px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 23px; font-size: .79rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: #ffdfe5; }
.hero-kicker::before { content: ""; width: 34px; height: 2px; background: #ffdfe5; }
.hero h1 { margin: 0; max-width: 900px; font-size: clamp(3.8rem, 8vw, 7.8rem); line-height: .93; letter-spacing: -.058em; font-weight: 800; }
.hero-theme { margin: 28px 0 0; max-width: 920px; font-size: clamp(1.25rem, 2.15vw, 1.85rem); line-height: 1.38; font-weight: 800; color: var(--white); }
.hero-theme strong { color: inherit; font-weight: inherit; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 14px 30px; margin-top: 28px; color: rgba(255,255,255,.86); font-size: .94rem; font-weight: 650; }
.hero-meta span { display: inline-flex; align-items: center; gap: 9px; }
.hero-meta svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 21px; border-radius: 999px; text-decoration: none; font-size: .94rem; font-weight: 800; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--red-900); background: var(--white); }
.button-ghost { border: 1px solid rgba(255,255,255,.32); background: rgba(255,255,255,.08); }

.phase-strip { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: min(calc(100% - 48px), var(--container)); margin: 12px auto 28px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 22px 60px rgba(56, 5, 16, .18); }
.phase-strip article { display: flex; min-height: 150px; flex-direction: column; align-items: center; justify-content: center; gap: 13px; padding: 24px 24px 22px; color: var(--ink-950); background: var(--white); text-align: center; }
.phase-strip article + article { border-left: 1px solid var(--line); }
.phase-strip .phase-free { background: var(--red-50); }
.phase-strip .phase-invite { color: var(--white); background: var(--red-800); }
.phase-date { display: inline-grid; place-items: center; min-width: 92px; height: 42px; border-radius: 999px; color: var(--red-800); background: var(--red-100); font-size: .75rem; font-weight: 900; letter-spacing: .05em; }
.phase-invite .phase-date { color: var(--red-900); background: var(--white); }
.phase-strip strong, .phase-strip small { display: block; }
.phase-strip strong { font-size: 1.08rem; font-weight: 800; line-height: 1.3; }
.phase-strip small { margin-top: 8px; color: var(--ink-600); font-size: .9rem; line-height: 1.42; }
.phase-invite small { color: rgba(255,255,255,.78); }
.phase-strip article > div { min-width: 0; }

.logo-band { padding: 38px 0 44px; background: var(--white); }
.logo-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: center; gap: 30px; min-height: 68px; }
.logo-row img { max-width: 170px; max-height: 56px; width: 100%; height: auto; margin: auto; object-fit: contain; filter: saturate(.9); }

.section-about { background: var(--white); }
.about-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.prose { color: var(--ink-800); font-size: 1.02rem; line-height: 1.72; }
.prose p { margin: 0 0 22px; }
.focus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 54px; }
.focus-grid article { min-height: 220px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-md); background: linear-gradient(145deg, var(--white), var(--red-50)); }
.focus-grid span { display: inline-grid; place-items: center; width: 45px; height: 45px; border-radius: 14px; background: var(--red-100); color: var(--red-800); font-weight: 900; }
.focus-grid h3 { margin: 30px 0 10px; font-size: 1.28rem; }
.focus-grid p { margin: 0; color: var(--ink-600); }

.section-program { background: var(--red-50); }
.section-heading { display: grid; grid-template-columns: 1.45fr .75fr; gap: 48px; align-items: end; margin-bottom: 34px; }
.section-heading > p { margin: 0; color: var(--ink-600); }
.program-toolbar { display: flex; gap: 9px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 24px; scrollbar-width: thin; }
.filter-button { flex: 0 0 auto; border: 1px solid var(--line); border-radius: 999px; padding: 10px 17px; background: var(--white); color: var(--ink-600); font-size: .9rem; font-weight: 750; cursor: pointer; }
.filter-button.is-active { border-color: var(--red-700); color: var(--white); background: var(--red-700); }
.schedule-list { display: grid; gap: 16px; }
.schedule-day { display: grid; grid-template-columns: 286px 1fr; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; background: var(--white); box-shadow: 0 8px 24px rgba(104, 27, 47, .05); }
.schedule-day[hidden] { display: none; }
.schedule-day > header { display: flex; gap: 16px; align-items: flex-start; padding: 25px; border-right: 1px solid var(--line); background: #fffafb; }
.schedule-day time { display: grid; place-items: center; flex: 0 0 70px; height: 70px; border-radius: 18px; color: var(--white); background: var(--red-700); font-size: 1.85rem; line-height: .82; font-weight: 900; }
.schedule-day time span { margin-top: 7px; font-size: .67rem; letter-spacing: .14em; }
.schedule-day header h3 { margin: 3px 0 7px; font-size: 1.16rem; }
.schedule-day header p { margin: 0; color: var(--ink-600); font-size: .88rem; }
.sessions { padding: 8px 26px; }
.session { display: grid; grid-template-columns: 118px 1fr; gap: 22px; padding: 19px 0; }
.session + .session { border-top: 1px solid var(--line); }
.session-time { color: var(--red-700); font-size: .82rem; font-weight: 900; letter-spacing: .03em; }
.session h4 { margin: 0 0 5px; font-size: .98rem; line-height: 1.42; font-weight: 800; }
.session p { margin: 0; color: var(--ink-600); font-size: .9rem; }
.session-break h4 { color: var(--ink-600); }
.schedule-day-special { border-color: #e5b4bc; background: linear-gradient(110deg, #fff, #fff5f6); }
.schedule-day-special > header { background: var(--red-100); }
.schedule-day-special time { color: var(--red-800); background: var(--white); border: 1px solid #edb9c2; }
.special-content { display: flex; gap: 22px; align-items: center; padding: 30px; }
.special-icon { display: grid; place-items: center; flex: 0 0 58px; height: 58px; border-radius: 18px; color: var(--red-700); background: var(--red-100); font-size: 1.6rem; font-weight: 900; }
.special-content h4 { margin: 0 0 7px; font-size: 1.15rem; }
.special-content p { margin: 0; color: var(--ink-600); }
.schedule-day-invite { border-color: #b46676; }
.schedule-day-invite > header { color: var(--white); background: var(--red-800); border-right: 0; }
.schedule-day-invite > header p { color: rgba(255,255,255,.7); }
.schedule-day-invite time { color: var(--red-900); background: var(--white); }
.invitation-note { display: flex; gap: 18px; align-items: flex-start; margin-top: 28px; padding: 24px 28px; border-radius: var(--radius-md); color: var(--white); background: var(--red-900); }
.invitation-note svg { flex: 0 0 27px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.invitation-note p { margin: 0; }

.section-people { background: var(--white); }
.role-heading { display: flex; align-items: center; gap: 18px; margin-top: 48px; margin-bottom: 18px; }
.role-heading::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.role-heading span { color: var(--red-700); font-size: .79rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.people-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.people-grid-featured { grid-template-columns: 1fr; }
.person-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.person-card:hover { transform: translateY(-5px); border-color: #ddb8bf; box-shadow: var(--shadow); }
.person-card > img, .no-photo-panel { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; object-position: center 35%; padding: 20px 20px 10px; background: linear-gradient(180deg, #fff9fa 0%, #f8edef 100%); }
.person-card-featured { display: grid; grid-template-columns: 320px 1fr; }
.person-card-featured > img { height: 100%; min-height: 320px; aspect-ratio: auto; object-fit: contain; object-position: center 35%; padding: 24px; background: linear-gradient(180deg, #fff9fa 0%, #f8edef 100%); }
.person-body { padding: 23px; }
.person-role { margin: 0 0 7px; color: var(--red-700); font-size: .72rem; font-weight: 900; letter-spacing: .10em; text-transform: uppercase; }
.person-body h3 { margin: 0 0 8px; font-size: 1.36rem; }
.person-affiliation { margin: 0; min-height: 54px; color: var(--ink-800); font-size: .88rem; font-weight: 650; line-height: 1.45; }
.person-summary { margin: 14px 0 0; color: var(--ink-600); font-size: .9rem; line-height: 1.62; }
.bio-button { margin-top: 18px; padding: 0; border: 0; border-bottom: 1px solid currentColor; color: var(--red-700); background: transparent; font-size: .9rem; font-weight: 800; cursor: pointer; }
.no-photo-panel { display: grid; place-items: center; align-content: center; gap: 12px; color: var(--red-800); padding: 0; background: linear-gradient(135deg, #fff6f7, #f7d7dd); }
.no-photo-panel svg { width: 70px; fill: none; stroke: currentColor; stroke-width: 2; }
.no-photo-panel span { font-size: .76rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }

.section-venue { background: var(--red-50); }
.venue-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 52px; align-items: center; }
.venue-copy > p:not(.eyebrow) { color: var(--ink-600); }
.venue-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 27px 0; }
.venue-cards article { padding: 20px; border: 1px solid var(--line); border-radius: 15px; background: var(--white); }
.venue-cards h3 { margin: 0 0 6px; }
.venue-cards p { margin: 0; color: var(--ink-600); font-size: .9rem; }
.venue-cards span { display: inline-block; margin-top: 12px; color: var(--red-700); font-size: .72rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.text-link { color: var(--red-800); font-weight: 850; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.map-card { margin: 0; overflow: hidden; border: 10px solid var(--white); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow); }
.map-card img { width: 100%; }
.map-card figcaption { padding: 12px 10px 7px; color: var(--ink-600); font-size: .82rem; }

.section-information { background: var(--white); }
.information-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.info-panel { padding: 27px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); }
.info-panel-wide { grid-column: 1 / -1; }
.info-panel-accent { background: var(--red-50); }
.info-panel-heading { display: flex; gap: 15px; align-items: flex-start; margin-bottom: 24px; }
.info-panel-heading span { display: grid; place-items: center; flex: 0 0 42px; height: 42px; border-radius: 13px; color: var(--red-800); background: var(--red-100); font-weight: 900; }
.info-panel-heading h3 { margin: 1px 0 2px; font-size: 1.25rem; }
.info-panel-heading p { margin: 0; color: var(--ink-600); font-size: .85rem; }
.info-panel > p { color: var(--ink-600); }
.info-panel ul { margin: 20px 0; padding-left: 20px; color: var(--ink-800); }
.fine-print { font-size: .82rem; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .88rem; }
th, td { padding: 15px 14px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--red-800); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; background: var(--red-50); }

.site-footer { padding: 54px 0 28px; color: var(--white); background: var(--red-950); }
.footer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; padding-bottom: 38px; border-bottom: 1px solid rgba(255,255,255,.16); }
.footer-title { margin: 0 0 7px; font-size: 1.45rem; font-weight: 850; }
.footer-top p:not(.footer-title) { margin: 0; color: rgba(255,255,255,.66); }
.back-to-top { color: var(--white); font-weight: 800; text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 40px; padding-top: 25px; color: rgba(255,255,255,.58); font-size: .82rem; }
.footer-bottom p { margin: 0; }

.bio-dialog { width: min(720px, calc(100% - 32px)); max-height: min(82vh, 780px); padding: 38px; border: 0; border-radius: 24px; color: var(--ink-950); background: var(--white); box-shadow: 0 30px 90px rgba(54, 4, 17, .35); }
.bio-dialog::backdrop { background: rgba(37, 5, 13, .72); backdrop-filter: blur(7px); }
.dialog-close { position: absolute; right: 20px; top: 18px; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: var(--red-50); color: var(--red-800); font-size: 1.55rem; cursor: pointer; }
.dialog-label { margin: 0 0 10px; color: var(--red-700); font-size: .75rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.bio-dialog h2 { padding-right: 45px; font-size: clamp(2rem, 6vw, 3.6rem); }
.dialog-affiliation { margin: 14px 0 26px; padding-bottom: 24px; border-bottom: 1px solid var(--line); color: var(--ink-800); font-weight: 700; }
.dialog-copy { color: var(--ink-600); font-size: 1rem; }
.dialog-copy p { margin: 0; }

@media (max-width: 980px) {
  .site-nav { position: fixed; inset: 76px 0 auto; display: grid; gap: 0; padding: 12px 20px 24px; transform: translateY(-130%); background: var(--red-950); transition: transform .25s ease; }
  .site-nav.is-open { transform: none; }
  .site-nav a { padding: 16px 4px; border-bottom: 1px solid rgba(255,255,255,.12); }
  .nav-toggle { display: block; }
  .phase-strip { grid-template-columns: 1fr; margin: 8px auto 18px; }
  .phase-strip article + article { border-left: 0; border-top: 1px solid var(--line); }
  .logo-row { grid-template-columns: repeat(3, 1fr); }
  .about-layout, .venue-layout, .section-heading { grid-template-columns: 1fr; gap: 28px; }
  .focus-grid, .people-grid { grid-template-columns: repeat(2, 1fr); }
  .schedule-day { grid-template-columns: 1fr; }
  .schedule-day > header { border-right: 0; border-bottom: 1px solid var(--line); }
  .person-card-featured { grid-template-columns: 260px 1fr; }
}

@media (max-width: 700px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 68px 0; }
  .brand-copy strong { font-size: .86rem; }
  .brand-copy small { display: none; }
  .hero { padding-top: 68px; }
  .hero-content { padding-bottom: 42px; }
  .hero h1 { font-size: clamp(3.15rem, 16vw, 5.3rem); line-height: .96; }
  .hero-theme br { display: none; }
  .hero-meta { display: grid; gap: 12px; }
  .phase-strip { margin: 8px auto 16px; }
  .phase-strip article { min-height: 132px; padding: 22px 20px; }
  .logo-band { padding-top: 28px; }
  .logo-row { grid-template-columns: repeat(2, 1fr); gap: 25px; }
  .logo-row img { max-width: 140px; }
  .focus-grid, .people-grid, .information-grid, .venue-cards { grid-template-columns: 1fr; }
  .person-card-featured { grid-template-columns: 1fr; }
  .person-card-featured > img { aspect-ratio: 1 / 1; object-fit: contain; object-position: center 35%; }
  .person-affiliation { min-height: 0; }
  .schedule-day > header { padding: 22px; }
  .sessions { padding: 8px 22px; }
  .session { grid-template-columns: 1fr; gap: 4px; padding: 18px 0; }
  .special-content { align-items: flex-start; padding: 22px; }
  .invitation-note { padding: 22px; }
  .info-panel-wide { grid-column: auto; }
  .info-panel { padding: 23px; }
  .footer-top, .footer-bottom { display: grid; }
  .bio-dialog { padding: 28px 24px; }
}

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


/* v5 layout refinement: keep the top program-phase cards aligned with the content below. */
@media (max-width: 700px) { .phase-strip { width: min(calc(100% - 28px), var(--container)); } }
