/* PrepModule — shared styles. Palette D "crimson & navy": cool off-white ground, crimson accent, navy ink and dark sections. */

:root {
  --dark:      #0d1930;   /* navy: dark bands, footer */
  --dark-2:    #15233f;
  --accent:    #b01c35;   /* crimson */
  --accent-2:  #921629;
  --accent-hi: #c8243f;
  --accent-lt: #f06a80;   /* crimson for text/lines on dark */
  --accent-photo:#f58a9b; --accent-mid:#d03850; --accent-deep:#7d1225;
  --on-primary:#ffffff;
  --tint:      #fcf0f2;
  --tint-2:#f9e2e6; --tint-3:#f2cdd4; --tint-lite:#fef7f8; --tint-line:#f1c8cf;
  --ground:    #f8f9fb;
  --card:      #ffffff;
  --soft:      #eef1f6;
  --line:      #e3e7ee;
  --line-2:    #d2d8e2;
  --line-3:    #b9c1cf;
  --ink:       #0e1a2e;   /* navy ink */
  --body:      #3b4558;
  --muted:     #64708a;
  --muted-2:   #6f7a90;
  --on-dark:   #cfd7e5;
  --on-dark-2: #8e9bb3;
  /* rgb triplets of the same colours, for rgba() tints and shadows */
  --accent-rgb:176,28,53; --accent-hi-rgb:200,36,63; --accent-lt-rgb:240,106,128;
  --dark-rgb:13,25,48; --ink-rgb:14,26,46; --ground-rgb:248,249,251; --soft-rgb:238,241,246; --muted-rgb:100,112,138;
  --glass:     rgba(255,255,255,0.045);
  --glass-line:rgba(255,255,255,0.12);
  --r:         6px;
  --max:       1180px;
  --gutter:    clamp(20px, 4vw, 48px);
  --nav-h:     64px;
  --sans:      'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --mono:      'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --display:   var(--sans);
  --display-w: 600;
  --display-ls:-0.045em;
}
html[data-display="serif"] { --display: 'Instrument Serif', Georgia, 'Times New Roman', serif; --display-w: 400; --display-ls: -0.02em; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--body); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: var(--display-w); letter-spacing: var(--display-ls); color: var(--ink); line-height: 1.02; }
h3, h4 { font-weight: 600; letter-spacing: -0.02em; color: var(--ink); line-height: 1.25; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }
html[data-display="serif"] h1 { font-size: clamp(50px, 6.2vw, 82px); }
html[data-display="serif"] .hero h1 em { font-style: italic; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
.dark :focus-visible, .nav:not(.light) :focus-visible { outline-color: var(--accent-lt); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* mono label — the one recurring ornament */
.eyebrow { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.dark .eyebrow { color: var(--accent-lt); }

/* section frame: hairline + index column */
.section { padding: clamp(64px, 8vw, 112px) 0 0; }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; padding-top: 22px; border-top: 1px solid var(--line-2); margin-bottom: clamp(32px, 4vw, 48px); }
.sec-head h2 { font-size: clamp(32px, 3.8vw, 48px); margin-top: 14px; max-width: 14ch; }
.sec-head .sub { color: var(--muted); font-size: 15.5px; max-width: 420px; justify-self: end; }
.dark .sec-head { border-top-color: var(--glass-line); }
.dark .sec-head h2 { color: #fff; }
.dark .sec-head .sub { color: var(--on-dark); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: var(--r); border: 1px solid transparent; font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, color .15s, transform .05s; }
.btn:active { transform: translateY(1px); }
.btn .arr { font-family: var(--mono); font-weight: 400; transition: transform .15s; }
.btn:hover .arr { transform: translateX(3px); }
.btn-primary { background: var(--accent); color: var(--on-primary); }
.btn-primary:hover { background: var(--accent-hi); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.32); }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.06); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-2); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: var(--accent); }
.btn-ghost { background: transparent; color: var(--dark); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--dark); }

.mlink { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); display: inline-flex; align-items: center; gap: 8px; }
.mlink .arr { transition: transform .15s; }
.mlink:hover .arr { transform: translateX(3px); }
.dark .mlink { color: #fff; }

.chip { display: inline-block; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 10px; border-radius: 100px; border: 1px solid var(--line-2); color: var(--muted); }

/* ---------- NAV — dark over the hero, light once scrolled past ---------- */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(var(--ink-rgb),0.72); backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid rgba(255,255,255,0.08); color: #fff; transition: background .25s, border-color .25s, color .25s; }
.nav.light { background: rgba(var(--ground-rgb),0.86); border-bottom-color: var(--line); color: var(--dark); }
.nav > .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 24px; }
.wordmark { font-size: 18px; font-weight: 600; letter-spacing: -0.03em; display: inline-flex; align-items: center; gap: 10px; }
.wordmark .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent-lt); }
.wordmark .tag { font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em; opacity: 0.55; margin-left: 2px; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a { position: relative; display: inline-block; padding: 9px 13px; border-radius: 5px; font-size: 14px; font-weight: 500; opacity: 0.86; }
.nav-links a:hover { opacity: 1; background: rgba(255,255,255,0.08); }
.nav-links a[aria-current="page"] { opacity: 1; }
.nav-links a[aria-current="page"]::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--accent-lt); }
.nav.light .nav-links a:hover { background: var(--tint); color: var(--accent); }
.nav.light .nav-links a[aria-current="page"]::after { background: var(--accent); }
.nav-links .cta a { opacity: 1; margin-left: 10px; border: 1px solid rgba(255,255,255,0.32); }
.nav-links .cta a:hover { border-color: var(--accent-lt); color: var(--accent-lt); background: transparent; }
.nav.light .nav-links .cta a { border-color: var(--dark); }
.nav.light .nav-links .cta a:hover { background: var(--dark); color: #fff; border-color: var(--dark); }
.menu-btn { display: none; min-height: 44px; padding: 8px 14px; border-radius: 5px; border: 1px solid rgba(255,255,255,0.32); background: transparent; color: inherit; font-weight: 500; cursor: pointer; }
.nav.light .menu-btn { border-color: var(--line-2); }

/* ---------- HERO — full bleed ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; background: var(--dark); color: #fff; margin-top: calc(-1 * var(--nav-h)); padding: calc(var(--nav-h) + clamp(64px, 9vw, 120px)) 0 clamp(56px, 7vw, 96px); background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 18px); }
.hero::before { content: ""; position: absolute; z-index: -1; right: -12%; top: -30%; width: 60vw; max-width: 900px; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(var(--accent-rgb),0.6), transparent 72%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: end; }
.hero h1 { color: #fff; font-size: clamp(44px, 5.4vw, 70px); margin-top: 22px; }
.hero h1 em { font-style: normal; color: var(--accent-lt); }
.hero .lead { margin-top: 24px; font-size: clamp(16px, 1.35vw, 18px); color: var(--on-dark); max-width: 520px; line-height: 1.6; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.hero-meta { margin-top: 40px; display: flex; align-items: center; gap: 16px; padding-top: 22px; border-top: 1px solid var(--glass-line); }
.avatars { display: flex; }
.avatar { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--dark); display: grid; place-items: center; font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; font-weight: 500; margin-left: -10px; }
.avatar:first-child { margin-left: 0; }
.avatar.ao  { background: #fff; color: var(--dark); }
.avatar.sat { background: var(--tint); color: var(--accent); }
.avatar.ap  { background: var(--soft); color: var(--accent); }
.hero-meta .t { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-2); }
.hero--landing { padding-bottom: clamp(48px, 6vw, 80px); }
.hero--landing .hero-grid { align-items: center; }
.hero--landing h1 { font-size: clamp(40px, 4.8vw, 62px); max-width: 16ch; }

.banner { display: flex; flex-direction: column; gap: 22px; padding: 26px; border-radius: var(--r); background: var(--glass); border: 1px solid var(--glass-line); transition: border-color .15s, background .15s; }
.banner:hover { border-color: var(--accent-lt); background: rgba(255,255,255,0.07); }
.banner .idx { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-2); }
.banner h2 { color: #fff; font-family: var(--sans); font-weight: 600; letter-spacing: -0.025em; font-size: clamp(20px, 1.9vw, 24px); line-height: 1.15; margin-top: 10px; }
.banner p  { color: var(--on-dark); font-size: 14px; margin-top: 8px; }
.banner .btn { align-self: flex-start; }

/* featured person in a landing hero (A1: the person from the ad is visible immediately) */
.feature { display: grid; grid-template-columns: 128px 1fr; gap: 18px; align-items: start; padding: 16px; border-radius: var(--r); background: var(--glass); border: 1px solid var(--glass-line); color: #fff; transition: border-color .15s, background .15s; }
.feature:hover { border-color: var(--accent-lt); background: rgba(255,255,255,0.07); }
.feature .photo { aspect-ratio: 4 / 5; border-radius: 4px; background: linear-gradient(170deg, var(--dark-2), var(--dark)); position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 10px; }
.feature .photo small { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.45); }
.feature .photo .big { position: absolute; right: -4px; bottom: -14px; font-family: var(--display); font-weight: var(--display-w); font-size: 76px; letter-spacing: -0.05em; line-height: 1; color: rgba(255,255,255,0.07); }
.feature .role { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-lt); }
.feature h2 { color: #fff; font-family: var(--sans); font-weight: 600; letter-spacing: -0.025em; font-size: 22px; line-height: 1.15; margin-top: 8px; }
.feature .meta { color: var(--on-dark); font-size: 13.5px; margin-top: 8px; line-height: 1.5; }
.feature .areas { color: var(--on-dark-2); font-size: 13px; margin-top: 10px; }
.feature .mlink { margin-top: 14px; }

/* ---------- expert cards (E01) ---------- */
.experts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--card); border-radius: var(--r); padding: 14px 14px 20px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 1px 0 rgba(var(--ink-rgb),0.05), 0 0 0 1px rgba(var(--ink-rgb),0.04); transition: box-shadow .2s, transform .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -16px rgba(var(--ink-rgb),0.22), 0 0 0 1px rgba(var(--ink-rgb),0.05); }
.photo { position: relative; aspect-ratio: 4 / 5; border-radius: 4px; overflow: hidden; display: flex; align-items: flex-end; padding: 14px; }
.photo.ao  { background: linear-gradient(170deg, var(--tint-lite) 0%, var(--tint) 60%, var(--tint-line) 100%); }
.photo.sat { background: linear-gradient(170deg, var(--ground) 0%, var(--soft) 60%, var(--line-2) 100%); }
.photo.ap  { background: linear-gradient(170deg, var(--ground) 0%, var(--soft) 60%, var(--line-2) 100%); }
.photo .big { position: absolute; right: -6px; bottom: -22px; font-family: var(--display); font-weight: var(--display-w); font-size: 128px; letter-spacing: -0.05em; line-height: 1; color: rgba(var(--accent-rgb),0.09); user-select: none; }
.photo .idx { position: absolute; top: 12px; left: 12px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; color: var(--muted-2); }
.photo small { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); }
.card .role { font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.card h3 { font-size: 20px; margin-top: 6px; }
.card .meta { font-size: 13.5px; color: var(--muted); line-height: 1.5; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.card .desc { font-size: 14.5px; color: var(--body); }
.card .mlink { margin-top: auto; padding-top: 4px; }

/* ---------- expert profile with inline detail (E01 + E02) ---------- */
.profiles { display: grid; gap: 20px; }
.profile { display: grid; grid-template-columns: 260px 1fr; gap: 28px; padding: 20px; background: var(--card); border-radius: var(--r); box-shadow: 0 1px 0 rgba(var(--ink-rgb),0.05), 0 0 0 1px rgba(var(--ink-rgb),0.04); scroll-margin-top: calc(var(--nav-h) + 20px); }
.profile:target { box-shadow: 0 0 0 2px var(--accent), 0 24px 48px -16px rgba(var(--ink-rgb),0.22); }
.profile .photo .big { font-size: 112px; }
.profile .role { font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.profile h3 { font-size: clamp(22px, 2.2vw, 28px); margin-top: 8px; letter-spacing: -0.03em; }
.profile .meta { font-size: 14.5px; color: var(--muted); margin-top: 8px; line-height: 1.5; }
.profile .areas { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.profile details { margin-top: 18px; border-top: 1px solid var(--line); }
.profile summary { list-style: none; cursor: pointer; padding: 14px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.profile summary::-webkit-details-marker { display: none; }
.profile summary .plus { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--dark); font-family: var(--sans); font-size: 15px; transition: transform .2s, background .15s, color .15s, border-color .15s; }
.profile details[open] summary .plus { transform: rotate(45deg); background: var(--dark); color: #fff; border-color: var(--dark); }
.profile .bio { font-size: 15px; color: var(--body); max-width: 62ch; }
.profile .bio + .bio { margin-top: 12px; }
.profile .helps { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; max-width: 62ch; }
.profile .helps li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 14.5px; color: var(--body); }
.profile .helps li::before { content: "—"; font-family: var(--mono); color: var(--accent); }
.profile .actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }

/* ---------- topics (A3 / S3): numbered hairline list ---------- */
.topics { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 32px; counter-reset: topic; }
.topic { padding: 22px 0 24px; border-top: 1px solid var(--line-2); }
.topic::before { counter-increment: topic; content: "0" counter(topic); display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--accent); margin-bottom: 14px; }
.topic h4 { font-size: 17.5px; }
.topic p { font-size: 14.5px; color: var(--muted); margin-top: 8px; }

/* ---------- dark band (H03) ---------- */
.support { margin-top: clamp(64px, 8vw, 112px); background: var(--dark); color: #fff; padding: clamp(56px, 7vw, 96px) 0; }
.support .sec-head { padding-top: 0; border-top: 0; }
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.support-card { display: flex; flex-direction: column; gap: 12px; min-height: 220px; padding: 26px 24px 22px; border-radius: var(--r); background: var(--glass); border: 1px solid var(--glass-line); transition: border-color .15s, background .15s, transform .15s; }
.support-card:hover { border-color: var(--accent-lt); background: rgba(255,255,255,0.07); transform: translateY(-2px); }
.support-card .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-2); }
.support-card h3 { color: #fff; font-size: 22px; }
.support-card p  { color: var(--on-dark); font-size: 14.5px; }
.support-card .mlink { margin-top: auto; padding-top: 10px; }

/* ---------- steps (H04 / A4): hairline columns ---------- */
.tabs { display: inline-flex; gap: 4px; background: var(--soft); padding: 4px; border-radius: 100px; }
.tab { min-height: 44px; padding: 10px 20px; border-radius: 100px; border: 0; background: transparent; font-weight: 500; font-size: 14.5px; color: var(--dark); cursor: pointer; transition: background .15s, color .15s; }
.tab[aria-selected="true"] { background: var(--dark); color: #fff; font-weight: 600; }
.tab:hover:not([aria-selected="true"]) { background: #fff; }
.panel[hidden] { display: none; }
.flow { display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: step; }
.flow--top { margin-top: 36px; }
.step { padding: 22px 24px 8px 0; margin-right: 24px; border-top: 1px solid var(--line-2); }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--accent); margin-bottom: 16px; }
.step h4 { font-size: 17px; }
.step p  { font-size: 14px; color: var(--muted); margin-top: 8px; }
.note { margin-top: 28px; font-size: 13.5px; color: var(--muted); display: flex; gap: 10px; align-items: flex-start; max-width: 720px; }
.note::before { content: "※"; color: var(--accent); flex: none; }
.note--strong { color: var(--ink); font-size: 14.5px; padding: 16px 18px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--card); }

/* ---------- team + FAQ ---------- */
.team { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.team-intro h2 { font-size: clamp(32px, 3.8vw, 48px); margin-top: 14px; max-width: 12ch; }
.team-intro .lead { margin-top: 22px; color: var(--body); max-width: 460px; }
.facts { margin: 30px 0 0; padding: 0; list-style: none; counter-reset: fact; }
.facts li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line-2); font-size: 14.5px; }
.facts li::before { counter-increment: fact; content: "0" counter(fact); font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--accent); }
.faq { border-top: 1px solid var(--dark); }
.faq--wide { max-width: 800px; }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; display: grid; grid-template-columns: 40px 1fr 28px; align-items: center; gap: 12px; font-size: 17px; font-weight: 500; color: var(--ink); letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .n { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--muted-2); }
.faq summary .plus { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--dark); font-weight: 400; transition: transform .2s, background .15s, color .15s, border-color .15s; }
.faq summary:hover .plus { border-color: var(--dark); }
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--dark); color: #fff; border-color: var(--dark); }
.faq .a { padding: 0 40px 22px 52px; font-size: 15px; color: var(--body); max-width: 60ch; }

