:root {
  --bg: #000;
  --ink: #f4f5ff;
  --ink-2: rgba(232, 234, 255, 0.72);
  --ink-3: rgba(232, 234, 255, 0.46);
  --line: rgba(140, 150, 255, 0.18);
  --line-2: rgba(140, 150, 255, 0.32);
  --violet: #4b3fe0;
  --violet-2: #6b5cff;
  --blue: #3d7bff;
  --pink: #ff7ab8;
  --glass: rgba(18, 18, 40, 0.55);
  --danger: #ff6b8a;
  --display: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --event: 'Unbounded', 'Pretendard Variable', system-ui, sans-serif;
  --brand: 'Panchang', 'Pretendard Variable', system-ui, sans-serif;
  --sans: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  word-break: keep-all;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-intro { overflow: hidden; }
img { max-width: 100%; display: block; }
b { font-weight: 600; color: var(--ink); }
.brand { font-family: var(--brand); font-weight: 600; letter-spacing: 0.02em; }
a { color: inherit; }
a, button, label { -webkit-tap-highlight-color: transparent; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

#stars { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

.label {
  display: inline-block;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--violet-2);
  text-transform: uppercase;
}

/* 소제목(INVITATION · TIME TABLE · TO OUR DISTINGUISHED GUESTS · RESERVE YOUR SPOT) 공통 스타일 */
.section-label, .rsvp h2.section-label {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin: 0; font: 500 12px/1.4 var(--display); letter-spacing: 0.3em; text-transform: uppercase; color: var(--violet-2);
}
.section-label::before, .section-label::after { content: ''; flex: none; width: 36px; height: 1px; background: linear-gradient(90deg, transparent, var(--violet-2)); }
.section-label::after { transform: scaleX(-1); }
.rsvp h2.section-label { margin-bottom: 18px; }

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 600 16px/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary {
  color: #fff;
  background: linear-gradient(100deg, #3a2fd0, #5b4cff 45%, #7a5cff);
  box-shadow: 0 0 0 1px rgba(160, 150, 255, 0.35) inset, 0 10px 40px -10px rgba(91, 76, 255, 0.8);
}
.btn--primary::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.45) 48%, rgba(255, 170, 220, 0.35) 52%, transparent 70%);
  transform: translateX(-120%);
  animation: sheen 4.5s var(--ease) infinite 2.5s;
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(190, 180, 255, 0.6) inset, 0 16px 50px -10px rgba(110, 90, 255, 0.95); }
.btn--ghost { color: var(--ink); border-color: var(--line-2); background: rgba(255, 255, 255, 0.04); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.09); }
@keyframes sheen { 0% { transform: translateX(-120%); } 35%, 100% { transform: translateX(120%); } }

