/* AIVERSE 입시학원 (PREPARATORY ACADEMY) — 흰 면이 바탕, 깊은 남색(#131b2f 와 미드나잇 #141a29 의 중간)은 첫 화면과 바닥에만. 샴페인 금은 가는 선과 작은 글씨에만 */
:root {
  --navy: #141a2c;
  --navy-deep: #0d121e;
  --gold: #c8ad7f;
  --gold-deep: #8c6d3c;
  --paper: #ffffff;
  --paper-alt: #f7f6f2;
  --text: #141a2c;
  --muted: #5f6470;
  --hair: #e4e3df;
  --on-dark: #f5f3ee;
  --on-dark-muted: rgba(245, 243, 238, .64);
  --hair-dark: rgba(245, 243, 238, .13);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --wrap: 1240px;
  --gut: clamp(22px, 5vw, 64px);
  --top-h: 76px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--navy-deep); color: var(--on-dark); font: 400 17px/1.8 var(--sans); letter-spacing: -.015em; word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; font-feature-settings: "ss06"; }
h1, h2, h3, p, ol, ul, dl, dd { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { color: inherit; }
i { font-style: normal; }
[hidden] { display: none !important; }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }
.light :focus-visible { outline-color: var(--gold-deep); }

.draft-bar { padding: 8px var(--gut); background: var(--navy-deep); color: var(--gold); font-size: 12.5px; font-weight: 500; letter-spacing: .02em; text-align: center; border-bottom: 1px solid var(--hair-dark); }

/* 머리글 */
.top { position: sticky; top: 0; z-index: 20; height: var(--top-h); display: flex; align-items: center; gap: 40px; padding: 0 max(var(--gut), calc((100% - var(--wrap)) / 2)); background: var(--navy); border-bottom: 1px solid var(--hair-dark); }
.logo { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; text-decoration: none; white-space: nowrap; }
.logo b { margin-right: -.22em; font: 500 25px/1 var(--serif); letter-spacing: .22em; }
.logo span { margin: 6px -.24em 0 0; font-size: 9px; font-weight: 600; letter-spacing: .24em; color: var(--gold); }
.top .logo { margin-right: auto; }
.top .btn { flex: none; }
.m { display: none; }
.menu { display: flex; gap: 36px; }
.menu a { font-size: 14.5px; font-weight: 500; text-decoration: none; white-space: nowrap; color: var(--on-dark-muted); transition: color .2s; }
.menu a:hover { color: var(--on-dark); }
.menu-btn { display: none; flex: none; position: relative; width: 44px; height: 44px; margin-right: -10px; background: none; border: 0; cursor: pointer; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 1px; background: var(--on-dark); }
.menu-btn span:first-child { top: 18px; }
.menu-btn span:last-child { top: 26px; }

/* 버튼 — 모서리 없이 */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 34px; font-size: 15px; font-weight: 600; letter-spacing: .01em; text-decoration: none; white-space: nowrap; transition: background .25s, color .25s, box-shadow .25s; }
.btn.small { min-height: 38px; padding: 0 20px; font-size: 13.5px; }
.btn.solid { background: var(--gold); color: var(--navy); }
.btn.solid:hover { background: var(--on-dark); }
.btn.line { box-shadow: inset 0 0 0 1px rgba(245, 243, 238, .32); color: var(--on-dark); }
.btn.line:hover { box-shadow: inset 0 0 0 1px var(--gold); color: var(--gold); }
.btn.solid-ink { background: var(--navy); color: var(--on-dark); }
.btn.solid-ink:hover { background: var(--gold-deep); }
.btn.line-ink { box-shadow: inset 0 0 0 1px var(--navy); color: var(--navy); }
.btn.line-ink:hover { background: var(--navy); color: var(--on-dark); }

