:root {
    --bg: #f5f1ea;
    --bg-alt: #ffffff;
    --ink: #1b1d1e;
    --ink-soft: #4b5156;
    --ink-muted: #7b8186;
    --line: rgba(27, 29, 30, 0.12);
    --line-soft: rgba(27, 29, 30, 0.06);
    --accent: #122848;
    --accent-bright: #2d5289;
    --accent-deep: #0b1a31;
    --accent-tint: #e9eef7;
    --highlight: #c89b3c;
    --highlight-tint: #f3e3bf;
    --radius: 6px;
    --radius-lg: 14px;
    --content: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    margin: 0;
    font-family: "Inter", system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
}

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

a:hover {
    color: var(--accent-bright);
}

a:focus-visible,
.button:focus-visible,
.nav-toggle:focus-visible {
    outline: 2px solid var(--accent-bright);
    outline-offset: 3px;
}

h1, h2, h3, h4 {
    margin: 0;
    font-family: "Inter", system-ui, sans-serif;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--ink);
}

p, li, dd {
    color: var(--ink-soft);
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -48px;
    padding: 10px 14px;
    background: var(--ink);
    color: #fff;
    z-index: 200;
    border-radius: var(--radius);
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 16px;
}

/* --- Nav --- */

.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(245, 241, 234, 0.94);
    backdrop-filter: saturate(180%) blur(8px);
    border-bottom: 1px solid var(--line-soft);
}

.nav-inner {
    width: min(calc(100% - 40px), var(--content));
    margin: 0 auto;
    padding: 18px 0;
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--radius);
    background: var(--accent);
    color: #fff;
    font-family: "Inter", system-ui, sans-serif;
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.02em;
}

.nav-toggle {
    display: none;
    position: relative;
    width: 42px;
    height: 42px;
    margin-left: auto;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: transparent;
    color: var(--ink);
    cursor: pointer;
}

.nav-toggle-bar {
    position: absolute;
    left: 11px;
    right: 11px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: top 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-bar:nth-child(1) { top: 13px; }
.nav-toggle-bar:nth-child(2) { top: 20px; }
.nav-toggle-bar:nth-child(3) { top: 27px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    top: 20px;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    top: 20px;
    transform: rotate(-45deg);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0 0 0 auto;
    padding: 0;
    list-style: none;
}

.nav-list a {
    color: var(--ink-soft);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: var(--radius);
    transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-list a:hover {
    color: var(--ink);
    background: rgba(27, 29, 30, 0.05);
}

.nav-list .nav-cta {
    margin-left: 8px;
    background: var(--accent);
    color: #fff;
    padding: 9px 16px;
}

.nav-list .nav-cta:hover {
    background: var(--accent-bright);
    color: #fff;
}

/* --- Hero --- */

.hero {
    position: relative;
    background-color: var(--accent);
    color: #fff;
    overflow: hidden;
    padding: 100px 0 64px;
    min-height: 560px;
    display: flex;
    align-items: center;
    isolation: isolate;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 42%;
    z-index: -2;
    filter: brightness(0.62) saturate(1.05);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(11, 26, 49, 0.35) 0%, rgba(11, 26, 49, 0.15) 45%, rgba(11, 26, 49, 0.45) 100%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    width: min(calc(100% - 40px), var(--content));
    margin: 0 auto;
}

.hero-eyebrow {
    margin: 0 0 24px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--highlight-tint);
}

.hero-title {
    margin: 0;
    color: #fff;
    font-family: "Inter", system-ui, sans-serif;
    font-size: clamp(2.4rem, 6.4vw, 4.8rem);
    line-height: 1.02;
    letter-spacing: -0.025em;
    font-weight: 700;
    max-width: 20ch;
}

.hero-tagline {
    margin: 28px 0 0;
    max-width: 42rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.15rem;
    line-height: 1.6;
}

.hero-meta {
    margin: 32px 0 0;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 28px;
}

.hero-meta-block {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 140px;
}

.hero-meta-divider {
    width: 1px;
    background: rgba(255, 255, 255, 0.18);
}

.meta-label {
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.meta-primary {
    font-family: "Inter", system-ui, sans-serif;
    font-size: 1.1rem;
    line-height: 1.3;
    color: #fff;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.hero-meta-dates .meta-primary {
    font-size: 1.25rem;
}

.meta-secondary {
    font-size: 0.84rem;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.65);
}

.meta-link {
    margin-top: 4px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--highlight-tint);
    letter-spacing: 0.01em;
}

