/* ==========================================================================
   School websites (public). One base system + a block of tokens per template.
   Templates set tokens on body.tpl-*; a school's own choices are set inline on
   body.ss-site (higher specificity) by _PublicLayout.cshtml.
   ========================================================================== */

body.ss-site {
    --font-display: system-ui, sans-serif;
    --font-body: system-ui, sans-serif;
    --bg: #FFFFFF;
    --ink: #27313B;
    --muted: #5E6A75;
    --heading: #111827;
    --line: #E2E6EA;
    --alt: #F5F7F8;
    --card-bg: #FFFFFF;
    --card-border: 1px solid var(--line);
    --card-shadow: 0 1px 2px rgba(15, 23, 42, .04);
    --radius: 14px;
    --btn-radius: 10px;
    --nav-bg: #FFFFFF;
    --nav-ink: var(--heading);
    --foot-bg: #0F172A;
    --foot-ink: #CBD5E1;
    --hero-overlay: #05080D;
    --hero-opacity: .55;
    --hero-min: 560px;
    --pad: clamp(56px, 8vw, 104px);
    --wrap: 1200px;
    --h1: clamp(40px, 6vw, 72px);
    --h2: clamp(28px, 3.6vw, 44px);
    --h-weight: 700;
    --h-tracking: -0.02em;
    --h-transform: none;
    --nav-transform: none;
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 17px/1.65 var(--font-body);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.ss-site *, .ss-site *::before, .ss-site *::after { box-sizing: border-box; }
.ss-site img { max-width: 100%; display: block; }
.ss-site a { color: inherit; }
.ss-site h1, .ss-site h2, .ss-site h3 {
    font-family: var(--font-display);
    font-weight: var(--h-weight);
    letter-spacing: var(--h-tracking);
    text-transform: var(--h-transform);
    color: var(--heading);
    line-height: 1.1;
    margin: 0;
    text-wrap: balance;
}
.ss-site h2 { font-size: var(--h2); }
.ss-site h3 { font-size: 20px; line-height: 1.25; letter-spacing: -0.01em; text-transform: none; }
.ss-site p { margin: 0; }
.ss-site :focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ss-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--heading); color: #fff; padding: 10px 16px; border-radius: 8px; }
.ss-skip:focus { top: 12px; }

