/* Acorn College staff intranet */
:root {
  --brand: #5b3a8c;
  --brand-dark: #4a2e75;
  --brand-deep: #36215a;
  --brand-50: #f1ecf8;
  --brand-100: #e0d5f0;
  --teal: #3e9d8f;
  --teal-dark: #1f6f64;
  --teal-50: #e2f3f0;
  --orange: #c97c3a;
  --orange-dark: #8f4f14;
  --orange-50: #fbeedd;
  --accent: #f0a35e;
  --ink: #1f1a2e;
  --ink-2: #3b3550;
  --muted: #565169;
  --line: #e4e0ee;
  --line-2: #cfc9de;
  --canvas: #f7f6fb;
  --surface: #ffffff;
  --surface-2: #faf9fd;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 24px;
  --sh-1: 0 1px 2px rgb(31 26 46 / .06);
  --sh-2: 0 4px 12px -4px rgb(31 26 46 / .1), 0 2px 4px -2px rgb(31 26 46 / .05);
  --sh-3: 0 14px 40px -12px rgb(31 26 46 / .2), 0 4px 8px -4px rgb(31 26 46 / .08);
  --font-head: "Montserrat", system-ui, "Segoe UI", Arial, sans-serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --nav-w: 280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body); font-size: 16px; line-height: 1.6; color: var(--ink);
  background: var(--canvas); min-height: 100vh; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-dark); text-underline-offset: 3px; }
