:root {
    --bg: #f8f8f6;
    --bg-alt: #f1f2ee;
    --surface: #ffffff;
    --text: #101214;
    --muted: #3d3238;
    --line: #d9dde2;
    --accent: #2f6e62;
    --accent-deep: #245248;
    --shell: 1120px;
    --page-gutter: clamp(1rem, 4vw, 1.25rem);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Manrope", sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

a {
    color: var(--accent-deep);
    text-decoration: none;
}

a:hover,
a:focus-visible {
    text-decoration: underline;
}

img {
    max-width: 100%;
}

.site-shell {
    width: min(calc(100% - (var(--page-gutter) * 2)), var(--shell));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(248, 248, 246, 0.94);
    border-bottom: 1px solid var(--line);
}

.site-header .site-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
}

.site-mark {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    align-items: center;
}

.nav-toggle {
    display: none;
    min-height: 2.75rem;
    padding: 0.55rem 0.9rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    color: var(--text);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.site-nav a {
    color: var(--muted);
    font-weight: 600;
}

.site-nav a.is-active {
    color: var(--text);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown summary {
    cursor: pointer;
    color: var(--muted);
    font-weight: 600;
    list-style: none;
}

.nav-dropdown summary::-webkit-details-marker {
    display: none;
}

.nav-dropdown[open] summary {
    color: var(--text);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.6rem);
    left: 0;
    min-width: 190px;
    display: grid;
    gap: 0.55rem;
    padding: 0.8rem 0.9rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.nav-dropdown-menu a {
    color: var(--text);
}

.hero {
    padding: 5rem 0 2.5rem;
}

.hero-stack {
    display: grid;
    gap: 1rem;
    max-width: 1320px;
    justify-items: start;
    text-align: left;
}

.eyebrow,
.section-kicker,
.panel-label,
.archive-year,
.timeline-time {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent);
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.15;
    font-family: "Manrope", sans-serif;
    font-weight: 800;
}

h1 {
    font-size: clamp(2.7rem, 6vw, 4.6rem);
    margin-top: 0.2rem;
}

.hero-title {
    display: grid;
    gap: 0.2rem;
}

.hero-title-top {
    display: block;
    font-size: clamp(1.9rem, 4.1vw, 3.25rem);
    line-height: 1.02;
    color: #4a4f55;
}

.hero-title-main {
    display: block;
    font-size: clamp(2.7rem, 6vw, 4.6rem);
    line-height: 1.05;
    white-space: nowrap;
}

h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    margin-top: 0.2rem;
}

h3 {
    font-size: 1.15rem;
}

p {
    margin: 0;
}

code {
    font-family: "Overpass Mono", "SFMono-Regular", Consolas, monospace;
    overflow-wrap: anywhere;
}

.hero-text,
.hero-meta,
.section-copy,
.detail-row p,
.timeline-item p,
.plain-list li,
.inline-list li {
    color: var(--muted);
    font-size: 1.02rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.hero-meta {
    font-weight: 600;
}

.venue-callout {
    display: inline-flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
    padding: 0.55rem 0.8rem;
    color: var(--accent-deep);
    background: #e6f0ec;
    border-left: 4px solid var(--accent);
    font-size: 1.02rem;
}

.venue-callout-label {
    color: var(--accent);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

del {
    color: var(--muted);
}

.extended-date {
    color: var(--accent-deep);
    font-weight: 700;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.25rem;
    padding: 0.85rem 1.25rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
}

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

.button-secondary {
    background: var(--surface);
    border-color: var(--line);
}

.plain-list,
.inline-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.section,
.site-footer {
    padding: 2.25rem 0;
}

.section-alt {
    background: var(--bg-alt);
    border-top: 1px solid #eef0ec;
    border-bottom: 1px solid #eef0ec;
}

.stacked-section {
    display: grid;
    gap: 1rem;
}

.section-copy {
    display: grid;
    gap: 0.85rem;
    max-width: 760px;
}

.inline-list {
    display: grid;
    gap: 0.55rem;
    max-width: 760px;
}

.topic-list {
    margin: 0;
    padding-left: 1.25rem;
    max-width: 760px;
}

.topic-list li {
    color: var(--muted);
    font-size: 1.02rem;
    margin: 0.35rem 0;
}

.detail-list {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--line);
}

.timeline-groups {
    display: grid;
    gap: 1.5rem;
}

.timeline-group {
    display: grid;
    gap: 0.7rem;
}

.timeline-group-title {
    color: var(--accent-deep);
}

.timeline-group .detail-list {
    margin-left: 1.5rem;
}

.detail-row {
    display: grid;
    gap: 0.35rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
}

.timeline {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--line);
}

.timeline-item {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 1.25rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
}

.timeline-copy {
    display: grid;
    gap: 0.35rem;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
}

.schedule-table-wrap {
    overflow-x: auto;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(16, 18, 20, 0.06);
}

.schedule-panel {
    display: grid;
    gap: 0.9rem;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 100%;
}

.schedule-table--paired {
    min-width: 820px;
}