.meta-link:hover {
    color: var(--highlight);
}

.hero-cta {
    margin-top: 36px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.94rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    background: var(--highlight);
    color: var(--accent-deep);
}

.button-primary:hover {
    background: #b58930;
    color: var(--accent-deep);
}

.button-ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

.button-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
}

/* --- Page header (subpages) --- */

.page-header {
    position: relative;
    background: var(--accent);
    color: #fff;
    padding: 36px 0 28px;
    overflow: hidden;
    isolation: isolate;
}

.page-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 82% 18%, rgba(200, 155, 60, 0.14), transparent 48%),
        radial-gradient(circle at 10% 90%, rgba(45, 82, 137, 0.25), transparent 55%);
    pointer-events: none;
}

.page-header-inner {
    position: relative;
    width: min(calc(100% - 40px), var(--content));
    margin: 0 auto;
}

.page-kicker {
    margin: 0 0 12px;
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--highlight-tint);
}

.page-title {
    margin: 0;
    color: #fff;
    font-family: "Inter", system-ui, sans-serif;
    font-size: clamp(1.6rem, 3.2vw, 2.1rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    position: relative;
    display: inline-block;
    padding-bottom: 16px;
}

.page-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 52px;
    height: 3px;
    border-radius: 2px;
    background: var(--highlight);
}

.page-subtitle {
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1rem;
    line-height: 1.55;
    max-width: 54ch;
}

/* Map panel */

.venue-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.map-panel {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--bg-alt);
    box-shadow: 0 8px 24px rgba(17, 28, 51, 0.06);
}

.map-panel iframe {
    display: block;
    width: 100%;
    height: 320px;
    border: 0;
}

.map-caption {
    margin: 0;
    padding: 12px 18px;
    border-top: 1px solid var(--line);
    background: var(--bg-alt);
    font-size: 0.88rem;
    text-align: right;
}

.map-caption a {
    font-weight: 600;
}

@media (max-width: 600px) {
    .map-panel iframe {
        height: 260px;
    }
}

/* PDF embed */

.pdf-container {
    margin-top: 32px;
}

.pdf-placeholder {
    padding: 48px 32px;
    border: 2px dashed var(--line);
    border-radius: var(--radius-lg);
    background: var(--bg-alt);
    text-align: center;
    color: var(--ink-muted);
}

.pdf-placeholder-label {
    margin: 0 0 10px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
}

.pdf-placeholder p {
    margin: 0 auto;
    max-width: 44ch;
    line-height: 1.55;
    font-size: 0.95rem;
}

.pdf-placeholder code {
    padding: 2px 6px;
    border-radius: 4px;
    background: var(--accent-tint);
    color: var(--accent);
    font-size: 0.88em;
}

.pdf-frame {
    display: block;
    width: 100%;
    aspect-ratio: 8.5 / 11;
    max-height: 860px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: var(--bg-alt);
}

.pdf-actions {
    margin: 16px 0 0;
}

/* Committee grid */

.committee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
    margin: 0 0 32px;
}

.committee-member {
    padding: 18px 22px;
    border-radius: var(--radius-lg);
    background: var(--bg-alt);
    border: 1px solid var(--line);
}

.committee-member h4 {
    margin: 0 0 6px;
    font-size: 1.02rem;
    color: var(--ink);
}

.committee-role-tag {
    display: inline-block;
    margin: 0 0 8px;
    padding: 2px 10px;
    border-radius: 999px;
    background: var(--accent-tint);
    color: var(--accent);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.committee-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--accent-bright);
}

