/* ===========================================================================
   Mang'u High School — Elimu TSO build
   Design system. Palette worked from the crest (royal blue + white dove) and
   the blazer/uniform (maroon + gold). One stylesheet, reused on every page.
   =========================================================================== */

:root {
  /* Brand */
  --navy:        #15356b;   /* crest ground */
  --navy-deep:   #0f2650;
  --navy-700:    #1c4488;
  --maroon:      #7a1d2b;   /* blazer */
  --maroon-deep: #5e141f;
  --gold:        #c8a23f;   /* blazer trim */
  --gold-soft:   #e7d8a8;

  /* Neutrals */
  --ink:     #1b1f27;
  --slate:   #4a5160;
  --muted:   #6b7280;
  --line:    #e4e2db;
  --paper:   #f7f4ee;       /* warm page background */
  --card:    #ffffff;
  --cream:   #fbf9f4;

  /* Tints */
  --navy-tint:   #eef2f8;
  --maroon-tint: #f6ecec;
  --gold-tint:   #faf4e4;

  /* Type */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Shape & depth */
  --r-sm: 8px;  --r: 14px;  --r-lg: 20px;  --r-pill: 999px;
  --sh-1: 0 1px 3px rgba(21,33,53,.07), 0 1px 2px rgba(21,33,53,.04);
  --sh-2: 0 6px 20px rgba(21,33,53,.10);
  --sh-3: 0 18px 44px rgba(15,38,80,.16);

  /* Rhythm */
  --wrap: 1140px;
  --gut: clamp(16px, 4vw, 28px);
  --sp: clamp(56px, 8vw, 104px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.62;
  font-size: 17px;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--maroon); text-decoration: none; }
a:hover { text-decoration: underline; }
h1,h2,h3,h4 { font-family: var(--serif); font-weight: 600; line-height: 1.12; color: var(--navy-deep); letter-spacing: -.01em; }
h2 { font-size: clamp(27px, 4.2vw, 40px); }
h3 { font-size: clamp(20px, 2.6vw, 26px); }
p { color: var(--slate); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gut); }
section { padding-block: var(--sp); }
.eyebrow {
  font-family: var(--sans); font-size: 12.5px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--maroon);
  display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--gold); display: inline-block; }
.lede { font-size: clamp(17px, 2.1vw, 20px); color: var(--slate); max-width: 62ch; }
.center { text-align: center; } .center .eyebrow { justify-content: center; }
.center .lede { margin-inline: auto; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 9px; justify-content: center;
  font-family: var(--sans); font-weight: 600; font-size: 15.5px;
  padding: 13px 22px; border-radius: var(--r-pill); border: 1.5px solid transparent;
  cursor: pointer; transition: .18s ease; text-decoration: none; line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--maroon); color: #fff; }
.btn-primary:hover { background: var(--maroon-deep); color: #fff; box-shadow: var(--sh-2); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); color: #fff; box-shadow: var(--sh-2); }
.btn-ghost { background: transparent; color: var(--navy-deep); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); background: #fff; color: var(--navy-deep); }
.btn-on-dark { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.4); }
.btn-on-dark:hover { background: #fff; color: var(--navy-deep); }
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-soft); color: var(--navy-deep); box-shadow: var(--sh-2); }

/* ===========================================================================
   Header / nav
   =========================================================================== */
.topbar { background: var(--navy-deep); color: #fff; font-size: 13.5px; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 12px; padding-block: 8px; flex-wrap: wrap; }
.topbar a { color: #fff; opacity: .9; }
.topbar a:hover { opacity: 1; text-decoration: none; }
.topbar .tb-right { display: flex; gap: 18px; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96);
  backdrop-filter: saturate(140%) blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 46px; height: 52px; object-fit: cover; border-radius: 7px; box-shadow: var(--sh-1); }
.brand b { font-family: var(--serif); font-weight: 600; font-size: 18px; color: var(--navy-deep); line-height: 1.05; display: block; }
.brand span { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--maroon); font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links > li { position: relative; }
.nav-links a { color: var(--ink); font-weight: 600; font-size: 15px; padding: 10px 12px; border-radius: var(--r-sm); display: inline-block; }
.nav-links a:hover { background: var(--navy-tint); color: var(--navy-deep); text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--maroon); }
.nav-cta { margin-left: 6px; }

