/* Oasis Trilingual Community School: prototype styles */
:root {
  --navy: #23306e;
  --navy-2: #1a2457;
  --blue: #0b5fae;
  --sky: #6aa9e0;
  --ice: #eaf2fb;
  --sand: #fbf7f0;
  --red: #e4483f;
  --orange: #f2992e;
  --sun: #f7c641;
  --green: #2f9e66;
  --ink: #161a2c;
  --muted: #5a6075;
  --line: #dfe3ec;
  --white: #fff;
  --radius-xl: 72px;
  --radius: 16px;
  --wrap: 1180px;
  --font: "Figtree", "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
  --shadow: 0 12px 40px rgb(22 26 44 / 0.14);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 120px; }
body { margin: 0; font-family: var(--font); font-size: 18px; line-height: 1.6; color: var(--ink); background: var(--white); }
img, video, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, .h3 { font-weight: 900; line-height: 1.12; letter-spacing: -0.01em; color: var(--navy); margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5vw, 4.1rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3, .h3 { font-size: 1.3rem; font-weight: 800; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.center { text-align: center; }
.small { font-size: 0.9rem; }
.muted { color: var(--muted); }
.measure { max-width: 70ch; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--sun); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 8px; }

.eyebrow { font-size: 0.82rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); margin: 0 0 0.6em; }
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow--sun { color: var(--sun); }

/* ---------- buttons & links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 6px; font-weight: 800; font-size: 1rem; text-decoration: none; line-height: 1.2; border: 2px solid transparent; transition: transform .15s, background .15s, color .15s; cursor: pointer; }
.btn:hover { transform: translateY(-1px); }
.btn--sm { min-height: 38px; padding: 7px 16px; font-size: 0.9rem; }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--blue); color: var(--white); }
.btn--blue { background: var(--blue); color: var(--white); }
.btn--blue:hover { background: var(--navy); color: var(--white); }
.btn--sun { background: var(--sun); color: var(--navy-2); }
.btn--sun:hover { background: #ffd65c; color: var(--navy-2); }
.btn--ghost { border-color: rgb(255 255 255 / .85); color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--navy); }
.btn--ghost-dark { border-color: var(--navy); color: var(--navy); }
.btn--ghost-dark:hover { background: var(--navy); color: var(--white); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.actions--center { justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--navy); text-decoration: none; border-bottom: 3px solid var(--red); padding-bottom: 2px; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .15s; }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow--light { color: var(--white); border-color: var(--sun); }
.link-arrow--light:hover { color: var(--sun); }
.icon { width: 22px; height: 22px; flex: none; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); box-shadow: 0 1px 0 var(--line); }
.site-header__inner { width: min(100% - 32px, 1320px); margin-inline: auto; display: flex; align-items: center; gap: 24px; min-height: 92px; }
.logo-card { flex: none; display: block; background: var(--white); padding: 10px 14px; border-radius: 0 0 18px 18px; align-self: flex-start; box-shadow: 0 10px 24px rgb(22 26 44 / .12); position: relative; z-index: 2; transition: box-shadow .25s; }
/* On a white header the card's shadow just draws a border around the logo. */
.site-header:not(.site-header--home) .logo-card, .site-header--home.is-scrolled .logo-card { box-shadow: none; }
.logo-card img { width: 104px; height: auto; }
.site-header__bars { flex: 1; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; padding: 10px 0; }
.utility { display: flex; align-items: center; gap: 14px; }
.utility ul { display: flex; gap: 18px; list-style: none; margin: 0 6px 0 0; padding: 0; }
.utility a:not(.btn) { color: var(--muted); font-size: 0.88rem; font-weight: 600; text-decoration: none; }
.utility a:not(.btn):hover { color: var(--blue); }
.nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link { display: block; padding: 10px 12px; color: var(--navy); font-weight: 800; font-size: 1.02rem; text-decoration: none; border-bottom: 3px solid transparent; }
.nav__link[aria-current] { border-bottom-color: var(--orange); }
.nav__link:hover { color: var(--blue); }
.nav__toggle { display: none; }
.nav__menu { position: absolute; top: 100%; left: 0; min-width: 260px; list-style: none; margin: 0; padding: 10px; background: var(--white); border-radius: 0 0 14px 14px; box-shadow: var(--shadow); border-top: 4px solid var(--orange); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s; }
.has-menu:hover .nav__menu, .has-menu:focus-within .nav__menu, .has-menu.is-open .nav__menu { opacity: 1; visibility: visible; transform: none; }
.nav__menu a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ink); font-weight: 600; text-decoration: none; }
.nav__menu a:hover, .nav__menu a[aria-current] { background: var(--ice); color: var(--navy); }
.nav__mobile-extra, .menu-btn { display: none; }

