/* =====================================================================================================
   DMA theme · design tokens + components. Brand palette kept from the current site (owner, 2026-10-23).
   Allowed text/background pairs (WCAG AA, see website/README.md):
     body #2F2F2F or navy #023047 on white / #F5F7F8 · navy or body on yellow #FECC02 · white on navy / olive.
   Never: white on yellow or lime, yellow text on white, muted #58636B on yellow.
   ===================================================================================================== */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-600.woff2") format("woff2"); }

:root {
  --navy-950: #012535; --navy-900: #023047; --navy-800: #0b3f59; --navy-050: #eaf1f4;
  --yellow-500: #fecc02; --yellow-600: #e2b600; --yellow-050: #fff7d6;
  --olive-800: #173f25; --olive-700: #20512a; --olive-050: #e9f0eb;
  --lime-500: #95c12b; --lime-050: #f2f7e5;
  --body: #2f2f2f; --muted: #58636b; --surface: #ffffff; --surface-muted: #f5f7f8; --border: #d7e0e4;
  --focus: #023047; --focus-on-dark: #ffffff;

  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --text-xs: .75rem; --text-sm: .875rem; --text-base: 1rem; --text-lg: 1.125rem; --text-xl: 1.25rem;
  --text-2xl: 1.5rem; --text-3xl: 1.875rem; --text-4xl: 2.5rem; --text-display: clamp(2.4rem, 5vw, 4rem);

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 80px; --s10: 96px;
  --r-sm: 4px; --r-md: 8px; --r-lg: 16px; --shadow: 0 8px 24px rgba(2, 48, 71, .08);
  --container: 1200px; --read: 720px; --gutter: 16px;
  --ease: cubic-bezier(.2, .7, .2, 1); --t: 180ms;
}
@media (min-width: 768px) { :root { --gutter: 20px; } }
@media (min-width: 1024px) { :root { --gutter: 24px; } }

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; font-family: var(--font); font-size: var(--text-base); line-height: 1.65; color: var(--body);
  background: var(--surface); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { color: var(--navy-900); font-weight: 600; line-height: 1.2; margin: 0 0 var(--s4); letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4vw, var(--text-4xl)); line-height: 1.15; }
h2 { font-size: clamp(1.5rem, 3vw, var(--text-3xl)); line-height: 1.25; }
h3 { font-size: var(--text-xl); line-height: 1.35; }
h4 { font-size: var(--text-lg); }
p, ul, ol, dl, table, figure, blockquote { margin: 0 0 var(--s4); }
a { color: var(--olive-700); text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--navy-900); text-decoration-thickness: 2px; }
strong { font-weight: 600; }
small { font-size: var(--text-sm); }
hr { border: 0; border-top: 1px solid var(--border); margin: var(--s7) 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
.section--navy :focus-visible, .site-footer :focus-visible, .cta-band :focus-visible, .hero :focus-visible { outline-color: var(--focus-on-dark); }
::selection { background: var(--yellow-500); color: var(--navy-900); }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.screen-reader-text, .sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: var(--s4); top: -100px; z-index: 100; background: var(--yellow-500); color: var(--navy-900);
  padding: var(--s3) var(--s4); border-radius: var(--r-sm); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: var(--s4); }
main:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; }
.hide-sm { display: none; }
@media (min-width: 480px) { .hide-sm { display: inline; } }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container--read { max-width: calc(var(--read) + 2 * var(--gutter)); }
.container--wide { max-width: calc(1040px + 2 * var(--gutter)); }
.narrow { max-width: calc(var(--read) + 2 * var(--gutter)); }

