/* Scan the rendered routes; the unused UI catalogue must not enlarge this stylesheet. */
:root {
  --plum: #3c1231;
  --deep: #2b0922;
  --orange: #e86b3e;
  --cream: #fcf4e2;
  --paper: #fbf8f1;
  --ink: #341c2c;
  --muted: #6b5860;
  --line: #dacfca;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  font-family: 'Pretendard', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.8;
  word-break: keep-all;
  overflow-wrap: break-word;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
img {
  max-width: 100%;
  display: block;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.35;
  letter-spacing: -0.045em;
}
h1 {
  font-size: clamp(40px, 4.6vw, 68px);
  font-weight: 800;
}
h2 {
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 750;
}
h3 {
  font-size: 23px;
}
p {
  color: var(--muted);
}
small {
  font-size: 14px;
}
.wrap {
  max-width: 1180px;
  width: calc(100% - 80px);
  margin: auto;
}
.eyebrow {
  display: block;
  font-size: 14px;
  letter-spacing: 0.02em;
  font-weight: 700;
  line-height: 1.8;
}
.eyebrow i {
  font-style: normal;
  margin: 0 8px;
}
.section-kicker {
  font-size: 13px;
  letter-spacing: 0.13em;
  font-weight: 800;
  display: block;
  color: #98502f;
  margin-bottom: 16px;
}
.site-header {
  height: 105px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.2;
}
.brand > span {
  font-size: 26px;
  font-weight: 850;
  letter-spacing: -0.05em;
}
.brand small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
  margin-top: 7px;
}
.site-header > nav {
  display: flex;
  gap: 30px;
  font-size: 14px;
}
.header-phone {
  font-size: 14px;
  font-weight: 750;
  padding: 9px 17px;
  border: 1px solid currentColor;
  border-radius: 4px;
}
.header-phone span {
  margin-left: 10px;
}
.call {
  display: inline-flex;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
  background: var(--plum);
  color: white;
  min-height: 56px;
  padding: 13px 22px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 6px;
  line-height: 1.5;
  transition:
    background 0.2s,
    transform 0.2s;
}
.call:hover {
  background: #592045;
  transform: translateY(-2px);
}
.call > span:last-child {
  font-size: 22px;
}
.text-link {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.skip {
  position: fixed;
  top: -100px;
  left: 20px;
  background: white;
  color: black;
  padding: 12px;
  z-index: 100;
}
.skip:focus {
  top: 10px;
}
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #c64b21;
  outline-offset: 5px;
}
.section {
  padding: 90px 0;
}
.section-intro {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: end;
  margin-bottom: 42px;
}
.section-intro p {
  max-width: 430px;
}
.facts {
  margin: 0;
}
.facts > div {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 15px;
}
.facts dt {
  font-size: 14px;
  color: var(--muted);
}
.facts dd {
  margin: 0;
  font-weight: 650;
}
.facts small {
  font-weight: 500;
  color: var(--muted);
}
.faq-list {
  border-top: 1px solid var(--line);
}
details {
  border-bottom: 1px solid var(--line);
}
summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 24px 40px 24px 0;
  line-height: 1.6;
  font-size: 18px;
  font-weight: 700;
}
summary::-webkit-details-marker {
  display: none;
}
summary:after {
  content: '+';
  position: absolute;
  right: 6px;
  top: 21px;
  font-weight: 400;
  font-size: 25px;
}
details[open] > summary:after {
  content: '−';
}
details > p {
  padding: 0 40px 24px 0;
  max-width: 850px;
  font-size: 16px;
}
.contact {
  padding: 88px 0;
  background: var(--cream);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 90px;
  align-items: center;
}
.contact h2 {
  margin: 14px 0 22px;
}
.contact-grid > div > p {
  max-width: 460px;
  margin-bottom: 24px;
}
.contact-card {
  padding: 35px;
  background: var(--plum);
  color: #fff9ef;
  border-radius: 14px;
}
.consultation-prep {
  margin: 0 0 24px;
  padding: 20px;
  border-radius: 12px;
  background: #fff;
}
.consultation-prep h3 {
  margin: 0 0 12px;
  font-size: 18px;
}
.consultation-prep ol {
  margin: 0;
  padding-left: 22px;
}
.consultation-prep li + li {
  margin-top: 12px;
}
.consultation-prep strong,
.consultation-prep span {
  display: block;
}
.consultation-prep span {
  margin-top: 3px;
  font-size: 14px;
  line-height: 1.65;
}
.contact-card > span {
  font-size: 14px;
}
.big-number {
  font-size: clamp(27px, 3vw, 39px);
  font-weight: 750;
  display: block;
  letter-spacing: -0.045em;
  margin: 6px 0 22px;
  white-space: nowrap;
}
.contact-card .call {
  background: var(--cream);
  color: var(--plum);
  display: flex;
}
.contact-card p {
  color: #e9dce3;
  font-size: 14px;
  margin: 20px 0;
}
.contact-address {
  border-top: 1px solid #75556e;
  padding-top: 20px;
  font-size: 14px;
  line-height: 1.9;
}
.contact-address strong {
  font-weight: 500;
}
.footer {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-top: 45px;
  padding-bottom: 45px;
}
.footer p,
.footer > div > a:not(.brand) {
  font-size: 13px;
}
.footer .brand {
  margin-bottom: 17px;
}
.footer .brand img {
  width: 26px;
}
.footer .brand > span {
  font-size: 21px;
}
.mobile-call {
  display: none;
}
.admission-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 90px;
}
.admission-grid h2 {
  margin-bottom: 24px;
}
.admission-grid > div > p {
  margin-bottom: 24px;
}
.note {
  font-size: 13px;
  color: var(--muted);
}
@media (max-width: 900px) {
  .wrap {
    width: calc(100% - 48px);
  }
  .site-header > nav {
    display: none;
  }
  .contact-grid,
  .admission-grid {
    gap: 40px;
  }
  .section-intro {
    display: block;
  }
  .section-intro p {
    margin-top: 20px;
  }
  .contact-card {
    padding: 25px;
  }
}
@media (max-width: 640px) {
  body {
    font-size: 16px;
  }
  .wrap {
    width: calc(100% - 40px);
  }
  .site-header {
    height: 82px;
    gap: 15px;
  }
  .brand > span {
    font-size: 23px;
  }
  .brand img {
    width: 30px;
  }
  .brand small {
    font-size: 10px;
  }
  .header-phone {
    padding: 7px 11px;
    font-size: 12px;
  }
  .header-phone span {
    margin-left: 4px;
  }
  h1 {
    font-size: clamp(34px, 9.2vw, 46px);
  }
  h2 {
    font-size: 30px;
  }
  h3 {
    font-size: 21px;
  }
  .eyebrow {
    font-size: 12px;
  }
  .eyebrow i {
    margin: 0 3px;
  }
  .section {
    padding: 60px 0;
  }
  .section-intro {
    margin-bottom: 28px;
  }
  .section-intro p {
    font-size: 16px;
  }
  .call {
    min-height: 54px;
    font-size: 15px;
    padding: 13px 19px;
    gap: 15px;
  }
  .contact {
    padding: 58px 0;
  }
  .contact-grid,
  .admission-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .contact h2 {
    margin-top: 12px;
  }
  .contact-card {
    padding: 27px 22px;
  }
  .big-number {
    font-size: 31px;
  }
  .footer {
    display: block;
    padding-top: 32px;
    padding-bottom: 32px;
  }
  .footer > div + div {
    margin-top: 25px;
  }
  .mobile-call {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--paper);
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    display: block;
    z-index: 20;
    border-top: 1px solid #d7c8cf;
  }
  .mobile-call a {
    min-height: 52px;
    padding: 12px 17px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--plum);
    color: white;
    border-radius: 6px;
    gap: 7px;
    font-size: 13px;
  }
  .mobile-call strong {
    font-size: 16px;
    white-space: nowrap;
  }
  .mobile-call a > span {
    font-size: 23px;
  }
  .facts > div {
    grid-template-columns: 85px 1fr;
    gap: 10px;
  }
  .facts dd {
    font-size: 16px;
  }
  summary {
    font-size: 16px;
    padding: 20px 28px 20px 0;
  }
  summary:after {
    top: 18px;
    font-size: 23px;
  }
  .contact-card p br {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}

