/* SBK COLLECTIVE: midnight navy, ivory, deep blue, champagne gold */
:root {
  --navy: #0f1b2d;
  --navy-2: #16253d;
  --blue: #1d3a6b;
  --blue-hover: #26497f;
  --ivory: #f8f5ee;
  --ivory-2: #f0ebe0;
  --white: #fffdf8;
  --gold: #c2a36b;        /* decorative / on navy */
  --gold-ink: #8a6d35;    /* gold for text on ivory (AA) */
  --ink: #141820;
  --ink-2: #434a57;
  --ink-3: #6a7180;
  --rule: #ddd6c7;
  --rule-dark: rgba(248, 245, 238, 0.14);
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1160px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0; letter-spacing: -0.005em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-hover); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
img, svg { max-width: 100%; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--navy); color: var(--ivory); padding: 10px 16px; z-index: 100; border-radius: 3px; }
.skip:focus { top: 12px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(248, 245, 238, 0.97); border-bottom: 1px solid var(--rule); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.logo-mark { width: 40px; height: 40px; flex: none; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 19px; letter-spacing: 0.06em; }
.brand-name span { font-weight: 500; color: var(--ink-2); }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a { color: var(--ink-2); text-decoration: none; font-size: 15.5px; padding: 6px 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.site-nav ul a:hover { color: var(--navy); border-bottom-color: var(--gold); }
.site-nav ul a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--navy); font-weight: 500; }
.menu-btn { display: none; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; font: 500 16px/1 var(--sans); text-decoration: none; cursor: pointer; border-radius: 2px; padding: 15px 24px; border: 1px solid transparent; transition: background .2s var(--ease), color .2s, border-color .2s, transform .2s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--navy); color: var(--ivory); }
.btn-primary:hover { background: var(--blue); color: var(--ivory); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #d1b47e; color: var(--navy); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--ivory); }
.btn-ghost-light { border-color: rgba(248,245,238,.4); color: var(--ivory); background: transparent; }
.btn-ghost-light:hover { border-color: var(--ivory); color: var(--ivory); }
.btn-small { padding: 10px 16px; font-size: 15px; background: var(--navy); color: var(--ivory); }
.btn-small:hover, .btn-small[aria-current="page"] { background: var(--blue); color: var(--ivory); }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }
.linklike:hover { text-decoration: underline; }

