:root {
    --teal: #006d67;
    --teal-soft: #00786f;
    --deep: #102323;
    --ink: #111b24;
    --slate: #172528;
    --paper: #f8f5ef;
    --cream: #efe6d6;
    --bronze: #8b6848;
    --gold: #c8a96a;
    --white: #ffffff;
    --muted: #66706d;
    --line: rgba(17, 27, 36, .12);
    --shadow: 0 24px 70px rgba(17, 27, 36, .16);
    --soft-shadow: 0 14px 36px rgba(17, 27, 36, .10);
    --radius: 8px;
    --container: 1140px;
}

* {
    box-sizing: border-box;
    letter-spacing: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    background: var(--paper);
    color: var(--ink);
    line-height: 1.65;
    overflow-x: hidden;
}

body.nav-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button,
a,
summary {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid rgba(200, 169, 106, .75);
    outline-offset: 3px;
}

.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;
    left: 16px;
    top: 12px;
    z-index: 1000;
    transform: translateY(-140%);
    background: var(--gold);
    color: var(--ink);
    padding: 10px 14px;
    border-radius: var(--radius);
    font-weight: 800;
}

.skip-link:focus {
    transform: translateY(0);
}

.container {
    width: min(var(--container), calc(100% - 36px));
    margin-inline: auto;
}

.container.narrow {
    width: min(820px, calc(100% - 36px));
}

.text-center {
    text-align: center;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    background: rgba(248, 245, 239, .86);
    border-bottom: 1px solid rgba(17, 27, 36, .08);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.site-header.is-scrolled {
    background: rgba(16, 35, 35, .94);
    border-color: rgba(255, 255, 255, .10);
    box-shadow: 0 12px 34px rgba(17, 27, 36, .20);
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    flex: 0 0 auto;
    color: var(--ink);
}

.site-header.is-scrolled .brand,
.site-header.is-scrolled .site-nav a,
.site-header.is-scrolled .nav-more-toggle {
    color: var(--paper);
}

.brand span:not(.brand-monogram) {
    display: grid;
    gap: 0;
}

.brand strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.04rem;
    line-height: 1.1;
}

.brand small {
    color: var(--muted);
    font-size: .78rem;
    line-height: 1.25;
}

.site-header.is-scrolled .brand small {
    color: rgba(248, 245, 239, .72);
}

.brand-monogram,
.login-mark {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--teal), var(--deep));
    color: var(--gold);
    border: 1px solid rgba(200, 169, 106, .45);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 800;
    box-shadow: inset 0 0 0 5px rgba(248, 245, 239, .06);
}

.brand-logo-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    min-width: 0;
}

.site-nav a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    padding: 8px 10px;
    border-radius: var(--radius);
    color: rgba(17, 27, 36, .82);
    font-weight: 700;
    font-size: .86rem;
    white-space: nowrap;
    transition: background .2s ease, color .2s ease;
}

.site-nav a:hover,
.site-nav a.active {
    background: rgba(0, 109, 103, .10);
    color: var(--teal);
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.is-scrolled .site-nav a.active,
.site-header.is-scrolled .nav-more:hover .nav-more-toggle,
.site-header.is-scrolled .nav-more.active .nav-more-toggle,
.site-header.is-scrolled .nav-more.open .nav-more-toggle {
    background: rgba(200, 169, 106, .16);
    color: var(--gold);
}

.nav-more {
    position: relative;
    flex: 0 0 auto;
}

.nav-more-toggle {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid rgba(139, 104, 72, .18);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .52);
    color: rgba(17, 27, 36, .82);
    font-weight: 800;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.nav-more-toggle::after {
    content: "";
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform .2s ease;
}

.nav-more.open .nav-more-toggle::after {
    transform: translateY(2px) rotate(225deg);
}

.nav-more:hover .nav-more-toggle,
.nav-more.active .nav-more-toggle,
.nav-more.open .nav-more-toggle {
    background: rgba(0, 109, 103, .10);
    color: var(--teal);
    border-color: rgba(0, 109, 103, .20);
}

.nav-more-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 120;
    min-width: 230px;
    display: none;
    gap: 4px;
    padding: 8px;
    border-radius: var(--radius);
    background: rgba(248, 245, 239, .98);
    border: 1px solid rgba(17, 27, 36, .10);
    box-shadow: 0 18px 46px rgba(17, 27, 36, .18);
}

