/* ===========================================================
   AGORA — design tokens
   =========================================================== */
:root {
    --ink:        #12162A;
    --ink-soft:   #4A4F63;
    --paper:      #F6F3EC;
    --paper-dim:  #ECE7DB;
    --line-color: #D8D3C4;
    --signal:     #17C3B2;
    --signal-dim: #0F8E82;
    --ember:      #E85C33;

    --font-display: 'Fraunces', 'Noto Serif JP', serif;
    --font-body:    'Inter', 'Noto Sans JP', sans-serif;
    --font-mono:    'IBM Plex Mono', monospace;

    --max-width: 1180px;
}

/* Japanese type adjustments: Noto Serif/Sans JP take over display/body pairing seamlessly */
html[lang="ja"] {
    --font-display: 'Noto Serif JP', 'Fraunces', serif;
    --font-body: 'Noto Sans JP', 'Inter', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.wrap {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 32px;
}

a { color: inherit; }

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--ink);
    color: var(--paper);
    padding: 10px 16px;
    z-index: 100;
}
.skip-link:focus {
    left: 16px;
    top: 16px;
}

/* ===========================================================
   Header
   =========================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(246, 243, 236, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line-color);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--ink);
}
.brand-mark { color: var(--signal-dim); display: flex; }
.brand-word {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.25rem;
    letter-spacing: 0.02em;
}

.main-nav {
    display: flex;
    gap: 32px;
}
.main-nav a {
    text-decoration: none;
    font-size: 0.94rem;
    color: var(--ink-soft);
    padding: 4px 0;
    border-bottom: 2px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
}
.main-nav a:hover,
.main-nav a.is-active {
    color: var(--ink);
    border-bottom-color: var(--signal);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}
.lang-switch {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    text-decoration: none;
    padding: 6px 12px;
    border: 1px solid var(--ink);
    border-radius: 999px;
    color: var(--ink);
    transition: background 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}
.lang-switch:hover {
    background: var(--ink);
    color: var(--paper);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    width: 28px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--ink);
}

/* ===========================================================
   Hero
   =========================================================== */
.hero {
    padding: 72px 0 48px;
    overflow: hidden;
}
.hero-photo {
    background-size: cover;
    background-position: center 38%;
    background-repeat: no-repeat;
}
.hero-photo .eyebrow { color: var(--signal); }
.hero-photo .hero-title { color: var(--paper); }
.hero-photo .hero-title-accent { color: var(--signal); }
.hero-photo .hero-sub { color: rgba(246, 243, 236, 0.82); }
.hero-photo .hero-meta { border-top-color: rgba(246, 243, 236, 0.25); }
.hero-photo .hero-meta dt { color: rgba(246, 243, 236, 0.88); }
.hero-photo .btn-ghost { border-color: var(--paper); color: var(--paper); }
.hero-photo .btn-ghost:hover { background: var(--paper); color: var(--ink); }
.hero-photo .graph-lines { stroke: rgba(246, 243, 236, 0.4); }
.hero-photo .graph-node circle { fill: var(--paper); stroke: var(--ink); }
.hero-inner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
}

/* Full-width hero variant: content spans the entire viewport instead of
   being capped by .wrap's max-width, with its own responsive side padding. */