/* ---------- hero ---------- */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(56px, 10vh, 96px) 20px 40px;
  overflow: hidden;
}
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; z-index: -1; background: linear-gradient(transparent, #000); pointer-events: none; }
#orb { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.horizon {
  position: absolute;
  left: 50%;
  bottom: -62vw;
  width: 140vw;
  height: 80vw;
  transform: translateX(-50%);
  border-radius: 50%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(10, 6, 30, 1) 92%, transparent 100%);
  box-shadow: 0 -30px 120px -20px rgba(140, 70, 220, 0.45), inset 0 30px 60px -30px rgba(170, 90, 255, 0.5);
  opacity: 0;
  transition: opacity 2s var(--ease) 1.4s;
}
.is-ready .horizon { opacity: 1; }
.hero__inner { text-align: center; max-width: 760px; margin: 0 auto; }
.hero__invite { display: inline-flex; margin: 0 0 28px; }
.hero__invite i { width: 36px; height: 1px; background: linear-gradient(90deg, transparent, var(--violet-2), transparent); }
.eyebrow { font-family: var(--display); font-size: 11px; letter-spacing: 0.3em; }
.hero__title { margin: 0; display: flex; flex-direction: column; align-items: center; gap: clamp(14px, 2.4vw, 22px); }
.hero__logo { display: block; font-size: clamp(16px, 5.4vw, 46px); font-weight: 700; line-height: 1.1; letter-spacing: 0.02em; white-space: nowrap; color: #fff; text-shadow: 0 0 30px rgba(110, 90, 255, 0.35); }
.hero__event {
  font-family: var(--brand);
  font-weight: 700;
  font-size: clamp(20px, 4.7vw, 40px);
  letter-spacing: 0.01em;
  line-height: 1;
  background: linear-gradient(180deg, #ece8ff 0%, #b3a6ff 50%, #7c69ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__tagline { margin: 22px 0 0; color: var(--ink-2); font-size: clamp(14px, 1.8vw, 17px); }
.hero__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}
.hero__when strong { display: block; font-family: var(--display); font-weight: 600; font-size: clamp(22px, 4vw, 34px); letter-spacing: 0.02em; }
.hero__when strong small { font-size: 0.55em; margin-left: 4px; color: var(--ink-2); }
.hero__when span { display: block; margin-top: 6px; font-size: clamp(15px, 2vw, 19px); font-weight: 600; color: var(--ink-2); }
.skip {
  position: absolute;
  right: 20px;
  top: 20px;
  padding: 6px 12px;
  font: 500 10px/1 var(--display);
  letter-spacing: 0.2em;
  color: var(--ink-3);
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: opacity 0.5s;
}
.is-ready .skip { opacity: 0; pointer-events: none; }

/* intro sequence */
[data-step] { opacity: 0; transform: translateY(18px); filter: blur(8px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), filter 1.1s var(--ease); }
.hero__logo[data-step] { transform: scale(1.06); clip-path: inset(0 100% 0 0); transition: opacity 0.6s, transform 1.6s var(--ease), filter 1.2s var(--ease), clip-path 1.3s var(--ease); }
.step-1 [data-step='1'], .step-2 [data-step='2'], .step-3 [data-step='3'], .step-4 [data-step='4'], .step-5 [data-step='5'] { opacity: 1; transform: none; filter: none; clip-path: inset(0 0 0 0); }
.hero__event[data-step] { letter-spacing: 0.4em; transition: opacity 1.2s var(--ease), letter-spacing 1.6s var(--ease), filter 1.2s var(--ease), transform 1.2s var(--ease); }
.step-3 .hero__event { letter-spacing: 0.01em; }

/* ---------- sections ---------- */
main { position: relative; z-index: 1; }
main > section { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

.info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(40, 30, 110, 0.18), rgba(10, 10, 30, 0.4));
  backdrop-filter: blur(12px);
  margin-top: 40px !important;
}
.info__item { padding: 28px 28px 26px; display: flex; flex-direction: column; gap: 6px; }
.info__item + .info__item { border-left: 1px solid var(--line); }
.info__item strong { font-family: var(--display); font-weight: 600; font-size: clamp(18px, 2.2vw, 22px); line-height: 1.3; }
.info__item .sub { color: var(--ink-3); font-size: 14px; }

.timetable { margin-top: clamp(64px, 9vw, 100px) !important; font-family: var(--sans); }
/* TO OUR DISTINGUISHED GUESTS 와 같은 작은 보라색 라벨 */
.timetable__title { margin: 0 0 clamp(36px, 5vw, 56px); }
.timetable table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.timetable th, .timetable td { padding: 28px 32px; text-align: center; vertical-align: middle; font-family: var(--sans); }
.timetable th + th, .timetable th + td, .timetable td + td { border-left: 1px solid var(--line); }
.timetable tr + tr { border-top: 1px solid var(--line); }
.timetable thead tr { border-bottom: 1px solid var(--line-2); }
.timetable thead th { padding-top: 0; padding-bottom: 18px; font-size: 14px; font-weight: 600; letter-spacing: 0.04em; color: var(--violet-2); }
/* 시간 칸은 좁게, IR 피칭·비즈니스 매칭은 같은 너비 */
.timetable th:first-child { width: 15%; padding-left: 12px; padding-right: 12px; }
.timetable thead th:nth-child(2) { width: 42.5%; }
.timetable tbody th { font-size: clamp(16px, 1.9vw, 19px); font-weight: 600; line-height: 1.3; white-space: nowrap; }
.timetable td strong { display: block; color: var(--ink); font-size: clamp(17px, 2vw, 20px); font-weight: 600; line-height: 1.3; }
.timetable td span { display: block; margin-top: 6px; color: var(--ink-3); font-size: 14px; line-height: 1.5; }
.timetable tr.is-break th, .timetable tr.is-break td { padding-top: 20px; padding-bottom: 20px; color: var(--ink-3); font-size: 15px; font-weight: 500; }
.timetable td.is-merged { border-left: 1px solid var(--line); }
.timetable td.is-merged span + span { margin-top: 4px; }
.timetable[hidden] { display: none; }

.letter { text-align: center; padding: clamp(64px, 9vw, 100px) 0 clamp(48px, 6vw, 72px); }
.letter__body { margin: 26px auto 0; max-width: 820px; font-size: clamp(18px, 2.3vw, 24px); line-height: 1.85; font-weight: 400; color: var(--ink-2); }
.letter__body b { color: #fff; }
.letter__para { display: block; }
.letter__para + .letter__para { margin-top: 1.4em; }
.letter__body small { font-size: 0.68em; color: var(--ink-3); white-space: nowrap; }

.block {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 6vw, 80px);
  padding: clamp(56px, 8vw, 96px) 0;
  border-top: 1px solid var(--line);
}
.block__head h2, .rsvp h2, .pioneers h2 {
  margin: 14px 0 12px;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.lead { margin: 0; color: var(--ink-2); }
.block__head--center { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.block__body p { margin: 0 0 18px; color: var(--ink-2); font-size: 17px; }
.note { font-size: 13px !important; color: var(--ink-3) !important; }

/* timeline — stepped light trail like the key visual */
.timeline { list-style: none; margin: 0 0 18px; padding: 0; position: relative; }
.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, var(--blue), var(--violet-2), rgba(107, 92, 255, 0));
  box-shadow: 0 0 12px rgba(80, 110, 255, 0.8);
  transform-origin: top;
  transform: scaleY(0);
  transition: transform 1.8s var(--ease) 0.2s;
}
.is-in .timeline::before { transform: scaleY(1); }
.timeline li { position: relative; padding: 0 0 30px 40px; }
.timeline li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(61, 123, 255, 0.25), 0 0 18px 4px rgba(61, 123, 255, 0.8);
}
.timeline time {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font: 500 13px/1.4 var(--display);
  color: #a9c2ff;
  background: rgba(61, 123, 255, 0.12);
  border: 1px solid rgba(61, 123, 255, 0.35);
}
.timeline .en { display: block; margin-top: 10px; font-size: 13px; color: var(--ink-3); }
.timeline strong { display: block; font-size: 20px; font-weight: 700; }
.timeline .tl-note { display: block; font-size: 14px; color: var(--ink-3); }
.timeline .tbd { padding: 26px; border: 1px dashed var(--line-2); border-radius: 16px; color: var(--ink-2); }
.timeline .tbd::before { display: none; }

