/* Uraidla Districts Football Club — demo build
   Brand: navy #000064 + red #CC222F + white (sampled from the club logo)
   Type: Rokkitt (display slab) / Asap (body). 8px grid. Square corners, flat colour blocks. */

:root {
  --navy: #000064;
  --navy-deep: #00003c;
  --navy-soft: #1c1c7a;
  --red: #cc222f;
  --red-dark: #a81824;
  --paper: #f3f4f9;
  --paper-2: #e3e6f1;
  --white: #ffffff;
  --ink: #10113a;
  --ink-soft: #45476b;
  --on-navy-soft: #c9cbee;
  --gilt: #dcb968;
  --rule: #d3d7e6;
  --display: "Rokkitt", "Rockwell", Georgia, serif;
  --body: "Asap", "Segoe UI", Arial, sans-serif;
  --wrap: 1200px;
  --gutter: 32px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; -webkit-text-size-adjust: 100%; scrollbar-color: var(--navy) var(--paper-2); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  caret-color: var(--red);
}
::selection { background: var(--red); color: var(--white); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--navy); text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--red); }
a:hover { color: var(--red-dark); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.on-navy :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--gilt); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; line-height: 1; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
p { margin: 0 0 24px; max-width: 68ch; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 16px; top: -80px; background: var(--white); color: var(--navy); padding: 16px 24px; z-index: 200; font-weight: 700; }
.skip:focus { top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 32px;
  font-family: var(--body); font-weight: 700; font-size: 17px; line-height: 1.2;
  text-decoration: none; border: 2px solid transparent; border-radius: 2px;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
  cursor: pointer;
}
.btn:active { transform: translateY(1px); }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-deep); color: var(--white); }
.btn-ghost { border-color: var(--white); color: var(--white); background: transparent; }
.btn-ghost:hover { background: var(--white); color: var(--navy); }
.btn-line { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-line:hover { background: var(--navy); color: var(--white); }
.btn-white { background: var(--white); color: var(--red-dark); }
.btn-white:hover { background: var(--navy); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- Header ---------- */
.site-header { background: var(--navy); color: var(--white); position: sticky; top: 0; z-index: 100; border-bottom: 4px solid var(--red); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 80px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 16px; color: var(--white); text-decoration: none; }
.brand:hover { color: var(--white); }
.brand img { width: 104px; height: 104px; margin: 0 0 -40px; position: relative; z-index: 2; border-radius: 50%; box-shadow: 0 0 0 4px var(--red); background: var(--navy); }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 22px; line-height: 1; letter-spacing: 0; }
.brand-name span { display: block; font-family: var(--body); font-weight: 500; font-size: 14px; color: var(--on-navy-soft); margin-top: 6px; letter-spacing: 0.02em; }
.nav { display: flex; align-items: center; gap: 8px; }
.nav a { color: var(--white); text-decoration: none; font-weight: 600; font-size: 16px; padding: 12px 12px; min-height: 48px; display: inline-flex; align-items: center; border-bottom: 3px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--red); color: var(--white); }
.nav .btn { min-height: 48px; padding: 0 24px; margin-left: 8px; border-bottom-width: 2px; }
.nav .btn:hover { border-bottom-color: transparent; }
.menu-toggle { display: none; background: transparent; border: 2px solid var(--white); color: var(--white); min-width: 56px; min-height: 48px; padding: 0 16px; font: 700 16px var(--body); border-radius: 2px; cursor: pointer; }
.drawer { display: none; }

/* ---------- Hero (home) ---------- */
.hero { background: var(--navy); color: var(--white); position: relative; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 64px; align-items: end; padding-top: 96px; }
.hero-copy { padding-bottom: 96px; }
.hero h1 { font-size: clamp(4rem, 8.4vw, 6rem); font-weight: 900; line-height: 0.92; letter-spacing: -0.02em; }
.hero h1 em { font-style: normal; color: var(--white); display: block; }
.hero-club { font-family: var(--display); font-weight: 600; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.1; margin: 24px 0 0; color: var(--white); }
.hero-lede { font-size: 20px; line-height: 1.55; color: var(--on-navy-soft); margin: 24px 0 40px; max-width: 46ch; }
.hero-photo { position: relative; margin-bottom: -96px; z-index: 1; }
.hero-photo::before { content: ""; position: absolute; right: -32px; top: -32px; width: 56%; height: 48%; background: var(--red); z-index: -1; }
.hero-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 30%; animation: reveal 1.1s var(--ease) both; }
.hero-photo figcaption { background: var(--white); color: var(--ink); font-size: 15px; font-weight: 600; padding: 12px 16px; position: absolute; left: 0; bottom: 0; max-width: 80%; }
@keyframes reveal { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }

