/* Altior Academy site styles. Palette: ivory, navy, burgundy, brass (matches web/app/globals.css) */

:root {
  --bg: #FAF7F0;
  --bg-alt: #F1ECE0;
  --bg-deep: #E4DECF;
  --ink: #0A1C30;
  --ink-soft: #1F3552;
  --ink-mute: #5B6678;
  --rule: #DDD7CA;
  --rule-soft: #ECE7DA;
  --ivy: #0F2747;
  --ivy-deep: #0A1C30;
  --crimson: #7A1F2B;
  --gold: #A8864A;
  --gold-soft: #D4B872;
  --gold-deep: #7C612E;
  --white: #FFFFFF;
  --serif: "Cormorant Garamond", "EB Garamond", "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow: 0 1px 2px rgba(10, 28, 48, 0.04);
  --shadow-med: 0 8px 32px -12px rgba(10, 28, 48, 0.12);
  --shadow-deep: 0 24px 64px -24px rgba(10, 28, 48, 0.20);
  --max: 1240px;
  --pad: clamp(20px, 4vw, 48px);
}

/* Subtle paper texture layered over bg — calmer, less yellow */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(circle at 18% 28%, rgba(176, 141, 61, 0.020) 0%, transparent 45%),
    radial-gradient(circle at 82% 75%, rgba(22, 55, 88, 0.025) 0%, transparent 55%);
  opacity: 1;
}
body > * { position: relative; z-index: 1; }

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: var(--ink); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--ivy); }

/* ——— Typography ——— */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--ink);
}

h1 { font-size: clamp(2.5rem, 5.5vw, 4.75rem); font-weight: 500; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.75rem); }
h4 { font-size: 1.15rem; font-family: var(--sans); font-weight: 600; letter-spacing: 0; }

p { color: var(--ink-soft); font-size: 1.0625rem; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ivy);
  display: inline-block;
}

.num {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--ink-mute);
}

.kor {
  font-family: var(--serif);
  color: var(--ivy);
  font-weight: 400;
}

.seal {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  background: var(--white);
}
.seal .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ivy); }

/* ——— Layout ——— */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

section { padding: clamp(64px, 9vw, 128px) 0; }

.rule { height: 1px; background: var(--rule); border: 0; margin: 0; }

/* ——— Header ——— */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 240, 230, 0.85);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
}
.brand {
  display: flex; align-items: baseline; gap: 10px;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.brand .brand-kor {
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--ivy);
}
.nav-links {
  display: flex; gap: 32px; list-style: none;
  font-size: 0.92rem;
}
.nav-links a { color: var(--ink-soft); font-weight: 500; }
.nav-links a.active, .nav-links a:hover { color: var(--ink); }
.nav-cta {
  font-family: var(--sans);
  background: var(--ink);
  color: var(--bg) !important;
  padding: 10px 20px;
  border-radius: 2px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background .2s ease;
}
.nav-cta:hover { background: var(--ivy); color: var(--bg) !important; }

.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }

/* ——— Hero ——— */
.hero {
  padding: clamp(72px, 11vw, 160px) 0 clamp(56px, 8vw, 120px);
  position: relative;
  overflow: hidden;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: end;
}
.hero h1 { margin: 16px 0 24px; }
.hero h1 em { font-style: italic; color: var(--ivy); font-weight: 400; }
.hero-lede { font-size: 1.18rem; color: var(--ink-soft); max-width: 52ch; }
.hero-meta {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  padding-top: 24px; border-top: 1px solid var(--rule);
}
.hero-meta .label { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 6px; }
.hero-meta .val { font-family: var(--serif); font-size: 1.35rem; color: var(--ink); }

.hero-mark {
  position: absolute;
  right: -40px; top: 50%; transform: translateY(-50%);
  font-family: var(--serif);
  font-size: clamp(120px, 20vw, 260px);
  color: var(--rule);
  opacity: 0.5;
  pointer-events: none;
  line-height: 1;
  z-index: 1;
  user-select: none;
}

.cta-row { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  border-radius: 2px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: all .2s ease;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--ink); color: var(--bg) !important; }
.btn-primary:hover { background: var(--ivy); color: var(--bg) !important; }
.btn-ghost { background: transparent; color: var(--ink) !important; border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg) !important; }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ——— Pillars / credentials ——— */
.credentials {
  background: var(--bg-alt);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 40px 0;
}
.cred-row {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 24px;
  font-family: var(--serif); font-size: 1.5rem; color: var(--ink-soft);
}
.cred-row span { opacity: 0.85; }
.cred-label {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: block;
  margin-bottom: 18px;
}

/* ——— Section headings ——— */
.sec-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 56px;
  margin-bottom: 56px;
  align-items: end;
}
.sec-head .lead p { max-width: 58ch; margin-top: 18px; }
.sec-head h2 em { font-style: italic; color: var(--ivy); font-weight: 400; }

/* ——— Programs grid ——— */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.program-card {
  background: var(--bg);
  padding: 40px 36px;
  display: flex; flex-direction: column;
  min-height: 320px;
  transition: background .25s ease;
  position: relative;
}
.program-card:hover { background: var(--white); }
.program-card .num { margin-bottom: 28px; }
.program-card h3 { margin-bottom: 12px; }
.program-card .kor-tag { font-family: var(--serif); color: var(--gold); font-size: 0.95rem; letter-spacing: 0.04em; margin-bottom: 20px; display: block; }
.program-card p { margin-bottom: 24px; flex-grow: 1; font-size: 0.98rem; }
.program-card .meta { display: flex; justify-content: space-between; align-items: center; padding-top: 20px; border-top: 1px solid var(--rule); }
.program-card .meta .grade { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); }
.program-card .meta .read { font-size: 0.85rem; color: var(--ivy); font-weight: 600; }

/* ——— Approach / methodology ——— */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.pillar { padding-top: 32px; border-top: 2px solid var(--ink); }
.pillar .num { display: block; margin-bottom: 16px; }
.pillar h3 { margin-bottom: 14px; }
.pillar p { font-size: 0.98rem; }

/* ——— Founder / Quote ——— */
.founder-block {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 72px;
  align-items: center;
}
.founder-portrait {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--ivy) 0%, var(--ink) 100%);
  position: relative;
  display: flex; align-items: center; justify-content: center;
  color: var(--bg);
  font-family: var(--serif);
  font-size: 6rem;
  letter-spacing: 0.02em;
  border-radius: 2px;
  overflow: hidden;
}
.founder-portrait::after {
  content: "";
  position: absolute; inset: 14px;
  border: 1px solid rgba(245, 240, 230, 0.3);
  pointer-events: none;
}
.founder-body .eyebrow { margin-bottom: 16px; }
.founder-body blockquote {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  line-height: 1.35;
  color: var(--ink);
  margin: 20px 0 28px;
}
.founder-body .credentials-list {
  list-style: none;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px 32px;
  padding: 28px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin: 28px 0;
}
.credentials-list li {
  display: flex; align-items: baseline; gap: 12px;
  font-size: 0.95rem;
  color: var(--ink);
}
.credentials-list .school {
  font-family: var(--serif); font-size: 1.1rem; font-weight: 500;
}
.credentials-list .detail { color: var(--ink-mute); font-size: 0.85rem; }

/* ——— Team ——— */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.team-card {
  border-top: 1px solid var(--rule);
  padding-top: 24px;
}
.team-avatar {
  aspect-ratio: 1/1;
  background: var(--bg-alt);
  margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 3rem;
  color: var(--ivy);
  border-radius: 2px;
}
.team-card h4 { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; margin-bottom: 4px; }
.team-card .role { font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 14px; display: block; }
.team-card .bio { font-size: 0.92rem; }
.team-card .schools { margin-top: 14px; font-size: 0.85rem; color: var(--ivy); font-weight: 600; }

/* ——— CTA section ——— */
.cta {
  background: var(--ink);
  color: var(--bg);
  padding: clamp(72px, 10vw, 140px) 0;
}
.cta h2 { color: var(--bg); max-width: 18ch; }
.cta h2 em { color: var(--gold); font-style: italic; font-weight: 400; }
.cta p { color: rgba(245, 240, 230, 0.75); margin-top: 20px; max-width: 52ch; }
.cta .btn-primary { background: var(--bg); color: var(--ink) !important; margin-top: 36px; }
.cta .btn-primary:hover { background: var(--gold); color: var(--ink) !important; }
.cta .eyebrow { color: var(--gold); }

/* ——— Footer ——— */
.site-footer {
  background: var(--bg-alt);
  padding: 72px 0 32px;
  border-top: 1px solid var(--rule);
}
/* Brand block + four link columns: Tracks, Programs, Company, Contact */
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr 1fr;
  gap: 44px;
  margin-bottom: 56px;
}
.footer-brand { font-family: var(--serif); font-size: 1.5rem; margin-bottom: 12px; }
.footer-brand .brand-kor { font-family: var(--serif); color: var(--ivy); font-size: 1.05rem; margin-left: 8px; }
.footer-col h5 {
  font-family: var(--sans); font-size: 0.72rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: 18px; font-weight: 600;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 0.92rem; }
.footer-col a { color: var(--ink-soft); }
.footer-col a:hover { color: var(--ivy); }
.footer-bot {
  padding-top: 28px;
  border-top: 1px solid var(--rule);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-size: 0.82rem; color: var(--ink-mute);
}

