/* =============================================
   XRM 2027 – Core Styles (Light Theme)
   ============================================= */

@font-face {
  font-family: 'Geist';
  src: url('fonts/Geist-Variable.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: block;
}
@font-face {
  font-family: 'Pretendard';
  src: url('fonts/PretendardVariable.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: block;
  unicode-range: U+1100-11FF, U+3130-318F, U+A960-A97F, U+AC00-D7FF, U+FFA0-FFDC;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }

/* ── Tokens ── */
:root {
  --bg:      #ffffff;
  --bg2:     #f3f4f8;
  --card:    #ffffff;
  --border:  rgba(0,0,0,.09);
  --primary: #4f46e5;
  --primary2: #6366f1;
  --accent:  #7c3aed;
  --text:    #1e1b4b;
  --muted:   #6b7280;
  --white:   #ffffff;
  --sky:     #e0e7ff;

  --font-sans: 'Geist', 'Pretendard', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --font-display: var(--font-sans);

  --radius-sm: 8px;
  --panel-radius: 0;

  --shadow-sm: 0 2px 12px rgba(79,70,229,.08), 0 1px 4px rgba(0,0,0,.06);
  --shadow-md: 0 6px 28px rgba(79,70,229,.12), 0 2px 8px rgba(0,0,0,.07);
  --shadow-lg: 0 16px 56px rgba(79,70,229,.14), 0 4px 16px rgba(0,0,0,.08);
  --glow:      0 0 40px rgba(99,102,241,.18);

  --section-pad: 5rem;
  --container-max: 1200px;
}

/* ── Base ── */
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  -webkit-text-fill-color: initial;
}

html[lang="ko"] .lang-en, html[lang="en"] .lang-ko { display: none !important; }
time { font-variant-numeric: tabular-nums; }

/* ── Container ── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--page-gutter);
}

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(238, 242, 255, 0.95) 50%, rgba(224, 231, 255, 0.95) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition: transform .3s ease;
  box-shadow: 0 1px 12px rgba(0,0,0,.06);
}
.navbar.hidden { transform: translateY(-100%); }

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 78px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #312e81, #e567dd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.nav-links li a {
  display: block;
  padding: .45rem .8rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: #374151;
  border-radius: var(--radius-sm);
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav-links li a:hover { color: #4f46e5; background: rgba(79, 70, 229, 0.07); }
.nav-links li a.active { color: #4f46e5; background: rgba(79, 70, 229, 0.1); }
.nav-links li a.btn-nav {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: .45rem 1.3rem;
  margin-left: .5rem;
}
.nav-links li a.btn-nav:hover { opacity: .88; }

.lang-toggle-wrap {
  display: flex;
  align-items: center;
  gap: .3rem;
  margin-left: .8rem;
  padding-left: .8rem;
  border-left: 1px solid rgba(0, 0, 0, 0.15);
}
.lang-btn {
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .05em;
  padding: .4rem .65rem;
  border-radius: 4px;
  color: #6b7280;
  background: transparent;
  transition: .15s;
}
.lang-btn:hover { color: #4f46e5; background: rgba(79, 70, 229, 0.08); }
.lang-btn.active { background: rgba(79, 70, 229, 0.1); color: #4f46e5; }
.lang-divider { color: #d1d5db; }

.nav-toggle {
  display: none;
  font-size: 1.55rem;
  color: #1e1b4b;
  padding: .45rem .65rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0,0,0,.15);
}

/* ── Gradient text ── */
.gradient-text {
  background: linear-gradient(135deg, #4f46e5, #7c3aed, #db2777);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.8rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  font-weight: 700;
  font-size: .9rem;
  border-radius: var(--radius-sm);
  transition: opacity .2s, transform .2s;
  box-shadow: 0 4px 20px rgba(99,102,241,.35);
}
.btn-primary:hover { opacity: .88; transform: translateY(-1px); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.8rem;
  background: rgba(255,255,255,.06);
  color: var(--text);
  font-weight: 600;
  font-size: .9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: background .2s;
}
.btn-secondary:hover { background: rgba(255,255,255,.1); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.5rem;
  background: transparent;
  color: var(--primary2);
  font-weight: 600;
  font-size: .85rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(99,102,241,.4);
  transition: background .2s, border-color .2s;
}
.btn-outline:hover { background: rgba(99,102,241,.1); border-color: var(--primary); }

/* ── Page Hero ── */
.page-hero {
  position: relative;
  margin-top: 78px;
  padding: 6rem 0 5rem;
  background-color: #1e1b4b;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: none;
  text-align: center;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.75) 0%, rgba(49, 46, 129, 0.6) 100%);
  pointer-events: none;
}
.page-hero-label {
  position: relative;
  z-index: 2;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #a5b4fc;
  margin-bottom: 1.2rem;
}
.page-hero h1 {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.02em;
  color: #ffffff;
  margin-bottom: 1rem;
}
.page-hero p {
  position: relative;
  z-index: 2;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ── Hero ── */
.hero {
  position: relative;
  margin-top: 78px;
  min-height: 12vh;
  padding: 1.2rem 0 1rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, #1e1b4b 0%, #312e81 45%, #4c1d95 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('img/hero_bg_xrm2027.png');
  background-size: cover;
  background-position: center;
  opacity: 1;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.3) 0%, rgba(30, 27, 75, 0.65) 100%),
              radial-gradient(ellipse at 20% 70%, rgba(99,102,241,.3) 0%, transparent 55%),
              radial-gradient(ellipse at 80% 20%, rgba(219,39,119,.2) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 2rem 5rem;
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
}
.hero-eyebrow {
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--primary2);
  margin-bottom: 1.5rem;
  font-weight: 600;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.03em;
  color: var(--white);
  max-width: 900px;
  margin-bottom: 2rem;
}
.hero-theme {
  font-size: clamp(.95rem, 1.5vw, 1.1rem);
  color: var(--muted);
  max-width: 600px;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  padding-left: 1rem;
  border-left: 2px solid rgba(99,102,241,.5);
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.hero-meta-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  color: var(--muted);
}
.hero-meta-item strong { color: var(--white); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ── Stats ── */
.stats-strip { background: linear-gradient(135deg, #312e81 0%, #4f46e5 100%); border-top: none; border-bottom: none; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.stat-item { padding: 2.5rem 2rem; text-align: center; border-right: 1px solid rgba(255,255,255,.12); }
.stat-item:last-child { border-right: none; }
.stat-num { font-family: var(--font-display); font-size: clamp(1.8rem,3vw,2.8rem); font-weight: 800; color: #ffffff; }
.stat-label { font-size: .72rem; color: rgba(255,255,255,.6); margin-top: .5rem; letter-spacing: .06em; text-transform: uppercase; }

/* ── Section ── */
section { padding: var(--section-pad) 0; }

.section-label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 1rem;
}
.section-desc {
  font-size: 1rem;
  color: var(--muted);
  max-width: 540px;
  line-height: 1.8;
}
.highlight { color: var(--primary); }

/* ── Coming soon ── */
.coming-soon-notice {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  border-radius: var(--panel-radius);
  padding: .9rem 1.2rem;
  font-size: .85rem;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 3rem;
}

/* ── Cards ── */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 1.25rem;
}
.about-card {
  padding: 1.8rem;
  border-radius: var(--panel-radius);
  background: var(--card);
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.about-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(79,70,229,.25); }
.about-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: #eef2ff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
}
.about-card h3 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: .5rem; }
.about-card p { font-size: .85rem; color: var(--muted); line-height: 1.75; }

/* ── Program items ── */
.program-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 1.25rem; }
.program-item {
  padding: 1.8rem;
  border-radius: var(--panel-radius);
  background: var(--card);
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.program-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(79,70,229,.25); }
.program-item-icon { width: 28px; height: 28px; margin-bottom: 1rem; }
.program-item-icon svg { width: 100%; height: 100%; }
.program-sub { font-size: .80rem; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); margin-bottom: .5rem; font-weight: 600; }
.program-item h3 { font-size: .95rem; font-weight: 700; color: var(--text); margin-bottom: .5rem; }
.program-item p { font-size: .84rem; color: var(--muted); line-height: 1.75; }

/* ── Speakers ── */
.speakers-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(190px,1fr)); gap: 1.25rem; }
.speaker-card {
  padding: 2rem 1.5rem;
  border-radius: var(--panel-radius);
  background: var(--card);
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform .25s, box-shadow .25s;
}
.speaker-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.speaker-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: #eef2ff;
  border: 2px solid #c7d2fe;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.speaker-card h4 { font-size: .9rem; font-weight: 700; color: var(--text); margin-bottom: .3rem; }
.speaker-card p { font-size: .78rem; color: var(--muted); }
.speaker-tag {
  display: inline-block;
  margin-top: .65rem;
  padding: .2rem .65rem;
  font-size: .63rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #6b7280;
  background: #f3f4f6;
  border-radius: 100px;
  border: 1px solid #e5e7eb;
}

