/* The Lions International School — "Lead with courage"
   Dark-first: night ground, bone ink, lion-gold accent, terracotta secondary,
   paper reading sections. Syne (display) + Figtree (body). Bootstrap 5.3.3 grid. */

/* Google Fonts (latin subset), declared here to save a round trip; display: swap */
@font-face { font-family: "Syne"; font-style: normal; font-weight: 700 800; font-display: swap; src: url(https://fonts.gstatic.com/s/syne/v24/8vIH7w4qzmVxm2BL9G78HEY.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(https://fonts.gstatic.com/s/figtree/v9/_Xms-HUzqDCFdgfMm4S9DaRvzig.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Metric-matched fallbacks (width measured against Arial) so text wraps the same before and after the web fonts arrive */
@font-face { font-family: "Syne Fallback"; font-weight: 700; src: local("Arial Bold"), local("Arial-BoldMT"), local("Arial"); size-adjust: 113.3%; }
@font-face { font-family: "Syne Fallback"; font-weight: 800; src: local("Arial Bold"), local("Arial-BoldMT"), local("Arial"); size-adjust: 164.6%; }
@font-face { font-family: "Figtree Fallback"; font-weight: 400; src: local("Arial"), local("ArialMT"); size-adjust: 99.2%; }
@font-face { font-family: "Figtree Fallback"; font-weight: 600; src: local("Arial Bold"), local("Arial-BoldMT"); size-adjust: 94.4%; }

:root {
  --night: #111014;
  --night-2: #1b1920;
  --night-line: #34303a;
  --bone: #F3EFE6;
  --bone-2: #B8B0A3;
  --gold: #E9B44C;
  --gold-deep: #c99630;
  --terra: #B5523B;
  --paper: #F7F2E9;
  --paper-2: #EDE5D7;
  --ink: #1A1714;
  --ink-2: #5E564C;
  --terra-ink: #9A4330;
  --gold-ink: #7A5410;
  --err-dark: #F2A08B;
  --err-light: #A8321E;
  --display: "Syne", "Syne Fallback", sans-serif;
  --body: "Figtree", "Figtree Fallback", sans-serif;
  --gutter: clamp(20px, 4vw, 40px);
  --sec: clamp(72px, 9vw, 136px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

/* --- Bootstrap grid values repeated so layout doesn't shift while the async grid CSS loads --- */
.container { width: 100%; padding-right: calc(var(--bs-gutter-x, 1.5rem) * .5); padding-left: calc(var(--bs-gutter-x, 1.5rem) * .5); margin-right: auto; margin-left: auto; }
@media (min-width: 576px) { .container { max-width: 540px; } }
@media (min-width: 768px) { .container { max-width: 720px; } }
@media (min-width: 992px) { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }
@media (min-width: 1400px) { .container { max-width: 1320px; } }
.row { --bs-gutter-x: 1.5rem; --bs-gutter-y: 0; display: flex; flex-wrap: wrap; margin-top: calc(-1 * var(--bs-gutter-y)); margin-right: calc(-.5 * var(--bs-gutter-x)); margin-left: calc(-.5 * var(--bs-gutter-x)); }
:where(.row) > * { flex-shrink: 0; width: 100%; max-width: 100%; padding-right: calc(var(--bs-gutter-x) * .5); padding-left: calc(var(--bs-gutter-x) * .5); margin-top: var(--bs-gutter-y); }
.g-4 { --bs-gutter-x: 1.5rem; --bs-gutter-y: 1.5rem; }
.align-items-end { align-items: flex-end; }
.align-items-center { align-items: center; }
@media (min-width: 992px) {
  .col-lg-4 { flex: 0 0 auto; width: 33.33333333%; }
  .col-lg-5 { flex: 0 0 auto; width: 41.66666667%; }
  .col-lg-6 { flex: 0 0 auto; width: 50%; }
  .col-lg-7 { flex: 0 0 auto; width: 58.33333333%; }
  .col-lg-8 { flex: 0 0 auto; width: 66.66666667%; }
  .g-lg-5 { --bs-gutter-x: 3rem; --bs-gutter-y: 3rem; }
}

/* --- base --- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: #111014; color: #F3EFE6; font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; font-variant-numeric: lining-nums; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
p { margin: 0 0 1rem; max-width: 68ch; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.05; margin: 0 0 .6em; letter-spacing: -.015em; text-wrap: balance; }
.page-hero__title { overflow-wrap: break-word; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
::selection { background: var(--gold); color: var(--night); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
.reading :focus-visible, .page-hero--paper :focus-visible { outline-color: var(--ink); }
html { scrollbar-color: var(--night-line) var(--night); }
input, select, textarea { caret-color: var(--gold); }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--night); padding: 10px 16px; font-weight: 600; border-radius: 6px; }
.skip:focus { top: 12px; }
main:focus { outline: none; }
.icon { width: 1.2em; height: 1.2em; flex: none; }
.muted { color: var(--bone-2); }
.fine { font-size: .9375rem; color: var(--bone-2); }
.reading .fine, .reading .muted { color: var(--ink-2); }

/* --- section shells --- */
.reading { background: #F7F2E9; color: #1A1714; padding: var(--sec) 0; }
.reading--alt { background: var(--paper-2); }
.reading a { color: var(--ink); }
.h-section { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3.25rem); font-weight: 800; }
.h-section--sm { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); margin-top: 2.2rem; font-weight: 700; }
.lead-sm { font-size: 1.125rem; }

/* --- placeholders: dashed "to be provided by the school" --- */
.placeholder { border: 1.5px dashed currentColor; border-radius: 6px; padding: 14px 18px; font-size: .97rem; color: var(--bone-2); max-width: 60ch; }
.reading .placeholder { color: var(--ink-2); }
.placeholder--quote { margin: 0 0 1rem; font-size: 1.15rem; }
.placeholder-list li { border-bottom: 1.5px dashed var(--ink-2); padding: 14px 0; list-style: none; font-size: 1.1rem; }
.tbc { display: inline-block; border: 1.5px dashed var(--ink-2); border-radius: 4px; padding: 2px 8px; font-size: .875rem; white-space: nowrap; color: var(--ink-2); }

/* --- buttons --- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: .5rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: 12px 22px; border-radius: 999px; font: 600 1rem/1.1 var(--body); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.btn--gold { background: var(--gold); color: var(--night); }
.btn--gold:hover { background: #f2c56a; }
.btn--line { border-color: rgba(243, 239, 230, .45); color: var(--bone); background: transparent; }
.btn--line:hover { border-color: var(--gold); color: var(--gold); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: #38322c; }
.btn--line-ink { border-color: rgba(26, 23, 20, .5); color: var(--ink); }
.btn--line-ink:hover { border-color: var(--ink); }
.btn--big { min-height: 54px; padding: 14px 30px; font-size: 1.06rem; }
.btn[aria-busy="true"] { opacity: .7; cursor: progress; }
.reading .btn--line { border-color: rgba(26, 23, 20, .45); color: var(--ink); }
.reading .btn--line:hover { border-color: var(--terra-ink); color: var(--terra-ink); }
.link-arrow { font-weight: 600; text-decoration: underline; text-underline-offset: .28em; }

/* --- header --- */
.site-header { position: absolute; inset: 0 0 auto 0; z-index: 30; padding: 18px 0; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--bone); }
.brand__crest { width: 44px; height: 44px; }
.brand__name { display: flex; flex-direction: column; line-height: 1.05; white-space: nowrap; }
.brand__line1 { font-family: var(--display); font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; }
.brand__line2 { font-size: .8rem; color: var(--bone-2); letter-spacing: .01em; }
.header-actions { display: flex; align-items: center; gap: clamp(12px, 2.4vw, 28px); }
.header-call { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; min-height: 44px; }
.header-call:hover { color: var(--gold); }
.status { font-size: .875rem; color: var(--bone-2); display: inline-flex; align-items: center; gap: 8px; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--bone-2); }
.status[data-open="true"]::before { background: #7FD08B; }
.menu-toggle, .menu-close { background: none; border: 0; color: var(--bone); cursor: pointer; padding: 6px 0; min-height: 48px; display: inline-flex; align-items: center; }
.menu-toggle__word { font-family: var(--display); font-weight: 800; font-size: clamp(1.6rem, 1rem + 1.8vw, 2.4rem); letter-spacing: -.02em; line-height: 1; position: relative; }
.menu-toggle__word::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 3px; background: var(--gold); transform: scaleX(.35); transform-origin: left; transition: transform .35s var(--ease); }
.menu-toggle:hover .menu-toggle__word::after, .menu-toggle:focus-visible .menu-toggle__word::after, .menu-close:hover .menu-toggle__word::after { transform: scaleX(1); }
@media (max-width: 767.98px) {
  .header-call__num, .status { display: none !important; }
  .header-call { width: 44px; justify-content: center; border: 1.5px solid rgba(243, 239, 230, .4); border-radius: 50%; }
  .brand__crest { width: 38px; height: 38px; }
  .brand__line1 { font-size: 1rem; }
  .menu-toggle__word { font-size: 1.55rem; }
  .brand { gap: 9px; }
  .brand__line2 { font-size: .72rem; }
}

/* --- menu: split screen --- */
.menu { position: fixed; inset: 0; z-index: 60; background: var(--night); overflow-y: auto; overscroll-behavior: contain; }
.menu[hidden] { display: none; }
.menu__inner { min-height: 100%; display: flex; flex-direction: column; padding: 18px 0 28px; }
.menu__top { display: flex; align-items: center; justify-content: space-between; }
.menu__body { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; padding-top: 24px; padding-bottom: 24px; }
.menu-list { list-style: none; }
.menu-link { display: block; text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--night-line); }
.menu-link__label { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 1.2rem + 3.6vw, 4.2rem); line-height: 1; letter-spacing: -.025em; transition: color .25s var(--ease), transform .35s var(--ease); }
.menu-link__sub { display: block; color: var(--bone-2); font-size: .95rem; margin-top: 6px; }
.menu-link:hover .menu-link__label, .menu-link:focus-visible .menu-link__label { color: var(--gold); transform: translateX(10px); }
.menu-link[aria-current="page"] .menu-link__label { color: var(--gold); }
.menu-preview { display: none; }
.menu__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: .95rem; }
.menu__foot p { margin: 0; }
.menu__foot a { color: var(--gold); }
.menu__foot-label { font-weight: 600; margin-right: 6px; }
@media (min-width: 992px) {
  .menu__body { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; }
  .menu-preview { display: block; position: relative; aspect-ratio: 4 / 5; max-height: 68vh; border-radius: 4px; overflow: hidden; background: var(--night-2); }
  .menu-preview__item { position: absolute; inset: 0; opacity: 0; transition: opacity .5s var(--ease), transform .9s var(--ease); transform: scale(1.04); }
  .menu-preview__item.is-on { opacity: 1; transform: scale(1); }
  .menu-preview__item img { width: 100%; height: 100%; object-fit: cover; }
}
body.menu-open { overflow: hidden; }