/* home: header floats over the video */
.site-header--home { position: fixed; inset: 0 0 auto; background: linear-gradient(rgb(10 14 34 / .55), transparent); box-shadow: none; transition: background .25s; }
.site-header--home .nav__link, .site-header--home .utility a:not(.btn) { color: var(--white); }
.site-header--home.is-scrolled { background: var(--white); box-shadow: 0 1px 0 var(--line); }
.site-header--home.is-scrolled .nav__link { color: var(--navy); }
.site-header--home.is-scrolled .utility a:not(.btn) { color: var(--muted); }

/* ---------- side CTA ---------- */
.side-cta { position: fixed; right: 0; top: 42%; z-index: 40; display: flex; flex-direction: column; gap: 8px; }
.side-cta a { display: block; padding: 12px 18px; border-radius: 12px 0 0 12px; font-weight: 800; font-size: 0.92rem; text-decoration: none; color: var(--white); box-shadow: var(--shadow); transition: padding .15s; }
.side-cta a:hover { padding-right: 26px; color: var(--white); }
.side-cta__tour { background: var(--green); }
.side-cta__apply { background: var(--red); }

/* ---------- home hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--white); overflow: hidden; background: var(--navy-2); }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgb(15 20 50 / .78), rgb(15 20 50 / .25) 60%, transparent), linear-gradient(transparent 55%, rgb(15 20 50 / .55)); }
.hero__text { position: relative; padding: 160px 0 110px; }
.hero h1 { color: var(--white); margin-bottom: 0; }
.hero__big { display: block; font-size: clamp(2.8rem, 7vw, 5.6rem); font-weight: 900; line-height: 1; }
.hero__italic { display: block; font-size: clamp(2.2rem, 5.4vw, 4.4rem); font-weight: 300; font-style: italic; line-height: 1.1; letter-spacing: -0.01em; }
.hero__kicker { display: block; max-width: 36ch; margin-top: 20px; font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 600; line-height: 1.4; }
.hero__pause { position: absolute; right: 24px; bottom: 24px; width: 44px; height: 44px; border-radius: 50%; border: 2px solid rgb(255 255 255 / .7); background: rgb(0 0 0 / .25); cursor: pointer; }
.hero__pause span { display: block; margin: auto; width: 12px; height: 14px; border-left: 4px solid #fff; border-right: 4px solid #fff; }
.hero__pause[aria-pressed="true"] span { width: 0; height: 0; border: 0; border-left: 13px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 15px; }

/* ---------- inner page hero ---------- */
.page-hero { position: relative; min-height: clamp(340px, 46vw, 500px); display: flex; align-items: flex-end; color: var(--white); background: var(--navy); overflow: hidden; }
.page-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgb(26 36 87 / .9), rgb(26 36 87 / .45) 65%, rgb(26 36 87 / .15)); }
.page-hero__text { position: relative; padding: 56px 0; }
.page-hero h1 { color: var(--white); margin-bottom: 0.25em; }
.page-hero .lead { max-width: 48ch; font-size: 1.2rem; margin: 0; }

.crumbs { background: var(--sand); font-size: 0.85rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding-block: 10px; margin-block: 0; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--muted); }
.crumbs a { color: var(--muted); }

/* ---------- intro with rainbow ---------- */
.intro { position: relative; padding: 110px 0 90px; text-align: center; overflow: hidden; }
.intro__arc { position: absolute; left: 50%; top: 36px; width: min(980px, 140%); transform: translateX(-50%); opacity: .14; }
.intro__text { position: relative; max-width: 760px; }
.intro__text p { font-size: 1.12rem; }
.rainbow path { stroke-linecap: butt; }