/* ---------- Page mast (inner pages) ---------- */
.mast { background: var(--navy); color: var(--white); padding: 104px 0 64px; position: relative; overflow: hidden; }
.mast::after { content: ""; position: absolute; right: 0; bottom: 0; width: 28%; height: 24px; background: var(--red); }
.mast h1 { font-size: clamp(3rem, 6.4vw, 5rem); font-weight: 900; letter-spacing: -0.02em; }
.mast p { color: var(--on-navy-soft); font-size: 20px; margin-top: 24px; max-width: 60ch; }
.subnav { background: var(--white); border-bottom: 1px solid var(--rule); }
.subnav ul { display: flex; flex-wrap: wrap; gap: 0 8px; }
.subnav a { display: inline-flex; align-items: center; min-height: 56px; padding: 0 16px 0 0; margin-right: 8px; font-weight: 600; font-size: 16px; text-decoration: none; color: var(--navy); }
.subnav a:hover { color: var(--red-dark); text-decoration: underline; }

/* ---------- Sections ---------- */
.section { padding: 112px 0; }
.section.tight { padding: 80px 0; }
.section.after-hero { padding-top: 176px; }
.section-white { background: var(--white); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy p { color: var(--on-navy-soft); }
.section-navy a:not(.btn) { color: var(--white); }
.section-red { background: var(--red); color: var(--white); }
.h2 { font-size: clamp(2.25rem, 4.4vw, 3.5rem); margin-bottom: 32px; }
.h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 16px; line-height: 1.1; }
.lede { font-size: 21px; line-height: 1.55; }
.head-row { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 48px; flex-wrap: wrap; }
.head-row .h2 { margin-bottom: 0; }
.more { font-weight: 700; white-space: nowrap; display: inline-flex; align-items: center; min-height: 48px; }

.split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 80px; align-items: start; }
.split.flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.split.even { grid-template-columns: 1fr 1fr; }
.split.center { align-items: center; }

/* offset photo device: a flat colour block sits behind one corner of the frame */
.offset { position: relative; margin: 0; }
.offset::before { content: ""; position: absolute; left: -24px; bottom: -24px; width: 48%; height: 56%; background: var(--red); z-index: 0; }
.offset.navy::before { background: var(--navy); }
.offset.tr::before { left: auto; right: -24px; bottom: auto; top: -24px; }
.offset img { position: relative; z-index: 1; width: 100%; object-fit: cover; }
.cap { font-size: 15px; color: var(--ink-soft); padding-top: 12px; }
/* photo captions are solid labels so they stay readable when they meet the offset block */
.offset figcaption { position: relative; z-index: 2; display: table; margin: 16px 0 0 auto; background: var(--navy); color: var(--white); font-size: 15px; font-weight: 600; line-height: 1.4; padding: 8px 16px; }
.offset.navy figcaption { background: var(--red); }
.offset.tr figcaption { margin-left: 0; }
.pull-up { margin-top: -160px; }

/* president quote */
.quote { position: relative; padding-top: 72px; }
.quote::before { content: "\201C"; position: absolute; left: -4px; top: -24px; font-family: var(--display); font-weight: 900; font-size: 160px; line-height: 1; color: var(--red); }
.quote blockquote { margin: 0; font-family: var(--display); font-weight: 500; font-size: clamp(1.5rem, 2.6vw, 2.125rem); line-height: 1.3; color: var(--navy); max-width: 26ch; }
.quote cite { display: block; margin-top: 24px; font-style: normal; font-weight: 600; font-size: 16px; color: var(--ink-soft); }