/* --- hero: photo through the letters --- */
.hero { position: relative; padding: clamp(116px, 12vw, 150px) 0 0; overflow: hidden; }
.hero__title { font-family: var(--display); font-weight: 800; font-size: clamp(2.7rem, 18.6vw, 10rem); line-height: .9; font-weight: 700; letter-spacing: -.04em; margin: 0 0 clamp(28px, 4vw, 48px); max-width: none; }
.clip { display: inline-block; color: var(--gold); padding-bottom: .06em; }
@media (max-width: 767.98px) { .hero__title .hl { display: block; } }
@media (min-width: 768px) { .hero__title { font-size: clamp(4rem, 10.4vw, 10rem); font-weight: 800; } .hero__title .clip { white-space: nowrap; } }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .clip { color: transparent; background-image: var(--clip-sm); background-size: cover; background-position: 50% 40%; -webkit-background-clip: text; background-clip: text; }
  @media (min-width: 768px) { .clip { background-image: var(--clip); } }
  @media (prefers-reduced-motion: no-preference) {
    .clip { animation: drift 24s ease-in-out infinite alternate; background-size: 135% auto; }
    @keyframes drift { from { background-position: 20% 30%; } to { background-position: 80% 60%; } }
  }
}
@media (forced-colors: active) { .clip { color: CanvasText; background: none; } }
.hero__below { margin-bottom: clamp(40px, 6vw, 72px); }
.hero__lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); max-width: 46ch; }
.hero__hi { color: var(--bone-2); font-size: 1.05rem; margin: 0; }
.hero__status { margin: 14px 0 0; color: var(--bone-2); font-size: .95rem; }
.strip { display: grid; align-items: start; grid-auto-flow: column; grid-auto-columns: 72vw; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter) 6px; scrollbar-width: thin; }
.strip__item { margin: 0; scroll-snap-align: start; overflow: hidden; border-radius: 3px; background: var(--night-2); }
.strip__item img { width: 100%; height: clamp(220px, 34vw, 380px); object-fit: cover; filter: saturate(.85) contrast(1.02); }
@media (min-width: 576px) { .strip { grid-auto-columns: 45vw; } }
@media (min-width: 992px) {
  .strip { grid-auto-flow: row; grid-template-columns: 1.2fr 1fr 1fr 1.2fr; overflow: visible; padding: 0 var(--gutter); }
  .strip__item--2, .strip__item--3 { margin-top: 48px; }
}
.photo-note { font-size: .8125rem; color: var(--bone-2); margin-top: 10px; margin-bottom: 0; padding-bottom: 28px; }
.photo-note--dark { color: var(--ink-2); padding-bottom: 0; }

