/* PrepModule — shared styles. Warm white ground, crimson accent, crimson-black dark sections. */

:root {
  --dark:      #150d10;   /* crimson-black: hero, dark bands, footer */
  --dark-2:    #1e1418;
  --accent:    #a51c30;   /* crimson */
  --accent-2:  #8a1627;
  --accent-hi: #c02640;
  --accent-lt: #e8546b;   /* crimson for text/lines on dark */
  --on-primary:#ffffff;
  --tint:      #fbf1f2;
  --ground:    #faf9f7;
  --card:      #ffffff;
  --soft:      #f2efec;
  --line:      #ebe6e2;
  --line-2:    #ddd6d1;
  --ink:       #181214;
  --body:      #4b4346;
  --muted:     #6c6366;
  --muted-2:   #a19799;
  --on-dark:   #d8cfd1;
  --on-dark-2: #9c9093;
  --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(24,13,17,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(250,249,247,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(165,28,48,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; }

.hero-side { display: grid; gap: 12px; }
.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, #3b1a23, #1e1418); 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(24,13,17,0.05), 0 0 0 1px rgba(24,13,17,0.04); transition: box-shadow .2s, transform .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -16px rgba(24,13,17,0.22), 0 0 0 1px rgba(24,13,17,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, #fdf7f8 0%, var(--tint) 60%, #f3d8dd 100%); }
.photo.sat { background: linear-gradient(170deg, #f9f7f5 0%, var(--soft) 60%, #e7e1dc 100%); }
.photo.ap  { background: linear-gradient(170deg, #f9f7f5 0%, var(--soft) 60%, #e7e1dc 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(165,28,48,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(24,13,17,0.05), 0 0 0 1px rgba(24,13,17,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(24,13,17,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(232,84,107,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 #f3d8dd; 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: #c9c1bc; }
.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='%23a51c30' 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: #c9c1bc; }
.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(24,13,17,0.05), 0 0 0 1px rgba(24,13,17,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 #f3d8dd; 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(165,28,48,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; }
  .hero-side { grid-template-columns: 1fr 1fr; }
  .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); }
  .hero-side { grid-template-columns: 1fr; }
  .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(192,38,64,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(165,28,48,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(232,84,107,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: #fffafa; }
.input:focus { outline-color: var(--ink); border-color: var(--ink); }
.faq { border-top-color: var(--ink); }

/* hero product cards share .banner with the form banner; on phones stack the button under the text */
.hero-grid > * { min-width: 0; }
@media (max-width: 720px) { .hero-side .banner { grid-template-columns: 1fr; } .hero-side .banner .btn { justify-self: start; } }
.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(24,13,17,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(24,13,17,0.28); }
.prog[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 20px 40px -22px rgba(165,28,48,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; } }
/* 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(24,13,17,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 #f0c9cf; 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(232,84,107,0.16); box-shadow: inset 0 0 0 1px rgba(232,84,107,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(24,13,17,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: #e8546b; } .jstep:nth-child(2) { --c: #c9304a; } .jstep:nth-child(3) { --c: #a51c30; } .jstep:nth-child(4) { --c: #7f1426; }
.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, #fbf6f6 0%, #f4ecee 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(165,28,48,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(21,13,16,calc(0.86 * var(--shade, 1))) 0%, rgba(21,13,16,calc(0.62 * var(--shade, 1))) 36%, rgba(21,13,16,calc(0.22 * var(--shade, 1))) 68%, rgba(21,13,16,calc(0.12 * var(--shade, 1))) 100%),
                    linear-gradient(0deg, rgba(21,13,16,0.78) 0%, rgba(21,13,16,0) 34%),
                    linear-gradient(180deg, rgba(21,13,16,0.5) 0%, rgba(21,13,16,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(165,28,48,0.32), transparent 72%); }
.hero--photo { filter: none; }
.hero--photo { --shade: 1; }
.hero--photo .banner, .hero--photo .feature, .hero--photo .picker { background: rgba(21,13,16,0.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
@media (max-width: 720px) {
  .hero--photo { background-image: linear-gradient(180deg, rgba(21,13,16,0.82) 0%, rgba(21,13,16,0.9) 55%, rgba(21,13,16,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(21,13,16,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(21,13,16,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(21,13,16,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(24,13,17,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 #f0c9cf; }
.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: #6e1322; }
.comp-head--ink { background-color: #211a1c; }
.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(232,84,107,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); }

/* 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(24,13,17,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(165,28,48,0.45); }
.tl-item.is-now .tl-dot { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 4px rgba(165,28,48,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 #f0c9cf; 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; }
/* hero product cards share the .banner name with the form's error banner — keep them a vertical card */
.hero-side .banner { display: flex; flex-direction: column; align-items: stretch; gap: 20px; padding: 26px; font-size: inherit; line-height: inherit; }
.hero-side .banner p { max-width: 42ch; }
.hero-side .banner .btn { align-self: flex-start; }
/* 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(21,13,16,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(232,84,107,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(232,84,107,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 #f0c9cf; }
.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: #3d3538; --muted: #5e5558;
}
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; --muted-2: #7d7376; }
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(232,84,107,0.6); background: rgba(21,13,16,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: #f47a8c; }
#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(21,13,16,calc(0.9 * var(--shade, 1))) 0%, rgba(21,13,16,calc(0.74 * var(--shade, 1))) 42%, rgba(21,13,16,calc(0.48 * var(--shade, 1))) 72%, rgba(21,13,16,calc(0.38 * var(--shade, 1))) 100%),
    linear-gradient(0deg, rgba(21,13,16,0.78) 0%, rgba(21,13,16,0) 34%),
    linear-gradient(180deg, rgba(21,13,16,0.6) 0%, rgba(21,13,16,0) 26%),
    var(--photo); }
}
.hero-actions { margin-top: 36px; }
.hero-side { gap: 10px; align-self: end; }
.hero-side .banner { flex-direction: row; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 22px; background: rgba(21,13,16,0.72); }
.hero-side .banner h2 { margin-top: 0; font-size: 19px; }
.hero-side .banner p { margin-top: 4px; font-size: 14px; max-width: 36ch; }
.hero-side .banner .arr { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.32); font-family: var(--mono); color: #fff; transition: background .15s, color .15s; }
.hero-side .banner:hover .arr { background: #fff; color: var(--accent); }

/* 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(232,84,107,0.12); border-color: rgba(232,84,107,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 #f0c9cf, 0 6px 16px -10px rgba(165,28,48,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(24,13,17,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(21,13,16,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(21,13,16,0.72); }
.pick-opt.pick-sm { align-items: center; justify-content: center; text-align: center; min-height: 64px; }
.comp-chip { background: rgba(21,13,16,0.75); }
.comp-chip:hover { background: rgba(21,13,16,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(24,13,17,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: #f0c9cf; box-shadow: 0 0 0 1px #f0c9cf, 0 6px 16px -10px rgba(165,28,48,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: #f9e4e8; }
.cmp tr.key th { background: #f3d2d9; }
/* 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(232,84,107,0.24); border: 2px solid var(--accent-lt); }
/* home hero choice rows: equal heights, a legible arrow */
@media (min-width: 721px) { .hero-side { grid-auto-rows: 1fr; } }
.hero-side .banner .arr { font-family: var(--sans); font-size: 20px; }
/* 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: #f47a8c; }
/* 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; }

/* 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; }
  .hero-side .banner .arr { display: none; }
  .hero-side .banner h2::after { content: "\00a0→"; font-family: var(--sans); }
  .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%; }
}