.hero-full {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 8vw;
    box-sizing: border-box;
}
.hero-copy-full {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.hero-copy-full .hero-sub {
    max-width: 65ch;
    margin: 0 auto 32px;
}
.hero-copy-full .hero-ctas {
    justify-content: center;
}
.hero-copy-full .hero-meta {
    justify-content: center;
}

.eyebrow {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    color: var(--signal-dim);
    margin: 0 0 18px;
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(2.4rem, 4.2vw, 3.6rem);
    line-height: 1.08;
    margin: 0 0 22px;
    letter-spacing: -0.01em;
}
.hero-title-accent { color: var(--signal-dim); font-style: italic; }
html[lang="ja"] .hero-title-accent { font-style: normal; }

.hero-sub {
    font-size: 1.08rem;
    color: var(--ink-soft);
    max-width: 46ch;
    margin: 0 0 32px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 26px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.98rem;
    transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn-primary {
    background: var(--ink);
    color: var(--paper);
}
.btn-primary:hover { background: var(--signal-dim); }
.btn-ghost {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

.hero-meta {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    margin: 0;
    padding-top: 24px;
    border-top: 1px solid var(--line-color);
}
.hero-meta dt {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--ink-soft);
}

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}
#agent-graph { max-width: 420px; }
.graph-node circle {
    fill: var(--paper);
    stroke: var(--ink);
    stroke-width: 1.4;
}
.graph-node-center circle {
    stroke: var(--signal-dim);
}
.graph-node text {
    font-family: var(--font-mono);
    font-size: 12px;
    fill: var(--ink);
}
.pulse { filter: drop-shadow(0 0 4px currentColor); }

@media (prefers-reduced-motion: reduce) {
    .pulse animateMotion { display: none; }
    #agent-graph .pulse { opacity: 0; }
}

/* ===========================================================
   Transmission strip
   =========================================================== */
.strip {
    background: var(--paper-dim);
    border-top: 1px solid var(--line-color);
    border-bottom: 1px solid var(--line-color);
    padding: 28px 0;
}
.strip-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin: 0 0 18px;
}
.strip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.strip-item { display: flex; flex-direction: column; gap: 4px; }
.strip-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--ink);
}
.strip-key {
    font-size: 0.86rem;
    color: var(--ink-soft);
}

/* ===========================================================
   Sections (shared)
   =========================================================== */
.section { padding: 88px 0; }
.section-dark {
    background: var(--ink);
    color: var(--paper);
}
.section-dark .section-body,
.section-dark p { color: rgba(246, 243, 236, 0.78); }

.section-label {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--signal);
    margin: 0 0 16px;
}
.section-dark .section-label { color: var(--signal); }
.section:not(.section-dark) .section-label { color: var(--signal-dim); }

.section-title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    margin: 0 0 24px;
    max-width: 20ch;
}

.section-body {
    max-width: 68ch;
    font-size: 1.06rem;
    color: var(--ink-soft);
    margin-bottom: 48px;
}

/* Broadcast-arc motif used as a recurring divider/icon */
.pillar-broadcast {
    display: block;
    width: 34px;
    height: 34px;
    margin-bottom: 16px;
    border-radius: 50%;
    position: relative;
    border: 1.4px solid var(--signal);
}
.pillar-broadcast::before,
.pillar-broadcast::after {
    content: "";
    position: absolute;
    border: 1.4px solid var(--signal);
    border-radius: 50%;
    opacity: 0.5;
}
.pillar-broadcast::before { inset: -8px; }
.pillar-broadcast::after { inset: -16px; opacity: 0.25; }

.pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
}
.pillar h3 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.2rem;
    margin: 0 0 8px;
}
.pillar p { margin: 0; font-size: 0.98rem; }

/* ===========================================================
   Tracks
   =========================================================== */
.track-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.track-card {
    background: var(--paper);
    border: 1px solid var(--line-color);
    border-radius: 10px;
    padding: 28px 22px;
    transition: border-color 0.15s ease, transform 0.15s ease;
}
.track-card:hover {
    border-color: var(--signal-dim);
    transform: translateY(-3px);
}
.track-code {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    color: var(--ember);
    display: inline-block;
    margin-bottom: 14px;
}
.track-card h3 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.15rem;
    margin: 0 0 10px;
}
.track-card p { margin: 0; font-size: 0.94rem; color: var(--ink-soft); }

/* ===========================================================
   Dates
   =========================================================== */
.date-list {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    max-width: 640px;
}
.date-list li {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(246, 243, 236, 0.16);
}
.date-key { color: rgba(246, 243, 236, 0.78); }
.date-value {
    font-family: var(--font-mono);
    color: var(--signal);
    white-space: nowrap;
}
.date-highlight .date-value { color: var(--ember); font-weight: 600; }
.dates-note {
    font-size: 0.86rem;
    color: rgba(246, 243, 236, 0.55);
}

.date-list-compact li { border-bottom-color: var(--line-color); padding: 12px 0; }
.date-list-compact .date-key { color: var(--ink-soft); }
.date-list-compact .date-value { color: var(--signal-dim); }

/* ===========================================================
   CTA band
   =========================================================== */
