:root {
    --ink: #10233f;
    --muted: #61708a;
    --line: rgba(20, 45, 80, .12);
    --paper: #f6f8fc;
    --white: #fff;
    --navy: #0c2f67;
    --blue: #2356c8;
    --cyan: #18bce4;
    --purple: #7258d8;
    --violet: #9f68dd;
    --gold: #f5c84c;
    --success: #17a873;
    --danger: #d84457;
    --shadow: 0 18px 50px rgba(24, 39, 75, .10);
    --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input { font: inherit; }
.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 9999; padding: 10px 16px; background: #fff; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.brand-strip { display: flex; align-items: center; justify-content: center; min-height: 96px; padding: 18px 0; }
.brand-link img { max-height: 66px; width: auto; }
.site-header { background: #fff; }
.main-nav { position: sticky; top: 0; z-index: 1500; background: rgba(9, 38, 87, .96); backdrop-filter: blur(12px); box-shadow: 0 8px 24px rgba(4, 29, 71, .18); }
.nav-inner { min-height: 68px; display: flex; align-items: center; gap: 24px; }
.nav-wordmark { display: flex; flex-direction: column; text-decoration: none; color: #fff; line-height: 1.05; min-width: 170px; }
.nav-wordmark span { font-weight: 900; letter-spacing: .08em; }
.nav-wordmark small { font-size: 10px; opacity: .72; margin-top: 4px; }
.nav-menu { margin: 0 0 0 auto; padding: 0; list-style: none; display: flex; align-items: stretch; }
.nav-menu > li { position: relative; }
.nav-menu > li > a { display: flex; height: 68px; align-items: center; gap: 6px; padding: 0 15px; color: #fff; text-decoration: none; font-size: 14px; font-weight: 700; border-bottom: 3px solid transparent; transition: .2s ease; }
.nav-menu > li > a:hover, .nav-menu > li.active > a { background: rgba(255,255,255,.08); border-color: var(--cyan); }
.nav-social { color: #baf4ff !important; }
.dropdown { display: none; position: absolute; top: 100%; left: 0; min-width: 250px; padding: 9px; margin: 0; list-style: none; border-radius: 0 0 16px 16px; background: #0b2d64; box-shadow: 0 20px 35px rgba(0,0,0,.2); }
.dropdown a { display: block; padding: 11px 13px; color: #fff; text-decoration: none; border-radius: 9px; font-size: 13px; }
.dropdown a:hover { background: rgba(255,255,255,.09); }
.has-dropdown:hover > .dropdown, .has-dropdown:focus-within > .dropdown { display: block; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 40px; border: 0; background: transparent; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; margin: 5px 0; background: #fff; }

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 15% 25%, rgba(24,188,228,.28), transparent 26%),
        radial-gradient(circle at 82% 18%, rgba(163,97,222,.34), transparent 26%),
        linear-gradient(135deg, #173d90 0%, #41398f 48%, #4f7ac8 100%);
}
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); z-index: -1; }
.hero::before { width: 560px; height: 560px; right: -180px; top: -220px; }
.hero::after { width: 420px; height: 420px; left: -180px; bottom: -250px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; min-height: 690px; padding: 72px 0; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; padding: 7px 11px; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; background: rgba(255,255,255,.09); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hero h1 { max-width: 780px; margin: 18px 0 14px; font-size: clamp(46px, 6vw, 84px); line-height: .96; letter-spacing: -.045em; }
.hero h1 span { display: block; color: #bff6ff; }
.hero-theme { max-width: 650px; font-size: clamp(19px, 2.2vw, 28px); line-height: 1.35; font-weight: 600; color: #f1efff; }
.hero-copy { max-width: 650px; color: rgba(255,255,255,.78); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 18px; border: 0; border-radius: 12px; text-decoration: none; font-weight: 800; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: #fff; color: #263f93; box-shadow: 0 12px 30px rgba(7,28,91,.22); }
.btn-accent { background: #22c1e8; color: #062b55; }
.btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.06); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-soft { background: #edf3ff; color: var(--blue); }

.poster-shell { position: relative; max-width: 455px; margin-left: auto; }
.poster-glow { position: absolute; inset: 8% -8% -6% 12%; background: rgba(88,223,255,.26); filter: blur(45px); z-index: -1; border-radius: 40px; }
.poster-card { border-radius: 26px; overflow: hidden; border: 1px solid rgba(255,255,255,.25); box-shadow: 0 32px 70px rgba(5,20,66,.36); background: rgba(255,255,255,.09); transform: rotate(1.25deg); transition: transform .3s ease; cursor: zoom-in; }
.poster-card:hover { transform: rotate(0) translateY(-5px); }
.poster-card img { width: 100%; aspect-ratio: 3 / 4.15; object-fit: cover; }
.poster-caption { display: flex; align-items: center; justify-content: space-between; padding: 11px 14px; font-size: 12px; color: rgba(255,255,255,.82); }

.section { padding: 78px 0; }
.section-tight { padding: 50px 0; }
.section-white { background: #fff; }
.section-tint { background: linear-gradient(180deg, #f7f9ff, #eef4fc); }
.section-dark { color: #fff; background: linear-gradient(135deg, #0c2f67, #333b93); }
.section-head { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 34px; }
.section-kicker { margin: 0 0 8px; color: var(--blue); font-weight: 900; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.section-dark .section-kicker { color: #91e9ff; }
.section h2 { margin: 0; font-size: clamp(30px, 4vw, 48px); line-height: 1.08; letter-spacing: -.035em; }
.section-lead { max-width: 700px; color: var(--muted); font-size: 18px; }
.section-dark .section-lead { color: rgba(255,255,255,.72); }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 25px; box-shadow: 0 8px 28px rgba(16,35,63,.055); }
.card-lift { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.card-lift:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(35,86,200,.22); }
.card-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; margin-bottom: 17px; background: linear-gradient(135deg, rgba(35,86,200,.12), rgba(24,188,228,.18)); color: var(--blue); font-weight: 900; font-size: 24px; }
.card h3 { margin: 0 0 8px; font-size: 20px; }
.card p { margin: 0; color: var(--muted); }

.legacy-band { margin-top: -28px; position: relative; z-index: 5; }
.legacy-panel { display: grid; grid-template-columns: 1.1fr 2fr auto; gap: 26px; align-items: center; padding: 25px 28px; border-radius: 22px; background: #fff; box-shadow: var(--shadow); border: 1px solid rgba(35,86,200,.08); }
.legacy-panel strong { font-size: 22px; }
.legacy-panel p { margin: 2px 0 0; color: var(--muted); }

.search-box { position: relative; max-width: 720px; margin-bottom: 25px; }
.search-box input { width: 100%; height: 56px; padding: 0 20px 0 50px; border: 1px solid var(--line); border-radius: 15px; background: #fff; color: var(--ink); box-shadow: 0 8px 25px rgba(18,37,70,.04); outline: none; }
.search-box input:focus { border-color: rgba(35,86,200,.5); box-shadow: 0 0 0 4px rgba(35,86,200,.08); }
.search-box::before { content: "⌕"; position: absolute; left: 18px; top: 12px; font-size: 24px; color: var(--blue); }
.cluster-card { overflow: hidden; }
.cluster-card .cluster-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cluster-card .cluster-count { min-width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #eef4ff; color: var(--blue); font-size: 12px; font-weight: 900; }
.keyword-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.keyword { display: inline-flex; padding: 6px 9px; border-radius: 999px; background: #f2f5fa; color: #4a5b76; font-size: 12px; }
.cluster-card.is-hidden { display: none; }

.timeline { position: relative; margin-top: 28px; }
.timeline::before { content: ""; position: absolute; left: 25px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--blue), rgba(35,86,200,.08)); }
.timeline-item { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 0 0 24px; }
.timeline-dot { width: 18px; height: 18px; margin: 7px 0 0 17px; border: 4px solid #fff; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 2px var(--blue); z-index: 2; }
.timeline-content { padding: 17px 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.timeline-content small { display: block; margin-bottom: 3px; color: var(--blue); font-weight: 800; }
.timeline-content strong { font-size: 17px; }
.timeline-empty { padding: 28px; border: 1px dashed rgba(35,86,200,.3); border-radius: 18px; color: var(--muted); background: #fff; }

.status-banner { padding: 14px 0; background: #eaf9f4; color: #0a6d4b; border-bottom: 1px solid rgba(23,168,115,.16); }
.status-banner .wrap { display: flex; gap: 12px; align-items: center; justify-content: center; text-align: center; font-weight: 800; }

.archive-hero { color: #fff; background: linear-gradient(135deg, #0a2c62, #30489c 60%, #5d52aa); }
.archive-hero .wrap { padding: 74px 0 66px; }
.archive-hero h1 { margin: 12px 0 10px; font-size: clamp(40px, 6vw, 72px); line-height: 1; letter-spacing: -.04em; }
.archive-hero p { max-width: 760px; color: rgba(255,255,255,.78); font-size: 18px; }
.archive-tag { display: inline-flex; padding: 7px 11px; border-radius: 999px; background: rgba(94,244,197,.14); border: 1px solid rgba(94,244,197,.28); color: #a7ffd9; font-weight: 900; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.archive-card { display: grid; grid-template-columns: 230px 1fr; gap: 30px; align-items: center; }
.archive-card img { width: 230px; aspect-ratio: 3/4; object-fit: cover; border-radius: 16px; box-shadow: 0 16px 30px rgba(17,35,66,.14); }
.archive-card h3 { font-size: 28px; }

.stat-card { position: relative; overflow: hidden; text-align: center; }
.stat-card::after { content: ""; position: absolute; width: 90px; height: 90px; right: -30px; top: -35px; border-radius: 50%; background: rgba(35,86,200,.06); }
.stat-number { display: block; font-size: 44px; font-weight: 950; line-height: 1; color: var(--blue); letter-spacing: -.04em; }
.stat-label { display: block; margin-top: 8px; color: var(--muted); font-size: 13px; font-weight: 800; }

.pipeline { display: grid; grid-template-columns: repeat(7, minmax(100px, 1fr)); gap: 10px; align-items: stretch; overflow-x: auto; padding-bottom: 5px; }
.pipeline-step { position: relative; min-width: 130px; padding: 20px 13px; border-radius: 15px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.13); text-align: center; }
.pipeline-step strong { display: block; font-size: 13px; }
.pipeline-step span { display: grid; place-items: center; width: 28px; height: 28px; margin: 0 auto 9px; border-radius: 50%; background: #8eeaff; color: #0b2e66; font-weight: 950; }

.tabs { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 22px; }
.tab-btn { border: 1px solid var(--line); background: #fff; color: var(--ink); padding: 10px 17px; border-radius: 999px; cursor: pointer; font-weight: 800; }
.tab-btn.active { color: #fff; background: var(--blue); border-color: var(--blue); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp .28s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.agenda-list { display: grid; gap: 12px; }
.agenda-item { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 18px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.agenda-time { color: var(--blue); font-weight: 900; }
.agenda-item h3 { margin: 0; font-size: 17px; }
.agenda-item p { margin: 3px 0 0; color: var(--muted); }

.people-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.person-card { padding: 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.person-role { color: var(--blue); font-size: 12px; font-weight: 950; letter-spacing: .07em; text-transform: uppercase; }
.person-card h3 { margin: 5px 0 2px; font-size: 18px; }
.person-card p { margin: 0; color: var(--muted); }

.resource-list { display: grid; gap: 12px; }
.resource-row { display: flex; gap: 15px; align-items: center; justify-content: space-between; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 15px; }
.resource-row strong { display: block; }
.resource-row small { color: var(--muted); }

.notice { border-radius: 18px; padding: 22px; background: #eef5ff; border: 1px solid rgba(35,86,200,.14); }
.notice strong { color: var(--blue); }
.empty-state { padding: 38px; text-align: center; border: 1px dashed rgba(35,86,200,.25); border-radius: var(--radius); background: #fff; }
.empty-state h3 { margin: 0 0 8px; }
.empty-state p { max-width: 640px; margin: 0 auto; color: var(--muted); }

.modal { position: fixed; inset: 0; z-index: 3000; display: none; align-items: center; justify-content: center; padding: 30px; background: rgba(4,15,39,.88); }
.modal.open { display: flex; }
.modal img { max-height: 88vh; max-width: min(90vw, 760px); border-radius: 16px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.modal-close { position: absolute; right: 24px; top: 20px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; font-size: 24px; cursor: pointer; }

.site-footer { color: #dce8ff; background: #071f48; }
.footer-grid { display: flex; justify-content: space-between; gap: 30px; padding: 38px 0 28px; }
.footer-grid p { margin: 6px 0 0; color: #94a9cf; font-size: 13px; }
.footer-links { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-links a { color: #dce8ff; text-decoration: none; font-size: 13px; }
.footer-bottom { padding: 14px 20px; text-align: center; font-size: 12px; color: #7f98c3; border-top: 1px solid rgba(255,255,255,.07); }

@media (max-width: 980px) {
    .nav-toggle { display: block; }
    .nav-menu { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; background: #0b2d64; padding: 10px 20px 18px; box-shadow: 0 24px 35px rgba(0,0,0,.22); }
    .nav-menu.open { display: flex; }
    .nav-menu > li > a { height: auto; min-height: 46px; padding: 10px 12px; border-bottom: 0; }
    .dropdown { position: static; display: none; box-shadow: none; padding-left: 16px; background: rgba(0,0,0,.08); border-radius: 12px; }
    .has-dropdown.open > .dropdown { display: block; }
    .has-dropdown:hover > .dropdown { display: none; }
    .has-dropdown.open:hover > .dropdown { display: block; }
    .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 42px; }
    .poster-shell { margin: 0 auto; width: min(100%, 440px); }
    .legacy-panel { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-3 { grid-template-columns: 1fr; }
    .archive-card { grid-template-columns: 180px 1fr; }
}

@media (max-width: 680px) {
    .wrap { width: min(100% - 26px, 1180px); }
    .brand-strip { min-height: 78px; }
    .brand-link img { max-height: 52px; }
    .nav-wordmark small { display: none; }
    .nav-wordmark { min-width: 90px; }
    .hero-grid { padding: 54px 0; }
    .hero h1 { font-size: 46px; }
    .section { padding: 58px 0; }
    .section-head { display: block; }
    .grid-2, .grid-4, .people-grid { grid-template-columns: 1fr; }
    .legacy-panel { padding: 20px; }
    .archive-card { grid-template-columns: 1fr; }
    .archive-card img { width: 100%; max-width: 280px; }
    .agenda-item { grid-template-columns: 1fr; gap: 4px; }
    .resource-row { align-items: flex-start; flex-direction: column; }
    .footer-grid { flex-direction: column; }
}
.poster-card { padding: 0; width: 100%; color: inherit; text-align: left; }

/* ===== PGSYM v4 enhancements ===== */
.compact-section { padding-top: 30px; padding-bottom: 30px; }
.event-meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    margin: 20px 0 0;
    color: rgba(255,255,255,.9);
    font-weight: 750;
    font-size: 14px;
}
.event-meta-line span { display: inline-flex; align-items: center; gap: 7px; }
.next-milestone {
    margin-top: 28px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
    align-items: center;
    padding: 18px 20px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 18px;
    background: rgba(255,255,255,.09);
    box-shadow: 0 12px 30px rgba(3, 20, 58, .12);
}
.next-milestone-label {
    display: block;
    margin-bottom: 2px;
    color: #8eeaff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .11em;
    text-transform: uppercase;
}
.next-milestone strong { display: block; color: #fff; font-size: 18px; }
.next-milestone small { color: rgba(255,255,255,.7); }
.countdown-live {
    min-width: 190px;
    padding: 12px 16px;
    border-radius: 14px;
    background: #fff;
    color: #0b2e66;
    text-align: center;
    font-size: 17px;
    font-weight: 950;
    letter-spacing: .01em;
}
.mode-banner {
    margin-top: 18px;
    padding: 13px 17px;
    border-radius: 14px;
    background: linear-gradient(90deg, rgba(35,86,200,.08), rgba(114,88,216,.08));
    border: 1px solid rgba(35,86,200,.12);
    color: var(--muted);
    font-size: 14px;
}
.mode-banner strong { color: var(--ink); }
.center-cta { margin: 24px 0 0; text-align: center; }
.pathway-card { position: relative; overflow: hidden; min-height: 220px; }
.pathway-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    height: 34px;
    padding: 0 12px;
    margin-bottom: 22px;
    border-radius: 999px;
    background: rgba(35,86,200,.09);
    color: var(--blue);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .08em;
}
.pathway-card::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    right: -65px;
    bottom: -65px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(35,86,200,.07), rgba(114,88,216,.08));
}

.timeline-item { transition: .25s ease; }
.timeline-item.is-past { opacity: .66; }
.timeline-item.is-past .timeline-dot { background: var(--success); border-color: var(--success); }
.timeline-item.is-past .timeline-dot::after { content: "✓"; color: #fff; font-size: 10px; font-weight: 900; }
.timeline-item.is-next .timeline-content {
    border-color: rgba(245,200,76,.7);
    box-shadow: 0 12px 30px rgba(245,200,76,.14);
}
.timeline-item.is-next .timeline-dot { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 7px rgba(245,200,76,.16); }
.timeline-item.is-next .timeline-content::after {
    content: "NEXT";
    display: inline-block;
    margin-top: 7px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #fff4c8;
    color: #795d00;
    font-size: 9px;
    font-weight: 950;
    letter-spacing: .08em;
}

.faq-list { display: grid; gap: 12px; }
.faq-item {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: #fff;
}
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 20px;
    border: 0;
    background: transparent;
    color: var(--ink);
    text-align: left;
    font-weight: 850;
    cursor: pointer;
}
.faq-question span {
    display: grid;
    place-items: center;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(35,86,200,.08);
    color: var(--blue);
    font-size: 20px;
    transition: transform .2s ease;
}
.faq-item.open .faq-question span { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 20px 18px; color: var(--muted); }
.faq-item.open .faq-answer { display: block; animation: fadeUp .22s ease; }
.faq-answer p { margin: 0; }

.speaker-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}
.speaker-card {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 20px;
    align-items: stretch;
    padding: 14px;
}
.speaker-poster {
    padding: 0;
    border: 0;
    border-radius: 14px;
    overflow: hidden;
    background: #edf1f8;
    cursor: zoom-in;
    box-shadow: 0 10px 22px rgba(20,45,80,.1);
}
.speaker-poster img {
    width: 100%;
    height: 100%;
    min-height: 270px;
    object-fit: cover;
    object-position: top center;
    transition: transform .25s ease;
}
.speaker-poster:hover img { transform: scale(1.025); }
.speaker-body { padding: 8px 6px 8px 0; }
.speaker-date {
    display: inline-block;
    margin-bottom: 11px;
    color: var(--blue);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.speaker-body h3 { margin: 0 0 7px; font-size: 20px; line-height: 1.28; }
.speaker-body p { margin: 0; color: var(--muted); }
.speaker-body .speaker-title { margin-bottom: 10px; color: var(--ink); font-weight: 800; line-height: 1.4; }
.publication-status {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    align-items: center;
    max-width: 840px;
    margin: 0 auto;
}
.publication-status h3 { margin: 0 0 5px; }
.publication-status p { margin: 0; color: var(--muted); }

@media (max-width: 900px) {
    .speaker-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
    .next-milestone { grid-template-columns: 1fr; }
    .countdown-live { min-width: 0; width: 100%; }
    .speaker-card { grid-template-columns: 1fr; }
    .speaker-poster img { min-height: 0; aspect-ratio: 4 / 5; }
    .publication-status { grid-template-columns: 1fr; }
}
.speaker-poster img { aspect-ratio: 4 / 5; height: auto; min-height: 0; object-fit: cover; }
.timeline-item.is-past .timeline-dot { display: grid; place-items: center; }

/* ===== PGSYM v5 navigation improvements ===== */
/*
 * The primary navbar is a sibling of .site-header rather than a child of it.
 * This is important: position: sticky is constrained by its nearest ancestor,
 * so keeping the nav outside the short branding header lets it remain visible
 * for the full document while the page is scrolled.
 */
.main-nav {
    position: sticky;
    top: 0;
    z-index: 2000;
}

/* Context navigation for the archived 1st PGSYM. It remains directly below
 * the main navbar, giving visitors access to archive sections without placing
 * a third dropdown level in the global navigation. */
.archive-local-nav {
    position: sticky;
    top: 68px;
    z-index: 1450;
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 28px rgba(10, 35, 75, .08);
    backdrop-filter: blur(14px);
}
.archive-local-inner {
    min-height: 58px;
    display: flex;
    align-items: center;
    gap: 24px;
}
.archive-local-title {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    line-height: 1.08;
}
.archive-local-title span {
    color: var(--blue);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.archive-local-title strong {
    margin-top: 4px;
    font-size: 13px;
    color: var(--ink);
    white-space: nowrap;
}
.archive-local-links {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: thin;
    overscroll-behavior-inline: contain;
}
.archive-local-links a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 7px 12px;
    border-radius: 10px;
    color: #475a77;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    transition: background .2s ease, color .2s ease;
}
.archive-local-links a:hover,
.archive-local-links a.active {
    color: var(--blue);
    background: #edf3ff;
}

/* Anchor targets should not disappear beneath the two sticky navigation bars. */
[id] { scroll-margin-top: 145px; }

@media (max-width: 980px) {
    .archive-local-nav { top: 68px; }
    .archive-local-inner { gap: 14px; }
    .archive-local-title { display: none; }
    .archive-local-links { margin-left: 0; width: 100%; padding: 8px 0; }
}

@media (max-width: 680px) {
    .archive-local-links a { padding: 7px 10px; font-size: 11px; }
}