.langbar { display: flex; margin: 28px 0 10px; border-radius: 999px; overflow: hidden; font-size: 0.92rem; text-align: left; }
.langbar__seg { padding: 12px 16px; color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.langbar__seg strong { font-weight: 900; }
.langbar__seg--red { background: var(--red); }
.langbar__seg--blue { background: var(--blue); }
.langbar__seg--orange { background: var(--orange); color: var(--navy-2); }

/* ---------- sections ---------- */
.section { padding: 80px 0; }
.section--tint { background: var(--sand); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.two-col--center { align-items: center; }

.split { padding: 80px 0; }
.split__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.split--rev .split__text { order: 2; }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px var(--radius-xl) 6px 6px; }
.split--rev .split__media img { border-radius: var(--radius-xl) 6px 6px 6px; }
.split h3 { margin-top: 1em; }

/* navy promo panel */
.promo-wrap { padding: 40px 0; }
.promo { display: grid; grid-template-columns: 0.85fr 1.15fr; min-height: 420px; border-radius: 6px var(--radius-xl) 6px 6px; overflow: hidden; background: var(--navy); color: var(--white); }
.promo--blue { background: var(--blue); }
.promo--rev { grid-template-columns: 1.15fr 0.85fr; border-radius: var(--radius-xl) 6px 6px 6px; }
.promo--rev .promo__panel { order: 2; }
.promo__panel { display: flex; flex-direction: column; justify-content: center; padding: 48px; border-radius: 0 0 var(--radius-xl) 0; position: relative; z-index: 1; }
.promo h2 { color: var(--white); font-size: clamp(1.8rem, 2.8vw, 2.3rem); }
.promo__media img { width: 100%; height: 100%; object-fit: cover; }
.promo .link-arrow { align-self: flex-start; margin-top: 8px; }

/* expanding photo cards */
.rail { padding: 80px 0; }
.rail__grid { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center; }
.rail__cards { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; height: 440px; }
.rail__card { flex: 1; min-width: 0; position: relative; border-radius: 12px; overflow: hidden; border-top: 8px solid var(--orange); transition: flex .45s ease; }
.rail__card--green { border-color: var(--green); }
.rail__card--red { border-color: var(--red); }
.rail__card--blue { border-color: var(--blue); }
.rail__card--sky { border-color: var(--sky); }
.rail__card.is-open { flex: 2.5; border-bottom-right-radius: 48px; }
.rail__card a { position: absolute; inset: 0; color: var(--white); text-decoration: none; }
.rail__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rail__shade { position: absolute; inset: 0; background: linear-gradient(transparent 25%, rgb(26 36 87 / .92)); }
.rail__card:not(.is-open) .rail__shade { background: rgb(35 48 110 / .82); }
.rail__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px; }
.rail__title { display: block; font-weight: 900; font-size: 0.74rem; text-transform: uppercase; letter-spacing: .02em; line-height: 1.2; overflow-wrap: anywhere; hyphens: auto; }
.rail__card:not(.is-open) .rail__body { padding: 14px 10px; }
.rail__card.is-open .rail__title { font-size: 1.4rem; }
.rail__text, .rail__go { display: none; }
.rail__card.is-open .rail__text { display: block; margin-top: 8px; font-size: 0.98rem; line-height: 1.45; max-width: 36ch; }
.rail__card.is-open .rail__go { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-weight: 800; font-size: 0.9rem; text-transform: uppercase; }
.rail__go .icon { width: 18px; height: 18px; }

/* videos */
.video { margin: 0; }
.video__btn { position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer; background: var(--navy); border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 9; }
.video__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s, opacity .2s; opacity: .88; }
.video__btn:hover img { transform: scale(1.04); opacity: 1; }
.video__play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: var(--sun); color: var(--navy-2); display: grid; place-items: center; box-shadow: 0 6px 20px rgb(0 0 0 / .3); transition: transform .15s; }
.video__play .icon { width: 30px; height: 30px; margin-left: 4px; }
.video__btn:hover .video__play { transform: scale(1.08); }
.video--sm .video__play { width: 52px; height: 52px; margin: -26px 0 0 -26px; }
.video--sm .video__play .icon { width: 22px; height: 22px; }
.video__time { position: absolute; right: 10px; bottom: 10px; background: rgb(0 0 0 / .65); color: #fff; font-size: 0.8rem; font-weight: 700; padding: 2px 8px; border-radius: 6px; }
.video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; background: #000; }
.video figcaption { padding-top: 12px; }
.video figcaption strong { display: block; color: var(--navy); font-weight: 800; }
.video figcaption span { display: block; color: var(--muted); font-size: 0.95rem; line-height: 1.45; }
.subject .video { margin-top: 16px; }
.split__text .video, .promo .video { margin-top: 20px; max-width: 420px; }

.video-feature { background: var(--navy); color: var(--white); padding: 90px 0; }
.video-feature__head { max-width: 640px; margin-bottom: 36px; }
.video-feature h2 { color: var(--white); }
.video-feature__grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 28px; }
.video-feature__side { display: grid; gap: 18px; }
.video-feature__side .video { display: grid; grid-template-columns: 170px 1fr; gap: 14px; align-items: center; }
.video-feature__side figcaption { padding: 0; }
.video-feature figcaption strong { color: var(--white); }
.video-feature figcaption span { color: rgb(255 255 255 / .75); }
.video-feature .center { margin: 40px 0 0; }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 24px; }