/* ---------------------------------------------------------------- buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-height: 44px; padding: 10px 20px;
  border-radius: var(--r-sm); border: 2px solid transparent; font: 600 var(--text-base)/1.2 var(--font); text-decoration: none;
  cursor: pointer; transition: background var(--t) var(--ease), color var(--t) var(--ease), border-color var(--t) var(--ease); }
.btn .icon { width: 1.1em; height: 1.1em; }
.btn--primary { background: var(--yellow-500); color: var(--navy-900); }
.btn--primary:hover { background: var(--yellow-600); color: var(--navy-950); }
.btn--secondary { background: var(--navy-900); color: #fff; }
.btn--secondary:hover { background: var(--navy-950); color: #fff; }
.btn--ghost { border-color: currentColor; color: var(--navy-900); background: transparent; }
.btn--ghost:hover { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.btn--lg { min-height: 52px; padding: 12px 26px; font-size: var(--text-lg); }
.link-arrow { display: inline-flex; align-items: center; gap: var(--s2); font-weight: 600; color: var(--navy-900); text-decoration: none; }
.link-arrow .icon { transition: transform var(--t) var(--ease); }
.link-arrow:hover { text-decoration: underline; }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-strong { display: inline-flex; align-items: center; gap: var(--s2); font-weight: 600; min-height: 36px; }

/* ---------------------------------------------------------------- header + navigation */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--border);
  backdrop-filter: saturate(1.4) blur(6px); }
.site-header__inner { display: flex; align-items: center; gap: var(--s4); min-height: 76px; }
.brand { display: block; margin-right: auto; }
.brand img { width: 132px; height: auto; }
@media (min-width: 1024px) { .brand img { width: 150px; } }
.nav-open { display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; padding: 8px 12px; border: 1px solid var(--border);
  background: #fff; border-radius: var(--r-sm); color: var(--navy-900); font: 500 var(--text-sm) var(--font); cursor: pointer; order: 3; }
.header-cta { order: 2; padding-inline: 14px; }
.nav { display: none; }

/* mobile panel */
@media (max-width: 1023.98px) {
  .nav.is-open { display: flex; flex-direction: column; position: fixed; inset: 0; z-index: 60; background: #fff; overflow-y: auto;
    padding: var(--s4) var(--gutter) var(--s7); }
  .menu-open { overflow: hidden; }
  .nav__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s4); }
  .nav__title { font-weight: 600; color: var(--navy-900); }
  .nav-close { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: var(--r-sm);
    background: #fff; color: var(--navy-900); cursor: pointer; }
  .nav__list { list-style: none; margin: 0 0 var(--s5); padding: 0; }
  .nav__item { border-bottom: 1px solid var(--border); }
  .nav__toggle, .nav__link { display: flex; width: 100%; align-items: center; justify-content: space-between; min-height: 52px;
    padding: 12px 4px; background: none; border: 0; color: var(--navy-900); font: 500 var(--text-lg) var(--font); text-decoration: none; cursor: pointer; text-align: left; }
  .nav__toggle .icon { transition: transform var(--t) var(--ease); }
  .nav__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
  .nav__sub { list-style: none; margin: 0; padding: 0 0 var(--s3) var(--s4); display: none; }
  .nav__toggle[aria-expanded="true"] + .nav__sub { display: block; }
  .nav__sub .nav__link { min-height: 44px; font-size: var(--text-base); font-weight: 400; color: var(--body); }
  .nav__cta { width: 100%; }
}
/* without JavaScript the mobile menu is a plain, always-visible list (progressive enhancement) */
@media (max-width: 1023.98px) {
  .no-js .nav-open { display: none; }
  .no-js .nav { display: block; order: 4; width: 100%; padding-bottom: var(--s4); }
  .no-js .nav__head { display: none; }
  .no-js .nav__sub { display: block; }
  .no-js .site-header__inner { flex-wrap: wrap; }
  .no-js .site-header { position: static; }
}
/* desktop */
@media (min-width: 1024px) {
  .nav-open, .nav__head, .nav__cta { display: none; }
  .nav { display: block; order: 1; }
  .header-cta { order: 2; }
  .nav__list { display: flex; gap: var(--s1); list-style: none; margin: 0; padding: 0; }
  .nav__item { position: relative; }
  .nav__toggle, .nav__link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 12px; border: 0;
    background: none; border-radius: var(--r-sm); color: var(--navy-900); font: 500 .95rem var(--font); text-decoration: none; cursor: pointer; }
  .nav__toggle .icon { width: 16px; height: 16px; transition: transform var(--t) var(--ease); }
  .nav__toggle:hover, .nav__link:hover { background: var(--surface-muted); }
  .nav__item.is-current > .nav__toggle, .nav__item.is-current > .nav__link { box-shadow: inset 0 -3px 0 var(--yellow-500); }
  .nav__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
  .nav__sub { position: absolute; top: calc(100% + 6px); left: 0; min-width: 260px; list-style: none; margin: 0; padding: var(--s2);
    background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); box-shadow: var(--shadow); display: none; }
  .nav__toggle[aria-expanded="true"] + .nav__sub, .has-sub:focus-within > .nav__sub { display: block; }
  .nav__sub .nav__link { display: flex; width: 100%; font-weight: 400; color: var(--body); }
  .nav__sub .nav__link[aria-current="page"] { font-weight: 600; color: var(--navy-900); }
}

