/* tokens.css */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/assets/fonts/fraunces-latin-var.woff2) format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url(/assets/fonts/fraunces-italic-latin-var.woff2) format('woff2');
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/assets/fonts/figtree-latin-var.woff2) format('woff2');
}

:root {
  /* Lacquer palette. Gold and tan are sampled from the school's logo. */
  --white: #ffffff;
  --nude: #f6e4dc;
  --nude-deep: #ecd0c4;
  --ink: #1a1113;
  --ink-soft: #5b4c50;
  --black: #000000;
  --red: #a40e2c;
  --red-deep: #7d0a21;
  --oxblood: #2a070f;
  --gold: #926b00;
  --gold-text: #7a5900;
  --tan: #fec578;
  --line: rgba(26, 17, 19, 0.16);
  --line-strong: rgba(26, 17, 19, 0.55);
  --field-border: #8a7a7e;

  --font-display: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif;
  --font-text: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  --fs-hero: clamp(2.5rem, 1.5rem + 3.9vw, 4.5rem);
  --fs-h1: clamp(2.25rem, 1.55rem + 3vw, 3.75rem);
  --fs-h2: clamp(1.75rem, 1.35rem + 1.7vw, 2.6rem);
  --fs-h3: clamp(1.2rem, 1.1rem + 0.55vw, 1.5rem);
  --fs-lede: clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem);
  --fs-body: clamp(1.0625rem, 1.02rem + 0.2vw, 1.1875rem);
  --fs-small: 0.9375rem;

  --space-section: clamp(3.5rem, 2.2rem + 6vw, 7rem);
  --gutter: clamp(1.25rem, 0.6rem + 3vw, 2.5rem);
  --wrap: 73.75rem;
  --measure: 38rem;

  --r-s: 10px;
  --r-m: 14px;
  --r-l: 22px;
}

/* Korean pages. Fraunces and Figtree have no Hangul, so Korean text falls to the phone's own Korean font. A serif
   headline with sans Hangul beside it looks like two sites, so on these pages headings use the text face too. */
:root:lang(ko) {
  --font-display: 'Figtree', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Noto Sans CJK KR', 'Malgun Gothic', system-ui, sans-serif;
  --font-text: 'Figtree', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Noto Sans CJK KR', 'Malgun Gothic', system-ui, sans-serif;
  /* Hangul fills its box: the same size reads about a tenth larger than Latin. */
  --fs-hero: clamp(2.15rem, 1.35rem + 3.3vw, 3.9rem);
  --fs-h1: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
  --fs-h2: clamp(1.6rem, 1.3rem + 1.4vw, 2.3rem);
}

/* base.css */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 1.5rem;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 580;
  color: var(--black);
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); line-height: 1.04; }
h2 { font-size: var(--fs-h2); line-height: 1.1; }
h3 { font-size: var(--fs-h3); line-height: 1.22; letter-spacing: -0.008em; }
h4 { font-size: 1.1rem; line-height: 1.3; letter-spacing: 0; }

/* Korean: lines break between words, never inside one; headings need more room between lines than Latin does. */
:lang(ko) body { word-break: keep-all; overflow-wrap: break-word; line-height: 1.7; }
:lang(ko) h1, :lang(ko) h2, :lang(ko) h3, :lang(ko) h4 { font-weight: 700; letter-spacing: -0.02em; }
:lang(ko) h1, :lang(ko) .hero h1 { line-height: 1.22; }
:lang(ko) h2 { line-height: 1.28; }
:lang(ko) h3 { line-height: 1.35; }

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
strong { font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

a { color: inherit; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
a:hover { color: var(--red); }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

::selection { background: var(--red); color: var(--white); }

.defs { position: absolute; }
.icon { flex: none; }
.muted { color: var(--ink-soft); }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: var(--white); padding: 0.75rem 1rem; border-radius: var(--r-s);
  text-decoration: none; font-weight: 600;
}
.skip:focus { top: 1rem; color: var(--white); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-delay: 0ms !important; transition-duration: 0.001ms !important; }
}

@media print {
  .site-header__actions, .site-nav, .mobile-bar, .cta-band, .staging-note, .announce, .skip, .form { display: none !important; }
  body { font-size: 11pt; }
  a { text-decoration: none; }
}

/* Printing a page gives a clean handout: no navigation, no buttons, black on white. */
@media print {
  .page-header--nude, .section--nude, .panel, .hero { background: none !important; }
  .section, .page-header { padding-block: 0.6rem !important; }
  .toc, .btn-row, .crumbs, .faq summary .icon, .visit__map, .site-footer__grid, .site-footer h2, .approvals { display: none !important; }
  .faq details { break-inside: avoid; }
  .faq details > .faq__a { display: block !important; }
  /* !important: layout.css comes later and would put back the nude ground and the phone-bar padding
     (a print page is narrower than 940 px), which pushed an empty footer onto its own last page. */
  .site-footer { background: none !important; padding-top: 0.5rem; border-top: 1px solid #000; }
  .site-footer__legal { padding-block: 0.5rem 0 !important; }
  h1 { font-size: 22pt; } h2 { font-size: 15pt; margin-top: 0.8rem; } h3 { font-size: 12pt; }
  h2, h3, h4, dt { break-after: avoid; }
  /* Rows, not whole tables: a 13-row table kept whole left most of a page blank. The header row repeats. */
  tr, figure, li { break-inside: avoid; }
  .wrap { max-width: none; padding-inline: 0; }
  @page { margin: 14mm; }
}

/* layout.css */
.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--space-section); }
.section--nude { background: var(--nude); }
.section--tight { padding-block: calc(var(--space-section) * 0.6); }
.section > .wrap > h2 { margin-bottom: 0.6em; }
.section__intro { max-width: var(--measure); margin-bottom: 2.25rem; color: var(--ink); }
.section__intro--wide { max-width: 46rem; }

.prose { max-width: var(--measure); }
.prose h2 { margin: 2.2em 0 0.5em; }
.prose h3 { margin: 1.8em 0 0.4em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: 0.35em; }

/* ------------------------------------------------------------ staging + announcement */
.staging-note {
  margin: 0; padding: 0.35rem var(--gutter); text-align: center;
  background: var(--ink); color: var(--nude); font-size: 0.8125rem; line-height: 1.4;
}
.announce { background: var(--tan); color: var(--ink); font-weight: 600; font-size: var(--fs-small); }
.announce .wrap { padding-block: 0.6rem; }
.announce a { text-decoration-color: var(--ink); }
.announce a:hover { color: var(--ink); text-decoration-thickness: 3px; }

/* Language of instruction, under the header on Spanish pages. Same tan band as the announcement, no link. */
.lang-note { background: var(--tan); color: var(--ink); font-size: var(--fs-small); line-height: 1.35; }
.lang-note .wrap { display: flex; align-items: center; gap: 0.6rem; padding-block: 0.6rem; }
.lang-note .icon { flex: none; }
.lang-note p { margin: 0; }
.lang-note strong { font-weight: 700; font-size: 1rem; }
.lang-note span { font-weight: 500; }

