/* Nexora — public website. Colours come from the logo (navy) and the office sign (electric blue). */
:root {
  --navy: #0e1433;
  --navy-2: #182057;
  --blue: #2b3ff0;
  --blue-dark: #1f2fc4;
  --blue-soft: #eef0ff;
  --ink: #12162e;
  --text: #2d3350;
  --muted: #646b88;
  --line: #e4e7f2;
  --soft: #f5f7fd;
  --white: #fff;
  --ok: #0f8a5f;
  --warn: #b86e00;
  --danger: #c23b3b;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(14, 20, 51, .06), 0 8px 24px rgba(14, 20, 51, .07);
  --shadow-lg: 0 24px 60px rgba(14, 20, 51, .18);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-ko: 'Noto Sans KR', var(--font);
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.1rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
[lang="ko"] { font-family: var(--font-ko); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.block { display: block; }
.icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.25em; }
.req { color: var(--danger); }
.rounded { border-radius: var(--radius); }
.shadow { box-shadow: var(--shadow-lg); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .72em 1.25em; border-radius: 999px; border: 2px solid transparent; font: inherit; font-weight: 700; font-size: .95rem; line-height: 1.2; cursor: pointer; text-decoration: none !important; transition: background .15s, color .15s, border-color .15s, transform .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-ghost { color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--soft); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--blue-soft); }
.btn-outline-light { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-outline-light:hover { border-color: #fff; }
.btn-lg { padding: .9em 1.6em; font-size: 1rem; }
.btn-small { padding: .45em .95em; font-size: .85rem; }
.btn-block { width: 100%; }
.link { display: inline-flex; align-items: center; gap: .35em; font-weight: 700; }
.link .icon { width: 1em; height: 1em; transition: transform .15s; }
.link:hover .icon { transform: translateX(3px); }

/* ---------- Header ---------- */
.notice-bar { background: var(--blue); color: #fff; text-align: center; font-weight: 600; font-size: .9rem; padding: 8px 16px; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 74px; }
.brand img { width: 128px; height: auto; }
.site-nav { display: flex; align-items: center; flex: 1; gap: 16px; }
.site-nav ul { display: flex; gap: 2px; list-style: none; margin: 0 auto; padding: 0; }
.site-nav ul a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--text); font-weight: 600; font-size: .93rem; }
.site-nav ul a:hover { background: var(--soft); text-decoration: none; color: var(--ink); }
.site-nav ul a[aria-current="page"] { color: var(--blue); }
.nav-actions { display: flex; gap: 8px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 8px; color: var(--ink); cursor: pointer; }
.nav-toggle .icon { width: 28px; height: 28px; }

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); padding: 12px 24px 20px; box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; margin: 0; }
  .site-nav ul a { padding: 12px; }
  .nav-actions { flex-direction: column; }
}

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-tight { padding: 48px 0; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--navy); color: #c9cdf0; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-head .lead { margin-top: .5em; }
.split .section-head, .section-head.left { text-align: left; margin-left: 0; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 800; color: var(--blue); margin-bottom: .75em; }
.eyebrow a { color: inherit; }
.on-dark .eyebrow, .section-dark .eyebrow { color: #8e9cff; }
.on-dark .lead { color: #c9cdf0; }
.lead { font-size: 1.12rem; color: var(--muted); }
.row-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.row-head h1, .row-head h2 { margin: 0; }
.h-small { font-size: 1.25rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.two-col.wide-left { grid-template-columns: 3fr 2fr; }
@media (max-width: 900px) { .split, .two-col, .two-col.wide-left { grid-template-columns: 1fr; gap: 32px; } .section { padding: 64px 0; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 64px 0 88px; background: radial-gradient(1200px 500px at 85% -10%, #dfe3ff 0%, transparent 60%), linear-gradient(180deg, #f7f8ff 0%, #fff 100%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: .35em; }
.tagline-ko { font-family: var(--font-ko); font-weight: 700; color: var(--navy); font-size: 1.1rem; margin-bottom: 1.1em; }
.tagline-ko span { font-family: var(--font); font-weight: 500; color: var(--muted); font-size: .95rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-media { position: relative; }
.hero-media > img { border-radius: 24px; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.2; object-fit: cover; width: 100%; }
.hero-media::before { content: ''; position: absolute; inset: 24px -24px -24px 24px; border-radius: 24px; background: linear-gradient(135deg, var(--blue), var(--navy)); z-index: -1; opacity: .9; }
.hero-badge { position: absolute; left: -24px; bottom: 28px; display: flex; align-items: center; gap: 12px; max-width: 290px; background: #fff; padding: 14px 18px; border-radius: 14px; box-shadow: var(--shadow-lg); font-weight: 700; color: var(--ink); font-size: .92rem; line-height: 1.35; }
.hero-badge .icon { width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: var(--blue); color: #fff; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-badge { left: 12px; } .hero-media::before { inset: 16px -8px -16px 16px; } }

.page-hero { padding: 64px 0 40px; background: linear-gradient(180deg, #f3f5ff, #fff); }
.page-hero .lead { max-width: 720px; }
.page-hero.dark { background: var(--navy); color: #c9cdf0; padding: 80px 0; }
.page-hero.dark h1 { color: #fff; max-width: 900px; }
.page-hero.dark .lead { color: #c9cdf0; margin-bottom: 28px; }

/* ---------- Stats ---------- */
.stats-band { background: var(--navy); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.stat { padding: 32px 24px; color: #b9bee6; font-size: .92rem; border-left: 1px solid rgba(255,255,255,.08); }
.stat:first-child { border-left: 0; }
.stat strong { display: block; font-size: 2.5rem; font-weight: 800; color: #fff; line-height: 1.1; margin-bottom: 4px; }
.stat-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-card { background: var(--soft); border-radius: var(--radius); padding: 24px; color: var(--muted); font-size: .92rem; }
.stat-card strong { display: block; font-size: 2.2rem; color: var(--blue); font-weight: 800; }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .card-grid, .card-grid.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .card-grid, .card-grid.four { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card.plain { background: transparent; border: 0; padding: 8px; }
.card.plain:hover { box-shadow: none; transform: none; }
.card.highlight { border: 2px solid var(--blue); }
.card p { color: var(--muted); margin: 0; }
.card-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--blue-soft); color: var(--blue); margin-bottom: 18px; }
.card-icon .icon { width: 26px; height: 26px; }
.card-icon.sm { width: 44px; height: 44px; margin: 0; }
.card-icon.sm .icon { width: 22px; height: 22px; }

/* ---------- Settlement (dark) ---------- */
.settle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 980px) { .settle-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .settle-grid { grid-template-columns: 1fr; } }
.settle { background: var(--navy-2); border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,.07); display: flex; flex-direction: column; }
.settle img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.settle .card-icon { margin: 28px 28px 0; background: rgba(43,63,240,.25); color: #aab4ff; }
.settle-body { padding: 22px 28px 28px; }
.settle-num { font-weight: 800; color: #6f7eff; font-size: .85rem; letter-spacing: .1em; }
.settle p { margin: 0; color: #b9bee6; font-size: .95rem; }

/* ---------- Programs ---------- */
.program-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.program { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; background: #fff; }
.program p { color: var(--muted); font-size: .93rem; }
.program .link { margin-top: auto; font-size: .9rem; }
.program .facts > div { display: block; }
.program .facts dd { text-align: left; }
.facts { display: grid; gap: 8px; margin: 0 0 16px; font-size: .88rem; }
.facts > div { display: flex; justify-content: space-between; gap: 12px; border-top: 1px dashed var(--line); padding-top: 8px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; color: var(--ink); text-align: right; }
.facts.stacked > div { display: block; }
.facts.stacked dd { text-align: left; }
.program-list { display: grid; gap: 24px; }
.program-row { display: grid; grid-template-columns: 1fr 300px; gap: 32px; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; scroll-margin-top: 100px; }
.program-row .facts { grid-template-columns: repeat(3, 1fr); }
.program-row .facts > div { display: block; }
.program-row .facts dd { text-align: left; }
.program-side { background: var(--soft); border-radius: var(--radius-sm); padding: 20px; align-self: start; }
@media (max-width: 800px) { .program-row { grid-template-columns: 1fr; padding: 24px; } .program-row .facts { grid-template-columns: 1fr; } }
.ticks { list-style: none; padding: 0; margin: 0 0 16px; }
.ticks li { position: relative; padding-left: 28px; margin-bottom: 8px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b3ff0' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.ticks.on-dark li { color: #e4e7ff; }
.plain-list { list-style: none; padding: 0; margin: 0 0 16px; }
.plain-list li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.pill-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.pill-nav a { padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--text); font-weight: 600; font-size: .88rem; }
.pill-nav a:hover, .pill-nav a[aria-current="page"] { border-color: var(--blue); color: var(--blue); text-decoration: none; }
.mini-programs { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.mini-program { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0 0 40px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: s; }
.steps.six { grid-template-columns: repeat(3, 1fr); }
.steps li { background: #fff; border-radius: var(--radius); padding: 24px; position: relative; border: 1px solid var(--line); }
.steps p { color: var(--muted); font-size: .92rem; margin: 0; }
.step-num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; margin-bottom: 14px; }
@media (max-width: 1000px) { .steps, .steps.six { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps, .steps.six { grid-template-columns: 1fr; } }

/* ---------- Reasons ---------- */
.reason-list { display: grid; gap: 22px; }
.reason { display: flex; gap: 16px; align-items: flex-start; }
.reason h3 { margin-bottom: .2em; }
.reason p { margin: 0; color: var(--muted); }

/* ---------- Universities ---------- */
.uni-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.uni-chip { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); font-weight: 700; font-size: .92rem; line-height: 1.25; background: #fff; }
.uni-chip:hover { border-color: var(--blue); text-decoration: none; }
.uni-chip small { display: block; color: var(--muted); font-weight: 500; }
.uni-logo { width: 56px; height: 56px; border-radius: 12px; object-fit: contain; background: #fff; flex: none; }
.uni-logo.sm { width: 40px; height: 40px; border-radius: 10px; font-size: .85rem; }
.uni-logo.lg { width: 88px; height: 88px; border-radius: 20px; font-size: 1.6rem; }
.uni-mono { display: inline-grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, hsl(var(--hue) 65% 45%), hsl(calc(var(--hue) + 40) 70% 32%)); }
.uni-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.uni-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 14px; background: #fff; transition: box-shadow .2s; }
.uni-card:hover { box-shadow: var(--shadow); }
.uni-card-link { display: flex; gap: 14px; align-items: center; color: inherit; }
.uni-card-link:hover { text-decoration: none; }
.uni-card-link:hover h3 { color: var(--blue); }
.uni-card h3 { margin: 0; }
.uni-card p { margin: 0; font-size: .88rem; }
.uni-card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--soft); color: var(--muted); font-size: .76rem; font-weight: 600; vertical-align: middle; }
.tag-strong { background: var(--blue-soft); color: var(--blue); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 16px; }
.filters select, .filters input { font: inherit; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; min-height: 44px; }
.search { position: relative; flex: 1; min-width: 220px; display: block; }
.search .icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search input { width: 100%; padding-left: 40px; }
.result-count { font-size: .9rem; }
.note { margin-top: 32px; color: var(--muted); }
.empty { text-align: center; padding: 48px 16px; color: var(--muted); }
.uni-hero { position: relative; }
.uni-hero[style] { background: linear-gradient(90deg, rgba(14,20,51,.92), rgba(14,20,51,.6)), var(--bg) center / cover; color: #fff; }
.uni-hero[style] h1, .uni-hero[style] .eyebrow, .uni-hero[style] .ko { color: #fff; }
.uni-hero-inner { display: flex; gap: 24px; align-items: center; }
.uni-hero h1 { margin: 0; }
.ko { font-size: 1.15rem; color: var(--muted); margin: 4px 0 12px; }
.detail-grid { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
@media (max-width: 900px) { .detail-grid { grid-template-columns: 1fr; } .uni-hero-inner { flex-direction: column; align-items: flex-start; } }
.side-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 12px; position: sticky; top: 100px; background: #fff; }
.side-card .facts { margin-bottom: 4px; }
.prose h2 { font-size: 1.4rem; margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { font-size: 1.05rem; }

/* ---------- Deadlines & university gallery ---------- */
.deadline-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 360px)); justify-content: center; gap: 14px; }
.deadline-card { display: flex; gap: 16px; align-items: center; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: inherit; }
.deadline-card:hover { border-color: var(--blue); text-decoration: none; }
.dl-date { display: grid; place-items: center; width: 70px; height: 70px; border-radius: 14px; background: var(--blue-soft); color: var(--blue); font-size: .72rem; font-weight: 700; text-transform: uppercase; flex: none; line-height: 1.1; }
.dl-date b { font-size: 1.6rem; }
.deadline-card.soon .dl-date { background: #fdecec; color: #9b2525; }
.dl-body strong { display: block; color: var(--ink); }
.dl-body small { display: block; color: var(--muted); }
.dl-body em { font-style: normal; font-size: .82rem; font-weight: 700; color: var(--blue); }
.deadline-card.soon em { color: #9b2525; }
.deadline-chip { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .76rem; font-weight: 700; background: var(--blue-soft); color: #25309a; white-space: nowrap; }
.deadline-chip.soon { background: #fdecec; color: #9b2525; }
.uni-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; margin: 20px 0; }
.uni-gallery img { width: 100%; height: 120px; object-fit: cover; border-radius: var(--radius-sm); }
.table-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; margin-bottom: 16px; }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th { text-align: left; font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 12px 16px; border-bottom: 1px solid var(--line); background: #fafbff; }
.table td { padding: 12px 16px; border-top: 1px solid var(--line); vertical-align: top; }
.table tr.past td { opacity: .5; }

/* ---------- Offices, team, gallery ---------- */
.office-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 800px) { .office-grid { grid-template-columns: 1fr; } }
.office { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.office img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.office-body { padding: 24px 28px 28px; }
.office-body .eyebrow { margin-bottom: .4em; }
.with-icon { display: flex; gap: 10px; align-items: flex-start; color: var(--text); }
.with-icon .icon { color: var(--blue); margin-top: .15em; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
.person { text-align: center; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.person h3 { margin: 16px 0 2px; }
.person-links { display: grid; gap: 4px; font-size: .9rem; margin: 12px 0 0; }
.person-links a { display: inline-flex; gap: 6px; justify-content: center; align-items: center; }
.avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; }
.avatar.xl { width: 104px; height: 104px; margin: 0 auto; font-size: 2rem; }
.avatar-initials { display: inline-grid; place-items: center; color: #fff; font-weight: 800; background: linear-gradient(135deg, hsl(var(--hue) 60% 50%), hsl(calc(var(--hue) + 40) 65% 35%)); }
.gallery { columns: 3 280px; column-gap: 16px; }
.gallery figure { margin: 0 0 16px; break-inside: avoid; }
.gallery img { border-radius: var(--radius-sm); width: 100%; }
.gallery figcaption { font-size: .85rem; color: var(--muted); padding: 6px 2px; }
.photo-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.photo-stack figure { margin: 0; position: relative; border-radius: var(--radius-sm); overflow: hidden; }
.photo-stack figure:first-child { grid-row: span 2; }
.photo-stack img { width: 100%; height: 100%; object-fit: cover; }
.photo-stack figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 12px 10px; background: linear-gradient(transparent, rgba(0,0,0,.7)); color: #fff; font-size: .82rem; font-weight: 600; }
.callout { background: rgba(255,255,255,.06); border-left: 4px solid var(--blue); padding: 16px 20px; border-radius: 8px; color: #e4e7ff; margin: 24px 0; }

/* ---------- Stories, posts, FAQ ---------- */
.story-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.story { margin: 0; padding: 28px; border-radius: var(--radius); background: var(--soft); display: flex; flex-direction: column; gap: 16px; }
.story blockquote { margin: 0; font-size: 1.02rem; color: var(--ink); }
.story figcaption { display: flex; gap: 12px; align-items: center; margin-top: auto; }
.story figcaption small { display: block; color: var(--muted); }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.post-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.post-card a { color: inherit; display: block; }
.post-card a:hover { text-decoration: none; }
.post-card a:hover h3 { color: var(--blue); }
.post-card img, .post-cover-empty { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.post-cover-empty { display: grid; place-items: center; background: var(--blue-soft); }
.post-cover-empty img { width: 64px; aspect-ratio: auto; opacity: .5; }
.post-card-body { padding: 20px 22px 24px; }
.post-card time { font-size: .82rem; color: var(--muted); }
.post-card p { color: var(--muted); font-size: .93rem; margin: 0; }
.article-cover { margin: 24px 0 32px; width: 100%; }
.cta-inline { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; background: var(--blue-soft); border-radius: var(--radius); padding: 24px 28px; margin-top: 48px; }
.cta-inline p { margin: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 700; color: var(--ink); font-size: 1.05rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--blue); font-weight: 500; }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--muted); padding-right: 40px; }

/* ---------- CTA ---------- */
.cta-section { padding: 0 0 88px; }
.cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: linear-gradient(120deg, var(--blue) 0%, var(--navy) 100%); color: #dfe3ff; padding: 48px 56px; border-radius: 24px; }
.cta h2 { color: #fff; margin-bottom: .25em; }
.cta p { margin: 0; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 600px) { .cta { padding: 36px 28px; } }

/* ---------- Forms (public) ---------- */
.form { display: grid; gap: 16px; }
.form-row, .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-row, .form-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; margin: 0; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: .9rem; color: var(--ink); padding: 0; }
.field input, .field select, .field textarea, .form input:not([type=checkbox]):not([type=radio]):not([type=file]), .form select, .form textarea { font: inherit; width: 100%; padding: 11px 14px; border: 1px solid #d3d7e6; border-radius: 10px; background: #fff; color: var(--ink); min-height: 46px; }
.field textarea, .form textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(43,63,240,.15); }
.field-textarea, .field-lines, .field-checkboxes, .field-image { grid-column: 1 / -1; }
.help { color: var(--muted); font-size: .82rem; }
.check { display: flex; align-items: center; gap: 8px; font-weight: 500 !important; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--blue); }
.checks { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; font-weight: 500; }
.alert-ok { background: #e7f7ef; color: #0b6b49; }
.alert-error { background: #fdecec; color: #9b2525; }
.alert-info { background: var(--blue-soft); color: #25309a; }
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.success { text-align: center; padding: 24px 0; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; }
.contact-list .icon { margin-top: .2em; color: var(--blue); }
.contact-list small { color: var(--muted); }
.contact-list.big { margin-bottom: 28px; }
.office-mini { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 16px; }
.office-mini h3 { margin-bottom: 4px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #a7add6; padding: 64px 0 0; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h3 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #d5d9f5; }
.site-footer .tagline-ko { color: #fff; margin: 16px 0 6px; }
.site-footer .contact-list .icon { color: #8e9cff; }
.site-footer .contact-list small { color: #8a90bd; }
.footer-brand img { width: 140px; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; }
.social a:hover { background: var(--blue); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.08); margin-top: 48px; padding: 20px 24px; font-size: .85rem; }
.footer-bottom a { color: #8a90bd; }
.wa-float { position: fixed; right: 20px; bottom: 20px; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg); z-index: 60; }
.wa-float .icon { width: 30px; height: 30px; }

/* ---------- Status badges (shared with the portal) ---------- */
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .76rem; font-weight: 700; white-space: nowrap; background: var(--soft); color: var(--muted); }
.badge-submitted, .badge-lead-new { background: #fff4de; color: #945800; }
.badge-reviewing, .badge-applied, .badge-lead-contacted { background: var(--blue-soft); color: #25309a; }
.badge-documents { background: #fdecec; color: #9b2525; }
.badge-offer, .badge-visa { background: #ece6ff; color: #5431b8; }
.badge-approved, .badge-arrived, .badge-lead-converted { background: #e2f6ec; color: #0b6b49; }
.badge-rejected, .badge-withdrawn, .badge-lead-closed { background: #eef0f4; color: #5d6377; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }

/* =====================================================================
   Design v2 — richer, more confident look (layered on the base styles)
   ===================================================================== */
:root {
  --violet: #6c4dff;
  --grad: linear-gradient(135deg, #2b3ff0 0%, #6c4dff 100%);
  --grad-soft: linear-gradient(135deg, #eef0ff 0%, #f3efff 100%);
  --night: #0a0f2e;
  --shadow-glow: 0 10px 30px rgba(43, 63, 240, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
h1 { letter-spacing: -.035em; }
h2 { letter-spacing: -.03em; }
::selection { background: #d9ddff; }

/* Buttons */
.btn-primary { background: var(--grad); box-shadow: 0 4px 14px rgba(43, 63, 240, .28); }
.btn-primary:hover { background: var(--grad); filter: brightness(1.08); box-shadow: var(--shadow-glow); transform: translateY(-1px); }
.btn-glow { box-shadow: var(--shadow-glow); }
.btn-glass { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .22); backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .4); }
.btn-outline:hover { transform: translateY(-1px); }

/* Header */
.site-header { transition: box-shadow .25s var(--ease), background .25s var(--ease); }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(14, 20, 51, .08); }
.site-nav ul a { position: relative; }
.site-nav ul a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.site-nav ul a:hover::after, .site-nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav ul a:hover { background: transparent; }

/* Eyebrows as small pills with a dot */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; }
.section-head .eyebrow::before, .page-hero .eyebrow::before { content: ''; width: 18px; height: 2px; border-radius: 2px; background: var(--grad); }

/* ---------- Hero (dark) ---------- */
.hero-dark { background: var(--night); color: #c9cdf0; padding: 72px 0 150px; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden;
  background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 24px 24px; }
.glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.glow.g1 { width: 520px; height: 520px; background: #2b3ff0; top: -160px; right: -80px; }
.glow.g2 { width: 420px; height: 420px; background: #6c4dff; bottom: -200px; left: -120px; opacity: .4; }
.hero-hangul { position: absolute; right: -2%; bottom: -8%; font-family: var(--font-ko); font-weight: 700; font-size: clamp(8rem, 22vw, 20rem); line-height: 1; color: rgba(255, 255, 255, .035); letter-spacing: -.05em; white-space: nowrap; user-select: none; }
.hero-dark h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.7rem); }
.hero-dark .lead { color: #b7bde6; }
.hero-pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); color: #dfe3ff; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 22px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #5eead4; box-shadow: 0 0 0 0 rgba(94, 234, 212, .6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(94, 234, 212, 0); } 100% { box-shadow: 0 0 0 0 rgba(94, 234, 212, 0); } }
.hero-ko { font-size: 1.05rem; color: #aab1e0; margin: -4px 0 18px; }
.hero-ko span { font-weight: 700; background: linear-gradient(90deg, #8ea0ff, #c3b5ff); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 1.2rem; }
.hero-trust { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .9rem; color: #c9cdf0; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .icon { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: rgba(94, 234, 212, .15); color: #5eead4; }
.hero-visual { position: relative; min-height: 460px; }
.hv-main { margin: 0; position: absolute; inset: 0 0 60px 60px; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); border: 1px solid rgba(255, 255, 255, .12); }
.hv-main img { width: 100%; height: 100%; object-fit: cover; }
.hv-second { margin: 0; position: absolute; left: 0; bottom: 0; width: 42%; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; border: 4px solid var(--night); box-shadow: 0 20px 50px rgba(0, 0, 0, .45); }
.hv-second img { width: 100%; height: 100%; object-fit: cover; }
.hv-card { position: absolute; display: flex; align-items: center; gap: 12px; background: rgba(255, 255, 255, .96); color: var(--ink); border-radius: 16px; padding: 12px 16px; box-shadow: 0 18px 40px rgba(0, 0, 0, .25); font-size: .88rem; font-weight: 600; line-height: 1.35; }
.hv-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--grad); color: #fff; flex: none; }
.hv-icon .icon { width: 20px; height: 20px; }
.hv-badge { right: -12px; top: 32px; max-width: 250px; animation: floaty 6s ease-in-out infinite; }
.hv-stat { right: 28px; bottom: 18px; flex-direction: column; align-items: flex-start; gap: 0; max-width: 200px; animation: floaty 7s ease-in-out infinite reverse; }
.hv-stat strong { font-size: 2rem; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hv-stat span { font-size: .8rem; color: var(--muted); font-weight: 600; }
@keyframes floaty { 50% { transform: translateY(-8px); } }
@media (max-width: 900px) {
  .hero-dark { padding: 48px 0 120px; }
  .hero-visual { min-height: 380px; margin-top: 12px; }
  .hv-main { inset: 0 0 50px 40px; }
  .hv-badge { right: 8px; top: -10px; }
}
@media (max-width: 520px) { .hv-second { width: 46%; } .hv-stat { right: 10px; } .hero-hangul { font-size: 7rem; } }

/* ---------- Floating stats ---------- */
.stats-float { position: relative; z-index: 2; margin-top: -90px; }
.stats-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.stat-c { background: #fff; border-radius: 20px; padding: 24px 24px 22px; box-shadow: 0 20px 50px rgba(14, 20, 51, .12); border: 1px solid var(--line); position: relative; overflow: hidden; }
.stat-c::after { content: ''; position: absolute; left: 24px; right: 24px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--grad); }
.stat-c strong { display: block; font-size: 2.6rem; line-height: 1.05; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 6px; }
.stat-c span { color: var(--muted); font-size: .9rem; font-weight: 500; }

/* ---------- University marquee ---------- */
.uni-marquee-section { padding-top: 64px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); padding: 6px 0; }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee .uni-chip { width: 270px; flex: none; box-shadow: var(--shadow); border-color: transparent; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.marquee .uni-chip:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(14, 20, 51, .12); }
@keyframes marquee { to { transform: translateX(calc(-50% - 7px)); } }

/* ---------- Cards ---------- */
.card { position: relative; border-radius: 20px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(14, 20, 51, .10); border-color: #d5d9f7; }
.card-service { padding: 30px 28px; overflow: hidden; }
.card-service::before { content: ''; position: absolute; inset: 0; background: var(--grad-soft); opacity: 0; transition: opacity .25s var(--ease); z-index: -1; }
.card-service:hover::before { opacity: 1; }
.card-num { position: absolute; top: 22px; right: 24px; font-weight: 800; font-size: .85rem; color: #c3c8ea; letter-spacing: .06em; }
.card-icon.grad { background: var(--grad); color: #fff; box-shadow: 0 8px 20px rgba(43, 63, 240, .25); }
.card.plain:hover { transform: none; box-shadow: none; }

/* ---------- Dark section & bento ---------- */
.section-dark { background: var(--night); position: relative; isolation: isolate; overflow: hidden; }
.section-dark::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 300px at 90% 0%, rgba(43, 63, 240, .35), transparent 70%), radial-gradient(500px 300px at 0% 100%, rgba(108, 77, 255, .25), transparent 70%); }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bento .settle { border-radius: 20px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); transition: transform .25s var(--ease), border-color .25s var(--ease); }
.bento .settle:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, .2); }
.bento .settle.has-photo { position: relative; min-height: 260px; justify-content: flex-end; }
.bento .settle.has-photo img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; transition: transform .6s var(--ease); }
.bento .settle.has-photo:hover img { transform: scale(1.04); }
.bento .settle.has-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 15, 46, 0) 30%, rgba(10, 15, 46, .92) 100%); }
.bento .settle.has-photo .settle-body { position: relative; z-index: 1; }
.bento .settle.has-photo p { color: #d7dbf7; }
@media (min-width: 981px) {
  .bento.bento-6 { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(210px, auto); }
  .bento-6 .settle:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 3; }
  .bento-6 .settle:nth-child(2) { grid-column: 3 / 5; }
  .bento-6 .settle:nth-child(3) { grid-column: 3 / 4; }
  .bento-6 .settle:nth-child(4) { grid-column: 4 / 5; }
  .bento-6 .settle:nth-child(5) { grid-column: 1 / 3; }
  .bento-6 .settle:nth-child(6) { grid-column: 3 / 5; }
  .bento-6 .settle:nth-child(1) h3 { font-size: 1.4rem; }
}
@media (max-width: 980px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } }

/* ---------- Programs ---------- */
.program { border-radius: 20px; position: relative; overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.program::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad); }
.program:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(14, 20, 51, .10); }

/* ---------- Journey timeline ---------- */
.timeline-h { list-style: none; padding: 0; margin: 0 0 44px; display: grid; grid-template-columns: repeat(var(--n, 5), 1fr); gap: 18px; position: relative; }
.timeline-h::before { content: ''; position: absolute; left: 10%; right: 10%; top: 26px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #2b3ff0, #6c4dff, #2b3ff0); opacity: .35; }
.timeline-h li { position: relative; text-align: center; }
.tl-num { position: relative; z-index: 1; display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; font-size: 1.2rem; box-shadow: 0 0 0 6px var(--soft), var(--shadow-glow); margin-bottom: 16px; }
.tl-card { background: #fff; border-radius: 18px; padding: 20px 18px; box-shadow: var(--shadow); text-align: left; height: calc(100% - 70px); transition: transform .25s var(--ease); }
.tl-card:hover { transform: translateY(-3px); }
.tl-card p { color: var(--muted); font-size: .92rem; margin: 0; }
@media (max-width: 980px) {
  .timeline-h { grid-template-columns: 1fr; gap: 14px; padding-left: 4px; }
  .timeline-h::before { left: 30px; right: auto; top: 20px; bottom: 20px; width: 3px; height: auto; background: linear-gradient(180deg, #2b3ff0, #6c4dff); }
  .timeline-h li { display: flex; gap: 16px; text-align: left; align-items: flex-start; }
  .tl-num { flex: none; margin: 0; }
  .tl-card { height: auto; flex: 1; }
}

/* ---------- Why Nexora ---------- */
.photo-float { position: relative; margin: 8px 0 0; }
.photo-float .hv-card { left: -16px; bottom: -22px; max-width: 290px; animation: floaty 7s ease-in-out infinite; }
.photo-float .hv-card strong { display: block; }
.photo-float .hv-card span span, .photo-float .hv-card > span:last-child { font-weight: 500; color: var(--muted); font-size: .82rem; }
.photo-float .hv-card strong { color: var(--ink); font-size: .95rem; }
@media (max-width: 600px) { .photo-float .hv-card { left: 8px; } }
.reason { padding: 14px; margin: -14px; border-radius: 16px; transition: background .2s var(--ease); }
.reason:hover { background: var(--soft); }
.reason .card-icon.sm { background: var(--grad); color: #fff; }

/* ---------- Soft sections get a faint pattern ---------- */
.section-soft { background-color: var(--soft); background-image: radial-gradient(rgba(43, 63, 240, .07) 1px, transparent 1px); background-size: 22px 22px; }
.section-soft .card.plain { background: #fff; border-radius: 20px; padding: 26px; box-shadow: var(--shadow); }

/* ---------- Offices ---------- */
.office { border-radius: 22px; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.office:hover { transform: translateY(-4px); box-shadow: 0 26px 60px rgba(14, 20, 51, .14); }
.office img { transition: transform .6s var(--ease); }
.office:hover img { transform: scale(1.03); }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: start; }
.faq-side { position: sticky; top: 110px; }
.faq-side .section-head { margin-bottom: 16px; }
@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; gap: 24px; } .faq-side { position: static; } }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; margin-bottom: 12px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.faq details[open] { border-color: #c9cffd; box-shadow: var(--shadow); }
.faq summary::after { content: ''; width: 26px; height: 26px; border-radius: 50%; right: 0; background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b3ff0' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .25s var(--ease); }
.faq details[open] summary::after { content: ''; transform: translateY(-50%) rotate(45deg); }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; isolation: isolate; background: var(--night); padding: 64px 64px; border-radius: 28px; }
.cta::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(500px 260px at 100% 0%, rgba(43, 63, 240, .7), transparent 70%), radial-gradient(420px 260px at 0% 100%, rgba(108, 77, 255, .55), transparent 70%); }
.cta h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.cta-hangul { position: absolute; right: 24px; bottom: -30px; z-index: -1; font-family: var(--font-ko); font-weight: 700; font-size: 8rem; color: rgba(255, 255, 255, .05); line-height: 1; pointer-events: none; }
@media (max-width: 600px) { .cta { padding: 40px 26px; } .cta-hangul { font-size: 5rem; } }

/* ---------- Inner page headers ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--night); color: #c9cdf0; padding: 72px 0 56px; }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), radial-gradient(520px 260px at 100% 0%, rgba(43, 63, 240, .45), transparent 70%), radial-gradient(420px 240px at 0% 100%, rgba(108, 77, 255, .3), transparent 70%); background-size: 24px 24px, auto, auto; }
.page-hero h1 { color: #fff; }
.page-hero .lead { color: #b7bde6; }
.page-hero .eyebrow { color: #aab4ff; }
.page-hero .eyebrow a { color: inherit; }
.page-hero .tagline-ko { color: #fff; }
.page-hero .tagline-ko span { color: #aab1e0; }
.page-hero .pill-nav a { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); color: #dfe3ff; }
.page-hero .pill-nav a:hover { border-color: #fff; color: #fff; }
.page-hero .ko { color: #c3c8ea; }
.uni-hero:not([style]) .tag { background: rgba(255, 255, 255, .1); color: #dfe3ff; }
.uni-hero:not([style]) .tag-strong { background: rgba(142, 160, 255, .25); color: #fff; }

/* ---------- University cards ---------- */
.uni-card { border-radius: 20px; position: relative; overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.uni-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad); opacity: 0; transition: opacity .25s var(--ease); }
.uni-card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(14, 20, 51, .10); }
.uni-card:hover::before { opacity: 1; }
.uni-mono { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); position: relative; }
.site-footer::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad); }

/* ---------- Scroll-in animation (only when JS is on and motion is allowed) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee-track > [aria-hidden="true"] { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .hv-badge, .hv-stat, .photo-float .hv-card, .pulse { animation: none; }
}

/* =====================================================================
   Brand layer: fonts, logo watermark, world map & intro animation
   ===================================================================== */
h1, h2, h3, .stat-c strong, .stat strong, .hv-stat strong, .tl-num, .card-num, .dl-date b, .ai-score strong { font-family: var(--font-head, var(--font)); }

/* Nexora mark as a soft watermark that blends into dark backgrounds */
.nx-watermark, .page-hero::after, .section-dark::after, .site-footer::after {
  -webkit-mask: url('../img/mark-mask.png') center / contain no-repeat; mask: url('../img/mark-mask.png') center / contain no-repeat;
  background: linear-gradient(160deg, #8ea0ff 0%, #c3b5ff 60%, #5eead4 100%); pointer-events: none;
}
.nx-watermark { position: absolute; display: block; }
.hero-wm { width: min(46vw, 620px); aspect-ratio: 1; left: 42%; top: 54%; transform: translate(-50%, -50%) rotate(-8deg); opacity: .055; }
.cta-wm { width: 300px; aspect-ratio: 1; right: -30px; bottom: -70px; opacity: .1; z-index: -1; transform: rotate(-10deg); }
.page-hero::after { content: ''; position: absolute; z-index: -1; width: 360px; aspect-ratio: 1; right: 4%; top: 50%; transform: translateY(-50%) rotate(-8deg); opacity: .07; }
.section-dark::after { content: ''; position: absolute; z-index: -1; width: 520px; aspect-ratio: 1; left: -120px; bottom: -160px; opacity: .045; transform: rotate(12deg); }
.site-footer { overflow: hidden; }
.site-footer::after { content: ''; position: absolute; width: 380px; aspect-ratio: 1; right: -60px; bottom: -90px; opacity: .05; transform: rotate(-10deg); }
@media (max-width: 700px) { .page-hero::after { width: 220px; right: -40px; } .hero-wm { width: 90vw; left: 50%; top: 40%; } }

/* World map (shared by the banner and the intro) */
.nx-dots { fill: none; stroke: rgba(255, 255, 255, .17); stroke-width: 2.6; stroke-linecap: round; }
.nx-arc { fill: none; stroke: rgba(142, 160, 255, .42); stroke-width: 1.3; stroke-dasharray: 1; stroke-dashoffset: 1; animation: nxDraw 1.1s var(--ease) forwards; animation-delay: calc(.4s + var(--i) * .07s); }
.nx-arc.nx-main { stroke: #5eead4; stroke-width: 2.4; animation-duration: 1.3s; animation-delay: .25s; filter: drop-shadow(0 0 6px rgba(94, 234, 212, .7)); }
.nx-comet { fill: none; stroke: #e6eaff; stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: .05 .95; stroke-dashoffset: .05; opacity: 0; animation: nxComet 3.4s linear infinite; animation-delay: calc(1.6s + var(--i) * .41s); }
.nx-comet.nx-main { stroke: #ffffff; stroke-width: 3; animation-duration: 2.6s; animation-delay: 1.4s; }
.nx-city { fill: #8ea0ff; opacity: 0; animation: nxPop .5s var(--ease) forwards; animation-delay: calc(.3s + var(--i) * .07s); }
.nx-home { fill: #5eead4; animation-delay: .2s; }
.nx-hub-dot { fill: #fff; filter: drop-shadow(0 0 8px rgba(142, 160, 255, .9)); }
.nx-ring { fill: none; stroke: #8ea0ff; stroke-width: 1.5; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center; opacity: 0; animation: nxRing 2.6s ease-out infinite; animation-delay: 1.5s; }
.nx-ring.r2 { animation-delay: 2.37s; }
.nx-ring.r3 { animation-delay: 3.23s; }
.nx-label rect { fill: rgba(10, 15, 46, .85); stroke: rgba(255, 255, 255, .25); }
.nx-label text { fill: #fff; font: 700 12px var(--font); letter-spacing: .04em; }
.nx-label { opacity: 0; animation: nxPop .6s var(--ease) forwards; animation-delay: 1.5s; }
.nx-label-hub rect { fill: rgba(43, 63, 240, .92); stroke: rgba(195, 181, 255, .6); }
@keyframes nxDraw { to { stroke-dashoffset: 0; } }
@keyframes nxComet { 0% { stroke-dashoffset: .05; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { stroke-dashoffset: -1; opacity: 0; } }
.nx-city, .nx-label { transform-box: fill-box; transform-origin: center; }
@keyframes nxPop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes nxRing { 0% { transform: scale(.8); opacity: .9; } 100% { transform: scale(4.6); opacity: 0; } }

/* In the banner the map is a quiet, living background */
.hero-map { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .75; }
.hero-map .nx-dots { stroke: rgba(255, 255, 255, .12); }
.hero-map .nx-arc { stroke: rgba(142, 160, 255, .3); }
.hero-dark .hero-bg { background-image: none; }

/* ---------- Intro: the world connects, then the gate opens ---------- */
.intro { display: none; }
.intro-door { position: absolute; top: 0; bottom: 0; width: 50.5%; background: var(--night); animation: doorL .95s cubic-bezier(.7, 0, .2, 1) forwards; animation-delay: 3.05s; }
.intro-door.left { left: 0; background-image: radial-gradient(600px 400px at 100% 50%, rgba(43, 63, 240, .28), transparent 70%); }
.intro-door.right { right: 0; animation-name: doorR; background-image: radial-gradient(600px 400px at 0% 50%, rgba(108, 77, 255, .28), transparent 70%); }
.intro-door.left::after { content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, transparent, #c9d2ff, transparent); opacity: 0; animation: seam .9s ease forwards; animation-delay: 2.75s; box-shadow: 0 0 24px 6px rgba(142, 160, 255, .6); }
@keyframes doorL { to { transform: translateX(-102%); } }
@keyframes doorR { to { transform: translateX(102%); } }
@keyframes seam { 40% { opacity: 1; } 100% { opacity: .6; } }
.intro-stage { position: absolute; inset: 0; display: grid; place-items: center; animation: stageOut .55s ease forwards; animation-delay: 2.85s; }
@keyframes stageOut { to { opacity: 0; transform: scale(1.06); } }
.intro-map { position: absolute; width: min(1400px, 96vw); height: auto; top: 50%; left: 50%; transform: translate(-50%, -54%); }
.intro-map .nx-dots { opacity: 0; animation: fadeIn .9s ease forwards .05s; }
@keyframes fadeIn { to { opacity: 1; } }
.intro-brand { position: relative; text-align: center; margin-top: 46vh; opacity: 0; animation: brandIn .8s var(--ease) forwards; animation-delay: 1.65s; padding: 0 20px; }
@media (min-height: 700px) { .intro-brand { margin-top: 52vh; } }
@keyframes brandIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.intro-mark { display: block; width: 72px; aspect-ratio: 1; margin: 0 auto 14px; -webkit-mask: url('../img/mark-mask.png') center / contain no-repeat; mask: url('../img/mark-mask.png') center / contain no-repeat; background: linear-gradient(160deg, #ffffff, #c3b5ff 60%, #5eead4); filter: drop-shadow(0 0 18px rgba(142, 160, 255, .7)); }
.intro-line { margin: 0; color: #c9cdf0; font-size: clamp(1rem, 2vw, 1.2rem); font-weight: 500; letter-spacing: .01em; }
.intro-line strong { display: block; color: #fff; font-family: var(--font-head, var(--font)); font-size: clamp(1.6rem, 3.6vw, 2.6rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; background: linear-gradient(90deg, #ffffff, #c3b5ff 55%, #5eead4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.intro-ko { margin: 10px 0 0; color: #8ea0ff; font-weight: 700; letter-spacing: .08em; }
.intro-skip { position: absolute; right: 22px; bottom: 22px; z-index: 2; font: 600 .85rem var(--font); color: #c9cdf0; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; padding: 8px 16px; cursor: pointer; animation: stageOut .4s ease forwards 2.85s; }
.intro-skip:hover { background: rgba(255, 255, 255, .16); color: #fff; }
/* Skipped: open the gate immediately */
.intro.skip .intro-door, .intro.skip .intro-stage, .intro.skip .intro-skip { animation-delay: 0s !important; animation-duration: .45s !important; }
/* PCs with "Animation effects" off get the same story, told more calmly: no sliding doors or zoom, just fades. */
.rm .intro-door { display: none; }
.rm .intro { background: var(--night); }
.js.rm:not(.intro-seen) .intro { animation: introFade .7s ease forwards 3.1s; }
.rm .intro-stage { animation: none; }
.rm .intro.skip { animation-delay: 0s !important; animation-duration: .3s !important; }
@keyframes introFade { to { opacity: 0; visibility: hidden; } }
@media (max-width: 760px) {
  .intro-map { width: 230vw; left: 0; transform: translate(-46%, -62%); }
  .intro-brand { margin-top: 40vh; }
}

/* Highlighted hook in headings: words wrapped in *asterisks* */
.hl { background: linear-gradient(90deg, #2b3ff0, #6c4dff 55%, #0fb39a); -webkit-background-clip: text; background-clip: text; color: transparent; position: relative; white-space: nowrap; }
.hero-dark .hl, .section-dark .hl, .cta .hl, .page-hero .hl { background-image: linear-gradient(90deg, #8ea0ff, #c3b5ff 50%, #5eead4); }
.hero-dark .hl::after { content: ''; position: absolute; left: 2%; right: 2%; bottom: .02em; height: .14em; border-radius: 999px; z-index: -1;
  background: linear-gradient(90deg, rgba(142, 160, 255, .55), rgba(195, 181, 255, .5), rgba(94, 234, 212, .55)); filter: blur(1px);
  transform: scaleX(0); transform-origin: left; animation: hlLine .9s var(--ease) forwards .5s; }
@keyframes hlLine { to { transform: scaleX(1); } }
@media (max-width: 560px) { .hl { white-space: normal; } }
@media (prefers-reduced-motion: reduce) { .hero-dark .hl::after { animation: none; transform: none; } }

/* Intro polish: timing line, logo entrance, gate light; replay button */
.intro-progress { position: absolute; left: 50%; bottom: 34px; width: 180px; height: 3px; margin-left: -90px; border-radius: 3px; background: rgba(255, 255, 255, .1); overflow: hidden; z-index: 2; animation: stageOut .4s ease forwards 2.85s; }
.intro-progress::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #8ea0ff, #c3b5ff, #5eead4); transform: scaleX(0); transform-origin: left; animation: progressFill 2.85s linear forwards; }
@keyframes progressFill { to { transform: scaleX(1); } }
.intro-mark { animation: markIn .9s cubic-bezier(.2, .9, .3, 1.2) both 1.55s, markGlow 2.4s ease-in-out infinite 2.4s; }
@keyframes markIn { from { opacity: 0; transform: scale(.6) rotate(-12deg); } to { opacity: 1; transform: none; } }
@keyframes markGlow { 50% { filter: drop-shadow(0 0 30px rgba(142, 160, 255, 1)); } }
.intro-line strong { animation: lineIn .8s var(--ease) both 1.9s; }
@keyframes lineIn { from { opacity: 0; letter-spacing: .02em; } to { opacity: 1; } }
.intro-door.left::after { width: 3px; box-shadow: 0 0 40px 12px rgba(142, 160, 255, .55), 0 0 90px 30px rgba(108, 77, 255, .3); }
.intro-map .nx-dots { stroke: rgba(255, 255, 255, .2); }
.replay-intro { display: inline-flex; align-items: center; gap: 6px; margin-top: 22px; font-size: .8rem; font-weight: 600; color: #aab1e0; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04); }
.replay-intro:hover { color: #fff; border-color: rgba(255, 255, 255, .35); text-decoration: none; }
.replay-intro .icon { width: 15px; height: 15px; }
/* =====================================================================
   Banner: world network card beside the headline (contained, responsive)
   ===================================================================== */
.hero-side { display: grid; gap: 14px; min-width: 0; }
.map-card { position: relative; border-radius: 22px; padding: 14px 16px 16px; background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 30px 70px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .08); backdrop-filter: blur(8px); overflow: hidden; }
.map-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(420px 220px at 85% 35%, rgba(43, 63, 240, .28), transparent 70%); pointer-events: none; }
.mc-head { position: relative; display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.mc-title { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; font-size: .86rem; }
.mc-sub { color: #9aa3d6; font-size: .8rem; }
.mc-replay { margin-left: auto; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06); color: #c9cdf0; cursor: pointer; }
.mc-replay:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.mc-replay .icon { width: 15px; height: 15px; }
.mc-map-wrap { position: relative; }
.mc-map { display: block; width: 100%; height: auto; }
.mc-map .nx-dots { stroke: rgba(170, 182, 255, .34); stroke-width: 3.6; }
.mc-map .nx-arc { stroke: rgba(142, 160, 255, .5); stroke-width: 2.3; }
.mc-map .nx-arc.nx-main { stroke-width: 4.6; }
.mc-map .nx-comet { stroke-width: 3.6; }
.mc-map .nx-comet.nx-main { stroke-width: 5.5; }
.mc-map .nx-label text { font-size: 22px; letter-spacing: .03em; }
.mc-caption { position: relative; margin: 6px 0 0; color: #b7bde6; font-size: .92rem; line-height: 1.35; }
.mc-caption strong { display: block; font-family: var(--font-head, var(--font)); font-size: 1.25rem; font-weight: 800; letter-spacing: -.01em; background: linear-gradient(90deg, #ffffff, #c3b5ff 55%, #5eead4); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* Without the animation setting the map is drawn straight away */
.map-card:not(.animate) .nx-arc { animation: none; stroke-dashoffset: 0; }
.map-card:not(.animate) .nx-city, .map-card:not(.animate) .nx-label { animation: none; opacity: 1; }
.hero-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero-photos figure { position: relative; margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 16px 40px rgba(0, 0, 0, .35); aspect-ratio: 4 / 3; }
.hero-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.hero-photos figure:hover img { transform: scale(1.04); }
.hero-photos figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 6px; padding: 26px 12px 10px; background: linear-gradient(180deg, transparent, rgba(10, 15, 46, .88)); color: #fff; font-size: .78rem; font-weight: 600; line-height: 1.3; }
.hero-photos figcaption .icon { width: 15px; height: 15px; flex: none; color: #8ea0ff; }
@media (max-width: 900px) { .hero-side { margin-top: 8px; } }
@media (max-width: 520px) {
  .map-card { padding: 12px 12px 14px; border-radius: 18px; }
  .mc-sub { display: none; }
  .mc-caption strong { font-size: 1.1rem; }
  .hero-photos { gap: 10px; }
  .hero-photos figcaption { font-size: .7rem; padding: 20px 8px 8px; }
}