/* ---------------------------------------------------------------- page headers */
.page-hero { background: linear-gradient(180deg, var(--navy-050), #fff); border-bottom: 1px solid var(--border); padding: var(--s6) 0 var(--s7); }
@media (min-width: 768px) { .page-hero { padding: var(--s7) 0 var(--s8); } }
.page-hero__title { max-width: 22ch; margin-bottom: var(--s3); }
.page-hero__lead { max-width: 62ch; font-size: var(--text-lg); color: var(--body); margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: var(--s2); margin: 0 0 var(--s3); font-size: var(--text-sm); font-weight: 600;
  letter-spacing: .04em; color: var(--olive-700); }
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--lime-500); }
.eyebrow a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; min-height: 32px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; margin: 0 0 var(--s4); padding: 0; font-size: var(--text-sm); color: var(--muted); }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin: 0 var(--s2); color: var(--border); }
.breadcrumbs a { color: var(--muted); text-decoration: none; display: inline-block; padding-block: 2px; min-height: 24px; }
.breadcrumbs a:hover { color: var(--navy-900); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--body); }

/* ---------------------------------------------------------------- sections */
.section { padding: var(--s8) 0; }
@media (min-width: 1024px) { .section { padding: var(--s10) 0; } }
.section--muted { background: var(--surface-muted); }
.section--olive { background: var(--olive-050); }
.section--navy { background: var(--navy-900); color: #e8eff2; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy a:not(.btn) { color: #fff; }
.section--navy .btn--primary, .cta-band .btn--primary { color: var(--navy-900); }
.section--navy .btn--primary:hover, .cta-band .btn--primary:hover { color: var(--navy-950); }
.section--navy .eyebrow { color: var(--yellow-500); }
.section--tight { padding: var(--s7) 0; }
.section__head { max-width: 760px; margin-bottom: var(--s7); }
.section__head--center { text-align: center; margin-inline: auto; }
.section__head--center .eyebrow { justify-content: center; }
.section__title { margin-bottom: var(--s3); }
.section__lead { font-size: var(--text-lg); color: var(--muted); margin: 0; }
.section--navy .section__lead { color: #cfdde4; }
.section__foot { margin-top: var(--s7); }

.grid { display: grid; gap: var(--s5); }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .grid { gap: var(--s6); } }

.page-content > .section:first-child { padding-top: var(--s8); }
.prose-block { max-width: var(--read); }
.prose-block > :last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------- home hero */
.hero { position: relative; isolation: isolate; color: #fff; background: var(--navy-950); overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(1, 37, 53, .94) 0%, rgba(2, 48, 71, .82) 42%, rgba(2, 48, 71, .25) 75%, rgba(2, 48, 71, .1) 100%); }
@media (max-width: 767.98px) { .hero::before { background: linear-gradient(180deg, rgba(1, 37, 53, .45) 0%, rgba(1, 37, 53, .9) 55%, rgba(1, 37, 53, .97) 100%); } }
.hero__inner { min-height: min(86vh, 760px); display: flex; flex-direction: column; justify-content: flex-end; padding-block: var(--s10) var(--s8); }
@media (min-width: 768px) { .hero__inner { justify-content: center; padding-block: var(--s10); } }
.hero__content { max-width: 640px; }
.hero .eyebrow { color: var(--yellow-500); }
.hero__title { color: #fff; font-size: var(--text-display); line-height: 1.06; letter-spacing: -.02em; margin-bottom: var(--s5); }
.hero__title em { font-style: normal; color: var(--yellow-500); }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #dbe6eb; max-width: 54ch; margin-bottom: var(--s6); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4) var(--s5); }
.hero__actions .link-arrow { color: #fff; }

/* key facts strip under the hero (words, not counters) */
.facts-strip { background: var(--navy-900); color: #fff; border-top: 1px solid rgba(255, 255, 255, .12); }
.facts-strip dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
@media (min-width: 1024px) { .facts-strip dl { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.facts-strip div { padding: var(--s5) var(--s4); border-left: 1px solid rgba(255, 255, 255, .12); }
.facts-strip div:nth-child(odd) { border-left: 0; }
@media (min-width: 1024px) { .facts-strip div:nth-child(odd) { border-left: 1px solid rgba(255, 255, 255, .12); } .facts-strip div:first-child { border-left: 0; } }
.facts-strip dt { font-size: var(--text-sm); color: var(--yellow-500); font-weight: 500; }
.facts-strip dd { margin: 2px 0 0; font-size: var(--text-lg); font-weight: 600; line-height: 1.3; }

/* ---------------------------------------------------------------- cards */
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); padding: var(--s5); }
.path-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--r-md);
  padding: var(--s6) var(--s5) var(--s5); transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease), transform var(--t) var(--ease); }
.path-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: var(--r-md) var(--r-md) 0 0; background: var(--olive-700); }
.path-card:hover { border-color: var(--navy-900); box-shadow: var(--shadow); transform: translateY(-2px); }
.path-card__stage { font-size: var(--text-sm); font-weight: 600; color: var(--olive-700); margin-bottom: var(--s2); }
.path-card h3 { margin-bottom: var(--s3); }
.path-card p { color: var(--muted); }
.path-card .link-arrow { margin-top: auto; }
.path-card .link-arrow::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-md); }