.cta-band {
    background: var(--paper-dim);
    border-top: 1px solid var(--line-color);
    padding: 56px 0;
}
.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.cta-inner h2 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.6rem;
    margin: 0 0 6px;
}
.cta-inner p { margin: 0; color: var(--ink-soft); }

/* ===========================================================
   Page hero (interior pages)
   =========================================================== */
.page-hero {
    padding: 64px 0 40px;
    border-bottom: 1px solid var(--line-color);
}
.page-title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin: 0 0 16px;
}
.page-intro {
    max-width: 62ch;
    font-size: 1.05rem;
    color: var(--ink-soft);
}

/* Two-column content layout */
.two-col {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 56px;
    align-items: start;
}
.sub-title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.35rem;
    margin: 40px 0 16px;
}
.col-main .sub-title:first-child { margin-top: 0; }

.topic-list {
    margin: 0;
    padding-left: 20px;
}
.topic-list li { margin-bottom: 10px; color: var(--ink-soft); }

.side-card {
    background: var(--paper-dim);
    border: 1px solid var(--line-color);
    border-radius: 10px;
    padding: 24px;
    position: sticky;
    top: 100px;
}
.side-card-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--signal-dim);
    margin: 0 0 16px;
}
.side-card-value {
    font-family: var(--font-mono);
    color: var(--ink);
    margin: 0;
}

/* ===========================================================
   Program / day list
   =========================================================== */
.day-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: 780px;
}
.day-item {
    display: flex;
    gap: 24px;
    padding: 28px 0;
    border-bottom: 1px solid var(--line-color);
}
.day-item:first-child { padding-top: 0; }
.day-code {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--ember);
    flex-shrink: 0;
    width: 40px;
}
.day-item h3 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.2rem;
    margin: 0 0 8px;
}
.day-item p { margin: 0; color: var(--ink-soft); }

/* ===========================================================
   Committee
   =========================================================== */
.person-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}
.person-grid:last-child { margin-bottom: 8px; }
.person-card {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    border: 1px solid var(--line-color);
    border-radius: 10px;
    padding: 22px;
}
.person-card-bio { padding: 26px; }
.person-avatar {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 0.95rem;
}
.avatar-a { background: rgba(23, 195, 178, 0.14); color: var(--signal-dim); border: 1.5px solid rgba(23, 195, 178, 0.4); }
.avatar-b { background: rgba(232, 92, 51, 0.12); color: var(--ember); border: 1.5px solid rgba(232, 92, 51, 0.35); }
.avatar-c { background: var(--ink); color: var(--paper); border: 1.5px solid var(--ink); }

.person-body h3 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.05rem;
    margin: 0 0 4px;
}
.person-affil {
    margin: 0 0 10px;
    color: var(--ink-soft);
    font-size: 0.9rem;
}
.person-card:not(.person-card-bio) .person-affil { margin-bottom: 0; }
.person-bio {
    margin: 0;
    font-size: 0.9rem;
    color: var(--ink-soft);
    line-height: 1.55;
}

/* Photo-based person cards (committee.php: person-image / person-photo) */
.person-image {
    flex-shrink: 0;
}
.person-photo {
    display: block;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--signal);
}
.person-card-bio .person-photo {
    width: 112px;
    height: 112px;
}
.person-content { flex: 1; }
.person-header h3 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.05rem;
    margin: 0 0 4px;
}
.person-school {
    margin: 0 0 10px;
    color: var(--ink-soft);
    font-size: 0.9rem;
}
.person-card:not(.person-card-bio) .person-school { margin-bottom: 0; }
.person-info {
    margin: 0;
    font-size: 0.9rem;
    color: var(--ink-soft);
    line-height: 1.55;
}

/* ===========================================================
   Supported by
   =========================================================== */
.supported-by {
    padding: 56px 0 88px;
    border-top: 1px solid var(--line-color);
    text-align: center;
}
.supported-by .section-label { color: var(--signal-dim); }
.supported-by .sub-title { margin: 8px 0 28px; }
.sponsor-row {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}
.sponsor-logo-link {
    display: inline-flex;
    align-items: center;
    padding: 100px 92px;
    border: 1px solid var(--line-color);
    border-radius: 10px;
    background: var(--paper-dim);
    transition: border-color 0.15s ease;
}
.sponsor-logo-link:hover { border-color: var(--signal-dim); }
.sponsor-logo { max-height: 64px; width: auto; display: block; }
.sponsor-caption {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.92rem;
}