/* 면 */
.band { padding: clamp(88px, 11vw, 160px) 0; }
.band.tight { padding-top: 0; }
.dark { --fg: var(--on-dark); --fg-soft: var(--on-dark-muted); --rule: var(--hair-dark); --accent: var(--gold); --bg: var(--navy); background: var(--navy); color: var(--on-dark); }
.light { --fg: var(--text); --fg-soft: var(--muted); --rule: var(--hair); --accent: var(--gold-deep); --bg: var(--paper); background: var(--paper); color: var(--text); }
.light.alt { --bg: var(--paper-alt); background: var(--paper-alt); }
.wrap { max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }

.eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; font-size: 13px; font-weight: 600; letter-spacing: .08em; color: var(--accent); }
.eyebrow span { font-size: 12px; letter-spacing: .14em; }
.eyebrow span::after { content: ""; display: inline-block; width: 28px; height: 1px; margin-left: 14px; vertical-align: middle; background: currentColor; opacity: .6; }
h1 { font-weight: 600; font-size: clamp(42px, 6.2vw, 88px); line-height: 1.17; letter-spacing: -.05em; }
h2 { font-weight: 600; font-size: clamp(30px, 3.6vw, 50px); line-height: 1.32; letter-spacing: -.042em; }
h3 { letter-spacing: -.03em; }
.head { max-width: 820px; margin-bottom: clamp(48px, 6vw, 84px); }
.head .body-lg { margin-top: 24px; }
.body-lg { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.85; color: var(--fg-soft); }
.body-lg.gap { margin-top: 28px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 7vw, 112px); align-items: start; }
#method .split { align-items: end; }
.fine { margin-top: 32px; font-size: 13.5px; color: var(--fg-soft); }
.num { font-size: 12.5px; font-weight: 600; letter-spacing: .14em; font-variant-numeric: tabular-nums; color: var(--accent); }

/* 첫 화면 — 오른쪽 절반은 사진, 왼쪽은 가는 세리프 영문 제목 */
.hero { position: relative; display: flex; align-items: center; min-height: min(860px, calc(100svh - var(--top-h))); padding: clamp(72px, 8vw, 120px) 0; overflow: hidden; background: var(--navy); }
.hero-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 54%; margin: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 34%); mask-image: linear-gradient(to right, transparent 0, #000 34%); }
.hero .wrap { position: relative; width: 100%; }
.hero .eyebrow { font-size: 11.5px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--on-dark); }
/* 큰 제목은 한글(2026-11-21 대표님 결정), 아래 영문 한 줄만 가는 세리프 기울임 */
.display { font: 600 clamp(40px, 5.2vw, 78px)/1.22 var(--sans); letter-spacing: -.05em; }
.hero-sub { margin-top: clamp(30px, 3vw, 40px); padding-top: clamp(24px, 2.4vw, 30px); max-width: 520px; border-top: 1px solid rgba(245, 243, 238, .28);
  font: italic 400 clamp(21px, 1.9vw, 28px)/1.3 var(--serif); }
.lead { max-width: 520px; margin-top: 12px; font-size: clamp(16px, 1.3vw, 17.5px); line-height: 1.8; color: var(--on-dark-muted); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; margin-top: clamp(36px, 3.6vw, 48px); }
.btn.arrow::after, .link::after, .more::after { content: "\2192"; margin-left: 14px; font-weight: 300; transition: transform .25s; }
.btn.arrow:hover::after, .link:hover::after, a:hover .more::after { transform: translateX(4px); }
.link { display: inline-flex; padding-bottom: 6px; border-bottom: 1px solid rgba(245, 243, 238, .4); font-size: 14.5px; font-weight: 600; text-decoration: none; color: var(--on-dark); }

/* 첫 화면 아래 사진 세 칸 */
.band.tiles-band { padding: clamp(40px, 5vw, 72px) 0 clamp(64px, 7vw, 104px); }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.tiles a { display: block; color: inherit; text-decoration: none; }
.tiles figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--hair); }
.tiles img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.tiles a:hover img { transform: scale(1.035); }
.tiles .num { display: block; margin-top: 24px; }
.tiles h3 { margin-top: 6px; font: 400 clamp(28px, 2.5vw, 38px)/1.1 var(--serif); letter-spacing: 0; }
.tiles p { margin-top: 8px; font-size: 15.5px; line-height: 1.6; color: var(--fg-soft); }
.more { display: inline-flex; margin-top: 18px; padding-bottom: 6px; border-bottom: 1px solid var(--fg); font-size: 13.5px; font-weight: 600; }