/* ------------------------------------------------------------ header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.site-header__inner { display: flex; align-items: center; gap: 1.25rem; min-height: 5.25rem; }
.brand { display: block; flex: none; padding-block: 0.4rem; }
.brand img { width: auto; height: 4.25rem; }

.site-nav { margin-left: auto; }
.site-nav ul { display: flex; list-style: none; gap: clamp(0.9rem, 1.6vw, 1.75rem); }
.site-nav a {
  display: block; padding: 0.6rem 0.1rem; font-weight: 600; font-size: 1rem; text-decoration: none;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--red); }
.site-nav a[aria-current='page'] { border-bottom-color: var(--red); }

.site-header__actions { display: flex; align-items: center; gap: 0.9rem; }
.header-phone {
  display: inline-flex; align-items: center; gap: 0.4rem; min-height: 2.75rem; padding: 0 0.3rem;
  font-weight: 600; font-size: 0.9375rem; text-decoration: none; white-space: nowrap;
}
/* Links to this page in the other languages, each written in its own language, in one pill. */
.lang-switch {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 0.45rem 0 0.75rem;
  border: 1.5px solid var(--line-strong); border-radius: 999px;
  font-family: var(--font-text); font-weight: 600; font-size: 0.9375rem; white-space: nowrap;
}
.lang-switch .icon { flex: none; margin-right: 0.1rem; }
.lang-switch a { display: inline-flex; align-items: center; min-height: 2.6rem; padding: 0 0.4rem; text-decoration: none; }
.lang-switch a + a { position: relative; margin-left: 0.1rem; padding-left: 0.6rem; }
.lang-switch a + a::before { content: ''; position: absolute; left: 0; top: 32%; bottom: 32%; width: 1px; background: var(--line-strong); }
.lang-switch a:hover { color: var(--red); }
/* The narrowest phones: no room for the globe beside two language names. */
@media (max-width: 379px) {
  .lang-switch { padding: 0 0.25rem 0 0.4rem; font-size: 0.875rem; }
  .lang-switch .icon { display: none; }
}

.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; width: 2.9rem; height: 2.9rem; border-radius: var(--r-s); }
.menu summary::-webkit-details-marker { display: none; }
.menu__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.menu__close { display: none; }
.menu[open] .menu__open { display: none; }
.menu[open] .menu__close { display: block; }
.menu__panel {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white); border-bottom: 1px solid var(--line);
  padding: 0.5rem var(--gutter) 1.5rem; box-shadow: 0 24px 40px -24px rgba(42, 7, 15, 0.35);
  max-height: calc(100vh - 4.5rem); max-height: calc(100dvh - 4.5rem); overflow-y: auto; overscroll-behavior: contain;
}
body:has(.menu[open]) .mobile-bar { display: none; }
.menu__panel ul { list-style: none; }
.menu__panel li + li { border-top: 1px solid var(--line); }
.menu__panel li a { display: block; padding: 0.95rem 0.25rem; font-family: var(--font-display); font-size: 1.35rem; font-weight: 560; text-decoration: none; color: var(--black); }
/* Current page: red and underlined, like the desktop navigation (colour alone is not enough). */
.menu__panel li a[aria-current='page'] { color: var(--red); text-decoration: underline 2px var(--red); text-underline-offset: 0.3em; }
.menu__actions { display: grid; gap: 0.75rem; margin-top: 1.25rem; }

@media (max-width: 1179px) {
  .header-phone span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .header-phone { flex: none; width: 2.75rem; justify-content: center; border: 1.5px solid var(--line-strong); border-radius: 999px; padding: 0; }
}
/* 940 to 1179 px: the full navigation and the actions share one row (Spanish labels are longer), so tighten it. */
@media (min-width: 940px) and (max-width: 1179px) {
  .site-header__inner { gap: 1rem; }
  .brand img { height: 3.75rem; }
  .site-nav ul { gap: 0.85rem; }
  .site-nav a { font-size: 0.9375rem; }
  .site-header__actions { gap: 0.6rem; }
  .site-header .header-cta { padding-inline: 0.9rem; font-size: 0.9375rem; }
}
/* 940 to 990 px: no room for the phone icon beside the longer Spanish button; the number is in the footer. */
@media (min-width: 940px) and (max-width: 990px) {
  .header-phone { display: none; }
}
@media (max-width: 939px) {
  .site-nav, .site-header .header-cta, .header-phone { display: none; }
  .menu { display: block; }
  .site-header__inner { min-height: 4.5rem; }
  .site-header__actions { margin-left: auto; gap: 0.5rem; }
  .brand img { height: 3.5rem; }
}

/* ------------------------------------------------------------ page header (inner pages) */
.page-header { padding-block: clamp(2rem, 1rem + 4vw, 4rem) clamp(2.25rem, 1.2rem + 4vw, 4.25rem); }
.page-header--nude { background: var(--nude); }
.page-header .lede { font-size: var(--fs-lede); line-height: 1.45; max-width: 40rem; margin-top: 1.1rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; font-size: var(--fs-small); color: var(--ink-soft); margin-bottom: 1.25rem; }
.crumbs li:not(:last-child)::after { content: '/'; margin-left: 0.5rem; color: var(--line-strong); }
.crumbs a { text-decoration-thickness: 1px; }
/* On a phone the breadcrumb took two lines above every heading and repeated it. The menu and the logo do its job. */
@media (max-width: 599px) {
  .crumbs { display: none; }
}

/* ------------------------------------------------------------ footer */
.site-footer { background: var(--nude); padding-top: clamp(3rem, 6vw, 5rem); font-size: var(--fs-small); }
.site-footer h2 { font-family: var(--font-text); font-size: 1rem; font-weight: 700; letter-spacing: 0; margin-bottom: 0.75rem; color: var(--ink); }
.site-footer__grid { display: grid; gap: 2.25rem; grid-template-columns: 1.3fr 1.2fr 1fr 1fr; }
.site-footer__brand img { width: 9.5rem; height: auto; mix-blend-mode: multiply; }
.site-footer__brand p { margin-top: 1rem; max-width: 16rem; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.45rem; }
.site-footer a { text-decoration-thickness: 1px; }
.site-footer p { margin-bottom: 0.6rem; }
.site-footer__social { display: flex; flex-wrap: wrap; gap: 0.25rem 1.1rem; margin-top: 0.9rem; font-weight: 600; }
.site-footer__legal { margin-top: 2.5rem; padding-block: 1.75rem calc(1.75rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 1rem; }
.site-footer__small { color: var(--ink-soft); margin: 0; }
.approvals { list-style: none; display: grid; gap: 0.6rem 2rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.approvals li { display: grid; gap: 0.1rem; margin: 0; }

@media (max-width: 899px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 519px) {
  .site-footer__grid { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------ mobile action bar */
.mobile-bar { display: none; }
@media (max-width: 939px) {
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 0.6rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96); border-top: 1px solid var(--line);
    backdrop-filter: blur(8px);
  }
  .mobile-bar a {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    min-height: 3rem; border-radius: var(--r-m); font-weight: 700; text-decoration: none;
  }
  .mobile-bar__call { border: 1.5px solid var(--ink); color: var(--ink); }
  .mobile-bar__tour { background: var(--red); color: var(--white); }
  .mobile-bar__tour:hover { color: var(--white); background: var(--red-deep); }
  /* The home page starts with the same two actions as buttons. While they are on screen the bar stays away
     (class set by site.js; without the script the bar is always there). */
  .mobile-bar { transition: transform 0.25s ease, visibility 0.25s; }
  body.bar-away .mobile-bar { transform: translateY(110%); visibility: hidden; }
  body:not(.no-bar) .site-footer__legal { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom)); }
  /* Keyboard focus and in-page links stop above the bar instead of under it. */
  html { scroll-padding-bottom: calc(5rem + env(safe-area-inset-bottom)); }
}