.nav-more.open .nav-more-panel,
.nav-more:focus-within .nav-more-panel {
    display: grid;
}

.site-nav .nav-more.open > .nav-more-panel {
    display: grid;
}

.nav-more-panel a {
    justify-content: flex-start;
    width: 100%;
    min-height: 42px;
    padding-inline: 12px;
}

.site-header.is-scrolled .nav-more-toggle {
    background: rgba(248, 245, 239, .08);
    border-color: rgba(248, 245, 239, .16);
}

.site-header.is-scrolled .nav-more-panel a {
    color: var(--ink);
}

.site-nav .nav-admin {
    border: 1px solid rgba(139, 104, 72, .28);
    margin-left: 6px;
}

.site-nav .language-link {
    border: 1px solid rgba(200, 169, 106, .42);
    color: var(--bronze);
}

.nav-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: var(--radius);
    background: var(--teal);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
    width: 22px;
    height: 2px;
    border-radius: 99px;
    background: var(--paper);
    transition: transform .2s ease, opacity .2s ease;
    pointer-events: none;
}

.nav-toggle .sr-only {
    pointer-events: none;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(17, 27, 36, .45);
    z-index: 70;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
}

body.nav-open .nav-backdrop {
    opacity: 1;
    pointer-events: auto;
}

.section,
.page-hero,
.hero {
    position: relative;
}

.section {
    padding: 92px 0;
}

.page-shell {
    min-height: 60vh;
}

.section-pattern {
    overflow: hidden;
}

.section-pattern::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(135deg, rgba(200, 169, 106, .08) 25%, transparent 25%),
        linear-gradient(225deg, rgba(200, 169, 106, .07) 25%, transparent 25%),
        linear-gradient(45deg, rgba(248, 245, 239, .06) 25%, transparent 25%),
        linear-gradient(315deg, rgba(248, 245, 239, .05) 25%, rgba(0, 0, 0, 0) 25%);
    background-position: 18px 0, 18px 0, 0 0, 0 0;
    background-size: 36px 36px;
    opacity: .9;
}

.section-pattern::after {
    content: "";
    position: absolute;
    inset: auto 0 -42% 0;
    height: 420px;
    pointer-events: none;
    background: repeating-radial-gradient(ellipse at center, rgba(200, 169, 106, .18) 0 1px, transparent 1px 18px);
    opacity: .28;
}

.hero {
    min-height: calc(100vh - 76px);
    display: flex;
    align-items: center;
    padding: 86px 0 70px;
    background:
        linear-gradient(130deg, rgba(17, 27, 36, .96) 0%, rgba(16, 35, 35, .95) 48%, rgba(0, 109, 103, .92) 100%);
    color: var(--paper);
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
    gap: 56px;
    align-items: center;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--bronze);
    text-transform: uppercase;
    font-size: .78rem;
    font-weight: 900;
}

.dark-section .eyebrow,
.hero .eyebrow,
.page-hero .eyebrow {
    color: var(--gold);
}

h1,
h2,
h3,
h4,
h5 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.08;
    font-weight: 700;
}

.hero h1 {
    font-size: clamp(3.2rem, 8vw, 7.2rem);
    max-width: 820px;
}

.hero h2 {
    margin-top: 10px;
    color: rgba(248, 245, 239, .88);
    font-size: clamp(1.35rem, 2.5vw, 2.35rem);
    max-width: 760px;
    font-weight: 500;
}

.lead {
    font-size: clamp(1.06rem, 1.6vw, 1.22rem);
    color: rgba(17, 27, 36, .76);
}

.hero .lead,
.page-hero p {
    max-width: 760px;
    color: rgba(248, 245, 239, .78);
    font-size: 1.13rem;
}

.hero-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    max-width: 620px;
    margin: 32px 0 28px;
}