/* ---------- Honour board (signature device) ---------- */
.board { background: var(--navy-deep); color: var(--gilt); padding: 16px; position: relative; }
.board-inner { border: 1px solid var(--gilt); outline: 1px solid rgba(220, 185, 104, 0.4); outline-offset: 5px; padding: 56px 48px; }
.board-title { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; font-size: clamp(1.25rem, 2.2vw, 1.75rem); text-align: center; color: var(--gilt); line-height: 1.2; }
.board-sub { text-align: center; color: var(--on-navy-soft); font-size: 16px; margin: 8px auto 40px; }
.board-years { columns: 7; column-gap: 24px; font-family: var(--display); font-weight: 600; font-size: clamp(1.375rem, 2.2vw, 1.875rem); line-height: 1.5; font-variant-numeric: tabular-nums lining-nums; text-align: center; letter-spacing: 0.04em; }
.board-years li { break-inside: avoid; }
.board-grades { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 40px; margin-top: 56px; padding-top: 48px; border-top: 1px solid rgba(220, 185, 104, 0.4); }
.board-grades h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; font-size: 17px; color: var(--gilt); margin-bottom: 12px; line-height: 1.3; }
.board-grades p { font-family: var(--display); font-weight: 500; font-size: 20px; line-height: 1.5; color: #efe2bf; font-variant-numeric: tabular-nums lining-nums; letter-spacing: 0.03em; max-width: none; }
.board-note { text-align: center; color: var(--on-navy-soft); font-size: 16px; margin: 40px auto 0; }

/* ---------- Teams list ---------- */
.grades { border-top: 2px solid var(--navy); }
.grade { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); gap: 32px; padding: 32px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.grade h3 { font-size: clamp(1.625rem, 2.6vw, 2.25rem); color: var(--navy); }
.grade p { margin: 0; font-size: 17px; color: var(--ink-soft); }
.grade .who { font-weight: 600; color: var(--ink); font-size: 17px; text-align: right; }
.section-navy .grades { border-top-color: var(--white); }
.section-navy .grade { border-bottom-color: rgba(255, 255, 255, 0.24); }
.section-navy .grade h3 { color: var(--white); }
.section-navy .grade p { color: var(--on-navy-soft); }
.section-navy .grade .who { color: var(--white); }

.coach-table { width: 100%; border-collapse: collapse; font-size: 18px; }
.coach-table caption { text-align: left; font-family: var(--display); font-weight: 800; font-size: 28px; color: var(--navy); padding-bottom: 16px; }
.coach-table th, .coach-table td { text-align: left; padding: 16px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.coach-table th { font-weight: 700; width: 46%; color: var(--navy); }
.coach-table td.tba { color: var(--ink-soft); }
.coach-table tr:first-child th, .coach-table tr:first-child td { border-top: 2px solid var(--navy); }

/* ---------- News rail ---------- */
.rail { border-left: 2px solid var(--navy); margin-left: 8px; }
.rail-item { display: grid; grid-template-columns: 176px minmax(0, 1fr); gap: 32px; padding: 0 0 56px 40px; position: relative; }
.rail-item:last-child { padding-bottom: 0; }
.rail-item::before { content: ""; position: absolute; left: -9px; top: 6px; width: 16px; height: 16px; background: var(--red); }
.rail-date { font-family: var(--display); font-weight: 700; font-size: 20px; line-height: 1.2; color: var(--navy); font-variant-numeric: lining-nums; }
.rail-date span { display: block; font-family: var(--body); font-weight: 500; font-size: 15px; color: var(--ink-soft); margin-top: 4px; }
.rail-body h3, .rail-body h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 16px; line-height: 1.1; }
.rail-body h3 a, .rail-body h2 a { text-decoration: none; color: var(--navy); }
.rail-body h3 a:hover, .rail-body h2 a:hover { color: var(--red-dark); text-decoration: underline; }
.rail-body p { font-size: 17px; margin-bottom: 16px; }
.rail-body ul.dots { margin: 0 0 16px; }
.rail-body ul.dots li { position: relative; padding-left: 24px; font-size: 17px; margin-bottom: 8px; max-width: 64ch; }
.rail-body ul.dots li::before { content: ""; position: absolute; left: 0; top: 11px; width: 8px; height: 8px; background: var(--red); }
.rail-media { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 40px; align-items: start; }
.rail-media img { width: 100%; border: 1px solid var(--rule); }

/* ---------- Sponsors ---------- */
.major { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; background: var(--white); border: 1px solid var(--rule); padding: 56px; }
.major img { width: 100%; max-width: 360px; }
.tier { padding-top: 80px; }
.tier-head { display: flex; align-items: baseline; gap: 24px; border-bottom: 2px solid var(--navy); padding-bottom: 16px; margin-bottom: 32px; }
.tier-head h2 { font-size: clamp(2rem, 3.6vw, 2.75rem); color: var(--navy); }
.tier-head span { color: var(--ink-soft); font-size: 17px; font-weight: 500; }
.logo-wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; margin-bottom: 40px; padding: 0 1px 1px 0; }
.logo-wall li { display: flex; align-items: center; justify-content: center; height: 120px; padding: 24px; background: var(--white); border: 1px solid var(--rule); margin: 0 -1px -1px 0; }
.logo-wall a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.logo-wall img { max-width: 100%; max-height: 72px; width: auto; height: auto; object-fit: contain; }
.directory { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 48px; }
.directory li { padding: 20px 0; border-bottom: 1px solid var(--rule); }
.directory h3 { font-family: var(--body); font-weight: 700; font-size: 18px; line-height: 1.3; letter-spacing: 0; color: var(--navy); margin-bottom: 4px; }
.directory h3 a { color: inherit; }
.directory p { font-size: 15px; line-height: 1.5; color: var(--ink-soft); margin: 0; }
.directory.big { grid-template-columns: repeat(2, 1fr); }
.directory.big h3 { font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 1.15; margin-bottom: 8px; }
.directory.big p { font-size: 17px; }
.directory.big li { padding: 28px 0; }
.packages { display: grid; grid-template-columns: repeat(4, 1fr); border: 2px solid var(--navy); background: var(--white); }
.package { padding: 32px 24px; border-right: 1px solid var(--rule); }
.package:last-child { border-right: 0; }
.package h3 { font-size: 24px; color: var(--navy); margin-bottom: 8px; }
.package .price { font-family: var(--display); font-weight: 800; font-size: 40px; line-height: 1; color: var(--red-dark); font-variant-numeric: lining-nums; }
.package p { font-size: 15px; color: var(--ink-soft); margin-top: 8px; }