/* ——— Program detail pages ——— */
.page-hero {
  padding: 80px 0 56px;
  border-bottom: 1px solid var(--rule);
}
.page-hero .crumbs {
  display: flex; gap: 12px; font-size: 0.8rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-mute); margin-bottom: 24px;
}
.page-hero .crumbs a { color: var(--ink-mute); }
.page-hero .crumbs a:hover { color: var(--ivy); }
.page-hero h1 { margin: 12px 0 20px; max-width: 16ch; }
.page-hero .lede { font-size: 1.18rem; max-width: 58ch; color: var(--ink-soft); }
.page-hero .stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  padding: 36px 0 0; margin-top: 48px; border-top: 1px solid var(--rule);
}
.stat .label { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 6px; }
.stat .val { font-family: var(--serif); font-size: 1.6rem; color: var(--ink); }

.page-body {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 72px;
  padding: clamp(64px, 9vw, 120px) 0;
}
.page-body aside { position: sticky; top: 100px; align-self: start; }
.page-body aside h5 {
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: 16px;
}
.page-body aside ul { list-style: none; border-top: 1px solid var(--rule); }
.page-body aside li { border-bottom: 1px solid var(--rule); }
.page-body aside a { display: block; padding: 14px 0; font-size: 0.95rem; color: var(--ink-soft); }
.page-body aside a:hover { color: var(--ivy); }

.prose h2 { margin: 0 0 20px; }
.prose h2 em { font-style: italic; color: var(--ivy); font-weight: 400; }
.prose h3 { margin: 48px 0 14px; }
.prose p { margin-bottom: 20px; }
.prose ul { margin: 0 0 24px 20px; }
.prose ul li { margin-bottom: 8px; color: var(--ink-soft); }
.prose blockquote {
  border-left: 3px solid var(--ivy);
  padding: 8px 0 8px 24px;
  margin: 32px 0;
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.4;
  color: var(--ink);
}

.phase-table {
  border-top: 2px solid var(--ink);
  margin-top: 32px;
}
.phase {
  display: grid;
  grid-template-columns: 120px 1fr;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
  gap: 32px;
}
.phase .ph-num { font-family: var(--serif); font-size: 1.8rem; color: var(--ivy); }
.phase h4 { margin-bottom: 8px; font-family: var(--serif); font-size: 1.25rem; font-weight: 500; letter-spacing: 0; }
.phase p { font-size: 0.98rem; margin: 0; }

/* ——— Contact ——— */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 72px;
}
.contact-form {
  background: var(--white);
  padding: 40px;
  border: 1px solid var(--rule);
}
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block; font-size: 0.78rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-mute); margin-bottom: 8px;
}
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 14px 16px;
  border: 1px solid var(--rule);
  background: var(--bg);
  font-family: var(--sans); font-size: 0.95rem;
  color: var(--ink);
  border-radius: 2px;
  transition: border-color .2s ease, background .2s ease;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--ivy); background: var(--white);
}
.form-row textarea { min-height: 140px; resize: vertical; font-family: var(--sans); }

.contact-info .info-block { padding: 24px 0; border-bottom: 1px solid var(--rule); }
.contact-info .info-block h5 { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 8px; }
.contact-info .info-block p { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); }

/* ——— Responsive ——— */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-mark { font-size: 160px; right: -20px; opacity: 0.3; }
  .sec-head { grid-template-columns: 1fr; gap: 24px; }
  .programs-grid { grid-template-columns: 1fr; }
  .approach-grid { grid-template-columns: 1fr; gap: 32px; }
  .founder-block { grid-template-columns: 1fr; gap: 40px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .page-body { grid-template-columns: 1fr; gap: 40px; }
  .page-body aside { position: static; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .page-hero .stats { grid-template-columns: 1fr 1fr; gap: 24px; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .menu-toggle { display: block; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; gap: 16px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); padding: 20px var(--pad);
    border-bottom: 1px solid var(--rule);
  }
  .team-grid { grid-template-columns: 1fr; }
  .hero-meta { grid-template-columns: 1fr; gap: 16px; }
  .founder-body .credentials-list { grid-template-columns: 1fr; gap: 12px; }
  .cred-row { font-size: 1.2rem; }
  .phase { grid-template-columns: 1fr; gap: 8px; }
  .page-hero .stats { grid-template-columns: 1fr; gap: 20px; }
  .contact-form { padding: 24px; }
}

/* Subtle reveal */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal { animation: fadeUp .7s ease both; }
.reveal-2 { animation: fadeUp .7s ease .12s both; }
.reveal-3 { animation: fadeUp .7s ease .24s both; }

/* ——— Article list (resources hub) ——— */
.article-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--rule);
}
.article-card {
  display: grid;
  grid-template-columns: 140px 1fr 180px;
  gap: 40px;
  padding: 36px 0;
  border-bottom: 1px solid var(--rule);
  transition: background .2s ease;
  align-items: start;
}
.article-card:hover { background: rgba(255,255,255,0.4); }
.article-card .a-meta { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); }
.article-card .a-meta .cat { display: block; color: var(--ivy); margin-bottom: 6px; }
.article-card h3 { font-size: 1.35rem; font-weight: 500; margin-bottom: 10px; }
.article-card p { font-size: 0.95rem; margin-bottom: 0; }
.article-card .read-time { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); text-align: right; align-self: start; }

@media (max-width: 820px) {
  .article-card { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }
  .article-card .read-time { text-align: left; }
}

/* ——— Article body ——— */
.article-header {
  padding: 80px 0 48px;
  border-bottom: 1px solid var(--rule);
}
.article-header .article-meta {
  display: flex; gap: 24px;
  font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute);
  margin-bottom: 20px;
}
.article-header .article-meta .cat { color: var(--ivy); }
.article-header h1 { max-width: 20ch; margin-bottom: 24px; }
.article-header .lede { font-size: 1.2rem; max-width: 60ch; color: var(--ink-soft); }

.article-body {
  padding: clamp(48px,7vw,96px) 0;
  max-width: 720px;
  margin: 0 auto;
}
.article-body p, .article-body ul, .article-body ol { font-size: 1.05rem; line-height: 1.75; color: var(--ink-soft); margin-bottom: 24px; }
.article-body h2 { margin: 48px 0 20px; font-size: 1.8rem; }
.article-body h2 em { font-style: italic; color: var(--ivy); font-weight: 400; }
.article-body h3 { margin: 32px 0 14px; font-size: 1.35rem; }
.article-body ul { padding-left: 22px; }
.article-body ul li { margin-bottom: 10px; }
.article-body strong { color: var(--ink); font-weight: 600; }
.article-body blockquote {
  border-left: 3px solid var(--ivy);
  padding: 8px 0 8px 24px;
  margin: 32px 0;
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.45;
  color: var(--ink);
}
.article-body .data-box {
  background: var(--white);
  border: 1px solid var(--rule);
  padding: 28px 32px;
  margin: 32px 0;
  border-radius: 2px;
}
.article-body .data-box h4 {
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: 14px;
}
.article-body .data-box ul { margin-bottom: 0; padding-left: 20px; }
.article-body .data-box li { font-size: 0.98rem; }

/* ——— FAQ ——— */
.faq-list { border-top: 1px solid var(--rule); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  padding: 28px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--ink);
  transition: color .2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--ivy); }
.faq-item summary::after {
  content: "+";
  font-family: var(--sans);
  font-size: 1.5rem;
  color: var(--ivy);
  transition: transform .2s ease;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-a {
  padding: 0 0 28px;
  font-size: 1.02rem;
  color: var(--ink-soft);
  max-width: 68ch;
}
.faq-item .faq-a p { margin-bottom: 14px; }
.faq-item .faq-a p:last-child { margin-bottom: 0; }

/* ——— Results ——— */
.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.result-tile {
  background: var(--bg);
  padding: 32px 24px;
  text-align: center;
}
.result-tile .val { font-family: var(--serif); font-size: 2.4rem; color: var(--ivy); }
.result-tile .label { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); margin-top: 6px; }

.school-logos {
  display: flex; flex-wrap: wrap; gap: 32px 48px;
  justify-content: center; align-items: center;
  padding: 48px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  font-family: var(--serif); font-size: 1.3rem; color: var(--ink-soft);
}
.school-logos span { opacity: 0.85; }

@media (max-width: 820px) {
  .results-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .results-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   LUXURY DESIGN SYSTEM — Premium tokens, components, treatments
   ═══════════════════════════════════════════════════════════ */

/* ——— Editorial volume marks ——— */
.vol-mark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--gold-deep);
}
.vol-mark::before, .vol-mark::after {
  content: "";
  width: 32px; height: 1px;
  background: var(--gold);
  opacity: 0.5;
}

/* ——— Ornamental rule with center mark ——— */
.orn-rule {
  display: flex; align-items: center; gap: 18px;
  margin: 56px 0;
  color: var(--gold);
}
.orn-rule::before, .orn-rule::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(to right, transparent, var(--rule), transparent);
}
.orn-rule .ornament {
  font-family: var(--serif);
  font-size: 1.1rem;
  letter-spacing: 0.5em;
  color: var(--gold);
  opacity: 0.8;
}

/* ——— Luxury hero rebuild ——— */
.hero-luxe {
  position: relative;
  padding: clamp(80px, 12vw, 180px) 0 clamp(64px, 9vw, 140px);
  overflow: hidden;
  background: var(--bg);
}
.hero-luxe::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--bg) 0%, transparent 30%, transparent 70%, var(--bg-alt) 100%),
    repeating-linear-gradient(90deg, transparent 0, transparent 99px, rgba(217, 209, 190, 0.15) 99px, rgba(217, 209, 190, 0.15) 100px);
  pointer-events: none;
  z-index: 1;
}
.hero-luxe .container { position: relative; z-index: 3; }

.hero-luxe-mark {
  position: absolute;
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ivy);
  opacity: 0.06;
  pointer-events: none;
  user-select: none;
  line-height: 0.85;
  letter-spacing: -0.03em;
  z-index: 2;
}
.hero-luxe-mark.right {
  right: -3vw; top: 6%;
  font-size: clamp(280px, 38vw, 560px);
}
.hero-luxe-mark.bottom-left {
  left: -2vw; bottom: -8%;
  font-size: clamp(160px, 22vw, 320px);
  opacity: 0.04;
}