.hero-meta div {
    min-height: 92px;
    padding: 18px;
    border-radius: var(--radius);
    background: rgba(248, 245, 239, .10);
    border: 1px solid rgba(248, 245, 239, .16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.hero-meta span {
    display: block;
    color: rgba(248, 245, 239, .62);
    font-size: .82rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.hero-meta strong {
    display: block;
    color: var(--paper);
    font-size: 1.1rem;
}

.hero-actions,
.form-actions,
.venue-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 18px;
    border-radius: var(--radius);
    border: 1px solid transparent;
    font-weight: 900;
    line-height: 1.15;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--gold);
    color: var(--ink);
    box-shadow: 0 14px 30px rgba(200, 169, 106, .28);
}

.btn-secondary {
    background: var(--paper);
    color: var(--teal);
}

.btn-ghost {
    background: rgba(248, 245, 239, .10);
    color: var(--paper);
    border-color: rgba(248, 245, 239, .22);
}

.btn-dark {
    background: var(--deep);
    color: var(--paper);
}

.btn-muted {
    background: rgba(17, 27, 36, .08);
    color: rgba(17, 27, 36, .55);
}

.btn-block {
    width: 100%;
}

.hero-panel {
    justify-self: end;
    width: min(420px, 100%);
}

.arch-card {
    position: relative;
    min-height: 500px;
    display: grid;
    align-content: end;
    gap: 16px;
    padding: 40px 34px;
    border-radius: 220px 220px var(--radius) var(--radius);
    background:
        linear-gradient(180deg, rgba(248, 245, 239, .18), rgba(248, 245, 239, .08)),
        linear-gradient(145deg, rgba(0, 120, 111, .72), rgba(16, 35, 35, .72));
    border: 1px solid rgba(200, 169, 106, .38);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.arch-card::before {
    content: "";
    position: absolute;
    inset: 24px;
    border: 1px solid rgba(200, 169, 106, .42);
    border-radius: 190px 190px var(--radius) var(--radius);
    pointer-events: none;
}

.arch-card::after {
    content: "";
    position: absolute;
    inset: 78px 42px auto;
    height: 190px;
    border-radius: 160px 160px 0 0;
    border: 1px solid rgba(248, 245, 239, .18);
    border-bottom: 0;
}

.hero-mark {
    width: 74px;
    height: 74px;
    font-size: 1.2rem;
}

.arch-card > * {
    position: relative;
    z-index: 1;
}

.arch-card span {
    color: var(--gold);
    font-weight: 900;
}

.arch-card strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.85rem;
    line-height: 1.12;
}

.arch-card p {
    margin: 0;
    color: rgba(248, 245, 239, .74);
}

.cream-section {
    background: var(--cream);
}

.dark-section {
    background: var(--deep);
    color: var(--paper);
}

.section-head {
    max-width: 720px;
    margin-bottom: 36px;
}

.section-head h2,
.split-section h2,
.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3.55rem);
}

.section-head p {
    margin: 14px 0 0;
    color: rgba(17, 27, 36, .68);
}

.dark-section .section-head p {
    color: rgba(248, 245, 239, .68);
}

.feature-grid,
.document-grid,
.speaker-grid,
.committee-grid,
.gallery-grid {
    display: grid;
    gap: 20px;
}

.feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.document-card,
.speaker-card,
.committee-card,
.venue-card,
.about-panel,
.day-card {
    border-radius: var(--radius);
    background: rgba(248, 245, 239, .86);
    border: 1px solid rgba(17, 27, 36, .08);
    box-shadow: var(--soft-shadow);
}

.feature-card {
    padding: 28px;
    min-height: 250px;
    display: grid;
    align-content: start;
    gap: 14px;
}

.feature-card span,
.speaker-title,
.venue-card span,
.about-panel span,
.pill {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(0, 109, 103, .10);
    color: var(--teal);
    font-size: .78rem;
    font-weight: 900;
}

.feature-card h3,
.document-card h3,
.speaker-card h2,
.committee-card h2,
.venue-card h2,
.about-panel h2 {
    font-size: 1.55rem;
}

.feature-card p,
.document-card p,
.speaker-card p,
.committee-list span,
.venue-card p,
.about-panel p {
    color: rgba(17, 27, 36, .70);
    margin: 0;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(340px, 1.1fr);
    gap: 48px;
    align-items: center;
}

.split-section .lead {
    margin: 18px 0;
}

.text-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    color: var(--teal);
    font-weight: 900;
    border-bottom: 2px solid var(--gold);
}

.mini-program {
    display: grid;
    gap: 14px;
}