.ss-wrap {
    width: 100%;
    max-width: calc(var(--wrap) + 48px);
    margin-inline: auto;
    padding-left: max(20px, env(safe-area-inset-left, 0px));
    padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.ss-narrow { max-width: 820px; }
.ss-icon { width: 1.2em; height: 1.2em; flex: none; }

/* ── Buttons ── */
.ss-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 46px; padding: 11px 22px;
    border: 2px solid var(--brand); border-radius: var(--btn-radius);
    background: var(--brand); color: var(--brand-ink) !important;
    font: 600 16px/1.2 var(--font-body); text-decoration: none; text-align: center;
    transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.ss-btn:hover { background: var(--brand-deep); border-color: var(--brand-deep); transform: translateY(-1px); }
.ss-btn.is-accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink) !important; }
.ss-btn.is-accent:hover { filter: brightness(.95); }
.ss-btn.is-ghost { background: transparent; color: var(--brand) !important; }
.ss-btn.is-ghost:hover { background: var(--brand-soft); }
.ss-btn.is-ghost-light { background: transparent; border-color: rgba(255,255,255,.8); color: #fff !important; }
.ss-btn.is-ghost-light:hover { background: rgba(255,255,255,.12); }
.ss-btn.is-small { min-height: 38px; padding: 7px 16px; font-size: 14.5px; }
.ss-btn.is-large { min-height: 54px; padding: 14px 28px; font-size: 17px; }
.ss-btn.is-wide { width: 100%; }
.ss-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.ss-actions.is-center { justify-content: center; }
.ss-more { display: inline-flex; gap: 6px; font-weight: 600; color: var(--brand); text-decoration: none; margin-top: 4px; }
.ss-more:hover { text-decoration: underline; }

/* ── Ribbon, top bar ── */
.ss-ribbon { background: var(--accent); color: var(--accent-ink); text-align: center; font-size: 14.5px; font-weight: 600; padding: 8px 16px; }
.ss-ribbon a { text-decoration: none; }
.ss-ribbon a:hover { text-decoration: underline; }
.ss-topbar { background: var(--brand-deep); color: rgba(255,255,255,.88); font-size: 13.5px; }
.ss-topbar .ss-wrap { display: flex; justify-content: space-between; align-items: center; gap: 8px 20px; flex-wrap: wrap; min-height: 38px; padding-block: 4px; }
.ss-topbar a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: inherit; }
.ss-topbar a:hover { color: #fff; }
.ss-topbar-contacts, .ss-topbar-links { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.ss-topbar .ss-icon { width: 15px; height: 15px; }

/* ── Header ── */
.ss-header { background: var(--nav-bg); color: var(--nav-ink); border-bottom: 1px solid var(--line); z-index: 50; position: relative; }
.ss-header.is-sticky { position: sticky; top: 0; }
.ss-header-inner { display: flex; align-items: center; gap: 16px 28px; min-height: 76px; flex-wrap: wrap; }
.ss-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; min-width: 0; }
.ss-brand-logo { height: 48px; width: auto; max-width: 160px; object-fit: contain; }
.ss-brand-mark { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--brand); color: var(--brand-ink); font: 700 17px var(--font-display); }
.ss-brand-text { display: flex; flex-direction: column; min-width: 0; }
.ss-brand-name { font: var(--h-weight) 19px/1.15 var(--font-display); letter-spacing: -0.01em; color: var(--nav-ink); }
.ss-brand-motto { font-size: 12.5px; color: var(--muted); font-style: italic; }
.ss-menu { display: flex; align-items: center; gap: 22px; }
.ss-menu ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.ss-menu ul a { display: block; padding: 8px 12px; border-radius: 8px; text-decoration: none; font-weight: 500; font-size: 15.5px; color: var(--nav-ink); text-transform: var(--nav-transform); letter-spacing: var(--nav-tracking, 0); }
.ss-menu ul a:hover { background: var(--brand-soft); color: var(--brand); }
.ss-menu ul a.is-active { color: var(--brand); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.ss-menu-actions { display: flex; gap: 8px; }
.ss-menu-toggle { display: none; align-items: center; gap: 8px; border: 1px solid var(--line); background: transparent; color: var(--nav-ink); border-radius: 10px; padding: 8px 14px; font: 600 15px var(--font-body); cursor: pointer; }

/* Crest / centred headers: logo above a centred menu */
.h-crest .ss-header-inner, .h-centered .ss-header-inner { flex-direction: column; justify-content: center; padding-block: 18px 6px; gap: 10px; }
.h-crest .ss-brand, .h-centered .ss-brand { margin: 0; flex-direction: column; text-align: center; gap: 8px; }
.h-crest .ss-brand-logo, .h-centered .ss-brand-logo { height: 64px; }
.h-crest .ss-brand-name, .h-centered .ss-brand-name { font-size: 24px; }
.h-crest .ss-menu, .h-centered .ss-menu { width: 100%; justify-content: center; border-top: 1px solid var(--line); padding-top: 6px; flex-wrap: wrap; }

/* Pill header: floating rounded bar */
.h-pill .ss-header { background: transparent; border: 0; padding-top: 14px; }
.h-pill .ss-header-inner { background: var(--nav-bg); border-radius: 999px; box-shadow: 0 6px 24px rgba(20, 20, 40, .08); padding-inline: 18px 12px; min-height: 66px; max-width: calc(var(--wrap) + 8px); }
.h-pill .ss-header.is-sticky { top: 0; }

/* Minimal header */
.h-minimal .ss-header { border-bottom: 0; }
.h-minimal .ss-menu ul a { font-weight: 500; }

/* Overlay header: transparent over the first hero, solid once scrolled */
.h-overlay.starts-with-hero .ss-header { position: fixed; left: 0; right: 0; top: 0; background: transparent; border-color: transparent; transition: background .25s ease, box-shadow .25s ease; }
.h-overlay.starts-with-hero .ss-header:not(.is-scrolled) { --nav-ink: #FFFFFF; --muted: rgba(255,255,255,.75); }
.h-overlay.starts-with-hero .ss-header:not(.is-scrolled) .ss-menu ul a:hover { background: rgba(255,255,255,.14); color: #fff; }
.h-overlay.starts-with-hero .ss-header:not(.is-scrolled) .ss-btn.is-ghost { border-color: rgba(255,255,255,.8); color: #fff !important; }
.h-overlay.starts-with-hero .ss-header.is-scrolled { background: var(--nav-bg); box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.h-overlay.starts-with-hero .ss-hero { padding-top: 110px; }
.h-overlay.starts-with-hero .ss-ribbon + .ss-topbar ~ .ss-header,
.h-overlay.starts-with-hero .ss-topbar ~ .ss-header { position: absolute; }

@media (max-width: 1000px) {
    .ss-menu-toggle { display: inline-flex; }
    .ss-menu { display: none; width: 100%; flex-direction: column; align-items: stretch; padding-bottom: 16px; }
    .ss-menu.is-open { display: flex; }
    .ss-menu ul { flex-direction: column; align-items: stretch; }
    .ss-menu ul a { padding: 12px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
    .ss-menu-actions { padding-top: 8px; }
    .ss-menu-actions .ss-btn { flex: 1; }
    .h-crest .ss-header-inner, .h-centered .ss-header-inner { flex-direction: row; padding-block: 10px; }
    .h-crest .ss-brand, .h-centered .ss-brand { flex-direction: row; text-align: left; margin-right: auto; }
    .h-crest .ss-brand-logo, .h-centered .ss-brand-logo { height: 46px; }
    .h-crest .ss-brand-name, .h-centered .ss-brand-name { font-size: 18px; }
    .h-crest .ss-menu, .h-centered .ss-menu { border-top: 0; }
    .h-pill .ss-header-inner { border-radius: 22px; }
    .h-overlay.starts-with-hero .ss-header .ss-menu.is-open { background: var(--nav-bg); --nav-ink: var(--heading); border-radius: 14px; padding: 8px 16px 16px; }
    .ss-topbar-contacts a:nth-child(2) { display: none; }
}

/* ── Page header (pages without a hero) ── */
.ss-pagehead { background: var(--brand); color: var(--brand-ink); padding-block: clamp(40px, 6vw, 72px); }
.ss-pagehead h1 { color: var(--brand-ink); font-size: clamp(34px, 5vw, 56px); }
.ss-crumbs { display: flex; gap: 8px; font-size: 14px; opacity: .85; margin-bottom: 10px; }
.ss-crumbs a { text-decoration: none; }
.ss-crumbs a:hover { text-decoration: underline; }

/* ── Sections ── */
.ss-section { padding-block: var(--pad); background: var(--surface, transparent); color: var(--surface-ink, inherit); position: relative; }
.ss-section.is-alt:not(.has-surface) { background: var(--alt); }
.ss-section.has-surface h2, .ss-section.has-surface h3 { color: var(--surface-ink, var(--heading)); }
.ss-section.has-photo { background: linear-gradient(rgba(5, 8, 13, .62), rgba(5, 8, 13, .62)), var(--surface-image) center / cover no-repeat; color: #fff; }
.ss-section.has-photo h2, .ss-section.has-photo h3, .ss-section.has-photo .ss-lead { color: #fff; }
.ss-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: clamp(28px, 4vw, 48px); max-width: 760px; }
.ss-head.is-center { margin-inline: auto; text-align: center; align-items: center; }
.ss-lead { font-size: 19px; color: var(--muted); max-width: 680px; }
.ss-eyebrow { font: 600 13px/1.3 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.ss-prose { display: flex; flex-direction: column; gap: 16px; max-width: 72ch; }
.ss-prose.is-center { margin-inline: auto; text-align: center; }
.ss-prose.is-columns { display: block; columns: 2 320px; column-gap: 48px; max-width: none; }
.ss-prose p, .ss-prose ul, .ss-prose ol { margin: 0 0 14px; }
.ss-prose a { color: var(--brand); }
.ss-prose h3 { margin-top: 10px; }
.ss-note { padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; font-weight: 500; }
.ss-note.is-good { background: #E7F6EC; color: #165C33; }
.ss-note.is-bad { background: #FCEBE8; color: #8A2A1B; }

/* ── Hero ── */
.ss-hero { position: relative; padding-block: clamp(56px, 9vw, 120px); background: var(--brand-soft); overflow: hidden; }
.ss-hero h1 { font-size: var(--h1); }
.ss-hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.ss-hero-text { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; min-width: 0; }
.ss-hero-text .ss-actions { margin-top: 10px; }
.ss-hero-sub { font-size: clamp(18px, 2vw, 22px); color: var(--muted); max-width: 560px; }
.ss-hero-figure img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: calc(var(--radius) * 1.4); box-shadow: 0 24px 60px rgba(15, 23, 42, .18); }
.ss-hero.l-centered { text-align: center; background: var(--brand); --heading: var(--brand-ink); }
.ss-hero.l-centered .ss-hero-inner { grid-template-columns: minmax(0, 1fr); justify-items: center; }
.ss-hero.l-centered .ss-hero-text { align-items: center; max-width: 900px; }
.ss-hero.l-centered .ss-hero-sub { color: var(--brand-ink); opacity: .88; margin-inline: auto; }
.ss-hero.l-centered .ss-btn.is-ghost { border-color: currentColor; color: var(--brand-ink) !important; }
.ss-hero.is-on-photo { min-height: var(--hero-min); display: flex; align-items: flex-end; background: #0B0F14 var(--hero-image, none) center / cover no-repeat; --heading: #FFFFFF; color: #fff; }
.ss-hero.is-on-photo::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.05) 20%, var(--hero-overlay) 100%); opacity: calc(var(--hero-opacity) + .25); }
.ss-hero.is-on-photo .ss-hero-inner { grid-template-columns: minmax(0, 820px); width: 100%; }
.ss-hero.is-on-photo .ss-hero-sub { color: rgba(255,255,255,.9); }
.ss-hero.is-on-photo .ss-eyebrow { color: #FFE7A3; }
.ss-hero-media, .ss-hero-slides { position: absolute; inset: 0; z-index: 0; }
.ss-hero-media video, .ss-hero-media img, .ss-hero-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ss-hero-media iframe { position: absolute; top: 50%; left: 50%; width: 177.78vh; min-width: 100%; height: 56.25vw; min-height: 100%; transform: translate(-50%, -50%); border: 0; pointer-events: none; }
.ss-hero-poster { display: none; }
.ss-hero-slides img { opacity: 0; transition: opacity 1.2s ease; }
.ss-hero-slides img.is-active { opacity: 1; }
.ss-hero.l-mosaic { padding-block: clamp(32px, 4vw, 48px); background: var(--alt); }
.ss-hero-mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(120px, 16vw, 210px); gap: 10px; max-width: calc(var(--wrap) + 48px); margin: 0 auto; padding-inline: max(20px, env(safe-area-inset-left, 0px)); }
.ss-hero-mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.ss-hero-mosaic img:nth-child(2) { grid-row: span 2; }
.ss-hero.l-mosaic .ss-hero-inner { position: absolute; inset: 0; display: grid; place-items: center; grid-template-columns: 1fr; pointer-events: none; }
.ss-hero.l-mosaic .ss-hero-text { pointer-events: auto; background: var(--card-bg); padding: clamp(24px, 3vw, 40px); border-radius: calc(var(--radius) * 1.2); box-shadow: 0 20px 50px rgba(0,0,0,.18); align-items: center; text-align: center; max-width: 620px; }
.ss-hero.l-mosaic h1 { font-size: clamp(30px, 4vw, 52px); }
@media (max-width: 860px) {
    .ss-hero-inner { grid-template-columns: minmax(0, 1fr); }
    .ss-hero.l-mosaic .ss-hero-inner { position: relative; margin-top: -60px; }
    .ss-hero-mosaic { grid-template-columns: repeat(2, 1fr); }
    .ss-hero-mosaic img:nth-child(n+5) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .ss-hero-media video, .ss-hero-media iframe { display: none; }
    .ss-hero-poster { display: block; }
    .ss-hero-slides img { transition: none; }
}

/* ── Cards ── */
.ss-card-grid { display: grid; gap: clamp(16px, 2.4vw, 28px); grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.ss-card-grid.count-4 { grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); }
.ss-card { display: flex; flex-direction: column; gap: 14px; background: var(--card-bg); border: var(--card-border); border-radius: var(--radius); box-shadow: var(--card-shadow); padding: clamp(22px, 2.4vw, 30px); min-width: 0; color: var(--ink); }
.ss-card h3 { color: var(--heading); }
.ss-card p { color: var(--muted); }
.ss-card-body { display: flex; flex-direction: column; gap: 8px; }
.ss-card-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: calc(var(--radius) * .8); background: var(--brand-soft); color: var(--brand); }
.ss-card-icon .ss-icon { width: 26px; height: 26px; }
.ss-card-step { font: 700 15px var(--font-display); color: var(--accent-ink); background: var(--accent); width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; }
.l-photos .ss-card { padding: 0; overflow: hidden; }
.l-photos .ss-card-body { padding: 0 22px 24px; }
.ss-card-photo { aspect-ratio: 4 / 3; background: linear-gradient(135deg, var(--brand-soft), var(--accent-soft)); }
.ss-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.l-plain .ss-card { background: transparent; border: 0; box-shadow: none; padding: 18px 0 0; border-top: 3px solid var(--accent); border-radius: 0; }

/* ── Statistics ── */
.ss-stat-list { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); margin: 0; }
.ss-stat { display: flex; flex-direction: column-reverse; gap: 6px; }
.ss-stat dd { margin: 0; font: var(--h-weight) clamp(38px, 5vw, 60px)/1 var(--font-display); color: var(--brand); letter-spacing: -0.03em; }
.ss-stat dt { color: var(--muted); font-size: 15.5px; }
.ss-stats.l-band { background: var(--brand); color: var(--brand-ink); }
.ss-stats.l-band h2, .ss-stats.l-band .ss-lead, .ss-stats.l-band dt, .ss-stats.l-band dd { color: var(--brand-ink); }
.ss-stats.l-band dt { opacity: .85; }
.ss-stats.l-row .ss-stat { border-left: 3px solid var(--accent); padding-left: 18px; }
.ss-stats.l-circles .ss-stat-list { text-align: center; }
.ss-stats.l-circles .ss-stat { align-items: center; gap: 12px; }
.ss-stats.l-circles dd { display: grid; place-items: center; width: clamp(110px, 12vw, 140px); aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--accent); font-size: clamp(28px, 3vw, 38px); }

/* ── Gallery & carousel ── */
.ss-photo-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); }
.ss-photo, .ss-carousel-item { padding: 0; border: 0; background: var(--alt); border-radius: var(--radius); overflow: hidden; cursor: zoom-in; display: block; }
.ss-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s ease; }
.ss-photo:hover img { transform: scale(1.04); }
.ss-gallery.l-masonry .ss-photo-grid { display: block; columns: 3 240px; column-gap: 10px; }
.ss-gallery.l-masonry .ss-photo { margin-bottom: 10px; break-inside: avoid; width: 100%; }
.ss-gallery.l-masonry .ss-photo img { aspect-ratio: auto; }
.ss-carousel { position: relative; }
.ss-carousel-track { display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 420px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.ss-carousel-track > * { scroll-snap-align: start; }
.ss-carousel-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ss-carousel-nav { display: flex; gap: 8px; justify-content: flex-end; margin-top: 14px; }
.ss-carousel-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--card-bg); color: var(--heading); display: grid; place-items: center; cursor: pointer; }
.ss-carousel-nav button:hover { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }

/* ── Video, map ── */
.ss-video-frame, .ss-map-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.ss-video-frame iframe, .ss-video-frame video, .ss-map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ss-map-frame { aspect-ratio: 16 / 10; background: var(--alt); }
.ss-map-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.ss-map-copy { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.ss-map-address { display: flex; gap: 10px; font-size: 18px; }
.ss-map-address .ss-icon { color: var(--brand); margin-top: 3px; }
@media (max-width: 800px) { .ss-map-grid { grid-template-columns: minmax(0, 1fr); } }

/* ── Testimonials & voices ── */
.ss-quote-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.ss-quote { margin: 0; display: flex; flex-direction: column; gap: 16px; background: var(--card-bg); border: var(--card-border); border-radius: var(--radius); padding: clamp(24px, 3vw, 34px); color: var(--ink); }
.ss-quote > .ss-icon { color: var(--accent); width: 32px; height: 32px; }
.ss-quote blockquote { margin: 0; font: 400 19px/1.55 var(--font-display); color: var(--heading); letter-spacing: 0; text-transform: none; }
.ss-quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.ss-quote figcaption img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.ss-quote figcaption span { display: flex; flex-direction: column; }
.ss-quote small { color: var(--muted); font-size: 14px; }
.ss-quotes.l-single .ss-quote { max-width: 860px; margin-inline: auto; text-align: center; align-items: center; border: 0; background: transparent; }
.ss-quotes.l-single blockquote { font-size: clamp(22px, 3vw, 32px); }
.ss-quotes.l-slider .ss-carousel-track { grid-auto-columns: min(88%, 520px); }
.ss-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.ss-tabs button { border: 0; background: transparent; padding: 10px 16px; font: 600 15.5px var(--font-body); color: var(--muted); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.ss-tabs button[aria-selected="true"] { color: var(--heading); border-bottom-color: var(--accent); }
.ss-voice-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); }
.ss-voice { margin: 0; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 18px; align-items: start; background: var(--card-bg); border: var(--card-border); border-radius: var(--radius); padding: 20px; color: var(--ink); }
.ss-voice-media { position: relative; width: 96px; aspect-ratio: 1; border-radius: calc(var(--radius) * .8); background: linear-gradient(135deg, var(--brand-soft), var(--accent-soft)); overflow: hidden; }
.ss-voice-media img { width: 100%; height: 100%; object-fit: cover; }
.ss-voice-play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.35); color: #fff; }
.ss-voice blockquote { margin: 0 0 12px; font: 400 18px/1.5 var(--font-display); color: var(--heading); text-transform: none; letter-spacing: 0; }
.ss-voice figcaption { display: flex; flex-direction: column; font-size: 14.5px; }
.ss-voice figcaption span { color: var(--muted); }

/* ── Staff ── */
.ss-staff-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); }
.ss-person { display: flex; flex-direction: column; gap: 10px; }
.ss-person img, .ss-person-initials { width: 100%; aspect-ratio: 1; border-radius: var(--radius); object-fit: cover; }
.ss-person-initials { display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font: 700 34px var(--font-display); }
.ss-person-text { display: flex; flex-direction: column; }
.ss-person-text small { color: var(--muted); font-size: 14.5px; }
.ss-staff.l-list .ss-staff-list { grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 0 32px; }
.ss-staff.l-list .ss-person { border-bottom: 1px solid var(--line); padding-block: 14px; }

