/* ==========================================================================
   KJSC 2027 — style
   Layout: white reading surface under a navy masthead; 1200px column;
   leaflet identity (navy + teal, KR-blue / JP-red speaker stripes).
   ========================================================================== */
:root {
  --navy-950: #06121f;
  --navy-900: #0a1b2d;
  --navy-800: #10283f;
  --teal-400: #3cc3d6;
  --teal-500: #18a0b4;
  --teal-600: #0f8296;
  --teal-700: #0b6c7d;
  --teal-50: #e7f4f6;
  --kr: #2f6496;
  --jp: #b04456;
  --gold: #c6961a;
  --ink: #122130;
  --ink-2: #425465;
  --ink-3: #66798a;
  --line: #d8e2e8;
  --paper: #ffffff;
  --paper-2: #f3f7f9;
  --on-dark: #c9d8e3;
  --on-dark-2: #8fa8ba;

  --font-display: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --font-body: var(--font-display);
  --font-mono: var(--font-display);

  --gutter: clamp(16px, 4vw, 40px);
  --radius: 12px;
  --shadow: 0 1px 2px rgba(10, 27, 45, .06), 0 10px 30px rgba(10, 27, 45, .10);
  --nav-h: 52px;
  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { font-variant-numeric: tabular-nums; margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-600); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--teal-700); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0; color: var(--navy-900); text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--teal-500); outline-offset: 2px; border-radius: 4px; }