.mini-program article {
    display: grid;
    grid-template-columns: 116px 1fr;
    gap: 18px;
    padding: 20px;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--soft-shadow);
}

.mini-program time,
.session-time,
.talk-row time {
    color: var(--bronze);
    font-weight: 900;
}

.mini-program span {
    display: block;
    color: var(--muted);
    font-size: .9rem;
}

.mini-program strong {
    display: block;
    font-size: 1.08rem;
}

.sponsor-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.sponsor-card {
    min-height: 126px;
    display: grid;
    place-items: center;
    gap: 10px;
    text-align: center;
    padding: 20px;
    border-radius: var(--radius);
    background: rgba(248, 245, 239, .96);
    color: var(--ink);
    border: 1px solid rgba(200, 169, 106, .22);
    box-shadow: var(--soft-shadow);
}

.sponsor-card img {
    height: 48px;
    max-width: 160px;
    object-fit: contain;
}

.sponsor-card span {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--teal);
    color: var(--gold);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 900;
}

.document-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.document-card {
    padding: 24px;
    display: grid;
    gap: 14px;
    align-content: start;
}

.document-cover {
    min-height: 160px;
    display: grid;
    place-items: center;
    border-radius: var(--radius);
    background: linear-gradient(145deg, rgba(0, 109, 103, .92), rgba(17, 27, 36, .92));
    overflow: hidden;
}

.document-cover img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.document-cover span {
    color: var(--gold);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.2rem;
    font-weight: 900;
}

.document-content {
    display: grid;
    gap: 10px;
}

.quick-link-grid,
.topic-grid,
.date-strip,
.video-grid {
    display: grid;
    gap: 18px;
}

.quick-link-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.quick-link-card,
.topic-card,
.date-strip-item,
.article-panel,
.empty-state,
.date-card,
.video-card,
.topic-list-panel {
    border-radius: var(--radius);
    background: rgba(248, 245, 239, .92);
    border: 1px solid rgba(17, 27, 36, .08);
    box-shadow: var(--soft-shadow);
}

.quick-link-card {
    min-height: 190px;
    display: grid;
    align-content: start;
    gap: 12px;
    padding: 24px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.quick-link-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.quick-link-card span,
.topic-card span,
.empty-state > span {
    color: var(--gold);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 900;
}

.quick-link-card h3,
.topic-card h3,
.article-panel h2,
.empty-state h2,
.date-card h2,
.video-card h3 {
    font-size: 1.35rem;
}

.quick-link-card p,
.article-panel p,
.empty-state p,
.date-card p,
.video-meta p,
.topic-list-panel p {
    margin: 0;
    color: rgba(17, 27, 36, .70);
}

.topic-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.topic-grid.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.topic-card {
    min-height: 126px;
    padding: 22px;
    display: grid;
    gap: 10px;
    align-content: start;
}

.article-panel,
.topic-list-panel {
    padding: 30px;
    display: grid;
    gap: 18px;
}

.meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.meta-grid div {
    padding: 16px;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--line);
}

.meta-grid span {
    display: block;
    color: var(--muted);
    font-size: .82rem;
    font-weight: 900;
}

.empty-state {
    min-height: 260px;
    display: grid;
    place-items: center;
    gap: 12px;
    padding: 34px;
    text-align: center;
}

.empty-state > span {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--deep);
}

.date-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.date-strip-item,
.date-card {
    padding: 20px;
}

.date-strip-item time,
.date-card time {
    display: block;
    color: var(--bronze);
    font-weight: 900;
    margin-bottom: 6px;
}

.date-timeline {
    display: grid;
    gap: 16px;
}

.date-card {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 22px;
    align-items: start;
    border-left: 6px solid var(--gold);
}

.date-card.status-completed {
    border-left-color: var(--muted);
}

.date-card.status-active {
    border-left-color: var(--teal);
}