/* ---------- Generic lists ---------- */
.ticks li { position: relative; padding-left: 28px; margin-bottom: 12px; max-width: 68ch; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 11px; width: 10px; height: 10px; background: var(--red); }
.section-navy .ticks li { color: var(--white); }
.linklist li { border-bottom: 1px solid var(--rule); }
.linklist li:first-child { border-top: 2px solid var(--navy); }
.linklist a { display: flex; justify-content: space-between; gap: 24px; align-items: center; min-height: 64px; padding: 12px 0; text-decoration: none; font-weight: 600; }
.linklist a span { font-weight: 500; font-size: 15px; color: var(--ink-soft); text-align: right; }
.linklist a:hover { color: var(--red-dark); }
.linklist a:hover b { text-decoration: underline; text-decoration-color: var(--red); }
.linklist b { font-weight: 600; }

.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px; }
.roles div { display: flex; justify-content: space-between; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.roles dt { font-weight: 700; color: var(--navy); }
.roles dd { margin: 0; text-align: right; }
dl { margin: 0; }

.kit { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.kit > div { background: var(--paper); border: 2px solid var(--navy); padding: 32px; }
.kit h3 { font-size: 26px; color: var(--navy); margin-bottom: 8px; }
.kit .for { font-size: 15px; color: var(--ink-soft); margin-bottom: 24px; }

/* ---------- Timeline (history) ---------- */
.years { border-left: 2px solid var(--navy); margin-left: 8px; }
.years li { position: relative; padding: 0 0 40px 40px; display: grid; grid-template-columns: 136px minmax(0, 1fr); gap: 24px; }
.years li:last-child { padding-bottom: 0; }
.years li::before { content: ""; position: absolute; left: -9px; top: 8px; width: 16px; height: 16px; background: var(--red); }
.years b { font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1; color: var(--navy); font-variant-numeric: lining-nums; }
.years p { font-size: 17px; margin: 0; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figure > div { overflow: hidden; background: var(--paper-2); }
.gallery figcaption { font-size: 15px; color: var(--ink-soft); padding-top: 12px; }
.g-8 { grid-column: span 8; } .g-4 { grid-column: span 4; } .g-6 { grid-column: span 6; } .g-12 { grid-column: span 12; } .g-5 { grid-column: span 5; } .g-7 { grid-column: span 7; }
.h-a > div { height: 560px; } .h-b > div { height: 400px; } .h-c > div { height: 464px; } .r-pano > div { aspect-ratio: 2000 / 773; }
.posters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: start; }
.posters img { width: 100%; border: 1px solid var(--rule); }
.posters figure { margin: 0; }
.posters figcaption { font-size: 15px; color: var(--ink-soft); padding-top: 8px; }

/* ---------- Full-bleed photo band ---------- */
.band-photo { position: relative; background: var(--navy-deep); }
.band-photo img { width: 100%; max-height: 560px; object-fit: cover; }
.band-photo .cap-block { position: absolute; left: 0; bottom: 0; background: var(--red); color: var(--white); padding: 24px 32px; max-width: 520px; }
.band-photo .cap-block h2 { font-size: clamp(1.5rem, 2.6vw, 2.25rem); margin-bottom: 8px; }
.band-photo .cap-block p { font-size: 16px; margin: 0; color: var(--white); }

/* ---------- FAQ ---------- */
.faq { border-top: 2px solid var(--navy); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 24px; align-items: center; min-height: 72px; padding: 16px 0; font-family: var(--display); font-weight: 700; font-size: 24px; line-height: 1.3; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: 0 0 16px; width: 16px; height: 16px; border-right: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: rotate(45deg) translate(-4px, -4px); transition: transform 0.25s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-4px, -4px); }
.faq summary:hover { color: var(--red-dark); }
.faq .a { padding: 0 0 32px; }
.faq .a p { font-size: 18px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 2px solid var(--navy); background: var(--white); }
.contact-grid > div { padding: 40px 32px; border-right: 1px solid var(--rule); }
.contact-grid > div:last-child { border-right: 0; }
.contact-grid h2 { font-size: 26px; color: var(--navy); margin-bottom: 16px; }
.contact-grid p { font-size: 17px; margin-bottom: 8px; }
.contact-grid a { word-break: break-word; font-weight: 600; }

/* ---------- CTA band ---------- */
.cta { background: var(--red); color: var(--white); padding: 96px 0; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; left: 0; top: 0; width: 18%; height: 100%; background: var(--navy); }
.cta .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: center; position: relative; }
.cta h2 { font-size: clamp(2.5rem, 5vw, 4rem); padding-left: 22%; }
.cta p { color: var(--white); font-size: 19px; margin-bottom: 32px; }
.cta .btn-ghost:hover { color: var(--red-dark); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: var(--on-navy-soft); padding: 96px 0 40px; font-size: 16px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.6fr)); gap: 48px; }
.foot-brand img { width: 96px; height: 96px; margin-bottom: 24px; }
.foot-brand p { font-size: 16px; color: var(--on-navy-soft); max-width: 32ch; }
.site-footer h2 { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--white); margin-bottom: 16px; letter-spacing: 0.02em; }
.site-footer li a { color: var(--on-navy-soft); text-decoration: none; display: inline-flex; min-height: 40px; align-items: center; }
.site-footer li a:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--red); }
.site-footer address { font-style: normal; line-height: 1.7; }
.site-footer address a { color: var(--white); }
.foot-base { margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.16); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 15px; }
.foot-base a { color: var(--white); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .drawer.open { display: block; background: var(--navy-deep); border-top: 1px solid rgba(255, 255, 255, 0.16); }
  .drawer ul { padding: 16px 0 32px; }
  .drawer a { display: flex; align-items: center; min-height: 56px; color: var(--white); text-decoration: none; font-weight: 600; font-size: 19px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
  .drawer a[aria-current="page"] { color: var(--gilt); }
  .drawer .btn { margin-top: 24px; width: 100%; border-bottom: 0; }
  .logo-wall { grid-template-columns: repeat(4, 1fr); }
  .directory { grid-template-columns: repeat(2, 1fr); }
  .board-years { columns: 5; }
}
@media (max-width: 900px) {
  :root { --gutter: 24px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 48px; padding-top: 88px; }
  .hero-copy { padding-bottom: 0; }
  .hero-photo { margin-bottom: -64px; margin-right: 24px; }
  .hero-photo::before { right: -24px; top: -24px; }
  .hero-photo img { aspect-ratio: 4 / 3; }
  .section.after-hero { padding-top: 136px; }
  .split, .split.flip, .split.even, .major, .cta .wrap { grid-template-columns: 1fr; gap: 56px; }
  .pull-up { margin-top: 0; }
  .grade { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }
  .grade .who { text-align: left; }
  .board-grades { grid-template-columns: 1fr 1fr; }
  .packages { grid-template-columns: 1fr 1fr; }
  .package:nth-child(2) { border-right: 0; }
  .package:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-grid > div { border-right: 0; border-bottom: 1px solid var(--rule); }
  .contact-grid > div:last-child { border-bottom: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .rail-media { grid-template-columns: 1fr; gap: 24px; }
  .rail-media img { max-width: 320px; }
  .posters { grid-template-columns: repeat(3, 1fr); }
  .cta::before { width: 100%; height: 16px; }
  .cta h2 { padding-left: 0; }
  .g-8, .g-4, .g-5, .g-7 { grid-column: span 6; }
  .h-a > div, .h-b > div, .h-c > div { height: 360px; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 17px; }
  .section { padding: 72px 0; }
  .section.tight { padding: 56px 0; }
  .section.after-hero { padding-top: 120px; }
  .site-header .wrap { min-height: 72px; }
  .brand img { width: 80px; height: 80px; margin-bottom: -28px; }
  .brand-name { font-size: 18px; }
  .brand-name span { font-size: 13px; }
  .hero .wrap { padding-top: 72px; }
  .hero h1 { font-size: clamp(3.25rem, 17vw, 4.5rem); }
  .hero-lede { font-size: 18px; }
  .btn-row .btn { width: 100%; }
  .mast { padding: 80px 0 56px; }
  .mast p { font-size: 18px; }
  .lede { font-size: 19px; }
  .board { padding: 8px; }
  .board-inner { padding: 40px 16px; }
  .board-years { columns: 3; column-gap: 8px; }
  .board-grades { grid-template-columns: 1fr; gap: 32px; }
  .rail-item { grid-template-columns: 1fr; gap: 8px; padding-left: 28px; padding-bottom: 48px; }
  .years li { grid-template-columns: 1fr; gap: 8px; padding-left: 28px; }
  .tier-head { flex-direction: column; gap: 4px; }
  .tier-head span { font-size: 15px; }
  .hero-photo figcaption { max-width: 100%; font-size: 15px; padding: 8px 12px; }
  .tier { padding-top: 64px; }
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .logo-wall li { height: 104px; padding: 16px; }
  .directory, .directory.big { grid-template-columns: 1fr; }
  .directory.big h3 { font-size: 23px; }
  .major { padding: 32px 24px; gap: 32px; }
  .packages { grid-template-columns: 1fr; }
  .package { border-right: 0; border-bottom: 1px solid var(--rule); }
  .package:last-child { border-bottom: 0; }
  .roles { grid-template-columns: 1fr; }
  .roles div { flex-direction: column; gap: 4px; }
  .roles dd { text-align: left; }
  .kit { grid-template-columns: 1fr; }
  .gallery { gap: 16px; }
  .g-8, .g-4, .g-5, .g-7, .g-6 { grid-column: span 12; }
  .h-a > div, .h-b > div, .h-c > div { height: auto; aspect-ratio: 4 / 3; }
  .port > div { aspect-ratio: 4 / 5; }
  .posters { grid-template-columns: 1fr 1fr; gap: 16px; }
  .offset::before { left: -16px; bottom: -16px; }
  .offset.tr::before { right: -16px; top: -16px; left: auto; bottom: auto; }
  .offset figcaption { margin-top: 12px; }
  .band-photo .cap-block { position: static; max-width: none; padding: 24px 16px; }
  .foot-grid { grid-template-columns: 1fr; gap: 40px; }
  .site-footer { padding-top: 72px; }
  .site-footer li a { min-height: 48px; }
  .faq summary { font-size: 21px; }
  .linklist a { flex-direction: column; align-items: flex-start; gap: 4px; justify-content: center; }
  .linklist a span { text-align: left; }
  .cta { padding: 80px 0 72px; }
  .subnav ul { flex-wrap: nowrap; overflow-x: auto; }
  .subnav a { white-space: nowrap; min-height: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-photo img { animation: none; }
  * { transition-duration: 0.01ms !important; }
}