/* components.css */
/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 3.25rem; padding: 0.7rem 1.4rem;
  border: 1.5px solid transparent; border-radius: var(--r-m);
  font: 700 1.0625rem/1.2 var(--font-text); text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s, transform 0.08s;
}
.btn:active { transform: translateY(1px); }
/* The primary button carries a faint lacquer highlight along its top edge. */
.btn--primary {
  background: var(--red) linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0) 52%);
  color: var(--white); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 1px 2px rgba(42, 7, 15, 0.3);
}
.btn--primary:hover { background-color: var(--red-deep); color: var(--white); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn--light { background: var(--nude); color: var(--ink); }
.btn--light:hover { background: var(--white); color: var(--ink); }
.btn--ghost-light { border-color: rgba(246, 228, 220, 0.75); color: var(--nude); }
.btn--ghost-light:hover { background: var(--nude); color: var(--ink); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.header-cta { min-height: 2.9rem; padding: 0.5rem 1.1rem; font-size: 1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.link { font-weight: 600; }
.link--quiet { font-weight: 500; color: var(--ink-soft); text-decoration-color: var(--line-strong); text-decoration-thickness: 1px; }

/* ------------------------------------------------------------ notes */
.note { color: var(--ink-soft); font-size: var(--fs-small); max-width: var(--measure); }
.note--start { display: flex; gap: 0.6rem; align-items: flex-start; color: var(--ink); font-size: 1rem; }
.note--start .icon { margin-top: 0.15em; color: var(--red); }
.callout { border-left: 3px solid var(--gold); padding: 0.25rem 0 0.25rem 1.1rem; max-width: var(--measure); }

/* ------------------------------------------------------------ images */
picture { display: block; }
picture img { width: 100%; }
.img-placeholder { background: var(--nude-deep); border-radius: var(--r-l); min-height: 8rem; }
.rounded img, img.rounded { border-radius: var(--r-l); }
.nail-glyph { display: inline-block; vertical-align: middle; }

/* School authorization. The registry has one tap target and a separately sized QR code. */
.ohe-banner {
  --qr-size: 9.25rem;
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  align-items: center; gap: clamp(1.5rem, 4vw, 4rem); padding-block: clamp(1.5rem, 3vw, 2.5rem);
  break-inside: avoid;
}
.ohe-banner__identity {
  display: grid; grid-template-columns: clamp(4rem, 7.8vw, 6.25rem) minmax(0, 1fr);
  align-items: center; gap: clamp(1rem, 2vw, 1.75rem);
}
.ohe-banner__seal { width: 100%; border-radius: 50%; }
.ohe-banner__name {
  margin: 0; max-width: 24ch; font: 580 clamp(1.45rem, 2.25vw, 2.05rem)/1.16 var(--font-display);
  color: var(--ink); text-wrap: balance;
}
.ohe-banner__description { max-width: 43ch; margin: 0.45rem 0 0; font-size: 1rem; line-height: 1.45; color: var(--ink-soft); }
.ohe-banner__registry {
  display: grid; grid-template-columns: minmax(0, 13.5rem) var(--qr-size);
  grid-template-areas: "mark code" "link code"; align-items: center; column-gap: clamp(1rem, 2.4vw, 2rem);
  padding-inline-start: clamp(1.25rem, 3vw, 2.75rem); border-inline-start: 1px solid var(--line);
  color: var(--red-deep); text-decoration: none;
}
/* The supplied 3681 × 869 artwork has its wordmark in the first 3108 × 752 pixels.
   Show that portion in full and give the new code its own white margin. */
.ohe-banner__wordmark { grid-area: mark; align-self: end; width: 100%; max-width: 13.5rem; aspect-ratio: 3108 / 752; overflow: hidden; }
.ohe-banner__wordmark img { width: 118.44%; max-width: none; }
.ohe-banner__link {
  grid-area: link; align-self: start; justify-self: start; display: inline-flex; align-items: center; gap: 0.45rem;
  margin-top: 0.75rem; font-size: 1rem; font-weight: 650; line-height: 1.35;
  text-decoration: underline; text-underline-offset: 0.22em;
}
.ohe-banner__qr {
  grid-area: code; display: block; width: var(--qr-size); max-width: none; height: auto;
  background: white; image-rendering: pixelated;
}
@media (max-width: 819px) {
  .ohe-banner { grid-template-columns: 1fr; gap: 1rem; }
  .ohe-banner__registry { justify-content: space-between; border-inline-start: 0; border-top: 1px solid var(--line); padding: 0.85rem 0 0; }
}
@media (max-width: 359px) {
  .ohe-banner__identity { grid-template-columns: 3.5rem minmax(0, 1fr); gap: 0.75rem; }
  .ohe-banner__registry { grid-template-areas: "mark mark" "link code"; gap: 0.75rem; }
  .ohe-banner__wordmark { justify-self: center; }
  .ohe-banner__link { margin-top: 0; align-self: center; }
}

/* ------------------------------------------------------------ tables */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: 1rem; line-height: 1.45; }
.table caption { text-align: left; font-weight: 700; padding-bottom: 0.6rem; }
.table th, .table td { text-align: left; vertical-align: top; padding: 0.8rem 1rem 0.8rem 0; border-bottom: 1px solid var(--line); }
.table thead th { font-size: var(--fs-small); font-weight: 700; color: var(--ink-soft); border-bottom: 1.5px solid var(--ink); white-space: nowrap; }
.table tbody th { font-weight: 600; }
@media (max-width: 599px) {
  .table thead th, .table thead th.num { white-space: normal; }
  .table th, .table td { padding-right: 0.6rem; }
  .table .num + .num { padding-left: 0.6rem; }
}
.table .num { text-align: right; font-variant-numeric: tabular-nums; padding-right: 0; white-space: nowrap; }
.table tfoot th, .table tfoot td { border-bottom: 0; border-top: 1.5px solid var(--ink); font-weight: 700; font-size: 1.0625rem; }

/* ------------------------------------------------------------ program facts */
.facts { margin: 0; display: grid; }
.facts > div { display: grid; grid-template-columns: minmax(7.5rem, 11rem) 1fr; gap: 0.25rem 1.25rem; padding: 0.85rem 0; border-top: 1px solid var(--line); }
.facts dt { font-weight: 600; color: var(--ink-soft); font-size: var(--fs-small); padding-top: 0.15em; }
.facts dd { margin: 0; }
.facts .sched-line { display: block; }
.facts .sched-line + .sched-line { margin-top: 0.3rem; }
.facts .price { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; line-height: 1; color: var(--black); margin-right: 0.4rem; }
@media (max-width: 479px) {
  .facts > div { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------ program cards (home page and programs page) */
.program-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); }
.program-card { --pad: clamp(1.4rem, 3vw, 2.5rem); background: var(--nude); border-radius: var(--r-l); padding: var(--pad); display: flex; flex-direction: column; overflow: hidden; }
.program-card__photo { display: block; margin: calc(-1 * var(--pad)) calc(-1 * var(--pad)) clamp(1.25rem, 2.5vw, 1.75rem); }
.program-card__photo img, .program-card__photo .img-placeholder { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 0; min-height: 0; }
.program-card__name { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem); }
.program-card__name a { text-decoration: none; }
.program-card__name a:hover { text-decoration: underline; text-decoration-color: var(--red); }
.program-card__name { margin: 0; }
.program-card__name + .program-card__what { margin-top: 0.7rem; max-width: 30rem; }
.program-card .facts { margin-top: 1.25rem; }
.program-card .btn-row { margin-top: auto; padding-top: 1.5rem; }
.facts__note { display: block; font-size: var(--fs-small); color: var(--ink-soft); margin-top: 0.25rem; }
@media (max-width: 859px) {
  .program-cards { grid-template-columns: 1fr; }
  .program-card .btn { flex: 1 1 14rem; }
}

/* ------------------------------------------------------------ steps (real sequences only) */
.steps { list-style: none; counter-reset: step; display: grid; gap: 2rem 2.5rem; grid-template-columns: repeat(auto-fit, minmax(16.5rem, 1fr)); }
.steps li { counter-increment: step; position: relative; padding-top: 3.4rem; border-top: 1.5px solid var(--ink); }
.steps li::before {
  content: counter(step); position: absolute; top: 0.5rem; left: 0;
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 600; line-height: 1; color: var(--red);
}
.steps h3 { margin-bottom: 0.4rem; }
@media (min-width: 1100px) {
  .steps--n5 { grid-template-columns: repeat(5, 1fr); gap: 2rem 1.75rem; }
  .steps--n4 { grid-template-columns: repeat(4, 1fr); }
  .steps--n6 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 700px) and (max-width: 1099px) {
  .steps--n5, .steps--n6 { grid-template-columns: repeat(3, 1fr); }
  .steps--n4 { grid-template-columns: repeat(2, 1fr); }
}
.steps p { color: var(--ink); }

/* ------------------------------------------------------------ checklist */
.checklist { list-style: none; display: grid; gap: 0.65rem; max-width: var(--measure); }
.checklist li { display: grid; grid-template-columns: 1.4rem 1fr; gap: 0.6rem; align-items: start; }
.checklist .icon { color: var(--red); margin-top: 0.25em; }

/* ------------------------------------------------------------ FAQ */
.faq { max-width: 48rem; border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.1rem 0; font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 560; line-height: 1.25; color: var(--black);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--red); }
.faq summary .icon { transition: transform 0.2s; color: var(--red); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq__a { padding: 0 2.5rem 1.4rem 0; max-width: var(--measure); }

/* ------------------------------------------------------------ visit */
.visit { display: grid; gap: 2.5rem; }
.visit--map { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: start; }
.visit h2 { margin-bottom: 1.25rem; }
.contact-list { margin: 0 0 1.25rem; display: grid; gap: 1.1rem; }
.contact-list > div { display: grid; grid-template-columns: 1.6rem 1fr; column-gap: 0.85rem; }
.contact-list .icon { color: var(--red); grid-row: span 2; margin-top: 0.2rem; }
.contact-list dt { font-size: var(--fs-small); color: var(--ink-soft); font-weight: 600; }
.contact-list dd { margin: 0; font-size: 1.0625rem; }
.contact-list address { margin-bottom: 0.15rem; }
.visit__map iframe { width: 100%; height: 100%; min-height: 22rem; border: 0; border-radius: var(--r-l); background: var(--nude-deep); }
@media (max-width: 859px) {
  .visit--map { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------ start dates */
.start-dates h3 { margin-bottom: 0.6rem; }
.start-dates ul { list-style: none; max-width: 40rem; }
.start-dates li { display: grid; grid-template-columns: 12rem 1fr; gap: 0.25rem 1rem; padding: 0.7rem 0; border-top: 1px solid var(--line); }
.start-dates li .muted { grid-column: 2; font-size: var(--fs-small); }
@media (max-width: 479px) {
  .start-dates li { grid-template-columns: 1fr; }
  .start-dates li .muted { grid-column: 1; }
}

/* ------------------------------------------------------------ documents */
.docs { list-style: none; max-width: 52rem; border-top: 1.5px solid var(--ink); }
.docs__item { display: grid; grid-template-columns: 1fr auto; gap: 0.75rem 2rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.docs__title { display: grid; grid-template-columns: 1.6rem 1fr; gap: 0.75rem; }
.docs__title .icon { color: var(--red); margin-top: 0.15rem; }
.docs__title strong { display: block; font-size: 1.0625rem; }
.docs__title .muted { display: block; font-size: var(--fs-small); }
.docs__files { display: grid; gap: 0.4rem; }
.docs__lang { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; align-items: baseline; }
.docs__langname { min-width: 4.5rem; font-size: var(--fs-small); color: var(--ink-soft); font-weight: 600; }
@media (max-width: 639px) {
  .docs__item { grid-template-columns: 1fr; }
  .docs__files { padding-left: 2.35rem; }
}

/* ------------------------------------------------------------ gallery + testimonials (shown only when the school has added items) */
.gallery { list-style: none; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-l); }
.gallery figcaption { font-size: var(--fs-small); color: var(--ink-soft); margin-top: 0.4rem; }
.testimonials { list-style: none; display: grid; gap: 2rem 3rem; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); }
.testimonials blockquote { margin: 0; border-top: 1.5px solid var(--ink); padding-top: 1.1rem; }
.testimonials p { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.35; }
.testimonials footer { display: grid; margin-top: 0.75rem; font-size: var(--fs-small); }
.testimonials cite { font-style: normal; font-weight: 700; }

/* ------------------------------------------------------------ CTA band */
.cta-band { background: var(--oxblood) url(/assets/img/lacquer-texture-1200.jpg) center / cover no-repeat; color: var(--nude); position: relative; isolation: isolate; overflow: hidden; }
@supports (background-image: image-set(url(x.webp) type('image/webp'))) {
  .cta-band { background-image: image-set(url(/assets/img/lacquer-texture-1200.webp) type('image/webp'), url(/assets/img/lacquer-texture-1200.jpg) type('image/jpeg')); }
}
.cta-band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(42, 7, 15, 0.9), rgba(42, 7, 15, 0.62)); }
.cta-band__inner { display: grid; grid-template-columns: 1fr auto; gap: 2rem 3rem; align-items: center; padding-block: clamp(3rem, 7vw, 5.5rem); }
.cta-band h2 { color: var(--white); }
.cta-band p { margin-top: 0.9rem; max-width: 34rem; font-size: var(--fs-lede); line-height: 1.45; }
.cta-band a:not(.btn) { color: var(--white); text-decoration-color: var(--tan); }
.cta-band :focus-visible { outline-color: var(--tan); }
@media (max-width: 859px) {
  .cta-band__inner { grid-template-columns: 1fr; }
  .cta-band .btn { flex: 1 1 14rem; }
}