/* ===========================================================
   Keynotes
   =========================================================== */
.keynote-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.keynote-card {
    text-align: center;
    padding: 40px 26px;
    border: 1px solid var(--line-color);
    border-radius: 12px;
}
.keynote-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 1.4rem;
}
.keynote-card h3 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.1rem;
    margin: 0 0 6px;
}
.keynote-affil {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.85rem;
    font-family: var(--font-mono);
    letter-spacing: 0.02em;
}
.keynote-card-tba {
    border-style: dashed;
}
.keynote-card-tba .keynote-avatar {
    background: transparent;
    border: 2px dashed var(--line-color);
    color: var(--ink-soft);
}
.keynote-card-tba h3 { color: var(--ink-soft); font-style: italic; }
html[lang="ja"] .keynote-card-tba h3 { font-style: normal; }

/* ===========================================================
   Registration
   =========================================================== */
.reg-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 32px 0 24px;
}
.reg-card {
    background: rgba(246, 243, 236, 0.05);
    border: 1px solid rgba(246, 243, 236, 0.18);
    border-radius: 10px;
    padding: 28px;
}
.reg-tier {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin: 0 0 4px;
}
.reg-deadline {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--signal);
    margin: 0 0 20px;
}
.reg-prices {
    list-style: none;
    margin: 0;
    padding: 0;
}
.reg-prices li {
    padding: 8px 0;
    border-top: 1px solid rgba(246, 243, 236, 0.12);
    color: rgba(246, 243, 236, 0.85);
}
.reg-prices li:first-child { border-top: none; }
.reg-note {
    font-size: 0.88rem;
    color: rgba(246, 243, 236, 0.55);
}

/* ===========================================================
   Footer
   =========================================================== */
.site-footer {
    border-top: 1px solid var(--line-color);
    padding: 40px 0;
}
.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: darkgreen;
    font-size: 0.92rem;
}
.footer-brand .brand-mark { color: var(--signal-dim); }
.footer-nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.footer-nav a {
    text-decoration: none;
    font-size: 0.9rem;
    color: var(--ink-soft);
}
.footer-nav a:hover { color: var(--ink); }
.footer-rights {
    width: 100%;
    font-size: 0.8rem;
    color: var(--ink-soft);
    margin: 0;
    padding-top: 20px;
    border-top: 1px solid var(--line-color);
}


/* ===========================================================
   Empty state (e.g. tentative programme committee)
   =========================================================== */
.empty-state {
    text-align: center;
    padding: 64px 24px;
    border: 2px dashed var(--line-color);
    border-radius: 12px;
}
.empty-state-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    border-radius: 50%;
    border: 2px dashed var(--line-color);
    color: var(--ink-soft);
    font-family: var(--font-mono);
    font-size: 1.2rem;
}
.empty-state p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 1rem;
}
.site-footer {
    border-top: 1px solid var(--line-color);
    padding: 40px 0;
}
.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink-soft);
    font-size: 0.92rem;
}
.footer-brand .brand-mark { color: var(--signal-dim); }
.footer-nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.footer-nav a {
    text-decoration: none;
    font-size: 0.9rem;
    color: var(--ink-soft);
}
.footer-nav a:hover { color: var(--ink); }
.footer-rights {
    width: 100%;
    font-size: 0.8rem;
    color: var(--ink-soft);
    margin: 0;
    padding-top: 20px;
    border-top: 1px solid var(--line-color);
}

/* ===========================================================
   Responsive
   =========================================================== */