.hero-luxe-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 72px;
  align-items: end;
}

.hero-luxe-volume {
  display: flex; align-items: center; gap: 18px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--gold-deep);
  margin-bottom: 36px;
  letter-spacing: 0.05em;
}
.hero-luxe-volume .v-num {
  font-style: normal;
  font-feature-settings: "smcp", "c2sc";
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--ink-mute);
}
.hero-luxe-volume::after {
  content: ""; flex: 0 0 80px; height: 1px;
  background: linear-gradient(to right, var(--gold), transparent);
}

.hero-luxe h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.8rem, 6.5vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0 0 32px;
}
.hero-luxe h1 em {
  font-style: italic;
  color: var(--ivy);
  font-weight: 400;
  position: relative;
}
.hero-luxe h1 em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
  transform: scaleX(0);
  transform-origin: left;
  animation: drawLine 1.2s ease 0.6s forwards;
}
@keyframes drawLine {
  to { transform: scaleX(1); }
}

.hero-luxe-lede {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.5vw, 1.35rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 54ch;
  font-weight: 400;
}
.hero-luxe-lede em {
  font-style: italic;
  color: var(--ivy);
}

.hero-luxe-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding: 32px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.hero-luxe-meta::before, .hero-luxe-meta::after {
  content: "";
  position: absolute;
  left: 0; width: 60px; height: 1px;
  background: var(--gold);
}
.hero-luxe-meta::before { top: -1px; }
.hero-luxe-meta::after { bottom: -1px; }

.hero-luxe-meta .item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
  align-items: baseline;
}
.hero-luxe-meta .item .k {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.hero-luxe-meta .item .v {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--ink);
  letter-spacing: -0.005em;
  line-height: 1.35;
}
.hero-luxe-meta .item .v em {
  color: var(--gold-deep);
  font-style: italic;
}

.hero-luxe .cta-row {
  margin-top: 44px;
  gap: 18px;
}

/* ——— Premium buttons ——— */
.btn-lux {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 32px;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--bg) !important;
  border: 1px solid var(--ink);
  border-radius: 0;
  cursor: pointer;
  transition: all .35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.btn-lux:hover {
  background: var(--ivy);
  border-color: var(--ivy);
  color: var(--bg) !important;
}
.btn-lux .arrow { transition: transform .35s ease; }
.btn-lux:hover .arrow { transform: translateX(6px); }

.btn-lux-ghost {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 32px;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: transparent;
  color: var(--ink) !important;
  border: 1px solid var(--ink);
  border-radius: 0;
  cursor: pointer;
  transition: all .35s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-lux-ghost:hover {
  background: var(--ink);
  color: var(--bg) !important;
}
.btn-lux-ghost .arrow { transition: transform .35s ease; }
.btn-lux-ghost:hover .arrow { transform: translateX(6px); }

/* ——— Luxury seal ——— */
.seal-lux {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border: 1px solid var(--gold);
  background: rgba(245, 240, 230, 0.6);
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}
.seal-lux .seal-kor {
  font-family: var(--serif);
  color: var(--gold-deep);
  font-style: normal;
  letter-spacing: 0;
}

/* ——— Premium program cards ——— */
.programs-luxe {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
@media (max-width: 880px) {
  .programs-luxe { grid-template-columns: 1fr; }
}

.prog-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--rule);
  padding: 48px 44px 44px;
  min-height: 380px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: all .5s cubic-bezier(0.4, 0, 0.2, 1);
}
.prog-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .6s cubic-bezier(0.4, 0, 0.2, 1);
}
.prog-card:hover {
  border-color: var(--ink);
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-med);
}
.prog-card:hover::before { transform: scaleX(1); }

.prog-card .prog-kor-bg {
  position: absolute;
  right: -20px;
  bottom: -40px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 280px;
  line-height: 0.85;
  color: var(--ivy);
  opacity: 0.04;
  pointer-events: none;
  transition: opacity .5s ease, transform .5s ease;
}
.prog-card:hover .prog-kor-bg {
  opacity: 0.08;
  transform: translate(-6px, -6px);
}

.prog-card .prog-num {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--gold-deep);
  margin-bottom: 32px;
  letter-spacing: 0.05em;
}
.prog-card .prog-num::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(to right, var(--gold), transparent);
  opacity: 0.5;
}
.prog-card .prog-num .pn-roman {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  border: 1px solid var(--rule);
  padding: 4px 10px;
}

.prog-card .prog-kor-tag {
  font-family: var(--serif);
  color: var(--ivy);
  font-size: 1rem;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  display: block;
}

.prog-card h3 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: 16px;
  color: var(--ink);
}

.prog-card p {
  font-family: var(--sans);
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 28px;
  flex-grow: 1;
  position: relative;
  z-index: 2;
}

.prog-card .prog-meta {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
  position: relative;
  z-index: 2;
}
.prog-card .prog-meta .grade {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.prog-card .prog-meta .read {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ivy);
}
.prog-card .prog-meta .read::after {
  content: " →";
  font-style: normal;
  transition: transform .35s ease;
  display: inline-block;
}
.prog-card:hover .prog-meta .read::after {
  transform: translateX(4px);
}

/* Featured / wide program card */
.prog-card.featured {
  grid-column: 1 / -1;
  min-height: auto;
  padding: 56px;
}
.prog-card.featured .prog-kor-bg {
  font-size: 360px;
  bottom: -60px;
  right: -40px;
}

/* ——— Luxe credentials strip ——— */
.cred-luxe {
  background: var(--bg-alt);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 56px 0;
  position: relative;
}
.cred-luxe::before, .cred-luxe::after {
  content: "";
  position: absolute;
  left: 50%; transform: translateX(-50%);
  width: 80px; height: 1px;
  background: var(--gold);
}
.cred-luxe::before { top: -1px; }
.cred-luxe::after { bottom: -1px; }
.cred-luxe-label {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--gold-deep);
  text-align: center;
  margin-bottom: 28px;
  letter-spacing: 0.04em;
}
.cred-luxe-row {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 12px 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.1rem, 1.6vw, 1.5rem);
  letter-spacing: 0.02em;
  color: var(--ink);
}
.cred-luxe-row span {
  padding: 0 28px;
  border-right: 1px solid var(--rule);
}
.cred-luxe-row span:last-child { border-right: none; }
@media (max-width: 720px) {
  .cred-luxe-row span { border-right: none; padding: 0 14px; }
}

/* ══════ ARTICLE READING EXPERIENCE ══════ */

/* Reading progress bar */
.read-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: var(--gold);
  width: 0%;
  z-index: 100;
  transition: width 0.05s linear;
  box-shadow: 0 0 8px rgba(176, 141, 61, 0.3);
}

/* Article header luxe */
.article-header-luxe {
  padding: 96px 0 64px;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.article-header-luxe::after {
  content: "";
  position: absolute;
  left: 50%; transform: translateX(-50%);
  bottom: -1px;
  width: 80px; height: 1px;
  background: var(--gold);
}
.article-header-luxe .container { max-width: 880px; }
.article-header-luxe .crumbs {
  display: flex; gap: 12px;
  font-family: var(--sans);
  font-size: 0.72rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-mute);
  margin-bottom: 32px;
}
.article-header-luxe .crumbs a:hover { color: var(--ivy); }
.article-header-luxe .article-meta {
  display: flex; align-items: center; gap: 20px;
  margin-bottom: 28px;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.article-header-luxe .article-meta .cat {
  color: var(--gold-deep);
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-transform: none;
}
.article-header-luxe .article-meta .sep {
  width: 24px; height: 1px;
  background: var(--rule);
}
.article-header-luxe h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 28px;
  max-width: 22ch;
}
.article-header-luxe h1 em {
  font-style: italic;
  color: var(--ivy);
  font-weight: 400;
}
.article-header-luxe .lede {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 60ch;
  font-weight: 400;
  font-style: italic;
}

/* Article body luxe */
.article-body-luxe {
  padding: clamp(56px, 8vw, 96px) 0 clamp(64px, 10vw, 120px);
}
.article-body-luxe .container { max-width: 720px; }

/* Drop cap on first paragraph */
.article-body-luxe > .container > p:first-of-type::first-letter,
.article-body-luxe .prose-luxe > p:first-of-type::first-letter {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  float: left;
  font-size: 5.2em;
  line-height: 0.85;
  margin: 0.08em 0.12em 0 -0.05em;
  color: var(--ivy);
  padding-top: 0.06em;
}

.article-body-luxe p,
.prose-luxe p {
  font-family: var(--serif);
  font-size: 1.18rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 26px;
  font-weight: 400;
}
.article-body-luxe h2,
.prose-luxe h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 2.6vw, 2.1rem);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 56px 0 24px;
  color: var(--ink);
}
.article-body-luxe h2 em,
.prose-luxe h2 em {
  font-style: italic;
  color: var(--ivy);
  font-weight: 400;
}
.article-body-luxe h2::before,
.prose-luxe h2::before {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 18px;
}
.article-body-luxe h3,
.prose-luxe h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.4rem;
  margin: 36px 0 14px;
  color: var(--ink);
}

.article-body-luxe ul,
.prose-luxe ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 28px;
}
.article-body-luxe ul li,
.prose-luxe ul li {
  position: relative;
  padding-left: 28px;
  font-family: var(--serif);
  font-size: 1.12rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.article-body-luxe ul li::before,
.prose-luxe ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 600;
}
.article-body-luxe ul li strong,
.prose-luxe ul li strong {
  font-family: var(--sans);
  font-weight: 600;
  color: var(--ink);
  font-size: 0.98em;
}