/* ------------------------------------------------------------ forms */
.form { display: grid; gap: 1.25rem; max-width: 44rem; }
.form fieldset { border: 0; padding: 0; margin: 0 0 0.5rem; display: grid; gap: 1.25rem; min-width: 0; }
.form legend { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 580; color: var(--black); padding: 0; margin-bottom: 1rem; }
.form__grid { display: grid; gap: 1.25rem 1.25rem; grid-template-columns: 1fr 1fr; }
.form__pair { display: grid; gap: 1.25rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 599px) {
  .form__grid { grid-template-columns: 1fr; }
}
.field { display: grid; gap: 0.4rem; align-content: start; min-width: 0; }
.field label { font-weight: 650; font-size: 1rem; }
.optional { font-weight: 400; color: var(--ink-soft); }
.hint { font-size: var(--fs-small); color: var(--ink-soft); margin: 0; }
.field input[type='text'], .field input[type='tel'], .field input[type='email'], .field select, .field textarea {
  width: 100%; min-height: 3.25rem; padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--field-border); border-radius: var(--r-s); background: var(--white); color: var(--ink);
  font: inherit; font-size: 1.0625rem; line-height: 1.4;
  appearance: none; -webkit-appearance: none;
}
.field select {
  padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%231a1113' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.7rem center;
}
.field textarea { min-height: 7.5rem; resize: vertical; }
.field input[type='file'] { font: inherit; font-size: 1rem; padding: 0.6rem 0; min-width: 0; max-width: 100%; }
/* The browser's file button, drawn like the outline button so it is a 44 px target. */
.field input[type='file']::file-selector-button {
  min-height: 2.75rem; margin-right: 0.85rem; padding: 0.45rem 1rem;
  border: 1.5px solid var(--ink); border-radius: var(--r-m); background: var(--white); color: var(--ink);
  font: inherit; font-weight: 700; cursor: pointer;
}
.field input[type='file']::file-selector-button:hover { background: var(--ink); color: var(--white); }
/* Focus ring in lacquer red, 1 px off the field so it reads as focus and not as the error border. */
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 3px solid var(--red); outline-offset: 1px; border-color: var(--red); border-radius: var(--r-s);
}
.field--check { grid-template-columns: 1.6rem 1fr; column-gap: 0.75rem; align-items: start; }
.field--check input { width: 1.5rem; height: 1.5rem; margin: 0.12rem 0 0; accent-color: var(--red); }
.field--check label { font-weight: 500; }
.field--check .error { grid-column: 2; }
.field .error { color: var(--red); font-weight: 600; font-size: var(--fs-small); margin: 0; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--red); border-width: 2px; }
/* Shown without JavaScript when the server sends the visitor back to …?error=1#form-errors */
.form__errors:target { display: block; }
.form__errors { border: 2px solid var(--red); border-radius: var(--r-s); padding: 0.9rem 1rem; color: var(--red-deep); font-weight: 600; }
.form__actions { display: grid; gap: 0.75rem; justify-items: start; margin-top: 0.25rem; }
@media (max-width: 599px) {
  .form__actions { justify-items: stretch; }
}
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ------------------------------------------------------------ shared layout helpers for inner pages */
.stack > * + * { margin-top: 1.25rem; }
.stack-l > * + * { margin-top: 2.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); align-items: start; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split--top { align-items: start; }
.split--media-first > :first-child { order: 0; }
@media (max-width: 859px) {
  .grid-2, .grid-3, .split { grid-template-columns: 1fr; }
}
.panel { background: var(--nude); border-radius: var(--r-l); padding: clamp(1.4rem, 3vw, 2.5rem); }
.section--nude .panel { background: var(--white); }
.panel > h2, .panel > h3 { margin-bottom: 0.75rem; }