a:hover { color: var(--brand-deep); }
h1, h2, h3 { font-family: var(--font-head); letter-spacing: -0.015em; line-height: 1.2; color: var(--ink); margin: 0; font-weight: 700; }
h1 { font-size: clamp(1.75rem, 3vw, 2.4rem); font-weight: 800; }
h2 { font-size: 1.35rem; }
h3 { font-size: 1.05rem; font-weight: 600; }
p { margin: 0 0 1em; color: var(--ink-2); }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid #1f6fb2; outline-offset: 2px; border-radius: 4px; }
main:focus, h1:focus { outline: none; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 3000; background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 8px; font-weight: 700; transition: top .15s ease; }
.skip-link:focus { top: 12px; color: #fff; outline: 2px solid #fff; outline-offset: 2px; }

/* ---------- layout: sidebar (same pattern as the Paws and Little.ly intranets) ---------- */
.app { display: flex; min-height: 100vh; }
aside.sidebar {
  width: var(--nav-w); background: linear-gradient(180deg, var(--brand-dark) 0%, var(--brand-deep) 100%);
  color: #fff; padding: 26px 18px; position: fixed; inset: 0 auto 0 0; height: 100vh;
  display: flex; flex-direction: column; z-index: 100; overflow-y: auto;
  transition: transform .35s cubic-bezier(.4, 0, .2, 1), visibility .35s;
}
aside.sidebar::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle at 15% 90%, rgba(255, 255, 255, .09) 0%, transparent 30%), radial-gradient(circle at 85% 10%, rgba(255, 255, 255, .06) 0%, transparent 40%);
}
.brand-block { position: relative; padding: 4px 4px 22px; margin-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.brand-logo-inline { display: flex; align-items: center; justify-content: center; text-decoration: none; background: #fff; border-radius: 12px; padding: 12px 14px; }
.brand-logo-inline img { width: 100%; max-width: 210px; height: auto; }
.brand-tag { font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; text-align: center; margin-top: 12px; color: rgba(255, 255, 255, .9); }
.wordmark { display: inline-flex; flex-direction: column; line-height: 1; align-items: center; }
.wordmark-main { font-family: var(--font-head); font-size: 1.8rem; font-weight: 800; letter-spacing: .08em; color: var(--brand-dark); }
.wordmark-sub { font-size: .8rem; color: var(--teal-dark); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

nav.main-nav { position: relative; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.nav-section-label { font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .85); padding: 16px 14px 8px; }
nav.main-nav a {
  position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px;
  color: rgba(255, 255, 255, .9); font-weight: 600; font-size: 14.5px; line-height: 1.2; text-decoration: none;
  transition: background .2s ease, color .2s ease;
}
nav.main-nav a i { font-size: 19px; flex-shrink: 0; }
nav.main-nav a:hover { color: #fff; background: rgba(255, 255, 255, .09); text-decoration: none; }
nav.main-nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .17); font-weight: 700; }
nav.main-nav a[aria-current="page"]::before { content: ""; position: absolute; left: -18px; top: 8px; bottom: 8px; width: 4px; background: var(--accent); border-radius: 0 4px 4px 0; }
nav.main-nav a:focus-visible, .brand-logo-inline:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
.sidebar-footer { position: relative; padding: 14px; margin-top: 12px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 12px; color: rgba(255, 255, 255, .9); line-height: 1.45; }

.mobile-bar { display: none; background: var(--brand-dark); color: #fff; padding: 10px 16px; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 200; box-shadow: var(--sh-2); }
.mobile-logo-inline { display: flex; align-items: center; text-decoration: none; background: #fff; border-radius: 9px; padding: 6px 10px; }
.mobile-logo-inline img { width: 140px; height: auto; }
.mobile-logo-inline .wordmark-main { font-size: 1.2rem; }
.menu-btn { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .3); color: #fff; width: 40px; height: 40px; border-radius: 9px; font-size: 22px; cursor: pointer; display: grid; place-items: center; }
.menu-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.scrim { display: none; position: fixed; inset: 0; background: rgba(31, 26, 46, .55); backdrop-filter: blur(3px); z-index: 99; }
.scrim.show { display: block; }

main { flex: 1; margin-left: var(--nav-w); min-width: 0; }
.wrap { max-width: 1240px; padding-inline: 44px; margin-inline: auto; }

.app-strip { background: var(--surface); border-bottom: 1px solid var(--line); padding: 12px 44px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--muted); }
.app-strip .left { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.strip-item { display: inline-flex; align-items: center; gap: 6px; }
.strip-item i { font-size: 15px; color: var(--muted); }
.sim-pill { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: #8a3a12; background: var(--orange-50); padding: 4px 10px; border-radius: 999px; font-size: 11.5px; letter-spacing: .03em; }

.page { padding: 36px 0 24px; animation: fade .45s ease both; }
.page[hidden] { display: none; }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- page headers ---------- */
.page-head { margin-bottom: 26px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.page-head .left { max-width: 760px; }
.crumb { font-family: var(--font-head); font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.crumb span { color: var(--brand-dark); }
.page-head p { font-size: 1.05rem; margin: 10px 0 0; }
.page-head .prose p:first-child { margin-top: 10px; }

/* ---------- home ---------- */
.hero {
  position: relative; color: #fff; border-radius: var(--r-xl); padding: 46px 48px; margin-bottom: 28px; overflow: hidden; box-shadow: var(--sh-3);
  background: radial-gradient(1100px 400px at 90% -10%, rgba(240, 163, 94, .18), transparent 50%), radial-gradient(900px 500px at -10% 110%, rgba(62, 157, 143, .28), transparent 55%), linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-deep) 100%);
}
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 32px 32px; mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%); }
.hero > * { position: relative; z-index: 2; }
.hero-eyebrow { font-family: var(--font-head); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: rgba(255, 255, 255, .92); margin: 0 0 18px; display: flex; align-items: center; gap: 10px; }
.hero-eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--accent); }
.hero { container-type: inline-size; }
.hero h1 { color: #fff; font-size: clamp(1.2rem, 5cqi, 3rem); max-width: none; white-space: nowrap; margin-bottom: 18px; }
.hero h1 .accent { color: var(--accent); font-weight: 700; }
.hero p { color: rgba(255, 255, 255, .9); font-size: 1.08rem; max-width: 640px; margin-bottom: 28px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 10px; font-weight: 700; font-size: 15px; text-decoration: none; border: 1px solid transparent; transition: all .2s ease; font-family: var(--font-body); }
.btn-primary { background: #fff; color: var(--brand-dark); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--sh-2); color: var(--brand-deep); }
.btn-ghost { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost:hover { background: rgba(255, 255, 255, .18); color: #fff; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 28px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; transition: all .25s ease; }
.stat:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: var(--line-2); }
.stat-icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; font-size: 20px; margin-bottom: 14px; }
.stat-icon.b { background: var(--brand-50); color: var(--brand); }
.stat-icon.a { background: var(--teal-50); color: var(--teal-dark); }
.stat-icon.v { background: var(--orange-50); color: var(--orange-dark); }
.stat-icon.g { background: #e8f1fb; color: #1d5a94; }
.stat-value { font-family: var(--font-head); font-size: 1.75rem; font-weight: 700; line-height: 1; margin-bottom: 6px; color: var(--ink); }
.stat-label { font-size: 13.5px; color: var(--muted); font-weight: 600; line-height: 1.4; }

.dash-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; margin-bottom: 22px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
.panel.gap-top { margin-top: 22px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.panel-head h2 { font-size: 1.15rem; display: inline-flex; align-items: center; gap: 10px; }
.panel-h-icon { font-size: 22px; color: var(--brand); }
.belief { font-weight: 700; color: var(--brand-dark); border-left: 4px solid var(--accent); padding-left: 14px; margin: 18px 0 0; }
.prose-lg { font-size: 1.1rem; }
.prose p { font-size: 1.04rem; }

.quick-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.quick { display: flex; align-items: center; gap: 12px; padding: 14px 16px; height: 100%; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-md); text-decoration: none; color: var(--ink); transition: all .2s ease; }
.quick:hover, .quick:focus-visible { border-color: var(--brand); background: var(--brand-50); transform: translateX(2px); color: var(--ink); }
.quick i { color: var(--brand); font-size: 22px; flex-shrink: 0; }
.quick-text { display: flex; flex-direction: column; gap: 2px; }
.quick-text strong { font-weight: 700; font-size: 14px; line-height: 1.25; }
.quick-text span { font-size: 12.5px; color: var(--muted); }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.pillars li { display: flex; flex-direction: column; gap: 4px; background: var(--surface-2); border: 1px solid var(--line); border-top: 4px solid var(--brand); border-radius: var(--r-md); padding: 16px 18px; }
.pillars li:nth-child(2) { border-top-color: var(--teal); }
.pillars li:nth-child(3) { border-top-color: var(--orange); }
.pillars strong { color: var(--ink); font-family: var(--font-head); font-size: .98rem; }
.pillars span { color: var(--muted); font-size: .95rem; line-height: 1.5; }

/* ---------- toolbar, chips ---------- */
.toolbar { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: flex-end; margin: 4px 0 8px; }
.field { flex: 1 1 300px; max-width: 460px; }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 6px; color: var(--ink); }
.field input { width: 100%; font: inherit; padding: 12px 16px; border-radius: 11px; border: 2px solid #b8b1cc; background: var(--surface); color: var(--ink); }
.field input:hover { border-color: var(--brand); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: inherit; font-weight: 700; font-size: .92rem; cursor: pointer; padding: 8px 16px; border-radius: 999px; background: var(--surface); color: var(--brand-dark); border: 2px solid var(--line-2); }
.chip:hover { border-color: var(--brand); }
.chip[aria-pressed="true"] { background: var(--brand-dark); color: #fff; border-color: var(--brand-dark); }
.count { margin: 10px 0 0; color: var(--muted); font-size: .92rem; }

.group { margin-top: 34px; }
.group-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 2px solid var(--brand); }
.group-head h2 { font-size: 1.35rem; }
.group-note { color: var(--muted); font-size: .92rem; font-weight: 600; }
.group-desc { color: var(--muted); max-width: 75ch; margin-bottom: 14px; }

/* ---------- team ---------- */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.person { --tone: var(--brand); --tone-bg: var(--brand-50); --tone-ink: var(--brand-dark); display: flex; gap: 16px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--tone); border-radius: var(--r-lg); transition: all .25s ease; }
.person.tone-teal { --tone: var(--teal); --tone-bg: var(--teal-50); --tone-ink: var(--teal-dark); }
.person:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.avatar { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; background: var(--tone-bg); color: var(--tone-ink); border: 2px solid var(--tone); }
.person h3 { font-size: 1.08rem; }
.role { font-weight: 700; color: var(--tone-ink); margin: 2px 0; line-height: 1.35; font-size: .95rem; }
.qual { font-size: .84rem; color: var(--muted); margin: 0 0 8px; line-height: 1.4; }
.bio { font-size: .95rem; margin: 8px 0 0; line-height: 1.5; }

.philo-figure { margin-top: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px 20px; }
.philo-figure summary { cursor: pointer; font-weight: 700; color: var(--brand-dark); font-size: 1.2rem; padding: 6px 0; }
.boards { display: grid; grid-template-columns: 1fr; gap: 28px; margin-top: 18px; }
.graphic { margin: 28px 0 0; border-radius: var(--r-md); overflow: hidden; background: #fff; border: 1px solid var(--line); padding: 12px; }
.img-missing { padding: 20px; }
.missing-note { margin: 0; color: var(--muted); font-size: .9rem; }

/* ---------- curriculum ---------- */
.two-col { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: start; }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-list li { background: var(--teal-50); color: var(--teal-dark); font-weight: 700; padding: 8px 16px; border-radius: 999px; font-size: .95rem; }
.tag-list li:nth-child(4n+2) { background: var(--brand-50); color: var(--brand-dark); }
.tag-list li:nth-child(4n+3) { background: var(--orange-50); color: var(--orange-dark); }
.tag-list li:nth-child(4n) { background: #ececf2; color: #44405a; }
.capabilities { display: grid; gap: 10px; }
.cap { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: var(--r-md); font-weight: 700; background: var(--brand-50); color: var(--brand-dark); }
.cap-n { flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--brand-dark); }
.cap-2 { background: var(--teal-50); color: var(--teal-dark); }
.cap-2 .cap-n { background: var(--teal-dark); }
.cap-3 { background: var(--orange-50); color: var(--orange-dark); }
.cap-3 .cap-n { background: var(--orange-dark); }
.cap-4 { background: #ececf2; color: #3b3750; }
.cap-4 .cap-n { background: #3b3750; }

/* ---------- OSHC ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; transition: all .25s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.card h2 { margin: 12px 0 8px; font-size: 1.1rem; }
.card p { margin: 0; color: var(--muted); }
.service-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--orange-50); color: var(--orange-dark); font-size: 24px; }
.check-list { display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list i { color: var(--teal-dark); font-size: 22px; margin-top: 1px; flex-shrink: 0; }
.pointer { margin-top: 22px; }

/* ---------- fees ---------- */
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
table.fees { width: 100%; border-collapse: collapse; min-width: 560px; }
.fees th, .fees td { text-align: left; padding: 14px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.fees thead th { font-family: var(--font-head); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--surface-2); }
.fees .group-row th { background: var(--brand-50); color: var(--brand-dark); font-family: var(--font-head); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.fees tbody th[scope="row"] { font-weight: 700; color: var(--ink); width: 28%; }
.fees .amount { font-family: var(--font-head); font-weight: 700; color: var(--brand-dark); white-space: nowrap; width: 14%; }
.fees tr:last-child > * { border-bottom: none; }
.footnote { margin-top: 14px; font-style: italic; color: var(--muted); }
.section-title { margin: 36px 0 14px; font-size: 1.3rem; }

/* ---------- jobs ---------- */
.roles { display: grid; gap: 10px; }
.roles li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-md); }
.role-title { font-weight: 700; color: var(--ink); }
.role-type { font-size: .82rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--teal-50); color: var(--teal-dark); white-space: nowrap; }

/* ---------- documents ---------- */
.doclist { display: grid; gap: 10px; }
.doc { position: relative; display: flex; align-items: center; gap: 16px; padding: 14px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; transition: all .2s ease; }
.doc:hover, .doc:focus-within { border-color: var(--brand); box-shadow: var(--sh-2); }
.doc:focus-within { outline: 3px solid #1f6fb2; outline-offset: 2px; }
.doc-code { flex: none; min-width: 72px; text-align: center; font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .02em; padding: 7px 10px; border-radius: 10px; background: var(--brand-50); color: var(--brand-dark); }
.doc-code[data-area="acorn-oshc"] { background: var(--teal-50); color: var(--teal-dark); }
.doc-body { flex: 1; min-width: 0; }
.doc h3 { font-family: var(--font-body); font-size: 1.02rem; font-weight: 700; }
.doc h3 a { color: var(--ink); text-decoration: none; }
.doc h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 14px; }
.doc h3 a:focus-visible { outline: none; }
.doc-meta { margin: 2px 0 0; font-size: .85rem; color: var(--muted); }
.doc-open { flex: none; font-weight: 700; font-size: .9rem; color: var(--brand-dark); }
.doc-open::after { content: " \2192"; }
.doc:hover .doc-open { text-decoration: underline; }
.empty { margin-top: 24px; text-align: center; padding: 56px 24px; background: var(--surface); border: 2px dashed var(--line-2); border-radius: var(--r-lg); display: grid; justify-items: center; gap: 8px; }
.empty p { color: var(--muted); max-width: 52ch; margin: 0; }
.icon-lg { font-size: 36px; color: var(--brand); }

/* ---------- page footer ---------- */
.page-footer { margin: 44px 0 40px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12.5px; line-height: 1.6; max-width: 920px; }
.disc-label { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-head); font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin-bottom: 8px; }
.disc-label i { font-size: 14px; color: var(--brand); }
.page-footer p { margin: 0; color: var(--muted); font-size: 12.5px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .dash-grid, .two-col { grid-template-columns: 1fr; }
}
@media (max-width: 880px) {
  .mobile-bar { display: flex; }
  aside.sidebar { transform: translateX(-100%); visibility: hidden; padding-top: 78px; }
  aside.sidebar.open { transform: translateX(0); visibility: visible; box-shadow: var(--sh-3); }
  aside.sidebar .brand-block { display: none; }
  aside.sidebar .nav-section-label:first-of-type { padding-top: 0; }
  main { margin-left: 0; }
  .wrap { padding-inline: 22px; }
  .app-strip { padding: 10px 22px; }
  .hero { padding: 30px 26px; border-radius: var(--r-lg); }
  .pillars { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 16px; }
  .stat-value { font-size: 1.4rem; }
  .quick-grid { grid-template-columns: 1fr; }
  .people { grid-template-columns: 1fr; }
  .doc { flex-wrap: wrap; }
  .doc-open { display: none; }
  .fees th, .fees td { padding: 12px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* logo: remove the grey/white backing baked into the course image */
.brand-logo-inline img, .mobile-logo-inline img { filter: url(#logo-no-grey); clip-path: inset(0 0 1px 0); }

/* enlarged logo shown in the middle of the screen while the logo is hovered or keyboard-focused */
.logo-zoom { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; pointer-events: none; opacity: 0; visibility: hidden; transition: opacity .18s ease, visibility 0s linear .18s; background: rgba(36, 22, 60, .45); }
.logo-zoom.show { opacity: 1; visibility: visible; transition: opacity .18s ease; }
.logo-zoom-card { width: min(92vw, 900px); background: #fff; border-radius: 18px; padding: clamp(14px, 3vw, 36px); box-shadow: 0 24px 80px rgba(0, 0, 0, .35); }
.logo-zoom img { display: block; width: 100%; height: auto; filter: url(#logo-no-grey); clip-path: inset(0 0 1px 0); }
@media (prefers-reduced-motion: reduce) { .logo-zoom, .logo-zoom.show { transition: none; } }


@media (max-width: 700px) { .hero h1 { white-space: normal; font-size: 2rem; } }

/* staff photo boards: one row per person - photo on the left, details on the right */
.board-group { border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; overflow: hidden; }
.board-head { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; align-items: center; padding: 14px 22px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.board-head h3 { font-size: 1.15rem; color: var(--brand-dark); }
.board-head a { font-weight: 700; font-size: .95rem; }
.board-person { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: start; padding: 24px 22px; }
.board-person + .board-person { border-top: 1px solid var(--line); }
.pimg { position: relative; overflow: hidden; background: #f5f4fb; border: 1px solid var(--line); border-radius: 10px; flex: none; }
.pimg img { position: absolute; top: 0; max-width: none; height: auto; }
.pinfo { min-width: 0; }
.pinfo .bp-name { font-size: 1.3rem; margin: 0; color: #1d1a2b; }
.pinfo .bp-role { font-size: 1.05rem; font-weight: 700; color: var(--brand-dark); margin: 2px 0 8px; }
.pinfo .bp-qual { font-size: 1rem; color: #3d3a50; margin: 0 0 12px; line-height: 1.55; }
.pinfo .bp-story { font-size: 1.02rem; line-height: 1.65; color: #2b2840; margin: 0 0 12px; }
.pinfo .bp-voice { font-size: .95rem; font-weight: 700; color: var(--brand-dark); margin: 0 0 4px; }
.pinfo blockquote.bp-quote { margin: 0; border-left: 3px solid var(--accent); padding-left: 14px; font-size: 1.05rem; line-height: 1.65; color: #1d1a2b; }
@media (max-width: 640px) { .board-person { grid-template-columns: minmax(0, 1fr); gap: 16px; } .pimg { margin: 0 auto; } }