.empathy-hero {
  padding: 45px 0 70px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 65px;
  align-items: center;
}
.hero-copy .eyebrow {
  color: #77523c;
  margin-bottom: 25px;
}
.hero-copy h1 {
  font-family: Georgia, 'Noto Serif KR', Batang, serif;
  font-weight: 650;
  font-size: clamp(38px, 4.2vw, 60px);
  line-height: 1.45;
  letter-spacing: -0.07em;
}
.hero-copy h1 em {
  font-style: normal;
  text-decoration: underline;
  text-decoration-color: #edb69b;
  text-decoration-thickness: 7px;
  text-underline-offset: 5px;
}
.hero-copy > p {
  margin: 24px 0 25px;
  font-size: 17px;
}
.hero-copy .phone-caption {
  margin: 13px 0 25px;
  font-size: 18px;
  font-weight: 750;
  color: var(--plum);
}
.phone-caption span {
  font-size: 12px;
  font-weight: 500;
  margin-left: 12px;
  color: var(--muted);
}
.under-link {
  font-size: 14px;
  color: var(--muted);
}
.hero-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 0 16px;
}
.hero-shortcuts .under-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
#admission {
  scroll-margin-top: 24px;
}
.message-link {
  display: flex;
  align-items: center;
  min-height: 44px;
}
.hero-copy .message-link {
  width: fit-content;
  margin: -12px 0 14px;
}
.contact-card .message-hint {
  margin: 4px 0 20px;
}
.empathy-visual {
  position: relative;
  min-height: 580px;
  background: #efe6d7;
  border-radius: 240px 240px 12px 12px;
  padding: 148px 36px 35px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.circle-tag {
  position: absolute;
  right: -22px;
  top: 27px;
  background: var(--plum);
  color: var(--cream);
  width: 157px;
  height: 157px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1.7;
  transform: rotate(8deg);
}
.circle-tag b {
  font-size: 15px;
}
.visual-kicker {
  font-size: 13px;
  letter-spacing: 0.04em;
  margin-bottom: 27px;
  color: #756052;
}
.thought {
  background: #fffaf1;
  box-shadow: 0 10px 24px #50311b0a;
  padding: 22px 30px;
  border-radius: 24px 24px 24px 3px;
  font-size: 22px;
  line-height: 1.7;
  font-weight: 650;
  letter-spacing: -0.05em;
}
.thought-one {
  transform: rotate(-4deg);
  align-self: flex-start;
  position: relative;
}
.thought-one > span {
  position: absolute;
  left: 12px;
  top: -35px;
  font-family: Georgia, serif;
  font-size: 80px;
  color: var(--orange);
  font-weight: 400;
}
.thought-two {
  transform: rotate(3deg);
  align-self: flex-end;
  margin-top: 14px;
  font-size: 18px;
  background: #ead4c4;
  border-radius: 24px 24px 3px 24px;
}
.visual-answer {
  margin-top: 42px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.visual-answer p {
  font-size: 16px;
  color: var(--plum);
}
.visual-bottom {
  margin-top: 30px;
  border-top: 1px solid #cdb9a8;
  padding-top: 16px;
  text-align: center;
  font-size: 12px;
  color: #765e4f;
  width: 100%;
}
.location-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.location-strip > .wrap {
  display: flex;
  justify-content: space-between;
  padding: 21px 0;
  font-size: 14px;
}
.location-strip span:before {
  content: '•';
  color: var(--orange);
  margin-right: 13px;
}
.concerns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.concerns details {
  border: 1px solid #d4c5bc;
  padding: 0 28px;
  border-radius: 10px;
  background: #fffdf8;
}
.concerns details[open] {
  background: #f5e8dd;
  border-color: #ceaa94;
}
.concerns summary {
  padding-top: 24px;
  padding-bottom: 24px;
  font-size: 20px;
}
.concerns details > p {
  padding-bottom: 15px;
  max-width: 860px;
}
.practice {
  display: block;
  font-size: 13px;
  font-weight: 650;
  padding-bottom: 23px;
  color: #874323;
}
.help-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 25px;
}
.method-soft {
  padding: 85px 0;
  background: #eee5d9;
}
.method-duo {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 80px;
  margin-top: 30px;
}
.mini-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
  font-size: 15px;
}
.mini-steps span {
  background: #fbf7ed;
  border: 1px solid #d5c4b6;
  padding: 8px 13px;
  border-radius: 5px;
}
.mini-steps i {
  font-style: normal;
  color: #9b6f51;
}
.promise {
  margin-top: 45px;
  border-top: 1px solid #cbb8a7;
  padding-top: 30px;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 30px;
}
.promise > span {
  color: #89553a;
  font-size: 14px;
}
.promise p {
  margin-top: 10px;
}
.study-purpose {
  margin-top: 36px;
  padding: 28px 32px;
  border-left: 4px solid var(--orange);
  border-radius: 0 10px 10px 0;
  background: var(--paper);
}
.study-purpose .section-kicker {
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}
.study-purpose h3 {
  max-width: 720px;
  margin-bottom: 18px;
  color: var(--plum);
  font-size: 28px;
  line-height: 1.45;
  text-wrap: balance;
}
.study-purpose p {
  max-width: 720px;
  font-size: 16px;
  line-height: 1.75;
}
.study-purpose p + p {
  margin-top: 12px;
}
.study-purpose .text-link {
  margin-top: 20px;
  line-height: 1.75;
}
.care-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}
.care-grid article {
  border-top: 2px solid #a77661;
  padding-top: 23px;
}
.care-grid article > span {
  color: #a65b3b;
  font-size: 14px;
  font-weight: 750;
}
.care-grid h3 {
  margin: 15px 0;
}
.care-grid p {
  font-size: 16px;
}
.admission-grid {
  border-top: 1px solid var(--line);
}
.faq-section {
  padding-top: 10px;
}
.faq-section h2 {
  margin-bottom: 30px;
}
@media (max-width: 1000px) {
  .empathy-hero {
    gap: 35px;
  }
  .empathy-visual {
    padding-left: 26px;
    padding-right: 26px;
  }
  .thought {
    font-size: 20px;
  }
  .thought-two {
    font-size: 17px;
  }
  .circle-tag {
    right: -10px;
  }
  .method-duo {
    gap: 35px;
  }
}
@media (max-width: 760px) {
  .hero-copy h1 {
    font-size: clamp(35px, 8.7vw, 52px);
  }
  .hero-copy > p {
    font-size: 16px;
  }
  .hero-copy .call {
    width: 100%;
    max-width: 380px;
  }
  .location-strip > .wrap {
    flex-wrap: wrap;
    gap: 10px 20px;
    font-size: 12px;
    padding: 16px 0;
  }
  .location-strip span:before {
    margin-right: 7px;
  }
  .help-bottom {
    display: block;
  }
  .help-bottom .text-link {
    margin-top: 17px;
  }
  .concerns details {
    padding: 0 20px;
  }
  .concerns summary {
    font-size: 17px;
  }
  .method-soft {
    padding: 60px 0;
  }
  .method-duo {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .promise {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 30px;
  }
  .promise h3 {
    font-size: 21px;
  }
  .study-purpose {
    margin-top: 28px;
    padding: 24px 20px;
  }
  .study-purpose h3 {
    font-size: 24px;
  }
  .care-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .care-grid article {
    position: relative;
    padding-left: 45px;
    padding-top: 20px;
  }
  .care-grid article > span {
    position: absolute;
    left: 0;
    top: 22px;
  }
  .care-grid h3 {
    margin: 0 0 10px;
  }
  .desktop-br {
    display: none;
  }
}

/* Keep practical information beside the first invitation to call. */
.hero-meta {
  margin-bottom: 22px;
}
.hero-copy .eyebrow {
  display: flex;
  flex-wrap: wrap;
  column-gap: 16px;
  row-gap: 2px;
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
}
.hero-copy .eyebrow > span {
  display: block;
}
.opening-date {
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin-top: 5px;
}
.hero-copy .hero-question {
  margin: 22px 0 10px;
  font-size: 17px;
  line-height: 1.65;
}
.hero-copy .hero-teaching {
  margin: 0 0 25px;
  font-size: 17px;
  line-height: 1.75;
  max-width: 510px;
}
.hero-teaching strong {
  font-weight: 650;
  color: var(--plum);
}
.header-phone {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.empathy-visual {
  padding-top: 212px;
}
.visual-kicker {
  max-width: 100%;
  text-align: center;
  font-size: 14px;
  letter-spacing: 0;
}

/* Compact the repeated examples on smaller screens; keep the desktop artwork. */
@media (max-width: 900px) {
  .empathy-hero {
    grid-template-columns: 1fr;
    padding-top: 24px;
    padding-bottom: 38px;
    gap: 30px;
  }
  .hero-meta {
    margin-bottom: 18px;
  }
  .hero-copy .hero-question {
    margin-top: 20px;
    font-size: 16px;
  }
  .hero-copy .hero-teaching {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 22px;
  }
  .empathy-visual {
    min-height: 0;
    max-width: 460px;
    width: 100%;
    margin: auto;
    padding: 24px;
    border-radius: 28px;
    align-items: stretch;
    gap: 18px;
  }
  .circle-tag,
  .thought-two,
  .visual-bottom {
    display: none;
  }
  .visual-kicker {
    margin: 0;
    text-align: left;
    font-size: 13px;
    line-height: 1.65;
  }
  .thought-one {
    transform: none;
    align-self: stretch;
    border-radius: 12px;
    padding: 18px 20px;
    font-size: 20px;
    line-height: 1.55;
  }
  .thought-one > span {
    display: none;
  }
  .visual-answer {
    margin: 0;
    gap: 16px;
  }
  .visual-answer img {
    flex-shrink: 0;
  }
  .visual-answer p {
    font-size: 16px;
    line-height: 1.6;
  }
}
@media (max-width: 640px) {
  :root {
    --mobile-call-height: 104px;
  }
  .header-phone {
    font-size: 14px;
    line-height: 1.5;
    padding: 8px 11px;
  }
  .mobile-call {
    min-height: calc(var(--mobile-call-height) + env(safe-area-inset-bottom));
  }
  .mobile-contact-label {
    display: block;
    margin-bottom: 7px;
    text-align: center;
    color: var(--plum);
    font-size: 12px;
    line-height: 1.5;
  }
  .mobile-contact-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .mobile-call .mobile-message {
    background: var(--cream);
    color: var(--plum);
    border: 1px solid #cbb8c3;
  }
  .mobile-call a {
    line-height: 1.5;
  }
  .mobile-call a > span {
    line-height: 1;
  }
}
@media (max-width: 360px) {
  .hero-copy h1 {
    font-size: clamp(30px, 9.3vw, 33.5px);
    line-height: 1.42;
    letter-spacing: -0.055em;
  }
}

/* Keep existing entry links and recovery usable after the design change. */
.legacy-anchor {
  display: block;
  height: 0;
  scroll-margin-top: 24px;
}

.parents-reading > .section-kicker { font-size: 0.875rem; }
.parents-reading-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.parents-reading-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--plum);
  border-radius: 10px;
  background: #fffdf8;
}
.parents-reading-card h3 {
  font-size: 1.25rem;
  line-height: 1.6;
  letter-spacing: -0.035em;
  color: var(--plum);
}
.parents-reading-card p {
  margin: 16px 0 20px;
  font-size: 1rem;
}
.parents-reading-card .text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: auto;
  align-self: flex-start;
}
@media (max-width: 760px) {
  .parents-reading-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .parents-reading-card { padding: 22px; }
}