/* ── Deadlines ── */
.deadline-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap: 1rem; margin: 1.5rem 0; }
.deadline-item {
  padding: 1.3rem 1.5rem;
  border-radius: var(--panel-radius);
  background: var(--card);
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: var(--shadow-sm);
  transition: border-color .2s, box-shadow .2s;
}
.deadline-item:hover { border-color: rgba(79,70,229,.3); box-shadow: var(--shadow-md); }
.deadline-label { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .4rem; }
.deadline-date { font-size: 1rem; font-weight: 700; color: var(--text); }

/* ── Topic pills ── */
.theme-topics { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.5rem 0; }
.topic-pill {
  padding: .4rem 1rem;
  font-size: .8rem;
  font-weight: 500;
  border-radius: 100px;
  border: 1px solid #e0e7ff;
  color: #4338ca;
  background: #eef2ff;
  transition: all .2s;
  cursor: default;
}
.topic-pill:hover { background: #4f46e5; border-color: #4f46e5; color: #ffffff; }

/* ── Info box ── */
.info-box {
  border-radius: var(--panel-radius);
  border: 1px solid #c7d2fe;
  background: #eef2ff;
  padding: 1.75rem 2rem;
  margin-bottom: 2rem;
}
.info-box h3 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: .5rem; }
.info-box p { font-size: .9rem; color: var(--muted); line-height: 1.8; }

/* ── Direction cards ── */
.direction-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 1.25rem; }
.direction-card {
  padding: 2rem;
  border-radius: var(--panel-radius);
  background: var(--card);
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.direction-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(79,70,229,.25); }
.direction-num { font-size: .7rem; letter-spacing: .12em; color: var(--primary); font-weight: 600; margin-bottom: .9rem; opacity: .7; }
.direction-card h3 { font-size: .98rem; font-weight: 700; color: var(--text); margin-bottom: .55rem; }
.direction-card p { font-size: .84rem; color: var(--muted); line-height: 1.75; }

/* ── Registration cards ── */
.reg-cards { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 1.25rem; margin: 2rem 0; }
.reg-card {
  padding: 2.2rem 2rem;
  border-radius: var(--panel-radius);
  background: var(--card);
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform .25s, box-shadow .25s;
}
.reg-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.reg-card.featured { background: linear-gradient(135deg, #4f46e5, #7c3aed); border-color: transparent; box-shadow: 0 8px 32px rgba(79,70,229,.35); }
.reg-type { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .8rem; font-weight: 600; }
.reg-card.featured .reg-type { color: rgba(255,255,255,.65); }
.reg-price { font-size: 2rem; font-weight: 800; letter-spacing: -.03em; color: var(--text); margin-bottom: 1.5rem; }
.reg-card.featured .reg-price { color: #ffffff; }
.reg-features { margin: 1rem 0 1.5rem; display: flex; flex-direction: column; gap: .5rem; }
.reg-features li { font-size: .83rem; color: var(--muted); }
.reg-card.featured .reg-features li { color: rgba(255,255,255,.75); }
.reg-badge {
  position: absolute; top: 1.2rem; right: 1.2rem;
  font-size: .6rem; letter-spacing: .1em; text-transform: uppercase;
  padding: .22rem .6rem;
  background: linear-gradient(135deg,var(--primary),var(--accent));
  color: var(--white); border-radius: 100px; font-weight: 600;
}

/* ── Sponsor logos ── */
.sponsor-logos-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(190px,1fr)); gap: 1.1rem; margin: 2rem 0; }
.sponsor-logo-placeholder {
  display: flex; align-items: center; justify-content: center;
  height: 90px;
  border-radius: var(--panel-radius);
  border: 1.5px dashed #c7d2fe;
  font-size: .66rem; letter-spacing: .1em; color: #a5b4fc;
  text-transform: uppercase; background: #f5f5ff;
}

/* ── Map placeholder ── */
.map-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem;
  height: 220px; border-radius: var(--panel-radius); border: 1.5px dashed #c7d2fe;
  background: #f5f5ff; font-size: .85rem; color: var(--muted); margin: 2rem 0;
}

/* ── Venue info ── */
.venue-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-bottom: 2rem; }
.venue-info-card {
  padding: 2rem; border-radius: var(--panel-radius);
  background: var(--card); border: 1px solid rgba(0,0,0,.08);
  box-shadow: var(--shadow-sm);
  transition: border-color .2s, box-shadow .2s;
}
.venue-info-card:hover { border-color: rgba(79,70,229,.25); box-shadow: var(--shadow-md); }
.venue-info-card h4 { font-size: .9rem; font-weight: 700; color: var(--text); margin-bottom: .75rem; }
.venue-info-card p, .venue-info-card a { font-size: .85rem; color: var(--muted); line-height: 1.8; }
.venue-info-card a:hover { color: var(--primary); }

/* ── Seoul banner ── */
.seoul-banner { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--panel-radius); overflow: hidden; box-shadow: var(--shadow-lg); margin-top: 2rem; }
.seoul-img img { width: 100%; height: 100%; object-fit: cover; min-height: 380px; }
.seoul-text {
  padding: 3.5rem;
  display: flex; flex-direction: column; justify-content: center;
  background: #f5f5ff; border-left: 1px solid #e0e7ff;
}
.seoul-text h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: var(--text); margin-bottom: 1rem; }
.seoul-text p { font-size: .9rem; color: var(--muted); line-height: 1.85; margin-bottom: .75rem; }

