@font-face {
  font-family: 'Plex Serif';
  src: url('fonts/plex-serif-regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Plex Sans';
  src: url('fonts/plex-sans-regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Plex Sans';
  src: url('fonts/plex-sans-semibold.ttf') format('truetype');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: light;
  --canvas: #f8f5ef;
  --paper: #fffcf7;
  --ink: #2b2329;
  --subtle: #60535b;
  --accent: #56384b;
  --accent-hover: #3f2536;
  --line: #d9ccc8;
  --rose: #f0e5e8;
  --lilac: #eae1eb;
  --focus: #67407b;
  --control-border: #8c7280;
  --display: 'Plex Serif', Georgia, serif;
  --body: 'Plex Sans', system-ui, sans-serif;
  font-family: var(--body);
  font-synthesis: none;
  color: var(--ink);
  background: var(--canvas);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, figure, p, h1, h2, h3, dl, dd { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 20px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
[tabindex="-1"]:focus-visible { outline-offset: -3px; }

.shell { width: min(1252px, calc(100% - 112px)); margin-inline: auto; }
.icon-library { display: none; }
.icon { width: 19px; height: 19px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: fixed; top: 10px; left: 10px; z-index: 2; padding: 11px 16px; background: var(--paper); transform: translateY(-150%); }
.skip:focus { transform: none; }

.masthead { border-bottom: 1px solid var(--line); }
.masthead-inner { display: flex; min-height: 78px; gap: 22px; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-height: 44px; font-size: 17px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.brand-city { color: var(--accent); }
nav { display: flex; gap: 28px; align-items: center; }
nav a { display: inline-flex; min-height: 44px; gap: 6px; align-items: center; color: var(--subtle); font-size: 15px; font-weight: 600; text-decoration: none; }
nav a:hover { color: var(--accent-hover); text-decoration: underline; text-underline-offset: 4px; }
nav .nav-cta { color: var(--accent); border: 1px solid var(--control-border); padding-inline: 14px; border-radius: 4px; }
nav .nav-cta:hover { background: var(--rose); text-decoration: none; }
nav .icon { width: 16px; height: 16px; }

.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 5vw, 80px); padding-block: 55px 48px; }
.hero-copy { padding-block: 16px 31px; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--accent); font-size: 12px; font-weight: 600; letter-spacing: .095em; line-height: 1.45; text-transform: uppercase; }
.eyebrow-dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; flex: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; }
h1 { font-size: clamp(49px, 6.1vw, 92px); line-height: .99; letter-spacing: -.064em; margin-block: 22px 23px; }
h1 > span { color: var(--accent); }
.hero-intro { max-width: 385px; color: var(--subtle); font-size: clamp(17px, 1.5vw, 20px); line-height: 1.54; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 27px; }
.button, .text-action { display: inline-flex; min-height: 47px; align-items: center; justify-content: center; gap: 9px; font: 600 15px/1.32 var(--body); }
.button { padding: 12px 15px; border: 1px solid transparent; border-radius: 4px; text-decoration: none; cursor: pointer; }
.button-solid { color: #fffaf5; background: var(--accent); }
.button-solid:hover { background: var(--accent-hover); }
.button-outline { color: var(--accent); border-color: var(--control-border); background: transparent; }
.button-outline:hover { color: var(--accent-hover); background: var(--rose); }
.text-action, .program-note a, .footer-bottom a { color: var(--accent); font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.text-action:hover, .program-note a:hover, .footer-bottom a:hover { color: var(--accent-hover); }
.hero-figure { min-width: 0; }
.hero-figure img { width: 100%; height: auto; border-radius: 110px 5px 5px 5px; background: var(--lilac); }
.hero-figure figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 3px 12px; border-bottom: 1px solid var(--line); padding: 10px 1px 9px; color: var(--subtle); font-size: 12px; line-height: 1.35; }
.hero-figure figcaption span:first-child { color: var(--accent); font-weight: 600; }

.program-section { border-top: 1px solid var(--line); padding-block: 53px 59px; }
.section-lead { margin-bottom: 23px; }
.section-index > span { display: inline-flex; min-width: 34px; align-items: center; gap: 7px; font-variant-numeric: tabular-nums; letter-spacing: 0; }
.section-index > span::after { content: ''; width: 15px; border-top: 1px solid currentColor; }
h2 { margin-top: 11px; font-size: clamp(38px, 4.4vw, 64px); line-height: 1.05; letter-spacing: -.055em; }
.program-card { display: grid; grid-template-columns: minmax(0, 1.44fr) minmax(0, 1fr); background: var(--paper); border: 1px solid var(--line); border-radius: 5px; }
.program-copy { padding: clamp(22px, 3.1vw, 44px); }
.course-label { width: fit-content; border: 1px solid #d5bcc8; border-radius: 3px; background: var(--rose); padding: 4px 8px; font-size: 11px; letter-spacing: .06em; }
h3 { margin-block: 12px 8px; font-size: clamp(31px, 3.6vw, 49px); line-height: 1.09; letter-spacing: -.045em; }
.program-copy p:not(.course-label), .program-note { color: var(--subtle); font-size: 16px; line-height: 1.56; }
.program-copy p:not(.course-label) { max-width: 510px; }
.program-copy .button { margin-top: 17px; }
.program-details { align-self: stretch; display: grid; align-content: center; border-left: 1px solid var(--line); border-radius: 0 4px 4px 0; background: #f5eeef; padding: 14px clamp(17px, 2.5vw, 34px); }
.program-details > div { display: grid; gap: 2px; padding-block: 12px; }
.program-details > div + div { border-top: 1px solid var(--line); }
dt { color: var(--subtle); font-size: 14px; line-height: 1.4; }
dd { font-size: 16px; font-weight: 600; line-height: 1.35; }
.program-note { margin-top: 15px; }

.consultation-section { padding-block: 60px 66px; background: var(--lilac); }
.consultation-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); gap: clamp(28px, 7vw, 102px); align-items: center; }
.consultation-copy h2 { margin-bottom: 14px; }
.consultation-copy > p:not(.eyebrow, .contact-number) { max-width: 370px; color: var(--subtle); font-size: 18px; line-height: 1.55; }
.contact-number { display: flex; width: fit-content; flex-wrap: wrap; gap: 4px 11px; border-top: 1px solid #beacbe; margin-top: 22px; padding-top: 11px; color: var(--accent); font-size: 15px; font-weight: 600; }
.contact-number span { font-weight: 400; }
.consultation-form { display: grid; justify-items: start; gap: 14px; padding: clamp(20px, 2.6vw, 34px); border: 1px solid #d5c7cf; border-radius: 5px; background: var(--paper); }
.field { width: 100%; }
label { display: block; margin-bottom: 6px; font-size: 16px; font-weight: 600; }
label span, textarea::placeholder { color: var(--subtle); font-weight: 400; opacity: 1; }
select, textarea { width: 100%; border: 1px solid var(--control-border); border-radius: 4px; background: #fffefa; color: var(--ink); font: 16px/1.45 var(--body); padding: 10px 12px; }
select { min-height: 46px; }
textarea { min-height: 95px; display: block; resize: vertical; }
.message-preview { width: 100%; font-size: 14px; color: var(--accent); }
summary { cursor: pointer; width: fit-content; min-height: 36px; padding-block: 8px; font-weight: 600; }
summary:hover { text-decoration: underline; text-underline-offset: 4px; }
.message-preview p { margin-top: 4px; border-left: 2px solid #a87e9a; padding: 5px 10px; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--subtle); line-height: 1.55; }
.form-note { color: var(--subtle); font-size: 13px; line-height: 1.45; margin-top: -6px; }

.footer { padding-top: 47px; }
.footer-main { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 45px; padding-bottom: 33px; }
.footer h2 { font-size: clamp(36px, 4.1vw, 57px); margin-bottom: 10px; }
.footer-main p:not(.eyebrow) { max-width: 390px; color: var(--subtle); font-size: 16px; line-height: 1.55; }
.contact-links { display: grid; align-self: end; }
.contact-links a { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--accent); font-size: 16px; font-weight: 600; text-decoration: none; }
.contact-links a:hover > span { text-decoration: underline; text-underline-offset: 4px; }
.contact-links small { display: inline-block; margin-left: 7px; color: var(--subtle); font-size: 13px; font-weight: 400; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; align-items: center; min-height: 55px; border-top: 1px solid var(--line); color: var(--subtle); font-size: 13px; }
.footer-bottom a { display: inline-flex; min-height: 44px; gap: 4px; align-items: center; }
.footer-bottom .icon { width: 15px; height: 15px; }

@media (max-width: 1050px) {
  .shell { width: calc(100% - 64px); }
  .hero-figure img { border-top-left-radius: 82px; }
}

@media (max-width: 720px) {
  .shell { width: calc(100% - 40px); }
  .masthead-inner { min-height: 67px; }
  nav { gap: 15px; }
  nav a { font-size: 14px; }
  nav .nav-cta { padding-inline: 9px; }
  .hero { grid-template-columns: 1fr; gap: 24px; padding-block: 32px 30px; }
  .hero-copy { padding: 0; }
  h1 { font-size: clamp(48px, 10vw, 71px); margin-block: 15px 14px; }
  .hero-actions { margin-top: 17px; }
  .hero-figure img { max-height: 440px; object-fit: cover; border-top-left-radius: 70px; }
  .program-section, .consultation-section { padding-block: 36px 42px; }
  .consultation-grid, .footer-main { grid-template-columns: 1fr; gap: 21px; }
  .footer { padding-top: 34px; }
  .footer-main { padding-bottom: 24px; }
}

@media (max-width: 530px) {
  .masthead-inner { display: grid; gap: 0; padding-top: 6px; }
  nav { gap: clamp(7px, 3.2vw, 18px); padding-block: 2px 7px; }
  nav .nav-cta { min-height: 44px; }
  .brand { gap: 8px; font-size: 16px; }
  .brand img { width: 31px; height: 31px; }
  .hero { padding-top: 27px; }
  .hero-actions { gap: 4px 14px; }
  .program-card { grid-template-columns: 1fr; }
  .program-copy { padding: 19px 16px; }
  .program-details { border-left: 0; border-top: 1px solid var(--line); border-radius: 0 0 4px 4px; padding: 4px 16px; }
  .consultation-form { padding: 16px; }
}

@media (max-width: 355px) {
  nav { gap: 8px; }
  nav a { font-size: 13px; }
  nav .nav-cta { padding-inline: 8px; }
  nav .icon { width: 14px; height: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