.pillar { display: flex; flex-direction: column; gap: var(--s3); }
.pillar__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 12px; background: var(--olive-050); color: var(--olive-700); }
.section--navy .pillar__icon { background: rgba(255, 255, 255, .08); color: var(--yellow-500); }
.pillar__icon .icon { width: 26px; height: 26px; }
.pillar h3 { margin: 0; }
.pillar p { margin: 0; color: var(--muted); }
.section--navy .pillar p { color: #cfdde4; }

/* image + text split */
.split { display: grid; gap: var(--s6); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr 1fr; gap: var(--s8); } .split--reverse .split__media { order: 2; } }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); }
.split__media figcaption { margin-top: var(--s2); font-size: var(--text-sm); color: var(--muted); }

/* checklist */
.checks { list-style: none; padding: 0; margin: 0 0 var(--s5); display: grid; gap: var(--s3); }
.checks li { position: relative; padding-left: 34px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .28em; width: 22px; height: 22px; border-radius: 50%; background: var(--olive-050)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2320512A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.section--navy .checks li::before { background-color: rgba(255, 255, 255, .1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FECC02' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.checks--2 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .checks--2 { grid-template-columns: 1fr 1fr; column-gap: var(--s6); } }

/* facts list (definition list) */
.facts { display: grid; gap: 0; margin: 0; border-top: 1px solid var(--border); }
.facts > div { display: grid; gap: 2px var(--s5); padding: var(--s4) 0; border-bottom: 1px solid var(--border); }
@media (min-width: 640px) { .facts > div { grid-template-columns: 220px 1fr; } }
.facts dt { font-weight: 600; color: var(--navy-900); }
.facts dd { margin: 0; }
.facts dd a { display: inline-block; padding-block: 2px; min-height: 24px; }

/* routine timeline (semantic table) */
.routine { width: 100%; border-collapse: collapse; font-size: var(--text-base); }
.routine caption { text-align: left; font-weight: 600; color: var(--navy-900); padding-bottom: var(--s3); }
.routine th, .routine td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.routine thead th { font-size: var(--text-sm); color: var(--muted); font-weight: 500; border-bottom: 2px solid var(--navy-900); }
.routine tbody th { font-weight: 600; color: var(--navy-900); white-space: nowrap; width: 9.5rem; font-variant-numeric: tabular-nums; }
.routine tbody tr:nth-child(even) { background: var(--surface-muted); }
.section--muted .routine tbody tr:nth-child(even) { background: #fff; }
@media (max-width: 479.98px) {
  .routine thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
  .routine tr { display: grid; grid-template-columns: 1fr; padding: 10px 0; border-bottom: 1px solid var(--border); }
  .routine th, .routine td { border: 0; padding: 0 4px; }
  .routine tbody th { width: auto; font-size: var(--text-sm); }
}

/* admissions steps */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: var(--s5); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.steps li { counter-increment: step; position: relative; padding-top: var(--s7); }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 50%; background: var(--yellow-500); color: var(--navy-900); font-weight: 600; }
.steps h3 { font-size: var(--text-lg); margin-bottom: var(--s2); }
.steps p { color: var(--muted); margin: 0; }
.section--navy .steps p { color: #cfdde4; }

/* people */
.person { display: flex; gap: var(--s4); align-items: flex-start; }
.person__mono { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-900);
  color: var(--yellow-500); font-weight: 600; font-size: var(--text-lg); }
.person img { flex: none; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.person h3 { margin: 0 0 2px; font-size: var(--text-lg); }
.person__role { margin: 0 0 var(--s2); font-weight: 500; color: var(--olive-700); font-size: var(--text-sm); }
.person p:last-child { margin-bottom: 0; color: var(--muted); }
.feature-person { display: grid; gap: var(--s6); align-items: center; }
@media (min-width: 900px) { .feature-person { grid-template-columns: 340px 1fr; gap: var(--s8); } }
.feature-person img { border-radius: var(--r-lg); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* testimonial */
.quote { margin: 0; background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); padding: var(--s5); display: flex; flex-direction: column; }
.quote blockquote { margin: 0 0 var(--s4); font-size: var(--text-base); }
.quote blockquote p { margin: 0; }
.quote blockquote::before { content: "“"; display: block; font-size: 3rem; line-height: .6; color: var(--yellow-500); margin-bottom: var(--s2); font-weight: 600; }
.quote figcaption { margin-top: auto; font-weight: 600; color: var(--navy-900); font-size: var(--text-sm); }
.quote figcaption span { display: block; font-weight: 400; color: var(--muted); }

/* FAQ (native details/summary: keyboard and screen-reader friendly without JS) */
.faq { border-top: 1px solid var(--border); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s4);
  padding: var(--s4) 2px; min-height: 56px; font-weight: 600; color: var(--navy-900); font-size: var(--text-lg); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%;
  background: var(--surface-muted); color: var(--navy-900); font-weight: 500; transition: transform var(--t) var(--ease); }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 2px var(--s5); max-width: 72ch; }
.faq details > div > :last-child { margin-bottom: 0; }

/* callout */
.callout { border-left: 4px solid var(--yellow-500); background: var(--yellow-050); padding: var(--s4) var(--s5); border-radius: 0 var(--r-md) var(--r-md) 0; margin: 0 0 var(--s5); }
.callout > :last-child { margin-bottom: 0; }
.callout--olive { border-color: var(--olive-700); background: var(--olive-050); }
.note { font-size: var(--text-sm); color: var(--muted); }

/* counsellors + address */
.counsellors { list-style: none; padding: 0; margin: 0 0 var(--s4); display: grid; gap: var(--s3); }
.counsellor { display: flex; flex-direction: column; gap: 2px; }
.counsellor__name { font-weight: 600; }
.counsellor__phones { display: flex; flex-wrap: wrap; gap: 2px var(--s4); }
.counsellor__phones a { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; }
.counsellor__phones .icon { width: 16px; height: 16px; }
.counsellors__wa { margin: 0; }
.address { display: flex; gap: var(--s3); font-style: normal; }
.address .icon { margin-top: 3px; color: var(--olive-700); }
.contact-panel { display: grid; gap: var(--s6); }
@media (min-width: 900px) { .contact-panel { grid-template-columns: 1fr 1fr; } }
.map-link { display: block; position: relative; border-radius: var(--r-lg); overflow: hidden; }
.map-link img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

/* CTA band */
.cta-band { background: var(--navy-900); color: #e8eff2; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%;
  border: 40px solid rgba(254, 204, 2, .08); pointer-events: none; }
.cta-band__inner { display: grid; gap: var(--s5); align-items: center; padding-block: var(--s8); }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: 1fr auto; gap: var(--s8); } }
.cta-band h2 { color: #fff; margin-bottom: var(--s2); }
.cta-band p { margin: 0; max-width: 60ch; color: #cfdde4; }

/* gallery */
.gallery-grid { display: grid; gap: var(--s4); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gallery-grid figure { margin: 0; }
.gallery-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); }
.gallery-grid figcaption { font-size: var(--text-sm); color: var(--muted); margin-top: var(--s2); }

/* ---------------------------------------------------------------- blog */
.chips { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s5); }
.chip { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--border);
  background: #fff; color: var(--navy-900); font-size: var(--text-sm); font-weight: 500; text-decoration: none; }