/* key facts across the top of a program page */
.fact-strip { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 0; border-top: 1.5px solid var(--ink); margin-top: 2rem; }
.fact-strip li { padding: 1rem 1.25rem 1rem 0; border-bottom: 1px solid var(--line); display: grid; gap: 0.15rem; align-content: start; }
.fact-strip span { font-size: var(--fs-small); color: var(--ink-soft); font-weight: 600; }
.fact-strip strong { font-family: var(--font-display); font-weight: 600; font-size: 1.45rem; line-height: 1.15; color: var(--black); }
/* A plain sentence under a fact (what the class language means for the student). */
.fact-strip small { font-size: var(--fs-small); line-height: 1.45; color: var(--ink); margin-top: 0.2rem; }

.section h2 + p, .section h2 + .section__intro { margin-top: 0; }
.subhead { margin: 2.75rem 0 1rem; }

/* pages/404.css */
/* ------------------------------------------------------------ not found (/404.html, one block per language) */
.notfound { background: var(--nude); padding-block: clamp(2.5rem, 1.5rem + 5vw, 5.5rem) clamp(3rem, 2rem + 5vw, 6rem); }
.notfound__glyphs { display: flex; gap: 0.6rem; color: var(--red); margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.notfound__glyphs svg { display: block; }
.notfound__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem clamp(1.5rem, 3vw, 3rem); align-items: stretch; }
.notfound__block + .notfound__block { border-left: 1px solid var(--line-strong); padding-left: clamp(1.5rem, 3vw, 3rem); }
.notfound h1, .notfound h2 { font-size: var(--fs-h2); line-height: 1.12; }
.notfound__block:lang(ko) h2 { font-family: 'Figtree', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif; font-weight: 700; line-height: 1.28; }
.notfound__block:lang(ko) { word-break: keep-all; }
.notfound__text { font-size: var(--fs-lede); line-height: 1.45; max-width: 30rem; margin: 1.1rem 0 1.75rem; }
.notfound__links { list-style: none; margin-top: 1.75rem; max-width: 24rem; border-top: 1px solid var(--line-strong); }
.notfound__links li { border-bottom: 1px solid var(--line); }
.notfound__links a { display: flex; align-items: center; gap: 0.5rem; min-height: 2.9rem; font-weight: 600; text-decoration: none; }
.notfound__links a:hover { color: var(--red); text-decoration: underline; text-decoration-color: var(--red); }
.notfound__links .icon { color: var(--red); }
@media (max-width: 939px) {
  .notfound__grid { grid-template-columns: 1fr; }
  .notfound__block + .notfound__block { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-strong); padding-top: 2.5rem; }
}