.committee-link:hover {
    color: var(--accent);
    text-decoration: underline;
}

.committee-member p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--ink-muted);
    line-height: 1.45;
}

.committee-role {
    display: inline-block;
    margin: 0 0 12px;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--accent-tint);
    color: var(--accent);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.subheading {
    margin: 32px 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-muted);
}

.subheading:first-child {
    margin-top: 0;
}

/* Fees table (inside .key-dates) */

.fees-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 4px;
    table-layout: fixed;
}

.fees-table th,
.fees-table td {
    padding: 10px 8px;
    text-align: left;
    vertical-align: top;
}

.fees-table thead th {
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.fees-table tbody th {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    padding-left: 0;
    width: 78px;
}

.fees-table tbody tr + tr th,
.fees-table tbody tr + tr td {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.fees-table .fee-date {
    display: block;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2px;
    font-variant-numeric: tabular-nums;
}

.fees-table .fee-amount {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 600px) {
    .fees-table tbody th {
        width: 64px;
    }

    .fees-table th,
    .fees-table td {
        padding: 8px 6px;
    }

    .fees-table .fee-amount {
        font-size: 0.92rem;
    }
}

/* Registration form */

.register-card {
    display: grid;
    grid-template-rows: 0fr;
    margin-top: 0;
    opacity: 0;
    transition: grid-template-rows 0.4s ease, margin-top 0.4s ease, opacity 0.3s ease;
}

.register-card[hidden] {
    display: none;
}

.register-card-inner {
    min-height: 0;
    overflow: hidden;
    padding: 0 32px;
    border-radius: var(--radius-lg);
    background: var(--bg-alt);
    border: 1px solid transparent;
    transition: padding 0.4s ease, border-color 0.3s ease;
}

.register-card.is-open {
    grid-template-rows: 1fr;
    margin-top: 40px;
    opacity: 1;
}

.register-card.is-open .register-card-inner {
    padding: 32px;
    border-color: var(--line);
}

.register-form {
    display: grid;
    gap: 22px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 20px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-field-wide {
    grid-column: 1 / -1;
}

.form-field > span {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: 0.01em;
}

.form-field > span em {
    color: var(--highlight);
    font-style: normal;
    margin-left: 2px;
}

.form-field input,
.form-field select,
.form-field textarea {
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font: inherit;
    color: var(--ink);
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-field textarea {
    resize: vertical;
    min-height: 80px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(18, 40, 72, 0.14);
}

.form-checks {
    margin: 0;
    padding: 14px 18px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    display: grid;
    gap: 8px;
}

.form-checks legend {
    padding: 0 6px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-muted);
}

.form-checks label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.94rem;
    color: var(--ink);
    cursor: pointer;
}

.form-checks input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--accent);
    cursor: pointer;
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.form-status {
    margin: 0;
    font-size: 0.88rem;
    color: var(--ink-muted);
}

.form-status.is-success {
    color: #1f7a3a;
}

.form-status.is-error {
    color: #b2321a;
}

@media (max-width: 600px) {
    .register-card.is-open .register-card-inner {
        padding: 22px 18px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }
}

/* Active nav link */

.nav-list a.is-active {
    color: var(--ink);
    background: rgba(27, 29, 30, 0.06);
}

.nav-list .nav-cta.is-active {
    background: var(--accent-bright);
    color: #fff;
}

/* --- Hero-integrated About --- */

.hero-about {
    background: var(--bg-alt);
    border-bottom: 1px solid var(--line-soft);
}

.hero-about-inner {
    width: min(calc(100% - 40px), var(--content));
    margin: 0 auto;
    padding: 40px 0 56px;
}

.hero-about-title {
    margin: 0 0 24px;
    font-family: "Inter", system-ui, sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    line-height: 1.2;
    max-width: 24ch;
    font-weight: 600;
    letter-spacing: -0.015em;
}

.contact-block {
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

.contact-kicker {
    margin: 0 0 20px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
}

.contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.contact-list li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 20px 22px;
    border-radius: var(--radius-lg);
    background: var(--accent-tint);
    border: 1px solid var(--line-soft);
}

.contact-role {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
}

.contact-person {
    margin-top: 6px;
    font-family: "Inter", system-ui, sans-serif;
    font-size: 1.15rem;
    color: var(--ink);
    letter-spacing: -0.01em;
}

.contact-affil {
    font-size: 0.88rem;
    color: var(--ink-soft);
    margin-bottom: 4px;
}

.contact-email {
    font-size: 0.92rem;
    color: var(--accent-bright);
    word-break: break-word;
}

.contact-email:hover {
    color: var(--accent);
    text-decoration: underline;
}

/* --- Section framework --- */

.section {
    border-bottom: 1px solid var(--line-soft);
}

.section-wrap {
    width: min(calc(100% - 40px), var(--content));
    margin: 0 auto;
    padding: 40px 0 56px;
}

.section-schedule {
    background: var(--bg);
}

.section-schedule > .section-wrap {
    padding-top: 2px;
}

.section-speakers {
    background: var(--bg-alt);
}

.section-venue {
    background: var(--bg);
}

.section-kicker {
    margin: 0 0 18px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
}

.section-title {
    margin: 0 0 36px;
    font-family: "Inter", system-ui, sans-serif;
    font-size: clamp(1.75rem, 3.4vw, 2.5rem);
    line-height: 1.15;
    max-width: 24ch;
    font-weight: 600;
    letter-spacing: -0.015em;
}

.section-lead {
    max-width: 56ch;
    margin: -24px 0 48px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--ink-soft);
}