/* quote band */
.quote-band { position: relative; padding: 140px 0; color: var(--white); text-align: center; overflow: hidden; }
.quote-band__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.quote-band__shade { position: absolute; inset: 0; background: rgb(22 28 62 / .72); }
.quote-band__text { position: relative; max-width: 820px; margin-block: 0; }
.quote-band blockquote { margin: 0; }
.quote-band blockquote p { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 800; line-height: 1.25; }
.quote-band blockquote p::before { content: "“"; } .quote-band blockquote p::after { content: "”"; }
.quote-band figcaption { font-weight: 600; opacity: .85; }

/* blue band: upcoming + visit */
.band { background: var(--blue); color: var(--white); padding: 90px 0; }
.band h2 { color: var(--white); }
.band__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.upcoming { list-style: none; margin: 0 0 28px; padding: 0; }
.when { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgb(255 255 255 / .25); line-height: 1.4; }
.when time { font-weight: 900; }
.upcoming .when time { color: var(--sun); }
.visit-card { background: var(--white); color: var(--ink); border-radius: 6px var(--radius-xl) 6px 6px; overflow: hidden; box-shadow: var(--shadow); }
.visit-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.visit-card__body { padding: 28px; }
.band .visit-card h2 { color: var(--navy); }
.visit-card__body p { display: flex; gap: 8px; align-items: flex-start; }
.visit-card .icon { color: var(--red); margin-top: 3px; }

/* press */
.press { padding: 60px 0; text-align: center; border-bottom: 1px solid var(--line); }
.press__list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; padding: 0; margin: 16px 0 0; }
.press__list a { font-size: 1.25rem; font-weight: 900; color: var(--navy); text-decoration: none; opacity: .72; }
.press__list a:hover { opacity: 1; }

/* CTA band */
.cta-band { padding: 90px 0 100px; background: var(--sand); text-align: center; overflow: hidden; }
.cta-band__inner { max-width: 760px; }
.cta-band__arc { width: 160px; margin: 0 auto 20px; }
.cta-band p { font-size: 1.15rem; color: var(--muted); }

/* misc blocks */
.ticks { list-style: none; padding: 0; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 16px; height: 9px; border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(-45deg); }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { background: var(--white); border: 2px solid var(--navy); color: var(--navy); border-radius: 999px; padding: 6px 16px; font-weight: 700; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin: 24px 0; }
.facts--stack { grid-template-columns: 1fr; }
.fact { background: var(--white); border-radius: 6px 28px 6px 6px; padding: 22px; border-top: 6px solid var(--orange); box-shadow: 0 4px 18px rgb(22 26 44 / .06); }
.fact:nth-child(2) { border-color: var(--blue); } .fact:nth-child(3) { border-color: var(--red); } .fact:nth-child(4) { border-color: var(--green); }
.fact strong { display: block; font-size: 1.35rem; font-weight: 900; color: var(--navy); }
.fact span { color: var(--muted); }
.facts-inline { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.facts-inline li { background: var(--ice); border-radius: 10px; padding: 8px 14px; }
.facts-inline strong { color: var(--navy); margin-right: 4px; }
.note { background: var(--ice); border-radius: 6px 28px 6px 6px; padding: 26px; margin-top: 28px; }
.note h3 { margin-top: 0; }
.notice { background: var(--sun); color: var(--navy-2); }
.notice p { margin: 0; padding: 14px 0; }

.timeline-wrap { padding: 40px 0 80px; }
.timeline { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; counter-reset: t; }
.timeline li { position: relative; padding-top: 28px; border-top: 6px solid var(--orange); }
.timeline li:nth-child(3n+2) { border-color: var(--blue); } .timeline li:nth-child(3n) { border-color: var(--red); }
.timeline strong { display: block; font-size: 1.4rem; font-weight: 900; color: var(--navy); }
.timeline span { font-size: 0.95rem; color: var(--muted); }

.subjects { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 32px; }
.subject { background: var(--sand); border-radius: 6px 36px 6px 6px; padding: 32px; }

.team { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 32px 24px; margin: 32px 0 0; }
.team__card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px 40px 6px 6px; margin-bottom: 12px; }
.team__card h3 { font-size: 1.1rem; margin: 0 0 4px; }
.team__card p { font-size: 0.92rem; color: var(--muted); margin: 0; line-height: 1.4; }
.board { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 24px; }
.board__item { background: var(--white); border-radius: 6px 28px 6px 6px; padding: 28px; border-left: 6px solid var(--blue); }

