@font-face { font-family: 'Poppins'; font-weight: 300; font-style: normal; font-display: swap; src: url('/fonts/poppins-latin-300-normal.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: 'Poppins'; font-weight: 300; font-style: normal; font-display: swap; src: url('/fonts/poppins-latin-ext-300-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-weight: 400; font-style: normal; font-display: swap; src: url('/fonts/poppins-latin-400-normal.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: 'Poppins'; font-weight: 400; font-style: normal; font-display: swap; src: url('/fonts/poppins-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-weight: 500; font-style: normal; font-display: swap; src: url('/fonts/poppins-latin-500-normal.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: 'Poppins'; font-weight: 500; font-style: normal; font-display: swap; src: url('/fonts/poppins-latin-ext-500-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-weight: 600; font-style: normal; font-display: swap; src: url('/fonts/poppins-latin-600-normal.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: 'Poppins'; font-weight: 600; font-style: normal; font-display: swap; src: url('/fonts/poppins-latin-ext-600-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-weight: 700; font-style: normal; font-display: swap; src: url('/fonts/poppins-latin-700-normal.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: 'Poppins'; font-weight: 700; font-style: normal; font-display: swap; src: url('/fonts/poppins-latin-ext-700-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Theme: change colours, type and spacing here ---------- */
:root {
  --navy: #000357;
  --blue: #003d9e;
  --blue-dark: #002f7a;
  --gold: #f6d743;
  --gold-dark: #e8c51f;
  --sky: #a9c9ea;
  --tint: #f3f5fb;
  --ink: #171a2b;
  --muted: #4d526b;
  --line: #dde1ee;
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 3, 87, 0.1);
  --header-height: 84px;
  --section-space: clamp(3rem, 7vw, 6rem);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.75; color: var(--ink); background: #fff; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.6em; color: var(--navy); font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.35rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.1em; }
a { color: var(--blue); text-underline-offset: 0.18em; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--gold-dark); outline-offset: 3px; }
ul { margin: 0; padding: 0; }
.wrap { width: min(1140px, 100% - 2.5rem); margin-inline: auto; }
.wrap.narrow { width: min(800px, 100% - 2.5rem); }
.center { text-align: center; }
.section { padding: var(--section-space) 0; }
.section-tint { background: var(--tint); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--gold); color: var(--navy); padding: 0.5rem 1rem; border-radius: 6px; }
.skip-link:focus { top: 1rem; }

/* ---------- Buttons ---------- */
.button { display: inline-block; font: 600 0.9rem/1.2 var(--font); letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; text-align: center;
  padding: 1rem 2rem; border: 2px solid var(--navy); border-radius: 999px; background: var(--navy); color: #fff; cursor: pointer; transition: background-color 0.15s, color 0.15s; }
.button:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.button-gold { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.button-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: var(--navy); }
.button-ghost { background: rgba(0, 3, 87, 0.35); border-color: #fff; color: #fff; }
.button-ghost:hover { background: #fff; border-color: #fff; color: var(--navy); }
.actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 4px solid var(--gold); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header-height); }
.brand { flex: none; }
.brand img { width: 220px; }
.site-nav ul { display: flex; flex-wrap: wrap; gap: 0.25rem 1.75rem; list-style: none; }
.site-nav a { display: block; padding: 0.4rem 0; color: var(--navy); font-weight: 500; font-size: 0.98rem; text-decoration: none; border-bottom: 3px solid transparent; }
.site-nav a:hover { border-bottom-color: var(--sky); }
.site-nav a[aria-current='page'] { border-bottom-color: var(--blue); }
.nav-toggle { display: none; width: 46px; height: 46px; padding: 0; background: none; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 22px; height: 2px; margin-inline: auto; background: var(--navy); content: ''; }
.nav-toggle-bars::before { transform: translateY(-7px); }
.nav-toggle-bars::after { transform: translateY(5px); }

/* ---------- Home hero ---------- */
.hero { position: relative; display: grid; min-height: clamp(440px, 68vh, 640px); background: var(--navy); overflow: hidden; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 35%; }
.hero-content { position: relative; display: flex; align-items: center; padding: 3rem 0;
  background: linear-gradient(90deg, rgba(0, 3, 87, 0.93) 0%, rgba(0, 3, 87, 0.78) 34%, rgba(0, 3, 87, 0.08) 64%); }
.hero-text { max-width: 34rem; }
.hero h1 { color: #fff; margin-bottom: 1.4rem; }

/* ---------- Page banners ---------- */
.banner { position: relative; background: var(--navy); overflow: hidden; }
/* The frame keeps its proportions (width : height) on every screen, so photos aren't
   cut off. It is at most 600px tall; on wide screens a blurred copy fills the sides.
   Set "shape" and "focus" under "banner" in the page's content file. */
.banner-frame { --ratio: 2; position: relative; width: min(100%, calc(600px * var(--ratio))); aspect-ratio: var(--ratio); margin-inline: auto; overflow: hidden; }
.shape-tall { --ratio: 1.6; }
.banner-fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(28px) brightness(0.5); transform: scale(1.15); }
.banner-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.focus-center { object-position: center 40%; }
.focus-left { object-position: 25% center; }
.focus-right { object-position: 75% center; }
.focus-top { object-position: center top; }
.focus-lower { object-position: center 60%; }
.focus-bottom-left { object-position: 25% bottom; }
.banner-title { position: absolute; inset: auto 0 0; padding: 4rem 0 1.5rem; background: linear-gradient(transparent, rgba(0, 3, 87, 0.88)); }
.banner h1 { color: #fff; margin: 0; }
.banner-title-right { text-align: right; }

/* ---------- Text ---------- */
.prose p:last-child { margin-bottom: 0; }
.intro { font-size: 1.15rem; }
.lead { font-size: 1.2rem; font-weight: 500; color: var(--blue); }
.tagline { margin: 2.5rem 0 1.25rem; text-align: center; font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 600; line-height: 1.3; color: var(--navy); }
.jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; list-style: none; }
.jump a { display: block; padding: 0.5rem 1.2rem; border: 2px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.jump a:hover { border-color: var(--blue); }

/* ---------- Home: note, priorities, results ---------- */
.note { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.note-photo { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.note-sign { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.25rem; }
.note-sign img { width: 180px; }
.cards, .results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; list-style: none; }
.cards { margin: 1rem 0 2.5rem; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { padding: 1.5rem; border-top: 5px solid var(--gold); }
.card-body p { margin: 0; color: var(--muted); font-size: 1rem; }
.card h3 a { color: var(--navy); text-decoration: none; }
.card h3 a:hover { text-decoration: underline; }
.results-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 1rem 2rem; align-items: center; margin-bottom: 2.5rem; }
.results-head > * { margin: 0; }
.results img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); margin-bottom: 1.25rem; }
.results p { color: var(--muted); font-size: 1rem; }

/* ---------- Home: newsletter ---------- */
.newsletter { position: relative; background: var(--navy); color: #fff; text-align: center; }
.newsletter-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.45; }
.newsletter-inner { position: relative; padding: var(--section-space) 0; }
.newsletter h2 { color: #fff; }
.newsletter-form { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
.newsletter-form input[type='email'] { width: min(22rem, 100%); font: inherit; padding: 0.7rem 1.25rem; border: 2px solid #fff; border-radius: 999px; }

/* ---------- Story rows (biography and priorities) ---------- */
.story { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.story-flip > .prose { order: 2; }
.story-photos { display: grid; gap: 1.5rem; }
.story-photos img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.focus-box { padding: 1.5rem 1.75rem; background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--gold); border-radius: var(--radius); }
.focus-title { font-weight: 600; color: var(--navy); margin-bottom: 0.5rem; }
.focus-box ul { padding-left: 1.2rem; }
.focus-box li { margin-bottom: 0.4rem; font-size: 1rem; }
.focus-box li::marker { color: var(--blue); }
.closing { margin: 2.5rem 0 0; padding: 1.25rem 1.75rem; border-left: 5px solid var(--blue); font-size: 1.15rem; font-weight: 500; color: var(--navy); }

/* ---------- Endorsements ---------- */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.75rem; list-style: none; }
.person { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-align: center; }
.person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; }
.person h2 { font-size: 1.15rem; margin: 1rem 1rem 0.25rem; }
.person p { margin: 0 1rem 1.25rem; color: var(--muted); font-size: 0.92rem; line-height: 1.5; }

/* ---------- Forms ---------- */
.form-panel { margin-top: 2.5rem; padding: clamp(1.5rem, 4vw, 2.75rem); background: var(--tint); border-radius: var(--radius); border-top: 5px solid var(--gold); }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.field { grid-column: 1 / -1; margin: 0; padding: 0; border: 0; min-width: 0; }
.field-half { grid-column: span 1; }
.field label, .field legend { display: block; font-weight: 500; font-size: 0.98rem; margin-bottom: 0.3rem; padding: 0; }
.required { font-weight: 300; color: var(--muted); font-size: 0.88rem; }
.form input[type='text'], .form input[type='email'], .form input[type='tel'], .form textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff; padding: 0.65rem 0.85rem; border: 1px solid #8b91ad; border-radius: 8px; }
.form textarea { resize: vertical; }
.field label.check { display: flex; gap: 0.65rem; align-items: center; font-weight: 400; padding: 0.2rem 0; cursor: pointer; }
.check input { width: 1.15rem; height: 1.15rem; flex: none; accent-color: var(--blue); }
[aria-invalid='true'] { border: 2px solid #b3261e !important; }
.field-error { color: #b3261e; font-size: 0.9rem; margin: 0.25rem 0 0; }
.notice { padding: 0.85rem 1.15rem; border-radius: 8px; font-weight: 500; text-align: left; }
.notice-success { background: #e3f4e5; color: #14521f; border: 1px solid #9fd0a8; }
.notice-error { background: #fdecea; color: #8c1d18; border: 1px solid #f0b4ae; }
.newsletter .notice { display: inline-block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact { margin: 2rem 0 0; text-align: center; overflow-wrap: anywhere; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #fff; padding: 3.5rem 0; font-size: 0.95rem; }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 2rem 4rem; }
.site-footer h2 { color: #fff; font-size: 1rem; margin-bottom: 0.5rem; }
.site-footer ul { list-style: none; }
.site-footer a { color: var(--sky); }
.site-footer a:hover { color: var(--gold); }

/* ---------- Smaller screens ---------- */
@media (max-width: 960px) {
  :root { --header-height: 72px; }
  .brand img { width: 180px; }
  .js .nav-toggle { display: block; }
  .js .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 4px solid var(--gold); box-shadow: var(--shadow); }
  .js .site-nav.is-open { display: block; }
  .js .site-nav ul { flex-direction: column; gap: 0; padding: 0.5rem 1.25rem 1rem; }
  .js .site-nav a { padding: 0.75rem 0; }
  .note, .story, .results-head { grid-template-columns: minmax(0, 1fr); }
  .story-flip > .prose { order: 0; }
  .note-photo { max-width: 420px; margin-inline: auto; }
  .cards, .results { grid-template-columns: minmax(0, 1fr); max-width: 460px; margin-inline: auto; }
}
@media (max-width: 960px) and (min-width: 640px) {
  .story-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .story-photos > :only-child { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  /* Without JavaScript the menu wraps below the logo. */
  html:not(.js) .header-inner { flex-wrap: wrap; padding: 0.5rem 0; }
  html:not(.js) .site-header { position: static; }
}
@media (max-width: 700px) {
  .hero { min-height: 0; display: block; }
  .banner-title { padding: 1.5rem 0 0.5rem; }
  .banner h1 { font-size: 1.5rem; }
  .hero-image { position: static; height: auto; aspect-ratio: 4 / 3; object-position: 80% center; }
  .hero-content { background: var(--navy); padding: 2rem 0 2.5rem; }
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-legal { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .field-half { grid-column: 1 / -1; }
  .people { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; }
  .person h2 { font-size: 1rem; margin-inline: 0.6rem; }
  .person p { font-size: 0.8rem; margin-inline: 0.6rem; }
}