.date-card span {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(0, 109, 103, .10);
    color: var(--teal);
    font-size: .78rem;
    font-weight: 900;
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.filter-bar button {
    min-height: 42px;
    padding: 9px 14px;
    border-radius: var(--radius);
    border: 1px solid rgba(17, 27, 36, .14);
    background: var(--white);
    color: var(--ink);
    font-weight: 900;
    cursor: pointer;
}

.filter-bar button.active,
.filter-bar button:hover {
    background: var(--teal);
    color: var(--paper);
    border-color: var(--teal);
}

.video-groups,
.video-group {
    display: grid;
    gap: 28px;
}

.group-head {
    max-width: 720px;
}

.group-head p:not(.eyebrow) {
    color: rgba(17, 27, 36, .70);
}

.video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.video-card {
    overflow: hidden;
}

.video-frame {
    aspect-ratio: 16 / 9;
    background: var(--deep);
}

.video-frame iframe,
.video-frame img,
.video-placeholder {
    width: 100%;
    height: 100%;
    border: 0;
}

.video-frame img {
    object-fit: cover;
}

.video-placeholder {
    display: grid;
    place-items: center;
    color: var(--paper);
    padding: 22px;
    text-align: center;
}

.video-meta {
    display: grid;
    gap: 10px;
    padding: 22px;
}

.video-meta strong,
.session-chip,
.venue-time {
    width: fit-content;
    color: var(--bronze);
    font-weight: 900;
}

.page-hero-cta,
.result-download {
    margin-top: 22px;
}

.result-download.bottom {
    margin-top: 18px;
}

.result-article {
    font-size: 1.04rem;
}

.page-hero {
    padding: 86px 0 78px;
    background: linear-gradient(135deg, var(--deep), var(--teal));
    color: var(--paper);
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.about-panel {
    padding: 32px;
    display: grid;
    gap: 16px;
}

.about-panel.wide {
    grid-column: 1 / -1;
}

.program-layout {
    display: grid;
    gap: 28px;
}

.day-card {
    padding: 28px;
    overflow: hidden;
}

.day-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
}

.day-head h2 {
    font-size: clamp(1.8rem, 3vw, 2.55rem);
}

.day-head p {
    margin: 10px 0 0;
    color: rgba(17, 27, 36, .68);
}

.day-head > span {
    flex: 0 0 auto;
    max-width: 260px;
    padding: 12px 14px;
    border-radius: var(--radius);
    background: rgba(0, 109, 103, .10);
    color: var(--teal);
    font-weight: 900;
}

.timeline {
    position: relative;
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: linear-gradient(var(--gold), rgba(139, 104, 72, .08));
}

.session-card {
    position: relative;
    margin-left: 44px;
    border: 1px solid rgba(17, 27, 36, .08);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 10px 28px rgba(17, 27, 36, .08);
    overflow: hidden;
}

.session-card::before {
    content: "";
    position: absolute;
    left: -34px;
    top: 28px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--gold);
    border: 4px solid var(--cream);
    box-shadow: 0 0 0 1px rgba(139, 104, 72, .25);
}

.session-card summary {
    min-height: 76px;
    display: grid;
    grid-template-columns: 132px 1fr;
    gap: 18px;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    list-style: none;
}

.session-card summary::-webkit-details-marker {
    display: none;
}

.session-title-wrap strong {
    display: block;
    font-size: 1.14rem;
}

.session-title-wrap em {
    display: inline-block;
    margin-top: 4px;
    color: var(--teal);
    font-style: normal;
    font-weight: 900;
    font-size: .86rem;
}

.session-body {
    padding: 0 20px 22px 170px;
}

.chair-badge {
    width: fit-content;
    margin: 0 0 12px;
    padding: 8px 10px;
    border-radius: var(--radius);
    background: rgba(200, 169, 106, .20);
    color: var(--ink);
}

.session-summary {
    margin: 0 0 16px;
    color: rgba(17, 27, 36, .68);
}

.talk-list {
    display: grid;
    gap: 12px;
}

.talk-row {
    display: grid;
    grid-template-columns: 78px 1fr;
    gap: 14px;
    padding: 14px;
    border-radius: var(--radius);
    background: rgba(248, 245, 239, .9);
}

.talk-row span {
    display: block;
    color: var(--muted);
    font-size: .9rem;
}

.talk-row p {
    margin: 4px 0 0;
    color: rgba(17, 27, 36, .72);
}

.speaker-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.speaker-card {
    display: grid;
    grid-template-columns: 118px 1fr;
    gap: 20px;
    padding: 24px;
}

.speaker-photo {
    width: 118px;
    height: 142px;
    border-radius: var(--radius);
    background: linear-gradient(145deg, var(--teal), var(--deep));
    display: grid;
    place-items: center;
    overflow: hidden;
    color: var(--gold);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
    font-weight: 900;
}