.articles { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.articles a { display: grid; grid-template-columns: 200px 1fr auto; gap: 20px; align-items: baseline; padding: 18px 22px; background: var(--white); border-radius: 10px; text-decoration: none; color: var(--ink); }
.articles a:hover { box-shadow: var(--shadow); }
.articles__outlet { font-weight: 900; color: var(--navy); }
.articles time { color: var(--muted); font-size: 0.9rem; white-space: nowrap; }

.accordion { display: grid; gap: 12px; max-width: 880px; margin: 24px auto; }
.accordion details { background: var(--ice); border-radius: 12px; }
.accordion details[open] { border-bottom-right-radius: 32px; }
.accordion summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; cursor: pointer; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 1.8rem; font-weight: 400; color: var(--blue); line-height: 1; }
.accordion details[open] summary::after { content: "–"; }
.accordion summary h3 { margin: 0; font-size: 1.08rem; color: var(--navy); }
.accordion__body { padding: 0 22px 18px; }
.accordion__body p:last-child { margin: 0; }

.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 32px 0; }
.steps__item { background: var(--white); border-radius: 6px 32px 6px 6px; padding: 28px; display: flex; flex-direction: column; align-items: flex-start; scroll-margin-top: 140px; }
.steps__item .btn { margin-top: auto; }
.steps__n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 1.2rem; color: var(--white); background: var(--orange); margin-bottom: 14px; }
.steps__item:nth-child(2) .steps__n { background: var(--blue); } .steps__item:nth-child(3) .steps__n { background: var(--red); } .steps__item:nth-child(4) .steps__n { background: var(--green); }

.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.price-card { border: 2px solid var(--line); border-radius: 6px 40px 6px 6px; padding: 32px; }
.price-card--accent { border-color: var(--navy); }
.price-card__big { font-size: 2.6rem; font-weight: 900; color: var(--navy); margin: 0 0 12px; }
.price-list { margin: 0; }
.price-list div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
.price-list dt { color: var(--muted); } .price-list dd { margin: 0; font-weight: 700; text-align: right; }

.table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 1rem; }
.table th, .table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th { background: var(--navy); color: var(--white); font-weight: 800; }
.table tbody th { font-weight: 800; color: var(--navy); }

.weeks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 28px; }
.week { background: var(--white); border-radius: 6px 32px 6px 6px; padding: 24px; border-top: 6px solid var(--blue); }
.week:nth-child(2) { border-color: var(--orange); } .week:nth-child(3) { border-color: var(--sky); } .week:nth-child(4) { border-color: var(--sun); }
.week__n { font-size: 0.82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 4px; }
.week ul { padding-left: 1.1em; margin: 0; columns: 2; font-size: 0.95rem; }