.subheading {
    margin: 56px 0 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-muted);
}

.subheading:first-of-type {
    margin-top: 8px;
}

/* --- About --- */

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
    gap: 56px;
    align-items: start;
}

.prose p {
    margin: 0 0 18px;
    font-size: 1.05rem;
    line-height: 1.75;
}

.prose p:last-child {
    margin-bottom: 0;
}

.news-list {
    padding: 22px 24px 4px;
    border-radius: var(--radius-lg);
    background: var(--accent-tint);
    border: 1px solid var(--line-soft);
}

.news-kicker {
    margin: 0 0 14px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
}

.news-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.news-list li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 0;
    border-top: 1px solid var(--line-soft);
}

.news-list li:first-child {
    border-top: none;
    padding-top: 6px;
}

.news-list time {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-muted);
}

.news-list li p {
    margin: 0;
    font-family: "Inter", system-ui, sans-serif;
    font-size: 1.02rem;
    line-height: 1.5;
    color: var(--ink);
}

/* --- Schedule / Calendar grid --- */

.calendar-scroll {
    overflow-x: auto;
    margin: 8px -6px 0;
    padding: 2px 6px 12px;
    -webkit-overflow-scrolling: touch;
}

.calendar {
    --slot-h: 11px;
    --head-h: 34px;
    --gutter-w: 90px;
    display: grid;
    grid-template-columns: var(--gutter-w) minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: var(--head-h) repeat(75, var(--slot-h));
    position: relative;
    background: var(--bg-alt);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-width: 680px;
    box-shadow: 0 10px 32px rgba(17, 28, 51, 0.06);
}

.calendar::before {
    content: "";
    position: absolute;
    top: var(--head-h);
    left: var(--gutter-w);
    right: 0;
    bottom: 0;
    background:
        linear-gradient(to right,
            transparent calc(50% - 0.5px),
            var(--line) calc(50% - 0.5px),
            var(--line) calc(50% + 0.5px),
            transparent calc(50% + 0.5px)),
        repeating-linear-gradient(to bottom,
            var(--line-soft) 0,
            var(--line-soft) 1px,
            transparent 1px,
            transparent calc(var(--slot-h) * 6));
    background-position: 0 0, 0 calc(var(--slot-h) * 6);
    background-repeat: no-repeat, repeat-y;
    pointer-events: none;
    z-index: 0;
}