/* ---------- closing CTA band (A5 / S5: the same request button, repeated) ---------- */
.cta-band { margin-top: clamp(64px, 8vw, 112px); background: var(--accent); color: #fff; padding: clamp(48px, 6vw, 84px) 0; }
.cta-band .inner { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.cta-band h2 { color: #fff; font-size: clamp(30px, 3.6vw, 46px); max-width: 16ch; }
.cta-band .sub { color: rgba(255,255,255,0.82); margin-top: 14px; max-width: 520px; font-size: 15.5px; }
.cta-band .path { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-top: 22px; }
.cta-band .actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- footer ---------- */
.footer { background: var(--dark); color: var(--on-dark); margin-top: clamp(64px, 8vw, 112px); padding: 56px 0 28px; }
.footer--flush { margin-top: 0; border-top: 1px solid var(--glass-line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.footer .wordmark { color: #fff; }
.footer .tagline { font-size: 14.5px; color: var(--on-dark-2); margin-top: 14px; max-width: 380px; }
.footer-links { display: flex; gap: 8px 26px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; font-size: 14.5px; font-weight: 500; color: #fff; justify-self: end; }
.footer-links a { opacity: 0.85; }
.footer-links a:hover { opacity: 1; color: var(--accent-lt); }
.footer-meta { margin-top: 44px; padding-top: 18px; border-top: 1px solid var(--glass-line); font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--on-dark-2); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- subject / area picker (S1·S3 / P1·P3): one choice, kept in the URL, on every request link, and on matching tutors ---------- */
.picker { display: grid; gap: 10px; padding: 18px; border-radius: var(--r); background: var(--glass); border: 1px solid var(--glass-line); color: #fff; }
.picker .lbl { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-2); display: flex; justify-content: space-between; gap: 12px; }
.picker .lbl .clear { color: var(--on-dark-2); cursor: pointer; background: none; border: 0; padding: 0; font: inherit; letter-spacing: inherit; text-transform: inherit; }
.picker .lbl .clear:hover { color: var(--accent-lt); }
.pick-opt { display: flex; flex-direction: column; gap: 6px; text-align: left; padding: 16px 18px; border-radius: var(--r); background: rgba(255,255,255,0.03); border: 1px solid var(--glass-line); color: #fff; cursor: pointer; transition: border-color .15s, background .15s; }
.pick-opt:hover { border-color: rgba(255,255,255,0.4); }
.pick-opt[aria-pressed="true"] { border-color: var(--accent-lt); background: rgba(var(--accent-lt-rgb),0.10); }
.pick-opt .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-2); display: flex; justify-content: space-between; }
.pick-opt[aria-pressed="true"] .k { color: var(--accent-lt); }
.pick-opt[aria-pressed="true"] .k::after { content: "SELECTED"; }
.pick-opt strong { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.pick-opt span.p { font-size: 13.5px; color: var(--on-dark); }
.select { position: relative; }
.select select { width: 100%; min-height: 50px; appearance: none; -webkit-appearance: none; padding: 12px 44px 12px 16px; border-radius: var(--r); border: 1px solid rgba(255,255,255,0.28); background: rgba(255,255,255,0.04); color: #fff; font: inherit; font-size: 15px; cursor: pointer; }
.select select:hover { border-color: rgba(255,255,255,0.5); }
.select select option { color: var(--ink); background: #fff; }
.select::after { content: "↓"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-family: var(--mono); color: var(--accent-lt); pointer-events: none; }
.picker .hint { font-size: 13px; color: var(--on-dark-2); }
.picker .btn { margin-top: 4px; }

.pick-status { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.pick-status .clear { color: var(--muted-2); cursor: pointer; background: none; border: 0; padding: 0; font: inherit; letter-spacing: inherit; text-transform: inherit; }
.pick-status .clear:hover { color: var(--dark); }
.profile { transition: opacity .25s; }
.profile.dim { opacity: 0.42; }
.profile.dim:hover { opacity: 1; }
.notice { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding: 16px 18px; border-radius: var(--r); background: var(--tint); border: 1px solid var(--tint-line); color: var(--ink); font-size: 14.5px; margin-bottom: 24px; }
.notice .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); padding-top: 3px; }
.empty { display: grid; gap: 10px; padding: 26px; border-radius: var(--r); background: var(--card); border: 1px dashed var(--line-2); }
.empty h4 { font-size: 18px; }
.empty p { font-size: 14.5px; color: var(--muted); max-width: 60ch; }
.empty .btn { justify-self: start; margin-top: 6px; }
.subjects { display: flex; flex-wrap: wrap; gap: 8px; }
.subjects .grp { flex-basis: 100%; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); margin: 10px 0 2px; }
.subj { font: inherit; font-size: 14px; font-weight: 500; letter-spacing: -0.01em; min-height: 44px; padding: 10px 16px; border-radius: 100px; border: 1px solid var(--line-2); background: var(--card); color: var(--dark); cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.subj:hover { border-color: var(--dark); }
.subj[aria-pressed="true"] { background: var(--dark); color: #fff; border-color: var(--dark); }
.blurb { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line-2); display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.blurb h4 { font-size: 19px; }
.blurb p { font-size: 15px; color: var(--body); margin-top: 8px; max-width: 52ch; }
.blurb .who { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.blurb .names { margin-top: 10px; font-size: 15px; color: var(--ink); }
.blurb[hidden] { display: none; }
.empty[hidden], .notice[hidden] { display: none; }
@media (max-width: 960px) { .blurb { grid-template-columns: 1fr; } }

/* ---------- request forms (F01 / F02) and the S01 states ---------- */
:root { --err: #d92d20; --err-bg: #fdf3f2; --err-line: #f0c9c4; }
.form-page { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 56px; align-items: start; padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(56px, 7vw, 96px); }
.form-head h1 { font-size: clamp(34px, 4vw, 52px); margin-top: 12px; max-width: 16ch; }
.form-head .sub { margin-top: 16px; color: var(--body); max-width: 56ch; font-size: 16px; }
.form { margin-top: 32px; display: grid; gap: 22px; }
.form[hidden] { display: none; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field[hidden] { display: none; }
.field > label, .field > .lbl { font-size: 14px; font-weight: 600; color: var(--ink); display: flex; align-items: baseline; gap: 6px; }
.field .req { color: var(--accent); font-family: var(--mono); font-size: 11px; }
.field .opt { margin-left: auto; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); font-weight: 400; }
.input { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--r); border: 1px solid var(--line-2); background: #fff; font: inherit; font-size: 15.5px; color: var(--ink); transition: border-color .15s; }
.input::placeholder { color: var(--muted-2); }
.input:hover { border-color: var(--line-3); }
.input:focus { outline: 2px solid var(--accent); outline-offset: 2px; border-color: var(--accent); }
.input:disabled { background: var(--ground); color: var(--muted-2); cursor: not-allowed; }
textarea.input { min-height: 150px; resize: vertical; line-height: 1.55; }
select.input { appearance: none; -webkit-appearance: none; padding-right: 42px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path d='M2 4l4 4 4-4' fill='none' stroke='%23b01c35' stroke-width='1.5'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; }
.field.invalid .input { border-color: var(--err); }
.field.invalid .input:focus { outline-color: var(--err); }
.err { display: none; font-size: 13px; color: var(--err); }
.field.invalid .err { display: block; }
.help { font-size: 13px; color: var(--muted); }
.radios { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.radios-3 { grid-template-columns: 1fr 1fr 1fr; }
.radio { position: relative; display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 12px 16px; border: 1px solid var(--line-2); border-radius: var(--r); background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.radio:hover { border-color: var(--line-3); }
.radio input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); flex: none; }
.radio strong { font-size: 15px; font-weight: 600; color: var(--ink); }
.radio small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 1px; }
.radio:has(input:checked) { border-color: var(--dark); box-shadow: 0 0 0 1px var(--dark); }
.radio:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.field.invalid .radio { border-color: var(--err); }
.field > .check, .check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; min-height: 44px; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: var(--r); background: #fff; cursor: pointer; font-weight: 400; color: var(--body); }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); }
.check > span { font-size: 14px; line-height: 1.55; color: var(--ink); font-weight: 500; }
.check small { display: block; margin-top: 4px; font-size: 12.5px; line-height: 1.5; font-weight: 400; color: var(--muted); }
.check .err { grid-column: 1 / -1; }
.field.invalid .check { border-color: var(--err); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.submit-row { display: grid; gap: 12px; }
.submit-row .btn { width: 100%; min-height: 52px; font-size: 15.5px; }
.btn[aria-busy="true"] { opacity: 0.7; cursor: progress; }
.btn:disabled { pointer-events: none; }
.err-count { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--err); }
.err-count[hidden] { display: none; }
.banner { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 16px 18px; border-radius: var(--r); font-size: 14.5px; line-height: 1.55; }
.banner[hidden] { display: none; }
.banner .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; padding-top: 3px; white-space: nowrap; }
.banner.fail { background: var(--err-bg); border: 1px solid var(--err-line); color: #5f1a13; }
.banner.fail .k { color: var(--err); }
.banner:focus { outline: 2px solid var(--err); outline-offset: 2px; }
.demo-tag { display: inline-flex; gap: 8px; align-items: center; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; background: var(--accent); padding: 5px 10px; border-radius: 4px; margin-bottom: 14px; }
.demo-tag[hidden] { display: none; }
.done { margin-top: 32px; padding: clamp(28px, 4vw, 44px); border-radius: var(--r); background: var(--dark); color: #fff; display: grid; gap: 18px; outline: none; }
.done[hidden] { display: none; }
.done h2 { color: #fff; font-size: clamp(30px, 3.6vw, 44px); margin-top: 10px; }
.done p { color: var(--on-dark); font-size: 15.5px; max-width: 56ch; }
.done p strong { color: #fff; font-weight: 600; }
.done .recap { list-style: none; margin: 6px 0 0; padding: 18px 0 0; border-top: 1px solid var(--glass-line); display: grid; gap: 10px; }
.done .recap li { display: grid; grid-template-columns: 150px 1fr; gap: 12px; font-size: 14.5px; color: #fff; }
.done .recap .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-2); padding-top: 3px; }
.done .next { margin-top: 6px; padding-top: 18px; border-top: 1px solid var(--glass-line); display: flex; gap: 10px; flex-wrap: wrap; }
.rail { display: grid; gap: 16px; position: sticky; top: calc(var(--nav-h) + 24px); }
.rail[hidden] { display: none; }
.rail-card { padding: 20px 22px; border-radius: var(--r); background: var(--card); box-shadow: 0 1px 0 rgba(var(--ink-rgb),0.05), 0 0 0 1px rgba(var(--ink-rgb),0.04); }
.rail-card .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.rail-card p { font-size: 14px; color: var(--body); margin-top: 10px; }
.steps-mini { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; counter-reset: s; }
.steps-mini li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; font-size: 14px; color: var(--body); }
.steps-mini li::before { counter-increment: s; content: "0" counter(s); font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--accent); padding-top: 3px; }
.sel { margin-top: 8px; }
.sel .item { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.sel .item:first-child { border-top: 0; }
.sel .item .k { color: var(--muted); }
.sel .item .v { color: var(--ink); font-weight: 500; text-align: right; }
.sel .item a { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-left: 8px; }
.sel .item a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 960px) { .form-page { grid-template-columns: 1fr; gap: 32px; } .rail { position: static; } }
@media (max-width: 720px) { .row, .radios, .radios-3 { grid-template-columns: 1fr; } .done .recap li { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- language switch + banner + Korean typography ---------- */
.nav-right { display: flex; align-items: center; gap: 10px; order: 3; }
.nav .wrap > nav { order: 2; }
.lang-switch { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; padding: 8px 10px; border-radius: 5px; border: 1px solid rgba(255,255,255,0.28); opacity: 0.9; }
.lang-switch:hover { border-color: var(--accent-lt); color: var(--accent-lt); opacity: 1; }
.nav.light .lang-switch { border-color: var(--line-2); color: var(--dark); }
.nav.light .lang-switch:hover { border-color: var(--dark); color: var(--dark); }
.nav .lang-banner { background: var(--tint); border-top: 1px solid var(--tint-line); color: var(--ink); font-size: 14px; }
.lang-banner[hidden] { display: none; }
.nav .lang-banner .wrap { display: flex; align-items: center; justify-content: flex-start; gap: 14px; min-height: 44px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.lang-banner a { color: var(--accent); font-weight: 600; }
.lang-banner .dismiss { margin-left: auto; min-width: 36px; min-height: 36px; border: 0; background: transparent; color: var(--muted); font-size: 20px; cursor: pointer; border-radius: 5px; }
.lang-banner .dismiss:hover { background: rgba(var(--accent-rgb),0.08); color: var(--dark); }
html[lang="ko"] { --display-ls: -0.03em; }
html[lang="ko"] body { font-family: 'IBM Plex Sans', 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif; line-height: 1.7; word-break: keep-all; }
html[lang="ko"] h1, html[lang="ko"] h2 { letter-spacing: -0.03em; line-height: 1.12; }
html[lang="ko"] h3, html[lang="ko"] h4 { letter-spacing: -0.015em; }
html[lang="ko"] .hero h1 { font-size: clamp(38px, 4.8vw, 62px); }
html[lang="ko"] .eyebrow, html[lang="ko"] .mlink, html[lang="ko"] .chip, html[lang="ko"] .footer-meta, html[lang="ko"] .banner .idx { letter-spacing: 0.06em; }
html[lang="ko"] .sec-head h2 { max-width: 18ch; }
@media (max-width: 720px) {
  .nav-right { gap: 8px; }
  .lang-switch { padding: 8px 9px; }
  html[lang="ko"] .hero h1 { font-size: clamp(32px, 8.5vw, 42px); }
}

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .experts, .support-grid { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }
  .topics { grid-template-columns: 1fr 1fr; }
  .team { grid-template-columns: 1fr; gap: 36px; }
  .sec-head { grid-template-columns: 1fr; gap: 12px; }
  .sec-head .sub { justify-self: start; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-self: start; }
  .feature { max-width: 560px; }
}
@media (max-width: 720px) {
  .menu-btn { display: inline-flex; align-items: center; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 2px; background: var(--dark); border-bottom: 1px solid var(--glass-line); padding: 10px var(--gutter) 16px; }
  .nav.light .nav-links { background: var(--ground); border-bottom-color: var(--line); }
  .nav-links.open { display: flex; }
  .nav-links a { min-height: 44px; display: flex; align-items: center; }
  .nav-links a[aria-current="page"]::after { left: 13px; right: auto; width: 24px; bottom: 8px; }
  .nav-links .cta a { margin-left: 0; margin-top: 6px; justify-content: center; }
  .hero h1 { font-size: clamp(38px, 10.5vw, 48px); }
  .hero--landing h1 { font-size: clamp(34px, 9.5vw, 44px); }
  html[data-display="serif"] .hero h1 { font-size: clamp(44px, 12vw, 56px); }
  .feature { grid-template-columns: 96px 1fr; gap: 14px; }
  .experts, .support-grid, .flow, .topics { grid-template-columns: 1fr; }
  .step { margin-right: 0; padding-right: 0; }
  .profile { grid-template-columns: 1fr; gap: 18px; }
  .profile .photo { max-width: 240px; }
    .cta-band .inner { grid-template-columns: 1fr; }
  .faq .a { padding-left: 52px; padding-right: 0; }
}

/* ---------- crimson refinements ---------- */
.wordmark .dot { background: var(--accent-hi); box-shadow: 0 0 0 3px rgba(var(--accent-hi-rgb),0.18); }
.hero { background-image: linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px); background-size: 64px 64px; background-position: -1px -1px; }
.hero::before { background: radial-gradient(closest-side, rgba(var(--accent-rgb),0.55), transparent 72%); }
.hero::after { content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(var(--accent-lt-rgb),0.45), transparent); }
.hero h1 em { color: var(--accent-lt); }
.dark .btn-primary:hover { background: var(--accent-hi); }
/* solid crimson closing band: white button, white labels */
.cta-band { background: var(--accent); background-image: radial-gradient(80% 140% at 100% 0%, rgba(255,255,255,0.10), transparent 60%); }
.cta-band .eyebrow { color: rgba(255,255,255,0.78); }
.cta-band .btn-primary { background: #fff; color: var(--accent); }
.cta-band .btn-primary:hover { background: var(--tint); }
.cta-band :focus-visible { outline-color: #fff; }
/* selected states read as the brand, inputs stay neutral */
.faq details[open] summary .plus, .profile details[open] summary .plus { background: var(--accent); border-color: var(--accent); }
.subj[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); }
.radio:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); background: var(--tint-lite); }
.input:focus { outline-color: var(--ink); border-color: var(--ink); }
.faq { border-top-color: var(--ink); }

.hero-grid > * { min-width: 0; }
.topics--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .topics--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) {
  .topics--4 { grid-template-columns: 1fr; }
  .nav > .wrap { gap: 12px; }
  .wordmark .tag { display: none; }
}
.row[hidden] { display: none; }

/* ---------- tutoring: program picker (hero) + program cards ---------- */
.pick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pick-opt.pick-sm { gap: 4px; padding: 14px 14px 13px; }
.pick-opt.pick-sm .k { font-size: 9.5px; letter-spacing: 0.12em; }
.pick-opt.pick-sm[aria-pressed="true"] .k::after { content: none; }
.pick-opt.pick-sm strong { font-size: 19px; letter-spacing: -0.03em; }
.programs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.prog { position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 12px; text-align: left; padding: 22px 22px 18px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); color: var(--body); font: inherit; cursor: pointer; box-shadow: 0 1px 0 rgba(var(--ink-rgb),0.04); transition: border-color .15s, box-shadow .2s, transform .2s; }
.prog:hover { transform: translateY(-2px); border-color: var(--line-2); box-shadow: 0 20px 40px -22px rgba(var(--ink-rgb),0.28); }
.prog[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 20px 40px -22px rgba(var(--accent-rgb),0.3); }
.prog .top { display: flex; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); }
.prog .top .type { color: var(--accent); }
.prog .name { font-family: var(--display); font-weight: var(--display-w); font-size: 38px; letter-spacing: var(--display-ls); line-height: 1; color: var(--ink); margin-top: 4px; }
.prog .desc { font-size: 14.5px; line-height: 1.55; }
.prog .subs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 4px; }
.prog .go { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.prog .go::before { content: attr(data-off); }
.prog .go::after { content: "+"; font-family: var(--sans); font-size: 16px; letter-spacing: 0; color: var(--muted-2); }
.prog[aria-pressed="true"] .go { color: var(--accent); }
.prog[aria-pressed="true"] .go::before { content: attr(data-on); }
.prog[aria-pressed="true"] .go::after { content: "✓"; color: var(--accent); }
html[lang="ko"] .prog .top, html[lang="ko"] .prog .go { letter-spacing: 0.06em; }
@media (max-width: 960px) { .programs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .programs { grid-template-columns: 1fr; } }
@media (max-width: 400px) { .pick-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- floating chat buttons (KakaoTalk, WhatsApp) ---------- */
.chat-fab { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 55; display: flex; flex-direction: column; gap: 10px; }
.fab { position: relative; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; box-shadow: 0 12px 28px -10px rgba(0,0,0,0.45), 0 0 0 1px rgba(0,0,0,0.05); transition: transform .15s, box-shadow .15s; }
.fab:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -10px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,0,0,0.05); }
.fab:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.fab svg { width: 27px; height: 27px; }
.fab.kakao { background: #fee500; }
.fab.whatsapp { background: #25d366; }
.fab.whatsapp svg { width: 26px; height: 26px; }
.fab-label { position: absolute; right: calc(100% + 12px); top: 50%; transform: translate(6px, -50%); white-space: nowrap; padding: 7px 12px; border-radius: 6px; background: var(--dark); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: -0.01em; opacity: 0; pointer-events: none; transition: opacity .15s, transform .15s; }
.fab:hover .fab-label, .fab:focus-visible .fab-label { opacity: 1; transform: translate(0, -50%); }
@media (hover: none) { .fab-label { display: none; } }
@media (max-width: 720px) { .chat-fab { right: 14px; bottom: 14px; gap: 8px; } .fab { width: 50px; height: 50px; } .fab svg { width: 25px; height: 25px; } }
@media print { .chat-fab { display: none; } }

.ad-preferences-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ad-preferences-actions[hidden] { display: none; }
.ad-preferences-actions button { min-height: 44px; padding: 4px 12px; border: 1px solid var(--line-2); border-radius: 6px; background: var(--card); color: var(--ink); font: inherit; cursor: pointer; }
.ad-preferences-actions button:hover { background: var(--soft); }
.ad-preferences-actions button[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); font-weight: 600; }
@media print { .ad-preferences-actions { display: none; } }
/* footer business details (상호 · 대표자 · 사업자등록번호 · 주소) */
/* dividers are left borders; the 11px shift + clip hides the one at the start of every wrapped row */
.footer-meta .biz { display: flex; flex-wrap: wrap; row-gap: 6px; max-width: 820px; margin-left: -11px; clip-path: inset(0 0 0 11px); }
.footer-meta .biz > span { padding: 0 10px; border-left: 1px solid var(--glass-line); }
@media (max-width: 720px) { .footer { padding-bottom: 136px; } }

/* ---------- tutoring: process, beyond the classroom, reports ---------- */
.flow--process .step h4 { font-size: 19px; }
.flow--process .step::before { font-size: 12px; }

.beyond { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.beyond-card { display: flex; flex-direction: column; gap: 14px; padding: 30px 30px 26px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); box-shadow: 0 1px 0 rgba(var(--ink-rgb),0.04); }
.beyond-card .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.beyond-card h3 { font-family: var(--display); font-weight: var(--display-w); letter-spacing: -0.03em; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.12; }
.beyond-card p { font-size: 15px; color: var(--body); max-width: 52ch; }
.beyond-card .mlink { margin-top: auto; padding-top: 6px; }
.ticks { list-style: none; margin: 4px 0 6px; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 9px; }
.ticks li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 14.5px; color: var(--ink); }
.ticks li::before { content: "✓"; color: var(--accent); font-weight: 600; }

.reports .reports-grid { display: grid; grid-template-columns: 1fr minmax(0, 470px); gap: clamp(36px, 6vw, 88px); align-items: center; }
.reports h2 { color: #fff; font-size: clamp(32px, 3.8vw, 48px); margin-top: 14px; }
.reports .lead { margin-top: 20px; color: var(--on-dark); font-size: 16px; max-width: 48ch; }
.rep-list { list-style: none; margin: 28px 0 0; padding: 0; counter-reset: rep; display: grid; }
.rep-list li { counter-increment: rep; display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; padding: 14px 0; border-top: 1px solid var(--glass-line); }
.rep-list li::before { content: "0" counter(rep); grid-row: span 2; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--accent-lt); padding-top: 4px; }
.rep-list strong { color: #fff; font-weight: 600; font-size: 15.5px; }
.rep-list span { color: var(--on-dark); font-size: 14px; }
.rep-foot { margin-top: 18px; font-size: 13px; color: var(--on-dark-2); }

.report { margin: 0; padding: 26px 26px 22px; border-radius: 10px; background: #fff; color: var(--ink); box-shadow: 0 40px 80px -30px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.06); }
.report-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.report-head .title { font-family: var(--display); font-weight: var(--display-w); font-size: 20px; letter-spacing: -0.02em; }
.report-head .tag { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); border: 1px solid var(--tint-line); background: var(--tint); padding: 4px 9px; border-radius: 100px; }
.report-who { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 0; font-size: 14px; }
.report-who span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--muted); padding-top: 2px; }
.report-rows { margin: 0; display: grid; }
.report-rows > div { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); }
.report-rows dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.report-rows dd { margin: 0; font-size: 14px; color: var(--ink); }
.meter { display: block; height: 8px; max-width: 200px; border-radius: 4px; background: linear-gradient(90deg, var(--accent) calc(var(--v) * 25%), var(--soft) 0); -webkit-mask: repeating-linear-gradient(90deg, #000 0 calc(25% - 3px), transparent 0 25%); mask: repeating-linear-gradient(90deg, #000 0 calc(25% - 3px), transparent 0 25%); }
.report-note { margin: 10px 0 0; padding: 16px 18px; border-radius: 6px; background: var(--ground); border-left: 3px solid var(--accent); }
.report-note .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.report-note p { margin-top: 6px; font-size: 14.5px; line-height: 1.55; color: var(--ink); }
.report-note cite { display: block; margin-top: 8px; font-style: normal; font-size: 13px; color: var(--muted); }
html[lang="ko"] .report-rows dt, html[lang="ko"] .report-head .tag, html[lang="ko"] .report-note .k, html[lang="ko"] .beyond-card .k { letter-spacing: 0.04em; }

@media (max-width: 960px) { .reports .reports-grid { grid-template-columns: 1fr; } .report { max-width: 520px; } }
@media (max-width: 720px) { .beyond { grid-template-columns: 1fr; } .beyond-card { padding: 24px 22px 22px; } .report { padding: 20px 18px 18px; } .report-rows > div { grid-template-columns: 96px 1fr; } }

/* ================= visuals: campus hero · journey rings · ribbon · illustrated cards · team cycle ================= */
/* campus line drawing along the bottom of every hero, under the grid */
.hero { background-image: url("campus.svg"), linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: min(1240px, 140%) auto, 64px 64px, 64px 64px; background-position: center bottom, -1px -1px, -1px -1px; background-repeat: no-repeat, repeat, repeat;
  padding-bottom: clamp(140px, 15vw, 210px); }
.hero--landing { padding-bottom: clamp(140px, 15vw, 210px); }
@media (max-width: 720px) { .hero, .hero--landing { padding-bottom: 130px; background-size: 180% auto, 48px 48px, 48px 48px; } }

/* card icons */
.card-ico { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; color: var(--accent); background: var(--tint); }
.card-ico .i { width: 26px; height: 26px; }
.dark .card-ico { color: #fff; background: rgba(var(--accent-lt-rgb),0.16); box-shadow: inset 0 0 0 1px rgba(var(--accent-lt-rgb),0.35); }
.dark .support-card:hover .card-ico { background: var(--accent); box-shadow: none; }

/* journey: four progress rings joined by dashed arrows */
.journey { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.journey--top { margin-top: 40px; }
.jstep { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 6px; }
.jstep .ring { position: relative; display: grid; place-items: center; width: 132px; height: 132px; border-radius: 50%; margin-bottom: 22px;
  background: conic-gradient(from -90deg, var(--c, var(--accent)) calc(var(--p) * 1%), var(--soft) 0); }
.jstep .ring::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: var(--card); box-shadow: 0 10px 30px -14px rgba(var(--ink-rgb),0.35); }
.jstep .ring::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 1px dashed var(--line-2); }
.jstep .ico { position: relative; color: var(--c, var(--accent)); }
.jstep .ico .i { width: 34px; height: 34px; }
.jstep .jn { position: absolute; bottom: 20px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; color: var(--muted-2); }
.jstep:nth-child(1) { --c: var(--accent-lt); } .jstep:nth-child(2) { --c: var(--accent-mid); } .jstep:nth-child(3) { --c: var(--accent); } .jstep:nth-child(4) { --c: var(--accent-deep); }
.jstep:not(:last-child)::after { content: ""; position: absolute; top: 66px; left: calc(50% + 82px); right: calc(-50% + 82px - 24px); height: 2px;
  background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px); }
.jstep:not(:last-child)::before { content: ""; position: absolute; top: 61px; right: calc(-50% + 82px - 24px); width: 0; height: 0; border-left: 8px solid var(--line-2); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.jstep h4 { font-size: 18px; }
.jstep p { font-size: 14px; color: var(--muted); margin-top: 8px; max-width: 30ch; }
@media (max-width: 960px) {
  .journey { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .jstep:nth-child(2)::after, .jstep:nth-child(2)::before { display: none; }
}
@media (max-width: 720px) {
  .journey { grid-template-columns: 1fr; row-gap: 0; }
  .jstep { display: grid; grid-template-columns: 96px 1fr; column-gap: 18px; text-align: left; align-items: start; padding: 0 0 28px; }
  .jstep .ring { width: 96px; height: 96px; margin: 0; grid-row: span 2; }
  .jstep .ring::before { inset: 7px; } .jstep .ring::after { inset: -6px; }
  .jstep .ico .i { width: 26px; height: 26px; } .jstep .jn { bottom: 13px; font-size: 9.5px; }
  .jstep h4 { margin-top: 18px; } .jstep p { max-width: none; }
  .jstep:not(:last-child)::after { display: block; top: 108px; bottom: 4px; left: 47px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--line-2) 0 6px, transparent 6px 12px); }
  .jstep:not(:last-child)::before { display: none; }
  .jstep:nth-child(2)::after { display: block; }
}

/* promises ribbon under the home hero */
.ribbon { background: var(--accent); color: #fff; }
.ribbon-inner { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px 0; padding-top: 18px; padding-bottom: 18px; font-weight: 600; font-size: clamp(14.5px, 1.4vw, 17px); letter-spacing: -0.01em; }
.ribbon-inner span { display: inline-flex; align-items: center; }
.ribbon-inner span + span::before { content: "✦"; margin: 0 clamp(14px, 2.4vw, 30px); font-size: 0.8em; opacity: 0.7; }
@media (max-width: 720px) { .ribbon-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; justify-items: start; font-size: 14px; } .ribbon-inner span + span::before { content: none; } .ribbon-inner span::before { content: "✦" !important; margin: 0 8px 0 0 !important; font-size: 0.8em; opacity: 0.7; } }

/* illustrated cards (what every student gets) */
.gets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.get-art { position: relative; aspect-ratio: 3 / 2; border-radius: 14px; overflow: hidden; background: linear-gradient(160deg, var(--tint-lite) 0%, var(--tint) 100%); box-shadow: inset 0 0 0 1px var(--line); }
.get-art img { width: 100%; height: 100%; object-fit: contain; display: block; transition: transform .5s ease; }
.get:hover .get-art img { transform: scale(1.03); }
.get-n { position: absolute; left: 0; bottom: 0; padding: 10px 18px 0 2px; background: var(--ground); border-top-right-radius: 14px; font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; color: var(--ink); }
.get h3 { font-size: 21px; margin-top: 14px; }
.get p { font-size: 14.5px; color: var(--muted); margin-top: 8px; max-width: 40ch; }
@media (max-width: 960px) { .gets { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .gets { grid-template-columns: 1fr; } }

/* team cycle panel */
.cyc-panel { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(36px, 5vw, 64px); border-radius: 18px; background: var(--dark); color: #fff;
  background-image: url("campus.svg"); background-size: 72% auto; background-position: -40px 108%; background-repeat: no-repeat; }
.cyc-panel::before { content: ""; position: absolute; z-index: -1; right: -10%; top: -20%; width: 70%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(var(--accent-rgb),0.55), transparent 72%); }
.cyc-copy h2 { color: #fff; font-size: clamp(30px, 3.4vw, 44px); margin-top: 14px; max-width: 13ch; }
.cyc-copy p { color: var(--on-dark); margin-top: 18px; max-width: 46ch; font-size: 15.5px; }
.cyc-legend { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; font-size: 13.5px; color: var(--on-dark); }
.cyc-legend li { display: flex; align-items: center; gap: 12px; }
.cyc-legend .sw { width: 34px; height: 0; border-top: 2px solid #fff; }
.cyc-legend .sw.dot { border-top: 2px dotted var(--accent-lt); }
.cyc { width: 100%; height: auto; display: block; color: #fff; overflow: visible; }
.cyc text { font-family: var(--sans); font-size: 17px; font-weight: 500; fill: rgba(255,255,255,0.9); }
.cyc .cyc-solid { fill: none; stroke: rgba(255,255,255,0.85); stroke-width: 1.8; color: rgba(255,255,255,0.85); }
.cyc .cyc-dot { fill: none; stroke: var(--accent-lt); stroke-width: 1.8; stroke-dasharray: 1.5 6; stroke-linecap: round; color: var(--accent-lt); }
.cyc .cyc-halo { fill: rgba(255,255,255,0.08); stroke: rgba(255,255,255,0.18); stroke-width: 1; }
.cyc .cyc-node { fill: #fff; }
.cyc .cyc-name { font-size: 21px; font-weight: 600; fill: var(--ink); letter-spacing: -0.02em; }
html[lang="ko"] .cyc .cyc-name { font-size: 20px; }
@media (max-width: 960px) { .cyc-panel { grid-template-columns: 1fr; } .cyc-art { max-width: 560px; margin: 0 auto; width: 100%; } }
@media (max-width: 720px) { .cyc-panel { padding: 28px 16px 24px; border-radius: 14px; background-size: 160% auto; background-position: center 100%; } .cyc text { font-size: 19px; } .cyc .cyc-name { font-size: 23px; } }

/* ---------- photo heroes (Unsplash, hotlinked) — dark crimson overlay keeps the text readable ---------- */
.hero--photo { background-color: var(--dark);
  background-image: linear-gradient(90deg, rgba(var(--dark-rgb),calc(0.86 * var(--shade, 1))) 0%, rgba(var(--dark-rgb),calc(0.62 * var(--shade, 1))) 36%, rgba(var(--dark-rgb),calc(0.22 * var(--shade, 1))) 68%, rgba(var(--dark-rgb),calc(0.12 * var(--shade, 1))) 100%),
                    linear-gradient(0deg, rgba(var(--dark-rgb),0.78) 0%, rgba(var(--dark-rgb),0) 34%),
                    linear-gradient(180deg, rgba(var(--dark-rgb),0.5) 0%, rgba(var(--dark-rgb),0) 22%),
                    var(--photo);
  background-size: cover, cover, cover, cover; background-position: center, center, center, var(--photo-pos, center); background-repeat: no-repeat;
  padding-bottom: clamp(72px, 9vw, 120px); }
.hero--photo.hero--landing { padding-bottom: clamp(64px, 8vw, 104px); }
.hero--photo::before { background: radial-gradient(closest-side, rgba(var(--accent-rgb),0.32), transparent 72%); }
.hero--photo { filter: none; }
.hero--photo { --shade: 1; }
.hero--photo .banner, .hero--photo .feature, .hero--photo .picker { background: rgba(var(--dark-rgb),0.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
@media (max-width: 720px) {
  .hero--photo { background-image: linear-gradient(180deg, rgba(var(--dark-rgb),0.82) 0%, rgba(var(--dark-rgb),0.9) 55%, rgba(var(--dark-rgb),0.97) 100%), var(--photo-sm);
    background-size: cover, cover; background-position: center, var(--photo-pos, center); padding-bottom: 64px; }
  .hero--photo.hero--landing { padding-bottom: 56px; }
}

.hero--photo h1, .hero--photo .lead, .hero--photo .eyebrow { text-shadow: 0 1px 18px rgba(var(--dark-rgb),0.55); }

/* ---------- real profile photos + facts ---------- */
.photo.has-img { padding: 0; background: var(--soft); }
.photo.has-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.feature .photo.has-img { padding: 0; }
.card .photo.has-img img { transition: transform .5s ease; }
.card:hover .photo.has-img img { transform: scale(1.03); }
.profile .meta .proof { display: inline-block; margin-top: 4px; font-size: 13.5px; color: var(--muted); }
.profile .plabel { margin-top: 18px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.profile .plabel + .helps { margin-top: 10px; }
.pfacts { margin: 20px 0 0; display: grid; gap: 14px; max-width: 66ch; }
.pfacts > div { padding-top: 12px; border-top: 1px solid var(--line); }
.pfacts dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.pfacts dd { margin: 6px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--ink); }
html[lang="ko"] .profile .plabel, html[lang="ko"] .pfacts dt { letter-spacing: 0.06em; }

/* ================= competitions page + data tables ================= */
.support-grid { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

/* hero: three competition chips */
.comp-pick { display: grid; gap: 10px; }
.comp-chip { position: relative; display: grid; grid-template-columns: 44px 1fr 20px; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 18px 20px; border-radius: var(--r); background: rgba(var(--dark-rgb),0.55); border: 1px solid var(--glass-line); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: border-color .15s, background .15s, transform .15s; }
.comp-chip:hover { border-color: var(--accent-lt); background: rgba(var(--dark-rgb),0.7); transform: translateX(3px); }
.comp-chip .n { grid-row: 1 / span 2; grid-column: 1; font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; color: var(--accent-lt); }
.comp-chip strong, .comp-chip small { grid-column: 2; }
.comp-chip strong { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.comp-chip small { font-size: 13px; color: var(--on-dark); }
.comp-chip .arr { grid-row: 1 / span 2; grid-column: 3; font-family: var(--mono); color: var(--on-dark-2); }

/* tables */
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 12px; border: 1px solid var(--line); background: var(--card); box-shadow: 0 1px 0 rgba(var(--ink-rgb),0.04); }
.tbl-wrap table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.cmp { min-width: 760px; }
.cmp thead th { background: var(--dark); color: #fff; font-weight: 600; font-size: 15.5px; letter-spacing: -0.01em; padding: 20px 22px; text-align: left; vertical-align: bottom; }
.cmp thead th.corner { width: 140px; }
.cmp tbody th { width: 140px; background: var(--soft); color: var(--ink); font-weight: 600; font-size: 14px; text-align: left; padding: 18px 22px; vertical-align: top; }
.cmp td { padding: 18px 22px; color: var(--ink); vertical-align: top; line-height: 1.55; border-left: 1px dashed var(--line); }
.cmp tbody tr + tr > * { border-top: 1px solid var(--line); }
.cmp td span { display: block; margin-top: 4px; color: var(--muted); font-size: 13.5px; }
.cmp td b { color: var(--accent); font-weight: 600; }
.phase { min-width: 640px; }
.phase thead th { background: var(--soft); color: var(--muted); font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; text-align: left; padding: 14px 22px; }
.phase tbody th { width: 210px; text-align: left; font-weight: 600; color: var(--ink); padding: 16px 22px; white-space: nowrap; }
.phase td { padding: 16px 22px; color: var(--body); vertical-align: middle; }
.phase td.fmt { width: 200px; color: var(--accent); font-weight: 500; font-size: 13.5px; }
.phase tbody tr + tr > * { border-top: 1px solid var(--line); }
.st-n { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 10px; border-radius: 50%; border: 1px solid var(--line-2); font-family: var(--mono); font-size: 11px; font-weight: 500; color: var(--muted); }
html[lang="ko"] .phase thead th { letter-spacing: 0.06em; }

/* season calendar */
.cal { padding: 22px 24px 26px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); overflow-x: auto; }
.lane { display: grid; grid-template-columns: 210px minmax(640px, 1fr); align-items: center; gap: 16px; padding: 10px 0; }
.lane + .lane:not(.lane--head) { border-top: 1px dashed var(--line); }
.lane-l { font-weight: 600; font-size: 14px; color: var(--ink); }
.lane-t { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; position: relative; }
.months span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--muted-2); text-align: center; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; min-height: 34px; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar--prep { background: var(--tint); color: var(--accent); box-shadow: inset 0 0 0 1px var(--tint-line); }
.bar--key { background: var(--accent); color: #fff; }
.bar--rolling { background: repeating-linear-gradient(90deg, var(--soft) 0 14px, #fff 14px 20px); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); font-weight: 500; }

/* competition header banners */
.comp-head { position: relative; overflow: hidden; isolation: isolate; padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 48px); border-radius: 18px; color: #fff; margin-bottom: 28px;
  background: var(--dark); background-image: radial-gradient(70% 140% at 100% 0%, rgba(255,255,255,0.10), transparent 60%); }
.comp-head::after { content: ""; position: absolute; z-index: -1; right: -6%; top: -40%; width: 46%; aspect-ratio: 1; border-radius: 50%;
  background: repeating-radial-gradient(circle, rgba(255,255,255,0.10) 0 1px, transparent 1px 14px); }
.comp-head--navy { background-color: #1b1e3a; }
.comp-head--crimson { background-color: var(--accent-deep); }
.comp-head--ink { background-color: #23262e; }
.comp-head .pill { display: inline-block; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.3); font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.comp-num { position: absolute; right: clamp(24px, 4vw, 48px); top: clamp(20px, 3vw, 32px); font-family: var(--mono); font-size: 13px; letter-spacing: 0.14em; color: rgba(255,255,255,0.5); }
.comp-head h2 { color: #fff; font-size: clamp(30px, 3.8vw, 48px); margin-top: 18px; max-width: 22ch; }
.comp-head .org { margin-top: 10px; color: rgba(255,255,255,0.72); font-size: 15px; }
.comp-head .quote { margin-top: 14px; color: #f6d38b; font-weight: 600; font-size: 15.5px; max-width: 60ch; }
html[lang="ko"] .comp-head .pill { letter-spacing: 0.06em; }

/* strategy points */
.pts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pt { padding: 24px 26px 22px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.pt-n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--dark); color: #fff; font-family: var(--mono); font-size: 12px; }
.pt h4 { font-size: 18px; margin-top: 14px; }
.pt p { font-size: 14.5px; color: var(--body); margin-top: 8px; line-height: 1.65; }
.pt mark { background: linear-gradient(transparent 55%, rgba(var(--accent-lt-rgb),0.22) 55%); color: var(--ink); padding: 0 1px; }
.sub-h { margin: 36px 0 14px; font-size: 18px; display: flex; align-items: center; gap: 10px; }
.sub-h::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
#ap-ib-sat { scroll-margin-top: calc(var(--nav-h) + 24px); }
.program-guide-intro { max-width: 74ch; color: var(--body); }
.program-guide-links { margin: 14px 0 24px; padding-inline-start: 22px; color: var(--body); }
.program-guide-links li + li { margin-top: 8px; }
.program-guide-links a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* matched tutors */
.mini-tutors { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mini-tutor { display: grid; grid-template-columns: 132px 1fr; gap: 20px; padding: 16px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); transition: border-color .15s, transform .15s, box-shadow .2s; }
.mini-tutor:hover { border-color: var(--line-2); transform: translateY(-2px); box-shadow: 0 20px 40px -24px rgba(var(--ink-rgb),0.3); }
.mini-tutor img { width: 132px; height: 165px; object-fit: cover; object-position: center 30%; border-radius: 6px; }
.mini-tutor .role { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.mini-tutor h3 { font-size: 21px; margin-top: 6px; }
.mini-tutor p { font-size: 14px; color: var(--body); margin-top: 8px; }
.mini-tutor .mlink { margin-top: 12px; }
html[lang="ko"] .mini-tutor .role { letter-spacing: 0.04em; }

@media (max-width: 960px) { .pts, .mini-tutors { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  .lane { grid-template-columns: 120px minmax(560px, 1fr); }
  .mini-tutor { grid-template-columns: 96px 1fr; gap: 14px; }
  .mini-tutor img { width: 96px; height: 120px; }
  .comp-num { display: none; }
}
.cmp--6 { min-width: 980px; }
.cmp--6 thead th { font-size: 15px; padding: 18px 18px; }
.cmp--6 tbody th { width: 150px; }
.cmp--6 td { padding: 16px 18px; font-size: 14px; }
.bar--line { position: relative; justify-content: center; background: none; color: var(--accent); font-weight: 600; padding: 6px 0; }
.bar--line::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: repeating-linear-gradient(90deg, var(--accent) 0 8px, transparent 8px 14px); opacity: 0.45; }
.bar--line i { position: relative; font-style: normal; padding: 0 12px; background: var(--card); }
/* phones: keep row labels pinned while a wide table or calendar scrolls sideways */
@media (max-width: 720px) {
  .cmp tbody th, .cmp thead th.corner { position: sticky; left: 0; z-index: 1; width: 104px; min-width: 104px; padding-left: 14px; padding-right: 10px; box-shadow: 1px 0 0 var(--line); }
  .cmp thead th.corner { background: var(--dark); }
  .phase tbody th { position: sticky; left: 0; z-index: 1; background: var(--card); box-shadow: 1px 0 0 var(--line); width: 160px; white-space: normal; }
  .cal { padding: 16px 0 18px 14px; }
  .lane-l { position: sticky; left: 0; z-index: 1; background: var(--card); align-self: stretch; display: flex; align-items: center; font-size: 13px; padding-right: 8px; }
}

/* ---------- "+" toggles drawn with CSS so they sit dead centre (a text "+" rides the font baseline) ---------- */
.faq summary .plus, .profile summary .plus { position: relative; font-size: 0; line-height: 0; color: var(--dark); }
.faq summary .plus::before, .faq summary .plus::after, .profile summary .plus::before, .profile summary .plus::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; border-radius: 1px; background: currentColor; transform: translate(-50%, -50%); }
.faq summary .plus::after, .profile summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary .plus, .profile details[open] summary .plus { color: #fff; }

/* ---------- admissions timeline ---------- */
.adm-tl { border-radius: 16px; background: var(--card); border: 1px solid var(--line); padding: 22px 24px 26px; }
.tl-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.tl-pick .lbl { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-right: 8px; }
.tl-g { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 52px; padding: 8px 18px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); font: inherit; cursor: pointer; text-align: left; transition: border-color .15s, background .15s, color .15s; }
.tl-g b { font-size: 15px; font-weight: 600; line-height: 1.25; }
.tl-g small { font-size: 12px; color: var(--muted); line-height: 1.25; }
.tl-g:hover { border-color: var(--ink); }
.tl-g[aria-pressed="true"] { background: var(--dark); border-color: var(--dark); color: #fff; }
.tl-g[aria-pressed="true"] small { color: var(--on-dark); }
.tl { list-style: none; margin: 0; padding: 26px 0 4px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; }
.tl-item { position: relative; scroll-snap-align: start; padding: 30px 20px 20px; border-radius: 12px; background: var(--ground); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.tl-item[hidden] { display: none; }
.tl-item::before { content: ""; position: absolute; top: 14px; left: 20px; right: -16px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 11px); }
.tl-item:last-child::before { right: 20px; }
.tl-dot { position: absolute; top: 8px; left: 20px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid var(--line-2); z-index: 1; }
.tl-item.is-now { background: #fff; border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 20px 40px -26px rgba(var(--accent-rgb),0.45); }
.tl-item.is-now .tl-dot { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 4px rgba(var(--accent-rgb),0.18); }
.tl-when { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13px; }
.tl-when .w { font-weight: 600; color: var(--accent); }
.tl-when .g { color: var(--muted); }
.tl-when .now { display: none; margin-left: auto; padding: 2px 9px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: 0.04em; }
.tl-item.is-now .tl-when .now { display: inline-flex; }
.tl-item h4 { font-size: 17px; }
.tl-item ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.tl-item ul li { position: relative; padding-left: 16px; font-size: 13.5px; line-height: 1.5; color: var(--body); }
.tl-item ul li::before { content: ""; position: absolute; left: 2px; top: 0.6em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); opacity: 0.7; }
.tl-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.tl-chip { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; background: var(--dark); color: #fff; font-size: 12px; font-weight: 500; line-height: 1.3; }
.tl-badge { margin-top: auto; padding: 10px 12px; border-radius: 8px; background: var(--tint); border: 1px solid var(--tint-line); font-size: 13px; line-height: 1.45; color: var(--ink); }
.tl-badge b { display: block; font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 3px; }
html[lang="ko"] .tl-pick .lbl, html[lang="ko"] .tl-badge b { letter-spacing: 0.04em; }
@media (max-width: 720px) {
  .adm-tl { padding: 16px 0 18px 14px; }
  .tl-pick { padding-right: 14px; }
  .tl-pick .lbl { flex-basis: 100%; margin: 0 0 2px; }
  .tl-g { padding: 7px 12px; min-height: 48px; }
  .tl { grid-auto-columns: 82%; padding-right: 14px; }
}
.tl-when { padding-right: 52px; }
.tl-when .now { position: absolute; top: 26px; right: 16px; margin: 0; }
/* timeline: wrap cards in rows of four on desktop instead of clipping at the edge */
@media (min-width: 721px) {
  .tl { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; row-gap: 18px; }
  .tl-item::before { right: 20px; }
}
/* calendar bars: let short spans wrap instead of truncating */
.bar--prep, .bar--key { white-space: normal; line-height: 1.2; padding: 6px 10px; font-size: 12px; }
@media (max-width: 720px) {
  .tl-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .tl-pick .lbl { grid-column: 1 / -1; }
  .tl-g { width: 100%; }
}

/* school-year chart: centre every pill's label */
.cal .bar { justify-content: center; text-align: center; }

/* admissions hero: an application, as a reader moves through it */
.file-viz { margin: 0; padding: 22px 22px 20px; border-radius: 14px; background: rgba(var(--dark-rgb),0.6); border: 1px solid var(--glass-line); color: #fff; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6); }
.fv-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--glass-line); }
.fv-head .k { font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
.fv-head .tag { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-lt); padding: 4px 9px; border-radius: 999px; border: 1px solid rgba(var(--accent-lt-rgb),0.4); }
.fv-rows { list-style: none; margin: 0; padding: 6px 0 0; }
.fv-rows li { display: grid; grid-template-columns: 26px 1fr auto; grid-template-areas: "n l note" "n bar bar"; column-gap: 10px; row-gap: 7px; align-items: center; padding: 12px 0; border-bottom: 1px dashed var(--glass-line); }
.fv-n { grid-area: n; align-self: start; font-family: var(--mono); font-size: 11px; color: var(--on-dark-2); padding-top: 2px; }
.fv-l { grid-area: l; font-size: 14px; font-weight: 600; }
.fv-note { grid-area: note; font-size: 12.5px; color: var(--accent-lt); text-align: right; }
.fv-bar { grid-area: bar; height: 6px; border-radius: 3px; background: rgba(255,255,255,0.08); overflow: hidden; }
.fv-bar i { display: block; height: 100%; width: var(--w); border-radius: 3px; background: linear-gradient(90deg, rgba(var(--accent-lt-rgb),0.35), var(--accent-lt)); }
.fv-q { margin-top: 14px; font-size: 13.5px; line-height: 1.55; color: var(--on-dark); }
html[lang="ko"] .fv-head .tag { letter-spacing: 0.04em; }

/* competitions: more competitions */
.comp-chip--more { border-style: dashed; }
.ocs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.oc { display: flex; flex-direction: column; gap: 10px; padding: 24px 24px 22px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.oc h3 { font-size: 18px; margin-top: 6px; }
.oc p { font-size: 14px; color: var(--body); }
.oc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.oc-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 16px; padding: 22px 26px; border-radius: 12px; background: var(--tint); border: 1px solid var(--tint-line); }
.oc-cta h3 { font-size: 18px; }
.oc-cta p { font-size: 14.5px; color: var(--body); margin-top: 4px; }
@media (max-width: 960px) { .ocs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .ocs { grid-template-columns: 1fr; } }

/* ===== Hierarchy pass (Prestige reference, design A kept). Appended in ID order; critique corrections folded in. ===== */
/* P0-01 Korean: Pretendard for every glyph, heavy headings (keep-all re-declared so Hangul never splits mid-word) */
html[lang=ko] {
  --sans: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
  --display: var(--sans); --display-w: 700; --display-ls: -0.03em;
  --body: #323b4d; --muted: #566179;
}
html[lang=ko] body { font-family: var(--sans); font-size: 17px; line-height: 1.7; letter-spacing: -0.01em; word-break: keep-all; }
html[lang=ko] h1, html[lang=ko] h2 { font-weight: 700; letter-spacing: -0.03em; line-height: 1.2; text-wrap: balance; }
html[lang=ko] .hero h1 { font-weight: 800; }
html[lang=ko] h3, html[lang=ko] h4 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.35; }
html[lang=ko] :is(.eyebrow, .mlink, .chip, .card .role, .profile .role, .mini-tutor .role, .support-card .k, .hero-meta .t, .prog .top, .prog .go, .profile summary, .profile .plabel, .pfacts dt, .beyond-card .k, .rail-card .k, .notice .k, .subjects .grp, .tl-pick .lbl, .tl-badge b, .picker .lbl, .pick-opt .k, .phase thead th, .report-rows dt, .report-note .k, .report-head .tag, .comp-head .pill, .fv-head .tag, .cta-band .path, .done .recap .k, .pick-status, .footer-meta, .months span, .err-count, .field .opt, .sel .item a, .banner .k, .demo-tag, .report-who span, .proofbar-label, .pinst-label) { font-family: var(--sans); letter-spacing: 0; text-transform: none; }
html[lang=ko] :is(.card .role, .profile .role, .prog .top, .prog .go, .profile .plabel, .pfacts dt, .beyond-card .k, .rail-card .k, .notice .k, .tl-pick .lbl, .phase thead th, .report-rows dt, .report-note .k, .report-head .tag, .comp-head .pill, .fv-head .tag, .sel .item a, .banner .k) { font-size: 13px; font-weight: 600; }
html[lang=ko] .footer-meta { font-size: 12.5px; font-weight: 400; }
html[lang=ko] .months span { font-size: 12px; color: var(--muted); }

/* P0-02 Type scale: fewer tiers, further apart (section h2 capped so landing h1 stays ~1.3:1 above it) */
:root { --display-w: 700; --display-ls: -0.04em; }
h1, h2 { line-height: 1.06; }
.hero h1 { font-size: clamp(44px, 5.9vw, 76px); line-height: 1.08; }
.hero--landing h1 { font-size: clamp(40px, 5.3vw, 68px); max-width: 17ch; }
html[lang=ko] .hero h1 { font-size: clamp(38px, 5vw, 64px); line-height: 1.2; }
html[lang=ko] .hero--landing h1 { font-size: clamp(36px, 4.8vw, 60px); max-width: none; }
.hero .lead { font-size: 18px; max-width: 34em; }
html[lang=ko] .hero .lead { font-size: 18px; line-height: 1.7; max-width: 32em; }
.sec-head h2 { font-size: clamp(32px, 3.9vw, 50px); }
html[lang=ko] :is(.sec-head h2, .reports h2, .comp-head h2) { font-size: clamp(28px, 3.6vw, 46px); }
.sec-head .sub { font-size: 18px; line-height: 1.6; color: var(--body); }
.dark .sec-head .sub { color: var(--on-dark); }
:is(.card h3, .get h3, .mini-tutor h3) { font-size: 21px; }
html[lang=ko] :is(.card h3, .get h3, .mini-tutor h3) { font-size: 22px; }
:is(.topic h4, .pt h4) { font-size: 19px; }
:is(.card .desc, .get p, .support-card p, .topic p, .pt p, .beyond-card p, .prog .desc) { font-size: 15.5px; }
html[lang=ko] :is(.card .desc, .get p, .support-card p, .topic p, .pt p, .beyond-card p, .prog .desc, .facts li, .profile .bio, .profile .helps li, .pfacts dd, .ticks li) { font-size: 16px; line-height: 1.65; }
:is(.get p, .jstep p, .topic p, .step p) { color: var(--body); }
.btn { min-height: 50px; padding: 13px 24px; font-size: 15.5px; }
.hero .btn { min-height: 56px; padding: 15px 28px; font-size: 16.5px; }
html[lang=ko] .btn { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
html[lang=ko] .hero .btn { font-size: 17px; }
html[lang=ko] .nav-links a { font-size: 15px; font-weight: 600; }

/* P0-03 Section heads: one centred stack, one accent phrase */
.sec-head { display: block; text-align: center; border-top: 0; padding-top: 0; margin-bottom: clamp(40px, 4.6vw, 60px); }
.sec-head h2 { max-width: 22ch; margin: 16px auto 0; text-wrap: balance; }
html[lang=ko] .sec-head h2 { max-width: 13em; }
.sec-head h2 em { font-style: normal; color: var(--accent); }
.dark .sec-head h2 em { color: var(--accent-lt); }
.sec-head .sub { max-width: 600px; margin: 20px auto 0; justify-self: auto; text-wrap: balance; }

/* P0-04 Eyebrows: readable, no fake numbering; section eyebrows muted so the <em> is the head's only crimson */
.eyebrow { font-size: 12px; letter-spacing: 0.16em; }
html[lang=ko] .eyebrow { font-size: 14px; font-weight: 700; }
.sec-head .eyebrow, .team-intro .eyebrow, .cyc-copy .eyebrow, .reports .eyebrow { color: var(--muted); }
.dark .sec-head .eyebrow, .cyc-copy .eyebrow, .reports .eyebrow { color: var(--on-dark-2); }
.hero .eyebrow { display: inline-block; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(var(--accent-lt-rgb),0.6); background: rgba(var(--dark-rgb),0.5); color: #fff; text-shadow: none; }
html[lang=ko] .hero .eyebrow { font-size: 14px; font-weight: 600; }

/* P0-05 One unmistakable primary action */
.hero .btn-primary, .dark .btn-primary, .done .btn-primary { background: #fff; color: var(--accent); }
.hero .btn-primary:hover, .dark .btn-primary:hover, .done .btn-primary:hover { background: var(--tint); color: var(--accent-2); }
.hero .btn-outline { border-color: rgba(255,255,255,0.42); }
.nav-links .cta a { border-color: rgba(255,255,255,0.6); font-weight: 600; }
.nav.light .nav-links .cta a { background: var(--accent); border-color: var(--accent); color: #fff; }
.nav.light .nav-links .cta a:hover { background: var(--accent-hi); border-color: var(--accent-hi); color: #fff; }

/* P0-06 Home hero: one message, one action (overlay + glow changes scoped to the home hero only) */
.hero:not(.hero--landing) h1 em { display: inline-block; margin-top: 0.06em; padding: 0.02em 0.16em 0.08em; border-radius: var(--r); background: var(--accent-hi); color: #fff; line-height: 1.04; text-shadow: none; }
.hero--landing h1 em { color: var(--accent-photo); }
#hero.hero--photo:not(.hero--landing)::before { display: none; }
@media (min-width: 721px) {
  #hero.hero--photo:not(.hero--landing) { background-image:
    linear-gradient(90deg, rgba(var(--dark-rgb),calc(0.9 * var(--shade, 1))) 0%, rgba(var(--dark-rgb),calc(0.74 * var(--shade, 1))) 42%, rgba(var(--dark-rgb),calc(0.48 * var(--shade, 1))) 72%, rgba(var(--dark-rgb),calc(0.38 * var(--shade, 1))) 100%),
    linear-gradient(0deg, rgba(var(--dark-rgb),0.78) 0%, rgba(var(--dark-rgb),0) 34%),
    linear-gradient(180deg, rgba(var(--dark-rgb),0.6) 0%, rgba(var(--dark-rgb),0) 26%),
    var(--photo); }
}
.hero-actions { margin-top: 36px; }

/* P0-07 Proof bar (replaces the ribbon): two attributed figures + a plain-text institution row (no logos) */
.proofbar { background: var(--dark); color: #fff; border-top: 1px solid var(--glass-line); }
.proofbar-label { padding-top: 30px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-2); }
html[lang=ko] .proofbar-label { font-size: 14px; font-weight: 700; }
.proofbar-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.5fr); }
.pstat, .pinst { padding: 22px 28px 36px; border-left: 1px solid var(--glass-line); }
.pstat:first-child { border-left: 0; padding-left: 0; }
.pstat > b { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(36px, 4vw, 52px); line-height: 1; letter-spacing: -0.035em; color: #fff; font-variant-numeric: tabular-nums; }
.pstat > b i { font-style: normal; font-size: 0.6em; margin-left: 2px; letter-spacing: -0.01em; color: var(--accent-lt); }
.pstat > span { display: block; margin-top: 12px; max-width: 30ch; font-size: 14.5px; line-height: 1.5; color: var(--on-dark); }
.pstat span b { font-weight: 600; color: #fff; white-space: nowrap; }
html[lang=ko] .pstat > span { font-size: 15px; }
.pinst-label { display: block; font-size: 14.5px; line-height: 1.5; color: var(--on-dark); }
html[lang=ko] .pinst-label { font-size: 15px; }
.pinst-names { margin: 12px 0 0 -1.1em; clip-path: inset(0 0 0 1.1em); display: flex; flex-wrap: wrap; gap: 6px 0; font-size: clamp(18px, 1.7vw, 22px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.35; color: #fff; }
.pinst-names span { white-space: nowrap; }
.pinst-names span::before { content: "·"; display: inline-block; width: 1.1em; text-align: center; color: var(--on-dark-2); font-weight: 400; } /* the shift + clip hides the dot that starts each wrapped row */
.proofbar--compact .proofbar-label { padding-top: 24px; }
.proofbar--compact :is(.pstat, .pinst) { padding-top: 16px; padding-bottom: 28px; }
.proofbar--compact .pstat > b { font-size: clamp(32px, 3.4vw, 44px); }
@media (max-width: 960px) {
  .proofbar-grid { grid-template-columns: 1fr 1fr; }
  .pstat, .pinst { padding: 18px 0 24px 20px; }
  .pstat:first-child { padding-left: 0; }
  .pinst { grid-column: 1 / -1; border-left: 0; padding-left: 0; border-top: 1px solid var(--glass-line); padding-top: 20px; }
}

/* P0-08 Expert cards: credential reads as the proof */
.experts .card .photo { aspect-ratio: 1 / 1; }
.card h3 { font-weight: 700; }
.card .meta { font-size: 16.5px; font-weight: 600; color: var(--ink); line-height: 1.45; }
.card .role { color: var(--muted); }

/* P0-09 Path cards: one featured, three tiers */
.support-card { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.14); padding: 28px 26px 24px; gap: 14px; }
.support-card h3 { font-size: 22px; font-weight: 700; }
.support-card:first-child { background: rgba(var(--accent-lt-rgb),0.12); border-color: rgba(var(--accent-lt-rgb),0.6); }
.support-card:first-child .card-ico { background: var(--accent); box-shadow: none; }

/* P0-10 Steps: centred tabs, one highlighted step (ring margin kept inside the desktop query) */
.sec-head .tabs { margin-top: 28px; }
.tab { min-height: 48px; padding: 10px 24px; font-size: 16px; font-weight: 600; color: var(--muted); }
.tab[aria-selected=true] { background: #fff; color: var(--accent); box-shadow: 0 0 0 1px var(--tint-line), 0 6px 16px -10px rgba(var(--accent-rgb),0.45); }
.panel .note { margin-left: auto; margin-right: auto; justify-content: center; text-align: center; }
.jstep .ring { background: var(--line-2); }
.jstep .ring::before { inset: 2px; box-shadow: none; }
.jstep .ring::after { display: none; }
.jstep .ico { color: var(--ink); }
.jstep:first-child .ring, .jstep:first-child .ring::before { background: var(--accent); }
.jstep:first-child .ring { box-shadow: 0 0 0 6px var(--tint); }
.jstep:first-child .ico, .jstep:first-child .jn { color: #fff; }
.jstep h4 { font-size: 19px; font-weight: 700; }
.jstep p { font-size: 15px; }
@media (min-width: 721px) {
  .jstep .ring { width: 112px; height: 112px; margin-bottom: 20px; }
  .jstep .jn { bottom: 15px; }
  .jstep:not(:last-child)::after { top: 56px; left: calc(50% + 72px); right: calc(-50% + 72px - 24px); }
  .jstep:not(:last-child)::before { top: 51px; right: calc(-50% + 72px - 24px); }
}

/* P0-11 Closing CTA band: centred, button in the reading path */
.cta-band .inner { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 26px; }
.cta-band h2 { font-size: clamp(32px, 4vw, 52px); max-width: 20ch; margin-left: auto; margin-right: auto; text-wrap: balance; }
html[lang=ko] .cta-band h2 { font-size: clamp(28px, 3.6vw, 46px); max-width: 16em; }
.cta-band .sub { margin-left: auto; margin-right: auto; max-width: 560px; font-size: 17.5px; color: rgba(255,255,255,0.86); }
.cta-band .actions { justify-content: center; }
.cta-band .btn-primary { min-height: 58px; padding: 16px 34px; font-size: 17px; font-weight: 700; box-shadow: 0 14px 30px -14px rgba(0,0,0,0.5); }
html[lang=ko] .cta-band .btn-primary { font-size: 17px; }
.cta-band .path { margin-top: 0; font-family: var(--sans); font-size: 14px; letter-spacing: 0; text-transform: none; color: rgba(255,255,255,0.72); }

/* P0-12 Section bands */
.section--soft { background: var(--soft); margin-top: clamp(64px, 8vw, 112px); padding-bottom: clamp(64px, 8vw, 112px); }
.support + .section--soft, .section--soft + .cta-band, .section--soft + .support { margin-top: 0; }
.section--soft .get-art { background: #fff; box-shadow: inset 0 0 0 1px var(--line), 0 18px 40px -28px rgba(var(--ink-rgb),0.3); }
.get h3 { font-size: 22px; font-weight: 700; }

/* P1-13 Links readable, labels quiet */
.mlink { font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: -0.01em; text-transform: none; }
.chip { font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ink); background: #fff; padding: 5px 12px; }
:is(.profile .role, .beyond-card .k, .profile .plabel, .pfacts dt, .prog .top .type) { color: var(--muted); }
:is(.card .role, .profile .role, .beyond-card .k, .profile .plabel, .pfacts dt) { font-size: 11px; }
.topic::before { color: var(--muted); }
.profile summary { font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: -0.01em; text-transform: none; color: var(--ink); }

/* P1-14 Landing heroes: quiet side panels, readable proof line */
.hero-meta { margin-top: 30px; padding-top: 0; border-top: 0; }
.hero-meta .t { font-family: var(--sans); font-size: 14.5px; font-weight: 500; letter-spacing: 0; text-transform: none; color: rgba(255,255,255,0.8); }
.file-viz { background: rgba(var(--dark-rgb),0.72); }
.fv-bar i { background: rgba(255,255,255,0.34); }
.fv-note { color: var(--on-dark-2); }
.fv-head .tag { color: var(--on-dark); border-color: var(--glass-line); }
.hero--photo .picker { background: rgba(var(--dark-rgb),0.72); }
.pick-opt.pick-sm { align-items: center; justify-content: center; text-align: center; min-height: 64px; }
.comp-chip { background: rgba(var(--dark-rgb),0.75); }
.comp-chip:hover { background: rgba(var(--dark-rgb),0.85); }

/* P1-15 Profiles: proof is the headline */
@media (min-width: 721px) { .profile { grid-template-columns: 220px 1fr; gap: 32px; padding: 24px; } }
.profile h3 { font-weight: 700; }
.profile .meta { font-size: 17px; font-weight: 600; color: var(--ink); line-height: 1.45; }
.profile .meta .proof { display: block; margin-top: 6px; font-size: 15px; font-weight: 600; color: var(--accent); }
.mini-tutor .role { font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: -0.01em; text-transform: none; color: var(--ink); }
.pick-status { justify-content: center; font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--ink); }
.pick-status .clear { padding: 6px 14px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink); }

/* P1-16 FAQ: card rows, Q marker (muted; crimson only on the open question) */
.faq { border-top: 0; display: grid; gap: 10px; }
.faq--wide { max-width: 880px; margin-left: auto; margin-right: auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 24px; }
.faq details[open] { border-color: var(--line-2); box-shadow: 0 16px 36px -26px rgba(var(--ink-rgb),0.35); }
.faq summary { padding: 22px 0; grid-template-columns: 28px 1fr 28px; font-size: 18px; font-weight: 600; }
.faq summary .n { font-size: 0; letter-spacing: 0; }
.faq summary .n::before { content: 'Q'; font-family: var(--sans); font-size: 18px; font-weight: 700; color: var(--muted); }
.faq details[open] summary .n::before { color: var(--accent); }
.faq .a { padding: 0 8px 22px 40px; font-size: 16px; }

/* P1-17 needs no CSS beyond P0-12 (templates only) */

/* P2-18 Tables point at one row (phone sticky separator kept) */
.cmp tr.key > * { background: var(--tint); }
.cmp tr.key th { color: var(--accent); box-shadow: inset 3px 0 0 var(--accent), 1px 0 0 var(--line); }
.cmp tr.key td { color: var(--ink); font-size: 15.5px; }
.sub-h { margin: 64px 0 18px; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.phase td.fmt { color: var(--body); font-weight: 500; }
.phase tbody th { font-size: 15px; font-weight: 700; }
.st-n { width: 24px; height: 24px; border: 0; background: var(--dark); color: #fff; font-size: 12px; }

/* P2-19 Timeline: 'Now' is the only highlight (chips neutral) */
.tl-chip { background: var(--soft); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); font-weight: 600; }
.tl-when .w { color: var(--ink); }
.tl-item ul li::before { background: var(--line-2); opacity: 1; }
.tl-item h4 { font-size: 18px; font-weight: 700; }

/* P2-20 Team-cycle: diagram supports, heading leads */
.cyc .cyc-node { fill: rgba(255,255,255,0.1); stroke: rgba(255,255,255,0.55); stroke-width: 1.5; }
.cyc .cyc-name { fill: #fff; }
.cyc .cyc-halo { fill: rgba(255,255,255,0.04); stroke: rgba(255,255,255,0.12); }
.cyc text { font-size: 19px; }
.cyc-copy h2 { font-size: clamp(32px, 3.8vw, 48px); }
html[lang=ko] .cyc-copy h2 { font-size: clamp(28px, 3.5vw, 44px); }
.cyc-copy p { font-size: 16.5px; }

/* P2-21 Team intro (facts tick in ink, not crimson) */
.team-intro h2 { font-size: clamp(30px, 3.2vw, 40px); max-width: 22ch; text-wrap: balance; }
html[lang=ko] .team-intro h2 { font-size: clamp(28px, 3.2vw, 40px); max-width: 11em; }
.facts li { font-size: 15.5px; color: var(--ink); }
.facts li::before { content: '✓'; font-family: var(--sans); font-size: 15px; font-weight: 700; letter-spacing: 0; color: var(--ink); }

/* Addition (a): Korean section, band and banner titles at ExtraBold, like Prestige's section heads */
html[lang=ko] :is(.sec-head h2, .cta-band h2, .comp-head h2) { font-weight: 800; }

/* Addition (e): phone-only primary action, shown once the nav turns light (the menu list is collapsed on phones) */
.nav-cta-sm { display: none; }
@media (max-width: 720px) {
  .nav.light .nav-cta-sm { display: inline-flex; align-items: center; min-height: 36px; padding: 0 10px; border-radius: 5px; background: var(--accent); color: #fff; font-size: 13.5px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
  .nav.light .nav-cta-sm:hover { background: var(--accent-hi); }
  /* room for it at 360px: the collapsed <nav> no longer costs two flex gaps, and the right-hand controls get tighter */
  .nav > .wrap { gap: 0; }
  .nav-right { margin-left: 8px; gap: 6px; }
  .lang-switch { padding: 8px 7px; }
  .menu-btn { padding: 8px 11px; font-size: 14.5px; }
  .wordmark { font-size: 17px; gap: 8px; }
}
@media (max-width: 359px) { .nav.light .nav-right .lang-switch { display: none; } }

/* ===== Review fixes (hierarchy pass, round 2) ===== */
/* expert cards: reserve two credential lines on the 3-column layout so dividers and descriptions line up */
@media (min-width: 961px) { .experts .card .meta { min-height: calc(2 * 1.45em); } }
/* timeline grade picker: same selected state as the P0-10 tabs, so the 'Now' card stays the focal point */
.tl-g[aria-pressed="true"] { background: #fff; color: var(--accent); border-color: var(--tint-line); box-shadow: 0 0 0 1px var(--tint-line), 0 6px 16px -10px rgba(var(--accent-rgb),0.45); }
.tl-g[aria-pressed="true"] small { color: var(--muted); }
html[lang=ko] .tl-when .now { letter-spacing: 0; font-size: 12px; }
/* comparison tables: light header like the .phase tables; the key row is the strongest row */
.cmp thead th, .cmp thead th.corner { background: var(--soft); color: var(--ink); font-weight: 700; box-shadow: inset 0 -2px 0 var(--ink); }
.cmp tr.key > * { background: var(--tint-2); }
.cmp tr.key th { background: var(--tint-3); }
/* per-officer / per-tutor request: secondary action (the filled primary stays in the nav) */
.profile .btn-dark { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.profile .btn-dark:hover { background: var(--ink); color: #fff; }
/* tutoring card titles back inside the type scale */
.prog .name { font-size: 30px; }
.beyond-card h3 { font-size: 24px; text-wrap: balance; }
.ticks li::before { color: var(--ink); }
/* request: success label readable on the dark panel; labels muted, crimson kept for actions */
.done .eyebrow { color: var(--accent-lt); }
.form-head .eyebrow, .rail-card .k, .steps-mini li::before { color: var(--muted); }
.form-head h1 { text-wrap: balance; }
/* KO tutoring picker question */
html[lang=ko] .picker .lbl { font-size: 13px; font-weight: 600; color: var(--on-dark); }
/* tutoring reports band: one accent, KO weight in line with the other section titles */
.reports h2 em { font-style: normal; color: var(--accent-lt); }
html[lang=ko] :is(.reports h2, .cyc-copy h2, .team-intro h2) { font-weight: 800; }
/* home paths: featured card gets a luminance step, not only a hue */
.support-card:first-child { background: rgba(var(--accent-lt-rgb),0.24); border: 2px solid var(--accent-lt); }
/* competitions phase tables: wrapped stage names hang under the label, not under the disc */
.phase tbody th { padding-left: calc(22px + 34px); text-indent: -34px; }
.st-n { text-indent: 0; }
/* accent phrase on dark bands: the lighter crimson tint narrows the luminance gap */
.dark .sec-head h2 em { color: var(--accent-photo); }
/* home: muted illustration art so the heading's accent stays the single crimson; tighter facts list */
.section--soft .get-art img { filter: saturate(0.55); }
.facts li { grid-template-columns: 22px 1fr; text-wrap: pretty; }
.cyc-legend { margin-bottom: 18px; }
/* footnotes follow the centred stacks they sit under */
#how .note, #tutors .note--strong { margin-left: auto; margin-right: auto; justify-content: center; text-align: center; }
/* competitions: no pastel marker highlights, no ornamental index numbers, no gold */
.pt mark { background: none; color: var(--ink); font-weight: 600; padding: 0; }
.comp-num { display: none; }
.comp-head .quote { color: rgba(255,255,255,0.9); }
.bar--key { background: #fff; color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); font-weight: 700; }
/* phone nav: never two filled CTAs at once */
.nav:has(#navLinks.open) .nav-cta-sm { visibility: hidden; }
@media (max-width: 960px) { .pstat:first-child { padding-right: 16px; } }
/* tutoring: 'Show all' only once a program is picked */
body:not(:has([data-option][aria-pressed="true"])) .pick-status .clear { display: none; }

/* the longer wordmark tag stays on one line, and gives way before it squeezes the nav */
.wordmark .tag { white-space: nowrap; }
@media (max-width: 1100px) { .wordmark .tag { display: none; } }
/* tutoring picker: a pick with no public profile already shows everyone, so no 'Show all' beside it */
.pick-status.no-match .clear { display: none; }

/* ===== Home: simplified light hero (one message, one button) → university band → experts carousel ===== */
/* hero: full-bleed campus photo under a navy gradient (darker in the middle and at the bottom so white text stays crisp), centred copy, one button */
#hero.hero--campus { color: #fff; background-color: var(--dark);
  background-image:
    radial-gradient(ellipse 46% 50% at 50% 50%, rgba(var(--dark-rgb),0.5) 0%, rgba(var(--dark-rgb),0.18) 60%, rgba(var(--dark-rgb),0) 80%),
    linear-gradient(180deg, rgba(var(--dark-rgb),0.55) 0%, rgba(var(--dark-rgb),0.26) 30%, rgba(var(--dark-rgb),0.34) 70%, rgba(var(--dark-rgb),0.72) 100%),
    var(--photo);
  background-size: cover, cover, cover; background-position: center, center, center 40%; background-repeat: no-repeat;
  display: flex; align-items: center; min-height: clamp(560px, 80svh, 760px);
  padding: calc(var(--nav-h) + clamp(48px, 6vw, 84px)) 0 clamp(56px, 6vw, 88px); }
#hero.hero--campus::before, #hero.hero--campus::after { display: none; }
#hero.hero--campus :focus-visible { outline-color: #fff; }
.hero-center { width: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; }
#hero.hero--campus .eyebrow { display: inline-block; padding: 7px 16px 7px 13px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.26); background: rgba(255,255,255,0.1); text-shadow: none;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-family: var(--sans); font-size: 13.5px; font-weight: 500; letter-spacing: 0; text-transform: none; color: #fff; }
#hero.hero--campus .eyebrow::before { content: ""; display: inline-block; vertical-align: middle; margin: -2px 10px 0 0; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-lt); box-shadow: 0 0 0 3px rgba(var(--accent-lt-rgb),0.25); }
html[lang=ko] #hero.hero--campus .eyebrow { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
#hero.hero--campus h1 { margin: 28px auto 0; max-width: none; color: #fff; text-shadow: 0 2px 24px rgba(var(--dark-rgb),0.45); text-wrap: balance;
  font-size: clamp(40px, 5.2vw, 70px); font-weight: 600; line-height: 1.06; letter-spacing: -0.045em; }
html[lang=ko] #hero.hero--campus h1 { font-size: clamp(36px, 4.9vw, 64px); font-weight: 700; line-height: 1.24; letter-spacing: -0.045em; }
#hero.hero--campus h1 em { display: inline; margin: 0; padding: 0; border-radius: 0; background: none; color: #ef5b74; font-style: normal; line-height: inherit; text-shadow: 0 2px 22px rgba(var(--dark-rgb),0.6); }
html[lang=ko] #hero.hero--campus h1 em { white-space: nowrap; }
.hero-sub { margin-top: 24px; font-size: clamp(16.5px, 1.45vw, 19px); line-height: 1.5; color: rgba(255,255,255,0.86); letter-spacing: -0.01em; text-shadow: 0 1px 12px rgba(var(--dark-rgb),0.5); }
.hero-sub .sep { display: inline-block; width: 4px; height: 4px; margin: 0 0.9em; border-radius: 50%; background: rgba(255,255,255,0.55); vertical-align: middle; overflow: hidden; color: transparent; }
#hero.hero--campus .hero-btn { margin-top: 36px; min-height: 56px; padding: 15px 30px 15px 34px; gap: 12px; border-radius: 12px; background: var(--accent); color: #fff; font-size: 17px; font-weight: 600; letter-spacing: -0.01em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 14px 30px -12px rgba(0,0,0,0.55); transition: background .15s, box-shadow .2s, transform .15s; }
#hero.hero--campus .hero-btn:hover { background: var(--accent-hi); color: #fff; transform: translateY(-1px); }
#hero.hero--campus .hero-btn .arr { font-family: var(--sans); font-size: 1em; opacity: .85; }
#hero.hero--campus .hero-btn:hover .arr { transform: translateY(2px); }
html[lang=ko] #hero.hero--campus .hero-btn { font-size: 17px; font-weight: 700; }


/* experts: left-aligned head with round arrows; a scroll-snap row that bleeds off the right edge */
.xsec { padding-top: clamp(48px, 5.2vw, 72px); }
#experts { scroll-margin-top: var(--nav-h); }
.xhead { --xh2: clamp(28px, 2.95vw, 38px); --xlh: 1.12; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 3vw, 40px); }
html[lang=ko] .xhead { --xh2: clamp(26px, 2.8vw, 36px); --xlh: 1.3; }
.xhead .eyebrow { display: block; line-height: 17px; color: var(--muted); }
.xhead h2 .nw { white-space: nowrap; }
.xhead h2 { margin-top: 14px; max-width: 19em; font-size: var(--xh2); line-height: var(--xlh); text-wrap: wrap; }
html[lang=ko] .xhead h2 { max-width: 17em; font-weight: 800; text-wrap: wrap; }
.xnav { display: flex; gap: 12px; flex: none; margin-top: calc(var(--xeh, 17px) + 14px + (var(--xh2) * var(--xlh) - 46px) / 2); }
.xbtn { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; box-shadow: 0 1px 2px rgba(var(--ink-rgb),0.05); transition: border-color .15s, background .15s, color .15s, opacity .15s; }
.xbtn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.xbtn:hover { background: var(--ink); border-color: var(--ink); color: var(--ground); }
.xbtn[aria-disabled="true"] { opacity: 0.35; cursor: default; box-shadow: none; }
.xbtn[aria-disabled="true"]:hover { background: var(--card); border-color: var(--line); color: var(--ink); }
/* cards: rounded, hairline border, soft lift on hover; the role is a small chip (tutor = neutral, admissions officer = accent tint) */
.xcard:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--line-2), 0 24px 44px -24px rgba(var(--ink-rgb),0.28); }
.xcard .photo { aspect-ratio: 1 / 1; margin-bottom: 18px; border-radius: 12px; }
.xcard .role { align-self: flex-start; margin: 0 8px; padding: 4px 10px; border-radius: 999px; background: var(--soft); color: var(--body);
  font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; line-height: 1.4; }
.xcard.is-ao .role { background: var(--tint); color: var(--accent); }
html[lang=ko] .xcard .role { font-size: 12.5px; }
.xcard h3 { margin-top: 12px; padding: 0 8px; font-size: 22px; letter-spacing: -0.03em; }
.xcard .meta { margin-top: 6px; padding: 0 8px 14px; font-size: 15px; font-weight: 500; line-height: 1.45; color: var(--body); min-height: calc(2 * 1.45em + 14px); border-bottom: 1px solid var(--line); }
.xcard .proof { margin-top: 14px; padding: 0 8px; font-size: 14.5px; font-weight: 600; line-height: 1.45; color: var(--accent); }
.xcard .desc { margin-top: 8px; padding: 0 8px; font-size: 15px; line-height: 1.55; color: var(--muted); }
html[lang=ko] .xcard .desc { font-size: 15px; line-height: 1.65; }
.xcard .mlink { margin-top: auto; padding: 18px 8px 0; font-size: 14.5px; color: var(--ink); }
.xcard .mlink:hover { color: var(--accent); }
@media (min-width: 721px) {
  .xcard .meta { font-size: 14px; }
}
/* narrower desktop cards: the longest credential line can take three lines, so every card keeps the red proof line level */
@media (min-width: 721px) and (max-width: 1279px) { .xcard .meta { min-height: calc(3 * 1.45em + 14px); } }
@media (max-width: 1130px) {
}
@media (max-width: 720px) {
  #hero.hero--campus { min-height: 0; padding: calc(var(--nav-h) + 56px) 0 56px;
    background-image:
      linear-gradient(180deg, rgba(var(--dark-rgb),0.66) 0%, rgba(var(--dark-rgb),0.5) 40%, rgba(var(--dark-rgb),0.6) 75%, rgba(var(--dark-rgb),0.85) 100%),
      var(--photo-sm);
    background-size: cover, cover; background-position: center, center 40%; }
  #hero.hero--campus .eyebrow { font-size: 12.5px; padding: 6px 13px 6px 11px; }
  #hero.hero--campus .eyebrow::before { margin-right: 8px; }
  html[lang=ko] #hero.hero--campus .eyebrow { font-size: 13px; }
  #hero.hero--campus h1 { margin-top: 22px; font-size: clamp(30px, 8.8vw, 40px); line-height: 1.1; letter-spacing: -0.04em; }
  html[lang=ko] #hero.hero--campus h1 { font-size: clamp(29px, 8.4vw, 36px); line-height: 1.3; }
  .hero-sub { margin-top: 18px; font-size: 15.5px; }
  .hero-sub .sep { display: block; width: 0; height: 0; margin: 0; }
  #hero.hero--campus .hero-btn { margin-top: 28px; min-height: 54px; padding: 14px 28px 14px 30px; font-size: 16px; }
  html[lang=ko] #hero.hero--campus .hero-btn { font-size: 16px; }
  .xhead { margin-bottom: 22px; }
  .xhead h2 { font-size: clamp(26px, 7.2vw, 32px); }
  html[lang=ko] .xhead h2 { font-size: 26px; text-wrap: balance; }
  .xnav { display: none; }
  .xhead .xbr { display: none; }
  .xhead h2 { text-wrap: balance; }
}

/* short desktop windows (e.g. 1280×800, 1366×768 laptops): tighten the hero so the university names stay in the first screen */
@media (min-width: 721px) and (max-height: 860px) {
  #hero.hero--campus { min-height: calc(100svh - 176px); padding-top: calc(var(--nav-h) + clamp(28px, 5vh, 48px)); padding-bottom: 36px; }
  #hero.hero--campus h1 { margin-top: 24px; font-size: clamp(40px, min(5.2vw, 7.6vh), 70px); }
  html[lang=ko] #hero.hero--campus h1 { font-size: clamp(36px, min(4.9vw, 7.2vh), 64px); }
  .hero-sub { margin-top: 20px; }
  #hero.hero--campus .hero-btn { margin-top: 30px; }
}
@media (max-width: 400px) {
}
/* very small phones: the centred button stays left of the chat buttons; the Korean second line stays whole */
@media (max-width: 351px) {
  #hero.hero--campus .hero-btn { padding-left: 22px; padding-right: 22px; gap: 10px; font-size: 15.5px; }
  html[lang=ko] #hero.hero--campus .hero-btn { font-size: 15.5px; }
  html[lang=ko] #hero.hero--campus h1 { font-size: clamp(25px, 8vw, 36px); }
}

/* ===== University row: one scrolling row of name tiles, each tagged tutor / former admissions officer. No official logos. ===== */
.uniband { background: var(--ground); padding: 16px 0; border-bottom: 1px solid var(--line); }
.unirow { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: center; gap: 24px; }
.uni-label { margin: 0; font-family: var(--sans); font-size: 12px; font-weight: 600; line-height: 1.45; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); text-wrap: balance; }
html[lang=ko] .uni-label { font-size: 14px; font-weight: 700; letter-spacing: -0.01em; text-transform: none; color: var(--ink); }
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); }
.marquee-track { display: flex; width: max-content; }
.marquee.is-on .marquee-track { animation: uni-marquee var(--dur, 30s) linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes uni-marquee { to { transform: translateX(-50%); } }
.uni-set { display: flex; flex: none; gap: 12px; padding-right: 12px; }
.marquee:not(.is-on) { -webkit-mask-image: none; mask-image: none; }
.marquee:not(.is-on) .marquee-track { width: auto; }
.marquee:not(.is-on) .uni-set { flex-wrap: wrap; flex: 1; padding: 0; row-gap: 8px; }
.uni-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 12px; flex: none; }
.marquee:not(.is-on) .uni-list { flex-wrap: wrap; }
.uni-set, .uni-list { gap: 44px; }
.uni-set { padding-right: 44px; }
.uni-list li { display: flex; align-items: center; gap: 12px; height: 60px; }
.uni-list li img { display: block; width: auto; height: 46px; }
.uni-list li span { font-family: 'Instrument Serif', Georgia, 'Times New Roman', serif; font-size: 20px; font-weight: 400; line-height: 1.1; letter-spacing: 0.005em; color: var(--ink); white-space: nowrap; }
@media (max-width: 720px) {
  .uniband { padding: 14px 0 16px; }
  .unirow { grid-template-columns: 1fr; gap: 10px; padding: 0; }
  .uni-label { padding: 0 var(--gutter); text-align: center; }
  .uni-set, .uni-list { gap: 30px; }
  .uni-set { padding-right: 30px; }
  .uni-list li { height: 50px; gap: 10px; }
  .uni-list li img { height: 38px; }
  .uni-list li span { font-size: 17.5px; }
  .marquee:not(.is-on) .uni-set { justify-content: center; padding: 0 var(--gutter); }
}

/* ===== Experts: centred looping carousel — three larger cards per view, the middle one in focus; advances on its own ===== */
.xcar { position: relative; overflow: hidden; margin: 0 -14px -22px; padding: 10px 14px 40px; touch-action: pan-y; }
.xcar:not(.is-on) { overflow-x: auto; scrollbar-width: none; }
.xlist { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; width: max-content; transition: transform .7s cubic-bezier(.22,.61,.36,1); will-change: transform; }
.xcar.no-anim .xlist, .xcar.no-anim .xcard { transition: none !important; }
.xcard { flex: none; width: var(--cw, 320px); gap: 0; padding: 12px 12px 24px; border-radius: 20px; background: var(--card);
  box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(var(--ink-rgb),0.04); transition: box-shadow .5s, transform .6s cubic-bezier(.22,.61,.36,1), opacity .5s; }
.xcar.is-on .xcard { opacity: .5; transform: scale(.94); cursor: pointer; }
.xcar.is-on .xcard:not(.is-center):hover { opacity: .75; transform: scale(.94); }
.xcar.is-on .xcard.is-center, .xcar.is-on .xcard.is-center:hover { opacity: 1; transform: none; cursor: auto; box-shadow: 0 0 0 1px var(--line-2), 0 30px 60px -30px rgba(var(--ink-rgb),0.35); }
.xcard .photo { aspect-ratio: 5 / 4; margin-bottom: 20px; border-radius: 14px; }
.xcard .photo.has-img img { object-position: center 28%; }
.xcard .role { margin: 0 10px; font-size: 12.5px; }
html[lang=ko] .xcard .role { font-size: 13px; }
.xcard h3 { margin-top: 14px; padding: 0 10px; font-size: 26px; }
.xcard .meta { margin-top: 6px; padding: 0 10px 16px; font-size: 15.5px; min-height: calc(2 * 1.45em + 16px); }
.xcard .proof { margin-top: 16px; padding: 0 10px; font-size: 15.5px; }
.xcard .desc { margin-top: 8px; padding: 0 10px; font-size: 16px; }
html[lang=ko] .xcard .desc { font-size: 16px; }
.xcard .mlink { padding: 20px 10px 0; font-size: 15px; }
@media (min-width: 721px) and (max-width: 1279px) { .xcard .meta { min-height: calc(3 * 1.45em + 16px); } }
.xdots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.xdot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: var(--line-2); cursor: pointer; transition: width .3s, background .3s; }
.xdot[aria-current="true"] { width: 26px; background: var(--accent); }
.xdot:hover { background: var(--muted-2); }
.xdot[aria-current="true"]:hover { background: var(--accent); }
@media (max-width: 720px) {
  .xcar { margin: 0 calc(-1 * var(--gutter)); padding: 8px 0 14px; }
  .xlist { gap: 14px; }
  .xcard { padding: 10px 10px 20px; border-radius: 18px; }
  .xcar.is-on .xcard { transform: scale(.96); }
  .xcard h3 { font-size: 23px; }
  .xcard .meta { font-size: 15px; }
  .xcard .proof, .xcard .desc { font-size: 15px; }
  .xnav { display: none; }
}

/* ===== Floating header: the bar itself is transparent; the row inside is a rounded glass panel just below the top edge ===== */
:root { --nav-h: 76px; }
.nav, .nav.light { padding: 12px 16px 0; background: transparent; border-bottom: 0; backdrop-filter: none; -webkit-backdrop-filter: none; pointer-events: none; }
.nav > .wrap, .nav .lang-banner { pointer-events: auto; }
.nav > .wrap { position: relative; max-width: var(--max); min-height: 62px; padding: 0 10px 0 22px; border-radius: 18px;
  background: rgba(var(--dark-rgb),0.42); border: 1px solid rgba(255,255,255,0.16); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px);
  box-shadow: 0 14px 34px -16px rgba(0,0,0,0.5); transition: background .25s, border-color .25s, box-shadow .25s; }
.nav.light > .wrap { background: rgba(255,255,255,0.82); border-color: rgba(var(--ink-rgb),0.08); box-shadow: 0 1px 2px rgba(var(--ink-rgb),0.05), 0 16px 36px -18px rgba(var(--ink-rgb),0.3); }
.nav-links a, .lang-switch, .menu-btn { border-radius: 10px; }
.nav-links .cta a { border-radius: 11px; }
.nav .lang-banner { max-width: var(--max); margin: 8px auto 0; border: 1px solid var(--tint-line); border-radius: 14px; box-shadow: 0 10px 24px -16px rgba(var(--ink-rgb),0.3); }
.nav .lang-banner .wrap { padding-left: 22px; padding-right: 10px; }
@media (max-width: 720px) {
  .nav-links { top: calc(100% + 8px); border-radius: 16px; border: 1px solid rgba(255,255,255,0.14); box-shadow: 0 20px 40px -20px rgba(0,0,0,0.5); }
  .nav.light .nav-links { background: var(--card); border: 1px solid var(--line); }
  :root { --nav-h: 66px; }
  .nav, .nav.light { padding: 8px 10px 0; }
  .nav > .wrap { min-height: 56px; padding: 0 8px 0 16px; border-radius: 16px; }
  .nav .lang-banner .wrap { padding-left: 16px; padding-right: 6px; }
}

/* expert cards a touch smaller: capped width on desktop (the next cards peek in at the edges), shorter photo, one step down in type */
.xcard .photo { aspect-ratio: 4 / 3; margin-bottom: 18px; }
.xcard h3 { font-size: 23px; margin-top: 12px; }
.xcard .meta { font-size: 14.5px; }
.xcard .proof { margin-top: 14px; font-size: 14.5px; }
.xcard .desc, html[lang=ko] .xcard .desc { font-size: 15px; }
.xcard .mlink { padding-top: 18px; font-size: 14.5px; }

/* ===== First screen: the hero is only as tall as its copy (plus room on tall screens), so the university row and the top of the expert cards
   show at the bottom of the first screen and pull the eye down ===== */
.xsec { padding-top: 28px; }
.xhead { align-items: center; margin-bottom: 18px; }
.xhead h2 { margin-top: 0; max-width: none; font-size: clamp(24px, 2.3vw, 30px); line-height: 1.3; }
html[lang=ko] .xhead h2 { max-width: none; font-size: clamp(23px, 2.2vw, 29px); }
.xnav { margin-top: 0; }
@media (min-width: 721px) {
  #hero.hero--campus { min-height: max(0px, calc(100svh - 360px)); padding-top: calc(var(--nav-h) + clamp(36px, 5vh, 68px)); padding-bottom: clamp(40px, 5.4vh, 72px); }
  #hero.hero--campus h1 { margin-top: 24px; }
  html[lang=en] #hero.hero--campus h1 { font-size: clamp(34px, 3.75vw, 48px); line-height: 1.14; }
  html[lang=ko] #hero.hero--campus h1 { font-size: clamp(34px, min(4.5vw, 7vh), 60px); }
  .hero-sub { margin-top: 20px; }
  #hero.hero--campus .hero-btn { margin-top: 28px; }
}
@media (min-width: 721px) and (max-height: 800px) {
  #hero.hero--campus h1 { margin-top: 20px; }
  .hero-sub { margin-top: 16px; }
  #hero.hero--campus .hero-btn { margin-top: 22px; }
}
@media (max-width: 720px) {
  #hero.hero--campus { padding-top: calc(var(--nav-h) + 38px); padding-bottom: 38px; }
  #hero.hero--campus h1 { margin-top: 18px; }
  html[lang=en] #hero.hero--campus h1 { font-size: clamp(28px, 8vw, 36px); line-height: 1.1; }
  .hero-sub { margin-top: 14px; font-size: 15px; }
  #hero.hero--campus .hero-btn { margin-top: 22px; min-height: 52px; }
  .uniband { padding: 12px 0 14px; }
  .unirow { gap: 8px; }
  .xsec { padding-top: 22px; }
  .xhead { margin-bottom: 14px; }
  .xhead h2 { font-size: 23px; text-wrap: balance; }
  html[lang=ko] .xhead h2 { font-size: 23px; }
}

/* ===== Home lower sections (page-home only): support · gets · steps · team-cycle · about/FAQ · CTA · footer — light system matching hero/experts ===== */
/* Every rule is prefixed .page-home (body class on the home template only), so the shared classes on other pages stay as they were.
   KO overrides carry html[lang=ko] .page-home to beat the older html[lang=ko] … (0,2,2) rules. */
.page-home {
  --sec-y: clamp(72px, 8vw, 112px);
  --hc-shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(var(--ink-rgb),0.04), 0 14px 34px -26px rgba(var(--ink-rgb),0.28);
  --hc-shadow-hover: 0 0 0 1px var(--line-2), 0 24px 44px -24px rgba(var(--ink-rgb),0.28); /* same as .xcard:hover */
}

/* section heads: left-aligned like .xhead, optional content (sub line / tabs) on the right */
.page-home .sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 48px;
  text-align: left; margin: 0 0 clamp(28px, 3vw, 40px); padding: 0; border: 0; }
.page-home .sec-head > div:first-child { flex: 1 1 420px; min-width: 0; }
.page-home :is(.sec-head h2, .team-intro h2, .cyc-copy h2) { margin: 14px 0 0; max-width: 20ch; font-size: clamp(28px, 2.5vw, 32px);
  font-weight: 700; line-height: 1.15; letter-spacing: -0.035em; color: var(--ink); text-wrap: balance; }
html[lang=ko] .page-home :is(.sec-head h2, .team-intro h2, .cyc-copy h2) { max-width: 16em; font-size: clamp(26px, 2.6vw, 32px); font-weight: 800; line-height: 1.3; letter-spacing: -0.03em; }
.page-home .sec-head h2 em { color: var(--accent); font-style: normal; }
.page-home .sec-head .sub { flex: 0 1 440px; margin: 0; max-width: 440px; font-size: 16px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
html[lang=ko] .page-home .sec-head .sub { font-size: 16px; line-height: 1.7; }
@media (min-width: 721px) { .page-home :is(#support, #steps) .sec-head h2 { max-width: none; } }   /* one line, like the experts head */
.page-home #gets .sec-head .sub { color: var(--body); }   /* --muted on --soft is under 4.5:1 */
/* body copy in the lower cards: no one-word last lines */
.page-home :is(.support-grid .support-card p, .journey .jstep p, .get p, .faq .a, .facts li, .team-intro .lead) { text-wrap: pretty; }
/* eyebrows: the hero's pill in light form */
.page-home :is(.sec-head, .team-intro, .cyc-copy) .eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 10px;
  border-radius: 999px; background: var(--card); box-shadow: 0 0 0 1px var(--line); font-family: var(--sans); font-size: 13px; font-weight: 600;
  line-height: 1.4; letter-spacing: 0; text-transform: none; color: var(--body); }
.page-home :is(.sec-head, .team-intro, .cyc-copy) .eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; flex: none;
  background: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb),0.12); }
html[lang=ko] .page-home :is(.sec-head, .team-intro, .cyc-copy) .eyebrow { font-size: 13.5px; font-weight: 600; letter-spacing: -0.01em; }

/* 1 · support: four equal white link cards on the ground (was the navy band) */
.page-home #support { margin-top: 0; padding: clamp(56px, 6vw, 88px) 0 var(--sec-y); background: var(--ground); color: var(--body); }
.page-home .support-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.page-home .support-grid .support-card { display: flex; flex-direction: column; gap: 0; min-height: 0; padding: 24px 24px 22px; border: 0; border-radius: 20px;
  background: var(--card); box-shadow: var(--hc-shadow); color: var(--body); transition: opacity .6s ease, transform .2s, box-shadow .2s; }
.page-home .support-grid .support-card:hover { transform: translateY(-3px); box-shadow: var(--hc-shadow-hover); background: var(--card); }
.page-home .support-grid .support-card .card-ico { width: 48px; height: 48px; border-radius: 14px; background: var(--tint); color: var(--accent); box-shadow: none; }
.page-home .support-grid .support-card .card-ico .i { width: 24px; height: 24px; }
.page-home .support-grid .support-card:hover .card-ico { background: var(--tint); }
.page-home .support-grid .support-card h3 { margin-top: 20px; font-size: 20px; font-weight: 700; line-height: 1.3; letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; }
.page-home .support-grid .support-card p { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--muted); }
html[lang=ko] .page-home .support-grid .support-card p { font-size: 15px; line-height: 1.65; }
.page-home .support-grid .support-card .mlink { margin-top: auto; padding-top: 20px; font-family: var(--sans); font-size: 14.5px; font-weight: 600;
  letter-spacing: -0.01em; text-transform: none; color: var(--ink); }
.page-home .support-grid .support-card:hover .mlink { color: var(--accent); }

/* 2 · gets: soft band, illustrations inside white cards */
.page-home #gets { margin-top: 0; padding: var(--sec-y) 0; background: var(--soft); }
.page-home .gets { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.page-home .get { padding: 12px 12px 26px; border-radius: 20px; background: var(--card); box-shadow: var(--hc-shadow); }
.page-home #gets .get-art { aspect-ratio: 3 / 2; border-radius: 14px; background: linear-gradient(160deg, var(--ground) 0%, var(--soft) 100%); box-shadow: none; }
.page-home .get h3 { margin: 18px 10px 0; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
html[lang=ko] .page-home .get h3 { font-size: 21px; }
.page-home .get p { margin: 8px 10px 0; max-width: none; font-size: 15px; line-height: 1.6; color: var(--muted); }
html[lang=ko] .page-home .get p { font-size: 15.5px; line-height: 1.65; }

/* 3 · steps: head with a segmented tab control on the right; four white step cards */
.page-home #steps { margin-top: 0; padding: var(--sec-y) 0 0; background: var(--ground); }
.page-home .sec-head .tabs { flex: none; margin: 0; display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.page-home .tab { min-height: 44px; padding: 8px 22px; border-radius: 999px; background: transparent; box-shadow: none; font-size: 15px; font-weight: 600; color: rgba(var(--ink-rgb),0.66); }
.page-home .tab:hover:not([aria-selected="true"]) { background: rgba(255,255,255,0.6); color: var(--ink); }
.page-home .tab[aria-selected="true"] { background: var(--card); color: var(--ink); box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(var(--ink-rgb),0.06), 0 6px 14px -8px rgba(var(--ink-rgb),0.25); }
.page-home .journey { margin-top: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.page-home .journey .jstep { position: relative; display: flex; flex-direction: column; align-items: flex-start; text-align: left; padding: 24px 24px 26px;
  border-radius: 20px; background: var(--card); box-shadow: var(--hc-shadow); }
.page-home .journey .jstep .ring { position: static; width: 48px; height: 48px; margin: 0 0 20px; border-radius: 14px; background: var(--soft); box-shadow: none; }
.page-home .journey .jstep .ring::before, .page-home .journey .jstep .ring::after { content: none; display: none; }
.page-home .journey .jstep .ico { color: var(--ink); }
.page-home .journey .jstep .ico .i { width: 24px; height: 24px; }
.page-home .journey .jstep .jn { position: absolute; top: 24px; right: 24px; bottom: auto; font-family: var(--sans); font-size: 13px; font-weight: 600;
  letter-spacing: 0; color: var(--muted); font-variant-numeric: tabular-nums; }
.page-home .journey .jstep:first-child .ring { background: var(--tint); box-shadow: none; }
.page-home .journey .jstep:first-child :is(.ico, .jn) { color: var(--accent); }
.page-home .journey .jstep :is(h3, h4) { margin: 0; font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.page-home .journey .jstep p { margin-top: 8px; max-width: none; font-size: 15px; line-height: 1.6; color: var(--muted); }
html[lang=ko] .page-home .journey .jstep p { font-size: 15px; line-height: 1.65; }
/* connectors: none by default (beats the old dashed arrows at every width); a small chevron in the gap on wide screens only */
.page-home .journey .jstep::before, .page-home .journey .jstep::after { content: none; display: none; }
@media (min-width: 961px) {
  .page-home .journey .jstep:not(:last-child)::after { content: ""; display: block; position: absolute; top: 43px; left: auto; right: -15px; bottom: auto;
    width: 10px; height: 10px; background: none; border: 0; border-top: 1.5px solid var(--line-2); border-right: 1.5px solid var(--line-2); transform: rotate(45deg); }
}
.page-home .panel .note { margin: 20px 0 0; max-width: none; justify-content: flex-start; text-align: left; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--muted); }
.page-home .panel .note::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 0.62em; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb),0.12); }

/* 4 · team cycle: a light card (was the navy panel); the diagram recoloured in ink + crimson */
.page-home #team-cycle { margin-top: 0; padding: clamp(56px, 6vw, 88px) 0 var(--sec-y); background: var(--ground); }
.page-home .cyc-panel { padding: clamp(32px, 4.5vw, 56px); border-radius: 24px; background: var(--card); background-image: none; color: var(--body); box-shadow: var(--hc-shadow); }
.page-home .cyc-panel::before { right: -6%; top: -14%; width: 62%; background: radial-gradient(closest-side, rgba(var(--accent-rgb),0.08), transparent 72%); }
.page-home .cyc-copy h2 { color: var(--ink); max-width: 13ch; }
html[lang=ko] .page-home .cyc-copy h2 { max-width: 12em; }
.page-home .cyc-copy p { margin-top: 16px; max-width: 46ch; font-size: 16px; line-height: 1.65; color: var(--body); }
.page-home .cyc-legend { margin: 24px 0 0; font-size: 14px; color: var(--body); }
.page-home .cyc-legend .sw { border-top: 2px solid rgba(var(--ink-rgb),0.55); }
.page-home .cyc-legend .sw.dot { border-top: 2px dotted var(--accent); }
.page-home .cyc text { fill: var(--body); font-weight: 500; }
.page-home .cyc .cyc-solid { stroke: rgba(var(--ink-rgb),0.5); color: rgba(var(--ink-rgb),0.5); }
.page-home .cyc .cyc-dot { stroke: var(--accent); color: var(--accent); }
.page-home .cyc #cyc-arrow path { fill: rgba(var(--ink-rgb),0.5); }
.page-home .cyc #cyc-arrow-dot path { fill: var(--accent); }
.page-home .cyc .cyc-halo { fill: rgba(var(--accent-rgb),0.04); stroke: var(--tint-line); stroke-width: 1; }
.page-home .cyc .cyc-node { fill: var(--card); stroke: var(--line-2); stroke-width: 1.5; }
.page-home .cyc .cyc-name { fill: var(--ink); font-weight: 600; }

/* 5 · about + FAQ: soft band, tick chips, white accordion cards with a tint toggle when open */
.page-home #about { margin-top: 0; padding: var(--sec-y) 0 clamp(56px, 6vw, 80px); background: var(--soft); }
.page-home .team { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (min-width: 961px) and (min-height: 700px) { .page-home .team-intro { position: sticky; top: calc(var(--nav-h) + 32px); } }
.page-home .team-intro .lead { margin-top: 18px; max-width: 460px; font-size: 16px; line-height: 1.65; color: var(--body); }
.page-home .facts { margin-top: 28px; }
.page-home .facts li { grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; padding: 14px 0; border-top: 1px solid var(--line-2); color: var(--ink); }
.page-home .facts li::before { content: "✓"; display: grid; place-items: center; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--card); box-shadow: 0 0 0 1px var(--tint-line); color: var(--accent); font-family: var(--sans); font-size: 12px; font-weight: 700; }
.page-home .faq { display: grid; gap: 12px; border-top: 0; }
.page-home .faq details { padding: 0 24px; border: 0; border-radius: 16px; background: var(--card); box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(var(--ink-rgb),0.04); transition: box-shadow .2s; }
.page-home .faq details[open] { box-shadow: 0 0 0 1px var(--line-2), 0 18px 40px -28px rgba(var(--ink-rgb),0.3); }
.page-home .faq summary { grid-template-columns: minmax(0, 1fr) 32px; gap: 16px; padding: 20px 0; font-size: 17px; font-weight: 600; line-height: 1.45; letter-spacing: -0.015em; color: var(--ink); }
.page-home .faq summary .n { display: none; }
.page-home .faq summary .plus { width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--soft); color: var(--ink); }
.page-home .faq summary:hover .plus { background: var(--line); }
.page-home .faq details[open] summary .plus { transform: rotate(45deg); background: var(--tint); color: var(--accent); border-color: transparent; }
.page-home .faq .a { padding: 0 48px 22px 0; max-width: 62ch; font-size: 15.5px; line-height: 1.7; color: var(--body); }
@supports selector(:has(*)) {   /* focus ring follows the rounded card instead of a square box on the summary */
  .page-home .faq summary:focus-visible { outline: none; }
  .page-home .faq details:has(> summary:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
}

/* 6 · closing CTA: the page's one dark moment, a rounded panel with the hero's campus photo under the same navy gradient */
.page-home .cta-band { margin-top: 0; padding: 0 0 var(--sec-y); background: var(--soft); background-image: none; color: var(--body); }
.page-home .cta-panel { position: relative; overflow: hidden; isolation: isolate; padding: clamp(52px, 6vw, 84px) clamp(24px, 5vw, 64px); border-radius: 24px;
  color: #fff; background-color: var(--dark);
  background-image:
    radial-gradient(ellipse 55% 65% at 50% 50%, rgba(var(--dark-rgb),0.55) 0%, rgba(var(--dark-rgb),0.2) 65%, rgba(var(--dark-rgb),0) 85%),
    linear-gradient(180deg, rgba(var(--dark-rgb),0.62) 0%, rgba(var(--dark-rgb),0.46) 50%, rgba(var(--dark-rgb),0.8) 100%),
    var(--photo);
  background-size: cover, cover, cover; background-position: center, center, center 55%; background-repeat: no-repeat;
  box-shadow: 0 24px 48px -30px rgba(var(--ink-rgb),0.32); }
.page-home .cta-band h2 { max-width: 20ch; margin: 0 auto; color: #fff; font-size: clamp(30px, 3.2vw, 42px); font-weight: 700; line-height: 1.12; letter-spacing: -0.035em; text-shadow: 0 2px 24px rgba(var(--dark-rgb),0.45); }
html[lang=ko] .page-home .cta-band h2 { max-width: 16em; font-size: clamp(28px, 3vw, 38px); font-weight: 800; line-height: 1.3; letter-spacing: -0.03em; }
.page-home .cta-band .sub { max-width: 560px; margin: 16px auto 0; font-size: 17px; line-height: 1.6; color: rgba(255,255,255,0.86); text-shadow: 0 1px 12px rgba(var(--dark-rgb),0.5); }
.page-home .cta-band .btn-primary { min-height: 56px; padding: 15px 30px 15px 34px; gap: 12px; border-radius: 12px; background: var(--accent); color: #fff; font-size: 17px; font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 14px 30px -12px rgba(0,0,0,0.55); transition: background .15s, transform .15s; }
.page-home .cta-band .btn-primary:hover { background: var(--accent-hi); color: #fff; transform: translateY(-1px); }
.page-home .cta-band .btn-primary .arr { font-family: var(--sans); }
html[lang=ko] .page-home .cta-band .btn-primary { font-size: 17px; font-weight: 700; }

/* 7 · footer: same navy chrome, sans meta row, no extra top hairline */
.page-home .footer { margin-top: 0; padding: 64px 0 32px; border-top: 0; }
.page-home .footer .tagline { margin-top: 16px; font-size: 14.5px; line-height: 1.65; }
.page-home .footer-meta { margin-top: 40px; padding-top: 20px; font-family: var(--sans); font-size: 12.5px; letter-spacing: 0.02em; }
html[lang=ko] .page-home .footer-meta { font-size: 12.5px; letter-spacing: 0; }
@media (min-width: 721px) { .page-home .footer-meta { padding-right: 84px; } }   /* 54px chat button + 18px offset + 12px gap */

/* tablets */
@media (max-width: 1100px) {
  .page-home .support-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .page-home .gets { grid-template-columns: minmax(0, 1fr); }
  .page-home .journey { grid-template-columns: 1fr 1fr; gap: 16px; }
  .page-home .team { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}
@media (min-width: 721px) and (max-width: 960px) {
  .page-home .get { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 24px; align-content: center; padding: 12px 24px 12px 12px; }
  .page-home #gets .get-art { grid-row: 1 / span 2; }
  .page-home .get h3 { margin: 0; align-self: end; }
  .page-home .get p { margin: 8px 0 0; align-self: start; }
}

/* phones */
@media (max-width: 720px) {
  .page-home { --sec-y: 56px; }
  .page-home .sec-head { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 24px; }
  .page-home .sec-head > div:first-child { flex: none; width: 100%; }
  .page-home :is(.sec-head h2, .team-intro h2, .cyc-copy h2) { font-size: clamp(25px, 6.8vw, 28px); }
  html[lang=ko] .page-home :is(.sec-head h2, .team-intro h2, .cyc-copy h2) { font-size: 24px; line-height: 1.32; }
  .page-home .sec-head .sub { flex-basis: auto; font-size: 15.5px; }
  html[lang=ko] .page-home .sec-head .sub { font-size: 15.5px; }

  .page-home .support-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .page-home .support-grid .support-card { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; row-gap: 0; padding: 18px 18px 18px 16px; border-radius: 18px; }
  .page-home .support-grid .support-card .card-ico { grid-row: 1 / span 3; width: 44px; height: 44px; border-radius: 12px; }
  .page-home .support-grid .support-card :is(h3, p, .mlink) { grid-column: 2; }
  .page-home .support-grid .support-card h3 { margin-top: 0; font-size: 18px; }
  .page-home .support-grid .support-card p, html[lang=ko] .page-home .support-grid .support-card p { margin-top: 4px; font-size: 14.5px; }
  .page-home .support-grid .support-card .mlink { padding-top: 10px; }

  .page-home .gets { gap: 14px; }
  .page-home .get { padding: 10px 10px 22px; border-radius: 18px; }
  .page-home #gets .get-art { aspect-ratio: 16 / 9; }
  .page-home .get h3 { margin: 16px 8px 0; }
  .page-home .get p { margin: 6px 8px 0; }

  .page-home .sec-head .tabs { display: flex; width: 100%; }
  .page-home .tab { flex: 1 1 0; padding: 8px 12px; }
  .page-home .journey { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .page-home .journey .jstep { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; align-items: start; padding: 18px 18px 18px 16px; border-radius: 18px; }
  .page-home .journey .jstep .ring { grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 12px; margin: 0; }
  .page-home .journey .jstep :is(h3, h4) { margin-top: 2px; padding-right: 32px; font-size: 17px; }   /* title clears the step number */
  .page-home .journey .jstep p, html[lang=ko] .page-home .journey .jstep p { margin-top: 4px; font-size: 14.5px; }
  .page-home .journey .jstep .jn { top: 18px; right: 18px; }

  .page-home .cyc-panel { padding: 28px 20px 20px; border-radius: 20px; }

  .page-home .team { gap: 32px; }
  .page-home .faq details { padding: 0 18px; border-radius: 14px; }
  .page-home .faq summary { grid-template-columns: minmax(0, 1fr) 30px; gap: 12px; padding: 18px 0; font-size: 16px; }
  .page-home .faq summary .plus { width: 30px; height: 30px; }
  .page-home .faq .a { padding: 0 0 20px; font-size: 15px; }

  .page-home .cta-panel { padding: 44px 22px; border-radius: 20px;
    background-image:
      radial-gradient(ellipse 55% 65% at 50% 50%, rgba(var(--dark-rgb),0.55) 0%, rgba(var(--dark-rgb),0.2) 65%, rgba(var(--dark-rgb),0) 85%),
      linear-gradient(180deg, rgba(var(--dark-rgb),0.62) 0%, rgba(var(--dark-rgb),0.46) 50%, rgba(var(--dark-rgb),0.8) 100%),
      var(--photo-sm);
    background-position: center, center, center 40%; }
  .page-home .cta-band h2 { font-size: clamp(26px, 7vw, 30px); }
  html[lang=ko] .page-home .cta-band h2 { font-size: 25px; }
  .page-home .cta-band .sub { font-size: 15.5px; }
  .page-home .cta-band .btn-primary, html[lang=ko] .page-home .cta-band .btn-primary { min-height: 52px; font-size: 16px; padding: 14px 26px; }

  .page-home .footer { padding-bottom: 136px; }   /* keeps the chat buttons clear, as before */
  .page-home .footer-links { gap: 0 24px; }
  .page-home .footer-links a { display: inline-flex; align-items: center; min-height: 44px; }   /* 44px tap targets */
}
@media (max-width: 340px) { .page-home .cta-panel { padding-left: 16px; padding-right: 16px; } }

/* KEEP LAST: phone guard (media queries add no specificity, so this must stay the final block in the file) */
@media (max-width: 720px) {
  .hero h1 { font-size: clamp(38px, 10.5vw, 48px); }
  .hero--landing h1 { font-size: clamp(34px, 9.5vw, 44px); }
  html[lang=ko] .hero h1, html[lang=ko] .hero--landing h1 { font-size: clamp(32px, 8.5vw, 42px); }
  .sec-head h2 { font-size: clamp(30px, 8.4vw, 38px); }
  html[lang=ko] .sec-head h2 { font-size: clamp(27px, 7.4vw, 34px); }
  .sec-head .sub, .cta-band .sub { font-size: 16.5px; }
  html[lang=ko] body { font-size: 16px; }
  .btn, .hero .btn, html[lang=ko] .btn, html[lang=ko] .hero .btn { font-size: 15.5px; }
  .cta-band h2, html[lang=ko] .cta-band h2 { font-size: clamp(28px, 7.6vw, 36px); }
  .hero .eyebrow { display: block; padding: 0; border: 0; background: none; border-radius: 0; }
  .faq details { padding: 0 16px; }
  .faq summary { grid-template-columns: 22px 1fr 28px; gap: 10px; }
  .faq .a { padding-left: 0; padding-right: 0; }
  /* review fixes: phone */
  .sec-head h2 { font-size: clamp(28px, 7.6vw, 34px); }
  html[lang=ko] :is(.sec-head h2, .cta-band h2, .reports h2, .cyc-copy h2, .comp-head h2) { font-size: 26px; }
  .hero .eyebrow { letter-spacing: 0.1em; text-wrap: balance; }
  .profile .actions .btn { white-space: normal; text-align: center; padding-left: 16px; padding-right: 16px; }
  .file-viz .fv-rows li:nth-child(n+4), .file-viz .fv-note, .file-viz .fv-q { display: none; }
  .file-viz .fv-rows li { grid-template-columns: 26px 1fr; grid-template-areas: "n l" "n bar"; }
  .phase tbody th { padding: 14px 10px 14px 44px; font-size: 14px; }
  .panel .note { text-align: left; justify-content: flex-start; }
  .cal .lane { width: max-content; min-width: 100%; }
}

/* Compact business registration details in the footer. */
.footer, .page-home .footer { padding-top: 36px; padding-bottom: 24px; }
.footer-grid { gap: 24px; }
.footer .tagline, .page-home .footer .tagline { margin-top: 10px; max-width: 460px; font-size: 13px; line-height: 1.65; }
.footer-links { font-size: 13px; }
.footer .footer-meta, .page-home .footer-meta { display: block; margin-top: 24px; padding-top: 16px; padding-right: 72px; }
.footer-business { min-width: 0; font-family: var(--sans); font-size: 12.5px; line-height: 1.8; letter-spacing: 0; }
.business-details { margin: 0; }
.business-details > div { display: inline-flex; align-items: baseline; gap: 6px; max-width: 100%; }
.business-details dt { flex: none; color: rgba(255,255,255,.58); }
.business-details dd { min-width: 0; margin: 0; color: rgba(255,255,255,.8); overflow-wrap: anywhere; }
.footer-fineprint { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 20px; margin-top: 13px; color: rgba(255,255,255,.5); font-family: var(--sans); font-size: 11px; line-height: 1.7; letter-spacing: 0; }
.business-copyright { margin: 0; }
@media (max-width: 720px) {
  .footer, .page-home .footer { padding-top: 30px; padding-bottom: 112px; }
  .footer-grid { gap: 18px; }
  .footer .tagline, .page-home .footer .tagline { font-size: 12.5px; }
  .footer-links { gap: 0 18px; font-size: 12px; }
  .footer .footer-meta, .page-home .footer-meta { margin-top: 18px; padding-top: 14px; padding-right: 0; }
  .footer-fineprint { display: block; margin-top: 12px; }
  .footer-fineprint > span { display: block; margin-top: 4px; }
}