.chip:hover { border-color: var(--navy-900); }
.chip.is-current { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.post-grid { display: grid; gap: var(--s5); }
@media (min-width: 640px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s6); } }
.post-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden;
  transition: box-shadow var(--t) var(--ease), border-color var(--t) var(--ease); }
.post-card:hover { box-shadow: var(--shadow); border-color: #b9c8cf; }
.post-card__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: var(--s5); }
.post-card__cat { font-size: var(--text-xs); font-weight: 600; letter-spacing: .04em; color: var(--olive-700); margin-bottom: var(--s2); }
.post-card__title { font-size: var(--text-lg); line-height: 1.35; margin-bottom: var(--s3); }
.post-card__title a { color: var(--navy-900); text-decoration: none; }
.post-card__title a::after { content: ""; position: absolute; inset: 0; }
.post-card__title a:hover { text-decoration: underline; }
.post-card__excerpt { color: var(--muted); font-size: var(--text-sm); }
.post-card__meta { margin: auto 0 0; font-size: var(--text-xs); color: var(--muted); }
.pagination, .navigation.pagination { margin-top: var(--s7); }
.nav-links { display: flex; flex-wrap: wrap; gap: var(--s2); }
.page-numbers { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--border);
  border-radius: var(--r-sm); text-decoration: none; color: var(--navy-900); }