.pioneers { padding: clamp(44px, 5.5vw, 64px) 20px; border-top: 1px solid var(--line); width: 100% !important; }
.marquee { margin: 0 -20px; overflow: hidden; padding: 8px 0; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 14px; width: max-content; animation: marquee 48s linear infinite; }
.marquee--rev .marquee__track { animation-direction: reverse; animation-duration: 56s; }
.marquee__track span {
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  font: 500 clamp(14px, 1.6vw, 18px)/1 var(--display);
  white-space: nowrap;
  color: var(--ink-2);
}
.marquee__track span { display: inline-flex; align-items: center; height: 64px; padding: 0 30px; }
.marquee__track span em { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.team-logo { display: block; width: auto; filter: brightness(0) invert(1); opacity: 0.88; }
.marquee__track .team-logo { height: 26px; }
.marquee__track span:nth-child(3n + 1) { border-color: var(--line-2); }
.marquee__track span:nth-child(3n + 1) .team-logo { opacity: 1; }

@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- form ---------- */
.rsvp { padding: clamp(52px, 7vw, 80px) 0 clamp(80px, 12vw, 140px); border-top: 1px solid var(--line); }
.form {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 52px);
  border-radius: 28px;
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(30, 24, 80, 0.5), rgba(8, 8, 22, 0.75));
  backdrop-filter: blur(16px);
  box-shadow: 0 40px 120px -40px rgba(91, 76, 255, 0.5);
}
.form__glow {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--a, 0deg), transparent 0 70%, rgba(130, 110, 255, 0.9) 82%, rgba(255, 140, 200, 0.9) 86%, transparent 92%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: spin 7s linear infinite;
  pointer-events: none;
}
@property --a { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes spin { to { --a: 360deg; } }

.group { border: 0; margin: 0 0 36px; padding: 0; min-width: 0; }
.group legend { display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 18px; font-size: 17px; font-weight: 700; }
.group legend small { font-weight: 400; color: var(--ink-3); font-size: 13px; }
.num {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  font: 600 11px/1 var(--display);
  color: #c9c2ff;
  background: rgba(107, 92, 255, 0.18);
  border: 1px solid rgba(107, 92, 255, 0.4);
}
em { font-style: normal; color: var(--pink); }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--wide { grid-column: 1 / -1; }
.field__label { font-size: 14px; font-weight: 500; color: var(--ink-2); }
input, textarea {
  width: 100%;
  padding: 15px 16px;
  font: 400 16px/1.4 var(--sans);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
  resize: vertical;
}
input::placeholder, textarea::placeholder { color: rgba(232, 234, 255, 0.28); }
input:hover, textarea:hover { border-color: var(--line-2); }
input:focus, textarea:focus { border-color: var(--violet-2); background: rgba(107, 92, 255, 0.08); box-shadow: 0 0 0 4px rgba(107, 92, 255, 0.18); }
.field.has-error input { border-color: var(--danger); }
.field__error { min-height: 0; font-size: 13px; color: var(--danger); }
.field__error:empty { display: none; }
.hint { margin: -8px 0 16px; font-size: 14px; color: var(--ink-3); }

.chips, .options { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-size: 14px;
  color: var(--ink-2);
  cursor: pointer;
  user-select: none;
  transition: all 0.25s var(--ease);
}
.chip span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); transition: all 0.25s var(--ease); }
.chip:hover span { border-color: var(--line-2); color: var(--ink); }
.chip input:checked + span { color: #fff; border-color: rgba(130, 115, 255, 0.8); background: rgba(107, 92, 255, 0.22); box-shadow: 0 0 20px -4px rgba(107, 92, 255, 0.7); }
.chip input:checked + span::before { background: #fff; box-shadow: 0 0 8px 2px rgba(180, 170, 255, 0.9); }
.chip input:focus-visible + span { outline: 2px solid var(--violet-2); outline-offset: 2px; }
.options .chip span { border-radius: 12px; padding: 14px 18px; }

.privacy {
  padding: 18px 20px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.75;
}
.privacy dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 10px 0; }
.privacy dt { color: var(--ink-2); }
.privacy dd { margin: 0; }
.privacy p { margin: 0; }
.check { display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: 15px; }
.check input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.check__box {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  transition: all 0.25s var(--ease);
}
.check__box svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset 0.35s var(--ease); }
.check input:checked + .check__box { background: var(--violet-2); border-color: var(--violet-2); box-shadow: 0 0 16px rgba(107, 92, 255, 0.8); }
.check input:checked + .check__box svg { stroke-dashoffset: 0; }
.check input:focus-visible + .check__box { outline: 2px solid var(--violet-2); outline-offset: 2px; }

.hp { position: absolute; top: 0; left: 0; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.btn--submit { width: 100%; min-height: 60px; font-size: 17px; margin-top: 8px; }
.btn__spinner { display: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; animation: rot 0.8s linear infinite; }
.is-loading .btn__text { opacity: 0.6; }
.is-loading .btn__spinner { display: block; }
@keyframes rot { to { transform: rotate(360deg); } }
.form__status { margin: 14px 0 0; text-align: center; font-size: 14px; color: var(--danger); min-height: 1em; }
.closed { max-width: 640px; margin: 0 auto; text-align: center; padding: 48px 24px; border: 1px dashed var(--line-2); border-radius: 20px; }
.closed strong { font-size: 22px; }
.closed p { color: var(--ink-2); }

/* ---------- footer ---------- */
.footer { position: relative; z-index: 1; padding: 56px 20px 64px; border-top: 1px solid var(--line); text-align: center; color: var(--ink-3); font-size: 13px; }
.footer__logos { display: flex; flex-direction: column; align-items: center; gap: min(22px, 4.5vw); margin-bottom: 26px; }
.footer__row { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 14px 30px; }
.footer__gov { width: min(420px, 82vw); opacity: 0.92; }
.footer__row--orgs { flex-wrap: nowrap; gap: min(30px, 3.2vw); }
.footer__row--orgs img { width: auto; opacity: 0.88; flex: none; }
/* 각 로고의 실제 글자 높이가 달라서 눈으로 봤을 때 비슷하게 보이도록 개별 보정.
   화면이 좁아지면 줄바꿈 대신 vw 기준으로 같이 줄어들어 항상 한 줄을 유지한다. */
.org-likelion { height: min(24px, 4.4vw); }
.org-sparklabs { height: min(34px, 6.2vw); }
.org-mission { height: min(30px, 5.4vw); }
.org-thewave { height: min(32px, 5.8vw); }
.footer__links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; margin: 18px 0; }
.footer__links a { color: var(--ink-2); text-decoration: none; border-bottom: 1px solid transparent; }
.footer__links a:hover { border-color: currentColor; }