.cal-head {
    grid-row: 1;
    padding: 8px 16px;
    background: var(--accent);
    color: #fff;
    display: flex;
    align-items: baseline;
    gap: 8px;
    z-index: 2;
}

.cal-head + .cal-head {
    border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.cal-head-gutter {
    background: var(--accent-deep);
    padding: 8px 12px;
}

.cal-weekday {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
}

.cal-head h3 {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1;
}

.cal-time {
    grid-column: 1;
    padding: 0 10px 0 8px;
    text-align: right;
    align-self: start;
    margin-top: -0.6em;
    font-size: 0.7rem;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    color: var(--ink-muted);
    background: var(--bg-alt);
    position: relative;
    z-index: 1;
}

.cal-time:first-of-type {
    margin-top: 2px;
}

.cal-event {
    position: relative;
    z-index: 1;
    margin: 0 4px;
    padding: 2px 8px;
    border-radius: 5px;
    background: var(--accent-tint);
    border-left: 3px solid var(--accent);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1px;
    min-height: 0;
}

.cal-event h4 {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.15;
    color: var(--ink);
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cal-event p {
    margin: 0;
    font-size: 0.7rem;
    line-height: 1.25;
    color: var(--ink-soft);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cal-event.is-compact {
    padding: 0 8px;
    gap: 0;
}

.cal-event.is-compact h4 {
    font-size: 0.68rem;
    line-height: 1;
}

.cal-event.is-keynote {
    background: var(--highlight-tint);
    border-left-color: var(--highlight);
}

.cal-event.is-keynote .ev-meta {
    color: #7a5c1f;
}

.cal-event.is-parallel {
    background: #fff;
    border: 1px solid var(--line);
    border-left: 3px solid var(--accent-bright);
}

.cal-event.is-parallel .ev-meta {
    color: var(--accent-bright);
}

.cal-event.is-social {
    background: var(--accent-tint);
    border-left-color: var(--accent-bright);
}

.cal-event.is-social .ev-meta {
    color: var(--accent-bright);
}

.cal-event.is-break {
    background: transparent;
    border: 1px dashed var(--line);
    border-left: 1px dashed var(--line);
    padding: 2px 10px;
    opacity: 0.8;
}

.cal-event.is-break h4 {
    font-family: "Inter", sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-muted);
}

/* Legend */

.cal-legend {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 14px 20px;
    font-size: 0.8rem;
    color: var(--ink-soft);
}

.cal-legend li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.legend-swatch {
    display: inline-block;
    width: 20px;
    height: 12px;
    border-radius: 3px;
    border-left: 3px solid;
}

.legend-swatch.legend-keynote {
    background: var(--highlight-tint);
    border-left-color: var(--highlight);
}

.legend-swatch.legend-parallel {
    background: #fff;
    border: 1px solid var(--line);
    border-left: 3px solid var(--accent-bright);
}

.legend-swatch.legend-social {
    background: var(--accent-tint);
    border-left-color: var(--accent-bright);
}

.legend-swatch.legend-break {
    background: transparent;
    border: 1px dashed var(--line);
    border-left: 1px dashed var(--line);
}

/* --- Speakers --- */

.speaker-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 860px;
    margin: 0 auto;
}

.speaker-row .speaker-card > summary {
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

.speaker-row .speaker-photo {
    width: 220px;
    flex: none;
    aspect-ratio: auto;
    border-bottom: none;
    border-right: 1px solid var(--line);
}

.speaker-row .speaker-photo img {
    height: 100%;
}

.speaker-row .speaker-body {
    flex: 1;
    min-width: 0;
}

@media (max-width: 600px) {
    .speaker-row .speaker-card > summary {
        flex-direction: column;
    }

    .speaker-row .speaker-photo {
        width: 100%;
        aspect-ratio: 4 / 5;
        border-right: none;
        border-bottom: 1px solid var(--line);
    }
}

.speaker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
    align-items: start;
}

.speaker-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line);
}

.speaker-card-keynote {
    background: var(--accent-tint);
    border-color: var(--accent);
}

.speaker-card > summary {
    display: block;
    list-style: none;
    cursor: pointer;
}