.page-numbers.current { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }

.article__header { padding: var(--s6) 0 var(--s5); background: linear-gradient(180deg, var(--navy-050), #fff); }
.article__title { font-size: clamp(1.9rem, 4vw, 2.75rem); line-height: 1.15; }
.article__meta { color: var(--muted); font-size: var(--text-sm); margin: 0; }
.article__cover { margin-block: var(--s5) 0; }
.article__cover img { width: 100%; border-radius: var(--r-lg); }
.article__body { padding-block: var(--s7) var(--s8); }
.prose { font-size: 1.0625rem; line-height: 1.75; }
.prose h2 { margin-top: var(--s7); }
.prose h3 { margin-top: var(--s6); }
.prose img { border-radius: var(--r-md); margin-block: var(--s5); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: var(--s2); }
.prose blockquote { border-left: 4px solid var(--yellow-500); margin: var(--s5) 0; padding: var(--s2) var(--s5); color: var(--navy-900); }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--border); padding: 8px 10px; text-align: left; }
.prose th { background: var(--surface-muted); }
.prose figure, .prose .wp-caption { margin-inline: 0; max-width: 100% !important; }   /* old posts set fixed caption widths inline */
.prose iframe, .prose video, .prose embed { max-width: 100%; }
.prose { overflow-wrap: break-word; }
.prose [style*="color"] { color: inherit !important; }   /* old posts carry inline colours that fail contrast */
.prose [style*="background"] { background: none !important; }
.prose figcaption, .prose .wp-caption-text { font-size: var(--text-sm); color: var(--muted); }