/* Editorial pull quote */
.article-body-luxe blockquote,
.prose-luxe blockquote {
  position: relative;
  margin: 56px -32px;
  padding: 40px 56px;
  border: none;
  background: transparent;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  line-height: 1.35;
  color: var(--ink);
  text-align: center;
  letter-spacing: -0.005em;
  font-weight: 400;
}
.article-body-luxe blockquote::before,
.prose-luxe blockquote::before {
  content: "" "";
  position: absolute;
  top: -10px; left: 50%; transform: translateX(-50%);
  font-family: var(--serif);
  font-size: 4rem;
  color: var(--gold);
  line-height: 1;
  font-style: normal;
}
.article-body-luxe blockquote::after,
.prose-luxe blockquote::after {
  content: "";
  display: block;
  width: 60px; height: 1px;
  background: var(--gold);
  margin: 28px auto 0;
}
@media (max-width: 720px) {
  .article-body-luxe blockquote,
  .prose-luxe blockquote {
    margin: 40px 0;
    padding: 32px 16px;
    font-size: 1.35rem;
  }
}

/* Data box luxe */
.article-body-luxe .data-box,
.prose-luxe .data-box {
  background: var(--white);
  border: 1px solid var(--rule);
  padding: 36px 40px;
  margin: 40px 0;
  position: relative;
}
.article-body-luxe .data-box::before,
.prose-luxe .data-box::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--gold);
}
.article-body-luxe .data-box h4,
.prose-luxe .data-box h4 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.05rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--gold-deep);
  margin-bottom: 18px;
}
.article-body-luxe .data-box ul,
.prose-luxe .data-box ul {
  margin-bottom: 0;
}
.article-body-luxe .data-box li,
.prose-luxe .data-box li {
  font-size: 1.02rem;
  margin-bottom: 8px;
}

.article-body-luxe strong,
.prose-luxe strong {
  font-family: var(--sans);
  font-weight: 600;
  color: var(--ink);
  font-size: 0.96em;
  letter-spacing: -0.005em;
}

.article-body-luxe a,
.prose-luxe a {
  color: var(--ivy);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: text-decoration-color .25s ease;
}
.article-body-luxe a:hover,
.prose-luxe a:hover {
  text-decoration-color: var(--ivy);
}

/* Article end mark */
.article-end {
  display: flex; align-items: center; justify-content: center;
  margin: 64px 0 32px;
  gap: 16px;
}
.article-end::before, .article-end::after {
  content: ""; flex: 0 0 60px; height: 1px;
  background: var(--gold);
  opacity: 0.6;
}
.article-end .end-mark {
  font-family: var(--serif);
  color: var(--gold-deep);
  font-size: 1.4rem;
}

/* Article continue section */
.article-continue {
  background: var(--bg-alt);
  border-top: 1px solid var(--rule);
  padding: clamp(64px, 9vw, 100px) 0;
  position: relative;
}
.article-continue::before {
  content: "";
  position: absolute;
  top: -1px; left: 50%; transform: translateX(-50%);
  width: 80px; height: 1px;
  background: var(--gold);
}

/* ══════ HERO REVEAL ANIMATIONS ══════ */
@keyframes fadeUpLux {
  0% { opacity: 0; transform: translateY(24px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.lux-reveal-1 { animation: fadeUpLux 1s cubic-bezier(0.4, 0, 0.2, 1) both; }
.lux-reveal-2 { animation: fadeUpLux 1s cubic-bezier(0.4, 0, 0.2, 1) 0.15s both; }
.lux-reveal-3 { animation: fadeUpLux 1s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both; }
.lux-reveal-4 { animation: fadeUpLux 1s cubic-bezier(0.4, 0, 0.2, 1) 0.45s both; }
.lux-fade { animation: fadeIn 1.4s ease 0.6s both; }

/* ══════ NAVIGATION REFINEMENT ══════ */
.site-header {
  border-bottom: none;
  background: rgba(245, 240, 230, 0.92);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
}
.site-header::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--rule) 20%, var(--rule) 80%, transparent);
}
.brand {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.45rem;
  letter-spacing: 0.01em;
}
.brand .brand-kor {
  color: var(--gold-deep);
  margin-left: 4px;
}
.nav-cta {
  background: var(--ink);
  color: var(--bg) !important;
  padding: 11px 22px;
  border-radius: 0;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  transition: all .35s ease;
}
.nav-cta:hover {
  background: var(--ivy);
  border-color: var(--ivy);
  color: var(--bg) !important;
}

/* ══════ CTA section luxe upgrade ══════ */
.cta {
  background: var(--ivy-deep);
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  right: -2vw; top: 50%; transform: translateY(-50%);
  font-family: var(--serif);
  font-size: clamp(280px, 38vw, 520px);
  color: var(--bg);
  opacity: 0.04;
  pointer-events: none;
  line-height: 0.85;
}
.cta::after {
  content: "";
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 80px; height: 1px;
  background: var(--gold);
}
.cta .container { position: relative; z-index: 2; }
.cta .eyebrow {
  color: var(--gold-soft);
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: none;
  font-weight: 400;
}
.cta h2 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--bg);
  margin-top: 18px;
}
.cta h2 em {
  color: var(--gold-soft);
  font-style: italic;
}
.cta p {
  color: rgba(245, 240, 230, 0.7);
  font-family: var(--serif);
  font-size: 1.18rem;
  line-height: 1.55;
  margin-top: 22px;
  max-width: 56ch;
}
.cta .btn-lux,
.cta .btn-primary {
  background: var(--bg);
  color: var(--ink) !important;
  border-color: var(--bg);
  margin-top: 40px;
}
.cta .btn-lux:hover,
.cta .btn-primary:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink) !important;
}

@media (max-width: 880px) {
  .hero-luxe-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-luxe-meta .item { grid-template-columns: 80px 1fr; gap: 16px; }
  .prog-card { padding: 36px 28px; min-height: auto; }
  .prog-card.featured { padding: 36px 28px; }
  .prog-card .prog-kor-bg { font-size: 200px; }
}

/* ═══════════════════════════════════════════════════════════
   UX/UI IMPROVEMENTS — accessibility, mobile, contrast
   ═══════════════════════════════════════════════════════════ */

/* ——— Focus states (keyboard accessibility) ——— */
:focus-visible {
  outline: 2px solid var(--ivy);
  outline-offset: 3px;
  border-radius: 1px;
}
.btn-lux:focus-visible,
.btn-lux-ghost:focus-visible,
.btn:focus-visible,
.nav-cta:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ——— CTA section button visibility on dark bg ——— */
.cta .btn-lux,
.cta .btn-primary {
  background: var(--gold-soft);
  color: var(--ivy-deep) !important;
  border: 1px solid var(--gold-soft);
  font-weight: 600;
  box-shadow: 0 1px 0 rgba(0,0,0,0.15);
}
.cta .btn-lux:hover,
.cta .btn-primary:hover {
  background: var(--bg);
  border-color: var(--bg);
  color: var(--ivy-deep) !important;
}

/* ——— Sticky-style CTA ribbon (subtle, on long pages) ——— */
.sticky-cta-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--ink);
  color: var(--bg);
  padding: 14px var(--pad);
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 80;
  border-top: 1px solid var(--gold);
  font-family: var(--sans);
  font-size: 0.92rem;
  box-shadow: 0 -8px 24px rgba(0,0,0,0.12);
}
.sticky-cta-bar .scta-text {
  flex: 1;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
}
.sticky-cta-bar a {
  background: var(--gold-soft);
  color: var(--ivy-deep) !important;
  padding: 10px 20px;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.sticky-cta-bar a:hover {
  background: var(--bg);
  color: var(--ivy-deep) !important;
}
.sticky-cta-bar .scta-close {
  background: transparent;
  border: 0;
  color: var(--bg);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 4px 10px;
  line-height: 1;
}

/* ——— Results / outcomes strip on homepage ——— */
.outcomes {
  background: var(--bg);
  padding: clamp(64px, 8vw, 100px) 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--rule);
  border-radius: 0;
  background: var(--white);
  margin-top: 40px;
}
.outcome-tile {
  padding: 32px 28px;
  text-align: center;
  border-right: 1px solid var(--rule);
}
.outcome-tile:last-child { border-right: 0; }
.outcome-tile .o-val {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  color: var(--ivy);
  letter-spacing: -0.01em;
  display: block;
  line-height: 1;
}
.outcome-tile .o-val em {
  font-style: italic;
  color: var(--gold-deep);
  font-weight: 400;
}
.outcome-tile .o-label {
  display: block;
  margin-top: 12px;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.outcomes-schools {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
  text-align: center;
}
.outcomes-schools .os-label {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--gold-deep);
  display: block;
  margin-bottom: 20px;
}
.outcomes-schools .os-row {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 8px 0;
  font-family: var(--serif);
  font-size: clamp(1rem, 1.4vw, 1.3rem);
  color: var(--ink);
}
.outcomes-schools .os-row span {
  padding: 0 24px;
  border-right: 1px solid var(--rule);
}
.outcomes-schools .os-row span:last-child { border-right: 0; }

/* ——— Simplified contact form ——— */
.form-row textarea { min-height: 120px; }
.form-row select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M3 5l4 4 4-4' stroke='%231F3A2E' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}

