:root {
    color-scheme: dark;
    --bg: #0a1723;
    --surface: #112434;
    --surface-deep: #0d1e2c;
    --text: #eff4f6;
    --quiet: #b6c5cf;
    --accent: #b0e7bd;
    --line: #314758;
    --radius: 15px;
    font: 400 16px/1.55 Inter, system-ui, sans-serif;
    scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); }
img { max-width: 100%; }
a { color: var(--accent); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #8acbfd; outline-offset: 4px; }
h1, h2, h3, h4, p { margin: 0 0 .75rem; }
h1, h2, h3, h4 { line-height: 1.15; text-wrap: balance; }
h1 { font-size: clamp(2.65rem, 7vw, 5rem); letter-spacing: -.062em; }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.65rem); letter-spacing: -.04em; }
h3 { font-size: 1.15rem; letter-spacing: -.015em; }
p { color: var(--quiet); }
[hidden] { display: none !important; }
.wrap { width: min(100% - 3.5rem, 73rem); margin-inline: auto; }
.narrow { max-width: 47rem; }
.section { padding-block: clamp(2.6rem, 6vw, 5.6rem); }
.skip { position: fixed; inset: .5rem auto auto .5rem; z-index: 12; background: var(--surface); padding: .65rem 1rem; transform: translateY(-160%); }
.skip:focus { transform: none; }
.site-header { background: #0a1723; border-bottom: 1px solid var(--line); }
.header-inner, #site-nav { display: flex; align-items: center; }
.header-inner { min-height: 4.65rem; justify-content: space-between; gap: 1.4rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--text); font-weight: 800; line-height: 1.1; text-decoration: none; }
.brand img { object-fit: contain; flex: 0 0 auto; }
#site-nav { gap: clamp(1rem, 2.2vw, 1.85rem); }
#site-nav a { text-decoration: none; font-size: .9rem; font-weight: 600; }
#site-nav a:not(.button) { color: var(--text); }
.menu-toggle { display: none; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 2.8rem; padding: .65rem 1rem; border: 1px solid transparent; border-radius: .5rem; background: var(--accent); color: #0d2518; font-weight: 750; text-decoration: none; }
.button:hover { background: #cbf3d5; }
.button-outline, .button-quiet { border-color: #638285; color: var(--text); background: transparent; }
.button-outline:hover, .button-quiet:hover { background: var(--surface); }
.button-small { min-height: 2.35rem; padding: .42rem .72rem; font-size: .88rem; }
.hero { position: relative; isolation: isolate; display: grid; min-height: clamp(29rem, 66vw, 40rem); align-items: center; overflow: hidden; background: radial-gradient(ellipse at right top, #24454d, var(--bg) 70%); }
.hero::before { position: absolute; z-index: -1; inset: 0; content: ""; background: linear-gradient(90deg, #071522 8%, #071522f0 36%, #07152260 75%, #07152210), linear-gradient(0deg, #0a1723 0%, transparent 40%); }
.hero-photo { position: absolute; z-index: -2; top: 0; right: 0; width: 80%; height: 100%; object-fit: cover; object-position: center; }
.hero-inner { padding-block: 4rem; }
.hero h1 { max-width: 880px; font-size: clamp(3rem, 8.4vw, 7.7rem); margin-bottom: 1rem; }
.hero h1 em { font-style: normal; color: var(--accent); }
.event-hero { min-height: clamp(21rem, 46vw, 32rem); }
.event-hero h1 { font-size: clamp(2.8rem, 7vw, 6rem); }
.hero-lead, .page-head p { max-width: 36rem; font-size: clamp(1.04rem, 2vw, 1.35rem); }
.marker { color: var(--accent); font-size: .76rem; letter-spacing: .09em; text-transform: uppercase; font-weight: 800; }
.event-meta, .actions { display: flex; gap: .8rem 1.1rem; flex-wrap: wrap; align-items: center; }
.event-meta { font-weight: 700; margin-block: 1.4rem; color: var(--text); }
.event-meta span + span::before { content: "·"; color: var(--accent); margin-right: 1.1rem; }
.intro-band { background: var(--surface-deep); border-block: 1px solid var(--line); }
.three, .speaker-grid, .event-list, .schedule-grid, .photo-gallery, .split { display: grid; gap: 1.25rem; }
.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.three article { border-left: 1px solid #689b82; padding-left: 1.1rem; }
.three h2 { font-size: 1.5rem; }
.three p { margin-bottom: 0; max-width: 34ch; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: .8rem 1.4rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.section-heading :is(h1, h2, p) { margin-bottom: 0; }
.speaker-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.speaker-card, .panel, .event-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); min-width: 0; }
.speaker-card { overflow: hidden; display: flex; flex-direction: column; }
.speaker-card > img { display: block; width: 100%; height: auto; aspect-ratio: 1.09; object-fit: cover; object-position: 50% 36%; }
.speaker-text { padding: 1rem; display: flex; flex-direction: column; flex: 1; }
.speaker-text p { font-size: .88rem; }
.speaker-text p.marker { font-size: .72rem; }
.bio-link { margin-top: auto; font-size: .9rem; font-weight: 750; }
.theme-band { background: linear-gradient(110deg, #142d2c, #0b1e32); border-block: 1px solid var(--line); }
.theme-band .wrap { margin-inline: max(1.75rem, (100vw - 73rem) / 2) auto; }
.event-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.event-card { display: grid; gap: .3rem; padding: 1.1rem; text-decoration: none; color: var(--quiet); }
.event-card:hover { border-color: var(--accent); }
.event-card strong { font-size: 1.27rem; color: var(--text); }
.event-card span:last-child { display: flex; justify-content: space-between; }
.page-head { border-bottom: 1px solid var(--line); padding-top: clamp(2.5rem, 6vw, 5rem); padding-bottom: 1.1rem; }
.split { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; }
.panel { padding: clamp(1rem, 3vw, 1.65rem); }
.panel h2 { font-size: clamp(1.3rem, 2.8vw, 1.85rem); }
.schedule-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.session-list { padding: 0; margin: 0; list-style: none; }
.session-list li { padding: .7rem 0; border-top: 1px solid var(--line); }
.session-list li span { display: block; color: var(--accent); }
.session-list p { margin-bottom: 0; }
.prose-lines { white-space: pre-line; overflow-wrap: anywhere; }
.recording-title { margin-top: 1.5rem; }
.photo-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 1.25rem; }
.photo-gallery img, .hotel-lead { display: block; width: 100%; border-radius: var(--radius); object-fit: cover; aspect-ratio: 1.6; }
.hotel-test-note { font-size: .8rem; text-align: center; opacity: .75; margin: 1rem 0; }
.contact-team .person { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.person img { border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.form-stack { display: grid; gap: .55rem; }
.form-stack label { font-weight: 650; }
input:not([type=checkbox]):not([type=hidden]), textarea, select { width: 100%; min-width: 0; color: var(--text); background: var(--bg); border: 1px solid #536b7e; border-radius: .45rem; padding: .62rem .7rem; }
input[type=checkbox] { accent-color: var(--accent); }
textarea { resize: vertical; }
.form-stack > .button { justify-self: start; margin-top: .55rem; }
.form-status:empty, .validation-summary-valid { display: none; }
.validation-summary-errors, .form-error { color: #ffc1ad; }
.trap { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
.site-footer { background: #080f17; border-top: 1px solid var(--line); padding-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 1.2rem; }
.footer-grid h2 { font-size: 1rem; margin: 0 0 .35rem; }
.footer-grid a:not(.brand) { display: block; width: fit-content; font-size: .9rem; }
.footer-grid p { margin-top: .5rem; }
.footer-note { border-top: 1px solid var(--line); padding-block: .9rem; margin-top: 1.5rem; color: var(--quiet); font-size: .82rem; }
dialog { width: min(42rem, calc(100% - 1.5rem)); max-height: calc(100% - 2rem); background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
dialog::backdrop { background: #050b13cf; }
.dialog-controls { display: flex; justify-content: end; margin-bottom: .65rem; }
.bio-content img { float: right; margin: 0 0 .8rem 1rem; border-radius: var(--radius); object-fit: cover; }
.speaker-links { padding-left: 1.25rem; }
@media (max-width: 780px) {
    .header-inner { flex-wrap: wrap; gap: .65rem; padding-block: .95rem; }
    .menu-toggle { display: inline-flex; align-items: center; min-height: 2.5rem; padding-inline: .65rem; border-radius: .4rem; border: 1px solid var(--line); background: var(--surface); color: var(--text); }
    #site-nav { width: 100%; flex-wrap: wrap; gap: .6rem 1.1rem; }
    .site-header.menu-ready #site-nav:not(.open) { display: none; }
    .speaker-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
    .event-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero-photo { width: 100%; }
    .hero::before { background: linear-gradient(90deg, #071522ee, #07152270), linear-gradient(0deg, #0a1723, transparent 50%); }
}
@media (max-width: 540px) {
    .wrap { width: calc(100% - 2rem); }
    .three, .split, .schedule-grid, .event-list { grid-template-columns: 1fr; }
    .three article { padding-bottom: .5rem; }
    .hero { min-height: 27rem; }
    .event-hero { min-height: 19rem; }
    .event-meta span + span::before { content: none; margin: 0; }
    .speaker-text { padding: .7rem; }
    .speaker-text h3 { overflow-wrap: anywhere; }
    .speaker-text p { font-size: .82rem; }
    .photo-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid > div:first-child { grid-column: 1 / -1; }
    .theme-band .wrap { margin-inline: auto; }
    .bio-content img { float: none; margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { :root { scroll-behavior: auto; } }