/* --- facts ledger --- */
.ledger { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
@media (min-width: 768px) { .ledger { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.ledger__h { font-family: var(--body); font-weight: 600; font-size: 1rem; margin-bottom: 8px; color: var(--terra-ink); }
.ledger dl { margin: 0; }
.ledger__row { display: grid; grid-template-columns: minmax(0, 9rem) minmax(0, 1fr); gap: 12px; padding: 14px 0; border-top: 2px solid var(--ink); }
.ledger__row--pending { border-top: 2px dashed var(--ink-2); color: var(--ink-2); }
.ledger dt { font-weight: 600; }
.ledger dd { margin: 0; }

/* --- chapters: pinned horizontal on desktop --- */
.chapters { position: relative; padding: var(--sec) 0; }
.chapters__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: clamp(28px, 4vw, 48px); }
.chapters__head .h-section { margin: 0; }
.chapters__progress { display: none; }
.chapters__track { display: grid; gap: 56px; padding: 0 var(--gutter); }
.chapter { display: grid; gap: 20px; }
.chapter__media { overflow: hidden; border-radius: 3px; background: var(--night-2); }
.chapter__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.chapter__text .chapter__num, .chapter__num { font-family: var(--display); font-weight: 800; font-size: clamp(4rem, 3rem + 4vw, 7.5rem); line-height: .8; color: var(--terra); margin: 0 0 12px; }
.chapter__title { font-size: clamp(1.8rem, 1.2rem + 2vw, 3rem); font-weight: 800; }
.chapter__text p { color: var(--bone); }
.chapter__text .placeholder { color: var(--bone-2); }
.chapter__text .link-arrow { color: var(--gold); }
.chapter--end .chapter__text .chapter__num { color: var(--gold); }
@media (min-width: 992px) and (prefers-reduced-motion: no-preference) {
  .js .chapters[data-ready] { height: calc(var(--chapters-scroll, 400vh)); padding: 0; }
  .js .chapters[data-ready] .chapters__pin { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
  .js .chapters[data-ready] .chapters__track { display: flex; gap: 6vw; width: max-content; max-width: none; margin: 0; padding: 0 8vw; will-change: transform; }
  .js .chapters[data-ready] .chapter { width: min(78vw, 1040px); grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
  .js .chapters[data-ready] .chapter--end { width: min(60vw, 720px); grid-template-columns: minmax(0, 1fr); }
  .js .chapters[data-ready] .chapter__media img { aspect-ratio: 4 / 3.4; max-height: 62vh; }
  .js .chapters[data-ready] .chapters__progress { display: block; width: 180px; height: 3px; background: var(--night-line); position: relative; }
  .chapters__bar { position: absolute; inset: 0; background: var(--gold); transform: scaleX(var(--p, 0)); transform-origin: left; }
}
@media (min-width: 768px) {
  .chapter { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 4vw, 64px); }
  .chapter--end { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
  .chapters__track { max-width: 1320px; margin: 0 auto; }
}

/* --- admission moves --- */
.moves { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin: clamp(28px, 4vw, 48px) 0 32px; counter-reset: none; }
@media (min-width: 768px) { .moves { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; } }
@media (min-width: 1200px) { .moves:not(.moves--stack) { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 32px; } }
.move { border-top: 2px solid var(--ink); padding: 18px 0 28px; }
.move__n { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(4rem, 3rem + 3vw, 6.5rem); line-height: .85; color: var(--terra); margin-bottom: 12px; }
.move__t { font-size: clamp(1.25rem, 1rem + 1vw, 1.6rem); font-weight: 800; }
.move p { font-size: 1rem; }
.move__get { color: var(--terra-ink); font-weight: 600; }
.moves--stack { grid-template-columns: minmax(0, 1fr) !important; }
.move--wide { display: grid; grid-template-columns: minmax(0, 4.5rem) minmax(0, 1fr); gap: 24px; align-items: start; }
@media (min-width: 992px) { .move--wide { grid-template-columns: minmax(0, 12rem) minmax(0, 1fr); } .move--wide .move__n { font-size: 8rem; } }

/* --- voices / notices --- */
.voices, .notices-sec { padding: var(--sec) 0; }
.voices { border-bottom: 1px solid var(--night-line); }
.notices { list-style: none; }
.notice { border-top: 1px solid var(--night-line); padding: 20px 0; display: grid; gap: 4px; }
.notice__t { font-size: 1.35rem; font-weight: 700; margin: 0; }
.notice p { color: var(--bone-2); margin: 0; }

/* --- enquiry form --- */
.enquire { padding: var(--sec) 0; }
.enquire--paper { background: var(--paper); color: var(--ink); }
.enquire--paper a { color: var(--ink); }
.enquire--paper .fine { color: var(--ink-2); }
.enquire--dark { background: #1b1920; color: #F3EFE6; }
.form { display: grid; gap: 18px; }
.field-row { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 576px) { .field-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.field { display: grid; gap: 6px; align-content: start; }
.field label { font-weight: 600; }
.opt { font-weight: 400; opacity: .8; }
.field input, .field select, .field textarea { width: 100%; font: 400 1.0625rem/1.4 var(--body); padding: 13px 14px; border-radius: 8px; border: 1.5px solid; min-height: 50px; }
.enquire--paper input, .enquire--paper select, .enquire--paper textarea { background: #fff; color: var(--ink); border-color: #8C8377; caret-color: var(--terra-ink); }
.enquire--dark input, .enquire--dark select, .enquire--dark textarea { background: var(--night); color: var(--bone); border-color: #6B6470; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--gold); outline-offset: 1px; }
.enquire--paper .field input:focus, .enquire--paper .field select:focus, .enquire--paper .field textarea:focus { outline-color: var(--ink); }
.field [aria-invalid="true"] { border-color: var(--err-light); border-width: 2px; }
.enquire--dark .field [aria-invalid="true"] { border-color: var(--err-dark); }
.hint { font-size: .875rem; margin: 0; opacity: .85; }
.err { font-size: .9rem; margin: 0; color: var(--err-light); font-weight: 600; }
.enquire--dark .err { color: var(--err-dark); }
.err:empty { display: none; }
.hp { position: absolute; left: -9999px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-status { margin: 0; font-weight: 600; }
.form-status[data-state="ok"] { color: #2F7A3E; }
.enquire--dark .form-status[data-state="ok"] { color: #8FD69B; }
.form-status[data-state="error"] { color: var(--err-light); }
.enquire--dark .form-status[data-state="error"] { color: var(--err-dark); }

/* --- footer --- */
.site-footer { padding: var(--sec) 0 32px; border-top: 1px solid var(--night-line); font-size: .98rem; }
.footer-brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: clamp(1.4rem, 1rem + 1.4vw, 2rem); line-height: 1.05; max-width: 16ch; }
.footer-brand__crest { width: 64px; height: 64px; flex: none; }
.footer-hi { color: var(--bone-2); margin-top: 10px; }
.footer-note { color: var(--bone-2); font-size: .875rem; }
.footer-h { font-family: var(--body); font-size: 1rem; font-weight: 600; color: var(--bone-2); margin-bottom: 10px; }
.footer-phone { font-family: var(--display); font-weight: 800; font-size: 1.6rem; text-decoration: none; }
.footer-nav { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; margin-top: 12px; }
.footer-nav a { display: inline-block; padding: 6px 0; }
.footer-base { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--night-line); color: var(--bone-2); font-size: .875rem; }

/* --- parent help --- */
.help { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.help-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 50px; padding: 12px 18px; border-radius: 999px; border: 1.5px solid var(--gold); background: var(--night); color: var(--bone); font: 600 1rem/1 var(--body); cursor: pointer; box-shadow: 0 10px 30px rgba(0, 0, 0, .45); }
.help-toggle .icon { color: var(--gold); }
.help-toggle:hover, .help-toggle[aria-expanded="true"] { background: var(--gold); color: var(--night); }
.help-toggle:hover .icon, .help-toggle[aria-expanded="true"] .icon { color: var(--night); }
.help-panel { width: min(92vw, 380px); max-height: min(72vh, 620px); overflow-y: auto; overscroll-behavior: contain; background: var(--night-2); border: 1px solid var(--night-line); border-radius: 14px; padding: 18px 20px 20px; box-shadow: 0 24px 60px rgba(0, 0, 0, .55); }
.help-panel[hidden] { display: none; }
.help-panel__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.help-panel__title { font-size: 1.5rem; margin: 0; font-weight: 800; }
.help-panel__title:focus { outline: none; }
.help-close { width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: var(--bone); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.help-close:hover { background: var(--night-line); }
.help-qa { border-top: 1px solid var(--night-line); }
.help-qa summary { cursor: pointer; padding: 12px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.help-qa summary::-webkit-details-marker { display: none; }
.help-qa summary .icon { color: var(--gold); transition: transform .25s var(--ease); }
.help-qa[open] summary .icon { transform: rotate(45deg); }
.help-qa p { font-size: .95rem; color: var(--bone-2); margin: 0 0 12px; }
.help-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.help-actions .btn { flex: 1 1 auto; }
@media (prefers-reduced-motion: no-preference) {
  .help-panel:not([hidden]) { animation: rise .35s var(--ease); }
  @keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
}

/* --- inner pages --- */
.page-hero { padding: clamp(128px, 16vw, 200px) 0 clamp(56px, 7vw, 96px); }
.page-hero__title { font-size: clamp(2.1rem, 9.6vw, 9rem); font-weight: 800; letter-spacing: -.04em; line-height: .9; }
.page-hero__intro { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); max-width: 52ch; color: var(--bone); }
.big-phone { display: inline-block; font-family: var(--display); font-weight: 800; font-size: clamp(2.6rem, 1rem + 7vw, 6.5rem); line-height: 1; letter-spacing: -.03em; color: var(--gold); text-decoration: none; margin: 8px 0 20px; }
.big-phone:hover { text-decoration: underline; text-decoration-thickness: 3px; }
.framed { margin: 0; }
.framed img, .framed-img { border-radius: 3px; width: 100%; object-fit: cover; }
.framed figcaption { font-size: .8125rem; color: var(--ink-2); margin-top: 8px; }
.values { padding: var(--sec) 0; }
.values-list { list-style: none; counter-reset: v; margin-top: 32px; }
.values-list li { counter-increment: v; font-family: var(--display); font-weight: 700; font-size: clamp(1.6rem, 1rem + 2.6vw, 3.4rem); line-height: 1.08; letter-spacing: -.02em; padding: 22px 0; border-top: 1px solid var(--night-line); }
.portrait-ph { aspect-ratio: 4 / 5; border: 2px dashed var(--ink-2); border-radius: 4px; display: grid; place-items: center; color: var(--ink-2); font-weight: 600; max-width: 320px; }
.split-dark { padding: var(--sec) 0; }
.split-dark__img { width: 100%; border-radius: 3px; object-fit: cover; margin-top: 16px; }
.ask-list { list-style: none; margin: 0 0 20px; }
.ask-list li { padding: 12px 0; border-top: 1px solid var(--night-line); font-size: 1.1rem; }
.table-wrap { overflow-x: auto; margin-top: 24px; }
.stages { width: 100%; border-collapse: collapse; min-width: 560px; }
.stages th, .stages td { text-align: left; vertical-align: top; padding: 18px 16px 18px 0; border-top: 2px solid var(--ink); }
.stages thead th { font-family: var(--body); font-weight: 600; font-size: .95rem; color: var(--ink-2); border-top: 0; padding-bottom: 10px; }
.stage-name { display: block; font-family: var(--display); font-weight: 800; font-size: 1.5rem; line-height: 1.1; }
.stage-age { display: block; font-weight: 400; color: var(--ink-2); font-size: .95rem; margin-top: 4px; }
.age-table { width: 100%; border-collapse: collapse; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.age-table th, .age-table td { text-align: left; padding: 14px 0; border-top: 1px solid var(--night-line); }
.age-table thead th { color: var(--bone-2); font-weight: 600; font-size: .95rem; border-top: 0; }
.age-table tbody th { font-family: var(--display); font-weight: 700; font-size: 1.3rem; }
.docs { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 32px; }
@media (min-width: 576px) { .docs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.docs li { padding: 12px 0; border-top: 1px solid var(--night-line); }
.faq { border-top: 2px solid var(--ink); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-family: var(--display); font-weight: 700; font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--terra-ink); width: 1.4em; height: 1.4em; transition: transform .25s var(--ease); }
.faq[open] summary .icon { transform: rotate(45deg); }
.faq p { padding-bottom: 18px; margin: 0; }
.gallery-sec { padding: var(--sec) 0; }
.gallery { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 28px; }
@media (min-width: 992px) { .gallery { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 14px; } .gallery__item--2, .gallery__item--3 { margin-top: 0; } }
.gallery__btn { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: var(--night-2); cursor: zoom-in; border-radius: 3px; overflow: hidden; }
.gallery__btn img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s var(--ease); }
.gallery__btn:hover img { transform: scale(1.03); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; color: var(--bone); }
.lightbox::backdrop { background: rgba(10, 9, 12, .94); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox__fig { margin: 0; max-width: min(92vw, 1200px); }
.lightbox__img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: 3px; }
.lightbox__cap { text-align: center; color: var(--bone-2); margin-top: 10px; font-size: .95rem; }
.lightbox__btn { position: fixed; width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid rgba(243, 239, 230, .5); background: var(--night); color: var(--bone); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.lightbox__btn:hover { border-color: var(--gold); color: var(--gold); }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__close { right: 16px; top: 16px; }
.addr { font-size: 1.2rem; line-height: 1.5; margin-bottom: 12px; }
.hours { border-collapse: collapse; width: 100%; max-width: 420px; font-variant-numeric: tabular-nums; }
.hours th, .hours td { text-align: left; padding: 10px 0; border-top: 1px solid rgba(26, 23, 20, .2); }
.hours th { font-weight: 600; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--terra-ink); font-weight: 700; }
.hours tr.is-today th::after { content: " (today)"; font-weight: 400; }
.map { border-radius: 6px; overflow: hidden; min-height: 380px; background: var(--paper-2); display: grid; }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; }
.map__card { align-self: center; padding: clamp(24px, 4vw, 40px); }
.map__name { font-family: var(--display); font-weight: 800; font-size: 1.5rem; margin-bottom: 6px; }
.actions--tight { margin: 16px 0; }
.prose .container { max-width: 760px; }
.lost { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 16px; font-size: 1.15rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .help, .menu, .strip { display: none !important; }
  body { background: #fff; color: #000; }
}
@media (max-width: 575.98px) {
  .stages { min-width: 0; }
  .stages thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .stages tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; border-top: 2px solid var(--ink); padding: 16px 0; }
  .stages th, .stages td { border: 0; padding: 0; }
  .stages td:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  .stages td:last-child { grid-column: 2; grid-row: 1; }
}
@media (max-width: 1199.98px) { .status { display: none !important; } .header-call__num { white-space: nowrap; } }