/* ---------- welcome overlay ---------- */
.welcome {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #000;
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
.welcome[hidden] { display: none; }
.welcome.is-open { opacity: 1; }
#warp { position: fixed; inset: 0; width: 100%; height: 100%; }
.welcome__inner { position: relative; width: min(460px, calc(100% - 32px)); margin: auto 0; padding: max(40px, env(safe-area-inset-top)) 0 max(40px, env(safe-area-inset-bottom)); text-align: center; }
.welcome__inner > * { opacity: 0; transform: translateY(20px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.welcome.show-text .welcome__eyebrow, .welcome.show-text .welcome__title { opacity: 1; transform: none; }
.welcome.show-pass .pass { opacity: 1; transform: none; }
.welcome.show-rest .welcome__msg, .welcome.show-rest .btn { opacity: 1; transform: none; }
.welcome__eyebrow { margin: 0; font: 500 12px/1 var(--display); letter-spacing: 0.35em; color: var(--violet-2); }
.welcome__title { margin: 16px 0 32px; font-size: clamp(28px, 7vw, 38px); line-height: 1.3; font-weight: 700; }
.welcome__msg { margin: 30px 0 26px; color: var(--ink-2); font-size: 15px; }
.welcome__msg b { word-break: break-all; }

.pass {
  position: relative;
  text-align: left;
  padding: 26px 26px 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(170, 160, 255, 0.45);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(120, 90, 255, 0.45), transparent 60%),
    radial-gradient(80% 60% at 0% 100%, rgba(61, 123, 255, 0.35), transparent 60%),
    linear-gradient(160deg, #15123a, #07071a 70%);
  box-shadow: 0 30px 90px -20px rgba(107, 92, 255, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  transform: perspective(900px) rotateX(24deg) translateY(60px) scale(0.92) !important;
  transition: opacity 1s var(--ease), transform 1.4s var(--ease) !important;
}
.welcome.show-pass .pass { transform: perspective(900px) rotateX(0) translateY(0) scale(1) !important; }
.pass__sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.28) 47%, rgba(255, 160, 220, 0.22) 52%, transparent 62%);
  transform: translateX(-130%);
  pointer-events: none;
}
.welcome.show-pass .pass__sheen { animation: passSheen 3.6s var(--ease) 0.9s infinite; }
@keyframes passSheen { 0% { transform: translateX(-130%); } 45%, 100% { transform: translateX(130%); } }
.pass__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pass__logo { font-size: 13px; font-weight: 700; white-space: nowrap; }
.pass__kind { flex: none; white-space: nowrap; font: 600 10px/1 var(--display); letter-spacing: 0.25em; padding: 6px 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.3); }
.pass__event { margin: 14px 0 22px; font: 600 22px/1.1 var(--event); }
.pass__guest { padding: 18px 0; border-top: 1px dashed rgba(255, 255, 255, 0.2); }
.pass__guest strong { display: block; margin-top: 6px; font-size: 26px; font-weight: 700; }
.pass__guest span:last-child { color: var(--ink-2); font-size: 14px; }
.pass__meta { display: grid; grid-template-columns: 1fr 1.3fr; gap: 12px; padding-bottom: 20px; }
.pass__meta strong { display: block; white-space: nowrap; margin-top: 4px; font-size: 15px; font-weight: 600; }
.pass .label { font-size: 9.5px; color: #a99fff; }
.pass__stub {
  position: relative;
  margin: 0 -26px;
  padding: 16px 26px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px dashed rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
}
.pass__stub::before, .pass__stub::after { content: ''; position: absolute; top: -11px; width: 22px; height: 22px; border-radius: 50%; background: #000; }
.pass__stub::before { left: -11px; }
.pass__stub::after { right: -11px; }
.pass__code { font: 500 11px/1 var(--display); letter-spacing: 0.18em; color: var(--ink-2); }
.pass__bars { display: flex; gap: 2px; height: 26px; align-items: stretch; }
.pass__bars i { display: block; background: rgba(255, 255, 255, 0.75); }

/* ---------- responsive ---------- */
@media (max-width: 480px) {
  .hero__invite i, .hero__invite span + i + span { display: none; }
}

@media (max-width: 760px) {
  .info { grid-template-columns: 1fr; }
  .info__item + .info__item { border-left: 0; border-top: 1px solid var(--line); }
  .info__item { padding: 22px; }
  .block { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  .horizon { bottom: -100vw; height: 130vw; width: 200vw; }
}

@media (max-width: 760px) {
  main > section { width: calc(100% - 32px); }
  .hero { padding: max(48px, env(safe-area-inset-top)) 16px max(32px, env(safe-area-inset-bottom)); }
  .hero__invite { margin-bottom: 22px; }
  .hero__tagline { margin-top: 16px; }
  .info { margin-top: 24px !important; }
  .timetable { margin-top: 56px !important; }
  .timetable th, .timetable td { padding: 20px 8px; }
  .timetable thead th { padding: 0 8px 14px; font-size: 12px; }
  .timetable th:first-child { width: 27%; }
  .timetable thead th:nth-child(2) { width: 34%; }
  .timetable tbody th { font-size: 14px; white-space: normal; }
  .timetable td strong { font-size: 15px; }
  .timetable td span { font-size: 12px; }
  .timetable tr.is-break th, .timetable tr.is-break td { padding-top: 16px; padding-bottom: 16px; font-size: 13px; }
  .letter { padding: 56px 4px 44px; }
  .letter__body { font-size: 17px; line-height: 1.9; }
  .letter__body br { display: none; }
  .block { padding: 56px 0; gap: 22px; }
  .block__head h2, .rsvp h2, .pioneers h2 { font-size: clamp(22px, 6.6vw, 28px); }
  .block__head--center { margin-bottom: 32px; }
  .block__body p { font-size: 16px; }
  .pioneers { padding: 40px 16px; }
  .marquee { margin: 0 -16px; }
  .marquee__track span { padding: 11px 20px; }
  .rsvp { padding: 48px 0 80px; }
  .form { padding: 24px 18px 26px; border-radius: 22px; }
  .group { margin-bottom: 30px; }
  .group legend { font-size: 16px; flex-wrap: wrap; row-gap: 2px; }
  .chips { gap: 8px; }
  .chip span { padding: 9px 14px; font-size: 13.5px; }
  .marquee__track span { height: 54px; padding: 0 22px; }
  .marquee__track .team-logo { transform: scale(0.85); }
  .privacy { padding: 16px; font-size: 13px; }
  .privacy dl { grid-template-columns: 1fr; gap: 0; }
  .privacy dd { margin-bottom: 6px; }
  .check { align-items: flex-start; font-size: 14px; }
  .footer { padding: 48px 16px max(48px, env(safe-area-inset-bottom)); }
  .welcome__title { margin: 12px 0 24px; }
  .pass { padding: 22px 20px 0; border-radius: 18px; }
  .pass__logo { font-size: 11px; }
  .pass__event { font-size: 20px; margin: 12px 0 18px; }
  .pass__guest strong { font-size: 22px; }
  .pass__meta { grid-template-columns: auto 1fr; gap: 10px 18px; }
  /* 좁은 폰에서 장소가 탑승권 밖으로 잘리지 않게 줄바꿈 허용(단어 단위) */
  .pass__meta strong { font-size: 14px; white-space: normal; word-break: keep-all; text-wrap: balance; }
  .pass__stub { margin: 0 -20px; padding: 14px 20px 16px; }
  .welcome__msg { margin: 24px 0 20px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
.pioneers__more { margin-top: clamp(28px, 4vw, 40px); text-align: center; }
.pioneers__more:not(:has(> a:not([hidden]))) { display: none; }
.btn[hidden] { display: none; }

/* ---------- finalists (노션 「1기 선정팀」 카드 + 상세) ---------- */
.finalists { width: min(1240px, calc(100% - 40px)) !important; margin: 0 auto clamp(64px, 8vw, 96px); }
.finalists[hidden] { display: none; }
.finalists__head { text-align: center; margin-bottom: clamp(24px, 3.5vw, 36px); }
.finalists__head h2 { margin: 12px 0 0; font: 600 clamp(24px, 3vw, 32px)/1.2 var(--sans); }
.finalists__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.division + .division { margin-top: clamp(48px, 6vw, 72px); }
.division__name {
  display: flex; align-items: center; gap: 16px; margin: 0 0 22px;
  font: 700 clamp(20px, 2.4vw, 26px)/1.2 var(--sans); color: #fff;
}
.division__name::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-2), transparent); }
.division__group + .division__group { margin-top: 28px; }
.division__field { display: flex; align-items: baseline; gap: 8px; margin: 0 0 12px; font: 600 15px/1.3 var(--sans); color: var(--violet-2); }
.division__field small { font-size: 12px; font-weight: 400; color: var(--ink-3); }
/* PC: 분야 묶음을 한 줄(5칸)에 옆으로 이어 붙인다 — 예) 피지컬 AI 3팀 + 우주·항공 2팀 */
@media (min-width: 1101px) {
  .division__groups { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px 14px; }
  /* 같은 줄의 묶음끼리 카드 높이를 맞춘다(제목 줄 + 남은 높이를 카드가 채움) */
  .division__group { grid-column: span var(--span); display: grid; grid-template-columns: subgrid; grid-template-rows: auto 1fr; row-gap: 14px; }
  .division__group + .division__group { margin-top: 0; }
  .division__group .division__field { grid-column: 1 / -1; margin: 0; }
  /* 다음 줄로 이어진 묶음은 제목 자리만 남겨 카드 높이를 맞춘다 */
  .division__field[data-cont] { visibility: hidden; }
  .division__group .finalists__grid { display: contents; }
}
.finalist {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: 14px;
  background: linear-gradient(180deg, rgba(40, 30, 110, 0.2), rgba(10, 10, 30, 0.5));
  color: inherit; text-decoration: none; overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s var(--ease);
}
.finalist:hover { transform: translateY(-4px); border-color: rgba(130, 115, 255, 0.6); box-shadow: 0 18px 50px -20px rgba(107, 92, 255, 0.7); }
.finalist__cover { aspect-ratio: 16 / 9; overflow: hidden; background: #111; border-bottom: 1px solid var(--line); }
.finalist__cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--ease); }
.finalist:hover .finalist__cover img { transform: scale(1.04); }
.finalist__body { display: flex; flex-direction: column; gap: 8px; padding: 12px 12px 14px; }
.finalist__name { display: flex; align-items: center; gap: 7px; font: 600 14.5px/1.3 var(--sans); color: #fff; }
.finalist__icon { flex: none; width: 18px; height: 18px; border-radius: 4px; object-fit: contain; background: #fff; font-size: 14px; line-height: 18px; text-align: center; }

/* 노션 태그 색 — 어두운 배경에 맞춘 버전 */
.n-tags { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; }
.n-tags:empty { display: none; }
.n-tag { padding: 3px 7px; border-radius: 5px; font-size: 11.5px; line-height: 1.25; white-space: nowrap; color: var(--ink-2); background: rgba(255, 255, 255, 0.08); }
.n-tag--blue { color: #b9d2ff; background: rgba(61, 123, 255, 0.2); }
.n-tag--yellow { color: #f2d58c; background: rgba(209, 156, 0, 0.2); }
.n-tag--green { color: #a5e3bb; background: rgba(45, 160, 90, 0.22); }
.n-tag--red { color: #ffb3b3; background: rgba(230, 70, 70, 0.2); }
.n-tag--purple { color: #d6ceff; background: rgba(107, 92, 255, 0.22); }
.n-tag--pink { color: #ffc2de; background: rgba(255, 122, 184, 0.2); }
.n-tag--orange { color: #ffcf9e; background: rgba(240, 140, 40, 0.2); }
.n-tag--brown { color: #e3c6a8; background: rgba(160, 110, 70, 0.22); }

/* 상세 보기 */
.team-view {
  position: fixed; inset: 0; z-index: 90;
  overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
  padding: clamp(16px, 5vh, 56px) 16px 64px;
  background: rgba(0, 0, 0, 0.72); backdrop-filter: blur(10px);
  opacity: 0; transition: opacity 0.3s var(--ease);
}
.team-view[hidden] { display: none; }
.team-view.is-open { opacity: 1; }
.team-view__close {
  position: fixed; top: 16px; right: 16px; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2);
  background: rgba(10, 10, 30, 0.8); color: #fff; cursor: pointer; display: grid; place-items: center;
}
.team-view__close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.team-view__close:hover { background: rgba(107, 92, 255, 0.35); }
.team-view__page {
  max-width: 960px; margin: 0 auto; overflow: hidden;
  border: 1px solid var(--line-2); border-radius: 20px;
  background: #07071a; box-shadow: 0 40px 120px -30px rgba(107, 92, 255, 0.45);
  transform: translateY(24px); transition: transform 0.4s var(--ease);
}
.team-view.is-open .team-view__page { transform: none; }
.tv-cover { height: clamp(180px, 30vw, 300px); background: #111; }
.tv-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tv-body { max-width: 820px; margin: 0 auto; padding: 0 clamp(18px, 5vw, 56px) 48px; font-family: var(--sans); }
.tv-icon { width: 78px; height: 78px; margin-top: -40px; border-radius: 12px; overflow: hidden; background: #fff; display: grid; place-items: center; font-size: 48px; position: relative; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5); }
.tv-icon img { width: 100%; height: 100%; object-fit: contain; }
.tv-title { margin: 20px 0 18px; font: 700 clamp(28px, 4vw, 40px)/1.2 var(--sans); color: #fff; }
.tv-props { margin: 0 0 8px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.tv-prop { display: grid; grid-template-columns: 150px 1fr; gap: 10px; padding: 7px 0; align-items: start; }
.tv-prop dt { display: flex; align-items: center; gap: 7px; color: var(--ink-3); font-size: 14px; line-height: 24px; }
.tv-prop dt svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; flex: none; }
.tv-prop dd { margin: 0; color: var(--ink); font-size: 14px; line-height: 1.6; min-height: 24px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.tv-prop .n-tag { font-size: 12.5px; }
.n-empty { color: var(--ink-3); }

.tv-content { color: var(--ink-2); font-size: 15.5px; line-height: 1.75; }
.tv-content b { color: #fff; font-weight: 600; }
.tv-content a { color: #b9b2ff; }
.n-h2 { margin: 36px 0 6px; font: 700 clamp(21px, 2.6vw, 25px)/1.3 var(--sans); color: #fff; }
.n-h3 { margin: 28px 0 4px; font: 700 19px/1.35 var(--sans); color: #fff; }
.n-h4 { margin: 18px 0 4px; font: 600 16px/1.4 var(--sans); color: #fff; }
.n-p { margin: 4px 0; }
.n-gap { height: 10px; }
.n-hr { border: 0; border-top: 1px solid var(--line-2); margin: 10px 0 14px; }
.n-list { margin: 4px 0; padding-left: 1.4em; }
.n-list li { margin: 3px 0; padding-left: 2px; }
.n-list li::marker { color: var(--violet-2); }
.n-indent { padding-left: 1.4em; }
.n-quote { margin: 10px 0; padding: 2px 0 2px 16px; border-left: 3px solid var(--violet-2); color: var(--ink); }
.n-callout { display: flex; gap: 12px; margin: 10px 0; padding: 14px 16px; border-radius: 10px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); color: var(--ink); }
.n-callout--blue_background { background: rgba(61, 123, 255, 0.12); border-color: rgba(61, 123, 255, 0.28); }
.n-callout__icon { flex: none; font-size: 18px; line-height: 1.6; }
.n-callout__icon svg { width: 18px; height: 18px; fill: #6aa0ff; margin-top: 5px; }
.n-callout .n-p { margin: 0; }
.n-img { margin: 14px auto; width: 100%; }
.n-img img { display: block; width: 100%; height: auto; border-radius: 8px; background: #111; }
.n-img figcaption { margin-top: 6px; font-size: 13px; color: var(--ink-3); }
.n-file { display: inline-flex; align-items: center; gap: 6px; margin: 4px 0; padding: 6px 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); color: var(--ink) !important; text-decoration: none; font-size: 14px; }
.n-file:hover { background: rgba(107, 92, 255, 0.2); }
.n-file svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; flex: none; }
.n-file--inline { margin: 0; padding: 2px 8px; font-size: 13.5px; }
.n-cols { display: flex; gap: 28px; margin: 6px 0; }
.n-col { min-width: 0; }
.n-c-gray { color: var(--ink-3); }
.n-c-blue { color: #8fb4ff; }
.n-c-red { color: #ff9a9a; }
.tv-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.tv-nav a { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); color: #fff; text-decoration: none; font-weight: 600; }
.tv-nav a:last-child { text-align: right; }
.tv-nav a:hover { border-color: rgba(130, 115, 255, 0.6); background: rgba(107, 92, 255, 0.12); }
.tv-nav small { color: var(--ink-3); font-weight: 400; font-size: 12px; }

@media (max-width: 1100px) { .finalists__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 880px) { .finalists__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .finalists { width: calc(100% - 32px) !important; }
  .finalists__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .finalist__body { padding: 10px 10px 12px; gap: 6px; }
  .finalist__name { font-size: 13px; }
  .n-tag { font-size: 10.5px; padding: 2px 6px; }
  .team-view { padding: 0; }
  .team-view__page { border-radius: 0; border: 0; min-height: 100%; }
  .team-view__close { top: 10px; right: 10px; }
  .tv-icon { width: 64px; height: 64px; margin-top: -32px; }
  .tv-prop { grid-template-columns: 104px 1fr; }
  .tv-content { font-size: 15px; }
  .n-cols { flex-direction: column; gap: 0; }
}

/* =====================================================================
   DEMO DAY 테마 — 프리데모데이와 같은 KTP 디자인 랭귀지(블랙 · 보라 · Panchang)를
   그대로 쓰되, 글로벌·항공·우주 느낌으로 블루를 한 톤 올리고 HUD(관제) 디테일을 더했다.
   ===================================================================== */
:root {
  /* 기본 글꼴은 프리텐다드. 라벨·숫자도 같은 글꼴에 고정폭 숫자만 켠다. */
  --mono: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --sky: #6b5cff; /* 2026-11-20: 소제목·라벨 보라색으로 (RSVP와 통일) */
  --line: rgba(130, 150, 255, 0.17);
  --line-2: rgba(130, 150, 255, 0.32);
}

/* 은은한 좌표 격자(화면 고정) */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(120, 140, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 140, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 80%);
}

.label { font-family: var(--mono); letter-spacing: 0.16em; color: var(--sky); }

/* 소제목: 양옆 보라색 선(2026-11-24 클라이언트 요청으로 아래 눈금 세로줄 제거) */
.section-label, .rsvp h2.section-label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.24em; color: var(--sky); }
.section-label::before, .section-label::after {
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sky));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000);
  mask-image: linear-gradient(90deg, transparent, #000);
}

/* 버튼: 블루 → 보라 */
.btn--primary {
  background: linear-gradient(100deg, #2f5cff, #4b55ff 40%, #6b5cff 75%, #8a5cff);
  box-shadow: 0 0 0 1px rgba(150, 175, 255, 0.4) inset, 0 10px 40px -10px rgba(70, 100, 255, 0.85);
}
.btn--primary:hover { box-shadow: 0 0 0 1px rgba(180, 200, 255, 0.65) inset, 0 16px 50px -10px rgba(80, 110, 255, 1); }

/* ---------- hero ---------- */
/* 헤더(INVITATION·타이틀·날짜)는 프리데모데이 RSVP와 통일 — 기본 규칙(위쪽) 그대로 사용 */
.hero__invite { font-family: var(--display); letter-spacing: 0.3em; color: var(--violet-2); }
.hero__invite::before, .hero__invite::after {
  width: 36px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--violet-2));
  -webkit-mask-image: none; mask-image: none;
}
.hero__tagline { font-size: clamp(14px, 1.7vw, 17px); text-shadow: 0 2px 18px #000; }
.hero__inner { padding-top: 20px; }

/* HUD */
.hud, .countdown, .pass__code { font-variant-numeric: tabular-nums; }
.hud { position: absolute; inset: 18px; pointer-events: none; z-index: 0; font: 500 10.5px/1.5 var(--mono); letter-spacing: 0.14em; color: rgba(170, 185, 255, 0.6); opacity: 0; transition: opacity 1.4s var(--ease) 0.3s; }
.step-5 .hud { opacity: 1; }
.hud__c { position: absolute; width: 18px; height: 18px; border: 0 solid rgba(143, 170, 255, 0.45); }
.hud__c--tl { left: 0; top: 0; border-left-width: 1px; border-top-width: 1px; }
.hud__c--tr { right: 0; top: 0; border-right-width: 1px; border-top-width: 1px; }
.hud__c--bl { left: 0; bottom: 0; border-left-width: 1px; border-bottom-width: 1px; }
.hud__c--br { right: 0; bottom: 0; border-right-width: 1px; border-bottom-width: 1px; }
.hud > div { position: absolute; display: flex; flex-direction: column; }
.hud__tl { left: 28px; top: 22px; }
.hud__tr { right: 28px; top: 22px; text-align: right; }
.hud__bl { left: 28px; bottom: 22px; }
.hud__br { right: 28px; bottom: 22px; text-align: right; }
.hud__tl span:first-child, .hud__br span:first-child { color: rgba(225, 230, 255, 0.85); }
.hud__live { display: inline-flex; align-items: center; gap: 7px; color: #ff9ccc; }
.hud__live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #ff7ab8; box-shadow: 0 0 8px #ff7ab8; animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.25; } }

/* T-MINUS 카운트다운 (event.startsAt 이 있을 때만) */
.countdown { display: inline-flex; align-items: baseline; gap: 14px; padding: 10px 18px; border: 1px solid var(--line-2); border-radius: 10px; background: rgba(10, 14, 40, 0.55); backdrop-filter: blur(8px); font-family: var(--mono); }
.countdown[hidden] { display: none; }
.countdown__label { font-size: 10px; letter-spacing: 0.22em; color: var(--sky); }
.countdown b { font-size: 20px; font-weight: 500; color: #fff; font-variant-numeric: tabular-nums; }
.countdown small { margin-left: 2px; font-size: 10px; color: var(--ink-3); }

/* info 카드: 프리데모데이 RSVP 디자인 그대로 (2026-11-20, 운항 정보판 스타일 제거) */

/* 타임테이블 시간 칸 */
.timetable thead th { color: var(--sky); font-family: var(--mono); font-weight: 500; letter-spacing: 0.1em; }

/* 폼 */
.form { border-radius: 22px; background: linear-gradient(180deg, rgba(22, 30, 90, 0.5), rgba(6, 8, 22, 0.78)); box-shadow: 0 40px 120px -40px rgba(70, 100, 255, 0.5); }
.form__glow { background: conic-gradient(from var(--a, 0deg), transparent 0 70%, rgba(110, 150, 255, 0.95) 82%, rgba(255, 140, 200, 0.85) 86%, transparent 92%); }
.num { font-family: var(--mono); border-radius: 6px; color: #cdd8ff; background: rgba(80, 110, 255, 0.16); border-color: rgba(110, 140, 255, 0.45); }
input:focus, textarea:focus { border-color: #6f8cff; background: rgba(80, 110, 255, 0.08); box-shadow: 0 0 0 4px rgba(80, 110, 255, 0.18); }
.chip input:checked + span { border-color: rgba(120, 150, 255, 0.85); background: rgba(80, 110, 255, 0.22); box-shadow: 0 0 20px -4px rgba(80, 110, 255, 0.75); }
.check input:checked + .check__box { background: #4f6bff; border-color: #4f6bff; box-shadow: 0 0 16px rgba(80, 110, 255, 0.8); }

/* ---------- boarding pass ---------- */
.welcome__eyebrow { font-family: var(--mono); letter-spacing: 0.22em; font-size: 11px; color: var(--sky); }
.pass__kind { font-family: var(--mono); letter-spacing: 0.18em; }
.pass__route { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; margin: 22px 0 6px; text-align: left; }
.pass__route > div:last-child { text-align: right; }
.pass__route strong { display: block; margin-top: 2px; font: 600 34px/1 var(--brand); letter-spacing: 0.02em; }
.pass__route small { display: block; margin-top: 4px; font: 500 10px/1 var(--mono); letter-spacing: 0.2em; color: var(--ink-3); }
.pass__plane { display: flex; align-items: center; gap: 8px; color: #ffb3d6; }
.pass__plane i { flex: 1; height: 1px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.45) 0 3px, transparent 3px 7px); }
.pass__plane svg { width: 20px; height: 20px; fill: currentColor; transform: rotate(90deg); filter: drop-shadow(0 0 6px rgba(255, 140, 200, 0.8)); }
.welcome.show-pass .pass__plane svg { animation: fly 2.4s var(--ease) 0.6s both; }
@keyframes fly { from { transform: translateX(-60px) rotate(90deg); opacity: 0; } to { transform: rotate(90deg); opacity: 1; } }
.pass__event { margin: 10px 0 18px; font-size: 18px; color: var(--ink-2); text-wrap: balance; }
.pass__code { font-family: var(--mono); }

@media (max-width: 760px) {
  .hud { inset: 12px; font-size: 9px; }
  .hud__tl, .hud__bl { left: 16px; }
  .hud__tr, .hud__br { right: 16px; }
  .hud__tl, .hud__tr { top: 16px; }
  .hud__bl, .hud__br { bottom: 14px; }
  .hud__tr, .hud__bl, .hud__br { display: none !important; }
  .countdown { gap: 10px; padding: 8px 14px; }
  .countdown b { font-size: 17px; }
  .pass__route strong { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .hud__live::before { animation: none; }
}
.hero__inner { max-width: 1100px; }
.hero__event { white-space: nowrap; }
/* 히어로 장소: 한글 줄 + 영문 줄 (2026-11-20) */
.hero__when .hero__venue-ko { margin-top: 8px; color: var(--ink); }
.hero__when .hero__venue-ko + span { margin-top: 2px; }
/* 타임테이블 프로그램 칸 (2026-11-20) */
.timetable td.tt-program span { margin-top: 0; }
.timetable td.tt-program span + span { margin-top: 2px; }
/* 글자 크기 한 단계 줄임 — 프리데모데이 분과 칸의 제목/설명 비율로 */
@media (min-width: 641px) {
  .timetable th, .timetable td { padding-top: 20px; padding-bottom: 20px; }
  .timetable tbody th { font-size: 16px; }
  .timetable td strong { font-size: 17px; }
  .timetable td span { font-size: 14px; }
}

/* 선정팀 로고 띠는 모바일에서만(PC 는 히어로 지구 양옆에 로고가 있다) */
@media (min-width: 761px) {
  .pioneers { display: none; }
}

/* ---------- 상단 KTP 홈페이지 링크 (2026-11-24) ---------- */
.site-link {
  position: absolute; z-index: 40; top: 28px; right: 40px;
  display: inline-flex; align-items: center; gap: 6px;
  height: 34px; padding: 0 14px 0 16px; border-radius: 999px;
  font: 600 13px/1 var(--sans); letter-spacing: -0.01em; color: var(--ink);
  text-decoration: none; white-space: nowrap;
  background: rgba(30, 32, 52, 0.72); border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.8s var(--ease), background 0.25s, border-color 0.25s;
}
.site-link[hidden] { display: none; }
.site-link svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: 0.7; transition: transform 0.25s var(--ease); }
.is-ready .site-link { opacity: 1; pointer-events: auto; }
.site-link:hover { background: rgba(48, 44, 96, 0.85); border-color: rgba(130, 115, 255, 0.5); }
.site-link:hover svg { transform: translate(1px, -1px); }
.site-link:focus-visible { outline: 2px solid var(--violet-2); outline-offset: 3px; }
/* 홈페이지 링크가 있으면 HUD 오른쪽 위 좌표(경도·위도)는 숨긴다 — 2026-11-24 요청 */
body:has(.site-link:not([hidden])) .hud__tr { display: none; }
@media (max-width: 760px) {
  .site-link { top: 14px; right: 14px; height: 30px; padding: 0 11px 0 13px; font-size: 12px; }
}

/* ---------- 참가자 경품 (2026-11-24) ---------- */
.prizes { width: min(1040px, calc(100% - 40px)) !important; margin: 0 auto clamp(64px, 8vw, 96px); }
.prizes[hidden] { display: none; }
.prizes h2.section-label { margin: 0; font: 500 12px/1.4 var(--mono); letter-spacing: 0.24em; color: var(--sky); }
.prizes__title { margin: 12px 0 10px; font: 600 clamp(24px, 3vw, 32px)/1.2 var(--sans); color: #fff; }
.prizes .lead { word-break: keep-all; white-space: pre-line; }
.prizes__grid { list-style: none; margin: clamp(24px, 3.5vw, 36px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.prize { display: flex; flex-direction: column; text-align: center; }
.prize__media {
  position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; border-bottom: 1px solid var(--line);
  overflow: visible; border-bottom: 0; isolation: isolate;
  /* 상품 뒤 후광: 흰 코어 + 보라 헤일로 (2026-11-24 "더 빛나게") */
  background:
    radial-gradient(30% 34% at 50% 50%, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0) 70%),
    radial-gradient(52% 56% at 50% 52%, rgba(150, 130, 255, 0.32), rgba(110, 90, 255, 0.08) 60%, transparent 78%);
}
/* 바닥 반사광 */
.prize__media::after {
  content: ''; position: absolute; z-index: -1; left: 50%; bottom: 6%; width: 62%; height: 12%; translate: -50% 0;
  background: radial-gradient(50% 50% at 50% 50%, rgba(200, 190, 255, 0.45), rgba(120, 100, 255, 0.12) 60%, transparent 75%);
  filter: blur(4px); pointer-events: none;
}
.prize__media img {
  filter: drop-shadow(0 0 22px rgba(190, 175, 255, 0.45)) drop-shadow(0 16px 18px rgba(0, 0, 0, 0.55)) brightness(1.06) saturate(1.08);
  animation: prize-float 4.2s ease-in-out infinite alternate;
}
.prize:nth-child(2) .prize__media img { animation-delay: -1.1s; }
.prize:nth-child(3) .prize__media img { animation-delay: -2.2s; }
.prize:nth-child(4) .prize__media img { animation-delay: -3.3s; }
@keyframes prize-float { from { translate: 0 4px; } to { translate: 0 -6px; } }
/* 반짝이 */
.prize__spark { position: absolute; z-index: 2; width: 14px; height: 14px; pointer-events: none; opacity: 0;
  background: radial-gradient(circle, #fff 0 1.5px, transparent 2.5px), linear-gradient(90deg, transparent 45%, rgba(255,255,255,0.95) 50%, transparent 55%), linear-gradient(0deg, transparent 45%, rgba(255,255,255,0.95) 50%, transparent 55%);
  filter: drop-shadow(0 0 4px rgba(210, 200, 255, 0.95));
  animation: prize-twinkle 2.8s ease-in-out infinite; }
.prize__spark:nth-of-type(1) { top: 16%; left: 22%; }
.prize__spark:nth-of-type(2) { top: 30%; right: 18%; width: 10px; height: 10px; animation-delay: 0.9s; }
.prize__spark:nth-of-type(3) { bottom: 22%; left: 30%; width: 9px; height: 9px; animation-delay: 1.8s; }
.prize:nth-child(even) .prize__spark { animation-delay: 1.4s; }
@keyframes prize-twinkle { 0%, 100% { opacity: 0; transform: scale(0.4) rotate(0deg); } 50% { opacity: 1; transform: scale(1) rotate(45deg); } }
@media (prefers-reduced-motion: reduce) {
  .prize__media img, .prize__spark { animation: none; }
  .prize__spark { opacity: 0.7; }
}
.prize__media:has(svg) { background: radial-gradient(60% 70% at 50% 55%, rgba(107, 92, 255, 0.22), transparent 70%), rgba(255, 255, 255, 0.02); }
.prize__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 9%; box-sizing: border-box; transition: transform 0.5s var(--ease); }
.prize:hover .prize__media img { transform: scale(1.06); }
.prize__media svg { width: 34%; fill: none; stroke: #b6adff; stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }
.prize__body { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 6px 8px 0; }
.prize__brand { font: 500 12px/1.3 var(--sans); letter-spacing: 0.02em; color: var(--ink-3); }
.prize__name { font: 600 15px/1.4 var(--sans); color: #fff; word-break: keep-all; text-wrap: balance; }
.prize__count { margin-top: auto; padding-top: 4px; font: 600 15px/1.3 var(--sans); color: var(--violet-2); }

/* 해비치 — 카드 두 장 겹침, 호버하면 벌어짐 (해비치 멤버십 페이지 느낌) */
.prize__cards { position: absolute; inset: 0; display: grid; place-items: center; }
.prize__media .prize__card {
  position: absolute; inset: auto; width: 64%; height: auto; aspect-ratio: 540 / 320; padding: 0; object-fit: cover;
  border-radius: 9px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  transition: transform 0.5s var(--ease), filter 0.5s var(--ease);
  transform: translate(3%, 2%) rotate(3deg);
}
.prize__media .prize__card--back { filter: brightness(0.72) saturate(0.95) drop-shadow(0 12px 16px rgba(0, 0, 0, 0.5)); transform: translate(-6%, -7%) rotate(-5deg); }
.prize:hover .prize__media .prize__card { transform: translate(9%, 5%) rotate(6deg); }
.prize:hover .prize__media .prize__card--back { transform: translate(-13%, -11%) rotate(-10deg); }
@media (max-width: 760px) {
  .prizes { width: calc(100% - 32px) !important; }
  .prizes__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .prize__body { padding: 4px 4px 0; }
  .prize__name { font-size: 14.5px; }
}