.speaker-card > summary::-webkit-details-marker {
    display: none;
}

.speaker-card > summary:focus-visible {
    outline: 2px solid var(--accent-bright);
    outline-offset: -2px;
}

.speaker-photo {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: linear-gradient(160deg, #e8e2d5, #d6ccb6);
    border-bottom: 1px solid var(--line);
}

.speaker-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
}

.speaker-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--highlight);
    color: var(--accent-deep);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.speaker-body {
    padding: 22px 24px 22px;
}

.speaker-body h4 {
    margin: 0 0 10px;
    font-size: 1.35rem;
    color: var(--ink);
}

.speaker-talk {
    margin: 0 0 12px;
    font-family: "Inter", system-ui, sans-serif;
    font-size: 1.02rem;
    font-style: italic;
    color: var(--ink);
    line-height: 1.5;
}

.speaker-affiliation {
    margin: 0 0 10px;
    font-size: 0.88rem;
    color: var(--ink-muted);
}

.speaker-website {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 14px;
    font-size: 0.86rem;
    font-weight: 500;
    color: var(--accent-bright);
}

.speaker-website:hover {
    color: var(--accent);
    text-decoration: underline;
}

.speaker-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding-top: 14px;
    margin-top: 4px;
    border-top: 1px solid var(--line);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--accent-bright);
    width: 100%;
}

.speaker-toggle-close {
    display: none;
}

.speaker-card[open] .speaker-toggle-open {
    display: none;
}

.speaker-card[open] .speaker-toggle-close {
    display: inline;
}

.speaker-toggle-icon {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    margin-left: auto;
    transform: rotate(45deg) translate(-1px, -1px);
    transition: transform 0.25s ease;
}

.speaker-card[open] .speaker-toggle-icon {
    transform: rotate(-135deg) translate(-2px, -2px);
}

.speaker-extra {
    padding: 20px 24px 26px;
    border-top: 1px solid var(--line);
    display: grid;
    gap: 18px;
    background: rgba(255, 255, 255, 0.6);
}

.speaker-card-keynote .speaker-extra {
    background: rgba(255, 255, 255, 0.55);
}

.speaker-extra-block h5 {
    margin: 0 0 6px;
    font-family: "Inter", sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
}

.speaker-extra-block p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--ink-soft);
}

.speakers-footnote {
    margin: 32px 0 0;
    padding-top: 20px;
    border-top: 1px dashed var(--line);
    font-size: 0.85rem;
    color: var(--ink-muted);
    line-height: 1.6;
}

.speakers-footnote code {
    padding: 2px 6px;
    border-radius: 4px;
    background: var(--accent-tint);
    color: var(--accent);
    font-size: 0.82rem;
}

/* --- Venue --- */

.venue-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
    gap: 56px;
    align-items: start;
}

.key-dates {
    padding: 28px;
    border-radius: var(--radius-lg);
    background: var(--accent);
    color: #fff;
}

.key-dates h4 {
    margin: 0 0 18px;
    color: #fff;
    font-size: 1.25rem;
}

.key-dates dl {
    margin: 0;
    display: grid;
    gap: 16px;
}

.key-dates div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.key-dates div:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.key-dates dt {
    margin: 0;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
}

.key-dates dd {
    margin: 0;
    font-family: "Inter", system-ui, sans-serif;
    font-size: 1.05rem;
    color: #fff;
}

/* --- Footer --- */

.site-footer {
    background: transparent;
}

.footer-inner {
    width: min(calc(100% - 40px), var(--content));
    margin: 0 auto;
    padding: 0;
}

.footer-logos {
    background: var(--bg);
    padding: 10px 0;
}

.footer-logos-label {
    margin: 0 0 20px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-muted);
}

.logo-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    align-items: center;
}

.logo-slot {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 84px;
    padding: 18px 24px;
}

.logo-slot img {
    max-height: 56px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
}

.footer-bottom {
    background: var(--ink);
    color: rgba(255, 255, 255, 0.7);
    padding: 32px 0;
}