/* pages/about.css */
/* ------------------------------------------------------------ about: team */
.about-team h2 { margin-bottom: 1.25rem; }
.about-team__table tbody th { white-space: nowrap; padding-right: 1.5rem; }
@media (max-width: 599px) {
  .about-team__table tbody th { white-space: normal; }
}

/* ------------------------------------------------------------ about: approvals */
.about-approvals .ohe-banner { border-top: 1px solid var(--line); }
.about-approvals .approvals li { border-top: 1.5px solid var(--ink); padding-top: 0.9rem; }
.about-approvals .approvals strong { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 580; line-height: 1.22; color: var(--black); }

/* pages/apply.css */
/* ------------------------------------------------------------ apply */
.apply-section { padding-top: clamp(2rem, 1rem + 3vw, 3.5rem); }
.apply-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(17rem, 21rem); gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
.apply-main { grid-column: 1; grid-row: 1; min-width: 0; }
.apply-aside { grid-column: 2; grid-row: 1; position: sticky; top: 1.5rem; }

.apply-main__h2 { margin-bottom: 0.5rem; }
.apply-required { color: var(--ink-soft); font-size: var(--fs-small); margin-bottom: 2rem; }
.apply-main .form fieldset > .field { margin-top: 0; }
.apply-tour { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line); max-width: 44rem; }

.apply-aside__panel { background: var(--nude); border-radius: var(--r-l); padding: clamp(1.25rem, 2.5vw, 1.9rem); font-size: 1rem; line-height: 1.5; }
.apply-aside h2 { font-size: var(--fs-h3); line-height: 1.22; margin-bottom: 0.9rem; }
.apply-aside h2:not(:first-child) { margin-top: 1.75rem; }

/* A real sequence, kept small: numerals in lacquer red, the step in bold, detail under it. */
.apply-next { list-style: none; counter-reset: next; display: grid; gap: 0.95rem; }
.apply-next li { counter-increment: next; position: relative; padding-left: 2rem; }
.apply-next li::before {
  content: counter(next); position: absolute; left: 0; top: -0.15rem;
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; line-height: 1.2; color: var(--red);
}
.apply-next strong { display: block; font-weight: 700; }
.apply-next span { display: block; color: var(--ink-soft); font-size: var(--fs-small); margin-top: 0.15rem; }

.apply-aside .checklist { gap: 0.6rem; }
.apply-license { margin-top: 1.1rem; font-size: var(--fs-small); }
.apply-safe {
  display: grid; grid-template-columns: 1.4rem 1fr; gap: 0.6rem; align-items: start;
  margin: 1.5rem 0 0; padding-top: 1.1rem; border-top: 1px solid var(--line);
  font-size: var(--fs-small); font-weight: 600;
}
.apply-safe .icon { color: var(--red); margin-top: 0.15em; }

/* Phones and tablets: the form comes first, then the panel. */
@media (max-width: 939px) {
  .apply-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .apply-main, .apply-aside { grid-column: 1; grid-row: auto; }
  .apply-aside { position: static; }
  .apply-aside h2:not(:first-child) { margin-top: 1.4rem; }
  .apply-aside__panel { padding: 1.25rem 1.25rem 1.35rem; }
  .apply-next { gap: 0.75rem; }
  .apply-safe { margin-top: 1.1rem; padding-top: 0.9rem; }
}

/* pages/careers.css */
/* ------------------------------------------------------------ careers: form */
.careers-form__grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: start; }
.careers-form__intro h2 { margin-bottom: 1rem; }
.careers-form__intro p { max-width: 24rem; }
.careers-form__intro .note { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line); }
@media (max-width: 939px) {
  .careers-form__grid { grid-template-columns: minmax(0, 1fr); }
  .careers-form__intro p { max-width: var(--measure); }
}

/* pages/contact.css */
/* ------------------------------------------------------------ contact: form */
.contact-form__grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: start; }
.contact-form__intro h2 { margin-bottom: 1rem; }
.contact-form__intro p { max-width: 24rem; font-size: var(--fs-lede); line-height: 1.45; }
@media (max-width: 939px) {
  .contact-form__grid { grid-template-columns: 1fr; }
  .contact-form__intro p { max-width: var(--measure); }
}

/* ------------------------------------------------------------ contact: holidays and closings */
.contact-closings { padding-block: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.contact-closings__more { border-top: 1.5px solid var(--ink); border-bottom: 1px solid var(--line); max-width: 62rem; }
.contact-closings__more summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; cursor: pointer; list-style: none; font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 580; color: var(--black); }
.contact-closings__more summary::-webkit-details-marker { display: none; }
.contact-closings__more summary:hover { color: var(--red); }
.contact-closings__more summary .icon { flex: none; color: var(--red); transition: transform 0.2s; }
.contact-closings__more[open] summary .icon { transform: rotate(180deg); }
.contact-closings__more .contact-closings__grid { padding: 0.5rem 0 1.75rem; }
.contact-closings__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2rem clamp(2rem, 5vw, 5rem); align-items: start; }
.contact-closings h3 { margin-bottom: 0.75rem; }
.contact-closings__grid p { max-width: 26rem; }
.contact-holidays { list-style: none; columns: 2 15rem; column-gap: 2.5rem; border-top: 1.5px solid var(--ink); }
.contact-holidays li {
  display: grid; grid-template-columns: 1rem 1fr; gap: 0.7rem; align-items: center;
  padding: 0.6rem 0; border-bottom: 1px solid var(--line); break-inside: avoid;
}
.contact-holidays .nail-glyph { color: var(--red); }
.contact-jobs { margin-top: 1.5rem; color: var(--ink-soft); }
@media (max-width: 859px) {
  .contact-closings__grid { grid-template-columns: 1fr; }
}

/* pages/documents.css */
/* ------------------------------------------------------------ documents: files */
.documents-files h2 { margin-bottom: 1.25rem; }

/* pages/eyelash.css */
/* ------------------------------------------------------------ eyelash
   The Eyelash Technology page shares its layout with the nail page (programs.css, programs- prefix).
   Here: the crop of the top photo on wide screens (keeps the mannequin's eye in frame). */