@media (max-width: 960px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-visual { order: -1; max-width: 320px; margin: 0 auto; }
    .strip-grid { grid-template-columns: repeat(2, 1fr); }
    .pillars { grid-template-columns: 1fr; }
    .track-grid { grid-template-columns: repeat(2, 1fr); }
    .two-col { grid-template-columns: 1fr; }
    .side-card { position: static; }
    .person-grid { grid-template-columns: 1fr; }
    .reg-grid { grid-template-columns: 1fr; }
    .keynote-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        background: var(--paper);
        border-bottom: 1px solid var(--line-color);
        flex-direction: column;
        gap: 0;
        padding: 8px 20px 16px;
    }
    .main-nav.is-open { display: flex; }
    .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--line-color); }
    .nav-toggle { display: flex; }
    .wrap { padding: 0 20px; }
    .track-grid { grid-template-columns: 1fr; }
    .strip-grid { grid-template-columns: 1fr 1fr; }
    .cta-inner { flex-direction: column; align-items: flex-start; }
    .keynote-grid { grid-template-columns: 1fr; }
    .person-card { flex-direction: column; }
}

.keynote-grid{
    display:grid;
    grid-template-columns:1fr;
    gap:25px;
}

.keynote-card{
    display:flex;
    align-items:center;
    gap:30px;
    background:#fff;
    border:1px solid #e6e6e6;
    border-radius:18px;
    padding:25px;
    box-shadow:0 8px 24px rgba(0,0,0,.08);
    transition:.3s;
}

.keynote-card:hover{
    transform:translateY(-4px);
    box-shadow:0 16px 35px rgba(0,0,0,.12);
}

.keynote-image{
    flex-shrink:0;
}

.keynote-photo{
    width:150px;
    height:180px;
    object-fit:cover;
    border-radius:14px;
    border:4px solid var(--signal);
}

.keynote-content{
    flex:1;
}

.keynote-content h3{
    margin:0 0 10px;
    font-family:var(--font-display);
    font-size:1.8rem;
    color:var(--ink);
}

.keynote-affil{
    margin:0;
    font-size:1.05rem;
    color:var(--ink-soft);
    line-height:1.7;
}

.brand{
    display:flex;
    align-items:center;
    text-decoration:none;
}

.brand:hover .brand-logo{
    transform:scale(1.03);
}

.brand-logo{
    height:60px;
    width:auto;
    padding:4px 8px;
    background:#fff;
    border-radius:10px;
    box-shadow:0 2px 10px rgba(0,0,0,.08);
}


.sponsors-grid{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    align-items:center;
    gap:50px;
    margin-top:40px;
}

.sponsor-item{
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
    min-width:220px;
}

.sponsor-logo{
    width:450px;
    height:180px;
    max-width:100%;
    object-fit:contain;
    transition:transform .3s ease;
}

.sponsor-logo:hover{
    transform:scale(1.05);
}

.sponsor-caption{
    margin-top:15px;
    font-size:0.95rem;
    color:var(--ink-soft);
}


/* Committee dropdown */
.nav-dropdown {
    position: relative;
}
.nav-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    font: inherit;
    cursor: pointer;
    color: var(--ink-soft);
    font-size: 0.94rem;
    padding: 4px 0;
    border-bottom: 2px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
}
.nav-dropdown-trigger:hover,
.nav-dropdown-trigger.is-active {
    color: var(--ink);
    border-bottom-color: var(--signal);
}
.nav-dropdown-chevron {
    color: var(--ink-soft);
    transition: transform 0.15s ease;
    flex-shrink: 0;
}
.nav-dropdown:hover .nav-dropdown-chevron,
.nav-dropdown.is-open .nav-dropdown-chevron {
    transform: rotate(180deg);
}
.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: -14px;
    margin-top: 14px;
    min-width: 240px;
    background: var(--paper);
    border: 1px solid var(--line-color);
    border-radius: 10px;
    padding: 6px;
    box-shadow: 0 12px 28px rgba(18, 22, 42, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
    z-index: 60;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.nav-dropdown-menu a {
    display: block;
    padding: 10px 14px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.92rem;
    color: var(--ink-soft);
    border-bottom: none !important;
}
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.is-active {
    background: var(--paper-dim);
    color: var(--ink);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}
.lang-switch {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    text-decoration: none;
    padding: 6px 12px;
    border: 1px solid var(--ink);
    border-radius: 999px;
    color: var(--ink);
    transition: background 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}
.lang-switch:hover {
    background: var(--ink);
    color: var(--paper);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    width: 28px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--ink);
}