/* ——— Mobile improvements ——— */
@media (max-width: 880px) {
  .hero-luxe { padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 7vw, 80px); }
  .hero-luxe-volume { margin-bottom: 20px; font-size: 0.78rem; }
  .hero-luxe-volume::after { flex: 0 0 40px; }
  .hero-luxe h1 { margin-bottom: 24px; font-size: clamp(2.2rem, 7vw, 3.4rem); }
  .hero-luxe-lede { font-size: 1.05rem; }
  .hero-luxe-meta { padding: 24px 0; gap: 18px; }
  .hero-luxe-meta .item { grid-template-columns: 90px 1fr; gap: 14px; }
  .hero-luxe-meta .item .v { font-size: 1.05rem; }
  .hero-luxe-mark.right { font-size: clamp(180px, 30vw, 320px); top: 4%; right: -8vw; }
  .hero-luxe-mark.bottom-left { display: none; }

  .programs-luxe { grid-template-columns: 1fr; gap: 16px; }
  .prog-card { padding: 32px 24px; min-height: auto; }
  .prog-card .prog-kor-bg { font-size: 200px; opacity: 0.06; right: -10px; bottom: -30px; }
  .prog-card.featured { padding: 32px 24px; }
  .prog-card.featured .prog-kor-bg { font-size: 220px; }

  .outcomes-grid { grid-template-columns: 1fr 1fr; }
  .outcome-tile { border-right: 0; border-bottom: 1px solid var(--rule); }
  .outcome-tile:nth-child(odd) { border-right: 1px solid var(--rule); }
  .outcome-tile:nth-last-child(-n+2) { border-bottom: 0; }

  .cta::before { font-size: clamp(160px, 28vw, 320px); right: -10vw; }
}

@media (max-width: 640px) {
  .hero-luxe { padding: 36px 0 32px; }
  .hero-luxe-volume { display: none; }
  .hero-luxe h1 { font-size: clamp(1.9rem, 8vw, 2.6rem); margin-bottom: 18px; }
  .hero-luxe-lede { font-size: 0.98rem; line-height: 1.55; }
  .hero-luxe .cta-row { margin-top: 28px; flex-direction: column; gap: 10px; }
  .hero-luxe .cta-row .btn-lux,
  .hero-luxe .cta-row .btn-lux-ghost { width: 100%; justify-content: center; }
  .hero-luxe-meta .item { grid-template-columns: 1fr; gap: 4px; }
  .hero-luxe-meta .item .k { font-size: 0.66rem; }
  .hero-luxe-meta .item .v { font-size: 0.98rem; }

  .outcomes-grid { grid-template-columns: 1fr; }
  .outcome-tile { border-right: 0 !important; border-bottom: 1px solid var(--rule); }
  .outcome-tile:last-child { border-bottom: 0; }
  .outcomes-schools .os-row { font-size: 1rem; }
  .outcomes-schools .os-row span { padding: 0 12px; }

  .cred-luxe-row { flex-direction: column; align-items: center; gap: 6px 0; }
  .cred-luxe-row span { padding: 0; border-right: 0; }

  .sticky-cta-bar {
    flex-direction: row; padding: 12px 16px;
    font-size: 0.85rem;
  }
  .sticky-cta-bar .scta-text { font-size: 0.95rem; }
  .sticky-cta-bar a { padding: 9px 14px; font-size: 0.7rem; }
}

/* ═══════════════════════════════════════════════════════════
   LEAN PASS — tighter rhythm, less padding, denser reading
   ═══════════════════════════════════════════════════════════ */

/* Tighten global section rhythm */
section { padding: clamp(44px, 6vw, 88px) 0; }

/* Leaner hero */
.hero-luxe {
  padding: clamp(56px, 8vw, 112px) 0 clamp(44px, 6vw, 88px);
}
.hero-luxe-volume { margin-bottom: 24px; }
.hero-luxe h1 { margin-bottom: 22px; line-height: 1.02; }
.hero-luxe-lede { font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.5; max-width: 52ch; }
.hero-luxe .cta-row { margin-top: 32px; }
.hero-luxe-grid { gap: 48px; align-items: end; }
.hero-luxe-meta { padding: 24px 0; gap: 20px; }
.hero-luxe-meta .item { grid-template-columns: 88px 1fr; gap: 18px; }
.hero-luxe-meta .item .v { font-size: 1.05rem; line-height: 1.3; }

/* Leaner page-hero (program + approach + about + contact + faq + resources) */
.page-hero { padding: 56px 0 44px; }
.page-hero h1 { margin: 10px 0 16px; }
.page-hero .lede { font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.55; }
.page-hero .stats { padding-top: 28px; margin-top: 36px; gap: 24px; }
.page-hero .stat .val { font-size: 1.35rem; }

/* Tighter credentials strip */
.cred-luxe { padding: 36px 0; }
.cred-luxe-label { margin-bottom: 18px; font-size: 0.85rem; }
.cred-luxe-row { font-size: clamp(1rem, 1.3vw, 1.25rem); }
.cred-luxe-row span { padding: 0 22px; }

/* Lean sec-head */
.sec-head { gap: 40px; margin-bottom: 40px; }
.sec-head .lead p { font-size: 1rem; line-height: 1.6; }

/* Program cards lean */
.prog-card { padding: 36px 32px; min-height: 300px; }
.prog-card .prog-num { margin-bottom: 22px; font-size: 0.88rem; }
.prog-card h3 { font-size: clamp(1.45rem, 2vw, 1.9rem); margin-bottom: 12px; }
.prog-card p { font-size: 0.95rem; line-height: 1.55; margin-bottom: 22px; }
.prog-card .prog-meta { padding-top: 16px; }
.prog-card.featured { padding: 44px 40px; }

/* Pillars lean */
.approach-grid { gap: 36px; }
.pillar { padding-top: 24px; }
.pillar h3 { font-size: 1.25rem; margin-bottom: 10px; }
.pillar p { font-size: 0.96rem; line-height: 1.55; }

/* Phase table lean (program phases, weekly cadence) */
.phase { padding: 20px 0; gap: 24px; }
.phase .ph-num { font-size: 1.55rem; }
.phase h4 { font-size: 1.12rem; margin-bottom: 4px; }
.phase p { font-size: 0.95rem; line-height: 1.55; margin: 0; }

/* Page body (program detail layout) */
.page-body { gap: 56px; padding: clamp(44px, 7vw, 88px) 0; }
.page-body aside h5 { margin-bottom: 12px; }
.page-body aside a { padding: 12px 0; font-size: 0.92rem; }
.prose h2 { font-size: 1.6rem; margin-bottom: 14px; }
.prose h3 { font-size: 1.2rem; margin: 32px 0 10px; }
.prose p { font-size: 1rem; line-height: 1.65; margin-bottom: 16px; }
.prose ul { margin-bottom: 18px; }
.prose ul li { margin-bottom: 6px; font-size: 0.98rem; }
.prose blockquote {
  padding: 6px 0 6px 20px;
  margin: 24px 0;
  font-size: 1.15rem;
  line-height: 1.4;
}

/* Founder block lean */
.founder-block { gap: 56px; align-items: start; }
.founder-portrait { aspect-ratio: 4/5; font-size: 5rem; max-height: 520px; }
.founder-body blockquote {
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  line-height: 1.4;
  margin: 20px 0 24px;
}
.credentials-list { padding: 22px 0; margin: 22px 0; gap: 14px 28px; }
.credentials-list .school { font-size: 1.05rem; }
.credentials-list .detail { font-size: 0.82rem; }

/* Team cards lean */
.team-grid { gap: 28px; }
.team-card { padding-top: 20px; }
.team-avatar { aspect-ratio: 1/1; font-size: 2.6rem; margin-bottom: 16px; max-height: 260px; }
.team-card h4 { font-size: 1.25rem; margin-bottom: 2px; }
.team-card .role { margin-bottom: 10px; font-size: 0.78rem; }
.team-card .bio { font-size: 0.9rem; line-height: 1.55; }

/* CTA section lean */
.cta { padding: clamp(56px, 7vw, 96px) 0; }
.cta h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.cta p { font-size: 1.05rem; margin-top: 16px; }
.cta .btn-primary, .cta .btn-lux { margin-top: 28px; }

/* Contact form lean */
.contact-grid { gap: 56px; }
.contact-form { padding: 32px; }
.contact-info .info-block { padding: 18px 0; }
.contact-info .info-block h5 { font-size: 0.7rem; margin-bottom: 6px; }
.contact-info .info-block p { font-size: 1.1rem; line-height: 1.45; }
.form-row { margin-bottom: 14px; }
.form-row label {
  font-size: 0.7rem; margin-bottom: 5px; letter-spacing: 0.14em;
}
.form-row input, .form-row select, .form-row textarea {
  padding: 11px 14px; font-size: 0.95rem;
}
.form-row textarea { min-height: 90px; }

/* FAQ lean */
.faq-item summary { padding: 22px 0; font-size: 1.18rem; }
.faq-item .faq-a { padding: 0 0 22px; font-size: 0.98rem; }
.faq-item .faq-a p { margin-bottom: 10px; }

/* Article list lean */
.article-card { padding: 26px 0; grid-template-columns: 120px 1fr 140px; gap: 28px; }
.article-card h3 { font-size: 1.2rem; margin-bottom: 6px; }
.article-card p { font-size: 0.9rem; line-height: 1.55; }

/* Footer lean */
.site-footer { padding: 48px 0 24px; }
.footer-grid { margin-bottom: 36px; gap: 40px; }