.speaker-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.speaker-card h2 {
    margin-top: 10px;
}

.institution {
    font-weight: 800;
}

.session-chip {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    margin: 8px 0 4px;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(200, 169, 106, .20);
    font-size: .8rem;
}

.talk-title {
    margin-top: 12px !important;
    color: var(--bronze) !important;
    font-weight: 800;
}

.committee-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.committee-card {
    padding: 28px;
}

.committee-list {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.committee-list div {
    padding: 14px 0;
    border-top: 1px solid var(--line);
}

.committee-list strong,
.committee-list span {
    display: block;
}

.committee-list em {
    display: block;
    margin-top: 4px;
    color: var(--bronze);
    font-style: normal;
    font-weight: 800;
}

.gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-card {
    min-height: 280px;
    display: grid;
    grid-template-rows: 1fr auto auto;
    gap: 8px;
    padding: 0 0 18px;
    border: 0;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--soft-shadow);
    text-align: left;
    cursor: pointer;
}

.gallery-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.gallery-card > span {
    height: 220px;
    display: grid;
    place-items: center;
    background: var(--deep);
    color: var(--gold);
    font-size: 2rem;
    font-family: Georgia, "Times New Roman", serif;
}

.gallery-card strong,
.gallery-card small,
.gallery-card em {
    padding-inline: 18px;
}

.gallery-card em {
    color: var(--bronze);
    font-size: .78rem;
    font-style: normal;
    font-weight: 900;
}

.gallery-card small {
    color: var(--muted);
    font-size: .92rem;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: grid;
    place-items: center;
    gap: 16px;
    padding: 24px;
    background: rgba(17, 27, 36, .88);
}

.lightbox[hidden] {
    display: none;
}

.lightbox img {
    max-height: 78vh;
    max-width: min(1080px, 94vw);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background: var(--paper);
}

.lightbox p {
    color: var(--paper);
    font-weight: 800;
    text-align: center;
}

.lightbox-close {
    position: fixed;
    top: 16px;
    right: 16px;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(248, 245, 239, .20);
    border-radius: var(--radius);
    background: rgba(248, 245, 239, .12);
    color: var(--paper);
    font-size: 2rem;
    cursor: pointer;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr);
    gap: 28px;
    align-items: start;
}

.venue-list {
    display: grid;
    gap: 18px;
}

.venue-card {
    padding: 26px;
    display: grid;
    gap: 12px;
}

.venue-time {
    display: block;
}

.venue-links a:not(.btn) {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    color: var(--teal);
    font-weight: 800;
}

.map-panel {
    position: sticky;
    top: 98px;
    display: grid;
    gap: 14px;
}

.map-panel iframe,
.map-placeholder,
.mini-map iframe {
    width: 100%;
    border: 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background: var(--deep);
}

.map-panel iframe,
.map-placeholder {
    min-height: 460px;
}

.mini-map iframe {
    min-height: 220px;
    box-shadow: none;
}

.map-placeholder {
    display: grid;
    place-items: center;
    color: var(--paper);
    padding: 28px;
    text-align: center;
}

.site-footer {
    padding: 72px 0 96px;
    background: var(--ink);
    color: var(--paper);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr .8fr .8fr;
    gap: 34px;
    align-items: start;
}

.footer-brand {
    color: var(--paper);
    margin-bottom: 16px;
}

.footer-grid p,
.footer-grid small,
.footer-bottom {
    color: rgba(248, 245, 239, .68);
}