.page-eyelash .programs-top__photo { --photo-pos: 8% 50%; }

/* pages/faq.css */
/* ------------------------------------------------------------ FAQ page: one list of questions */
.faq-page .faq { max-width: 48rem; }

/* pages/home.css */
/* ------------------------------------------------------------ hero */
.hero { background: var(--nude); overflow: hidden; }
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); align-items: center;
  padding-block: clamp(2.5rem, 5vw, 4rem);
}
.hero h1 { font-size: min(var(--fs-hero), 4.125rem); line-height: 1; letter-spacing: -0.022em; }
.hero .lede { font-size: var(--fs-lede); line-height: 1.45; max-width: 34rem; margin: 1.5rem 0 1.75rem; }
.hero__points { list-style: none; display: grid; gap: 0.55rem; margin-top: 2rem; font-size: 1rem; }
.hero__points li { display: grid; grid-template-columns: 1.4rem 1fr; gap: 0.6rem; align-items: start; }
.hero__points .icon { color: var(--red); margin-top: 0.2em; }
.home-authorization .ohe-banner { border-bottom: 1px solid var(--line); }
@media (min-width: 1160px) {
  .hero__points { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem 1rem; }
}

/* The fan: five photos framed in the classic nail shapes, spread like a swatch fan. */
.fan { margin: 0; min-width: 0; }
.fan__nails { display: flex; align-items: flex-end; justify-content: center; gap: clamp(0.4rem, 1.1vw, 0.95rem); }
.fan__nail {
  position: relative; flex: 0 1 8.4rem; min-width: 0; aspect-ratio: 100 / var(--h, 200);
  background: var(--nude-deep);
  transform-origin: 50% 170%; transform: rotate(var(--r, 0deg));
}
.fan__nail--round { clip-path: url(#nail-round); --h: 182; --r: -9deg; }
.fan__nail--squoval { clip-path: url(#nail-squoval); --h: 206; --r: -4.5deg; }
.fan__nail--almond { clip-path: url(#nail-almond); --h: 232; --r: 0deg; }
.fan__nail--coffin { clip-path: url(#nail-coffin); --h: 206; --r: 4.5deg; }
.fan__nail--stiletto { clip-path: url(#nail-stiletto); --h: 182; --r: 9deg; }
.fan__nail picture, .fan__nail img, .fan__nail .img-placeholder { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; min-height: 0; }
.fan__coat { position: absolute; inset: 0; background: var(--red); transform-origin: 50% 100%; }
/* One thing you learn under each photo. The row repeats the photos' widths and gaps, so each caption sits under
   its picture. Two short lines at most. */
.fan__learn {
  list-style: none; display: flex; justify-content: center; gap: clamp(0.4rem, 1.1vw, 0.95rem); margin-top: 1.1rem;
  font-size: 0.8125rem; line-height: 1.25; font-weight: 600; color: var(--ink);
}
.fan__learn li { flex: 0 1 8.4rem; min-width: 0; text-align: center; text-wrap: balance; transform: translateX(var(--dx, 0)); }
/* The photos lean outward like a fan, which carries their lower edges away from the centre. Each caption moves
   the same way, so it stays under its own photo. */
.fan__learn li:nth-child(1) { --dx: -20%; }
.fan__learn li:nth-child(2) { --dx: -11%; }
.fan__learn li:nth-child(4) { --dx: 11%; }
.fan__learn li:nth-child(5) { --dx: 20%; }
/* On wide screens the photos are far enough apart for each caption to stay on one line. */
@media (min-width: 1200px) {
  .fan__learn li { white-space: nowrap; }
}

/* One load animation: each nail takes a coat of lacquer from cuticle to tip, then the photo appears. */
@keyframes coat { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes reveal { from { opacity: 0; } to { opacity: 1; } }
@keyframes coat-out { to { opacity: 0; } }
.fan__coat {
  animation: coat 0.5s cubic-bezier(0.3, 0.7, 0.2, 1) both, coat-out 0.2s linear forwards;
  animation-delay: calc(var(--i) * 0.11s + 0.15s), calc(var(--i) * 0.11s + 1.3s);
}
.fan__nail picture { animation: reveal 0.6s ease-out both; animation-delay: calc(var(--i) * 0.11s + 0.6s); }

/* Between these widths the page has no spare margin, and the tilted outer nails would reach past the edge of
   the window. A little room on each side keeps the whole fan inside. */
@media (min-width: 940px) and (max-width: 1339px) {
  .fan { padding-inline: clamp(1.5rem, 3.4vw, 2.75rem); }
}

@media (max-width: 939px) {
  /* On phones the photo fan sits right under the headline, so the first screen shows the craft. */
  .hero__grid { grid-template-columns: minmax(0, 1fr); row-gap: 1.5rem; }
  .hero__text { display: contents; }
  .hero h1 { order: 1; }
  .fan { order: 2; }
  .hero .lede { order: 3; margin: 0; }
  .hero .btn-row { order: 4; }
  .hero__points { order: 5; margin-top: 0.25rem; }
  .fan { padding-inline: 4%; }
  /* Five captions share a phone's width: the type steps down with the screen. The space above them grows with
     the photos, which are largest on a tablet. */
  .fan__learn { margin-top: clamp(0.6rem, 2.2vw, 1.1rem); font-size: clamp(0.625rem, 0.2rem + 2.1vw, 0.8125rem); }
  /* The fan leans less on a phone. */
  .fan__learn li:nth-child(1) { --dx: -15%; } .fan__learn li:nth-child(2) { --dx: -9%; }
  .fan__learn li:nth-child(4) { --dx: 9%; } .fan__learn li:nth-child(5) { --dx: 15%; }
  /* Two full-width buttons, one under the other: the same on every phone and in every language. */
  .hero .btn-row .btn { flex: 1 1 100%; }
  .fan__nail--round { --r: -7deg; } .fan__nail--squoval { --r: -3.5deg; } .fan__nail--coffin { --r: 3.5deg; } .fan__nail--stiletto { --r: 7deg; }
}

/* ------------------------------------------------------------ instructors: one line */
.home-team { padding-block: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.home-team__line { font-family: var(--font-display); font-size: var(--fs-lede); line-height: 1.4; color: var(--black); max-width: 44rem; }
.home-team__line a { font-family: var(--font-text); font-size: 1rem; font-weight: 600; margin-left: 0.35rem; white-space: nowrap; }

.home-visit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.home-visit h2 { margin-bottom: 1.5rem; }
@media (max-width: 859px) { .home-visit { grid-template-columns: 1fr; } }
.faq__more { margin-top: 1.5rem; }

/* pages/nail.css */
/* ------------------------------------------------------------ nail
   The Nail Technology page shares its layout with the eyelash page (programs.css, programs- prefix).
   Here: the crop of the top photo on wide screens. */
.page-nail .programs-top__photo { --photo-pos: 28% 50%; }

/* pages/privacy.css */
/* ------------------------------------------------------------ privacy notice */
.privacy__body { max-width: 40rem; }
.privacy__body section > h2 { margin: 2.6rem 0 0.75rem; font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2rem); }
.privacy-updated { color: var(--ink-soft); font-size: var(--fs-small); }
.privacy-draft {
  display: inline-block; margin-bottom: 1.5rem; padding: 0.45rem 0.85rem; border-radius: var(--r-s);
  background: var(--tan); color: var(--ink); font-weight: 700; font-size: var(--fs-small);
}

/* pages/programs.css */
/* ------------------------------------------------------------ programs family
   Shared by the programs index and the two program pages (nail, eyelash), which are all built by
   src/pages/programs.mjs. Every class here uses the programs- prefix. Page-only extras live in nail.css and
   eyelash.css. */

/* ---------- top band of a program page: key facts beside the photo */
.programs-top { background: var(--nude); padding-bottom: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.programs-top__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: 'facts photo';
  gap: 2rem clamp(2rem, 5vw, 5rem); align-items: start;
}
.programs-top__facts { grid-area: facts; }
/* On wide screens the photo fills the height of the facts column; each page sets the crop (--photo-pos). */
.programs-top__photo { grid-area: photo; align-self: stretch; position: relative; min-height: 18rem; }
.programs-top__photo picture, .programs-top__photo .img-placeholder { position: absolute; inset: 0; height: 100%; border-radius: var(--r-l); overflow: hidden; }
.programs-top__photo img { width: 100%; height: 100%; object-fit: cover; object-position: var(--photo-pos, 50% 50%); border-radius: var(--r-l); }

.programs-facts { margin-top: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.programs-facts li { padding-right: 1rem; }
/* "Day classes or evening classes" needs the whole line; in half a column it broke into four. */
.programs-facts li.is-wide { grid-column: 1 / -1; }

@media (max-width: 939px) {
  .programs-top__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'facts' 'photo'; }
  .programs-top__photo { min-height: 0; }
  .programs-top__photo picture, .programs-top__photo .img-placeholder { position: static; height: auto; }
  .programs-top__photo .img-placeholder { aspect-ratio: 3 / 2; }
  .programs-top__photo img { height: auto; aspect-ratio: 3 / 2; }
}
@media print {
  .programs-top { background: none; }
  .programs-top__photo { display: none; }
}

/* ---------- section bands of a program page: heading and a short line on the left, the details on the right */
.programs-band { padding-block: clamp(2.5rem, 1.75rem + 3.5vw, 4.5rem); }
.programs-sec { display: grid; grid-template-columns: minmax(0, 24rem) minmax(0, 1fr); gap: 1.25rem clamp(2.5rem, 5vw, 5rem); align-items: start; }
.programs-sec__head h2 { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.4rem); }
.programs-sec__head h2:not(:last-child) { margin-bottom: 0.75rem; }
.programs-sec__head p { max-width: var(--measure); }
.programs-sec__body { min-width: 0; }
.programs-sec__body > * + * { margin-top: 1.25rem; }
.programs-after { max-width: var(--measure); }
.programs-after > p + p, .programs-cost-notes > p + p { margin-top: 0.75rem; }
.programs-cost-notes > p { max-width: var(--measure); }
@media (max-width: 939px) {
  .programs-sec { grid-template-columns: minmax(0, 1fr); }
}

/* class times: one block per schedule (label, days, time, length) */
.programs-times { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.25rem 2.5rem; max-width: 44rem; }
.programs-times li { display: grid; gap: 0.2rem; align-content: start; padding-top: 0.9rem; border-top: 1.5px solid var(--ink); }
.programs-times strong { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; line-height: 1.25; color: var(--black); margin-bottom: 0.15rem; }

/* ---------- programs page: one card per program (the cards themselves are in components.css) */
.programs-list { padding-top: clamp(1.75rem, 1rem + 3vw, 3rem); }
.programs-list__after { margin-top: 1.75rem; }

/* pages/thanks.css */
/* ------------------------------------------------------------ thank you */
.thanks-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.thanks-next h2, .thanks-reads h2 { margin-bottom: 0.6em; }
.thanks-next__text { font-size: var(--fs-lede); line-height: 1.45; max-width: 30rem; margin-bottom: 1.75rem; }

.thanks-reads ul { list-style: none; border-top: 1.5px solid var(--ink); }
.thanks-reads li { display: grid; gap: 0.2rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.thanks-reads .link { font-size: 1.125rem; justify-self: start; }
.thanks-reads span { color: var(--ink-soft); font-size: var(--fs-small); }

@media (max-width: 859px) {
  .thanks-grid { grid-template-columns: 1fr; }
  .thanks-next .btn { flex: 1 1 14rem; }
}

/* pages/tuition.css */
/* ------------------------------------------------------------ tuition (the cost page) */
.tuition-costs { padding-top: clamp(1.75rem, 1rem + 3vw, 3rem); }

.tuition-programs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); margin-top: 1.5rem; }
.tuition-program h3 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem); }
.tuition-program h3 a { text-decoration: none; }
.tuition-program h3 a:hover { text-decoration: underline; text-decoration-color: var(--red); }
.tuition-program__hours { color: var(--ink-soft); font-weight: 600; font-size: var(--fs-small); margin: 0.35rem 0 1rem; }
@media (max-width: 859px) {
  .tuition-programs { grid-template-columns: 1fr; }
}

/* One sentence under the two cards: the fee and the deposit are inside the total. */
.tuition-part { margin-top: 1.5rem; max-width: var(--measure); font-weight: 600; }
.tuition-state-fee { margin-top: 1.75rem; max-width: var(--measure); color: var(--ink-soft); }

/* total, what it includes, deposit: label above value, hairlines between */
.tuition-facts { margin: 0; border-top: 1.5px solid var(--ink); }
.tuition-facts > div { display: grid; gap: 0.15rem; padding: 0.8rem 0; border-top: 1px solid var(--line-strong); }
.tuition-facts > div:first-child { border-top: 0; }
.tuition-facts dt { font-size: var(--fs-small); font-weight: 600; color: var(--ink-soft); }
.tuition-facts dd { margin: 0; }
.tuition-facts__total dd { font-family: var(--font-display); font-size: 2rem; font-weight: 600; line-height: 1.1; color: var(--black); }

/* ways to pay and financial aid, side by side under the steps */
.tuition-pay { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem clamp(2rem, 5vw, 5rem); align-items: start; margin-top: clamp(2.25rem, 4vw, 3.25rem); max-width: 62rem; }
.tuition-block h3 { margin-bottom: 0.6rem; }
.tuition-block p { max-width: var(--measure); }
.tuition-block .checklist { margin-bottom: 1rem; }
@media (max-width: 699px) {
  .tuition-pay { grid-template-columns: 1fr; }
}