/* dropdown */
.has-sub > button { font: inherit; font-weight: 600; font-size: 15px; color: var(--ink); background: none; border: 0; cursor: pointer; padding: 10px 12px; border-radius: var(--r-sm); display: inline-flex; align-items: center; gap: 5px; }
.has-sub > button:hover { background: var(--navy-tint); color: var(--navy-deep); }
.has-sub > button svg { width: 12px; height: 12px; }
.submenu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 210px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-2); padding: 8px;
  list-style: none; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .16s; }
.has-sub:hover .submenu, .has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a { display: block; padding: 9px 12px; font-size: 14.5px; border-radius: var(--r-sm); }

.hamburger { display: none; background: none; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  width: 44px; height: 44px; cursor: pointer; align-items: center; justify-content: center; }
.hamburger svg { width: 22px; height: 22px; stroke: var(--navy-deep); }

@media (max-width: 960px) {
  .hamburger { display: inline-flex; }
  .nav-links { position: fixed; inset: 0 0 0 auto; width: min(86vw, 340px); background: #fff;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 84px 18px 30px;
    box-shadow: var(--sh-3); transform: translateX(100%); transition: transform .24s ease;
    overflow-y: auto; z-index: 60; }
  .nav-links.open { transform: none; }
  .nav-links a, .has-sub > button { width: 100%; font-size: 16.5px; padding: 13px 12px; }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: 0; border-left: 2px solid var(--line); border-radius: 0; margin: 2px 0 6px 12px; padding: 0 0 0 6px; }
  .nav-cta { margin: 10px 0 0; }
  .nav-overlay { position: fixed; inset: 0; background: rgba(15,38,80,.45); z-index: 55; opacity: 0;
    visibility: hidden; transition: .2s; }
  .nav-overlay.open { opacity: 1; visibility: visible; }
}

/* ===========================================================================
   Hero (two-column: brand panel + fully-visible photo)
   =========================================================================== */