/* Outcomes lean */
.outcomes { padding: clamp(48px, 6vw, 80px) 0; }
.outcomes-grid { margin-top: 28px; }
.outcome-tile { padding: 26px 20px; }
.outcome-tile .o-val { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.outcome-tile .o-label { margin-top: 8px; font-size: 0.68rem; }
.outcomes-schools { margin-top: 36px; padding-top: 26px; }

@media (max-width: 640px) {
  .contact-form { padding: 22px 20px; }
  .page-hero { padding: 36px 0 28px; }
  .founder-portrait { max-height: 380px; }
  .outcome-tile { padding: 20px 16px; }
}

/* ——— Portrait images override letter avatars when present ——— */
.founder-portrait img,
.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.founder-portrait:has(img),
.team-avatar:has(img) {
  background: transparent;
}
.founder-portrait:has(img)::after { display: none; }

/* ═══════════════════════════════════════════════════════════
   ANNOUNCEMENT BAR + POP HIGHLIGHTS + OFFER SECTION
   ═══════════════════════════════════════════════════════════ */

/* ——— Top announcement bar (special offer) ——— */
.announce-bar {
  position: relative;
  background: linear-gradient(90deg, #8A6C26 0%, #B08D3D 50%, #8A6C26 100%);
  color: #FFF8E7;
  padding: 11px 16px;
  text-align: center;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  z-index: 60;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}
.announce-bar a {
  color: #FFF8E7 !important;
  text-decoration: underline;
  text-decoration-color: rgba(255, 248, 231, 0.5);
  text-underline-offset: 3px;
  font-weight: 600;
  margin-left: 6px;
}
.announce-bar a:hover {
  text-decoration-color: #FFF8E7;
  color: #FFFFFF !important;
}
.announce-bar .ab-kor {
  font-family: var(--serif);
  margin: 0 8px;
  opacity: 0.85;
}
.announce-bar .ab-close {
  position: absolute;
  right: 14px; top: 50%; transform: translateY(-50%);
  background: transparent;
  border: 0;
  color: #FFF8E7;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 2px 8px;
  opacity: 0.7;
  line-height: 1;
}
.announce-bar .ab-close:hover { opacity: 1; }

@media (max-width: 640px) {
  .announce-bar { font-size: 0.78rem; padding: 10px 36px 10px 12px; }
  .announce-bar .ab-kor { display: none; }
}

/* ——— Pop highlight (inline emphasis) ——— */
.pop {
  background-image: linear-gradient(to bottom, transparent 62%, rgba(176,141,61,0.22) 62%, rgba(176,141,61,0.22) 92%, transparent 92%);
  padding: 0 3px;
  font-weight: 500;
  color: var(--ink);
}
.pop-strong {
  color: var(--ivy);
  font-weight: 600;
}
.pop-gold {
  color: var(--gold-deep);
  font-weight: 600;
  font-style: italic;
  font-family: var(--serif);
  font-size: 1.05em;
}

/* ——— Offer section (homepage dedicated block) ——— */
.offer-section {
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg-alt) 100%);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: clamp(56px, 7vw, 96px) 0;
  position: relative;
  overflow: hidden;
}
.offer-section::before {
  content: "";
  position: absolute;
  right: -2vw; top: 50%; transform: translateY(-50%);
  font-family: var(--serif);
  font-size: clamp(240px, 32vw, 440px);
  color: var(--gold);
  opacity: 0.04;
  pointer-events: none;
  line-height: 0.85;
}
.offer-section .container { position: relative; z-index: 2; max-width: 1040px; }

.offer-card {
  background: var(--white);
  border: 1px solid var(--gold);
  padding: 48px 44px;
  position: relative;
  box-shadow: var(--shadow-med);
}
.offer-card::before {
  content: "";
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--gold-soft), var(--gold), var(--gold-deep));
}
.offer-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--gold-deep);
  letter-spacing: 0.03em;
  margin-bottom: 18px;
}
.offer-eyebrow::before {
  content: "";
  width: 32px; height: 1px;
  background: var(--gold);
}
.offer-headline {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  max-width: 20ch;
}
.offer-headline em {
  font-style: italic;
  color: var(--ivy);
}
.offer-lede {
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 62ch;
  margin-bottom: 32px;
}
.offer-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 36px;
  margin-bottom: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
  list-style: none;
}
.offer-list li {
  display: flex; gap: 14px;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--ink);
}
.offer-list li::before {
  content: "✓";
  flex: 0 0 auto;
  color: var(--gold-deep);
  font-weight: 600;
  font-size: 1.1em;
}
.offer-list li strong {
  font-family: var(--sans);
  font-weight: 600;
  color: var(--ivy);
  display: block;
  margin-bottom: 2px;
}
.offer-list li span {
  color: var(--ink-soft);
  font-size: 0.92rem;
}
.offer-cta-row {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}
.offer-deadline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ink-mute);
}
.offer-deadline strong {
  color: var(--gold-deep);
  font-weight: 600;
  font-style: normal;
  font-family: var(--sans);
  letter-spacing: 0.05em;
  font-size: 0.92em;
  text-transform: uppercase;
}

@media (max-width: 720px) {
  .offer-card { padding: 36px 24px; }
  .offer-list { grid-template-columns: 1fr; gap: 14px; }
  .offer-cta-row { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* Make sure the site-header doesn't overlap the announce bar when sticky */
body.has-announce .site-header { top: 0; }

/* ═══════════════════════════════════════════════════════════
   FIXES — mobile logo padding, credentials strip, article cards
   ═══════════════════════════════════════════════════════════ */

/* Fix 1: ensure nav has proper edge padding on mobile */
@media (max-width: 640px) {
  .nav {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .brand {
    font-size: 1.15rem !important;
    gap: 6px !important;
  }
  .brand .brand-kor {
    font-size: 0.85rem !important;
  }
}

/* Fix 2: credentials strip — turn it into a tasteful pill grid on mobile */
@media (max-width: 720px) {
  .cred-luxe { padding: 28px 0; }
  .cred-luxe-label {
    font-size: 0.78rem;
    margin-bottom: 16px;
  }
  .cred-luxe-row {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px 6px !important;
    flex-direction: row !important;
    font-size: 0.92rem !important;
    padding: 0 12px;
    max-width: 420px;
    margin: 0 auto;
  }
  .cred-luxe-row span {
    padding: 7px 6px !important;
    border: 1px solid var(--rule);
    border-right: 1px solid var(--rule) !important;
    background: var(--white);
    text-align: center;
    border-radius: 2px;
    font-family: var(--serif);
    color: var(--ink);
  }
}
@media (max-width: 480px) {
  .cred-luxe-row {
    grid-template-columns: repeat(2, 1fr) !important;
    max-width: 320px;
  }
}

/* Fix 3: article cards on homepage — more breathing room */
.article-list {
  border-top: 1px solid var(--rule);
}
.article-card {
  padding: 32px 8px !important;
  gap: 36px !important;
  align-items: start !important;
  border-bottom: 1px solid var(--rule);
}
.article-card .a-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.article-card h3 {
  margin-bottom: 10px !important;
  line-height: 1.25;
}
.article-card p {
  font-size: 0.95rem !important;
  line-height: 1.55 !important;
  color: var(--ink-soft);
}
.article-card .read-time {
  padding-top: 4px;
}

@media (max-width: 820px) {
  .article-card {
    grid-template-columns: 1fr !important;
    padding: 24px 0 !important;
    gap: 12px !important;
  }
  .article-card .read-time {
    text-align: left !important;
    font-size: 0.72rem;
  }
}

/* Fix 4: Character-style portraits override (better fit than abstract silhouettes) */
.founder-portrait, .team-avatar {
  background: var(--bg-alt) !important;
}
.founder-portrait img, .team-avatar img {
  background: transparent;
}

/* Homepage Insights section — extra polish */
#insights .article-list {
  border-top: 1px solid var(--rule);
  margin-top: 16px;
}
#insights .article-card {
  padding: 28px 4px !important;
  grid-template-columns: 130px 1fr 130px;
  gap: 32px !important;
  transition: background .2s ease, padding .2s ease;
}
#insights .article-card:hover {
  background: rgba(255,255,255,0.5);
}
#insights .article-card .a-meta .cat {
  color: var(--gold-deep);
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.92rem;
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 4px;
}
#insights .article-card .a-meta {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
#insights .article-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.35rem;
  color: var(--ink);
  margin-bottom: 8px;
}
#insights .article-card .read-time {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  text-align: right;
  align-self: center;
}

@media (max-width: 820px) {
  #insights .article-card {
    grid-template-columns: 1fr !important;
    padding: 22px 0 !important;
    gap: 10px !important;
  }
  #insights .article-card .read-time {
    text-align: left !important;
  }
  #insights .article-card .a-meta {
    flex-direction: row;
    gap: 12px;
    align-items: baseline;
  }
}

/* ═══════════════════════════════════════════════════════════
   MOBILE FIXES v2 — resolving credentials, hero meta, portrait, spacing
   These rules appear LAST and win on specificity.
   ═══════════════════════════════════════════════════════════ */

/* ── Credentials strip ── clean, single-row on all sizes ── */
@media (max-width: 720px) {
  .cred-luxe {
    padding: 32px 0 !important;
  }
  .cred-luxe .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .cred-luxe-label {
    font-size: 0.78rem !important;
    margin-bottom: 20px !important;
    text-align: center;
  }
  /* Override with flat horizontal list — wrapping allowed */
  .cred-luxe-row,
  .cred-luxe .cred-luxe-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px 0 !important;
    grid-template-columns: unset !important;
    padding: 0 !important;
    max-width: 100%;
    margin: 0 auto;
    font-size: 0.96rem !important;
    font-family: var(--serif);
    color: var(--ink);
  }
  .cred-luxe-row span,
  .cred-luxe .cred-luxe-row span {
    display: inline-block !important;
    padding: 4px 14px !important;
    border: 0 !important;
    border-right: 1px solid var(--rule) !important;
    background: transparent !important;
    border-radius: 0 !important;
    text-align: center !important;
    white-space: nowrap;
    line-height: 1.3;
  }
  .cred-luxe-row span:last-child,
  .cred-luxe .cred-luxe-row span:last-child {
    border-right: 0 !important;
  }
}