/* ── News & events ── */
.ss-news-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
.ss-story { display: flex; flex-direction: column; background: var(--card-bg); border: var(--card-border); border-radius: var(--radius); overflow: hidden; color: var(--ink); }
.ss-story-photo { aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--brand-soft), var(--accent-soft)); }
.ss-story-photo img { width: 100%; height: 100%; object-fit: cover; }
.ss-story-body { display: flex; flex-direction: column; gap: 8px; padding: 22px; }
.ss-story-body p { color: var(--muted); font-size: 15.5px; }
.ss-story-date { font-size: 13px !important; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent) !important; }
.ss-story h3 a { text-decoration: none; }
.ss-story h3 a:hover { text-decoration: underline; }
.ss-news.l-list .ss-news-grid { grid-template-columns: minmax(0, 1fr); gap: 0; max-width: 860px; }
.ss-news.l-list .ss-story { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; }
.ss-news.l-list .ss-story-body { padding: 20px 0; }
@media (min-width: 900px) {
    .ss-news.l-featured .ss-news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ss-news.l-featured .ss-story.is-lead { grid-column: span 2; grid-row: span 2; }
    .ss-news.l-featured .ss-story.is-lead h3 { font-size: 28px; }
    .ss-news.l-featured .ss-story.is-lead .ss-story-photo { aspect-ratio: 16 / 9; flex: 1; }
}
.ss-event-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ss-events.l-cards .ss-event-list { grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); }
.ss-event { display: flex; gap: 18px; align-items: flex-start; background: var(--card-bg); border: var(--card-border); border-radius: var(--radius); padding: 18px; color: var(--ink); }
.ss-event-date { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 68px; height: 72px; border-radius: calc(var(--radius) * .8); background: var(--brand); color: var(--brand-ink); line-height: 1; }
.ss-event-date span { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.ss-event-date strong { font: 700 28px var(--font-display); }
.ss-event-body { display: flex; flex-direction: column; gap: 4px; }
.ss-event-meta { color: var(--muted); font-size: 15px; }

/* ── Fees ── */
.ss-fees-note { margin-bottom: 20px; }
.ss-table-wrap { overflow-x: auto; border: var(--card-border); border-radius: var(--radius); background: var(--card-bg); }
.ss-table { width: 100%; border-collapse: collapse; font-size: 15.5px; color: var(--ink); }
.ss-table caption { text-align: left; padding: 14px 18px; font-weight: 600; color: var(--heading); }
.ss-table th, .ss-table td { padding: 12px 18px; border-top: 1px solid var(--line); text-align: left; }
.ss-table th { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--alt); }
.ss-table .is-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ss-fee-cards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
.ss-fee-card { background: var(--card-bg); border: var(--card-border); border-radius: var(--radius); padding: 22px; color: var(--ink); }
.ss-fee-card ul { list-style: none; margin: 12px 0 0; padding: 0; }
.ss-fee-card li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 15.5px; }
.ss-fee-card strong { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ── Admissions steps, timeline, FAQ ── */
.ss-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); counter-reset: none; }
.ss-step { display: flex; flex-direction: column; gap: 12px; padding-top: 18px; border-top: 3px solid var(--line); }
.ss-step:first-child { border-top-color: var(--accent); }
.ss-step-num { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); font: 700 15px var(--font-display); }
.ss-step div { display: flex; flex-direction: column; gap: 4px; }
.ss-step p { color: var(--muted); font-size: 15.5px; }
.ss-step-date { color: var(--accent) !important; font-weight: 600; font-size: 14px !important; }
.ss-admissions.l-steps .ss-steps { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.ss-admissions.l-steps .ss-step { flex-direction: row; border: 0; padding: 0; }
.ss-timeline-list { list-style: none; margin: 0; padding: 0 0 0 28px; border-left: 2px solid var(--line); display: flex; flex-direction: column; gap: 28px; max-width: 820px; }
.ss-timeline-list li { position: relative; display: flex; flex-direction: column; gap: 6px; }
.ss-timeline-list li::before { content: ""; position: absolute; left: -36px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--bg); }
.ss-timeline-year { font: var(--h-weight) 22px var(--font-display); color: var(--brand); }
.ss-timeline-list p { color: var(--muted); }
.ss-timeline.l-horizontal .ss-timeline-list { flex-direction: row; overflow-x: auto; border-left: 0; border-top: 2px solid var(--line); padding: 28px 0 8px; max-width: none; }
.ss-timeline.l-horizontal .ss-timeline-list li { min-width: 220px; }
.ss-timeline.l-horizontal .ss-timeline-list li::before { left: 0; top: -36px; }
.ss-faq-list { display: flex; flex-direction: column; gap: 10px; }
.ss-faq.l-columns .ss-faq-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); }
.ss-faq-item { background: var(--card-bg); border: var(--card-border); border-radius: var(--radius); padding: 0 20px; color: var(--ink); }
.ss-faq-item summary { cursor: pointer; padding: 18px 0; font-weight: 600; color: var(--heading); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.ss-faq-item summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--brand); }
.ss-faq-item[open] summary::after { content: "–"; }
.ss-faq-item p { padding-bottom: 18px; color: var(--muted); }

/* ── Call to action ── */
.ss-cta { padding-block: clamp(48px, 7vw, 88px); background: var(--surface, var(--brand)); color: var(--surface-ink, var(--brand-ink)); }
.ss-cta h2 { color: inherit; }
.ss-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.ss-cta-copy { display: flex; flex-direction: column; gap: 10px; max-width: 680px; }
.ss-cta-copy p { font-size: 19px; opacity: .9; }
.ss-cta .ss-actions { margin-top: 0; }
.ss-cta.l-centered .ss-cta-inner { flex-direction: column; text-align: center; }
.ss-cta.l-centered .ss-cta-copy { align-items: center; }
.ss-cta.l-split .ss-cta-inner { background: rgba(255,255,255,.08); border-radius: calc(var(--radius) * 1.4); padding: clamp(24px, 4vw, 48px); }

/* ── Forms (contact, enquiry) ── */
.ss-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ss-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ss-field.is-wide, .ss-form .ss-btn, .ss-form .ss-note, .ss-enquiry-title { grid-column: 1 / -1; }
.ss-field label { font-weight: 600; font-size: 15px; color: var(--heading); }
.ss-field input, .ss-field select, .ss-field textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: calc(var(--radius) * .6); background: var(--card-bg); color: var(--ink); font: 16px var(--font-body); }
.ss-field input:focus, .ss-field select:focus, .ss-field textarea:focus { border-color: var(--brand); outline: 3px solid var(--brand-soft); }
@media (max-width: 640px) { .ss-form { grid-template-columns: minmax(0, 1fr); } }
.ss-contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.ss-contact-card { background: var(--brand); color: var(--brand-ink); border-radius: calc(var(--radius) * 1.2); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.ss-contact-card p { display: flex; gap: 12px; align-items: flex-start; }
.ss-contact-card a { color: inherit; }
@media (max-width: 860px) { .ss-contact-grid { grid-template-columns: minmax(0, 1fr); } }
.ss-enquiry-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.ss-enquiry-form { background: var(--card-bg); border: var(--card-border); border-radius: calc(var(--radius) * 1.2); padding: clamp(22px, 3vw, 32px); box-shadow: 0 18px 50px rgba(15, 23, 42, .1); color: var(--ink); }
.ss-enquiry-title { font: var(--h-weight) 22px var(--font-display); color: var(--heading); }
.ss-ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ss-ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 17.5px; }
.ss-ticks .ss-icon { color: var(--accent); margin-top: 3px; }
.ss-enquiry.l-card .ss-enquiry-grid { grid-template-columns: minmax(0, 1fr); max-width: 640px; margin-inline: auto; }
@media (max-width: 860px) { .ss-enquiry-grid { grid-template-columns: minmax(0, 1fr); } }