.hero { background: var(--navy-deep); color: #fff; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: stretch; }
.hero-copy { padding: clamp(40px, 6vw, 84px) clamp(22px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center;
  background: radial-gradient(900px 500px at 0% 0%, #1b3f7d 0%, transparent 60%), var(--navy-deep); }
.hero-copy .eyebrow { color: var(--gold); }
.hero-copy .eyebrow::before { background: var(--gold); }
.hero h1 { color: #fff; font-size: clamp(34px, 5.4vw, 58px); margin: 16px 0 10px; }
.hero .motto { font-family: var(--serif); font-style: italic; font-size: clamp(18px, 2.4vw, 23px); color: var(--gold-soft); margin-bottom: 18px; }
.hero p { color: rgba(255,255,255,.86); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-photo { position: relative; min-height: 340px; background: var(--navy); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--navy-deep) 0%, transparent 22%); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { min-height: 240px; order: -1; }
  .hero-photo::after { background: linear-gradient(0deg, var(--navy-deep) 0%, transparent 40%); }
}

/* ===========================================================================
   Dual-engine cards (Resources + Logistics, co-primary)
   =========================================================================== */
.engines { margin-top: -46px; position: relative; z-index: 5; }
.engines .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.engine { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--sh-2); }
.engine .tag { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.engine.resources { border-top: 4px solid var(--navy); }
.engine.resources .tag { color: var(--navy); }
.engine.logistics { border-top: 4px solid var(--maroon); }
.engine.logistics .tag { color: var(--maroon); }
.engine h3 { margin: 10px 0 8px; }
.engine p { font-size: 15.5px; }
.engine ul { list-style: none; margin: 14px 0 18px; display: grid; gap: 8px; }
.engine ul a { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 15px; color: var(--ink); }
.engine ul a:hover { color: var(--maroon); text-decoration: none; }
.engine ul a::before { content: "→"; color: var(--gold); font-weight: 700; }
@media (max-width: 760px) { .engines .wrap { grid-template-columns: 1fr; } .engines { margin-top: -30px; } }

/* ---- Quiet "popular with parents" quick-links strip ---- */
.quicklinks { background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.quicklinks .wrap { padding-block: 18px; display: flex; align-items: center; gap: 16px 22px; flex-wrap: wrap; }
.quicklinks .ql-label { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.quicklinks .ql-items { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.ql {
  display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600;
  color: var(--slate); background: #fff; border: 1px solid var(--line);
  padding: 7px 14px; border-radius: var(--r-pill); transition: .15s;
}
.ql:hover { border-color: var(--navy); color: var(--navy-deep); text-decoration: none; box-shadow: var(--sh-1); }
.ql .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.ql.is-season { border-color: var(--gold); background: var(--gold-tint); }
.ql.is-season .dot { background: var(--maroon); }

/* ===========================================================================
   Generic blocks
   =========================================================================== */
.section-tint { background: var(--cream); }
.section-navy { background: var(--navy-deep); color: #fff; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy p { color: rgba(255,255,255,.84); }
.section-navy .eyebrow { color: var(--gold); } .section-navy .eyebrow::before { background: var(--gold); }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px){ .grid-3,.grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px){ .grid-2,.grid-3,.grid-4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.split.media-right > .media { order: 2; }
@media (max-width: 820px){ .split { grid-template-columns: 1fr; } .split.media-right > .media { order: 0; } }
.media img { border-radius: var(--r-lg); box-shadow: var(--sh-2); width: 100%; }
figure.media { margin: 0; }
figure.media figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: var(--sh-1); height: 100%; }
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card p { font-size: 15.5px; }
.card .ic { width: 42px; height: 42px; border-radius: 11px; background: var(--navy-tint); display: grid; place-items: center; margin-bottom: 14px; color: var(--navy); }
.card .ic svg { width: 22px; height: 22px; }
.card.accent { border-top: 3px solid var(--gold); }

.stat-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
@media (max-width: 720px){ .stat-row { grid-template-columns: repeat(2,1fr); } }
.stat { text-align: center; padding: 10px; }
.stat b { font-family: var(--serif); font-size: clamp(30px, 4vw, 44px); color: var(--gold); display: block; line-height: 1; }
.stat span { font-size: 14px; color: rgba(255,255,255,.82); display: block; margin-top: 8px; }
.section-tint .stat b, body > section:not(.section-navy) .stat b { color: var(--maroon); }
.section-tint .stat span { color: var(--slate); }

/* chips / tags */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 13.5px; font-weight: 600; color: var(--navy-deep); background: var(--navy-tint);
  border-radius: var(--r-pill); padding: 6px 13px; }

/* notices (placeholder discipline) */
.notice { border: 1px dashed var(--gold); background: var(--gold-tint); border-radius: var(--r);
  padding: 14px 16px; font-size: 14.5px; color: #7a5c13; display: flex; gap: 10px; align-items: flex-start; }
.notice b { color: #6b4e0a; }
.notice svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }

/* breadcrumb / page head */
.pagehead { background: var(--navy-deep); color: #fff; padding-block: clamp(40px, 6vw, 72px); position: relative; }
.pagehead::after { content:""; position:absolute; inset:0; background: radial-gradient(700px 400px at 100% 0,#1b3f7d 0,transparent 60%); opacity:.7; }
.pagehead .wrap { position: relative; }
.pagehead .eyebrow { color: var(--gold); } .pagehead .eyebrow::before { background: var(--gold); }
.pagehead h1 { color: #fff; font-size: clamp(32px, 5vw, 50px); margin: 14px 0 10px; }
.pagehead p { color: rgba(255,255,255,.85); max-width: 60ch; }
.crumbs { font-size: 13.5px; color: rgba(255,255,255,.7); margin-bottom: 4px; }
.crumbs a { color: var(--gold-soft); }

/* ===========================================================================
   Academic Resources hub
   =========================================================================== */
.aud-tabs { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: var(--r-pill); padding: 5px; gap: 4px; box-shadow: var(--sh-1); }
.aud-tabs button { font: inherit; font-weight: 600; font-size: 15px; border: 0; background: none; cursor: pointer;
  padding: 10px 20px; border-radius: var(--r-pill); color: var(--slate); }
.aud-tabs button[aria-selected="true"] { background: var(--navy); color: #fff; }
.aud-panel[hidden] { display: none; }

.curric { border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; margin-top: 26px; background: #fff; box-shadow: var(--sh-1); }
.curric > header { padding: 18px 22px; display: flex; align-items: center; gap: 14px; }
.curric.cbc > header { background: var(--navy-tint); border-bottom: 2px solid var(--navy); }
.curric.eightfourfour > header { background: var(--maroon-tint); border-bottom: 2px solid var(--maroon); }
.curric > header .badge { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff; padding: 5px 11px; border-radius: var(--r-pill); }
.curric.cbc .badge { background: var(--navy); }
.curric.eightfourfour .badge { background: var(--maroon); }
.curric > header h3 { margin: 0; font-size: 19px; }
.curric > header p { margin: 0; font-size: 13.5px; }
.curric .body { padding: 10px 22px 24px; }

.gradeblock { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 18px; }
.gradeblock:first-child { border-top: 0; }
.gradeblock > h4 { font-size: 18px; color: var(--navy-deep); display: flex; align-items: center; gap: 10px; }
.gradeblock > h4 .roll { font-family: var(--sans); font-size: 13px; font-weight: 600; }
.gradeblock > h4 .roll a { color: var(--maroon); }
.pathway { margin-top: 14px; }
.pathway > span.p-name { font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.subjects { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.subj { font-size: 13.5px; font-weight: 600; color: var(--navy-deep); background: var(--cream);
  border: 1px solid var(--line); border-radius: var(--r-pill); padding: 6px 13px; transition: .15s; }
.subj:hover { background: var(--navy); color: #fff; border-color: var(--navy); text-decoration: none; }
.subj.core { background: var(--gold-tint); border-color: var(--gold-soft); }
.subj.core:hover { background: var(--gold); color: var(--navy-deep); }

.rolling { font-size: 14px; color: var(--muted); background: var(--navy-tint); border-radius: var(--r);
  padding: 12px 15px; margin-top: 12px; display: flex; gap: 9px; align-items: center; }
.rolling a { font-weight: 600; }

.teacher-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px,1fr)); gap: 14px; margin-top: 22px; }
.tcat { border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; background: #fff; }
.tcat h4 { font-size: 16px; margin-bottom: 4px; color: var(--navy-deep); }
.tcat p { font-size: 13px; margin-bottom: 10px; }
.tcat .links { display: flex; flex-wrap: wrap; gap: 6px; }
.tcat .links a { font-size: 13px; font-weight: 600; color: var(--maroon); background: var(--maroon-tint);
  padding: 5px 11px; border-radius: var(--r-pill); }
.tcat .links a:hover { background: var(--maroon); color: #fff; text-decoration: none; }

.powered { font-size: 13px; color: var(--muted); text-align: center; margin-top: 26px; }
.powered b { color: var(--navy); }

/* ===========================================================================
   Gallery / photo bands
   =========================================================================== */
.photoband { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.photoband img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
@media (max-width: 760px){ .photoband { grid-template-columns: repeat(2,1fr); } }
.gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.gallery-grid img { border-radius: var(--r); box-shadow: var(--sh-1); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
@media (max-width: 760px){ .gallery-grid { grid-template-columns: repeat(2,1fr); } }

/* ===========================================================================
   Leadership / bio modal
   =========================================================================== */
.people { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
@media (max-width:900px){ .people{grid-template-columns:repeat(2,1fr);} }
@media (max-width:520px){ .people{grid-template-columns:1fr 1fr;} }
.person { text-align: center; cursor: pointer; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px 14px; }
.person:hover { box-shadow: var(--sh-2); }
.avatar { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 12px; background: var(--navy); color: #fff;
  display: grid; place-items: center; font-family: var(--serif); font-size: 26px; }
.person b { display: block; color: var(--navy-deep); font-size: 15.5px; }
.person span { font-size: 13px; color: var(--muted); }
dialog.bio { border: 0; border-radius: var(--r-lg); padding: 0; max-width: 460px; width: 92vw; box-shadow: var(--sh-3); }
dialog.bio::backdrop { background: rgba(15,38,80,.5); }
dialog.bio .inner { padding: 28px; }
dialog.bio h3 { margin-bottom: 4px; }
dialog.bio .role { color: var(--maroon); font-weight: 600; font-size: 14px; margin-bottom: 14px; }
dialog.bio .x { position: absolute; top: 14px; right: 14px; background: var(--navy-tint); border: 0; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-size: 18px; color: var(--navy-deep); }

/* ===========================================================================
   Forms
   =========================================================================== */
.form { display: grid; gap: 14px; max-width: 560px; }
.form label { font-size: 14px; font-weight: 600; color: var(--navy-deep); display: block; margin-bottom: 5px; }
.form input, .form textarea, .form select { width: 100%; font: inherit; font-size: 15.5px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; color: var(--ink); }
.form input:focus, .form textarea:focus, .form select:focus { outline: 2px solid var(--navy); border-color: var(--navy); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width:560px){ .form .row { grid-template-columns: 1fr; } }
.form .privacy { font-size: 12.5px; color: var(--muted); }

/* ===========================================================================
   Doc / download lists
   =========================================================================== */
.doclist { display: grid; gap: 10px; }
.doc { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); padding: 14px 18px; }
.doc .di { width: 40px; height: 40px; border-radius: 9px; background: var(--maroon-tint); color: var(--maroon);
  display: grid; place-items: center; flex: none; }
.doc .di svg { width: 20px; height: 20px; }
.doc .dt b { display: block; color: var(--navy-deep); font-size: 15.5px; }
.doc .dt span { font-size: 13px; color: var(--muted); }
.doc .pill { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--muted); background: var(--cream);
  border: 1px solid var(--line); padding: 5px 11px; border-radius: var(--r-pill); }

/* timeline */
.timeline { position: relative; margin-top: 26px; padding-left: 26px; }
.timeline::before { content:""; position:absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl { position: relative; padding-bottom: 24px; }
.tl::before { content:""; position:absolute; left:-24px; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); border: 3px solid var(--paper); }
.tl b { color: var(--navy-deep); font-family: var(--serif); font-size: 18px; }
.tl p { font-size: 15px; margin-top: 3px; }

/* ===========================================================================
   Footer
   =========================================================================== */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.8); padding-block: 54px 26px; margin-top: var(--sp); }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 30px; }
@media (max-width: 820px){ .site-footer .cols { grid-template-columns: 1fr 1fr; gap: 26px; } }
@media (max-width: 480px){ .site-footer .cols { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer a { color: rgba(255,255,255,.8); font-size: 14.5px; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; display: grid; gap: 9px; }
.foot-brand { display: flex; gap: 12px; align-items: flex-start; }
.foot-brand img { width: 48px; height: 55px; object-fit: cover; border-radius: 7px; }
.foot-brand b { font-family: var(--serif); color: #fff; font-size: 18px; display: block; }
.foot-brand .motto { font-style: italic; font-family: var(--serif); color: var(--gold-soft); font-size: 14px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 34px; padding-top: 18px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,.6); }
.foot-bottom a { color: var(--gold-soft); }

/* ===========================================================================
   Sports & activities
   =========================================================================== */
.achv { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.achv .a { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700;
  color: var(--navy-deep); background: var(--gold-tint); border: 1px solid var(--gold-soft);
  padding: 8px 14px; border-radius: var(--r-pill); }
.achv .a svg { width: 16px; height: 16px; color: var(--maroon); }
.story { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-1); }
.story img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.story .body { padding: 22px 24px 26px; }
.story .body .chip { margin-bottom: 10px; }
.sport-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
@media (max-width:860px){ .sport-row { grid-template-columns: repeat(2,1fr); } }
@media (max-width:560px){ .sport-row { grid-template-columns: 1fr; } }
.sport { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); padding: 16px 18px; }
.sport .si { width: 40px; height: 40px; border-radius: 10px; background: var(--navy-tint); color: var(--navy);
  display: grid; place-items: center; flex: none; }
.sport .si svg { width: 22px; height: 22px; }
.sport b { color: var(--navy-deep); display: block; font-size: 15.5px; }
.sport span { font-size: 13.5px; color: var(--muted); }

/* utilities */
.mt-0{margin-top:0}.mb-0{margin-bottom:0}
.flow > * + * { margin-top: 18px; }
.visually-hidden { position:absolute; width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 3px; }