@media (max-width: 440px) {
  .cred-luxe-row,
  .cred-luxe .cred-luxe-row {
    font-size: 0.88rem !important;
    gap: 6px 0 !important;
  }
  .cred-luxe-row span,
  .cred-luxe .cred-luxe-row span {
    padding: 3px 10px !important;
  }
}

/* ── Hero meta panel — prevent text overflow on mobile ── */
@media (max-width: 640px) {
  .hero-luxe {
    padding: 44px 0 32px !important;
  }
  .hero-luxe .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .hero-luxe-grid {
    gap: 32px !important;
    grid-template-columns: 1fr !important;
  }
  .hero-luxe h1 {
    font-size: clamp(1.8rem, 8vw, 2.4rem) !important;
    line-height: 1.08 !important;
    margin-bottom: 18px !important;
  }
  .hero-luxe-lede {
    font-size: 1rem !important;
    line-height: 1.55 !important;
    max-width: 100%;
  }
  .hero-luxe-meta {
    padding: 20px 0 !important;
    gap: 16px !important;
  }
  .hero-luxe-meta .item {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 4px !important;
  }
  .hero-luxe-meta .item .k {
    font-size: 0.68rem !important;
    letter-spacing: 0.16em;
    color: var(--ink-mute);
  }
  .hero-luxe-meta .item .v {
    font-size: 0.98rem !important;
    line-height: 1.35 !important;
    word-break: normal;
    overflow-wrap: break-word;
  }
  .hero-luxe-mark.right,
  .hero-luxe-mark.bottom-left {
    display: none !important;
  }
}

/* ── Founder portrait — cap height, add visible frame ── */
.founder-portrait {
  border: 1px solid var(--rule) !important;
  overflow: hidden;
  box-shadow: 0 4px 24px -12px rgba(18, 24, 23, 0.15);
}
.founder-portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

@media (max-width: 880px) {
  .founder-block {
    display: block !important;
    grid-template-columns: 1fr !important;
  }
  .founder-portrait {
    aspect-ratio: 1/1 !important;
    max-width: 280px !important;
    max-height: 280px !important;
    margin: 0 auto 32px !important;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .founder-portrait {
    max-width: 220px !important;
    max-height: 220px !important;
  }
}

/* ── Team avatars — frame and cap ── */
.team-avatar {
  border: 1px solid var(--rule);
  overflow: hidden;
}

@media (max-width: 640px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
  .team-avatar {
    max-height: 160px;
  }
}

/* ── Consistent section spacing on mobile ── */
@media (max-width: 640px) {
  section {
    padding: 36px 0 !important;
  }
  .page-hero {
    padding: 28px 0 24px !important;
  }
  .page-hero .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  /* Outcomes */
  .outcomes {
    padding: 40px 0 !important;
  }
  .outcomes-grid {
    grid-template-columns: 1fr 1fr !important;
  }
  /* Offer section */
  .offer-section {
    padding: 40px 0 !important;
  }
  .offer-card {
    padding: 28px 20px !important;
  }
  .offer-headline {
    font-size: 1.4rem !important;
  }
  .offer-lede {
    font-size: 1rem !important;
  }
  /* CTA section */
  .cta {
    padding: 48px 0 !important;
  }
  .cta h2 {
    font-size: 1.6rem !important;
  }
  /* Credentials stats panel on program pages */
  .page-hero .stats {
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
    padding-top: 24px !important;
    margin-top: 28px !important;
  }
  /* Founder + team sections */
  #founder, #team {
    padding: 40px 0 !important;
  }
  .founder-body blockquote {
    font-size: 1.15rem !important;
    margin: 18px 0 22px !important;
  }
  .founder-body .credentials-list {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    padding: 18px 0 !important;
    margin: 18px 0 !important;
  }
  /* Sec-head (section headers) */
  .sec-head {
    gap: 20px !important;
    margin-bottom: 28px !important;
  }
  /* Articles prose on mobile */
  .article-body-luxe p,
  .prose-luxe p {
    font-size: 1.02rem !important;
    line-height: 1.65 !important;
  }
  .article-body-luxe > .container > p:first-of-type::first-letter,
  .article-body-luxe .prose-luxe > p:first-of-type::first-letter {
    font-size: 4em !important;
  }
  /* Footer */
  .site-footer {
    padding: 40px 0 20px !important;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 28px !important;
    margin-bottom: 28px !important;
  }
}

/* ── Programs grid on small screens ── */
@media (max-width: 720px) {
  .programs-luxe {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .prog-card {
    padding: 28px 22px !important;
    min-height: auto !important;
  }
  .prog-card.featured {
    padding: 28px 22px !important;
  }
  .prog-card h3 {
    font-size: 1.4rem !important;
  }
  .prog-card p {
    font-size: 0.92rem !important;
    line-height: 1.55;
    margin-bottom: 18px !important;
  }
  .prog-card .prog-kor-bg {
    font-size: 160px !important;
    opacity: 0.05 !important;
    right: -20px;
    bottom: -20px;
  }
}

/* ── Page-body layout (program detail pages) ── */
@media (max-width: 880px) {
  .page-body {
    display: block !important;
    grid-template-columns: 1fr !important;
    padding: 32px 0 !important;
  }
  .page-body aside {
    position: static !important;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--rule);
  }
  .page-body aside ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    border: 0 !important;
  }
  .page-body aside li {
    border-bottom: 0 !important;
    margin-right: 16px;
  }
  .page-body aside a {
    padding: 6px 0 !important;
    font-size: 0.9rem !important;
  }
}

/* ── Nav on mobile — strong guarantees ── */
@media (max-width: 720px) {
  .nav {
    padding: 14px 16px !important;
  }
  .brand {
    font-size: 1.15rem !important;
    letter-spacing: 0.01em;
  }
  .brand .brand-kor {
    font-size: 0.85rem !important;
  }
  .nav-links {
    display: none !important;
  }
  .nav-cta {
    display: none !important;
  }
  .menu-toggle {
    display: flex !important;
    align-items: center;
  }
  .nav.open .nav-links {
    display: flex !important;
    flex-direction: column !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    padding: 16px;
    border-bottom: 1px solid var(--rule);
    z-index: 100;
    gap: 14px;
  }
}

/* ── Announcement bar on mobile — keep compact ── */
@media (max-width: 640px) {
  .announce-bar {
    padding: 9px 32px 9px 12px !important;
    font-size: 0.75rem !important;
    line-height: 1.4;
  }
  .announce-bar strong {
    font-weight: 600;
  }
  .announce-bar .ab-kor {
    display: none !important;
  }
  .announce-bar a {
    display: inline;
    white-space: nowrap;
  }
}


/* ============================================================
   MODERN IVY EDITORIAL OVERRIDES — Apr 2026 redesign
   ============================================================ */

/* Cleaner header — softer warm white, navy ink */
body { background: var(--bg); color: var(--ink); }

.site-header {
  background: rgba(248, 246, 241, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--rule);
}

/* Brand mark — no character watermark, navy ink with brass underline */
.brand {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--ivy-deep);
  letter-spacing: 0.005em;
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
  border-bottom: 1.5px solid var(--gold);
}
.brand:hover { color: var(--ivy); }
.brand .brand-kor { display: none !important; }
.footer-brand .brand-kor { display: none !important; }

/* Hero — calmer, more editorial */
.hero-luxe {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
}

/* Buttons — primary navy, ghost light, gold pill for special */
.btn-lux {
  background: var(--ivy);
  color: #FFFFFF !important;
  border: 1px solid var(--ivy);
}
.btn-lux:hover {
  background: var(--ivy-deep);
  color: #FFFFFF !important;
  transform: translateY(-1px);
}
.btn-lux .arrow { color: var(--gold-soft); }

.btn-lux.ghost {
  background: transparent;
  color: var(--ivy) !important;
  border: 1px solid var(--ivy);
}
.btn-lux.ghost:hover {
  background: var(--ivy);
  color: #FFFFFF !important;
}

.btn-primary, .btn-secondary {
  background: var(--ivy) !important;
  color: #FFFFFF !important;
  border-color: var(--ivy) !important;
}
.btn-primary:hover, .btn-secondary:hover {
  background: var(--ivy-deep) !important;
  color: #FFFFFF !important;
}

/* Hero CTA — primary gold pill for headline action */
.cta .btn-primary {
  background: var(--gold) !important;
  color: var(--ivy-deep) !important;
  border: 1px solid var(--gold);
  font-weight: 600;
}
.cta .btn-primary:hover {
  background: var(--gold-deep) !important;
  color: #FFFFFF !important;
  border-color: var(--gold-deep) !important;
}