/* 문장을 자로 잰 듯 나눠 보여 주는 표본 */
.specimen { display: flex; flex-wrap: wrap; gap: 24px clamp(14px, 1.6vw, 24px); font-size: clamp(27px, 2.8vw, 40px); font-weight: 300; line-height: 1.25; letter-spacing: -.025em; }
.seg { position: relative; padding-bottom: 34px; }
.seg::before { content: ""; position: absolute; left: 0; right: 0; bottom: 24px; height: 1px; background: var(--rule); transform-origin: left; animation: rule 1s .3s cubic-bezier(.2, .7, .2, 1) both; }
.seg::after { content: attr(data-l); position: absolute; left: 0; bottom: 0; font-size: 12.5px; font-weight: 500; line-height: 1.3; letter-spacing: .02em; color: var(--fg-soft); white-space: nowrap; }
.seg.mod { color: var(--accent); }
.seg.mod::before { background: var(--accent); }
.seg.mod::after { color: var(--accent); }
@keyframes rule { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* 수업 철학 — 한 줄 소개(큰 제목) + 설명, 아래 세 갈래는 카드 없이 가는 선으로 */
.kicker { margin-bottom: 14px; font: italic 400 clamp(22px, 2vw, 28px)/1.2 var(--serif); color: var(--accent); }
.philosophy .split { align-items: start; }
.philo-text { display: grid; gap: 18px; padding-top: 6px; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(64px, 7.5vw, 104px); border-top: 1px solid var(--navy); }
.pillars li { padding: 28px clamp(18px, 2.6vw, 40px) 4px 0; }
.pillars li + li { padding-left: clamp(18px, 2.6vw, 40px); border-left: 1px solid var(--hair); }
.pillars b { display: block; margin-top: 18px; font: 400 clamp(30px, 2.7vw, 40px)/1.1 var(--serif); }
.pillars h3 { margin-top: 14px; font-size: clamp(18px, 1.5vw, 20px); font-weight: 600; line-height: 1.45; }
.pillars p { margin-top: 8px; font-size: 15.5px; line-height: 1.7; color: var(--muted); }

/* 수업의 기준 */
.path { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(64px, 7.5vw, 104px); border-top: 1px solid var(--navy); }
.path li { padding: 28px clamp(16px, 2.2vw, 32px) 4px 0; }
.path li + li { padding-left: clamp(16px, 2.2vw, 32px); border-left: 1px solid var(--hair); }
.path h3 { margin-top: clamp(40px, 4.4vw, 64px); font-size: clamp(19px, 1.6vw, 22px); font-weight: 600; line-height: 1.45; }
.path p { margin-top: 10px; font-size: 15.5px; line-height: 1.7; color: var(--muted); }

/* 한 문장 수업 */
.demo { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-areas: "controls controls" "panels notes"; column-gap: clamp(36px, 6vw, 96px); }
.controls { grid-area: controls; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 32px; margin-bottom: clamp(40px, 5vw, 68px); border-bottom: 1px solid var(--rule); }
.steps { display: flex; gap: clamp(26px, 3.6vw, 52px); }
.step, .lang { position: relative; display: block; cursor: pointer; }
.step input, .lang input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.step span { display: flex; align-items: baseline; gap: 10px; padding: 0 0 18px; color: var(--fg-soft); border-bottom: 1px solid transparent; margin-bottom: -1px; transition: color .2s, border-color .2s; }
.step b { font-size: clamp(20px, 1.9vw, 24px); font-weight: 600; letter-spacing: -.03em; }
.step small { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.step:hover span { color: var(--fg); }
.step input:checked + span { color: var(--fg); border-bottom-color: var(--accent); }
.step input:checked + span small { color: var(--accent); }
.step input:focus-visible + span, .lang input:focus-visible + span { outline: 1px solid var(--accent); outline-offset: 4px; }
.langs { display: flex; margin-bottom: 14px; box-shadow: inset 0 0 0 1px var(--rule); }
.lang span { display: block; padding: 9px 20px; font-size: 13.5px; font-weight: 600; letter-spacing: .02em; color: var(--fg-soft); white-space: nowrap; transition: color .2s, background .2s; }
.lang:hover span { color: var(--fg); }
.lang input:checked + span { background: var(--fg); color: var(--bg); }
.panels { grid-area: panels; min-width: 0; }
.notes { grid-area: notes; min-width: 0; padding-left: clamp(0px, 3vw, 44px); border-left: 1px solid var(--rule); }
.panel, .note, .en { display: none; }
.demo:has(input[name="step"][value="1"]:checked) [data-step="1"],
.demo:has(input[name="step"][value="2"]:checked) [data-step="2"],
.demo:has(input[name="step"][value="3"]:checked) [data-step="3"] { display: block; }
.demo:has(input[name="lang"][value="en"]:checked) .en { display: block; }
.demo:has(input[name="lang"][value="en"]:checked) .ko { display: none; }
.demo:has(input[name="lang"][value="en"]:checked) .seg::after { content: attr(data-e); }
.gloss { margin-top: 30px; font-size: clamp(16px, 1.3vw, 17.5px); color: var(--fg-soft); }
.sentence { font-size: clamp(27px, 2.8vw, 40px); font-weight: 300; line-height: 1.5; letter-spacing: -.025em; }
.trap { color: var(--fg-soft); text-decoration: underline dotted var(--fg-soft) 1px; text-underline-offset: 7px; }
.pick { white-space: nowrap; }
.yes { color: var(--accent); font-weight: 500; border-bottom: 1px solid var(--accent); }
.out { color: var(--fg-soft); text-decoration: line-through; text-decoration-thickness: 1px; }
.row-label { margin-bottom: 10px; font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--fg-soft); }
.row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { padding: 8px 15px; box-shadow: inset 0 0 0 1px var(--rule); line-height: 1.35; }
.chip.mod { color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.ko-row .chip { font-size: clamp(16.5px, 1.5vw, 19px); }
.en-row .chip { font-size: clamp(19px, 1.8vw, 23px); font-weight: 300; }
.note h3 { font-size: clamp(20px, 1.8vw, 24px); font-weight: 600; line-height: 1.45; }
.note p { margin-top: 14px; font-size: 16px; line-height: 1.85; color: var(--fg-soft); }

/* 두 가지 수업 */
.tracks { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--navy); }
.tracks article { padding: clamp(32px, 4vw, 56px) clamp(24px, 4vw, 64px) clamp(36px, 4.4vw, 60px) 0; }
.tracks article + article { padding-left: clamp(24px, 4vw, 64px); padding-right: 0; border-left: 1px solid var(--hair); }
.tracks .sub { display: inline; margin-left: 14px; font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.tracks h3 { margin-top: clamp(36px, 4.6vw, 64px); font-size: clamp(28px, 2.9vw, 40px); font-weight: 600; line-height: 1.3; letter-spacing: -.045em; }
.tracks article p:not(.sub) { margin-top: 18px; color: var(--muted); }

/* 고민 목록 */
.faq { border-top: 1px solid var(--navy); }
.faq details { border-bottom: 1px solid var(--hair); }
.faq summary { position: relative; display: block; padding: 26px 56px 26px 0; font-size: clamp(17.5px, 1.45vw, 19.5px); font-weight: 600; line-height: 1.5; letter-spacing: -.03em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 1px; background: var(--gold-deep); transition: transform .25s; }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq details > div { padding: 0 56px 28px 0; color: var(--muted); line-height: 1.85; }

/* 내신 목록 */
.list li { display: grid; grid-template-columns: 52px 1fr; padding: 24px 0; border-top: 1px solid var(--rule); }
.list li:first-child { border-top: 1px solid var(--fg); }
.list i { padding-top: 5px; }
.list h3 { font-size: clamp(18.5px, 1.6vw, 21px); font-weight: 600; line-height: 1.45; }
.list p { margin-top: 4px; font-size: 15.5px; color: var(--fg-soft); }
.school { padding: 24px 0 0 52px; border-top: 1px solid var(--rule); font-size: 15px; color: var(--fg-soft); }
.school b { margin-right: 10px; font-weight: 600; color: var(--accent); }

/* 표 */
.report { width: 100%; border-collapse: collapse; border-top: 1px solid var(--navy); font-size: clamp(15.5px, 1.25vw, 17px); line-height: 1.65; }
.report th, .report td { padding: 21px 24px 21px 0; text-align: left; vertical-align: baseline; border-bottom: 1px solid var(--hair); }
.report thead th { padding-block: 14px; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--muted); }
.report tbody th { font-size: clamp(16.5px, 1.35vw, 18px); font-weight: 600; letter-spacing: -.03em; white-space: nowrap; }
.report td { color: var(--muted); }
#care .report td:first-child { width: 96px; font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--gold-deep); white-space: nowrap; }

/* 수강 안내 */
.schedule { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--navy); border-bottom: 1px solid var(--hair); }
.sch { min-width: 0; padding: clamp(30px, 3.4vw, 46px) clamp(24px, 4vw, 64px) clamp(30px, 3.4vw, 46px) 0; }
.sch + .sch { padding-left: clamp(24px, 4vw, 64px); padding-right: 0; border-left: 1px solid var(--hair); }
.sch h3 { margin-bottom: 20px; font-size: clamp(24px, 2.3vw, 32px); font-weight: 600; line-height: 1.3; }
.sch-row { display: grid; grid-template-columns: 1fr auto; gap: 2px 20px; align-items: baseline; padding: 20px 0; border-top: 1px solid var(--hair); }
.sch-name { font-size: clamp(17px, 1.4vw, 19px); font-weight: 600; letter-spacing: -.02em; }
.sch-name small { margin-left: 10px; font-size: 14.5px; font-weight: 400; color: var(--muted); }
.sch-time { font-size: clamp(26px, 2.4vw, 34px); font-weight: 300; line-height: 1.1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sch-note { grid-column: 1 / -1; font-size: 15px; line-height: 1.65; color: var(--muted); }
.sch-lines { padding-top: 18px; border-top: 1px solid var(--hair); }
.sch-lines > div { display: flex; gap: 16px; padding: 3px 0; font-size: 15px; line-height: 1.65; }
.sch-lines dt { flex: none; width: 56px; font-weight: 600; color: var(--gold-deep); }
.sch-lines dd { color: var(--muted); }
.fee-title { margin: clamp(52px, 5.4vw, 72px) 0 14px; font-size: clamp(20px, 1.8vw, 24px); font-weight: 600; letter-spacing: -.03em; }
.contact { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 40px; }
.contact p { color: var(--muted); }

/* 바닥글 — 학원법상 표시 항목 */
.foot { padding: 60px 0 68px; background: var(--navy-deep); }
.foot .logo { margin-bottom: 30px; }
.foot dl { display: flex; flex-wrap: wrap; gap: 10px 40px; padding-top: 26px; border-top: 1px solid var(--hair-dark); font-size: 13.5px; }
.foot dl > div { display: flex; gap: 12px; }
.foot dt { color: var(--on-dark); font-weight: 600; }
.foot dd { color: var(--on-dark-muted); }

@media (max-width: 1000px) {
  .top { gap: 12px; }
  .menu-btn { display: block; }
  .menu { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; padding: 6px var(--gut) 18px; background: var(--navy); border-bottom: 1px solid var(--hair-dark); }
  .menu.open { display: flex; }
  .menu a { padding: 15px 0; font-size: 17px; color: var(--on-dark); border-top: 1px solid var(--hair-dark); }
  .menu a:first-child { border-top: 0; }
  .path { grid-template-columns: 1fr 1fr; }
  .path li:nth-child(3) { padding-left: 0; border-left: 0; }
  .path li:nth-child(n + 3) { margin-top: 28px; border-top: 1px solid var(--hair); }
}

@media (max-width: 800px) {
  .split, .tracks, .schedule { grid-template-columns: 1fr; }
  .split, #method .split { align-items: start; }
  .hero { display: block; min-height: 0; padding: 0 0 64px; }
  .hero-photo { position: relative; width: 100%; height: min(72vw, 460px); }
  .hero-photo img { -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%); mask-image: linear-gradient(to bottom, #000 55%, transparent 100%); }
  .hero .wrap { margin-top: -24px; }
  .display { font-size: clamp(30px, 8.8vw, 46px); }
  .tiles { grid-template-columns: 1fr; gap: 44px; }
  .pillars { grid-template-columns: 1fr; }
  .pillars li, .pillars li + li { padding: 26px 0 30px; border-left: 0; }
  .pillars li + li { border-top: 1px solid var(--hair); }
  .sch, .sch + .sch { padding: 30px 0 32px; border-left: 0; }
  .sch + .sch { border-top: 1px solid var(--navy); }
  .tracks article, .tracks article + article { padding: 30px 0 40px; border-left: 0; }
  .tracks article + article { border-top: 1px solid var(--hair); }
  .demo { display: flex; flex-direction: column; }
  .controls { order: 1; flex-direction: column-reverse; align-items: stretch; margin-bottom: 36px; }
  .steps { justify-content: space-between; gap: 14px; }
  .step span { flex-direction: column; gap: 4px; }
  .langs { margin: 0 0 8px; }
  .lang { flex: 1; text-align: center; }
  .lang span { padding: 11px 6px; }
  .panels { order: 2; }
  .notes { order: 3; margin-top: 36px; padding: 30px 0 0; border-left: 0; border-top: 1px solid var(--rule); }
  .pc { display: none; }
  .m { display: inline; }
  .report tbody th { white-space: normal; }
}

@media (max-width: 560px) {
  body { font-size: 16.5px; }
  .path { grid-template-columns: 1fr; }
  .top { gap: 10px; }
  .logo b { font-size: 21px; }
  .logo span { font-size: 8px; letter-spacing: .2em; margin-right: -.2em; }
  .hero .eyebrow { font-size: 10.5px; letter-spacing: .2em; }
  .path li:nth-child(n) { display: grid; grid-template-columns: 44px 1fr; padding: 22px 0; margin: 0; border-left: 0; border-top: 1px solid var(--hair); }
  .path li:nth-child(1) { border-top: 0; }
  .path .num { grid-row: 1 / 3; padding-top: 5px; }
  .path h3 { margin: 0; }
  .path p { margin-top: 2px; }
  .actions .btn { flex: 1 1 100%; }
  .contact .btn { width: 100%; }
  .school { padding-left: 0; }
  .list li { grid-template-columns: 40px 1fr; }
  #care .report thead { display: none; }
  #care .report, #care .report tbody, #care .report tr, #care .report td, #care .report tbody th { display: block; width: auto; }
  #care .report tr { padding: 18px 0; border-bottom: 1px solid var(--hair); }
  #care .report td, #care .report tbody th { padding: 0; border: 0; }
  #care .report tbody th { margin-top: 4px; }
}

@media (max-width: 380px) {
  .logo b { font-size: 19px; letter-spacing: .16em; margin-right: -.16em; }
  .logo span { font-size: 7.5px; letter-spacing: .14em; margin-right: -.14em; }
  .btn.small { min-height: 36px; padding: 0 12px; font-size: 13px; }
  .menu-btn { width: 38px; margin-right: -6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .seg::before { animation: none; }
  * { transition: none !important; }
}