.family-resource {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  align-items: center;
  gap: 64px;
  border-top: 1px solid var(--line);
}
.family-resource h2 { margin: 14px 0 24px; }
.family-resource-copy > p { max-width: 560px; font-size: 1rem; }
.family-resource-detail { margin-top: 14px; }
.family-resource-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; margin: 28px 0 20px; }
.family-resource-actions .text-link { display: inline-flex; align-items: center; min-height: 44px; }
.family-resource-download { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; background: var(--plum); color: white; border-radius: 8px; font-size: 1rem; font-weight: 700; }
.family-resource-download:hover { background: var(--deep); }
.family-resource-note { font-size: 0.875rem !important; line-height: 1.8; }
.review-order-resource { margin-top: 32px; padding-top: 26px; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.review-order-resource h3 { margin: 12px 0 18px; font-size: 1.375rem; line-height: 1.5; letter-spacing: -0.02em; }
.family-resource-preview { margin: 0; width: 100%; max-width: 330px; justify-self: end; }
.family-resource-preview img { width: 100%; height: auto; border: 1px solid var(--line); box-shadow: 0 12px 30px #341c2c12; }
.family-resource-preview figcaption { margin-top: 12px; color: var(--muted); font-size: 0.875rem; text-align: center; }
@media (max-width: 900px) {
  .family-resource { grid-template-columns: 1fr; gap: 32px; }
  .family-resource-preview { justify-self: center; max-width: 270px; }
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 10px;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 0;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
button:focus-visible {
  outline: 3px solid #c64b21;
  outline-offset: 5px;
}
.not-found-page {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 24px;
  min-height: 100svh;
  max-width: 900px;
  margin: 0 auto;
  padding: 64px 24px;
}
.not-found-page .section-kicker {
  margin: 0;
}
.not-found-page h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.3;
}
.not-found-description {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
  margin: 0;
}
@media (max-width: 640px) {
  :root {
    --mobile-call-height: 6.5em;
  }
  .site-header {
    height: auto;
    min-height: 82px;
    padding-top: 18px;
    padding-bottom: 18px;
    flex-wrap: wrap;
  }
  .contact-grid,
  .admission-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .big-number {
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .mobile-contact-actions {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

.consultation-message {
  margin: 0 0 24px;
  min-width: 0;
}
.consultation-message h3 {
  margin: 0 0 10px;
  font-size: 18px;
}
.consultation-message p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.65;
}
.consultation-message textarea {
  display: block;
  width: 100%;
  min-width: 0;
  margin-bottom: 12px;
  padding: 14px;
  border: 1px solid #ad9aa7;
  border-radius: 10px;
  background: #fff;
  color: var(--plum);
  font: inherit;
  font-size: 16px;
  line-height: 1.7;
  resize: vertical;
}
.consultation-message textarea:focus-visible {
  outline: 3px solid #c64b21;
  outline-offset: 4px;
}
.consultation-message button {
  min-height: 44px;
  max-width: 100%;
  padding: 10px 16px;
  border: 0;
  border-radius: 10px;
  background: var(--plum);
  color: #fff9ef;
  font: inherit;
  font-size: 16px;
  cursor: pointer;
}
.consultation-message .consultation-message-status {
  display: block;
  font-size: 14px;
  line-height: 1.65;
  margin: 10px 0 0;
  min-height: 46px;
}

.resource-picker h2 { margin: 14px 0 18px; }
.resource-picker-intro { max-width: 680px; font-size: 1rem; }
.resource-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 28px 0 20px; }
.resource-choice { display: block; min-width: 0; min-height: 150px; padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: border-color 150ms ease, background-color 150ms ease; }
.resource-choice-first { grid-column: 1 / -1; background: var(--cream); border-color: #bda18b; }
.resource-choice-meta { display: block; font-size: 0.875rem; color: var(--muted); }
.resource-choice h3 { margin: 8px 0 10px; font-size: 1.25rem; line-height: 1.5; }
.resource-choice p { font-size: 1rem; line-height: 1.7; }
.resource-choice:hover { border-color: var(--plum); background: #fcf4e2; }
.resource-choice:focus-visible { outline: 3px solid #c64b21; outline-offset: 4px; }
.resource-picker-note { max-width: 850px; font-size: 0.875rem; line-height: 1.8; }
@media (max-width: 640px) {
  .resource-choices { grid-template-columns: minmax(0, 1fr); }
  .resource-choice { padding: 20px; min-height: 144px; }
}
@media (prefers-reduced-motion: reduce) {
  .resource-choice { transition: none; }
}

.resource-choice-wide { grid-column: 1 / -1; }

.resource-return { display: inline-flex; align-items: center; min-height: 44px; }
.review-order-resource .resource-return { display: flex; width: fit-content; margin-top: 12px; }

.study-room-materials { scroll-margin-top: 24px; }
.study-room-materials h2 { margin: 14px 0 20px; }
.materials-intro { max-width: 760px; }
.materials-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.material-card { min-width: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.material-preview { display: flex; justify-content: center; align-items: center; height: 430px; padding: 24px; background: #f0ece5; }
.material-preview img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 8px 24px #35223715; }
.material-info { padding: 24px; }
.material-info h3 { margin: 0 0 8px; font-size: 1.25rem; }
.material-info p { font-size: .95rem; }
.material-actions, .material-drive { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.material-actions a, .material-drive a { display: inline-flex; align-items: center; min-height: 44px; }
.material-drive { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .9rem; }
.material-drive span { color: var(--muted); }
.material-drive a { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 640px) { .materials-grid { grid-template-columns: minmax(0, 1fr); } .material-preview { height: 380px; padding: 18px; } .material-info { padding: 20px; } }

/* Math featured, other resources collapsed */
.resource-more{margin:0 0 72px;background:var(--paper);border-bottom:0}
.resource-more-toggle{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:16px;row-gap:2px;padding:20px 24px;border:1.5px solid var(--plum);border-radius:12px;background:#fffdf8;color:var(--plum);cursor:pointer;list-style:none;transition:background-color .15s}
.resource-more-toggle:hover{background:var(--cream)}
.resource-more-toggle::-webkit-details-marker{display:none}
.resource-more-toggle::after{content:'+';position:static;grid-column:2;grid-row:1/span 2;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--plum);color:#fff;font-size:24px;font-weight:400;line-height:1}
.resource-more[open]>.resource-more-toggle{background:var(--cream)}
.resource-more[open]>.resource-more-toggle::after{content:'−'}
.resource-more-label{font-size:18px;font-weight:800;line-height:1.5}
.resource-more-list{grid-column:1;font-size:14px;font-weight:500;line-height:1.6;color:var(--muted)}
.resource-more-open{display:none}
.resource-more[open]>.resource-more-toggle .resource-more-closed{display:none}
.resource-more[open]>.resource-more-toggle .resource-more-open{display:inline}
.resource-more-toggle:focus-visible{outline:3px solid var(--orange);outline-offset:4px}
.resource-more-end{display:flex;justify-content:center;padding-bottom:8px}
.resource-more-end .text-link{display:inline-flex;align-items:center;min-height:44px}
@media(max-width:640px){.resource-more{margin-bottom:48px}.resource-more-toggle{padding:16px 18px}.resource-more-label{font-size:17px}.resource-more-list{font-size:13px}}

/* Identity line under the first call to action. */
.hero-copy .hero-teaching{display:flex;flex-wrap:wrap;gap:4px 22px;margin:0 0 14px;padding:10px 14px;max-width:540px;border-left:3px solid var(--orange);border-radius:0 8px 8px 0;background:#f4ebdd;color:var(--ink);font-size:15px;line-height:1.75}
.hero-teaching .text-link{min-height:36px;display:inline-flex;align-items:center;gap:5px;font-size:15px}
.hero-teaching strong{color:var(--plum);font-weight:750}

/* Study room and academy side by side: same direction, separate facts. */
.places{border-top:1px solid var(--line)}
.places h2{margin:14px 0 18px}
.places-intro{max-width:680px}
.place-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:32px}
.place-card{display:flex;flex-direction:column;min-width:0;padding:28px;border:1px solid var(--line);border-radius:14px;background:#fffdf8}
.place-study{border-top:5px solid var(--plum)}
.place-academy{border-top:5px solid var(--orange)}
.place-tag{align-self:flex-start;padding:2px 11px;border-radius:999px;font-size:13px;font-weight:800;line-height:1.7}
.place-study .place-tag{background:var(--plum);color:#fff}
.place-academy .place-tag{background:#fbe3d6;color:#8a3a17}
.place-card h3{margin:12px 0 10px;color:var(--plum)}
.place-facts{margin:0 0 22px}
.place-facts>div{display:grid;grid-template-columns:96px minmax(0,1fr);gap:12px;padding:10px 0;border-bottom:1px solid #eee4dc}
.place-facts dt{font-size:14px;color:var(--muted)}
.place-facts dd{margin:0;font-size:16px;font-weight:650}
.place-link{display:inline-flex;align-items:center;justify-content:center;min-height:48px;margin-top:auto;padding:10px 18px;border-radius:8px;font-size:15px;font-weight:750}
.place-study .place-link{background:var(--plum);color:#fff}
.place-academy .place-link{border:1.5px solid var(--plum);color:var(--plum)}
.place-link:hover{background:var(--deep);color:#fff}
.places-foot{display:flex;flex-wrap:wrap;align-items:center;gap:4px 24px;margin-top:22px;color:var(--ink);font-weight:650}
.places-foot .text-link{display:inline-flex;align-items:center;min-height:44px}
@media(max-width:760px){.place-cards{grid-template-columns:minmax(0,1fr);gap:16px}.place-card{padding:22px 20px}.place-facts>div{grid-template-columns:84px minmax(0,1fr)}}

/* Study-room block and its tuition table; rows become cards on phones. */
.study-room-block{background:#f6efe3;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.study-room-block .admission-grid{border-top-color:#e2d4c3}
.study-room-page .compact-intro{padding-bottom:44px}
.study-details{position:relative;display:grid;grid-template-columns:.75fr 1.25fr;gap:28px 64px;padding-top:44px;padding-bottom:48px}
.study-details>.legacy-anchor{position:absolute;top:0}
.study-details h2{margin:0;font-size:36px;line-height:1.45}
.study-details .facts>div:first-child{padding-top:0}
.study-other-location{grid-column:1/-1;margin:0;font-size:15px}
.study-room-block #tuition{border-top:1px solid #e2d4c3;padding-top:48px}
@media(max-width:900px){
  .empathy-hero{gap:0;padding-bottom:16px}
  .empathy-visual{display:none}
  .family-resource{padding-top:48px}
  .hero-copy .hero-teaching{gap:0 18px;font-size:14px}
  .hero-teaching .text-link{font-size:14px}
}
@media(max-width:640px){
  .hero-copy .phone-caption{margin-bottom:16px}
  .study-room-page .compact-intro{padding-bottom:32px}
  .study-details{display:block;padding-top:32px;padding-bottom:36px}
  .study-details h2{font-size:28px;margin:0 0 22px}
  .study-details .facts>div{padding:14px 0}
  .study-other-location{margin-top:24px;font-size:14px}
  .study-room-block #tuition{padding-top:36px}
}
.tuition-table-wrap{margin-top:20px;overflow-x:auto}
.tuition-table{width:100%;border-collapse:collapse;background:#fffdf8;font-size:16px}
.tuition-table caption{padding-bottom:10px;color:var(--ink);font-size:14px;font-weight:700;text-align:left}
.tuition-table th,.tuition-table td{padding:12px 14px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
.tuition-table thead th{background:var(--cream);font-size:14px;font-weight:700;white-space:nowrap}
.tuition-table tbody th{color:var(--plum);font-weight:750}
.tuition-table td:last-child strong{color:var(--plum)}
.tuition-scope{margin-top:18px;color:var(--ink);font-size:15px}
.tuition-legal{margin-top:12px;font-size:14px}
@media(max-width:640px){
  .tuition-table,.tuition-table tbody,.tuition-table tr,.tuition-table th,.tuition-table td{display:block}
  .tuition-table{background:none}
  .tuition-table caption{display:block}
  .tuition-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .tuition-table tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px;margin-bottom:12px;padding:2px 16px 6px;border:1px solid var(--line);border-radius:12px;background:#fffdf8}
  .tuition-table tbody th{grid-column:1/-1;padding:12px 0 8px;border-bottom:1px solid var(--line);font-size:18px}
  .tuition-table td{padding:8px 0 4px;border-bottom:0;font-size:16px;font-weight:650}
  .tuition-table td::before{content:attr(data-label);display:block;color:var(--muted);font-size:13px;font-weight:500;line-height:1.5}
  .tuition-table td:last-child{grid-column:1/-1;display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin-top:6px;padding:10px 0 6px;border-top:1px dashed var(--line)}
  .tuition-table td:last-child::before{display:inline;font-size:14px}
  .hero-copy .phone-caption{font-size:16px;line-height:1.6}
}