/* Announcement bar — navy bar instead of cream */
.announce-bar {
  background: var(--ivy-deep);
  color: #F8F6F1;
  border-bottom: 1px solid var(--gold);
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: 0.01em;
}
.announce-bar strong { color: #FFFFFF; }
.announce-bar a {
  color: var(--gold-soft);
  border-bottom: 1px solid var(--gold-soft);
}
.announce-bar a:hover { color: #FFFFFF; border-color: #FFFFFF; }
.announce-bar .ab-close { color: rgba(248, 246, 241, 0.7); }
.announce-bar .ab-close:hover { color: #FFFFFF; }
.announce-bar .ab-kor { display: none !important; }

/* Eyebrow + section labels — navy/gold pairing */
.eyebrow {
  color: var(--gold-deep);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Italic accent — navy instead of green */
em[style*="--ivy"], em[style*="ivy"] {
  color: var(--ivy) !important;
  font-style: italic;
  font-weight: 400;
}

/* Program cards — strip CJK watermark, restyle English tag, add ribbon */
.prog-card .prog-kor-bg,
.program-card .kor-tag {
  display: none !important;
}

/* Restyle prog-kor-tag as a clean English category label */
.prog-card .prog-kor-tag {
  font-family: var(--sans) !important;
  font-size: 0.74rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: var(--gold-deep) !important;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 8px;
  margin-bottom: 16px !important;
  display: inline-block !important;
}

/* Featured-card ribbon */
.programs-luxe .prog-card.featured,
.prog-grid .prog-card.featured {
  border: 1.5px solid var(--ivy) !important;
  box-shadow: 0 14px 44px -18px rgba(10, 28, 48, 0.22) !important;
  position: relative;
}
.prog-card.featured::after {
  content: "MOST CHOSEN";
  position: absolute;
  top: 0;
  right: 32px;
  background: var(--gold);
  color: var(--ivy-deep);
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  padding: 6px 14px 7px;
  z-index: 5;
  box-shadow: 0 6px 18px -6px rgba(10, 28, 48, 0.30);
  border-radius: 0 0 2px 2px;
}

/* Programs grid — flagship pair on top row, supporting programs in 3-up row below.
   Uses a 6-column grid: featured = span 3 (half width), non-featured = span 2 (third width). */
.programs-luxe {
  grid-template-columns: repeat(6, 1fr) !important;
  gap: clamp(20px, 2.4vw, 32px) !important;
  align-items: stretch;
}
.programs-luxe .prog-card.featured {
  grid-column: span 3;
  background: linear-gradient(135deg, #FFFFFF 0%, var(--bg) 60%, var(--bg-alt) 100%);
  padding-top: 56px;
}
.programs-luxe .prog-card:not(.featured) {
  grid-column: span 2;
  padding: 38px 32px 32px;
}
.programs-luxe .prog-card:not(.featured) h3 {
  font-size: clamp(1.35rem, 1.8vw, 1.6rem);
}
.programs-luxe .prog-card:not(.featured) p {
  font-size: 0.96rem;
}

/* Tablet — drop to 2-col, featured = full width, non-featured = half width */
@media (max-width: 980px) {
  .programs-luxe {
    grid-template-columns: 1fr 1fr !important;
  }
  .programs-luxe .prog-card.featured {
    grid-column: span 2;
  }
  .programs-luxe .prog-card:not(.featured) {
    grid-column: span 1;
  }
}

/* Mobile — single column stack */
@media (max-width: 640px) {
  .programs-luxe {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
  .programs-luxe .prog-card.featured,
  .programs-luxe .prog-card:not(.featured) {
    grid-column: span 1;
    padding: 36px 28px 28px;
  }
  .prog-card.featured::after {
    right: 16px;
    font-size: 0.6rem;
    padding: 5px 10px;
  }
}

/* Refined ribbon — sits cleanly on top edge of featured card */
.prog-card.featured::after {
  top: -1px;
  right: 28px;
  border-radius: 0 0 3px 3px;
  box-shadow: 0 8px 18px -8px rgba(10, 28, 48, 0.35);
}

/* Homepage flagship strip — two big featured tiles above other programs */
.flagship-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 36px);
  margin: clamp(40px, 6vw, 72px) 0;
}
.flagship-tile {
  position: relative;
  background: #FFFFFF;
  border: 1.5px solid var(--ivy);
  border-radius: 2px;
  padding: clamp(28px, 4vw, 44px);
  box-shadow: 0 16px 48px -20px rgba(10, 28, 48, 0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: block;
  overflow: hidden;
}
.flagship-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 64px -24px rgba(10, 28, 48, 0.28);
}
.flagship-tile::before {
  content: "MOST CHOSEN";
  position: absolute;
  top: 16px;
  right: -10px;
  background: var(--gold);
  color: var(--ivy-deep);
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  padding: 6px 16px;
  z-index: 5;
}
.flagship-tile .ft-eyebrow {
  display: block;
  color: var(--gold-deep);
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.flagship-tile h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1.15;
  color: var(--ivy-deep);
  margin: 0 0 14px;
}
.flagship-tile h3 em {
  font-style: italic;
  color: var(--ivy);
  font-weight: 400;
}
.flagship-tile p {
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 20px;
}
.flagship-tile .ft-meta {
  display: flex;
  gap: 18px;
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--ink-mute);
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.flagship-tile .ft-meta span::before {
  content: "•";
  color: var(--gold);
  margin-right: 8px;
}
.flagship-tile .ft-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ivy);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 4px;
}
.flagship-tile:hover .ft-cta { color: var(--ivy-deep); }
.flagship-tile .ft-cta::after {
  content: "→";
  color: var(--gold);
  transition: transform 0.2s;
}
.flagship-tile:hover .ft-cta::after { transform: translateX(4px); }
@media (max-width: 740px) {
  .flagship-strip { grid-template-columns: 1fr; gap: 18px; }
}

/* Footer — navy ink */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--rule);
  color: var(--ink);
}
.footer-brand { color: var(--ivy-deep); font-family: var(--serif); }

/* Form inputs — navy focus ring */
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--ivy) !important;
  box-shadow: 0 0 0 3px rgba(22, 55, 88, 0.15);
}

/* Contact offer card — navy/gold combination */
.offer-section .offer-card {
  background: linear-gradient(135deg, #FFFFFF 0%, var(--bg-alt) 100%);
  border: 1px solid var(--gold-soft);
  border-left: 4px solid var(--gold);
}

/* Active nav link */
.nav-links a.active {
  color: var(--ivy-deep);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 4px;
}

/* Crumbs */
.crumbs a { color: var(--ivy); }
.crumbs a:hover { color: var(--gold-deep); }

/* Outcome tiles — navy frames */
.outcome-tile { border-color: var(--rule); }
.outcome-tile strong { color: var(--ivy-deep); }

/* Pop highlight — gold marker */
.pop {
  background: linear-gradient(120deg, transparent 0%, rgba(212, 184, 114, 0.35) 30%, rgba(212, 184, 114, 0.35) 70%, transparent 100%);
  padding: 0 4px;
  font-weight: 500;
  color: var(--ivy-deep);
}

/* ============================================================
   TYPOGRAPHY POLISH — kill orphan words, prevent overflow
   ============================================================ */

/* Modern CSS that automatically balances line lengths so a single
   short word never sits alone on the last line. Supported in all
   evergreen browsers (Chrome 114+, Safari 17.5+, Firefox 121+). */
h1, h2, h3,
.hero-luxe h1,
.page-hero h1,
.sec-head h2,
.offer-headline,
.lede,
.hero-luxe-lede {
  text-wrap: balance;
  -webkit-hyphens: manual;
  hyphens: manual;
}

/* Body paragraphs: pretty wrap (avoids single-word last lines, less aggressive than balance) */
p, .lede, blockquote {
  text-wrap: pretty;
}

/* Belt-and-suspenders: keep the trailing italic emphasis + closing
   punctuation glued to the prior word so we never get "go." or "fits?"
   floating alone on the last line. Requires headlines to use the
   pattern <em>word</em>. */
h1 em, h2 em, h3 em {
  white-space: nowrap;
}

/* Safety net: never allow horizontal page overflow */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

/* Section heads: fall back to single column earlier so the lead
   never gets clipped on narrower desktops (was 800px previously) */
@media (max-width: 1080px) {
  .sec-head {
    grid-template-columns: 1fr 1.5fr !important;
    gap: 36px !important;
  }
}
@media (max-width: 880px) {
  .sec-head {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .sec-head .lead p {
    max-width: 64ch;
  }
}

/* Ensure containers stay within viewport — keep existing padding intact */
.container {
  max-width: 100%;
  width: min(var(--max), 100%);
  box-sizing: border-box;
}

/* Long words / proper nouns shouldn't blow out narrow columns */
.outcomes-schools .os-row {
  flex-wrap: wrap;
}

/* ============================================================
   RELATED CONTENT SECTIONS — articles ↔ programs cross-linking
   ============================================================ */
.related-section {
  background: var(--bg-alt);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: clamp(56px, 8vw, 96px) 0;
}
.related-section + .related-section {
  border-top: none;
}

.related-block {
  margin-bottom: 0;
}
.related-block > .eyebrow {
  color: var(--gold-deep);
}
.related-block h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.15;
  color: var(--ivy-deep);
  margin: 12px 0 6px;
  text-wrap: balance;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
  margin-top: 32px;
}

.related-card {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1px solid var(--rule);
  border-left: 3px solid var(--gold);
  padding: 28px 26px 24px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-left-color 0.25s ease;
  min-height: 200px;
  position: relative;
  overflow: hidden;
}
.related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px -16px rgba(10, 28, 48, 0.18);
  border-left-color: var(--ivy);
}
.related-card.related-program {
  border-left-color: var(--ivy);
}
.related-card.related-program:hover {
  border-left-color: var(--gold);
}

.related-card .related-tag {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 10px;
  display: inline-block;
}
.related-card.related-program .related-tag {
  color: var(--ivy);
}

.related-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.35rem;
  line-height: 1.2;
  color: var(--ivy-deep);
  margin: 0 0 10px;
  text-wrap: balance;
}

.related-card p {
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0 0 18px;
  flex-grow: 1;
}

.related-card .related-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ivy);
  border-bottom: 1.5px solid var(--gold);
  padding-bottom: 4px;
  align-self: flex-start;
  margin-top: auto;
}
.related-card .related-cta .arrow {
  color: var(--gold);
  transition: transform 0.2s ease;
}
.related-card:hover .related-cta .arrow {
  transform: translateX(4px);
}

@media (max-width: 640px) {
  .related-grid {
    grid-template-columns: 1fr;
  }
  .related-card {
    min-height: auto;
    padding: 24px 22px 20px;
  }
  .related-card h3 {
    font-size: 1.2rem;
  }
}

/* end Modern Ivy overrides */

/* Inline links must be distinguishable without color (WCAG 1.4.1) */
main p a:not([class]), main li a:not([class]), .footer-bot a, .faq-a a {
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