.tiles { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile { display: block; height: 100%; padding: 26px; background: var(--ice); border-radius: 6px 28px 6px 6px; text-decoration: none; color: var(--ink); }
a.tile:hover { background: var(--navy); color: var(--white); }
a.tile:hover strong { color: var(--sun); }
.tile strong { display: block; font-size: 1.2rem; font-weight: 900; color: var(--navy); margin-bottom: 6px; }
.tile span { font-size: 0.95rem; }
.list-links { columns: 2; }

.cal-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 32px; }
.legend { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 0.9rem; }
.legend li { display: flex; align-items: center; gap: 8px; }
.legend li::before { content: ""; width: 14px; height: 14px; border-radius: 4px; background: var(--c, var(--blue)); }
.months { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 48px; }
.month h2 { font-size: 1.4rem; border-bottom: 4px solid var(--orange); padding-bottom: 6px; }
.month ul { list-style: none; padding: 0; margin: 0 0 16px; }
.month .when { border-color: var(--line); grid-template-columns: 130px 1fr; }
.when { --c: var(--blue); }
.when--off { --c: var(--red); } .when--start { --c: var(--green); } .when--opa { --c: var(--orange); } .when--assess { --c: var(--muted); }
.month .when time { color: var(--c); }
.month .when--off span { font-weight: 700; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
.contact-cards { display: grid; gap: 14px; align-content: start; }
.contact-card { display: flex; gap: 16px; align-items: center; padding: 20px 22px; border-radius: 6px 28px 6px 6px; background: var(--ice); text-decoration: none; color: var(--ink); }
.contact-card .icon { color: var(--blue); width: 28px; height: 28px; }
.contact-card strong { display: block; color: var(--navy); }
.contact-card--sun { background: var(--sun); justify-content: space-between; }
.contact-card:hover { box-shadow: var(--shadow); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; border-radius: 6px var(--radius-xl) 6px 6px; }
.social { list-style: none; padding: 0; margin: 0; display: flex; gap: 14px; }
.social a { display: inline-flex; align-items: center; gap: 8px; color: var(--sky); text-decoration: none; font-weight: 700; }
.social--dark a { color: var(--navy); }

.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card a { display: block; text-decoration: none; color: var(--ink); }
.post-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px 36px 6px 6px; margin-bottom: 14px; }
.post-card time { font-size: 0.85rem; color: var(--muted); }
.post-card h2 { margin: 6px 0 8px; }
.article__head { max-width: 860px; padding-top: 56px; }
.article__img { max-width: 900px; margin-block: 16px 8px; }
.article__img img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: 6px 48px 6px 6px; }
.prose { max-width: 760px; padding-block: 32px 72px; }
.prose h2 { font-size: 1.6rem; margin-top: 1.4em; }
.prose h3 { margin-top: 1.2em; }