.footer-grid h2 {
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.footer-links,
.footer-grid div:nth-child(3) {
    display: grid;
    gap: 8px;
}

.footer-links a,
.footer-grid div:nth-child(3) a {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    color: rgba(248, 245, 239, .82);
}

.footer-sponsors {
    margin-top: 36px;
}

.footer-sponsors .sponsor-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.footer-bottom {
    margin-top: 34px;
    padding-top: 20px;
    border-top: 1px solid rgba(248, 245, 239, .12);
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.mobile-quickbar {
    display: none;
}

.reveal {
    transform: translateY(18px);
    opacity: 0;
    transition: transform .55s ease, opacity .55s ease;
}

.reveal.is-visible {
    transform: translateY(0);
    opacity: 1;
}

@media (max-width: 980px) {
    .header-inner {
        min-height: 68px;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: fixed;
        z-index: 90;
        top: 0;
        right: 0;
        height: 100vh;
        width: min(360px, 88vw);
        padding: 92px 18px 24px;
        align-items: stretch;
        flex-direction: column;
        justify-content: flex-start;
        background: var(--deep);
        color: var(--paper);
        box-shadow: -20px 0 60px rgba(17, 27, 36, .28);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity .2s ease, visibility .2s ease;
    }

    body.nav-open .site-nav {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .site-nav a,
    .site-header.is-scrolled .site-nav a {
        color: var(--paper);
        min-height: 50px;
        font-size: 1rem;
        white-space: normal;
    }

    .nav-more {
        display: grid;
        gap: 6px;
    }

    .nav-more-toggle {
        display: none;
    }

    .nav-more-panel,
    .nav-more.open .nav-more-panel,
    .nav-more:focus-within .nav-more-panel {
        position: static;
        min-width: 0;
        display: grid;
        gap: 6px;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
    }

    .site-header.is-scrolled .nav-more-panel a {
        color: var(--paper);
    }

    .hero-grid,
    .split-section,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 0;
        padding-top: 58px;
    }

    .hero-panel {
        justify-self: stretch;
    }

    .arch-card {
        min-height: 390px;
        border-radius: 170px 170px var(--radius) var(--radius);
    }

    .feature-grid,
    .document-grid,
    .quick-link-grid,
    .topic-grid,
    .sponsor-grid,
    .speaker-grid,
    .committee-grid,
    .gallery-grid,
    .video-grid,
    .footer-sponsors .sponsor-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .map-panel {
        position: static;
    }
}

@media (max-width: 680px) {
    body {
        padding-bottom: 66px;
    }

    .container,
    .container.narrow {
        width: min(100% - 28px, var(--container));
    }

    .brand small {
        display: none;
    }

    .brand strong {
        font-size: .98rem;
    }

    .brand-monogram,
    .brand-logo-img {
        width: 42px;
        height: 42px;
    }

    .section {
        padding: 62px 0;
    }

    .page-hero {
        padding: 58px 0 54px;
    }

    .hero h1 {
        font-size: clamp(2.7rem, 15vw, 4.4rem);
    }

    .hero-meta,
    .feature-grid,
    .document-grid,
    .quick-link-grid,
    .topic-grid,
    .topic-grid.compact,
    .date-strip,
    .date-card,
    .meta-grid,
    .video-grid,
    .sponsor-grid,
    .speaker-grid,
    .committee-grid,
    .gallery-grid,
    .footer-sponsors .sponsor-grid,
    .about-grid {
        grid-template-columns: 1fr;
    }

    .filter-bar button {
        flex: 1 1 auto;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .feature-card,
    .document-card,
    .about-panel,
    .day-card,
    .committee-card,
    .venue-card {
        padding: 22px;
    }

    .mini-program article {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .day-head {
        display: grid;
    }

    .day-head > span {
        max-width: none;
    }

    .timeline::before {
        left: 9px;
    }

    .session-card {
        margin-left: 28px;
    }

    .session-card::before {
        left: -26px;
        top: 24px;
    }

    .session-card summary {
        grid-template-columns: 1fr;
        gap: 4px;
        min-height: 82px;
        padding: 18px;
    }

    .session-body {
        padding: 0 18px 18px;
    }

    .talk-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .speaker-card {
        grid-template-columns: 1fr;
    }

    .speaker-photo {
        width: 100%;
        height: 220px;
    }

    .gallery-card img,
    .gallery-card > span {
        height: 210px;
    }

    .map-panel iframe,
    .map-placeholder {
        min-height: 340px;
    }

    .footer-bottom {
        display: grid;
    }

    .mobile-quickbar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 75;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        background: rgba(16, 35, 35, .96);
        color: var(--paper);
        border-top: 1px solid rgba(200, 169, 106, .26);
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);
    }

    .mobile-quickbar a {
        min-height: 58px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 8px 4px;
        font-size: .82rem;
        font-weight: 900;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }

    .reveal {
        transform: none;
        opacity: 1;
    }
}