.schedule-grid .schedule-table td:first-child {
    width: 30%;
}

.schedule-table th,
.schedule-table td {
    padding: 1rem 1.1rem;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.schedule-table th {
    color: var(--text);
    font-weight: 800;
    font-size: 0.92rem;
    background: #f3f0dd;
}

.schedule-table th + th,
.schedule-table td + td {
    border-left: 1px solid var(--line);
}

.schedule-table td {
    color: var(--muted);
    font-size: 1.02rem;
}

.schedule-table td:first-child {
    width: 18%;
    color: var(--text);
    font-weight: 700;
    white-space: nowrap;
}

.schedule-table td:nth-child(2),
.schedule-table td:nth-child(4) {
    width: 32%;
}

.schedule-table td:nth-child(3) {
    width: 18%;
    color: var(--text);
    font-weight: 700;
    white-space: nowrap;
}

.schedule-table tbody tr:last-child td {
    border-bottom: 0;
}

.schedule-table strong {
    color: var(--text);
}

.spotlight-list {
    display: grid;
    gap: 0.75rem;
    margin: 0;
    padding-left: 1.5rem;
}

.spotlight-heading {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
}

#panel-discussion,
#spotlight-talks {
    scroll-margin-top: 5rem;
}

.spotlight-list li {
    padding-left: 0.3rem;
    color: var(--text);
    font-size: 1.02rem;
    line-height: 1.45;
}

.spotlight-title,
.spotlight-authors {
    display: block;
}

.spotlight-title {
    font-weight: 700;
}

.spotlight-authors {
    margin-top: 0.2rem;
    color: var(--muted);
    font-size: 0.94rem;
}

@media (min-width: 1000px) {
    .spotlight-authors {
        white-space: nowrap;
    }
}

.simple-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    max-width: 760px;
}

.plain-list {
    display: grid;
    gap: 0.6rem;
    margin-top: 0.75rem;
}

.organizer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    column-gap: 2rem;
    row-gap: 0.55rem;
    max-width: 820px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.organizer-grid li {
    padding: 0.2rem 0;
    color: var(--text);
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.25;
}

.organizer-grid a {
    color: inherit;
    text-decoration-color: transparent;
    text-underline-offset: 0.22em;
    transition: color 160ms ease, text-decoration-color 160ms ease;
}

.organizer-grid a:hover,
.organizer-grid a:focus-visible {
    color: var(--accent-deep);
    text-decoration-color: currentColor;
}

.speaker-group {
    display: grid;
    gap: 0.85rem;
}

.speaker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
    gap: 1.25rem;
}

.speaker-card {
    display: grid;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--text);
    transition: border-color 160ms ease, transform 160ms ease;
}

.speaker-card:hover,
.speaker-card:focus-visible {
    border-color: var(--accent);
    text-decoration: none;
    transform: translateY(-2px);
}

.speaker-photo {
    display: grid;
    aspect-ratio: 4 / 3;
    place-items: center;
    width: 100%;
    overflow: hidden;
    background: #dfe8e3;
    color: var(--accent-deep);
    font-weight: 800;
    letter-spacing: 0;
}

img.speaker-photo {
    display: block;
    height: 100%;
    object-fit: cover;
}

.speaker-name {
    min-height: 3.5rem;
    padding: 0.85rem 1rem 1rem;
    font-weight: 800;
    line-height: 1.25;
}

.site-footer {
    border-top: 1px solid var(--line);
    background: var(--surface);
}

@media (max-width: 900px) {
    .simple-columns,
    .schedule-grid,
    .timeline-item {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 4rem;
    }

    .nav-dropdown-menu {
        position: static;
        margin-top: 0.5rem;
    }

    .hero-title-main {
        white-space: normal;
    }
}

@media (max-width: 760px) {
    .site-header .site-shell {
        min-height: 4.5rem;
        padding: 0.75rem 0;
    }

    .hero,
    .section,
    .site-footer {
        padding: 2rem 0;
    }

    .hero {
        padding-top: 2.5rem;
    }

    h1 {
        font-size: clamp(2.25rem, 11vw, 2.7rem);
    }

    .hero-title-top {
        font-size: clamp(1.55rem, 8vw, 1.9rem);
    }

    .hero-title-main {
        font-size: clamp(2.25rem, 11vw, 2.7rem);
    }

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: calc(100% + 1px);
        right: var(--page-gutter);
        left: var(--page-gutter);
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0.4rem;
        background: var(--surface);
        border: 1px solid var(--line);
        border-radius: 12px;
        box-shadow: 0 12px 28px rgba(16, 18, 20, 0.12);
    }

    .site-nav.is-open {
        display: grid;
    }

    .site-nav > a,
    .nav-dropdown summary,
    .nav-dropdown-menu a {
        display: block;
        min-height: 2.75rem;
        padding: 0.65rem 0.75rem;
    }

    .nav-dropdown-menu {
        margin: 0;
        padding: 0 0 0 0.65rem;
        border: 0;
        box-shadow: none;
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: row;
    }

    .button {
        width: fit-content;
        max-width: 100%;
    }
}