.footer-bottom .footer-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    align-items: flex-end;
}

.footer-title {
    margin: 0 0 4px;
    font-family: "Inter", system-ui, sans-serif;
    font-size: 1.2rem;
    color: #fff;
}

.footer-meta {
    margin: 0;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.55);
}

.footer-copy {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
}

/* --- Responsive --- */

@media (max-width: 960px) {
    .about-grid,
    .venue-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .contact-list {
        grid-template-columns: 1fr;
    }

    .speaker-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-meta-divider {
        display: none;
    }

    .hero-meta {
        gap: 20px;
    }
}

@media (max-width: 720px) {
    .nav-inner {
        flex-wrap: wrap;
        padding: 14px 0;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav-list {
        display: none;
        width: 100%;
        margin: 12px 0 4px;
        padding: 8px;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: var(--radius-lg);
        box-shadow: 0 14px 32px rgba(17, 28, 51, 0.08);
    }

    .nav-list.active {
        display: flex;
    }

    .nav-list li {
        width: 100%;
    }

    .nav-list a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 13px 16px;
        font-size: 0.98rem;
        font-weight: 500;
        color: var(--ink);
        text-align: center;
        border-radius: var(--radius);
    }

    .nav-list a:hover,
    .nav-list a:focus-visible {
        background: rgba(27, 29, 30, 0.05);
    }

    .nav-list .nav-cta {
        justify-content: center;
        margin: 8px 0 2px;
        padding: 14px 16px;
        font-weight: 600;
        letter-spacing: 0.02em;
    }

    .nav-list .nav-cta:hover,
    .nav-list .nav-cta:focus-visible {
        background: var(--accent-bright);
        color: #fff;
    }

    .hero {
        padding-top: 72px;
    }

    .hero-inner {
        padding-bottom: 56px;
    }

    .section-wrap,
    .hero-about-inner {
        padding: 28px 0 44px;
    }

    .calendar {
        --slot-h: 20px;
        --head-h: 50px;
        --gutter-w: 68px;
        min-width: 520px;
    }

    .cal-head {
        padding: 8px 14px;
        gap: 8px;
    }

    .cal-head-gutter {
        padding: 8px 12px;
    }

    .cal-head h3 {
        font-size: 0.98rem;
    }

    .cal-weekday {
        font-size: 0.62rem;
        letter-spacing: 0.14em;
    }

    .cal-time {
        padding: 0 8px 0 6px;
        font-size: 0.72rem;
    }

    .cal-event {
        margin: 1px 4px;
        padding: 7px 10px;
        gap: 2px;
        border-radius: 6px;
    }

    .cal-event h4 {
        font-size: 0.9rem;
        line-height: 1.15;
    }

    .cal-event p {
        font-size: 0.76rem;
        line-height: 1.3;
    }

    .cal-event.is-compact {
        padding: 2px 10px;
    }

    .cal-event.is-compact h4 {
        font-size: 0.78rem;
    }

    .cal-event.is-break {
        padding: 3px 10px;
    }

    .cal-event.is-break h4 {
        font-size: 0.72rem;
    }

    .cal-legend {
        margin-top: 20px;
        gap: 14px 18px;
        font-size: 0.8rem;
    }

    .legend-swatch {
        width: 22px;
        height: 14px;
    }

    .speaker-row {
        grid-template-columns: 1fr;
    }

    .hero-meta {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 480px) {
    .calendar {
        --slot-h: 19px;
        --gutter-w: 58px;
        min-width: 440px;
    }

    .cal-event {
        margin: 1px 3px;
        padding: 6px 8px;
    }

    .cal-event h4 {
        font-size: 0.84rem;
    }

    .cal-event p {
        font-size: 0.72rem;
    }

    .cal-time {
        font-size: 0.68rem;
        padding: 0 6px 0 4px;
    }

    .cal-head h3 {
        font-size: 0.92rem;
    }

    .cal-weekday {
        display: none;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .button {
        width: 100%;
    }

    .brand-text {
        display: none;
    }
}