/* ── Mailing form ── */
.mailing-form { display: flex; gap: .6rem; max-width: 460px; }
.mailing-form input {
  flex: 1; padding: .75rem 1rem;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: var(--radius-sm);
  font: inherit; font-size: .9rem;
  background: rgba(255,255,255,.12); color: var(--white);
  outline: none; transition: border-color .2s;
}
.mailing-form input::placeholder { color: rgba(255,255,255,.45); }
.mailing-form input:focus { border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.18); }
.mailing-form button {
  padding: .75rem 1.4rem;
  background: #ffffff;
  color: var(--primary); font-size: .85rem; font-weight: 700;
  border-radius: var(--radius-sm); white-space: nowrap; transition: opacity .2s;
}
.mailing-form button:hover { opacity: .9; }
.mailing-success { margin-top: .8rem; font-size: .85rem; color: #a7f3d0; font-weight: 500; }

/* ── Footer ── */
.footer { background: #1e1b4b; border-top: none; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; padding: 4rem 0 3rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .nav-logo { margin-bottom: .8rem; display: block; }
.footer-brand p { font-size: .82rem; color: rgba(255,255,255,.45); line-height: 1.75; }
.footer-links h4, .footer-newsletter h4 { font-size: .75rem; letter-spacing: var(--label-tracking); text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: .85rem; font-weight: 500; }
.footer-links ul { display: flex; flex-direction: column; gap: .65rem; }
.footer-links a { font-size: .83rem; color: rgba(255,255,255,.5); transition: color .15s; }
.footer-links a:hover { color: var(--white); }
.footer-newsletter p { font-size: .83rem; color: rgba(255,255,255,.5); }
.footer-bottom { padding: 1.5rem 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
.footer-bottom p { font-size: .77rem; color: rgba(255,255,255,.25); }
.footer-note { font-size: .65rem !important; }

/* ── Fade-in ── */
.fade-in { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.visible { opacity: 1; transform: none; }

/* ── Utilities ── */
.bg-cream { background: #f5f5ff; }
.bg-white { background: var(--bg); }
.text-center { text-align: center; }
.section-mono { font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--primary); margin-bottom: 1rem; }
.intro-split { display: grid; grid-template-columns: 1fr 1.7fr; gap: 5rem; align-items: start; margin-bottom: 4rem; }

/* ── Responsive ── */

@media (max-width: 1200px) {
  .nav-logo { font-size: 1.7rem; }
  .nav-links li a { font-size: 1rem; padding: .4rem .6rem; }
  .lang-btn { font-size: .85rem; padding: .3rem .5rem; }
}

@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .intro-split { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 1023px) {
  .nav-links { display: none; position: absolute; top: 78px; left: 0; right: 0; height: calc(100vh - 78px); bottom: auto; flex-direction: column; align-items: stretch; background: #eef2ff; padding: 1rem; gap: .3rem; overflow-y: auto; z-index: 999; box-shadow: var(--shadow-lg); }
  .nav-links.open { display: flex; }
  .nav-links li a { padding: .7rem 1rem; border-radius: var(--radius-sm); }
  .lang-toggle-wrap { justify-content: center; border-left: none; border-top: 1px solid rgba(0,0,0,.1); padding-top: .8rem; margin-left: 0; }
  .nav-toggle { display: block; }
}
@media (max-width: 768px) {
  :root { --section-pad: 3.5rem; }
  .hero-title { font-size: 2.4rem; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .about-grid, .program-grid, .direction-grid { grid-template-columns: 1fr; }
  .speakers-grid { grid-template-columns: repeat(2,1fr); }
  .deadline-grid { grid-template-columns: 1fr 1fr; }
  .reg-cards { grid-template-columns: 1fr; }
  .seoul-banner { grid-template-columns: 1fr; }
  .seoul-img { display: none; }
  .venue-info-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 0 2rem; }
  .mailing-form { flex-direction: column; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .speakers-grid { grid-template-columns: 1fr; }
  .deadline-grid { grid-template-columns: 1fr; }
}

/* =============================================
   XRM 2027 Professional Event Redesign
   ============================================= */
:root {
  --bg: #f8f8ff;
  --bg2: #eef0ff;
  --card: #ffffff;
  --border: #d9d9ee;
  --primary: #4f46e5;
  --primary2: #7c3aed;
  --accent: #ec4899;
  --text: #17143f;
  --muted: #62677e;
  --white: #ffffff;
  --sky: #dfe7ff;

  --radius-sm: 6px;

  --shadow-sm: 0 1px 0 rgba(17, 24, 39, .06);
  --shadow-md: 0 16px 36px rgba(17, 24, 39, .08);
  --shadow-lg: 0 28px 70px rgba(17, 24, 39, .14);

  --section-pad: 6rem;
  --container-max: 1180px;
  --page-gutter: clamp(1.25rem, 3vw, 2rem);
  --heading-gap: clamp(1.25rem, 2vw, 1.75rem);
  --prose-leading: 1.7;
  --label-tracking: .065em;
}

html { background: var(--bg); }
html[lang="ko"] { --prose-leading: 1.75; --label-tracking: .015em; }

body {
  background:
    linear-gradient(90deg, rgba(79,70,229,.045) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(180deg, #f8f8ff 0%, #f3f5ff 100%);
  color: var(--text);
  letter-spacing: 0;
}

body::selection { background: #ddd6fe; color: #17143f; }

.container,
.nav-container,
.hero-content {
  max-width: var(--container-max);
}

.navbar {
  background: rgba(248, 248, 255, .94);
  border-bottom: 1px solid rgba(23, 20, 63, .12);
  box-shadow: none;
}

.nav-container { height: 72px; padding-inline: var(--page-gutter); }

.nav-logo,
.footer .nav-logo {
  color: var(--text);
  background: none;
  -webkit-text-fill-color: currentColor;
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: 0;
}

.nav-logo span,
.footer .nav-logo span {
  color: #2563eb;
  -webkit-text-fill-color: currentColor !important;
}

.footer .nav-logo {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.footer .nav-logo span {
  color: #60a5fa !important;
  -webkit-text-fill-color: #60a5fa !important;
}

.nav-links { gap: .2rem; }

.nav-links li a {
  color: #28264b;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 700;
  padding: .45rem .75rem;
}

.nav-links li a:hover,
.nav-links li a.active,
.lang-btn:hover,
.lang-btn.active {
  color: #312e81;
  background: rgba(124, 58, 237, .1);
}

.nav-links li a.btn-nav,
.btn-primary {
  background: linear-gradient(135deg, #312e81 0%, #4f46e5 48%, #ec4899 100%);
  color: #fff;
  border: 0;
  box-shadow: none;
}

.nav-links li a.btn-nav:hover,
.btn-primary:hover {
  background: linear-gradient(135deg, #1e1b4b 0%, #6d28d9 50%, #db2777 100%);
  opacity: 1;
  transform: translateY(-1px);
}

.lang-toggle-wrap {
  border-left-color: rgba(17, 24, 39, .14);
}

.lang-btn {
  color: #6a7280;
  letter-spacing: .02em;
}

.nav-toggle {
  color: var(--text);
  border-color: rgba(23, 20, 63, .18);
  background: #fff;
}

.hero {
  margin-top: 72px;
  min-height: clamp(560px, 78svh, 760px);
  padding: 0;
  background: #1e1b4b;
  isolation: isolate;
}

.hero-bg {
  opacity: .66;
  filter: saturate(.95) contrast(1.04);
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(17, 15, 61, .9) 0%, rgba(49, 46, 129, .66) 48%, rgba(79, 70, 229, .2) 100%),
    linear-gradient(180deg, rgba(17, 15, 61, .16), rgba(30, 27, 75, .78));
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 12px;
  background: linear-gradient(90deg, #ec4899 0%, #7c3aed 46%, #06b6d4 100%);
  z-index: 3;
}

.hero-content {
  padding: clamp(4rem, 6vw, 6.5rem) var(--page-gutter) clamp(4.25rem, 6vw, 6rem);
}

.hero-title {
  max-width: 820px;
  color: #fff !important;
  background: none !important;
  -webkit-text-fill-color: #fff !important;
  filter: none !important;
  font-size: clamp(3rem, 8vw, 7.2rem) !important;
  line-height: 1.04 !important;
  letter-spacing: -.025em !important;
  margin-bottom: 1.6rem !important;
}

.hero-title span:not(.lang-ko):not(.lang-en) {
  color: #f472b6 !important;
  -webkit-text-fill-color: #f472b6 !important;
}

.hero-meta {
  gap: .7rem !important;
  margin-bottom: 1.5rem !important;
}

.hero-meta-item {
  padding: .5rem .75rem;
  border: 1px solid rgba(255,255,255,.26);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
  border-radius: 999px;
}

.hero-meta-item svg { stroke: #a5b4fc !important; }
.hero-meta-item span { color: rgba(255,255,255,.9) !important; font-size: .86rem !important; }

.hero-content > p {
  max-width: 760px !important;
  color: rgba(255,255,255,.9) !important;
  text-shadow: none !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
}

.hero-theme-line {
  display: block;
}

.hero-theme-phrase {
  display: inline-block;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .hero-theme-line > .hero-theme-phrase {
    display: block;
  }
}

.hero-actions { gap: .75rem; }

.btn-primary,
.btn-secondary,
.btn-outline {
  min-height: 44px;
  border-radius: 999px;
  padding: .76rem 1.2rem;
  font-size: .86rem;
  font-weight: 800;
}

.btn-primary,
.nav-links li a.btn-nav {
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.22),
    0 10px 26px rgba(79,70,229,.22);
}

.btn-primary::after,
.nav-links li a.btn-nav::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,.12);
  pointer-events: none;
}

.btn-secondary {
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,.38);
}

.btn-secondary:hover {
  background: rgba(255,255,255,.16);
}

.btn-outline,
a[style*="background:#eef2ff"] {
  color: #312e81 !important;
  background: #eef2ff !important;
  border: 1px solid #c7d2fe !important;
  border-radius: 999px !important;
}

.btn-outline:hover,
a[style*="background:#eef2ff"]:hover {
  background: #e0e7ff !important;
  border-color: #a5b4fc !important;
}

section:not(.hero):not(.page-hero):not(#mailing):not(.home-program):not(.venue-stay),
body[data-page="home"] section:not(.hero):not(.page-hero):not(#mailing):not(.home-program)[style*="background:#fff"],
body[data-page="home"] section:not(.hero):not(.page-hero):not(#mailing):not(.home-program)[style*="background:#f5f5ff"] {
  background: transparent !important;
}

body[data-page="home"] section:not(.hero) {
  border-bottom: 1px solid rgba(49, 46, 129, .11);
}

body[data-page="home"] .section-reading-area > section:not(.home-program):nth-of-type(odd) {
  background: rgba(255,255,255,.55) !important;
}

.section-title {
  color: var(--text) !important;
  font-size: clamp(1.85rem, 3vw, 3.15rem) !important;
  line-height: 1.05 !important;
  letter-spacing: 0 !important;
  font-weight: 900 !important;
}

body[data-page="home"] section > .container > div:first-child h2::before,
body[data-page="home"] section > .container > h2::before,
.section-title::before {
  content: "";
  display: block;
  width: 42px;
  height: 4px;
  margin-bottom: .9rem;
  background: linear-gradient(90deg, #ec4899 0%, #7c3aed 50%, #06b6d4 100%);
}

body[data-page="home"] section > .container > p,
.section-desc,
.info-box p,
.direction-card p,
.program-item p,
.about-card p,
.venue-info-card p,
.venue-info-card a {
  color: var(--muted) !important;
}

.about-grid,
.program-grid,
.direction-grid,
.reg-cards,
.sponsor-logos-grid,
.speakers-grid {
  gap: 1px !important;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--panel-radius);
  overflow: hidden;
}

.about-grid,
.speakers-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.speakers-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
  background: #fff !important;
  gap: 0 !important;
}

.speakers-grid .speaker-card {
  border-right: 1px solid var(--border) !important;
  border-bottom: 1px solid var(--border) !important;
}

.about-card,
.program-item,
.direction-card,
.speaker-card,
.reg-card,
.venue-info-card,
.deadline-item,
.info-box,
div[style*="border:1px solid #e0e7ff"],
div[style*="border:1.5px dashed #c7d2fe"] {
  border-radius: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  background: #fff !important;
}

.about-card,
.program-item,
.direction-card,
.speaker-card,
.reg-card,
.venue-info-card {
  padding: 2rem !important;
}

.about-card:hover,
.program-item:hover,
.direction-card:hover,
.speaker-card:hover,
.reg-card:hover,
.venue-info-card:hover,
.deadline-item:hover {
  transform: none;
  box-shadow: inset 0 0 0 2px rgba(124, 58, 237, .22) !important;
}

.about-icon,
.speaker-avatar,
.program-item-icon {
  color: var(--primary);
  background: #eef2ff !important;
  border: 1px solid #c7d2fe !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
}

.about-icon svg,
.program-item-icon svg,
.speaker-avatar svg {
  stroke: var(--primary) !important;
}

.about-icon {
  width: 42px !important;
  height: 42px !important;
  margin-bottom: 1rem !important;
}

.program-item-icon {
  width: 36px !important;
  height: 36px !important;
  margin-bottom: 1.1rem !important;
}

.program-item-icon svg {
  width: 19px !important;
  height: 19px !important;
}

.speaker-avatar {
  width: 58px !important;
  height: 58px !important;
  margin: 0 auto 1rem !important;
}

.speaker-avatar svg {
  width: 29px !important;
  height: 29px !important;
}

.about-card h3,
.direction-card h3,
.speaker-card h4,
.info-box h3,
.venue-info-card h4 {
  color: var(--text) !important;
  font-weight: 900 !important;
  letter-spacing: 0;
}

.speaker-card h4 {
  letter-spacing: -.01em !important;
  word-spacing: 0 !important;
  white-space: normal !important;
}

.program-sub,
.direction-num,
.section-label,
.section-mono,
.deadline-label,
.reg-type,
.speaker-tag {
  color: var(--primary) !important;
  letter-spacing: .08em;
  font-weight: 900;
}

.topic-pill,
.speaker-tag {
  background: #eef2ff !important;
  border: 1px solid #c7d2fe !important;
  color: #312e81 !important;
  border-radius: 999px !important;
}

.deadline-grid {
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--panel-radius);
  overflow: hidden;
}

.deadline-date,
.reg-price {
  color: var(--text) !important;
}

.reg-card.featured {
  background: linear-gradient(135deg, #1e1b4b 0%, #4f46e5 55%, #ec4899 100%) !important;
  color: #fff;
}

.reg-card.featured .reg-type,
.reg-card.featured .reg-price,
.reg-card.featured .reg-features li {
  color: #fff !important;
}

.reg-badge {
  background: #f472b6;
  color: #fff;
  border-radius: 999px;
}

.sponsor-logo-placeholder,
div[style*="height:90px"][style*="dashed"] {
  background:
    repeating-linear-gradient(135deg, #fff 0 12px, #f6f8f7 12px 24px) !important;
  color: #7b8491 !important;
  border: 0 !important;
  border-radius: 0 !important;
}

.page-hero {
  margin-top: 72px;
  min-height: 300px;
  display: grid;
  place-content: end start;
  text-align: left;
  padding-block: 6.5rem 3.5rem;
  padding-inline: calc(max(0px, (100% - var(--container-max)) / 2) + var(--page-gutter));
  background-color: #1e1b4b;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero::before {
  background:
    linear-gradient(90deg, rgba(17,15,61,.9) 0%, rgba(49,46,129,.62) 50%, rgba(79,70,229,.24) 100%),
    linear-gradient(180deg, rgba(17,15,61,.15), rgba(30,27,75,.78));
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 8px;
  background: linear-gradient(90deg, #ec4899 0%, #7c3aed 46%, #06b6d4 100%);
  z-index: 2;
}

.page-hero-label {
  color: #c4b5fd;
  letter-spacing: .12em;
  margin-bottom: .9rem;
}

.page-hero h1 {
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: 1.08;
  letter-spacing: -.025em;
  text-wrap: balance;
  margin: 0;
}

.coming-soon-notice {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
  border-left: 6px solid #7c3aed;
  border-radius: var(--panel-radius);
  box-shadow: none;
}

section#mailing {
  background: linear-gradient(115deg, #14213f, #29426c) !important;
}

section#mailing > div:first-child {
  background:
    radial-gradient(circle at 50% 54%, rgba(17,15,61,.52) 0%, rgba(17,15,61,.78) 48%, rgba(17,15,61,.9) 100%),
    linear-gradient(90deg, rgba(17,15,61,.82), rgba(49,46,129,.64)) !important;
}

section#mailing h2,
section#mailing p,
section#mailing span,
section#mailing div {
  color: #fff !important;
}

section#mailing .container {
  max-width: 54rem !important;
}

section#mailing h2 {
  max-width: 900px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  text-wrap: balance;
}

section#mailing h2::before {
  margin-left: auto;
  margin-right: auto;
}

section#mailing p {
  max-width: 760px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  color: rgba(255,255,255,.78) !important;
}

.mailing-form input,
#mailingEmail {
  border-radius: 999px !important;
  border-color: rgba(255,255,255,.38) !important;
  color: #fff !important;
  background: rgba(255,255,255,.12) !important;
}

.mailing-form input::placeholder,
#mailingEmail::placeholder {
  color: rgba(255,255,255,.66) !important;
}

.mailing-form button,
form[onsubmit*="handleSubscribe"] button {
  border-radius: 999px !important;
  color: #fff !important;
  background: linear-gradient(135deg, #4f46e5, #ec4899) !important;
}

.footer {
  background: #11103a;
  border-top: 8px solid #7c3aed;
}

.footer-grid {
  border-bottom-color: rgba(255,255,255,.12);
}

.footer-links h4,
.footer-newsletter h4 {
  color: rgba(255,255,255,.58);
}

.footer-brand p,
.footer-links a,
.footer-newsletter p,
.footer-bottom p {
  color: rgba(255,255,255,.62);
}

.footer-links a:hover,
.footer-newsletter a:hover {
  color: #c4b5fd !important;
}

@media (max-width: 900px) {
  .hero {
    min-height: 520px;
  }

  .hero-content {
    padding: 4.25rem var(--page-gutter) 4rem;
  }

  .hero-title {
    font-size: clamp(2.25rem, 12.2vw, 5rem) !important;
  }

  .hero-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions a {
    justify-content: center;
  }

  .about-grid,
  .program-grid,
  .direction-grid,
  .reg-cards,
  .sponsor-logos-grid,
  .speakers-grid,
  .deadline-grid {
    grid-template-columns: 1fr !important;
  }

  .page-hero {
    min-height: 260px;
    padding-block: 5rem 2.6rem;
  }
}

@media (max-width: 1023px) {
  .nav-links {
    background: rgba(248,248,255,.98);
    top: 72px !important;
    height: calc(100vh - 72px) !important;
    border-top: 0 !important;
    margin-top: -1px;
  }
}

@media (max-width: 1180px) and (min-width: 901px) {
  .about-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Pages awaiting program, speaker or sponsor details. */
.pending-content { padding-block: clamp(2rem, 4vw, 3rem) clamp(3rem, 6vw, 5rem); }
.pending-content .coming-soon-notice { margin: 0; }

/* Official conference information */
.conference-content {
  padding-top: 3rem;
  padding-bottom: 5rem;
}

.conference-section {
  padding: 0;
}

.conference-section + .conference-section {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.conference-section h2 {
  margin-bottom: var(--heading-gap);
  letter-spacing: -.02em;
  text-wrap: balance;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  line-height: 1.3;
  color: var(--text);
}

.conference-section h3 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  line-height: 1.5;
}

.conference-theme {
  max-width: 940px;
}

.conference-introduction p {
  max-width: 50rem;
  font-size: 1.05rem;
  line-height: var(--prose-leading);
  color: var(--muted);
  margin-bottom: 1.15em;
  word-break: keep-all;
  overflow-wrap: break-word;
  text-wrap: pretty;
}

.conference-introduction p:nth-last-child(-n + 2) {
  margin-bottom: 0;
}

.conference-introduction .theme-emphasis {
  color: var(--primary);
  font-weight: 800;
}

.theme-ending {
  white-space: nowrap;
}

.conference-section p,
.conference-list,
.submission-structure {
  color: var(--muted);
  line-height: var(--prose-leading);
}

.conference-list {
  list-style: disc;
  padding-left: 1.4rem;
}

.conference-list li + li {
  margin-top: .5rem;
}

.proceedings-lengths {
  margin-top: 1rem;
}

body[data-page="register"] main { background: var(--bg); }

.registration-ticket {
  --stub-width: 23%;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--stub-width);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--panel-radius);
  background: var(--card);
  box-shadow: 0 2px 0 rgba(30, 27, 75, .08);
}
.registration-ticket::before, .registration-ticket::after {
  content: "";
  position: absolute;
  left: calc(100% - var(--stub-width));
  width: .9rem;
  height: .9rem;
  border-radius: 50%;
  background: var(--bg);
  transform: translateX(-50%);
  z-index: 1;
}
.registration-ticket::before { top: -.48rem; }
.registration-ticket::after { bottom: -.48rem; }
.registration-month { align-self: center; min-width: 0; padding: clamp(1.15rem, 2.6vw, 2rem); }
.registration-month h3 {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin: 0 0 1rem;
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
}
.registration-month h3 svg {
  flex: none;
  width: 1.65rem;
  height: 1.65rem;
  padding: .24rem;
  border-radius: 6px;
  background: #eeeaff;
  color: var(--primary);
}
.registration-days {
  position: relative;
  display: grid;
  grid-template-columns: repeat(16, minmax(0, 1fr));
  row-gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-variant-numeric: tabular-nums;
}
.registration-days::before {
  content: "";
  position: absolute;
  inset: 50% 0 auto;
  border-top: 1px solid #edeef5;
}
.registration-days li {
  display: grid;
  justify-items: center;
  gap: .2rem;
  width: min(100%, 1.95rem);
  margin-inline: auto;
  padding: .2rem 0;
  line-height: 1.35;
}
.registration-days .calendar-weekday { color: var(--muted); font-size: .67rem; font-weight: 500; }
.registration-days time { font-size: .9rem; font-weight: 650; }
.registration-days .calendar-sunday, .registration-days .calendar-sunday .calendar-weekday { color: #bd364b; }
.registration-days .calendar-deadline {
  background: #ece8ff;
  color: var(--primary);
  border-radius: 5px;
}
.registration-days .calendar-deadline .calendar-weekday { color: inherit; }
.registration-stub {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  min-height: 12rem;
  overflow: hidden;
  padding: 1.25rem .5rem;
  border-left: 1px dashed rgba(255,255,255,.6);
  background: linear-gradient(125deg, #7461e8, #5141c4);
  color: #fff;
  font-weight: 650;
  line-height: 1.3;
  text-align: center;
}
.registration-stub::before {
  content: "";
  position: absolute;
  inset: 0 0 auto auto;
  z-index: -1;
  width: 58%;
  aspect-ratio: 1;
  background: repeating-radial-gradient(circle at 116% -16%, transparent 0 12px, rgba(255,255,255,.18) 12px 13px);
  clip-path: circle(100% at 100% 0);
}
.registration-stub-month { font-size: .95rem; }
.registration-stub-day {
  font: 700 clamp(4rem, 7.5vw, 6.35rem)/1 var(--font-sans);
  font-variant-numeric: lining-nums;
  letter-spacing: -.04em;
}
.registration-stub-weekday { padding: .55rem .8rem 0; border-top: 1px solid rgba(255,255,255,.38); font-size: .88rem; }
.registration-overview .registration-notice {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin: clamp(1.2rem, 2.5vw, 1.8rem) 0 0;
  padding: .68rem 1rem;
  border: 1px solid #e1dff2;
  border-radius: var(--panel-radius);
  background: #f4f2fc;
  color: var(--text);
  font-size: .9rem;
  font-weight: 550;
  line-height: 1.55;
}
.registration-notice svg { flex: none; width: 1.1rem; height: 1.1rem; color: var(--primary); }

@media (max-width: 700px) {
  .registration-ticket { --stub-width: clamp(5.65rem, 25%, 9rem); }
  .registration-month { padding: 1rem clamp(.65rem, 2.5vw, 1.1rem); }
  .registration-month h3 { gap: .45rem; margin-bottom: .75rem; }
  .registration-days { grid-template-columns: repeat(7, minmax(0, 1fr)); row-gap: .4rem; }
  .registration-days::before { content: none; }
  .registration-stub-day { font-size: clamp(3rem, 9vw, 4.3rem); }
  .registration-stub-weekday { padding-inline: .15rem; font-size: .8rem; }
}


.conference-dates > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, .7fr);
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.conference-dates > div:nth-child(odd) {
  background: #eef2ff;
}

.conference-dates dt {
  color: var(--muted);
}

.conference-dates dd {
  font-weight: 700;
}

@media (max-width: 600px) {
  .conference-content {
    padding-block: 2rem 3rem;
  }

  .conference-section + .conference-section {
    margin-top: 2rem;
    padding-top: 2rem;
  }

  .conference-dates > div {
    grid-template-columns: minmax(0, 1fr);
    gap: .35rem;
  }

}

/* Content polish: retain the existing section and card order. */
body[data-page="home"] .home-section {
  padding: clamp(3rem, 4.5vw, 4rem) 0 !important;
}

/* One type scale for each heading level on the home page. */
body[data-page="home"] .home-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 2.8vw, 2.25rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.02em;
  color: var(--text) !important;
  word-break: keep-all;
  overflow-wrap: break-word;
}

body[data-page="home"] .home-section h3 {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.4vw, 1.0625rem);
  font-weight: 700 !important;
  line-height: 1.5;
  letter-spacing: -.01em;
}

.home-section .section-heading {
  margin-bottom: var(--heading-gap) !important;
}

.home-section .about-card,
.home-section .program-item {
  padding: 1.5rem !important;
  min-width: 0;
}

.home-section .about-card h3 {
  margin-bottom: .75rem;
}

.home-section .about-card p,
.home-section .program-item p {
  font-size: .9375rem;
  line-height: 1.75;
  word-break: keep-all;
  overflow-wrap: break-word;
}

body[data-page="home"] section.home-section.home-program {
  background: #fff !important;
  border-bottom: 0;
}

body[data-page="home"] section.home-program > .container > .section-heading h2::before {
  display: none;
}

.home-conference-activities {
  background: #fff;
  border-bottom: 1px solid rgba(49, 46, 129, .11);
}

.program-details {
  padding: .5rem 0;
  color: #444652;
  font-size: .9rem;
  text-decoration: underline;
  text-underline-offset: .3em;
  text-decoration-color: #c3c4ca;
}

.program-details:hover {
  color: var(--primary);
  text-decoration-color: currentColor;
}

.program-list {
  border-top: 1px solid #2e3039;
}

.program-row {
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(0, 2fr);
  gap: 2.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid #e3e3e8;
}

.program-name {
  margin: 0;
  color: #242630;
  font-size: 1.0625rem;
  font-weight: 650;
  line-height: 1.65;
  word-break: keep-all;
}

.program-description {
  min-width: 0;
  color: #5c5e68;
  font-size: .9375rem;
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.program-description strong {
  color: #343641;
  font-weight: 650;
}

.program-description .program-lead {
  margin-bottom: .3rem;
  color: #343641;
  font-weight: 600;
}

.program-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 0;
}

.program-facts dt,
.program-structure-label {
  display: inline-block;
  margin: 0 0 .6rem;
  padding: .25rem .5rem;
  border-radius: 3px;
  background: #f1eff8;
  color: #514776;
  font-size: .8125rem;
  font-weight: 700;
  line-height: 1.4;
}

.program-facts dd {
  margin: 0;
  padding-inline-start: .75rem;
  color: #343641;
}

.program-facts dd > strong {
  display: block;
  color: #3730a3;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.4;
}

.program-note {
  display: block;
  margin-top: .3rem;
  color: #666874;
  font-size: .8125rem;
}

.program-structure {
  margin-top: 1.25rem;
}

.program-outline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .5rem 2rem;
  padding: 0 0 0 1.4rem;
  margin: 0;
  list-style: decimal;
  font-size: .875rem;
}

.program-outline li {
  margin-inline-start: .75rem;
  padding-left: .2rem;
}

.program-outline li::marker {
  color: #777985;
  font-variant-numeric: tabular-nums;
}

.program-activities {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 1.5rem;
  margin: 0 0 .4rem;
  padding: 0;
  color: #343641;
  font-weight: 600;
  list-style: none;
}

.program-activities li {
  position: relative;
  padding-left: .75rem;
}

.program-activities li::before {
  content: "";
  position: absolute;
  top: .7em;
  left: 0;
  width: 3px;
  height: 3px;
  background: #7d7f8b;
}

.program-activities-paired {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 0;
  font-weight: 500;
}

@media (max-width: 700px) {
  .program-row {
    grid-template-columns: minmax(0, 1fr);
    gap: .85rem;
    padding: 1.25rem 0;
  }

  .program-name {
    font-size: 1rem;
  }

  .program-facts {
    gap: 1rem;
  }

  .program-activities-paired {
    gap: .45rem 1rem;
  }
}

@media (max-width: 420px) {
  .program-outline {
    grid-template-columns: minmax(0, 1fr);
  }

  .program-activities-paired {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Compact submission summaries on the home page. */
.home-submission-tracks .program-row {
  grid-template-columns: minmax(180px, .55fr) minmax(0, 2fr);
  align-items: baseline;
}

.home-submission-tracks .program-description p {
  margin: 0;
}

.home-submission-tracks .submission-track-footer {
  margin-top: 1.5rem;
}

.home-submission-tracks .submission-track-notice {
  margin: 0;
  color: #514776;
  font-size: .9375rem;
  line-height: 1.75;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.home-submission-tracks .submission-track-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.25rem;
}

.home-submission-tracks .submission-track-actions a {
  justify-content: center;
}

@media (max-width: 700px) {
  .home-submission-tracks .program-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

.home-speakers > .container > p {
  margin-bottom: 1.5rem !important;
}

.home-speakers .speaker-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: .7rem;
  row-gap: .25rem;
  padding: 1.25rem 1rem !important;
  text-align: left !important;
}

.home-speakers .speaker-card h4 {
  grid-column: 1;
  grid-row: 1;
  margin: 0 !important;
  font-size: .9375rem !important;
  line-height: 1.45;
}

.home-speakers .speaker-card p {
  grid-column: 1;
  grid-row: 2;
  margin: 0 !important;
  font-size: .875rem !important;
}

.home-speakers .speaker-tag {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  letter-spacing: .02em;
}

.venue-placeholder {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  margin-bottom: 2rem;
  border: 1px dashed #c7c7e7;
  border-radius: var(--panel-radius);
  background: rgba(255,255,255,.7);
  color: var(--muted);
  text-align: center;
  font-size: .9375rem;
}

@media (min-width: 601px) and (max-width: 900px) {
  .home-speakers .speakers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 600px) {
  .home-section .section-heading {
    gap: .75rem !important;
  }

  .home-section > .container > h2 {
    margin-bottom: var(--heading-gap) !important;
  }

  .home-section .about-card,
  .home-section .program-item {
    padding: 1.25rem !important;
  }

  .conference-introduction p {
    font-size: 1rem;
  }

  .venue-placeholder {
    min-height: 96px;
    margin-bottom: 1.5rem;
  }
}


/* Confirmed conference information, using the existing light-theme components. */
html[lang="en"] .hero-title { font-size: clamp(2rem, 6.2vw, 5rem) !important; }
.home-important-dates { background: #fff; }
.home-important-dates .section-heading { margin-bottom: 1.75rem; }
.dates-note { margin-top: 1rem; color: var(--muted); font-size: .9rem; }
.footer-links li > span { color: rgba(255,255,255,.55); font-size: .82rem; }
.venue-section-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.venue-overview { margin-bottom: 1.5rem; }
.venue-overview h3 { font-size: 1.4rem; margin-bottom: .6rem; color: var(--text); }
.venue-overview h4 { margin: 1.25rem 0 .5rem; }
.venue-overview p, .home-venue > .container > p { color: var(--muted); line-height: 1.85; }
.venue-map { margin: 1.5rem 0 .75rem; overflow: hidden; border: 1px solid var(--border); border-radius: var(--panel-radius); background: var(--bg2); }
.venue-map iframe { display: block; width: 100%; height: 340px; border: 0; }
@media (max-width: 700px) {
  html[lang="en"] .hero-title { font-size: clamp(1.8rem, 9.5vw, 4rem) !important; }
  .venue-map iframe { height: 280px; }
  .hero-meta-item { max-width: 100%; }
  .hero-meta-item svg { flex-shrink: 0; }
}


/* Existing content presented as submission cards and four equal activity cards. */
:root { --cfp-ink: #18254b; --cfp-blue: #3557b7; --cfp-line: #dce3f0; }
a:focus-visible, button:focus-visible { outline: 3px solid #5173d6; outline-offset: 5px; }
/* Paper submission colors, shared by the home summary and detail page. */
body[data-page="cfp"], #submission-tracks {
  --cfp-ink: var(--text);
  --cfp-blue: #443f89;
  --cfp-line: var(--border);
  --cfp-wash: #f4f3fa;
  --cfp-gradient: linear-gradient(110deg, #242052, #514a9d);
  --cfp-on-dark: rgba(255, 255, 255, .86);
}
body[data-page="cfp"] .page-hero::after,
#submission-tracks .section-heading h2::before { background: var(--cfp-gradient); }
body[data-page="home"] section.home-section.home-submission-tracks#submission-tracks { background: var(--cfp-wash) !important; border: 0; }
/* Keep the requested date overview and its order. */
#important-dates .conference-dates { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .8rem; }
#important-dates .conference-dates > div { display: flex; flex-direction: column; justify-content: space-between; gap: 1.2rem; padding: 1.5rem; border: 1px solid #e1e6f0; border-radius: var(--panel-radius); background: #fff; }
#important-dates .conference-dates dt { font-size: .82rem; line-height: 1.6; }
#important-dates .conference-dates dd { font-family: var(--font-display); font-size: 1.15rem; color: #223252; line-height: 1.4; }
#important-dates .conference-dates > div:first-child { background: #1d3158; border-color: #1d3158; }
#important-dates .conference-dates > div:first-child dt { color: #d7e3fa; }
#important-dates .conference-dates > div:first-child dd { color: #fff; }
body[data-page="home"] section.home-section.home-important-dates#important-dates { background: #fff !important; }

body[data-page="home"] section.home-section.home-conference-activities#home-activities { background: #f5f7fb !important; border: 0; }
.activity-card-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.15rem; }
.activity-card { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(1.2rem, 2vw, 1.65rem); border: 1px solid #e1e6f0; border-radius: var(--panel-radius); background: #fff; }
.activity-icon-wrap { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: .9rem; border-radius: 16px; background: radial-gradient(circle at 25% 25%,#fff,#e4ecfc); color: #3a5da9; }
.activity-icon-wrap svg { width: 29px; height: 29px; }
.activity-card h3 { margin-bottom: .5rem; color: var(--cfp-ink); line-height: 1.4; }
.activity-card h3 { font-size: 1.2rem !important; }
.activity-description { margin: 0; color: #657189; font-size: .94rem; line-height: var(--prose-leading); word-break: keep-all; overflow-wrap: anywhere; }
.activity-card .program-lead { margin-bottom: .6rem; color: #3557b7; font-size: .9rem; font-weight: 600; }
.activity-card .program-lead .activity-description { color: inherit; font-size: inherit; }
.activity-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .6rem; }
.activity-tags:last-child { margin-bottom: 0; }
.activity-tags li { padding: .35rem .65rem; border-radius: 6px; background: #f0f4fa; color: #4b5d7c; font-size: .75rem; line-height: 1.6; }
.activity-card .activity-tags .activity-description { margin: 0; font-size: inherit; color: inherit; }

.conference-section[id], .conference-section h2[id] { scroll-margin-top: 100px; }

/* Call for Papers detail page */
.cfp-content {
  --cfp-gap: clamp(1rem, 1.6vw, 1.4rem);
  --cfp-inset: clamp(1.15rem, 2vw, 1.7rem);
  display: grid;
  gap: clamp(2.5rem, 4.5vw, 3.75rem);
  color: var(--cfp-ink);
  word-break: keep-all;
  overflow-wrap: break-word;
}

.cfp-content .conference-section { min-width: 0; margin: 0; padding: 0; border: 0; }
.cfp-content h2 {
  margin: 0 0 var(--heading-gap);
  color: var(--cfp-ink);
  font-size: clamp(1.5rem, 2.2vw, 1.95rem);
  letter-spacing: -.025em;
}

.submission-tracks, .cfp-submission-row, .presentation-tracks {
  display: grid;
  gap: var(--cfp-gap);
}
.submission-tracks { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 0; }
.submission-track {
  display: grid;
  grid-row: span 3;
  grid-template-rows: subgrid;
  min-width: 0;
  border: 1px solid var(--cfp-line);
  border-radius: var(--panel-radius);
  background: #fff;
  scroll-margin-top: 90px;
}
.submission-track:target { outline: 2px solid var(--cfp-blue); outline-offset: 2px; }
.track-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .45rem;
  padding: .65rem .8rem .65rem var(--cfp-inset);
  border-radius: var(--panel-radius);
  background: var(--cfp-gradient);
}
.track-heading h3 {
  margin: 0;
  color: #fff;
  font: 750 clamp(1.12rem, 1.65vw, 1.45rem)/1.3 var(--font-display);
  letter-spacing: -.025em;
}
.track-art { display: block; width: clamp(3.25rem, 5.4vw, 4.9rem); flex: none; color: var(--cfp-blue); }
.track-overview {
  margin-inline: var(--cfp-inset);
  padding-block: 1.15rem;
  border-bottom: 1px solid var(--cfp-line);
  align-content: start;
}
.track-overview p, .presentation-track p, .cfp-proceedings p {
  font-size: .94rem;
  line-height: 1.65;
}
.track-overview .track-length { color: var(--cfp-ink); font-weight: 650; }
.track-overview p:not(.track-length) { margin-top: .4rem; }
.track-outline { padding: 1rem var(--cfp-inset) 1.35rem; }
.track-outline .structure-label { margin-bottom: .75rem; color: var(--cfp-blue); font-weight: 700; font-size: .86rem; }
.submission-structure { padding-left: 1.65rem; list-style-type: decimal-leading-zero; line-height: 1.6; }
.submission-structure li { padding: .15rem 0 .15rem .25rem; color: var(--cfp-ink); font-size: .96rem; }
.submission-structure li::marker {
  content: counter(list-item, decimal-leading-zero) "  ";
  color: var(--cfp-blue);
  font-size: .8rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.presentation-tracks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cfp-submission-row { grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr); }
.cfp-submission-row > section { display: flex; flex-direction: column; }
.cfp-guidelines, .submission-panel, .presentation-track, .cfp-proceedings {
  border: 1px solid var(--cfp-line);
  border-radius: var(--panel-radius);
  background: #fff;
  padding: var(--cfp-inset);
}
.cfp-guidelines, .submission-panel { flex: 1; }
.cfp-guidelines { display: grid; align-content: start; gap: .85rem; }
.cfp-guidelines li {
  margin-left: 1.1rem;
  padding-left: .3rem;
  list-style: disc;
  color: var(--text);
  line-height: var(--prose-leading);
}

.submission-panel {
  padding: clamp(1.35rem, 2.4vw, 2rem);
  border-color: transparent;
  background: var(--cfp-gradient);
}
.submission-panel p { color: var(--cfp-on-dark); font-size: .94rem; }
.submission-panel .deadline-label {
  margin-bottom: .25rem;
  color: var(--cfp-on-dark) !important;
  font-size: .85rem;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}
.submission-panel .deadline-value {
  margin-bottom: .9rem;
  color: #fff;
  font: 750 clamp(2rem, 4vw, 3.75rem)/1.1 var(--font-display);
  letter-spacing: -.03em;
}
.submission-panel .btn-primary { min-height: 44px; margin-top: 1.4rem; color: var(--cfp-ink); background: #fff; box-shadow: none; }
.submission-panel .btn-primary:hover { background: var(--cfp-wash); }
.submission-panel .btn-primary:focus-visible { outline-color: #fff; }

.presentation-track, .cfp-proceedings { display: flex; align-items: flex-start; gap: 1rem; }
.presentation-track h3, .cfp-proceedings h2 {
  margin: 0 0 .35rem;
  font-size: 1.12rem;
  line-height: 1.45;
  letter-spacing: -.015em;
}
.cfp-content [aria-labelledby="proceedings-heading"] { margin-top: -1.25rem; }
.cfp-proceedings { align-items: center; background: var(--cfp-wash); }

.cfp-timeline {
  --timeline-dot: .8rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.cfp-timeline > div {
  position: relative;
  display: grid;
  grid-row: span 2;
  grid-template-rows: subgrid;
  gap: .4rem;
  padding: 1.7rem 1rem 0 0;
}
.cfp-timeline > div::before, .cfp-timeline > div::after { content: ""; position: absolute; }
.cfp-timeline > div:not(:last-child)::before {
  top: calc(var(--timeline-dot) / 2 - 1px);
  left: calc(var(--timeline-dot) / 2);
  width: 100%;
  height: 2px;
  background: var(--cfp-line);
}
.cfp-timeline > div::after {
  top: 0;
  left: 0;
  width: var(--timeline-dot);
  height: var(--timeline-dot);
  border: 2px solid var(--cfp-blue);
  border-radius: 50%;
  background: #fff;
}
.cfp-timeline > div:first-child::after { background: var(--cfp-blue); }
.cfp-timeline dt { color: var(--muted); font-size: .9rem; line-height: 1.45; }
.cfp-timeline dd { font: 700 clamp(1.1rem, 1.8vw, 1.5rem)/1.35 var(--font-display); }
.cfp-timeline > div:first-child dd { color: var(--cfp-blue); }
.cfp-content .dates-note { margin-top: 1.4rem; font-size: .86rem; }

@media (max-width: 780px) {
  .submission-tracks { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .submission-track { display: block; grid-row: auto; }
  .track-heading { padding-block: .4rem; }
  .cfp-submission-row, .presentation-tracks { grid-template-columns: minmax(0, 1fr); }
  .cfp-submission-row { row-gap: 2.5rem; }
  .cfp-timeline { grid-template-columns: minmax(0, 1fr); }
  .cfp-timeline > div { display: block; grid-row: auto; padding: 0 0 1.3rem 1.65rem; }
  .cfp-timeline > div:last-child { padding-bottom: 0; }
  .cfp-timeline > div::after { top: .25rem; }
  .cfp-timeline > div:not(:last-child)::before {
    top: .25rem;
    left: calc(var(--timeline-dot) / 2 - 1px);
    width: 2px;
    height: 100%;
  }
  .cfp-timeline dd { margin-top: .2rem; }
}


@media (max-width: 1000px) {
  #important-dates .conference-dates { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .activity-card-grid { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 480px) {
  #important-dates .conference-dates { grid-template-columns: minmax(0,1fr); }
  #important-dates .conference-dates > div { gap: .6rem; padding: 1.2rem 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Home layouts and organization identities. */
.home-layout-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.home-layout-heading h2 { margin: 0; }
.directions-layout, .submission-layout, .seoul-layout, .venue-layout {
  display: grid;
  column-gap: clamp(1.25rem, 2.3vw, 2rem);
  row-gap: 1.25rem;
}
.directions-layout { grid-template-columns: minmax(0, .86fr) minmax(0, 1.58fr); }
.seoul-photo { position: relative; margin: 0; min-width: 0; }
.directions-frame {
  position: relative;
  flex: 1;
  min-height: 260px;
  overflow: hidden;
  border-radius: var(--panel-radius);
}
.directions-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
}
.photo-credit { position: absolute; right: 6px; bottom: 6px; margin: 0; }
.photo-credit-link {
  position: relative;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #fff;
}
.photo-credit-link svg { width: 17px; height: 17px; background: #1d3048b8; border-radius: 50%; }
.photo-credit-label {
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  padding: .35rem .65rem;
  border-radius: 5px;
  background: #17263d;
  color: #fff;
  white-space: nowrap;
  font: 500 .72rem/1.5 var(--font-sans);
  opacity: 0;
  pointer-events: none;
}
.photo-credit-link:hover .photo-credit-label, .photo-credit-link:focus-visible .photo-credit-label { opacity: 1; }
.photo-credit-link:focus-visible { outline: 2px solid white; outline-offset: 0; }

.direction-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem 1rem; }
.direction-tile, .track-card {
  background: #fff;
  border: 1px solid #d7deee;
  border-radius: var(--panel-radius);
}
.direction-tile { padding: clamp(1rem, 1.6vw, 1.4rem); }
.direction-tile-heading { display: flex; align-items: center; gap: .65rem; margin-bottom: .65rem; }
.direction-tile-heading h3 { margin: 0; text-wrap: balance; }
@media (min-width: 521px) {
  .direction-tile {
    display: grid;
    grid-row: span 2;
    grid-template-rows: subgrid;
    row-gap: .6rem;
  }
  .direction-tile-heading { align-self: start; margin: 0; }
}
.direction-symbol, .track-card-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 8px;
  background: #eff2ff;
  color: #405ab8;
}
.direction-symbol { width: 30px; height: 30px; }
.direction-symbol svg { width: 18px; height: 18px; stroke: currentColor; }
.direction-tile p, .seoul-copy p, .venue-layout .venue-overview p {
  color: var(--muted);
  line-height: 1.75;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.direction-tile p { margin: 0; font-size: .93rem; line-height: var(--prose-leading); }

.submission-layout { grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr); }
.track-card-grid { display: grid; gap: .7rem; }
.track-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  color: var(--cfp-ink);
  border-color: var(--cfp-line);
}
.track-card-icon { width: 42px; height: 42px; }
.track-card-icon svg { width: 22px; height: 22px; }
.track-summary h3 { margin: 0 0 .2rem; }
.track-card-intro { margin: 0; color: var(--muted); font-size: .89rem; line-height: 1.55; }
.track-card-facts { display: grid; gap: .28rem; margin: 0; padding: 0; list-style: none; font-size: .88rem; line-height: 1.55; }
.track-summary, .track-card-facts { word-break: keep-all; overflow-wrap: break-word; }
.cfp-deadline-banner {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: clamp(1.3rem, 2.3vw, 2rem);
  border-radius: var(--panel-radius);
  background: var(--cfp-gradient);
  color: #fff;
}
.cfp-submission-terms { margin: 0; color: #fff; font-weight: 700; font-size: .97rem; }
.cfp-deadline-copy { margin: auto 0; }
.cfp-deadline-copy p { margin: 0 0 .3rem; color: var(--cfp-on-dark); font-size: .87rem; }
.cfp-deadline-copy time { display: block; font: 700 clamp(1.8rem, 2.8vw, 2.55rem)/1.15 var(--font-display); letter-spacing: -.02em; }
.cfp-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.cfp-actions a { display: flex; align-items: center; justify-content: center; gap: .35rem; padding-inline: .45rem; min-height: 44px; }
.cfp-actions .btn-primary, .cfp-actions .btn-outline { border-radius: 999px; box-shadow: none; }
.cfp-actions .btn-primary { background: #fff; color: var(--cfp-ink); }
.cfp-actions .btn-primary:hover { background: var(--cfp-wash); }
.cfp-actions .btn-outline { background: transparent !important; color: #fff !important; border-color: rgba(255, 255, 255, .65) !important; }
.cfp-actions .btn-outline:hover { background: rgba(255, 255, 255, .12) !important; }
.cfp-actions a:focus-visible { outline-color: #fff; }
.cfp-actions svg { width: 15px; height: 15px; }

.seoul-layout { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; }
.seoul-copy p { margin: 0 0 1.25rem; font-size: 1rem; line-height: var(--prose-leading); text-wrap: pretty; }
.seoul-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--panel-radius); }
.seoul-link svg { width: 14px; height: 14px; }
.venue-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: start; }
.venue-layout .venue-overview { margin: 0; }
.venue-layout .venue-overview h3, .venue-layout .venue-overview h4 { font: 700 1rem/1.5 var(--font-sans); color: var(--text); }
.venue-layout .venue-overview h4 { margin: 1.3rem 0 .45rem; }
.venue-layout .venue-map { margin: 0; }
.venue-layout iframe { width: 100%; height: clamp(230px, 20vw, 300px); }

.hero-hosts {
  position: absolute;
  z-index: 2;
  inset-inline-end: clamp(1.25rem, 3vw, 3rem);
  bottom: 1.6rem;
  display: flex;
  gap: 1.15rem;
  align-items: end;
  margin: 0;
  padding: .45rem .8rem .6rem;
  background: #fff;
  border-radius: var(--panel-radius);
}
.hero-hosts dt { margin-bottom: .25rem; color: #42506a; font-size: .67rem; font-weight: 650; line-height: 1.2; }
.hero-hosts dd { display: flex; align-items: center; gap: .6rem; margin: 0; height: 24px; }
.hero-hosts img { width: auto; height: auto; max-width: 57px; max-height: 24px; }
.footer-hosts { display: flex; flex-wrap: wrap; gap: .35rem 2rem; margin: 0; padding-top: 1.2rem; font-size: .83rem; line-height: 1.55; }
.footer-hosts > div { display: flex; align-items: baseline; gap: .6rem; }
.footer-hosts dt { flex: none; color: #fff; font-weight: 650; }
.footer-hosts dd { margin: 0; color: rgba(255,255,255,.75); }
@media (max-width: 900px) {
  .footer-hosts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: .45rem .75rem; }
  .footer-hosts > div { display: grid; grid-column: span 2; grid-template-columns: subgrid; column-gap: inherit; }
}
.pending-sponsors { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .75rem; margin-bottom: 3rem; }
.pending-sponsor { min-height: 64px; border: 1px dashed #c7c7e7; border-radius: var(--panel-radius); background: rgba(255,255,255,.6); }
@media (max-width: 900px) {
  .hero { flex-direction: column; justify-content: center; }
  .hero-content { padding-bottom: 1.25rem; }
  .hero-hosts { position: relative; inset: auto; align-self: flex-end; margin: 0 1.25rem 1.6rem; }
}
@media (max-width: 600px) {
  .pending-sponsors { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 2rem; }
}

@media (max-width: 900px) {
  .directions-layout { grid-template-columns: minmax(0, .7fr) minmax(0, 1.6fr); }
  .submission-layout { grid-template-columns: minmax(0, 1.6fr) minmax(255px, 1fr); }
  .track-card { gap: .7rem; padding: .85rem; }
  .track-card-icon { width: 32px; height: 36px; }
}
@media (max-width: 760px) {
  .directions-layout, .submission-layout, .seoul-layout, .venue-layout { grid-template-columns: 1fr; }
  .directions-frame { min-height: 0; height: clamp(180px, 40vw, 280px); flex: auto; }
  .directions-frame img { object-position: 50% 42%; }
  .cfp-deadline-banner { gap: 1rem; }
  .cfp-actions { max-width: 24rem; }
  .seoul-photo img { max-height: 320px; }
}
@media (max-width: 520px) {
  .direction-tiles { grid-template-columns: 1fr; }
  .track-card { grid-template-columns: minmax(0, 1fr); align-items: start; gap: .55rem; padding: 1rem; }
  .cfp-actions { max-width: none; }
}

/* Venue detail */
.venue-guide {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(19rem, 1fr);
  column-gap: clamp(1rem, 2vw, 1.6rem);
  row-gap: clamp(1.75rem, 3.5vw, 3rem);
  padding-block: clamp(2.5rem, 4vw, 4rem) clamp(3rem, 6vw, 5rem);
  word-break: keep-all;
  overflow-wrap: break-word;
}
.venue-guide > section { padding: 0; min-width: 0; }
.venue-location, .venue-transport { display: flex; flex-direction: column; }
.venue-guide h2 {
  margin-bottom: var(--heading-gap);
  font: 700 clamp(1.45rem, 2.3vw, 2rem)/1.3 var(--font-display);
  letter-spacing: -.025em;
}
.venue-map-card, .venue-route-card, .venue-stay {
  border: 1px solid var(--border);
  border-radius: var(--panel-radius);
}
.venue-map-card, .venue-route-card {
  display: flex;
  flex: 1;
  flex-direction: column;
  overflow: hidden;
  background: var(--card);
}
.venue-map-card .venue-map {
  flex: 1;
  display: flex;
  min-height: clamp(245px, 23vw, 315px);
  margin: 0;
  border: 0;
  border-radius: 0;
}
.venue-map-card iframe { align-self: stretch; height: auto; min-height: inherit; }
.venue-map-card address {
  padding: 1.15rem 1.5rem;
  font-style: normal;
  font-weight: 550;
  line-height: 1.6;
}
.venue-routes { flex: 1; display: grid; margin-inline: 1.5rem; }
.venue-routes > div {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: .95rem;
  padding-block: 1.1rem;
}
.venue-routes > div + div { border-top: 1px solid var(--border); }
.venue-routes dt, .venue-arrival strong { font-size: 1.08rem; font-weight: 700; line-height: 1.45; }
.venue-routes small, .venue-arrival p, .venue-stay p { color: var(--muted); font-size: .9rem; font-weight: 450; }
.venue-routes small { display: block; margin-top: .35rem; }
.venue-routes dd {
  color: var(--primary);
  font: 650 clamp(1.5rem, 2.25vw, 2rem)/1.15 var(--font-display);
  letter-spacing: -.035em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.venue-arrival { padding: 1.1rem 1.5rem 1.25rem; background: var(--bg2); }
.venue-arrival p { margin-bottom: .25rem; }
.venue-guide > .venue-stay {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  padding: 1.35rem 1.5rem;
  background: var(--card);
}
.venue-stay h2 { margin-bottom: .3rem; font-size: 1.2rem; }
.venue-stay .venue-update { flex: none; font-weight: 600; color: var(--primary); }
@media (max-width: 760px) {
  .venue-guide { grid-template-columns: minmax(0, 1fr); }
  .venue-map-card .venue-map { min-height: clamp(220px, 50vw, 310px); }
}
@media (max-width: 480px) {
  .venue-guide > .venue-stay { align-items: flex-start; flex-direction: column; gap: .6rem; }
  .venue-routes { margin-inline: 1.15rem; }
  .venue-routes dt { font-size: 1rem; }
  .venue-map-card address, .venue-arrival, .venue-guide > .venue-stay { padding-inline: 1.15rem; }
}

/* In-page navigation for the two long pages. */
.section-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.section-reading-area { grid-column: 1; grid-row: 1; min-width: 0; }
.section-rail {
  grid-area: 1 / 1;
  place-self: start end;
  position: sticky;
  z-index: 4;
  width: min(8.5rem, calc((100% - var(--container-max)) / 2 + .5rem));
  margin-inline-end: max(.625rem, calc((100% - var(--container-max)) / 2 - 9rem));
  top: 5.5rem;
  min-width: 0;
  margin-top: 2rem;
}
.section-index {
  max-width: 9rem;
  max-height: calc(100dvh - 6.5rem);
  overflow-y: auto;
  font-size: .8rem;
  line-height: 1.45;
}
.section-index-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.section-index ul { list-style: none; margin: 0; padding: 0; }
.section-index a {
  display: block;
  border-inline-start: 1px solid var(--border);
  padding: .3rem .2rem .3rem .65rem;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.section-index a:hover, .section-index a[aria-current="location"] { color: var(--primary); }
.section-index a[aria-current="location"] {
  border-color: currentColor;
  box-shadow: inset 1px 0 currentColor;
  font-weight: 700;
}
.section-index a:focus-visible { outline-offset: -2px; }
.section-page :where(.home-section[id], #home-contact) { scroll-margin-top: 5rem; }
.home-introduction .conference-introduction p { margin-inline: auto; text-align: center; }
/* In smaller gutters the index runs across the space above the first section. */
@media (max-width: 1350px) {
  .section-rail {
    position: relative;
    top: auto;
    justify-self: center;
    width: 100%;
    max-width: var(--container-max);
    margin: 0;
    padding-inline: var(--page-gutter);
  }
  .section-index { max-width: none; max-height: none; overflow-x: auto; scrollbar-width: thin; }
  .section-index ul { display: flex; gap: .8rem; width: max-content; }
  .section-index a { padding: .25rem .2rem; border: 0; white-space: nowrap; }
  .section-index a[aria-current="location"] { box-shadow: inset 0 -2px currentColor; }
}
@media (max-width: 600px) {
  .section-reading-area > .cfp-content { padding-block-start: 3rem; }
}