/* ---------- Hero ---------- */
.hero { background: var(--navy); color: var(--ivory); position: relative; overflow: hidden; }
.hero-inner { position: relative; padding: 112px 24px 104px; display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: center; }
.kicker { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 24px; display: flex; align-items: center; gap: 14px; }
.kicker::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.hero h1 { font-size: clamp(40px, 5.6vw, 72px); font-weight: 500; line-height: 1.04; letter-spacing: -0.015em; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero-lede { margin-top: 28px; font-size: 19px; color: rgba(248, 245, 238, 0.78); max-width: 34em; }
.hero-actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; }
/* ---------- Hero book animation: the open book, knowledge rising, a glow of power ---------- */
.book-art { position: relative; justify-self: end; width: 100%; max-width: 440px; aspect-ratio: 1; animation: art-in 1.2s var(--ease) .15s both; }
@keyframes art-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.halo { position: absolute; left: 50%; top: 50%; width: 82%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(194,163,107,.34) 0%, rgba(194,163,107,.12) 40%, rgba(194,163,107,0) 68%); animation: halo 6s ease-in-out infinite; }
@keyframes halo { 0%, 100% { transform: translate(-50%, -50%) scale(.92); opacity: .75; } 50% { transform: translate(-50%, -50%) scale(1.06); opacity: 1; } }
.rays { position: absolute; left: 50%; top: 60%; width: 0; height: 0; }
.rays i { position: absolute; left: -1px; bottom: 0; width: 2px; height: 180px; transform-origin: 50% 100%; background: linear-gradient(to top, rgba(194,163,107,0), rgba(214,186,130,.6) 35%, rgba(194,163,107,0)); animation: ray 5s ease-in-out infinite; }
.rays i:nth-child(1) { transform: rotate(-54deg); height: 140px; animation-delay: -.4s; }
.rays i:nth-child(2) { transform: rotate(-36deg); height: 170px; animation-delay: -1.6s; }
.rays i:nth-child(3) { transform: rotate(-18deg); height: 200px; animation-delay: -2.8s; }
.rays i:nth-child(4) { transform: rotate(0deg); height: 220px; animation-delay: -1s; }
.rays i:nth-child(5) { transform: rotate(18deg); height: 200px; animation-delay: -3.4s; }
.rays i:nth-child(6) { transform: rotate(36deg); height: 170px; animation-delay: -2.2s; }
.rays i:nth-child(7) { transform: rotate(54deg); height: 140px; animation-delay: -4s; }
@keyframes ray { 0%, 100% { opacity: .2; } 50% { opacity: .95; } }
.sparks { position: absolute; left: 50%; top: 58%; width: 0; height: 0; }
.sparks i, .sparks b { position: absolute; left: var(--x); top: 0; opacity: 0; animation: rise var(--t) cubic-bezier(.25,.6,.35,1) var(--d) infinite; }
.sparks i { font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1; color: #e3cb98; text-shadow: 0 0 14px rgba(227,203,152,.55); }
.sparks b { width: 5px; height: 5px; border-radius: 50%; background: #efdcb2; box-shadow: 0 0 10px 2px rgba(239,220,178,.7); }
@keyframes rise { 0% { transform: translate(0, 10px) scale(.5); opacity: 0; } 18% { opacity: 1; } 72% { opacity: .85; } 100% { transform: translate(var(--dx), -230px) scale(1.15); opacity: 0; } }
.book-stage { position: absolute; left: 50%; top: 64%; width: 80%; transform: translate(-50%, -50%); perspective: 1100px; animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translate(-50%, -50%); } 50% { transform: translate(-50%, calc(-50% - 8px)); } }
.book { position: relative; width: 100%; aspect-ratio: 34 / 23; transform: rotateX(56deg); transform-style: preserve-3d; }
.book .cover { position: absolute; inset: -3.5% -3%; border-radius: 6px; background: linear-gradient(135deg, #24467f, #13284c); box-shadow: inset 0 0 0 1px rgba(194,163,107,.65); transform: translateZ(-7px); }
.book .leaf, .book .turn { position: absolute; top: 0; width: 50%; height: 100%; }
.book .leaf-l { left: 0; border-radius: 4px 0 0 4px; box-shadow: 0 4px 0 #ddd3bf, 0 7px 0 #c9bea6;
  background: repeating-linear-gradient(to bottom, transparent 0 9px, rgba(20,24,32,.14) 9px 10.5px) center / 70% 66% no-repeat, linear-gradient(to right, #e6ddca, #faf6ed 16%, #f5efe3 78%, #d6cbb3); }
.book .leaf-r, .book .turn { left: 50%; border-radius: 0 4px 4px 0;
  background: repeating-linear-gradient(to bottom, transparent 0 9px, rgba(20,24,32,.14) 9px 10.5px) center / 70% 66% no-repeat, linear-gradient(to left, #e6ddca, #faf6ed 16%, #f5efe3 78%, #d6cbb3); }
.book .leaf-r { box-shadow: 0 4px 0 #ddd3bf, 0 7px 0 #c9bea6; }
.book .turn { transform-origin: 0 50%; transform: translateZ(1px); animation: turn 7.5s cubic-bezier(.45,.05,.3,1) infinite; }
.book .turn:nth-child(5) { animation-delay: 2.5s; }
.book .turn:nth-child(6) { animation-delay: 5s; }
@keyframes turn {
  0%, 6% { transform: translateZ(1px) rotateY(0deg); filter: brightness(1); }
  26% { filter: brightness(.82); }
  46%, 100% { transform: translateZ(1px) rotateY(-180deg); filter: brightness(1); }
}
.book-shadow { position: absolute; left: 50%; top: 79%; width: 72%; height: 9%; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(ellipse at center, rgba(0,0,0,.5), rgba(0,0,0,0) 70%); filter: blur(3px); }

/* Rotating word in the hero heading */
.rotator { display: grid; justify-items: start; }
.rotator span { grid-area: 1 / 1; opacity: 0; animation: word 9s var(--ease) infinite; }
.rotator span:first-child { opacity: 1; }
.rotator span:nth-child(2) { animation-delay: 3s; }
.rotator span:nth-child(3) { animation-delay: 6s; }
@keyframes word { 0% { opacity: 0; transform: translateY(.3em); filter: blur(6px); } 5%, 29% { opacity: 1; transform: none; filter: blur(0); } 35%, 100% { opacity: 0; transform: translateY(-.25em); filter: blur(6px); } }

/* Books feature */
.feature { display: grid; grid-template-columns: .9fr 1.1fr; gap: 88px; align-items: center; }
.feature-img, .schools-img { margin: 0; position: relative; }
.feature-img::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; border: 1px solid var(--gold); }
.feature-img img { position: relative; display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.feature-copy .lead { margin-top: 20px; }
.feature-copy .ticks { margin-top: 24px; }
.feature-actions { margin-top: 36px; }
.reveal .feature-img img, .reveal .schools-img img { clip-path: inset(0 0 100% 0); transition: clip-path 1.3s var(--ease) .1s; }
.reveal.in .feature-img img, .reveal.in .schools-img img { clip-path: inset(0); }

.photo-band { margin: 0; }
.photo-band img { display: block; width: 100%; height: clamp(240px, 40vw, 520px); object-fit: cover; object-position: center 30%; }

/* Schools */
.schools { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: center; }
.schools-copy .lead { margin-top: 20px; }
.schools-img img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; box-shadow: 0 40px 70px -40px rgba(15,27,45,.55); }
.schools-img::after { content: ""; position: absolute; left: 0; bottom: -10px; width: 34%; height: 3px; background: var(--gold); }
.mini-facts { margin: 32px 0 0; }
.mini-facts > div { padding: 16px 0; border-top: 1px solid var(--rule); }
.mini-facts dt { font-weight: 600; color: var(--navy); }
.mini-facts dd { margin: 4px 0 0; color: var(--ink-2); }

/* Quote band over the library photograph */
.quote-band { position: relative; color: var(--ivory); text-align: center; padding: 150px 0; background: linear-gradient(rgba(15,27,45,.76), rgba(15,27,45,.9)), url(/assets/img/library-lights.jpg) center / cover no-repeat; background-attachment: scroll, fixed; }
.quote-mark { font-family: var(--serif); font-size: 120px; line-height: .5; color: var(--gold); margin: 0 0 20px; }
.quote-band blockquote { margin: 0 auto; }
.quote-band blockquote p { font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 4.8vw, 62px); line-height: 1.1; letter-spacing: -.01em; }
.quote-band blockquote span { display: block; }
.quote-band blockquote span + span { color: var(--gold); font-style: italic; }
.quote-by { margin-top: 32px; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: rgba(248,245,238,.7); }
.reveal blockquote span { opacity: 0; transform: translateY(20px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in blockquote span { opacity: 1; transform: none; }
.reveal.in blockquote span + span { transition-delay: .35s; }

.page-hero { background: var(--navy); color: var(--ivory); padding: 88px 0 72px; }
.page-hero h1 { font-size: clamp(36px, 4.6vw, 56px); font-weight: 500; max-width: 18ch; }
.page-hero p { margin-top: 20px; font-size: 19px; color: rgba(248, 245, 238, 0.78); max-width: 40em; }
.crumbs { font-size: 14px; color: rgba(248,245,238,.6); margin-bottom: 20px; }
.crumbs a { color: rgba(248,245,238,.8); }

/* ---------- Credibility ---------- */
.cred-band { background: var(--navy-2); color: var(--ivory); border-top: 1px solid var(--rule-dark); }
.cred { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.cred li { padding: 30px 20px 30px 0; display: flex; flex-direction: column; gap: 2px; }
.cred li + li { padding-left: 20px; border-left: 1px solid var(--rule-dark); }
.cred-big { font-family: var(--serif); font-size: 28px; color: var(--ivory); line-height: 1.1; }
.cred-label { font-size: 14.5px; color: rgba(248,245,238,.85); }
.cred-note { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); margin-top: 8px; }

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.section-tight { padding: 72px 0; }
.section-alt { background: var(--ivory-2); }
.section-dark { background: var(--navy); color: var(--ivory); }
.eyebrow { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 18px; }
.section-dark .eyebrow { color: var(--gold); }
.h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 500; }
.lead { font-size: 19px; color: var(--ink-2); }
.section-dark .lead { color: rgba(248,245,238,.78); }
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 72px; align-items: start; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: end; margin-bottom: 56px; }
.prose { max-width: 720px; }
.prose p, .prose li { color: var(--ink-2); }
.prose h2 { font-size: 28px; margin: 48px 0 14px; }
.prose h3 { font-size: 21px; margin: 32px 0 10px; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }
.prose > :first-child { margin-top: 0; }

/* ---------- Divisions ---------- */
.div-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.div-card { background: var(--white); padding: 32px 28px 28px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; min-height: 280px; position: relative; transition: background .25s var(--ease); }
.div-card::after { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--gold); transition: width .35s var(--ease); }
.div-card:hover { background: #fff; color: var(--ink); }
.div-card:hover::after { width: 100%; }
.div-card h3 { font-size: 22px; margin: 22px 0 10px; }
.div-card p { color: var(--ink-2); font-size: 16px; flex: 1; }
.div-num { font-family: var(--serif); color: var(--gold-ink); font-size: 15px; }
.div-card .status { position: absolute; top: 30px; right: 24px; }
.div-more { margin-top: 18px; font-size: 15px; font-weight: 500; color: var(--blue); }
.div-grid .div-cta { background: var(--navy); color: var(--ivory); padding: 32px 28px; display: flex; flex-direction: column; justify-content: space-between; }
.div-cta h3 { font-size: 22px; font-weight: 500; }
.div-cta p { color: rgba(248,245,238,.75); font-size: 16px; margin-top: 10px; }

.status { display: inline-block; font-size: 11.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; padding: 5px 9px; border-radius: 2px; white-space: nowrap; }
.status-accepting-enquiries { background: #e3ebe3; color: #1f4d2c; }
.status-in-development { background: #e5e9f2; color: var(--blue); }
.status-coming-soon { background: #f1eadb; color: #6e5524; }
.status-key { margin: 0; display: grid; gap: 12px; }
.status-key > div { display: grid; grid-template-columns: 190px 1fr; gap: 16px; align-items: baseline; }
.status-key dd { margin: 0; color: var(--ink-2); font-size: 16px; }

.div-full { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; padding: 56px 0; border-top: 1px solid var(--rule); }
.div-full:first-child { border-top: 1px solid var(--navy); }
.div-full-head h2 { font-size: 30px; font-weight: 500; margin: 12px 0 16px; }
.div-full-summary { font-size: 19px; color: var(--ink); }
.mini { font-family: var(--sans); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; margin: 24px 0 12px; }
.ticks { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 32px; }
.ticks li { padding: 8px 0 8px 22px; position: relative; break-inside: avoid; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 18px; width: 10px; height: 1px; background: var(--gold-ink); }

/* ---------- Approach ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.steps li { border-top: 1px solid var(--rule-dark); padding-top: 28px; }
.step-num { font-family: var(--serif); font-size: 44px; color: var(--gold); line-height: 1; display: block; margin-bottom: 18px; }
.steps h3 { font-size: 22px; font-weight: 500; margin-bottom: 10px; }
.steps p { color: rgba(248,245,238,.72); font-size: 16px; }

/* ---------- Values ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 40px; }
.value h3 { font-size: 22px; margin-bottom: 8px; display: flex; align-items: center; gap: 12px; }
.value h3::before { content: ""; width: 18px; height: 1px; background: var(--gold-ink); }
.value p { color: var(--ink-2); }

/* ---------- Statement / quote ---------- */
.statement { font-family: var(--serif); font-size: clamp(26px, 3vw, 36px); line-height: 1.3; font-weight: 500; max-width: 26em; }
.statement em { color: var(--gold-ink); }
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.vm > div { background: var(--white); padding: 40px; }
.vm h2 { font-size: 15px; font-family: var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 16px; }
.vm p { font-family: var(--serif); font-size: 22px; line-height: 1.4; color: var(--ink); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--blue); color: var(--ivory); padding: 88px 0; }
.cta-band .inner { display: grid; grid-template-columns: 1.4fr auto; gap: 40px; align-items: center; }
.cta-band h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 500; }
.cta-band p { color: rgba(248,245,238,.82); margin-top: 16px; font-size: 18px; max-width: 36em; }

/* ---------- Facts / details list ---------- */
.facts-list { margin: 0; border-top: 1px solid var(--navy); }
.facts-list > div { display: grid; grid-template-columns: 230px 1fr; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--rule); }
.facts-list dt { color: var(--ink-3); font-size: 15.5px; }
.facts-list dd { margin: 0; font-weight: 500; }
.facts-group + .facts-group { margin-top: 56px; }
.facts-group h2 { font-size: 24px; margin-bottom: 18px; }
.notice { background: var(--ivory-2); border-left: 2px solid var(--gold); padding: 14px 18px; font-size: 15.5px; color: var(--ink-2); margin-top: 20px; }
.section-alt .notice { background: var(--white); }
.small { font-size: 14.5px; color: var(--ink-3); }

/* ---------- Cards (generic) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--white); border: 1px solid var(--rule); padding: 30px; }
.card h3 { font-size: 21px; margin-bottom: 10px; }
.card p { color: var(--ink-2); font-size: 16px; }
.card a.more { font-weight: 500; text-decoration: none; }
.legal-grid .card { text-decoration: none; color: var(--ink); transition: border-color .2s; display: block; }
.legal-grid .card:hover { border-color: var(--navy); }

.empty { border: 1px dashed var(--rule); padding: 56px 40px; text-align: center; background: var(--white); }
.empty h2 { font-size: 26px; margin-bottom: 10px; }
.empty p { color: var(--ink-2); max-width: 34em; margin: 0 auto; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--navy); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-family: var(--serif); font-size: 21px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-family: var(--sans); font-size: 26px; color: var(--gold-ink); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 24px; color: var(--ink-2); max-width: 46em; }

/* ---------- Forms ---------- */
.form { background: var(--white); border: 1px solid var(--rule); padding: 36px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { font-size: 15px; font-weight: 500; color: var(--ink); }
.req { color: #9b3324; }
.opt { color: var(--ink-3); font-weight: 400; }
input, select, textarea { font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid #c4bcab; border-radius: 2px; padding: 12px 13px; width: 100%; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
textarea { resize: vertical; }
[aria-invalid="true"] { border-color: #9b3324; }
.field.check { flex-direction: row; align-items: flex-start; gap: 12px; }
.field.check input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--navy); }
.field.check label { font-weight: 400; font-size: 15px; color: var(--ink-2); }
.form-error { color: #9b3324; font-size: 15px; font-weight: 500; }
.form-note { margin-top: 14px; font-size: 14px; color: var(--ink-3); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(248,245,238,.72); font-size: 15px; padding: 80px 0 36px; }
.site-footer a, .site-footer .linklike { color: rgba(248,245,238,.82); text-decoration: none; }
.site-footer a:hover, .site-footer .linklike:hover { color: var(--ivory); text-decoration: underline; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr 1.2fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--rule-dark); }
.brand-light, .brand-light:hover { color: var(--ivory) !important; text-decoration: none !important; }
.brand-light .brand-name span { color: rgba(248,245,238,.7); }
.brand-light .logo-mark rect:first-child { fill: #1b2c47; }
.footer-slogan { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--gold); margin: 22px 0 10px; }
.footer-col h2 { font-family: var(--sans); font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 28px; font-size: 14px; }

/* ---------- Cookie banner / dialog ---------- */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; background: var(--navy); color: var(--ivory); border-top: 1px solid var(--gold); box-shadow: 0 -8px 30px rgba(0,0,0,.18); }
.cookie-inner { display: flex; align-items: center; gap: 32px; padding-top: 20px; padding-bottom: 20px; }
.cookie-inner p { margin: 0; font-size: 15px; color: rgba(248,245,238,.85); }
.cookie-inner a { color: var(--gold); }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; flex: none; }
.cookie-actions .btn { padding: 11px 16px; font-size: 15px; }
.cookie-dialog { border: 0; border-radius: 3px; padding: 0; max-width: 560px; width: calc(100% - 32px); background: var(--white); color: var(--ink); box-shadow: 0 20px 60px rgba(15,27,45,.35); }
.cookie-dialog::backdrop { background: rgba(15, 27, 45, .55); }
.cookie-form { padding: 32px; }
.cookie-form h2 { font-size: 26px; margin-bottom: 10px; }
.cookie-form > p { color: var(--ink-2); font-size: 15.5px; }
.cookie-form fieldset { border: 0; padding: 0; margin: 20px 0 8px; }
.pref { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--rule); }
.pref input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--navy); }
.pref label { display: flex; flex-direction: column; font-weight: 400; }
.pref label span { color: var(--ink-3); font-size: 14.5px; }
.cookie-form .cookie-actions { margin-top: 20px; justify-content: flex-end; }

/* ---------- Reveal (subtle) ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .cred { grid-template-columns: repeat(2, 1fr); }
  .cred li:nth-child(3) { padding-left: 0; border-left: 0; }
  .cred li:nth-child(n+3) { border-top: 1px solid var(--rule-dark); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .site-nav ul { gap: 18px; }
}

@media (max-width: 960px) {
  .menu-btn { display: inline-flex; align-items: center; gap: 10px; background: none; border: 1px solid var(--rule); border-radius: 2px; padding: 9px 12px; font: 500 15px var(--sans); color: var(--navy); cursor: pointer; }
  .menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 18px; height: 1.5px; background: var(--navy); position: relative; transition: transform .2s, background .2s; }
  .menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
  .menu-bars::before { top: -6px; } .menu-bars::after { top: 6px; }
  .menu-btn[aria-expanded="true"] .menu-bars { background: transparent; }
  .menu-btn[aria-expanded="true"] .menu-bars::before { transform: translateY(6px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] .menu-bars::after { transform: translateY(-6px) rotate(-45deg); }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 72px; background: var(--ivory); border-bottom: 1px solid var(--rule); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 24px; }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 17px; }
  .site-nav ul a[aria-current="page"] { border-bottom-color: var(--rule); color: var(--navy); }
  .site-nav .btn-small { margin-top: 18px; justify-content: center; padding: 14px; }

  .hero-inner { grid-template-columns: 1fr; padding: 80px 24px 72px; }
  .book-art { justify-self: center; max-width: 340px; margin-top: 8px; }
  .feature, .schools { grid-template-columns: 1fr; gap: 48px; }
  .feature-img { max-width: 460px; margin-right: 24px; }
  .schools-img { order: -1; }
  .quote-band { padding: 110px 0; background-attachment: scroll, scroll; }
  .split, .section-head, .div-full, .cta-band .inner { grid-template-columns: 1fr; gap: 28px; }
  .div-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
  .values, .cards { grid-template-columns: 1fr 1fr; }
  .vm { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
}

@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .wrap { padding: 0 16px; }
  .hero-inner { padding: 64px 16px 56px; }
  .site-nav { padding: 8px 16px 20px; }
  .brand-name { font-size: 17px; }
  .menu-label { display: none; }
  .cred { grid-template-columns: 1fr 1fr; }
  .cred li, .cred li + li { padding: 22px 12px 22px 0; border-left: 0; }
  .cred li:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--rule-dark); }
  .cred li:nth-child(n+3) { border-top: 1px solid var(--rule-dark); }
  .cred-big { font-size: 24px; }
  .div-grid, .steps, .values, .cards { grid-template-columns: 1fr; }
  .div-card { min-height: 0; }
  .ticks { columns: 1; }
  .facts-list > div, .status-key > div { grid-template-columns: 1fr; gap: 4px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .form { padding: 22px; }
  .vm > div { padding: 28px; }
  .section { padding: 64px 0; }
  .page-hero { padding: 64px 0 52px; }
  .footer-top { grid-template-columns: 1fr; }
  .cookie-inner { flex-direction: column; align-items: stretch; gap: 16px; }
  .cookie-actions .btn { flex: 1; justify-content: center; }
}