/* accreditation + footer */
.accred { background: var(--ice); padding: 36px 0; }
.accred__row { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; justify-content: center; }
.accred .eyebrow { margin: 0; color: var(--muted); }
.accred ul { list-style: none; display: flex; flex-wrap: wrap; gap: 16px 40px; margin: 0; padding: 0; }
.accred li { display: flex; flex-direction: column; line-height: 1.25; }
.accred strong { font-weight: 900; color: var(--navy); font-size: 1.15rem; }
.accred span { font-size: 0.85rem; color: var(--muted); }
.site-footer { background: var(--navy); color: rgb(255 255 255 / .85); padding: 64px 0 32px; font-size: 0.95rem; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--sun); }
.footer__top { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center; padding-bottom: 40px; border-bottom: 1px solid rgb(255 255 255 / .15); }
.footer__logo img { width: 120px; }
.footer__nap { font-style: normal; line-height: 1.7; }
.footer__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.footer__cols { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; padding: 40px 0; }
.footer__h { font-size: 1rem; margin: 0 0 10px; color: var(--white); }
.footer__cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer__cols li a { color: rgb(255 255 255 / .75); font-size: 0.9rem; }
.footer__bottom { border-top: 1px solid rgb(255 255 255 / .15); padding-top: 24px; text-align: center; }
.footer__bottom .social { justify-content: center; margin-bottom: 16px; }
.footer__bottom .social .icon { width: 26px; height: 26px; }
.footer__legal { font-size: 0.82rem; color: rgb(255 255 255 / .65); max-width: 900px; margin-inline: auto; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .utility ul { display: none; }
  .nav__link { padding: 10px 8px; font-size: 0.96rem; }
  .rail__grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(3, 1fr); }
  .steps, .weeks { grid-template-columns: repeat(2, 1fr); }
  .footer__cols { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  body { font-size: 17px; }
  .site-header__inner { min-height: 72px; }
  .logo-card img { width: 78px; }
  .utility { display: none; }
  .site-header__bars { flex-direction: row; justify-content: flex-end; padding: 0; }
  .menu-btn { display: inline-flex; align-items: center; gap: 10px; background: var(--navy); color: #fff; border: 0; border-radius: 8px; padding: 10px 14px; font: inherit; font-weight: 800; cursor: pointer; }
  .menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after { display: block; width: 20px; height: 2px; background: currentColor; position: relative; }
  .menu-btn__bars::before, .menu-btn__bars::after { content: ""; position: absolute; left: 0; }
  .menu-btn__bars::before { top: -6px; } .menu-btn__bars::after { top: 6px; }
  .nav { display: none; position: fixed; inset: 72px 0 0; background: var(--white); overflow-y: auto; padding: 12px 16px 40px; }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav__link, .site-header--home .nav__link { flex: 1; color: var(--navy); font-size: 1.15rem; padding: 14px 4px; }
  .nav__toggle { display: grid; place-items: center; width: 48px; height: 48px; background: none; border: 0; cursor: pointer; }
  .nav__toggle span { width: 12px; height: 12px; border-right: 3px solid var(--navy); border-bottom: 3px solid var(--navy); transform: rotate(45deg); transition: transform .2s; }
  .nav__toggle[aria-expanded="true"] span { transform: rotate(-135deg); }
  .nav__menu { position: static; width: 100%; box-shadow: none; border: 0; padding: 0 0 12px 8px; display: none; opacity: 1; visibility: visible; transform: none; }
  .has-menu:hover .nav__menu, .has-menu:focus-within .nav__menu { display: none; }
  .has-menu.is-open .nav__menu { display: block; }
  .nav__mobile-extra { display: grid; list-style: none; padding: 16px 4px; margin: 0; gap: 4px; }
  .nav__mobile-extra a { display: block; padding: 8px 0; color: var(--blue); font-weight: 700; }
  .side-cta { top: auto; bottom: 0; left: 0; right: 0; flex-direction: row; gap: 0; }
  .side-cta a { flex: 1; text-align: center; border-radius: 0; padding: 14px; }
  .side-cta a:hover { padding-right: 14px; }
  body { padding-bottom: 50px; }
  .two-col, .split__grid, .band__grid, .contact-grid, .price-grid, .board, .months { grid-template-columns: 1fr; gap: 32px; }
  .split--rev .split__text { order: 0; }
  .split, .section, .rail { padding: 56px 0; }
  .promo, .promo--rev { grid-template-columns: 1fr; border-radius: 6px 48px 6px 6px; }
  .promo--rev .promo__panel { order: 0; }
  .promo__media { order: -1; aspect-ratio: 16 / 10; }
  .promo__panel { padding: 32px 24px; border-radius: 0; }
  .rail__cards { flex-direction: column; height: auto; }
  .rail__card, .rail__card.is-open { flex: none; height: 84px; border-bottom-right-radius: 12px; }
  .rail__card.is-open { height: 320px; border-bottom-right-radius: 40px; }
  .rail__body { padding: 16px 18px; }
  .rail__card:not(.is-open) .rail__body { top: 0; display: flex; align-items: center; }
  .video-feature__grid { grid-template-columns: 1fr; }
  .video-feature__side .video { grid-template-columns: 140px 1fr; }
  .video-grid, .posts, .tiles { grid-template-columns: 1fr 1fr; }
  .subjects { grid-template-columns: 1fr; }
  .articles a { grid-template-columns: 1fr; gap: 4px; }
  .footer__top { grid-template-columns: 1fr; text-align: left; }
  .hero__text { padding: 130px 0 80px; }
  .when, .month .when { grid-template-columns: 96px 1fr; }
}
@media (max-width: 600px) {
  .video-grid, .posts, .tiles, .steps, .weeks, .timeline { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .langbar { flex-direction: column; border-radius: 12px; }
  .langbar__seg { flex: none !important; }
  .table { font-size: 0.92rem; }
  .table td a[href^="mailto"] { overflow-wrap: anywhere; }
  .table tbody th { min-width: 96px; }
  .table th, .table td { padding: 10px 8px; }
  .table--price thead { display: none; }
  .table--price tr { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); padding: 8px 0; }
  .table--price th, .table--price td { border: 0; padding: 4px 8px; }
  .table--price tbody th { grid-column: 1 / -1; }
  .table--price td:nth-of-type(1) { grid-column: 1 / -1; color: var(--muted); }
  .table--price td:nth-of-type(3)::before { content: "Siblings: "; color: var(--muted); }
  .list-links { columns: 1; }
  :root { --radius-xl: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