/* ── Premium blocks ── */
.ss-door-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); border-top: 1px solid var(--line); }
.ss-door { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 22px 18px 22px 0; text-decoration: none; border-bottom: 1px solid var(--line); }
.ss-door strong { font: var(--h-weight) 19px var(--font-display); color: var(--heading); }
.ss-door span { grid-column: 1; color: var(--muted); font-size: 15px; }
.ss-door .ss-icon { grid-row: 1 / span 2; grid-column: 2; align-self: center; color: var(--accent); transition: transform .2s ease; }
.ss-door:hover .ss-icon { transform: translateX(4px); }
.ss-doors.l-tiles .ss-door-list { border: 0; gap: 14px; }
.ss-doors.l-tiles .ss-door { background: var(--brand); border: 0; border-radius: var(--radius); padding: 24px; --heading: var(--brand-ink); --muted: var(--brand-ink); }
.ss-doors.l-tiles .ss-door span { opacity: .82; }
.ss-journey { list-style: none; display: flex; margin: 0 0 22px; padding: 0; }
.ss-journey li { flex: 1; position: relative; font-size: 13px; font-weight: 600; color: var(--muted); padding-top: 22px; }
.ss-journey li::before { content: ""; position: absolute; top: 4px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.ss-journey li::after { content: ""; position: absolute; top: 9px; left: 16px; right: 4px; border-top: 2px dashed var(--line); }
.ss-journey li:last-child::after { display: none; }
.ss-stage-list { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.ss-stage { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 300px; display: flex; align-items: flex-end; color: #fff; background: var(--stage-image, none) center / cover, var(--tone); outline-offset: 3px; }
.ss-stage::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.7)); }
.ss-stage.tone-0 { --tone: linear-gradient(140deg, var(--brand), var(--brand-deep)); }
.ss-stage.tone-1 { --tone: linear-gradient(140deg, var(--accent), var(--brand)); }
.ss-stage.tone-2 { --tone: linear-gradient(140deg, var(--second), var(--brand-deep)); }
.ss-stage.tone-3 { --tone: linear-gradient(140deg, var(--brand-deep), var(--accent)); }
.ss-stage.tone-4 { --tone: linear-gradient(140deg, var(--brand), var(--second)); }
.ss-stage-text { position: relative; padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.ss-stage h3 { color: #fff; font-size: 24px; }
.ss-stage-ages { font-size: 14px; font-weight: 600; opacity: .9; }
.ss-stage-desc { font-size: 15.5px; opacity: .92; }
.ss-stage .ss-more { color: #fff; }
@media (min-width: 900px) {
    .ss-stages.l-panels .ss-stage-list { display: flex; height: 420px; }
    .ss-stages.l-panels .ss-stage { flex: 1; min-height: 0; transition: flex .45s ease; cursor: pointer; }
    .ss-stages.l-panels .ss-stage.is-open { flex: 3; }
    .ss-stages.l-panels .ss-stage:not(.is-open) .ss-stage-desc, .ss-stages.l-panels .ss-stage:not(.is-open) .ss-more { display: none; }
}
@media (prefers-reduced-motion: reduce) { .ss-stages.l-panels .ss-stage { transition: none; } }
.ss-outcome-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.ss-outcomes.l-wall .ss-outcome-grid { grid-template-columns: minmax(0, 1fr); }
.ss-outcome-results { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); margin: 0; }
.ss-outcome-results div { display: flex; flex-direction: column-reverse; gap: 6px; padding: 20px; background: var(--card-bg); border: var(--card-border); border-radius: var(--radius); }
.ss-outcome-results dd { margin: 0; font: var(--h-weight) clamp(32px, 4vw, 48px)/1 var(--font-display); color: var(--brand); }
.ss-outcome-results dt { color: var(--muted); font-size: 15px; }
.ss-destinations h3 { margin-bottom: 14px; }
.ss-destinations ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ss-destinations li { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: 15px; background: var(--card-bg); }
@media (max-width: 860px) { .ss-outcome-grid { grid-template-columns: minmax(0, 1fr); } }
.ss-welcome-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.ss-welcome-photo { margin: 0; }
.ss-welcome-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: calc(var(--radius) * 1.3); }
.ss-welcome-copy { display: flex; flex-direction: column; gap: 18px; }
.ss-pullquote { margin: 0; font: italic 400 clamp(22px, 2.6vw, 30px)/1.35 var(--font-display); color: var(--heading); border-left: 3px solid var(--accent); padding-left: 20px; text-transform: none; }
.ss-signature { display: flex; flex-direction: column; }
.ss-signature span { color: var(--muted); }
.ss-welcome.l-quote .ss-welcome-grid { grid-template-columns: minmax(0, 1fr); max-width: 860px; margin-inline: auto; text-align: center; }
.ss-welcome.l-quote .ss-welcome-photo img { width: 140px; aspect-ratio: 1; border-radius: 50%; margin-inline: auto; }
.ss-welcome.l-quote .ss-pullquote { border: 0; padding: 0; }
.ss-welcome:not(:has(.ss-welcome-photo)) .ss-welcome-grid { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
@media (max-width: 800px) { .ss-welcome-grid { grid-template-columns: minmax(0, 1fr); } }
.ss-tour-map { position: relative; border-radius: var(--radius); overflow: hidden; }
.ss-tour-map > img { width: 100%; }
.ss-spot { position: absolute; transform: translate(-50%, -50%); border: 0; background: transparent; padding: 0; cursor: pointer; }
.ss-spot-dot { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font: 700 14px var(--font-body); box-shadow: 0 0 0 6px rgba(255,255,255,.55); }
.ss-spot[aria-expanded="true"] .ss-spot-dot { background: var(--brand); color: var(--brand-ink); }
.ss-spot-card { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); width: min(360px, 90%); background: var(--card-bg); color: var(--ink); border-radius: var(--radius); padding: 16px; box-shadow: 0 16px 40px rgba(0,0,0,.25); display: flex; flex-direction: column; gap: 6px; z-index: 3; }
.ss-spot-card img { border-radius: calc(var(--radius) * .7); aspect-ratio: 16 / 9; object-fit: cover; }
.ss-tour-legend { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 16px 0 0; padding-left: 20px; color: var(--muted); font-size: 15px; }
.ss-day-strip { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 14px; overflow-x: auto; padding-bottom: 6px; }
.ss-moment { display: flex; flex-direction: column; gap: 6px; }
.ss-moment-photo { aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; background: linear-gradient(135deg, var(--brand-soft), var(--accent-soft)); }
.ss-moment-photo img { width: 100%; height: 100%; object-fit: cover; }
.ss-moment time { font: 700 20px var(--font-display); color: var(--accent); }
.ss-badges { padding-block: clamp(32px, 4vw, 48px); }
.ss-badges-title { text-align: center; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.ss-badge-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 44px; }
.ss-badge-row img { height: 56px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .2s, opacity .2s; }
.ss-badge-row a:hover img { filter: none; opacity: 1; }
.ss-badge-row span { font-weight: 700; color: var(--muted); }

/* ── Image and text ── */
.ss-imagetext-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.ss-imagetext-figure { margin: 0; }
.ss-imagetext-figure img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: calc(var(--radius) * 1.3); }
.ss-imagetext-figure.is-missing { aspect-ratio: 5 / 4; border-radius: calc(var(--radius) * 1.3); border: 2px dashed var(--line); display: grid; place-items: center; color: var(--muted); }
.ss-imagetext-copy { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.ss-imagetext.l-image-right .ss-imagetext-figure { order: 2; }
.ss-imagetext.no-image .ss-imagetext-grid { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
.ss-imagetext.l-overlap .ss-imagetext-figure img { box-shadow: 24px 24px 0 var(--accent-soft); }
.ss-imagetext.l-overlap .ss-imagetext-copy { background: var(--card-bg); padding: clamp(24px, 3vw, 40px); border-radius: var(--radius); margin-left: -12%; box-shadow: 0 16px 40px rgba(15, 23, 42, .1); position: relative; }
.ss-imagetext.l-overlay { padding: 0; }
.ss-imagetext.l-overlay .ss-imagetext-grid { position: relative; grid-template-columns: minmax(0, 1fr); max-width: none; padding: 0; }
.ss-imagetext.l-overlay .ss-imagetext-figure img { aspect-ratio: 21 / 9; border-radius: 0; min-height: 420px; }
.ss-imagetext.l-overlay .ss-imagetext-copy { position: absolute; left: max(20px, 6vw); bottom: 40px; max-width: 560px; background: var(--card-bg); padding: clamp(22px, 3vw, 36px); border-radius: var(--radius); }
@media (max-width: 860px) {
    .ss-imagetext-grid { grid-template-columns: minmax(0, 1fr); }
    .ss-imagetext.l-image-right .ss-imagetext-figure { order: 0; }
    .ss-imagetext.l-overlap .ss-imagetext-copy { margin: -40px 12px 0; }
    .ss-imagetext.l-overlay .ss-imagetext-copy { position: relative; left: 0; bottom: 0; margin: -40px 16px 0; }
}

/* ── Footer ── */
.ss-footer { background: var(--foot-bg); color: var(--foot-ink); font-size: 15.5px; padding-bottom: env(safe-area-inset-bottom, 0px); }
.ss-footer a { color: var(--foot-ink); text-decoration: none; }
.ss-footer a:hover { color: #fff; text-decoration: underline; }
.ss-footer-cta { border-bottom: 1px solid rgba(255,255,255,.12); padding-block: 36px; }
.ss-footer-cta .ss-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; }
.ss-footer-cta-title { font: var(--h-weight) clamp(24px, 3vw, 34px) var(--font-display); color: #fff; letter-spacing: var(--h-tracking); }
.ss-footer-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.ss-footer-main { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(auto-fit, minmax(160px, 1fr)); gap: 32px; padding-block: 56px 40px; }
.ss-footer-brand, .ss-footer-col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ss-footer-logo { height: 54px; width: auto; max-width: 160px; object-fit: contain; }
.ss-footer-name { font: var(--h-weight) 21px var(--font-display); color: #fff; }
.ss-footer-motto { font-style: italic; opacity: .85; }
.ss-footer-address { display: flex; gap: 8px; align-items: flex-start; opacity: .85; }
.ss-footer-head { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 4px; }
.ss-social { display: flex; gap: 10px; margin-top: 6px; }
.ss-social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); }
.ss-social a:hover { background: rgba(255,255,255,.12); }
.ss-footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-block: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; opacity: .85; }
.f-simple .ss-footer-main { grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)); padding-block: 40px 28px; }
.f-centered .ss-footer-main { grid-template-columns: minmax(0, 1fr); text-align: center; justify-items: center; }
.f-centered .ss-footer-brand, .f-centered .ss-footer-col { align-items: center; }
.f-centered .ss-footer-col { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 8px 20px; }
.f-centered .ss-footer-head { display: none; }
@media (max-width: 720px) { .ss-footer-main, .f-simple .ss-footer-main { grid-template-columns: minmax(0, 1fr); } }