.empty { text-align: center; max-width: 560px; margin: 0 auto; }
.link-list { list-style: none; padding: 0; margin: var(--s6) 0 0; display: grid; gap: var(--s2); }
.link-list a { font-weight: 600; }

/* ---------------------------------------------------------------- forms */
.form { display: grid; gap: var(--s4); }
.form-row { display: grid; gap: var(--s4); }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .search-form label { font-weight: 600; color: var(--navy-900); font-size: var(--text-sm); }
.field .req { color: #9b1c1c; }
input[type="text"], input[type="tel"], input[type="email"], input[type="date"], input[type="search"], select, textarea {
  width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #9fb2bb; border-radius: var(--r-sm); background: #fff;
  color: var(--body); font: 400 var(--text-base) var(--font); }
textarea { min-height: 110px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--navy-900); }
.field__hint { font-size: var(--text-sm); color: var(--muted); margin: 0; }
.field__error { font-size: var(--text-sm); color: #9b1c1c; margin: 0; font-weight: 500; }
.field.has-error input, .field.has-error select { border-color: #9b1c1c; }
.form-errors { border: 2px solid #9b1c1c; border-radius: var(--r-md); padding: var(--s4) var(--s5); background: #fdf3f3; }
.form-errors h2 { font-size: var(--text-lg); color: #9b1c1c; margin-bottom: var(--s2); }
.form-success { border: 2px solid var(--olive-700); border-radius: var(--r-md); padding: var(--s4) var(--s5); background: var(--olive-050); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.search-form { display: grid; gap: 6px; max-width: 560px; margin-top: var(--s5); }
.search-form__row { display: flex; gap: var(--s2); }
.age-calc { display: grid; gap: var(--s4); max-width: 560px; }
.age-calc__result { font-weight: 600; color: var(--navy-900); margin: 0; min-height: 1.5em; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--navy-950); color: #c9d7de; font-size: var(--text-sm); }
.site-footer a { color: #fff; }
.site-footer__grid { display: grid; gap: var(--s7); padding-block: var(--s8) var(--s7); }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: 1fr 2.2fr 1fr; gap: var(--s7); } }
@media (min-width: 1024px) { .footer-menu { gap: var(--s5); } }
.site-footer__name { font-size: var(--text-xl); font-weight: 600; color: #fff; margin-bottom: var(--s2); }
.site-footer__tag { max-width: 40ch; }
.site-footer .address .icon { color: var(--yellow-500); }
.site-footer__heading { color: #fff; font-weight: 600; margin-bottom: var(--s3); font-size: var(--text-base); }
.footer-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s6); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .footer-menu { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.footer-menu__label { display: block; color: #fff; font-weight: 600; font-size: var(--text-base); }
.footer-menu .sub-menu { list-style: none; margin: var(--s3) 0 0; padding: 0; display: grid; gap: var(--s2); }
.footer-menu .sub-menu a { color: #c9d7de; text-decoration: none; display: inline-block; padding-block: 3px; min-height: 26px; }
.footer-menu .sub-menu a:hover { color: #fff; text-decoration: underline; }
.site-footer .counsellor__phones a, .site-footer .counsellors__wa a { color: #fff; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3) var(--s6); padding-block: var(--s5); border-top: 1px solid rgba(255, 255, 255, .12); }
.site-footer__bottom p { margin: 0; max-width: 70ch; }
.legal-menu { display: flex; flex-wrap: wrap; gap: var(--s4); list-style: none; margin: 0; padding: 0; }
.legal-menu a { color: #c9d7de; display: inline-block; padding-block: 2px; min-height: 24px; }

/* ---------------------------------------------------------------- motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; scroll-behavior: auto !important; }
  .path-card:hover { transform: none; }
}
@media print {
  .site-header, .site-footer, .cta-band, .nav { display: none !important; }
  body { color: #000; }
}