[id] { scroll-margin-top: calc(var(--nav-h) + 24px); }
.ic { width: 1.1em; height: 1.1em; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
.wrap { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.muted { color: var(--on-dark-2); }

.config-error { position: fixed; inset: 0 0 auto 0; z-index: 999; background: #b42318; color: #fff; padding: 16px 20px; font: 16px/1.5 "Malgun Gothic", sans-serif; }

/* ---------- type helpers ---------- */
.eyebrow { font-family: var(--font-display); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-600); margin-bottom: 6px; }
.lede { font-size: 1.2rem; line-height: 1.6; color: var(--navy-900); max-width: 62ch; }
.narrow { max-width: 62ch; }
.note { color: var(--ink-3); font-size: .92rem; font-style: italic; margin-top: 12px; }
.tba { display: inline-block; font-family: var(--font-mono); font-size: .76rem; font-weight: 600; letter-spacing: .06em; color: var(--ink-3); background: var(--paper-2); border: 1px dashed #b7c6d1; border-radius: 4px; padding: 1px 8px; line-height: 1.6; vertical-align: 1px; }

.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 24px; }
.sec-head h2 { font-size: clamp(1.55rem, 2.6vw, 2.15rem); font-weight: 800; letter-spacing: -.01em; }
.sec-head .lede { flex: 1 1 420px; }
.more { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-weight: 700; font-size: .92rem; text-decoration: none; }
.more .ic { transition: transform .15s; }
.more:hover .ic { transform: translateX(3px); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent; font-family: var(--font-display); font-weight: 700; font-size: .95rem; letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn .ic { width: 18px; height: 18px; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: .9rem; }
.btn-primary { background: var(--teal-600); color: #fff; }
.btn-primary:hover { background: var(--teal-700); color: #fff; }
.btn-dark { background: var(--navy-900); color: #fff; }
.btn-dark:hover { background: var(--navy-800); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy-900); border-color: currentColor; }
.btn-ghost:hover { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.btn.is-disabled { background: var(--paper-2); color: var(--ink-3); border-color: var(--line); cursor: not-allowed; }
.btn.is-disabled em { font-style: normal; font-family: var(--font-mono); font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; background: var(--paper); border: 1px solid var(--line); padding: 2px 8px; border-radius: 999px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- header ---------- */
.topbar { background: var(--paper); border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy-900); min-width: 0; }
.brand:hover { color: var(--navy-900); }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-text strong { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; letter-spacing: .02em; line-height: 1.1; }
.brand-text span { font-size: .8rem; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-meta { margin-left: auto; display: flex; gap: 22px; color: var(--ink-2); font-size: .92rem; }
.topbar-meta span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.topbar-meta .ic { color: var(--teal-600); }
.topbar-cta { display: flex; gap: 8px; }
.nav-toggle { display: none; }

.navbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: var(--navy-900); }
.nav-list { display: flex; justify-content: space-between; list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; }
.nav-link { position: relative; display: flex; align-items: center; gap: 6px; height: var(--nav-h); padding: 0 14px; background: none; border: 0; cursor: pointer; color: var(--on-dark); font-family: var(--font-display); font-weight: 600; font-size: .86rem; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.nav-link .ic { width: 14px; height: 14px; opacity: .7; transition: transform .15s; }
.nav-link:hover, .nav-item:hover > .nav-link, .nav-item.open > .nav-link { color: #fff; }
.nav-item:hover > .nav-link .ic, .nav-item.open > .nav-link .ic { transform: rotate(180deg); }
.nav-link.is-active { color: #fff; }
.nav-link.is-active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px; background: var(--teal-500); }
.dropdown { position: absolute; top: 100%; left: 0; min-width: 240px; list-style: none; margin: 0; padding: 8px; background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--teal-500); border-radius: 0 0 10px 10px; box-shadow: var(--shadow); visibility: hidden; opacity: 0; transform: translateY(4px); transition: opacity .15s, transform .15s, visibility .15s; }
.nav-item:nth-last-child(-n+2) .dropdown { left: auto; right: 0; }
.nav-item:hover > .dropdown, .nav-item:focus-within > .dropdown, .nav-item.open > .dropdown { visibility: visible; opacity: 1; transform: none; }
.dropdown a { display: block; padding: 9px 12px; border-radius: 6px; color: var(--ink); text-decoration: none; font-size: .98rem; }
.dropdown a:hover { background: var(--teal-50); color: var(--teal-700); }
.dropdown a[aria-current="page"] { color: var(--teal-600); font-weight: 700; }

/* ---------- hero (home) ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; color: #fff;
  background:
    radial-gradient(1100px 560px at 88% 12%, rgba(24, 160, 180, .22), transparent 62%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900) 62%, var(--navy-800)); }
.hero.has-photo { background:
    linear-gradient(90deg, rgba(6, 18, 31, .90) 0%, rgba(6, 18, 31, .66) 36%, rgba(6, 18, 31, .12) 68%, rgba(6, 18, 31, .30) 100%),
    linear-gradient(180deg, rgba(6, 18, 31, .45) 0%, rgba(6, 18, 31, 0) 28%, rgba(6, 18, 31, 0) 58%, rgba(6, 18, 31, .92) 100%),
    var(--hero-img) 62% 50% / cover no-repeat,
    var(--navy-900); }
.hero.has-photo canvas.net { display: none; }
canvas.net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; display: block; pointer-events: none; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 80px); align-items: center; padding-block: clamp(48px, 7vw, 96px) 28px; }
.hero-copy { min-width: 0; }
.hero-eyebrow { display: flex; flex-wrap: wrap; gap: 0 12px; font-family: var(--font-display); font-weight: 700; font-size: .92rem; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-400); margin-bottom: 18px; }
.hero-eyebrow i { font-style: normal; opacity: .6; }
.hero h1 { color: #fff; font-weight: 800; font-size: clamp(2.2rem, 5.2vw, 4.4rem); line-height: 1.02; letter-spacing: -.015em; text-transform: uppercase; max-width: 18ch; }
.nw { white-space: nowrap; }
.hero h1 sup { font-size: .42em; line-height: 0; vertical-align: 1.1em; letter-spacing: 0; }
.hero-meta { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 8px; color: var(--on-dark); font-size: 1.12rem; }
.hero-meta li { display: flex; align-items: center; gap: 12px; }
.hero-meta .ic { color: var(--teal-400); width: 20px; height: 20px; }
.hero-meta b { color: #fff; font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero .btn-ghost, .band-dark .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .55); }
.hero .btn-ghost:hover, .band-dark .btn-ghost:hover { background: #fff; color: var(--navy-900); border-color: #fff; }

.countdown { background: rgba(8, 24, 40, .55); border: 1px solid rgba(255, 255, 255, .16); border-radius: 16px; padding: 24px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.cd-big { font-family: var(--font-mono); font-weight: 600; font-size: clamp(2.6rem, 4.6vw, 3.4rem); line-height: 1; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.cd-label { margin: 8px 0 20px; color: var(--on-dark-2); font-family: var(--font-display); font-weight: 600; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; }
.cd-days { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; list-style: none; margin: 0; padding: 0; }
.cd-days li { display: flex; flex-direction: column; align-items: center; padding: 10px 4px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 10px; }
.cd-days span { font-family: var(--font-display); font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-2); }
.cd-days b { font-family: var(--font-mono); font-size: 1.7rem; font-weight: 600; color: #fff; line-height: 1.25; }
.cd-foot { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: .9rem; color: var(--on-dark); }
.cd-foot .ic { color: var(--teal-400); }

.hero-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-block: 12px 104px; }
.rail { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; color: var(--on-dark-2); font-family: var(--font-mono); font-size: .8rem; }
.rail ol { display: flex; align-items: flex-end; gap: 6px; height: 22px; list-style: none; margin: 0; padding: 0; }
.rail li { width: 3px; height: 12px; border-radius: 2px; background: rgba(255, 255, 255, .3); }
.rail li.now { width: 4px; height: 22px; background: var(--teal-400); box-shadow: 0 0 12px rgba(60, 195, 214, .8); }
.rail-y.now { color: #fff; }
.rail-cap { font-family: var(--font-body); font-size: .9rem; }
.credit { color: rgba(255, 255, 255, .6); font-size: .75rem; }

/* quick links overlapping the hero */
.quick { position: relative; z-index: 2; margin-top: -72px; }
.quick ul { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; list-style: none; margin: 0; padding: 0; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.quick li { background: var(--paper); }
.quick a { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 22px; color: var(--ink); text-decoration: none; transition: background .15s; }
.quick a .ic { width: 28px; height: 28px; color: var(--teal-600); margin-bottom: 10px; }
.quick b { font-family: var(--font-display); font-size: 1.08rem; color: var(--navy-900); }
.quick span { font-size: .9rem; color: var(--ink-3); line-height: 1.4; }
.quick a:hover { background: var(--teal-50); }

/* ---------- sections ---------- */
.section { padding-block: clamp(56px, 7vw, 96px); }
.section.alt { background: var(--paper-2); }
.split { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.center-row { display: flex; justify-content: center; margin-top: 28px; }

/* dates */
.dates { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy-900); }
.dates li { display: grid; grid-template-columns: minmax(140px, 190px) minmax(0, 1fr) auto; align-items: center; gap: 6px 20px; padding: 14px 6px; border-bottom: 1px solid var(--line); }
.d-when { font-family: var(--font-mono); font-size: .9rem; font-weight: 500; color: var(--navy-900); font-variant-numeric: tabular-nums; }
.d-when s { color: var(--ink-3); }
.d-when small { font-family: var(--font-display); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--jp); }
.d-label { font-weight: 600; }
.dates li.past .d-when, .dates li.past .d-label { color: var(--ink-3); font-weight: 400; }
.dates li.hl { background: linear-gradient(90deg, var(--teal-50), rgba(231, 244, 246, 0)); }
.dates li.hl .d-label { color: var(--teal-700); font-weight: 700; }
.chip { font-family: var(--font-mono); font-size: .76rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--navy-900); color: #fff; white-space: nowrap; }

/* notices */
.notices { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy-900); }
.notices li > * { display: grid; grid-template-columns: 92px minmax(0, 1fr) 18px; gap: 14px; align-items: baseline; padding: 14px 6px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.notices time { font-family: var(--font-mono); font-size: .84rem; color: var(--ink-3); }
.notices a:hover span { color: var(--teal-600); }
.notices .ic { width: 16px; height: 16px; color: var(--ink-3); align-self: center; }

/* welcome teaser */
.welcome-teaser { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.chair-photo { margin: 0; }
.chair-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.sig { display: flex; flex-direction: column; margin: 20px 0 18px; color: var(--ink-2); }
.sig b { font-family: var(--font-display); color: var(--navy-900); font-size: 1.05rem; }

/* speakers */
.spk-legend { display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: .9rem; margin: -8px 0 24px; }
.flag-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--kr); }
.flag-dot.jp { background: var(--jp); margin-left: 12px; }
.pill { display: inline-block; margin: 8px 0 16px; padding: 8px 20px; border-radius: 999px; background: var(--navy-900); color: #fff; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pill.teal { background: var(--teal-600); margin-top: 32px; }
.spk-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.spk { --c: var(--kr); position: relative; display: flex; flex-direction: column; gap: 14px; padding: 20px 18px 18px 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.spk-jp, .spk-row.spk-jp { --c: var(--jp); }
.spk::before, .spk-row::before { content: ""; position: absolute; left: -1px; top: 14px; bottom: 14px; width: 4px; border-radius: 0 3px 3px 0; background: var(--c); }
.spk-photo { width: 84px; height: 84px; flex: none; border-radius: 50%; overflow: hidden; background: var(--paper-2); box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--c); display: grid; place-items: center; }
.plenary .spk-photo { width: 104px; height: 104px; }
.spk-photo img { width: 100%; height: 100%; object-fit: cover; }
.spk-photo.lg { width: 128px; height: 128px; }
.initials { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: var(--c); }
.spk-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.spk h3 { font-size: 1.05rem; }
.spk p { color: var(--ink-2); font-size: .93rem; line-height: 1.35; }
.flag { margin-top: 6px; font-family: var(--font-display); font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--c); }

.spk-list { display: grid; gap: 16px; }
.spk-row { --c: var(--kr); position: relative; display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 28px; padding: 28px 28px 28px 32px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.spk-row-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.spk-row-head h3 { font-size: 1.35rem; }
.spk-row-head .flag { margin: 0; }
.aff { color: var(--ink-2); margin: 4px 0 14px; }
.talk { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 16px; margin: 0; }
.talk dt { padding-top: 3px; font-family: var(--font-display); font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.talk dd { margin: 0; font-weight: 600; }
.abs { margin-top: 14px; }
.abs summary { cursor: pointer; color: var(--teal-600); font-weight: 700; font-family: var(--font-display); }
.abs p { margin-top: 10px; color: var(--ink-2); max-width: 70ch; }

/* dark venue band */
.band-dark { background: var(--navy-900); color: var(--on-dark); }
.band-dark h2 { color: #fff; }
.band-dark .eyebrow { color: var(--teal-400); }
.venue-teaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.vt-copy > p { margin-bottom: 24px; font-size: 1.05rem; }
.vt-sights { border-left: 1px solid rgba(255, 255, 255, .14); padding-left: clamp(24px, 4vw, 48px); }
.vt-title { font-family: var(--font-display); font-size: clamp(1.3rem, 2.2vw, 1.7rem); font-weight: 700; color: #fff; line-height: 1.25; margin-bottom: 20px; text-wrap: balance; }
.vt-sights ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.vt-sights li { padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.vt-photo { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; }
.vt-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.vt-photo figcaption { position: absolute; inset: auto 0 0 0; padding: 56px 22px 18px; background: linear-gradient(180deg, rgba(6, 18, 31, 0), rgba(6, 18, 31, .88)); }
.vt-photo .vt-title { margin: 0; }
.vt-sights .credit { display: block; margin: 8px 0 16px; }
.vt-sights a { color: var(--on-dark); text-decoration: none; }
.vt-sights a:hover { color: #fff; }

/* organizers */
.orgs { padding-block: 48px; border-top: 1px solid var(--line); }
.org-list { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.org-list li > * { display: flex; align-items: center; min-height: 64px; padding: 12px 22px; border: 1px solid var(--line); border-radius: 10px; color: var(--navy-900); font-family: var(--font-display); font-weight: 600; text-decoration: none; background: var(--paper); }
.org-list a:hover { border-color: var(--teal-500); }
.org-list img { max-height: 44px; width: auto; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-950); color: var(--on-dark-2); padding-top: 56px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 32px 40px; }
.footer-brand { display: flex; gap: 14px; align-items: flex-start; color: #fff; }
.footer-brand strong { display: block; font-family: var(--font-display); font-size: 1.05rem; line-height: 1.3; margin-bottom: 8px; }
.footer-brand p { color: var(--on-dark-2); }
.footer-brand sup { font-size: .6em; }
.site-footer h3 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--teal-400); }
.flinks { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.orgs-foot { gap: 14px; }
.orgs-foot p { margin-top: 6px; font-size: .88rem; line-height: 1.5; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-top: 48px; padding-block: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }
.footer-bottom span:last-child { font-family: var(--font-display); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; }

/* ---------- sub-page banner ---------- */
.page-banner { position: relative; isolation: isolate; overflow: hidden; color: #fff; padding-block: clamp(40px, 6vw, 72px); background: radial-gradient(800px 400px at 90% 0%, rgba(24, 160, 180, .2), transparent 60%), linear-gradient(120deg, var(--navy-950), var(--navy-800)); }
.page-banner h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 800; letter-spacing: -.01em; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; color: var(--on-dark-2); font-size: .88rem; }
.crumbs a { color: var(--on-dark); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.subtabs { background: var(--paper); border-bottom: 1px solid var(--line); }
.subtabs ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.subtabs ul::-webkit-scrollbar { display: none; }
.subtabs a { display: block; padding: 16px 14px 13px; border-bottom: 3px solid transparent; color: var(--ink-2); font-weight: 600; text-decoration: none; white-space: nowrap; }
.subtabs a:hover { color: var(--navy-900); }
.subtabs a.is-current { color: var(--navy-900); border-bottom-color: var(--teal-500); }
.page { padding-block: clamp(40px, 6vw, 72px) clamp(56px, 7vw, 96px); }
.stack { display: grid; gap: clamp(40px, 5vw, 64px); }
.stack > * { min-width: 0; }

/* welcome page */
.welcome { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.chair-card { margin: 0; position: sticky; top: calc(var(--nav-h) + 24px); }
.chair-card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
.chair-card figcaption { display: flex; flex-direction: column; margin-top: 14px; color: var(--ink-2); font-size: .95rem; }
.chair-card b { font-family: var(--font-display); color: var(--navy-900); font-size: 1.1rem; }
/* 환영사: 편지처럼 모든 문단을 같은 크기로, 문단 사이는 한 줄 정도 띄움 */
.prose { max-width: 66ch; display: grid; gap: 1.4em; font-size: 1.08rem; line-height: 1.75; color: var(--ink); }

/* committee */
.committee { columns: 2 340px; column-gap: 20px; }
.cm-group { break-inside: avoid; margin: 0 0 20px; padding: 24px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.cm-group h2 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-600); margin-bottom: 8px; }
.cm-group ul { list-style: none; margin: 0; padding: 0; }
.cm-group li { display: flex; flex-direction: column; padding: 10px 0; border-top: 1px solid var(--line); }
.cm-group li:first-child { border-top: 0; }
.cm-group b { font-family: var(--font-display); font-size: 1.05rem; color: var(--navy-900); }
.cm-group span { color: var(--ink-2); font-size: .95rem; }

/* info list */
.info { display: grid; grid-template-columns: minmax(150px, 260px) minmax(0, 1fr); margin: 0; border-top: 2px solid var(--navy-900); }
.info dt, .info dd { margin: 0; padding: 16px 6px; border-bottom: 1px solid var(--line); }
.info dt { font-family: var(--font-display); font-weight: 700; color: var(--navy-900); }

/* callout + empty */
.callout { display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px; border: 1px solid #a9d6de; background: var(--teal-50); border-radius: var(--radius); color: var(--navy-900); }
.callout .ic { width: 22px; height: 22px; color: var(--teal-600); margin-top: 2px; }
.empty-state { display: flex; gap: 14px; align-items: center; padding: 28px; border: 1px dashed #b7c6d1; border-radius: var(--radius); background: var(--paper-2); color: var(--ink-2); }
.empty-state .ic { width: 26px; height: 26px; color: var(--ink-3); }

/* ---------- coming soon (content.js 의 comingSoon) ---------- */
.soon-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: var(--gutter); background: rgba(6, 18, 31, .55); animation: soon-in .16s ease-out; }
.soon-card { width: min(360px, 100%); padding: 28px 26px 22px; background: var(--paper); border-top: 4px solid var(--teal-500); border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; }
.soon-card .ic { display: block; width: 34px; height: 34px; margin: 0 auto 12px; color: var(--teal-600); }
.soon-card .eyebrow { margin-bottom: 6px; }
.soon-msg { margin-bottom: 20px; color: var(--navy-900); font-size: 1.08rem; line-height: 1.5; }
.soon-card .btn { min-width: 120px; }
@keyframes soon-in { from { opacity: 0; } to { opacity: 1; } }
.soon-state { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: clamp(40px, 8vw, 80px) 24px; border: 1px dashed #b7c6d1; border-radius: var(--radius); background: var(--paper-2); color: var(--navy-900); text-align: center; }
.soon-state > .ic { width: 40px; height: 40px; color: var(--teal-600); }
.soon-state p { font-size: 1.15rem; }

/* registration */
.reg-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; padding: 28px 32px; border-radius: var(--radius); background: var(--paper-2); border: 1px solid var(--line); }
.reg-cta .lede { flex: 1 1 420px; font-size: 1.1rem; }
.badge-gold { display: inline-block; padding: 7px 18px; border-radius: 999px; background: var(--gold); color: var(--navy-950); font-family: var(--font-display); font-weight: 800; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.fees { width: 100%; min-width: 620px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.fees th, .fees td { padding: 16px 18px; text-align: center; border-top: 1px solid var(--line); }
.fees thead th { border-top: 0; background: var(--navy-900); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: .84rem; letter-spacing: .08em; text-transform: uppercase; }
.fees tbody th { background: var(--teal-50); color: var(--navy-900); font-family: var(--font-display); font-weight: 800; letter-spacing: .04em; text-transform: uppercase; font-size: .92rem; }
.fees td + td { border-left: 1px solid var(--line); }
.money { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 2px 0; }
.money span + span::before { content: "·"; margin: 0 10px; color: var(--ink-3); }

/* abstract steps */
.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; }
.steps li { counter-increment: s; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.steps li::before { content: "Step " counter(s, decimal-leading-zero); font-family: var(--font-mono); font-size: .8rem; font-weight: 600; color: var(--teal-600); }
.steps h3 { font-size: 1.2rem; }
.steps p { color: var(--ink-2); }
.steps .btn { margin-top: auto; }

/* program */
.legend { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.legend li { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-weight: 600; }
.code { display: inline-block; font-family: var(--font-mono); font-size: .76rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--navy-900); color: #fff; white-space: nowrap; }
.code.c-KL { background: var(--teal-600); }
.code.c-GO { background: var(--kr); }
.code.c-YO { background: #4b7fb2; }
.code.c-YP, .code.c-GP { background: var(--gold); color: var(--navy-950); }
.days { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.day { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.day-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 14px 18px; background: var(--navy-900); color: #fff; }
.day-head b { font-family: var(--font-display); font-size: 1.1rem; }
.day-head span { font-family: var(--font-mono); font-size: .85rem; color: var(--on-dark-2); }
.day ol { list-style: none; margin: 0; padding: 0; }
.day li { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 10px; align-items: baseline; padding: 12px 18px; border-top: 1px solid var(--line); }
.day li:first-child { border-top: 0; }
.day time { font-family: var(--font-mono); font-size: .82rem; color: var(--ink-3); }
.day li span { display: block; font-size: .88rem; color: var(--ink-3); }
.day-empty { padding: 40px 18px; text-align: center; color: var(--ink-3); }

/* venue */
.venue-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 20px; }
.venue-grid.no-map { grid-template-columns: minmax(0, 1fr); max-width: 720px; }
.venue-card { display: flex; flex-direction: column; gap: 16px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.venue-card h2 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); }
.venue-card .btn-row { margin-top: auto; }
.contact-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: var(--ink-2); }
.contact-lines li { display: flex; gap: 10px; align-items: flex-start; }
.contact-lines .ic { color: var(--teal-600); margin-top: 4px; }
.map { min-height: 360px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--paper-2); }
.map iframe { display: block; width: 100%; height: 100%; min-height: 360px; border: 0; }
.hotels { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.hotel { display: flex; flex-direction: column; gap: 14px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); }

.transport { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px 48px; align-items: start; }
.journey { list-style: none; margin: 0; padding: 0; }
.journey .stop { display: flex; align-items: center; gap: 16px; font-family: var(--font-display); font-size: 1.15rem; color: var(--navy-900); }
.journey .node { width: 18px; height: 18px; flex: none; border-radius: 50%; border: 4px solid var(--teal-600); background: var(--paper); }
.journey .stop.end .node { background: var(--teal-600); box-shadow: 0 0 0 5px var(--teal-50); }
.journey .leg { display: flex; gap: 16px; margin-left: 8px; padding: 14px 0 14px 26px; border-left: 2px dashed #9fc9d2; color: var(--ink-2); }
.journey .leg > .ic { width: 22px; height: 22px; color: var(--teal-600); margin-top: 2px; }
.leg-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: baseline; }
.leg-meta b { font-family: var(--font-mono); font-size: 1rem; color: var(--navy-900); }
.leg-meta span { font-family: var(--font-mono); font-size: .9rem; color: var(--ink-2); }
.transport-side { display: grid; gap: 12px; }

.sights { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.sight { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.sight img, .sight-ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.sight-ph { display: flex; align-items: flex-end; padding: 14px; background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 12px),
    linear-gradient(160deg, var(--navy-800), var(--teal-700)); }
.sight-ph span { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: rgba(255, 255, 255, .9); text-transform: uppercase; letter-spacing: .02em; }
.sight figcaption { display: flex; flex-direction: column; gap: 4px; }
.sight b { font-family: var(--font-display); color: var(--navy-900); line-height: 1.25; }
.sight span { font-size: .9rem; color: var(--ink-2); line-height: 1.45; }
.sight small { font-size: .72rem; color: var(--ink-3); }

/* contact */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.person { display: flex; flex-direction: column; gap: 4px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); }
.person h2 { font-size: 1.35rem; }
.person .aff { margin-bottom: 10px; }

.narrow-wide { max-width: 900px; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav-link { padding: 0 10px; font-size: .8rem; letter-spacing: .06em; }
  .topbar-meta span:last-child { display: none; }
  .sights { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1023px) {
  :root { --nav-h: 64px; }
  .topbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 60; }
  .topbar-inner { min-height: 64px; gap: 12px; }
  .topbar-meta { display: none; }
  .topbar-cta { margin-left: auto; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: none; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--navy-900); cursor: pointer; }
  .nav-toggle .ic { width: 22px; height: 22px; }
  .navbar { display: none; position: fixed; top: calc(64px + env(safe-area-inset-top, 0px)); left: 0; right: 0; bottom: 0; z-index: 55; overflow-y: auto; padding-block: 8px 40px; }
  .nav-open { overflow: hidden; }
  .nav-open .navbar { display: block; }
  .nav-list { flex-direction: column; }
  .nav-link { width: 100%; height: auto; padding: 14px 0; font-size: 1rem; letter-spacing: .06em; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav-link.is-active::after { display: none; }
  .nav-link.is-active { color: var(--teal-400); }
  .has-sub > .nav-link { pointer-events: none; padding: 20px 0 4px; border-bottom: 0; color: var(--on-dark-2); font-size: .78rem; letter-spacing: .16em; }
  .has-sub > .nav-link .ic { display: none; }
  .dropdown { position: static; visibility: visible; opacity: 1; transform: none; min-width: 0; padding: 0 0 10px; background: transparent; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .08); border-radius: 0; box-shadow: none; }
  .dropdown a { padding: 9px 0; color: var(--on-dark); font-size: 1.05rem; }
  .dropdown a:hover { background: transparent; color: #fff; }
  .dropdown a[aria-current="page"] { color: var(--teal-400); }

  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .countdown { max-width: 420px; }
  .quick ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick li:last-child { grid-column: 1 / -1; }
  .split, .venue-teaser, .transport, .venue-grid { grid-template-columns: minmax(0, 1fr); }
  .vt-sights { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 28px; }
  .spk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .days, .steps { grid-template-columns: minmax(0, 1fr); }
  .welcome { grid-template-columns: minmax(0, 1fr); }
  .chair-card { position: static; max-width: 240px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .topbar-cta { display: none; }
  .nav-toggle { margin-left: auto; }
  .brand-text span { font-size: .72rem; }
  .hero-meta { font-size: 1rem; }
  .quick a { padding: 18px; }
  .welcome-teaser { grid-template-columns: minmax(0, 1fr); }
  .chair-photo { max-width: 200px; }
  .spk { padding: 16px 14px 16px 18px; }
  .spk-photo, .plenary .spk-photo { width: 72px; height: 72px; }
  .spk h3 { font-size: .98rem; }
  .spk p { font-size: .86rem; }
  .spk-row { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 22px 20px 22px 24px; }
  .spk-row .spk-photo.lg { width: 96px; height: 96px; }
  .dates li { grid-template-columns: minmax(0, 1fr) auto; }
  .d-when { grid-column: 1 / -1; }
  .info { grid-template-columns: minmax(0, 1fr); }
  .info dt { border-bottom: 0; padding-bottom: 0; }
  .info dd { padding-top: 4px; }
  .sights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vt-sights ul { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .reg-cta { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .soon-modal { animation: none; }
}
