:root {
  --navy-900: #03051a;
  --navy-800: #070b35;
  --navy-700: #0b1260;
  --blue-600: #1238d6;
  --blue-500: #1a7cff;
  --cyan-400: #3cc3ff;
  --ice: #dceaff;
  --ink: #111827;
  --ink-2: #374151;
  --ink-3: #6b7280;
  --line: #e3e8f2;
  --bg: #ffffff;
  --bg-tint: #f4f7fc;
  --radius: 14px;
  /* 세션 색상 — 행사장 지도와 동일 */
  --s1: #3b40b8; --s2: #e5533a; --s3: #1f6fb5; --s4: #1e9455;
  --s5: #b5730c; --s6: #8b52d1; --s7: #6a8c12;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; word-break: keep-all; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
.muted { color: var(--ink-3); }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid transparent; border-radius: 999px; padding: 10px 20px; font-weight: 700; font-size: 15px; text-decoration: none; transition: background .2s, color .2s, border-color .2s, transform .1s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--blue-500); color: #fff; }
.btn--primary:hover { background: #0b62e6; }
.btn--outline { border-color: #c6d3ea; color: var(--navy-700); background: #fff; }
.btn--outline:hover { border-color: var(--blue-500); color: var(--blue-500); }
.btn--ghost { border-color: rgba(220, 234, 255, .45); color: var(--ice); background: rgba(255, 255, 255, .04); }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); }
.btn--lg { padding: 14px 28px; font-size: 16px; }
.btn--sm { padding: 7px 14px; font-size: 13px; }
.btn--register { background: linear-gradient(135deg, var(--cyan-400), var(--blue-500)); color: #fff; padding: 9px 22px; box-shadow: 0 4px 18px rgba(26, 124, 255, .45); }
.btn--register:hover { filter: brightness(1.08); }
:focus-visible { outline: 3px solid var(--cyan-400); outline-offset: 2px; }

/* ---------- Top bar ---------- */
.topbar { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .25s, box-shadow .25s; }
.topbar.is-solid { background: rgba(5, 8, 40, .92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.topbar__inner { width: min(1240px, 100% - 32px); margin-inline: auto; height: 68px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; margin-right: auto; }
.brand__num { font-weight: 200; font-size: 30px; letter-spacing: -1px; color: var(--cyan-400); line-height: 1; border-left: 2px solid var(--cyan-400); padding-left: 6px; }
.brand__txt { font-size: 14px; color: var(--ice); }
.brand__txt b { color: #fff; }
.nav { display: flex; gap: 4px; }
.nav a { color: rgba(220, 234, 255, .82); text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 8px; }
.nav a:hover, .nav a.is-active { color: #fff; background: rgba(255, 255, 255, .08); }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; padding: 9px; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; }

/* ---------- Hero (키 비주얼) ---------- */
.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; }
.hero { background: #02031a; color: var(--ice); }
/* 원본 키 비주얼(1996×1122) 비율 고정 — 날짜·시간만 실제 텍스트로 얹음 */
.kv { position: relative; container-type: inline-size; max-width: 1996px; margin: 0 auto; }
.kv__img { width: 100%; height: auto; }
.kv__date { position: absolute; left: 18.1cqw; top: 34.65cqw; margin: 0; display: flex; align-items: baseline; gap: 0; color: #fff; font-weight: 700; letter-spacing: -0.02em; line-height: 1; white-space: nowrap; }
.kv__date .y { font-size: 1.75cqw; margin-right: .4cqw; }
.kv__date .md { font-size: 2.8cqw; }
.kv__date .dw { font-size: 1.45cqw; margin-left: .5cqw; }
.kv__date .tm { font-size: 2.8cqw; margin-left: 1.8cqw; letter-spacing: -0.03em; }
/* ---------- 키 비주얼 모션 ---------- */
/* 좌표는 원본 1996×1122 기준 % — 레이어가 원래 그림 위에 정확히 겹친다 */
/* JS가 있을 때만 숨겨 두었다가, 이미지 로드 후(.is-ready) 왼쪽→오른쪽으로 드러냄 */
.js .kv__img {
  -webkit-mask-image: linear-gradient(90deg, #000 45%, transparent 55%); mask-image: linear-gradient(90deg, #000 45%, transparent 55%);
  -webkit-mask-size: 250% 100%; mask-size: 250% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: 100% 0; mask-position: 100% 0; }
.js .kv.is-ready .kv__img { animation: kv-reveal 2.2s cubic-bezier(.45, .05, .25, 1) forwards; }
@keyframes kv-reveal { from { -webkit-mask-position: 100% 0; mask-position: 100% 0; } to { -webkit-mask-position: 0 0; mask-position: 0 0; } }
.js .kv__date { opacity: 0; }
.js .kv.is-ready .kv__date { animation: kv-fade-up .7s 1.5s ease-out both; }
@keyframes kv-fade-up { from { opacity: 0; transform: translateY(.6cqw); } to { opacity: 1; transform: none; } }

/* .fx에 opacity를 주면 합성 그룹이 분리돼 screen 효과가 사라지므로 visibility로만 켠다 */
.fx { position: absolute; inset: 0; pointer-events: none; }
.kv:not(.is-live) .fx { visibility: hidden; }
.fx > div { position: absolute; }
.fx i, .fx span { position: absolute; inset: 0; display: block; }

/* 얼굴: 메시 발광 + 위→아래 스캔 + 랜드마크 점 반짝임 */
.fx-face { left: 0; top: 21.39%; width: 16.03%; height: 66.84%; }
.fx-face__mesh { background: url(/assets/fx/face.png) 0 0 / 100% 100%; mix-blend-mode: screen; opacity: 0; animation: fx-breathe 4.5s ease-in-out infinite; }
.fx-face__band { mix-blend-mode: screen;
  background: linear-gradient(180deg, transparent, rgba(90, 220, 255, .95) 50%, transparent) 0 -40% / 100% 28% no-repeat;
  -webkit-mask: url(/assets/fx/face.png) 0 0 / 100% 100%; mask: url(/assets/fx/face.png) 0 0 / 100% 100%;
  animation: fx-scan-bg 4.5s cubic-bezier(.45, 0, .55, 1) infinite; }
.fx-face__line { inset: auto 0 auto 0; top: 0; height: .12cqw; min-height: 1px; background: linear-gradient(90deg, transparent, rgba(120, 230, 255, .9) 20%, rgba(120, 230, 255, .9) 70%, transparent);
  box-shadow: 0 0 .8cqw .2cqw rgba(60, 195, 255, .55); mix-blend-mode: screen; animation: fx-scan-line 4.5s cubic-bezier(.45, 0, .55, 1) infinite; }
@keyframes fx-scan-bg { 0% { background-position: 0 -40%; } 70%, 100% { background-position: 0 140%; } }
@keyframes fx-scan-line { 0% { top: 0; opacity: 0; } 5% { opacity: 1; } 65% { opacity: 1; } 70%, 100% { top: 100%; opacity: 0; } }
.fx-face__dots b { position: absolute; width: 1.5cqw; height: 1.5cqw; margin: -.75cqw 0 0 -.75cqw; border-radius: 50%;
  background: radial-gradient(circle, #fff 0 12%, rgba(110, 225, 255, .95) 22%, rgba(40, 170, 255, .35) 45%, transparent 70%);
  mix-blend-mode: screen; opacity: 0; animation: fx-twinkle var(--t, 3s) var(--d, 0s) ease-in-out infinite; }
@keyframes fx-twinkle { 0%, 100% { opacity: 0; transform: scale(.4); } 45% { opacity: 1; transform: scale(1.15); } 60% { opacity: .8; transform: scale(1); } }
@keyframes fx-breathe { 0%, 100% { opacity: 0; } 50% { opacity: .55; } }

/* 화학식: 왼쪽→오른쪽으로 원자·결합이 차례로 켜짐 */
.fx-mol { left: 57.62%; top: 8.91%; width: 28.31%; height: 35.65%;
  background: url(/assets/fx/mol.png) 0 0 / 100% 100%; mix-blend-mode: screen; filter: brightness(2.4) saturate(1.3) drop-shadow(0 0 .3cqw rgba(150, 210, 255, .9));
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 22%, transparent 34%); mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 22%, transparent 34%);
  -webkit-mask-size: 300% 100%; mask-size: 300% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  animation: fx-sweep 7s linear infinite; }
@keyframes fx-sweep { 0% { -webkit-mask-position: 100% 0; mask-position: 100% 0; } 75%, 100% { -webkit-mask-position: 0 0; mask-position: 0 0; } }

/* DNA: 은은한 발광 + 나선을 따라 흐르는 빛 */
.fx-dna { left: 85.92%; top: 9.36%; width: 10.02%; height: 45.45%; }
.fx-dna__glow { background: url(/assets/fx/dna.png) 0 0 / 100% 100%; mix-blend-mode: screen; filter: blur(.25cqw); animation: fx-pulse 5s ease-in-out infinite; }
.fx-dna__flow { mix-blend-mode: screen;
  background: linear-gradient(180deg, transparent, rgba(200, 245, 255, 1) 50%, transparent) 0 -40% / 100% 22% no-repeat;
  -webkit-mask: url(/assets/fx/dna.png) 0 0 / 100% 100%; mask: url(/assets/fx/dna.png) 0 0 / 100% 100%;
  animation: fx-flow 3.6s linear infinite; }
@keyframes fx-pulse { 0%, 100% { opacity: .15; } 50% { opacity: .85; } }
@keyframes fx-flow { from { background-position: 0 -40%; } to { background-position: 0 140%; } }

/* 지문·손자국: 천천히 밝아졌다 어두워짐 */
.fx-print { left: 45.09%; top: 69.07%; width: 20.54%; height: 20.05%;
  background: url(/assets/fx/print.png) 0 0 / 100% 100%; mix-blend-mode: screen; opacity: 0; animation: fx-breathe 6s 1s ease-in-out infinite; }

.kv.is-paused *, .kv.is-paused { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  .fx { display: none; }
  .js .kv__img, .js .kv__date, .js .kv.is-ready .kv__img, .js .kv.is-ready .kv__date { animation: none; opacity: 1; -webkit-mask-image: none; mask-image: none; }
}

.hero__bar { background: linear-gradient(90deg, #03041c, #0a0f6e); border-top: 1px solid rgba(60, 195, 255, .18); }
.hero__bar-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding: 18px 0; }
.hero__summary { margin: 0; display: none; flex-direction: column; }
.hero__summary b { color: #fff; font-size: 17px; }
.hero__summary span { font-size: 14px; color: rgba(220, 234, 255, .8); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-left: auto; }
.hero__deadline { font-size: 14px; color: rgba(220, 234, 255, .8); margin-right: 8px; }
.hero__deadline b { color: var(--cyan-400); }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section--tint { background: var(--bg-tint); }
.eyebrow { margin: 0 0 6px; font-size: 13px; font-weight: 800; letter-spacing: .18em; color: var(--blue-500); }
.eyebrow--light { color: var(--cyan-400); }
.section__title { margin: 0 0 32px; font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -0.02em; color: var(--navy-800); }
.section__title--light { color: #fff; }
.section__sub { margin: -20px 0 28px; color: var(--ink-3); font-size: 14px; }

/* 행사개요 */
.overview { display: grid; grid-template-columns: 1fr 300px; gap: 32px; align-items: start; }
.overview__list { margin: 0; border-top: 2px solid var(--navy-800); }
.overview__list > div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 18px 4px; border-bottom: 1px solid var(--line); }
.overview__list dt { font-weight: 700; color: var(--navy-700); }
.overview__list dd { margin: 0; color: var(--ink-2); }
.overview__list dd.accent { font-weight: 800; color: var(--blue-500); }
.overview__stats { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.overview__stats li { background: linear-gradient(135deg, var(--navy-800), #0d1aa8); color: #fff; border-radius: var(--radius); padding: 18px 22px; display: flex; align-items: baseline; justify-content: space-between; }
.overview__stats b { font-size: 40px; font-weight: 300; color: var(--cyan-400); line-height: 1; }
.overview__stats sup { font-size: .45em; }
.overview__stats span { font-size: 15px; color: var(--ice); }

/* 주요일정 */
.dates { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.date-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 6px 24px rgba(10, 20, 80, .05); }
.date-card__tag { align-self: flex-start; font-size: 13px; font-weight: 800; color: var(--blue-500); background: #e8f1ff; padding: 4px 12px; border-radius: 999px; }
.date-card__when { margin: 0; font-size: 24px; font-weight: 800; color: var(--navy-800); letter-spacing: -0.02em; }
.date-card__desc { margin: 0 0 auto; padding-left: 18px; color: var(--ink-2); font-size: 15px; }
.date-card__desc li + li { margin-top: 4px; }
.date-card .btn { align-self: flex-start; margin-top: 8px; }

/* 등록안내 */
.table-scroll { overflow-x: auto; }
.fee-table { width: 100%; border-collapse: collapse; min-width: 520px; font-size: 16px; }
.fee-table th, .fee-table td { padding: 16px 20px; border-bottom: 1px solid var(--line); text-align: center; }
.fee-table thead th { background: var(--navy-800); color: #fff; font-weight: 700; }
.fee-table thead th:first-child { border-top-left-radius: 10px; }
.fee-table thead th:last-child { border-top-right-radius: 10px; }
.fee-table tbody th { color: var(--navy-700); background: var(--bg-tint); width: 22%; }
.fee-table td { font-variant-numeric: tabular-nums; font-weight: 600; }
.account { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 18px 22px; border-radius: var(--radius); background: #eef4ff; border: 1px solid #d5e3ff; }
.account__label { font-weight: 700; color: var(--navy-700); }
.account__num { font-size: 20px; color: var(--blue-600); letter-spacing: .01em; }
.notes { margin: 20px 0 0; padding: 0; list-style: none; color: var(--ink-2); font-size: 15px; }
.notes li { position: relative; padding-left: 16px; }
.notes li + li { margin-top: 6px; }
.notes li::before { content: "*"; position: absolute; left: 0; color: var(--blue-500); font-weight: 800; }

/* 프로그램 */
.timeline { list-style: none; margin: 0; padding: 0; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; }
.tl { display: grid; grid-template-columns: 180px 1fr; border-bottom: 1px solid var(--line); }
.tl:last-child { border-bottom: 0; }
.tl__time { padding: 22px 24px; font-weight: 800; color: var(--navy-800); font-variant-numeric: tabular-nums; background: var(--bg-tint); display: flex; flex-direction: column; }
.tl__time span { font-size: 13px; font-weight: 500; color: var(--ink-3); }
.tl__body { padding: 20px 24px; }
.tl__body h3 { margin: 0; font-size: 18px; color: var(--ink); }
.tl__body h3 small { font-size: 13px; font-weight: 500; color: var(--ink-3); margin-left: 6px; }
.tl__body p { margin: 2px 0 0; color: var(--ink-2); font-size: 15px; }
.tl__body .tl__place { color: var(--blue-500); font-weight: 600; font-size: 14px; margin-top: 4px; }
.tl__body .tl__place::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 7px 2px 1px; border-radius: 50%; background: currentColor; }
.tl--main .tl__time { background: #e9f0ff; }
.tl--keynote .tl__body h3 { color: var(--blue-600); }
.sessions { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.sessions li { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 10px 14px; border-radius: 10px; border: 1px solid color-mix(in srgb, var(--c) 30%, #fff); background: color-mix(in srgb, var(--c) 7%, #fff); }
.sessions b { grid-row: span 2; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: #fff; font-size: 14px; }
.sessions span { font-weight: 700; color: var(--c); }
.sessions em { font-style: normal; font-size: 13px; color: var(--ink-3); }

/* 기조강연 */
.keynote-section { background: radial-gradient(ellipse 60% 90% at 85% 10%, rgba(26, 40, 255, .5), transparent 70%), linear-gradient(120deg, var(--navy-900), var(--navy-700)); color: var(--ice); }
/* 포스터형: 오른쪽 정렬 일정 + 비스듬한 파란 띠 위 이름, 사진은 띠 앞에 서 있는 구성 */
.keynote { position: relative; overflow: hidden; border-radius: 20px; border: 1px solid rgba(255, 255, 255, .1);
  background:
    radial-gradient(ellipse 50% 60% at 90% 0%, rgba(60, 195, 255, .18), transparent 70%),
    linear-gradient(rgba(60, 195, 255, .06) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgba(60, 195, 255, .06) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(160deg, #0a1450, #050a2e); }
.keynote__head { padding: 44px 56px 0 0; margin-left: auto; width: min(640px, 62%); text-align: right; line-height: 1.25; }
.keynote__label { margin: 0 0 14px; font-size: 13px; font-weight: 800; letter-spacing: .2em; color: var(--cyan-400); }
.keynote__date { margin: 0; font-size: clamp(26px, 3vw, 38px); font-weight: 600; color: #fff; letter-spacing: -0.02em; }
.keynote__date b { font-size: 1.35em; font-weight: 800; }
.keynote__time { margin: 6px 0 0; font-size: clamp(26px, 3vw, 38px); font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }
.keynote__place { margin: 14px 0 0; font-size: clamp(18px, 2vw, 24px); font-weight: 700; color: var(--ice); }
.keynote__band { position: relative; margin-top: 40px; min-height: 230px; display: flex; align-items: center; padding: 28px 12% 28px 400px;
  background: linear-gradient(90deg, #1d5fc4, #3a8fe0 70%, #4aa3ec);
  clip-path: polygon(0 0, 97% 0, 90% 100%, 0 100%); }
/* 원형 프로필: 띠 위쪽 경계에 걸쳐 배치 */
.keynote__photo { position: absolute; z-index: 2; left: 64px; bottom: 32px; width: 280px; height: 340px; border-radius: 50%; overflow: hidden; background: #000;
  box-shadow: 0 0 0 6px rgba(60, 195, 255, .35), 0 20px 50px rgba(3, 5, 40, .5); }
.keynote__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.keynote__name { margin: 0 0 14px; font-size: clamp(40px, 5vw, 60px); font-weight: 800; color: #fff; letter-spacing: -0.03em; line-height: 1; }
.keynote__name span { font-size: 18px; font-weight: 600; color: #dbeeff; margin-left: 10px; letter-spacing: 0; }
.keynote__roles { list-style: none; margin: 0; padding: 0; color: #eaf4ff; font-size: clamp(15px, 1.5vw, 19px); font-weight: 600; line-height: 1.6; }

/* 행사장 안내 */
.venue-summary { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 32px; color: var(--ink-2); }
.venue-summary b { color: var(--navy-700); margin-right: 8px; }
.venue-map { position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; cursor: zoom-in; box-shadow: 0 10px 40px rgba(10, 20, 80, .08); }
.venue-map img { width: 100%; }
.venue-map__hint { position: absolute; right: 14px; bottom: 14px; background: rgba(7, 11, 53, .85); color: #fff; font-size: 13px; padding: 6px 12px; border-radius: 999px; }

/* 오시는 길 */
.location { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
.location__map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #e9eef6; min-height: 380px; }
.location__map .root_daum_roughmap { width: 100% !important; }
.location__map .root_daum_roughmap .wrap_controllers { display: none; }
.location__info h3 { margin: 0; font-size: 24px; color: var(--navy-800); }
.location__addr { margin: 6px 0 0; font-weight: 600; }
.location__tel { margin: 2px 0 20px; color: var(--ink-3); }
.route { padding: 16px 0; border-top: 1px solid var(--line); }
.route h4 { margin: 0 0 6px; font-size: 16px; color: var(--navy-700); padding-left: 12px; border-left: 3px solid var(--blue-500); line-height: 1.2; }
.route p { margin: 0; color: var(--ink-2); font-size: 15px; }
.location__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

/* Footer */
.footer { background: #00013a; color: rgba(220, 234, 255, .7); padding: 36px 0; font-size: 14px; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer__logos { width: 340px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.footer__info p { margin: 2px 0; text-align: right; }
.footer__info b { color: #fff; margin-right: 6px; }
.footer a { color: var(--ice); text-decoration: none; }
.footer a:hover { text-decoration: underline; }

/* ---------- Modal (사전등록) ---------- */
.modal { width: min(720px, 100% - 24px); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 20px; box-shadow: 0 30px 80px rgba(0, 0, 0, .4); color: var(--ink); }
.modal::backdrop, .lightbox::backdrop { background: rgba(3, 5, 26, .72); backdrop-filter: blur(3px); }
.modal[open] { animation: pop .22s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.modal__head { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 22px 28px; color: #fff; background: linear-gradient(115deg, var(--navy-800), #0d1aa8); }
.modal__eyebrow { margin: 0; font-size: 13px; color: var(--cyan-400); font-weight: 600; }
.modal__head h2 { margin: 0; font-size: 24px; }
.modal__close { border: 0; background: rgba(255, 255, 255, .12); color: #fff; width: 38px; height: 38px; border-radius: 50%; font-size: 24px; line-height: 1; }
.modal__close:hover { background: rgba(255, 255, 255, .24); }
.reg { padding: 8px 28px 28px; }
.reg fieldset { border: 0; padding: 0; margin: 20px 0 0; }
.reg legend { font-weight: 800; font-size: 16px; color: var(--navy-800); margin-bottom: 12px; padding: 0; }
.reg i { color: #e5533a; font-style: normal; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field--full { grid-column: 1 / -1; margin-top: 12px; }
.grid2 .field--full { margin-top: 0; }
.reg input[type=text], .reg input:not([type]), .reg input[type=tel], .reg input[type=email] { width: 100%; font: inherit; font-weight: 400; font-size: 15px; padding: 11px 14px; border: 1px solid #cfd8e6; border-radius: 10px; background: #fff; color: var(--ink); }
.reg input[readonly] { background: var(--bg-tint); }
.reg input:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(26, 124, 255, .18); }
.reg input.is-invalid { border-color: #e5533a; background: #fff6f4; }
.zip-row { display: flex; gap: 8px; }
.zip-row input { max-width: 140px; }
.postcode-layer { position: relative; height: 420px; border: 1px solid #cfd8e6; border-radius: 10px; overflow: hidden; }
.choice { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.choice label { position: relative; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 14px 16px; border: 1.5px solid #cfd8e6; border-radius: 12px; cursor: pointer; transition: border-color .15s, background .15s; }
.choice b { font-size: 16px; color: var(--navy-800); }
.choice small { font-size: 12px; color: var(--ink-3); line-height: 1.4; }
.choice input:checked + span { border-color: var(--blue-500); background: #eef5ff; box-shadow: 0 0 0 3px rgba(26, 124, 255, .12); }
.choice input:focus-visible + span { outline: 3px solid var(--cyan-400); outline-offset: 2px; }
.choice.is-invalid span { border-color: #e5533a; }
.sub-choice { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding: 12px 16px; background: var(--bg-tint); border-radius: 10px; font-size: 15px; }
.sub-choice > span { font-weight: 700; color: var(--navy-700); }
.sub-choice small { color: var(--ink-3); }
.sub-choice.is-invalid { box-shadow: inset 0 0 0 1.5px #e5533a; }
.check { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; font-size: 15px; cursor: pointer; }
.check input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--blue-500); }
.check small { display: block; color: var(--ink-3); font-size: 12.5px; }
.check--agree { margin-top: 20px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; }
.check--agree.is-invalid { border-color: #e5533a; }
.fee-summary { margin-top: 20px; border-radius: 12px; background: var(--navy-800); color: var(--ice); padding: 18px 20px; }
.fee-summary__empty { margin: 0; font-size: 14px; color: rgba(220, 234, 255, .7); }
.fee-summary dl { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 6px 0; font-variant-numeric: tabular-nums; }
.fee-summary dt { color: rgba(220, 234, 255, .8); }
.fee-summary dd { margin: 0; padding-left: 16px; text-align: right; font-weight: 600; color: #fff; }
.fee-summary .total { border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 10px; margin-top: 4px; font-size: 18px; font-weight: 800; color: #fff; }
.fee-summary dd.total { color: var(--cyan-400); }
.fee-summary .strike { text-decoration: line-through; color: rgba(220, 234, 255, .5); }
.fee-summary__note { margin: 12px 0 0; font-size: 13px; color: rgba(220, 234, 255, .7); }
.form-error { margin: 16px 0 0; padding: 12px 14px; border-radius: 10px; background: #fff1ee; color: #b4321c; font-size: 14px; font-weight: 600; }
.reg__actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; }
.reg-done { padding: 40px 28px; text-align: center; }
.reg-done__icon { width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; font-size: 32px; color: #fff; background: linear-gradient(135deg, var(--cyan-400), var(--blue-500)); }
.reg-done h3 { margin: 0 0 6px; font-size: 22px; color: var(--navy-800); }
.reg-done__no b { color: var(--blue-500); font-size: 18px; }
.reg-done__pay { margin: 20px auto 24px; max-width: 440px; padding: 16px; border-radius: 12px; background: var(--bg-tint); font-size: 15px; }
.reg-done__pay p { margin: 4px 0; }
.reg-done__pay b { color: var(--navy-800); }

.lightbox { width: min(1400px, 100% - 24px); max-height: calc(100vh - 24px); padding: 0; border: 0; border-radius: 12px; background: #fff; overflow: auto; }
.lightbox .modal__close { position: sticky; top: 10px; float: right; margin: 10px; background: rgba(7, 11, 53, .8); }
.lightbox img { width: 100%; min-width: 900px; }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); background: var(--navy-800); color: #fff; padding: 12px 20px; border-radius: 999px; font-size: 14px; z-index: 100; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; padding: 10px 16px 16px; background: rgba(5, 8, 40, .97); }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px; }
  .nav-toggle { display: flex; }
  .topbar__inner { gap: 10px; }
}
@media (max-width: 820px) {
  .overview { grid-template-columns: 1fr; }
  .overview__stats { grid-template-columns: repeat(3, 1fr); }
  .overview__stats li { flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px; }
  .overview__stats b { font-size: 30px; }
  .dates { grid-template-columns: 1fr; }
  .location { grid-template-columns: 1fr; }
  .footer__info p { text-align: left; }
  .hero { padding-top: 60px; }
  .hero__summary { display: flex; }
  .hero__cta { margin-left: 0; }
}
@media (max-width: 760px) {
  .keynote__head { width: auto; padding: 32px 20px 0; text-align: center; }
  .keynote__photo { position: relative; left: auto; bottom: auto; margin: 28px auto -80px; width: 210px; height: 256px; }
  .keynote__band { margin-top: 0; min-height: 0; padding: 104px 20px 30px; justify-content: center; text-align: center; clip-path: none; }
}
@media (max-width: 600px) {
  .brand__txt { display: none; }
  .hero__deadline { width: 100%; }
  .hero__cta .btn { flex: 1; }
  .overview__list > div { grid-template-columns: 1fr; gap: 2px; }
  .overview__stats { grid-template-columns: 1fr; }
  .overview__stats li { flex-direction: row; align-items: baseline; }
  .tl { grid-template-columns: 1fr; }
  .tl__time { flex-direction: row; gap: 10px; align-items: baseline; padding: 12px 18px; }
  .tl__body { padding: 14px 18px 18px; }
  .modal { width: 100%; max-height: 100dvh; height: 100dvh; border-radius: 0; margin: 0; max-width: none; }
  .modal__head, .reg { padding-inline: 18px; }
  .grid2, .choice { grid-template-columns: 1fr; }
  .reg__actions .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .modal[open] { animation: none; }
}