/* ── Mobile dock, WhatsApp, lightbox ── */
.ss-dock { display: none; }
@media (max-width: 760px) {
    .has-dock { padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px)); }
    .ss-dock { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--nav-bg); border-top: 1px solid var(--line); padding: 6px max(8px, env(safe-area-inset-left, 0px)) calc(6px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 -6px 20px rgba(0,0,0,.08); }
    .ss-dock a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 4px; font-size: 12px; font-weight: 600; text-decoration: none; color: var(--heading); border-radius: 10px; }
    .ss-dock a.is-primary { background: var(--accent); color: var(--accent-ink); }
    .has-dock .ss-whatsapp { display: none; }
}
.ss-whatsapp { position: fixed; right: max(18px, env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 55; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.ss-whatsapp .ss-icon { width: 28px; height: 28px; }
.ss-lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(5, 8, 13, .92); display: flex; align-items: center; justify-content: center; gap: 12px; padding: 24px; }
.ss-lightbox[hidden] { display: none; }
.ss-lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: min(1100px, 100%); }
.ss-lightbox img { max-height: 80vh; width: auto; border-radius: 8px; }
.ss-lightbox figcaption { color: #E5E7EB; font-size: 15px; }
.ss-lightbox button { border: 0; background: rgba(255,255,255,.12); color: #fff; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; flex: none; }
.ss-lightbox button:hover { background: rgba(255,255,255,.24); }
.ss-lightbox-close { position: absolute; top: 18px; right: 18px; }
@media (max-width: 600px) { .ss-lightbox-prev, .ss-lightbox-next { position: absolute; bottom: 24px; } .ss-lightbox-prev { left: 24px; } .ss-lightbox-next { right: 24px; } }

/* ── Builder preview helpers ── */
.ss-placeholder { padding-block: 40px; }
.ss-placeholder .ss-wrap { border: 2px dashed var(--line); border-radius: var(--radius); padding: 28px; text-align: center; color: var(--muted); }
.ss-placeholder-title { font-weight: 700; color: var(--heading); margin-bottom: 6px; }
.ss-preview-empty { padding-block: 80px; text-align: center; color: var(--muted); }
.is-preview .ss-block { position: relative; cursor: pointer; }
.is-preview .ss-block:hover { outline: 2px dashed rgba(43, 123, 214, .6); outline-offset: -2px; }
.is-preview .ss-block.is-selected { outline: 3px solid #2B7BD6; outline-offset: -3px; }
.is-preview .ss-header.is-sticky, .is-preview.h-overlay.starts-with-hero .ss-header { position: relative; }
.is-preview.h-overlay.starts-with-hero .ss-header { position: absolute; }

@media (prefers-reduced-motion: reduce) {
    .ss-site *, .ss-site *::before, .ss-site *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Templates
   ========================================================================== */

/* Heritage: crest, serif, ivory, navy and gold */
.tpl-heritage { --font-display: 'Libre Baskerville', Georgia, serif; --font-body: 'Source Sans 3', system-ui, sans-serif; --bg: #FBFAF6; --alt: #F2EEE3; --line: #E3DDCD; --heading: var(--brand-deep); --radius: 6px; --btn-radius: 4px; --h-tracking: -0.01em; --nav-transform: uppercase; --nav-tracking: .06em; --foot-bg: var(--brand-deep); --card-bg: #FFFFFF; }
.tpl-heritage .ss-menu ul a { font-size: 13.5px; font-weight: 600; }
.tpl-heritage .ss-hero { background: var(--alt); }
.tpl-heritage .ss-hero h1 { font-size: clamp(36px, 5vw, 60px); }
.tpl-heritage .ss-card { border-top: 3px solid var(--accent); }
.tpl-heritage .ss-head h2::after { content: ""; display: block; width: 56px; height: 3px; background: var(--accent); margin-top: 16px; }
.tpl-heritage .ss-head.is-center h2::after { margin-inline: auto; }

/* Campus: bold condensed type, full-bleed photos, strong accent band */
.tpl-campus { --font-display: 'Archivo Black', 'Arial Black', sans-serif; --font-body: 'Archivo', system-ui, sans-serif; --h-weight: 400; --h-transform: uppercase; --h-tracking: -0.01em; --radius: 0px; --btn-radius: 0px; --alt: #F1F3F6; --heading: #0E1116; --foot-bg: #0E1116; --hero-min: 640px; --nav-transform: uppercase; --nav-tracking: .04em; }
.tpl-campus .ss-hero h1 { font-size: clamp(42px, 7vw, 92px); line-height: .95; }
.tpl-campus .ss-stats.l-band { background: var(--accent); --brand-ink: var(--accent-ink); }
.tpl-campus .ss-stats.l-band .ss-stat { border-right: 1px solid rgba(0,0,0,.15); }
.tpl-campus .ss-btn { text-transform: uppercase; letter-spacing: .04em; font-size: 14.5px; }
.tpl-campus .ss-section.is-alt:not(.has-surface) { background: #0E1116; color: #D5DBE3; --heading: #FFFFFF; --muted: #A9B3BF; --card-bg: #171C24; --line: #2A313C; --ink: #D5DBE3; }

/* Bright Start: rounded, sunny, friendly */
.tpl-bright { --font-display: 'Baloo 2', 'Trebuchet MS', sans-serif; --font-body: 'Nunito', system-ui, sans-serif; --h-weight: 800; --h-tracking: -0.01em; --bg: #FFFDF5; --alt: #FFF4D2; --heading: #2A2350; --radius: 24px; --btn-radius: 999px; --card-border: 0; --line: #F1E6C8; --foot-bg: #2A2350; }
.tpl-bright .ss-hero { background: var(--accent-soft); }
.tpl-bright .ss-hero-figure img { border-radius: 48% 52% 44% 56% / 52% 44% 56% 48%; aspect-ratio: 1; }
.tpl-bright .ss-card:nth-child(4n+1) { background: #DDF1FF; } .tpl-bright .ss-card:nth-child(4n+2) { background: #E6F7DE; }
.tpl-bright .ss-card:nth-child(4n+3) { background: #FFE5DE; } .tpl-bright .ss-card:nth-child(4n+4) { background: #EFE4FF; }
.tpl-bright .ss-card-icon { background: #FFFFFF; }
.tpl-bright .ss-cta { border-radius: 32px; margin: 0 max(16px, 2vw) 40px; }

/* Scholar: editorial, serif display, thin rules */
.tpl-scholar { --font-display: 'DM Serif Display', Georgia, serif; --font-body: 'DM Sans', system-ui, sans-serif; --h-weight: 400; --h-tracking: -0.01em; --alt: #F6F5F9; --heading: #1D1A2E; --radius: 4px; --btn-radius: 4px; --card-shadow: none; }
.tpl-scholar .ss-hero { background: #FFFFFF; border-bottom: 1px solid var(--line); }
.tpl-scholar .ss-hero h1 { font-size: clamp(40px, 5.6vw, 76px); }
.tpl-scholar .ss-hero-figure img { border-radius: 4px; box-shadow: none; aspect-ratio: 4 / 5; }
.tpl-scholar .ss-card { border: 0; border-left: 1px solid var(--line); border-radius: 0; background: transparent; }
.tpl-scholar .ss-stats.l-row .ss-stat { border-left-color: var(--line); }
.tpl-scholar .ss-stat dd { font-weight: 400; color: var(--brand); }

/* Grace: calm, centred, warm */
.tpl-grace { --font-display: 'Lora', Georgia, serif; --font-body: 'Mulish', system-ui, sans-serif; --h-weight: 600; --h-tracking: -0.005em; --bg: #FAF7F4; --alt: #F2EBE6; --line: #E6DCD4; --heading: var(--brand-deep); --radius: 14px; --btn-radius: 999px; --foot-bg: var(--brand-deep); }
.tpl-grace .ss-hero.l-centered { background: radial-gradient(ellipse at top, var(--brand), var(--brand-deep)); }
.tpl-grace .ss-hero h1 { font-size: clamp(36px, 5vw, 62px); }
.tpl-grace .ss-text.l-centered .ss-prose { font: italic 400 clamp(20px, 2.2vw, 26px)/1.55 var(--font-display); color: var(--heading); }
.tpl-grace .ss-card { text-align: center; align-items: center; background: transparent; border: 0; box-shadow: none; }
.tpl-grace .ss-card-icon { border-radius: 50%; background: transparent; border: 1.5px solid var(--accent); color: var(--accent); }

/* Clean: minimal, big type */
.tpl-clean { --font-display: 'Manrope', system-ui, sans-serif; --font-body: 'Manrope', system-ui, sans-serif; --h-weight: 800; --h-tracking: -0.035em; --radius: 12px; --btn-radius: 8px; --alt: #F5F6F7; }
.tpl-clean .ss-hero.l-centered { background: #FFFFFF; --heading: #0B0D10; text-align: left; }
.tpl-clean .ss-hero.l-centered .ss-hero-inner { justify-items: start; }
.tpl-clean .ss-hero.l-centered .ss-hero-text { align-items: flex-start; }
.tpl-clean .ss-hero.l-centered .ss-hero-sub { color: var(--muted); margin-inline: 0; opacity: 1; }
.tpl-clean .ss-hero.l-centered .ss-btn.is-ghost { color: var(--brand) !important; }
.tpl-clean .ss-hero h1 { font-size: clamp(44px, 7.2vw, 96px); line-height: .98; }

/* Garden: natural, soft paper, organic */
.tpl-garden { --font-display: 'Bitter', Georgia, serif; --font-body: 'Karla', system-ui, sans-serif; --bg: #F7F5EE; --alt: #ECEADD; --line: #DDD9C6; --heading: #22351F; --radius: 22px; --btn-radius: 999px; --card-bg: #FFFDF7; --foot-bg: #22351F; }
.tpl-garden .ss-hero { background: var(--alt); }
.tpl-garden .ss-hero-figure img { border-radius: 200px 200px 24px 24px; aspect-ratio: 4 / 5; }
.tpl-garden .ss-card-icon { border-radius: 40% 60% 55% 45% / 50% 40% 60% 50%; }
.tpl-garden .ss-imagetext-figure img { border-radius: 24px 120px 24px 24px; }

/* Horizon: modern, technical, gradients */
.tpl-horizon { --font-display: 'Space Grotesk', system-ui, sans-serif; --font-body: 'Inter', system-ui, sans-serif; --bg: #F6F8FC; --alt: #EDF1F9; --line: #DCE3EF; --heading: #0B1530; --radius: 16px; --btn-radius: 12px; --card-shadow: 0 1px 2px rgba(11,21,48,.04), 0 12px 30px rgba(11,21,48,.06); --foot-bg: #0B1530; }
.tpl-horizon .ss-hero.is-on-photo::after { background: linear-gradient(120deg, var(--brand-deep) 0%, rgba(0,0,0,.2) 70%); opacity: .9; }
.tpl-horizon .ss-hero.l-centered { background: linear-gradient(135deg, var(--brand-deep), var(--brand) 55%, var(--accent)); }
.tpl-horizon .ss-card { border: 1px solid var(--line); }
.tpl-horizon .ss-card-icon { background: linear-gradient(135deg, var(--brand), var(--accent)); color: #fff; }

/* Prestige: film, serif italic, brass */
.tpl-prestige { --font-display: 'Cormorant Garamond', Georgia, serif; --font-body: 'Jost', system-ui, sans-serif; --h-weight: 600; --h-tracking: -0.005em; --bg: #F5F1E8; --alt: #ECE5D5; --line: #DCD0B8; --heading: #13233A; --radius: 2px; --btn-radius: 0px; --nav-transform: uppercase; --nav-tracking: .12em; --hero-min: 680px; --foot-bg: #0D1828; --card-bg: #FBF8F1; }
.tpl-prestige .ss-hero h1 { font-style: italic; font-weight: 500; font-size: clamp(44px, 6.6vw, 92px); line-height: 1; }
.tpl-prestige .ss-menu ul a { font-size: 12.5px; font-weight: 500; }
.tpl-prestige .ss-btn { text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 500; }
.tpl-prestige .ss-head h2 { font-size: clamp(32px, 4.4vw, 56px); }
.tpl-prestige .ss-card { background: transparent; border: 0; border-top: 1px solid var(--accent); border-radius: 0; box-shadow: none; }

/* Pathway: age stages, friendly geometric */
.tpl-pathway { --font-display: 'Plus Jakarta Sans', system-ui, sans-serif; --font-body: 'Plus Jakarta Sans', system-ui, sans-serif; --h-weight: 800; --h-tracking: -0.03em; --alt: #F1F7F5; --radius: 18px; --btn-radius: 999px; }
.tpl-pathway .ss-hero { background: linear-gradient(180deg, var(--brand-soft), var(--bg)); }
.tpl-pathway .ss-hero-figure img { border-radius: 28px; }

/* Voices: editorial serif, warm paper, photo mosaics */
.tpl-voices { --font-display: 'Instrument Serif', Georgia, serif; --font-body: 'Inter', system-ui, sans-serif; --h-weight: 400; --h-tracking: -0.01em; --bg: #F3F0EB; --alt: #EAE4DA; --line: #DCD4C7; --heading: #1D1B18; --radius: 12px; --btn-radius: 999px; --foot-bg: #1D1B18; }
.tpl-voices .ss-head h2 { font-size: clamp(34px, 4.6vw, 60px); }
.tpl-voices .ss-hero h1 { font-style: italic; }

/* Enrol: conversion-first, confident green buttons */
.tpl-enrol { --font-display: 'Red Hat Display', system-ui, sans-serif; --font-body: 'Red Hat Display', system-ui, sans-serif; --h-weight: 800; --h-tracking: -0.02em; --alt: #F2F8F4; --radius: 14px; --btn-radius: 10px; }
.tpl-enrol .ss-hero { background: #FFFFFF; }
.tpl-enrol .ss-steps .ss-step:nth-child(-n+2) { border-top-color: var(--accent); }

/* Global: dark canvas, oversized type */
.tpl-global { --font-display: 'Sora', system-ui, sans-serif; --font-body: 'Sora', system-ui, sans-serif; --h-weight: 800; --h-tracking: -0.045em; --bg: #0B0F1A; --ink: #D8DEEC; --muted: #9AA4BD; --heading: #FFFFFF; --line: #252D44; --alt: #111727; --card-bg: #141B2E; --card-shadow: none; --nav-bg: #0B0F1A; --nav-ink: #FFFFFF; --foot-bg: #070A12; --radius: 12px; --btn-radius: 999px; }
.tpl-global .ss-hero { background: #0B0F1A; }
.tpl-global .ss-hero.l-centered { background: radial-gradient(ellipse at 30% 0%, var(--brand-deep), #0B0F1A 70%); --heading: #FFFFFF; }
.tpl-global .ss-hero h1 { font-size: clamp(48px, 9vw, 128px); line-height: .92; }
.tpl-global .ss-hero.l-centered .ss-hero-sub { color: #C6CEE2; }
.tpl-global .ss-btn.is-ghost { color: #FFFFFF !important; border-color: #FFFFFF; }
.tpl-global .ss-btn.is-ghost:hover { background: rgba(255,255,255,.08); }
.tpl-global .ss-menu ul a:hover { background: rgba(255,255,255,.08); color: #fff; }
.tpl-global .ss-field input, .tpl-global .ss-field select, .tpl-global .ss-field textarea { background: #0F1524; }
.tpl-global .ss-destinations li { background: transparent; }
.tpl-global .ss-pagehead { background: #111727; color: #fff; }

/* Atelier: magazine grids, colour blocks */
.tpl-atelier { --font-display: 'Syne', system-ui, sans-serif; --font-body: 'Work Sans', system-ui, sans-serif; --h-weight: 800; --h-tracking: -0.03em; --radius: 0px; --btn-radius: 0px; --alt: var(--accent-soft); --card-shadow: none; }
.tpl-atelier .ss-hero { background: var(--accent); --heading: var(--accent-ink); }
.tpl-atelier .ss-hero .ss-hero-sub { color: var(--accent-ink); opacity: .85; }
.tpl-atelier .ss-hero h1 { font-size: clamp(46px, 7.5vw, 104px); line-height: .95; }
.tpl-atelier .ss-hero .ss-btn.is-accent { background: var(--heading); border-color: var(--heading); color: var(--accent) !important; }
.tpl-atelier .ss-hero .ss-btn.is-ghost { border-color: var(--accent-ink); color: var(--accent-ink) !important; }
@media (min-width: 900px) {
    .tpl-atelier .ss-card-grid > :nth-child(3n+2) { transform: translateY(40px); }
    .tpl-atelier .ss-gallery.l-masonry .ss-photo-grid { columns: 3; }
}

/* ==========================================================================
   Student registration (Registration/Register) inside the school's site design.
   Uses the template tokens only, so it follows whichever template the school picked.
   ========================================================================== */
.ss-pagehead-lead { margin-top: 10px; font-size: 18px; opacity: .88; }
.ss-apply { padding-block: clamp(32px, 5vw, 64px) var(--pad); }
.ss-apply-grid { display: grid; grid-template-columns: minmax(220px, 280px) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.ss-apply-steps { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 16px; }
.ss-apply-steps ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.ss-apply-step { width: 100%; display: flex; align-items: flex-start; gap: 12px; padding: 10px 12px; border: 0; border-radius: calc(var(--radius) * .8); background: transparent; color: var(--ink); text-align: left; font: inherit; cursor: pointer; }
.ss-apply-step:disabled { cursor: default; opacity: .55; }
.ss-apply-step:not(:disabled):hover { background: var(--alt); }
.ss-apply-step.is-current { background: var(--card-bg); box-shadow: inset 0 0 0 2px var(--brand); opacity: 1; }
.ss-apply-step-mark { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--line); font: 700 14px var(--font-body); color: var(--muted); background: var(--card-bg); }
.ss-apply-step.is-current .ss-apply-step-mark { border-color: var(--brand); background: var(--brand); color: var(--brand-ink); }
.ss-apply-step.is-done .ss-apply-step-mark { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }
.ss-apply-step-text { display: flex; flex-direction: column; min-width: 0; }
.ss-apply-step-text strong { font-size: 15.5px; color: var(--heading); }
.ss-apply-step-text small { font-size: 13px; color: var(--muted); }
.ss-apply-status-link { font-size: 14.5px; color: var(--brand); padding-left: 12px; }
.ss-apply-main { min-width: 0; }
.ss-apply-panel { margin: 0; border: var(--card-border); border-radius: calc(var(--radius) * 1.2); background: var(--card-bg); padding: clamp(22px, 3.4vw, 40px); box-shadow: var(--card-shadow); display: flex; flex-direction: column; gap: 18px; min-width: 0; color: var(--ink); }
.ss-apply-panel[hidden] { display: none; }
.ss-apply-panel h2 { font-size: clamp(26px, 3vw, 34px); outline: none; }
.ss-apply-panel h3 { font-size: 18px; margin-bottom: 8px; }
.ss-apply-panel .ss-lead { font-size: 17px; }
.ss-apply-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 16px; }
.ss-apply-fields .ss-field.is-wide { grid-column: span 2; }
.ss-apply-fields .ss-field.is-half { grid-column: span 1; }
.ss-apply-fields .ss-field.is-full { grid-column: 1 / -1; }
.ss-apply-fields:has(.is-half) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ss-apply-fields:has(.is-half) .ss-field.is-wide { grid-column: span 1; }
.ss-req { color: var(--accent); font-weight: 700; }
.ss-field input.is-invalid, .ss-field select.is-invalid, .ss-field textarea.is-invalid { border-color: #C0392B; outline-color: rgba(192, 57, 43, .18); }
.ss-field-error { color: #B3261E; font-size: 14px; font-weight: 500; }
.ss-field-error:empty { display: none; }
.ss-apply-info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.ss-apply-info p { color: var(--muted); }
.ss-apply-callout { border-radius: var(--radius); padding: 18px 20px; background: var(--accent-soft); color: #1F2328; }
.ss-apply-callout h3 { color: #1F2328; margin-bottom: 4px; }
.ss-apply-callout.is-quiet { background: var(--alt); color: var(--ink); }
.ss-apply-callout.is-quiet h3 { color: var(--heading); }
.ss-preline { white-space: pre-line; }
.ss-apply-help { color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 8px; }
.ss-apply-help a { color: var(--brand); font-weight: 600; }
.ss-apply-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid var(--line); margin-top: 6px; }
.ss-apply-photo { display: flex; align-items: center; gap: 20px; padding: 22px; border: 2px dashed var(--line); border-radius: var(--radius); cursor: pointer; background: var(--alt); }
.ss-apply-photo:hover, .ss-apply-photo.is-dragover { border-color: var(--brand); }
.ss-apply-photo:focus-within { outline: 3px solid var(--accent); outline-offset: 3px; }
.ss-apply-photo img { width: 110px; height: 132px; object-fit: cover; border-radius: calc(var(--radius) * .6); flex: none; }
.ss-apply-photo-text { display: flex; flex-direction: column; gap: 4px; color: var(--muted); }
.ss-apply-photo-text strong { color: var(--brand); font-size: 17px; }
.ss-apply-spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: ss-spin .8s linear infinite; }
.ss-btn.is-busy .ss-apply-spinner { display: inline-block; }
.ss-btn:disabled { opacity: .75; cursor: progress; transform: none; }
@keyframes ss-spin { to { transform: rotate(360deg); } }
.ss-apply-errors { margin-bottom: 16px; }
.ss-apply-errors ul { margin: 6px 0 0; padding-left: 18px; }
.ss-apply-errors .validation-summary-valid { display: none; }
@media (max-width: 900px) {
    .ss-apply-grid { grid-template-columns: minmax(0, 1fr); }
    .ss-apply-steps { position: static; }
    .ss-apply-steps ol { flex-direction: row; overflow-x: auto; gap: 6px; padding-bottom: 4px; }
    .ss-apply-step { flex-direction: column; align-items: center; text-align: center; min-width: 84px; padding: 8px; }
    .ss-apply-step-text small { display: none; }
    .ss-apply-step-text strong { font-size: 12.5px; }
    .ss-apply-fields, .ss-apply-fields:has(.is-half) { grid-template-columns: minmax(0, 1fr); }
    .ss-apply-fields .ss-field.is-wide, .ss-apply-fields .ss-field.is-half { grid-column: auto; }
    .ss-apply-info { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .ss-apply-spinner { animation: none; } }
