/* QoS Community Trust: "Winding Route" design. Tokens and components from the design handover. */

/* Bricolage Grotesque and Figtree (SIL Open Font License), self-hosted so no visitor data goes to Google. */
@font-face { font-family: 'Bricolage Grotesque'; font-weight: 800; font-display: swap; src: url(/fonts/bricolage-grotesque-latin-800-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: 'Bricolage Grotesque'; font-weight: 800; font-display: swap; src: url(/fonts/bricolage-grotesque-latin-ext-800-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,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: 'Quadrillion'; font-weight: 200; font-display: swap; src: url(/fonts/Quadrillion-Light.otf) format('opentype'); }
@font-face { font-family: 'Quadrillion'; font-weight: 700; font-display: swap; src: url(/fonts/Quadrillion-Semibold.otf) format('opentype'); }
@font-face { font-family: 'C64 Keyboard'; font-weight: 400; font-display: swap; src: url(/fonts/C64Keyboard-Regular.otf) format('opentype'); }
@font-face { font-family: 'Figtree'; font-weight: 400; font-display: swap; src: url(/fonts/figtree-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: 'Figtree'; font-weight: 400; font-display: swap; src: url(/fonts/figtree-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+0304,U+0308,U+0329,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: 'Figtree'; font-weight: 400; font-style: italic; font-display: swap; src: url(/fonts/figtree-latin-400-italic.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-weight: 400; font-style: italic; font-display: swap; src: url(/fonts/figtree-latin-ext-400-italic.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,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: 'Figtree'; font-weight: 600; font-display: swap; src: url(/fonts/figtree-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: 'Figtree'; font-weight: 600; font-display: swap; src: url(/fonts/figtree-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+0304,U+0308,U+0329,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: 'Figtree'; font-weight: 700; font-display: swap; src: url(/fonts/figtree-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: 'Figtree'; font-weight: 700; font-display: swap; src: url(/fonts/figtree-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+0304,U+0308,U+0329,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: 'Figtree'; font-weight: 800; font-display: swap; src: url(/fonts/figtree-latin-800-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: 'Figtree'; font-weight: 800; font-display: swap; src: url(/fonts/figtree-latin-ext-800-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,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; }

:root {
  --navy: #1e2252;
  --ink: #14173a;
  --blue: #1f5fbf;
  --gold: #f6c635;
  --sky: #dce7f6;
  --sky-2: #cddcf1;
  --green: #2e9e5b;
  --orange: #f26b3a;
  --paper: #f7f9fd;
  --muted: #4a4f73;
  --muted-dark: #c9cde6;
  --muted-blue: #e6edf9;
  --heading: 'Bricolage Grotesque', 'Arial Black', sans-serif;
  --body: 'Figtree', system-ui, sans-serif;
  --pad-x: 48px;
  --pad-y: 80px;
  --shadow: 5px 5px 0 var(--navy);
  --shadow-lg: 6px 6px 0 var(--navy);
  --stripe: repeating-linear-gradient(135deg, var(--sky) 0 10px, var(--sky-2) 10px 20px);
  --stripe-gold: repeating-linear-gradient(135deg, #fde9a8 0 10px, #f9dd85 10px 20px);
  --stripe-navy: repeating-linear-gradient(135deg, #2b3170 0 10px, #252a63 10px 20px);
  --ease: 150ms ease-out;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.5; }
img { max-width: 100%; display: block; }
a { color: var(--navy); }
h1, h2, h3, p, blockquote { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.band-blue :focus-visible, .panel-navy :focus-visible, .panel-blue :focus-visible { outline-color: var(--gold); }
[hidden] { display: none !important; }
main { display: block; max-width: 1280px; margin: 0 auto; }
.site-header, .site-footer { max-width: 1280px; margin: 0 auto; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 999px; z-index: 100; font-weight: 800; }
.skip:focus { left: 16px; }

/* ---------- Header ---------- */
.site-header { height: 96px; padding: 0 var(--pad-x); display: flex; align-items: center; justify-content: space-between; gap: 24px; position: relative; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; min-width: 0; }
.brand-logo { width: 64px; height: 64px; flex: none; object-fit: contain; }
.brand .ph.brand-logo { border-radius: 50%; }
.brand-words { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--heading); font-weight: 800; font-size: 20px; color: var(--navy); }
.brand-tag { font-size: 13px; color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: 4px; font-size: 15px; font-weight: 700; background: #fff; border: 2px solid var(--navy); border-radius: 999px; padding: 6px; }
.site-nav a { padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--navy); transition: background var(--ease); white-space: nowrap; }
.site-nav a:hover { background: var(--sky); }
.site-nav a[aria-current="page"] { background: var(--sky); }
.site-nav .nav-cta { background: var(--navy); color: #fff; padding: 8px 18px; }
.site-nav .nav-cta:hover { background: var(--blue); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--navy); background: #fff; cursor: pointer; padding: 0; position: relative; flex: none; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { position: absolute; left: 11px; width: 18px; height: 2.5px; background: var(--navy); border-radius: 2px; content: ''; transition: transform var(--ease), opacity var(--ease); }
.menu-btn span { top: 19.5px; }
.menu-btn span::before { left: 0; top: -6px; }
.menu-btn span::after { left: 0; top: 6px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Footer ---------- */
.site-footer { border-top: 2px solid var(--navy); padding: 32px var(--pad-x); display: flex; justify-content: space-between; gap: 32px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--navy); }
.footer-left { display: flex; gap: 14px; align-items: center; }
.footer-left img { width: 52px; height: 52px; flex: none; }
.footer-right { text-align: right; }

/* ---------- Powered by ---------- */
/* "Powered by Gleam from SolwAI" band, copied from the online bookings site's credit with Gleam in place of B-OOK.
   C64 Keyboard for the small print, Quadrillion for the names: Gleam at the product weight (200), SOLWAI at the
   house weight (700) with only the "AI" in the SolwAI accent. */
.powered-by { background: #0F2B3D; color: oklch(0.78 0.02 235); }
.powered-inner { max-width: 1280px; margin: 0 auto; padding: 8px var(--pad-x); min-height: 40px; display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px 12px; }
.powered-by .pb-text { font-family: 'C64 Keyboard', monospace; font-weight: 400; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; line-height: 1; }
.powered-by a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: #fff; }
.powered-by a:hover { opacity: .8; }
.powered-by img { display: block; width: 23px; height: 16px; flex-shrink: 0; }
.powered-by .gl-name { font-family: 'Quadrillion', sans-serif; font-weight: 200; font-size: 15px; letter-spacing: .06em; line-height: 1; }
.powered-by .sw-name { font-family: 'Quadrillion', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: .01em; line-height: 1; }
.powered-by .ai { color: oklch(0.78 0.08 225); }

/* ---------- Type ---------- */
.h-hero { font-family: var(--heading); font-weight: 800; font-size: 88px; line-height: 1.18; letter-spacing: -.03em; color: var(--ink); }
.h-80 { font-size: 80px; }
.h-76 { font-size: 76px; }
.h-72 { font-size: 72px; }
.h-section { font-family: var(--heading); font-weight: 800; font-size: 56px; line-height: 1; letter-spacing: -.02em; color: var(--navy); }
.band-blue .h-section { font-size: 60px; color: #fff; }
.h-64 { font-size: 64px !important; }
.h-52 { font-size: 52px; }
.h-panel { font-family: var(--heading); font-weight: 800; font-size: 40px; line-height: 1.05; }
.h-navy { color: var(--navy); }
.h-band { font-family: var(--heading); font-weight: 800; font-size: 44px; line-height: 1; letter-spacing: -.02em; color: var(--navy); }
.h-strip { font-family: var(--heading); font-weight: 800; font-size: 34px; line-height: 1.1; }
.eyebrow { display: block; font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.eyebrow-gold { color: var(--gold); }
.eyebrow-blue { color: var(--blue); }
.eyebrow-muted { color: var(--muted); }
.lede { font-size: 20px; line-height: 1.55; color: var(--muted); max-width: 640px; }
.lede-left { font-size: 19px; line-height: 1.6; max-width: 560px; }
.sub-on-blue { font-size: 18px; color: var(--muted-blue); line-height: 1.55; }
.on-dark-muted { font-size: 17px; line-height: 1.5; color: var(--muted-dark); }
.band-text { font-size: 17px; line-height: 1.55; color: var(--ink); }

/* Headline pills */
.pill { display: inline-block; border-radius: 999px; padding: 0 18px; margin: 6px 0; }
.pill-a { transform: rotate(-2deg); }
.pill-b { transform: rotate(1.5deg); }
.pill-gold { background: var(--gold); color: var(--ink); }
.pill-blue { background: var(--blue); color: #fff; }
.pill-green { background: var(--green); color: #fff; }

/* ---------- Buttons, tags, chips ---------- */
.btn { display: inline-block; border-radius: 999px; font-weight: 800; font-size: 16px; text-decoration: none; text-align: center; cursor: pointer; border: 0; transition: background var(--ease), color var(--ease), filter var(--ease); }
.btn-navy { background: var(--navy); color: #fff; padding: 16px 28px; }
.btn-navy:hover { background: var(--blue); color: #fff; }
.btn-outline { border: 2px solid var(--navy); color: var(--navy); padding: 14px 26px; background: transparent; }
.btn-outline:hover { background: var(--sky); }
.btn-gold { background: var(--gold); color: var(--ink); padding: 16px 28px; }
.btn-gold:hover { filter: brightness(.93); color: var(--ink); }
.btn-white { background: #fff; color: var(--navy); padding: 16px 28px; }
.btn-white:hover { background: var(--sky); }
.btn-outline-light { border: 2px solid #fff; color: #fff; padding: 14px 24px; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-sm { font-size: 15px; padding: 12px 22px; }
.btn-xs { font-size: 14px; padding: 10px 16px; }
.btn-outline.btn-xs { padding: 8px 14px; }
.btn-block { display: block; width: 100%; font-size: 15px; padding: 14px; }
.btn-outline.btn-block { padding: 12px; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.btn-stack { display: flex; flex-direction: column; gap: 10px; }

.tag { align-self: flex-start; display: inline-block; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; line-height: 1.5; }
.tag-gold { background: var(--gold); color: var(--ink); }
.tag-blue { background: var(--blue); color: #fff; }
.tag-orange { background: var(--orange); color: var(--ink); }
.tag-green { background: var(--green); color: #fff; }
.tag-navy { background: var(--navy); color: #fff; }
.tag-sky { background: var(--sky); color: var(--navy); }
.tag-white { background: #fff; color: var(--navy); }
.tag-lg { display: inline-block; font-weight: 800; font-size: 16px; padding: 10px 18px; border-radius: 999px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips-lg { gap: 10px; }
.chip { display: inline-block; padding: 6px 12px; border-radius: 999px; font-size: 14px; font-weight: 700; text-decoration: none; }
.chip-sky { background: var(--sky); color: var(--navy); }
.chip-navy { background: var(--navy); color: #fff; }
a.chip-sky:hover { background: var(--gold); }

.filters { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; padding-top: 6px; }
.filter-chip { background: #fff; color: var(--navy); border: 2px solid var(--navy); font-weight: 800; font-size: 15px; padding: 10px 18px; border-radius: 999px; cursor: pointer; transition: background var(--ease); }
.filter-chip:hover { background: var(--sky); }
.filter-chip[aria-checked="true"] { background: var(--navy); color: #fff; }

.more-link { font-weight: 800; font-size: 16px; text-decoration: none; border-bottom: 3px solid var(--gold); color: var(--navy); white-space: nowrap; }
.more-link-navy { border-bottom-color: var(--navy); }
.more-link:hover { color: var(--blue); }

/* Chunky card */
.chunky { background: #fff; border: 2px solid var(--navy); border-radius: 22px; box-shadow: var(--shadow); transition: transform var(--ease), box-shadow var(--ease); }
.chunky-lg { border-radius: 28px; box-shadow: var(--shadow-lg); }
.card-title { font-family: var(--heading); font-weight: 800; font-size: 28px; color: var(--navy); line-height: 1.1; }
.card-text { font-size: 16px; line-height: 1.5; color: var(--muted); }

/* Photo slots and shapes */
.ph { background: var(--stripe); display: flex; align-items: center; justify-content: center; }
.ph-gold.ph { background: var(--stripe-gold); }
.ph-navy.ph { background: var(--stripe-navy); }
img.shape-circle, img.photo-wide, img.photo-side, img.about-main, img.camp-photo, img.shop-arch, img.story-photo, img.pc-photo, img.pr-photo, img.product-img, img.tile-img, img.headshot { object-fit: cover; }
.shape-circle { border-radius: 50%; aspect-ratio: 1; }
.shape-arch { border-radius: 130px 130px 24px 24px; }
.shape-arch-lg { border-radius: 150px 150px 28px 28px; }
.tilt-l { transform: rotate(-4deg); }
.tilt-r { transform: rotate(3deg); }
.tilt-r4 { transform: rotate(4deg); }
.tilt-l2 { transform: rotate(-2deg); }
.tilt-r2 { transform: rotate(2deg); }
.border-white { border: 3px solid #fff; }
.border-gold { border: 3px solid var(--gold); }

/* ---------- Layout sections ---------- */
.section { padding: var(--pad-y) var(--pad-x); display: flex; flex-direction: column; gap: 28px; }
.section-tight { padding: 0 var(--pad-x) var(--pad-y); }
.band { padding: var(--pad-y) var(--pad-x); }
.band-blue { background: var(--blue); color: #fff; display: flex; flex-direction: column; gap: 44px; }
.band-gold { background: var(--gold); display: flex; flex-direction: column; gap: 32px; }
.panel { margin: 0 var(--pad-x) 72px; border-radius: 32px; padding: 48px; }
.panel-navy { background: var(--navy); color: #fff; }
.panel-blue { background: var(--blue); color: #fff; }
.section-head { display: flex; flex-direction: column; gap: 8px; }
.section-head.center { align-items: center; text-align: center; gap: 10px; }
.section-head.split { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 32px; }
.section-head.split > div { display: flex; flex-direction: column; gap: 8px; }

/* Heroes */
.hero { padding: 56px var(--pad-x) 36px; display: flex; flex-direction: column; gap: 24px; }
.hero-center { align-items: center; text-align: center; }
.hero-center .h-hero { max-width: 1060px; }
.hero-left { padding-bottom: 40px; gap: 18px; }
.hero-left .lede { max-width: 620px; }
.hero-split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-bottom: 72px; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.hero-split .pill, .shop-hero .pill { padding: 0 16px; }

/* Home photo row */
.photo-row { padding: 28px var(--pad-x) var(--pad-y); display: grid; grid-template-columns: 260px minmax(0, 1fr) 260px; gap: 24px; align-items: center; }
.photo-side { width: 260px; }
.photo-row .shape-circle { height: 260px; }
.photo-row .shape-arch { height: 300px; }
.photo-wide { width: 100%; height: 340px; border-radius: 32px; }

/* Route line (journeys and About timeline) */
.route { position: relative; display: flex; flex-direction: column; gap: 28px; max-width: 1000px; width: 100%; align-self: center; }
.route::before { content: ''; position: absolute; left: 50%; top: 30px; bottom: 30px; border-left: 5px dashed var(--gold); transform: translateX(-2.5px); }
.stop { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 84px minmax(0, 1fr); gap: 28px; align-items: center; }
.stop-card { background: #fff; color: var(--ink); border-radius: 28px; padding: 26px; display: flex; flex-direction: column; gap: 10px; grid-row: 1; }
.stop-left .stop-card { grid-column: 1; }
.stop-right .stop-card { grid-column: 3; }
.stop-num { grid-column: 2; grid-row: 1; width: 84px; height: 84px; border-radius: 50%; background: var(--c, var(--gold)); color: var(--ink, #14173a); border: 5px solid var(--navy); display: flex; align-items: center; justify-content: center; font-family: var(--heading); font-weight: 800; font-size: 34px; position: relative; z-index: 1; }
.stop-ages { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.stop-stage { font-family: var(--heading); font-weight: 800; font-size: 30px; line-height: 1; color: var(--navy); }
.stop-blurb { font-size: 15px; line-height: 1.5; color: var(--muted); }
.stop-short { display: none; font-size: 14px; color: var(--muted); }
.route .tl-year { font-family: var(--heading); font-weight: 800; font-size: 34px; color: var(--navy); }
.route .tl-text { font-size: 15px; line-height: 1.5; color: var(--muted); }
.route .stop-card:has(.tl-year) { padding: 24px; gap: 8px; }

/* Home programme colour cards */
.prog-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.prog-card { border-radius: 24px; padding: 14px 14px 22px; display: flex; flex-direction: column; gap: 12px; transform: rotate(var(--tilt, 0deg)); border: 2px solid; position: relative; transition: transform var(--ease), box-shadow var(--ease); }
.prog-card:hover { transform: rotate(var(--tilt, 0deg)) translate(-2px, -2px); box-shadow: 7px 7px 0 var(--navy); }
.pc-photo { height: 150px; width: 100%; border-radius: 16px; }
.pc-body { padding: 0 6px; display: flex; flex-direction: column; gap: 6px; }
.pc-name { font-family: var(--heading); font-weight: 800; font-size: 24px; line-height: 1.1; }
.pc-name a { color: inherit; text-decoration: none; }
.stretch::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.pc-blurb { font-size: 15px; line-height: 1.45; }
.card-blue { background: var(--blue); border-color: var(--blue); color: #fff; }
.card-blue .pc-blurb { color: var(--muted-blue); }
.card-blue .ph { background: repeating-linear-gradient(135deg, #3a74cc 0 10px, #3069c4 10px 20px); }
.card-gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.card-gold .ph { background: repeating-linear-gradient(135deg, #ecbb24 0 10px, #e3b21c 10px 20px); }
.card-green { background: var(--green); border-color: var(--green); color: #fff; }
.card-green .pc-blurb { color: #e3f5ea; }
.card-green .ph { background: repeating-linear-gradient(135deg, #3dab69 0 10px, #35a362 10px 20px); }
.card-white { background: #fff; border-color: var(--navy); color: var(--navy); }
.card-white .pc-blurb { color: var(--muted); }
.card-orange { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.card-orange .ph { background: repeating-linear-gradient(135deg, #f47e52 0 10px, #f07447 10px 20px); }

/* Stories */
.story-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.story-card { background: #fff; border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; border: 2px solid var(--navy); }
.story-photo { height: 220px; width: 100%; object-position: center 25%; }
.story-body { padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.from-to { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; color: var(--navy); flex-wrap: wrap; }
.from-to .chip { font-size: 13px; font-weight: 800; padding: 5px 10px; }
.story-name { font-family: var(--heading); font-weight: 800; font-size: 22px; line-height: 1.15; color: var(--navy); }
.story-quote { font-size: 15px; line-height: 1.5; color: var(--muted); font-style: italic; }
.story-quote::before { content: '“'; }
.story-quote::after { content: '”'; }

/* Horizontal timeline (home) */
.timeline { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.timeline::before { content: ''; position: absolute; left: 0; right: 0; top: 27px; border-top: 4px solid var(--navy); }
.tl-item { position: relative; display: flex; flex-direction: column; gap: 12px; }
.tl-dot { width: 58px; height: 58px; border-radius: 50%; background: var(--gold); border: 4px solid var(--navy); }
.timeline .tl-year { font-family: var(--heading); font-weight: 800; font-size: 32px; color: var(--navy); }
.timeline .tl-text { font-size: 15px; line-height: 1.5; color: var(--muted); }

/* Funders panel */
.funders-panel { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.funders-panel > div:first-child { display: flex; flex-direction: column; gap: 12px; }
.funders-panel .eyebrow { letter-spacing: .1em; }
.funders-panel .btn { padding-left: 24px; padding-right: 24px; }

/* ---------- About ---------- */
.about-photos { position: relative; height: 440px; }
.about-main { position: absolute; left: 0; top: 0; width: calc(100% - 60px); height: 380px; border-radius: 32px; border: 3px solid var(--navy); }
.about-circle { position: absolute; right: 0; bottom: 0; width: 200px; height: 200px; border: 3px solid var(--navy); }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pillar { padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.team-member { display: flex; flex-direction: column; gap: 12px; align-items: center; text-align: center; }
.headshot { width: 200px; height: 200px; max-width: 100%; aspect-ratio: 1; border-radius: 50%; border: 4px solid var(--ring, var(--gold)); }
.team-name { font-family: var(--heading); font-weight: 800; font-size: 22px; color: var(--navy); }
.team-member .chip { font-size: 13px; font-weight: 800; padding: 5px 12px; }
.join { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.join > div:first-child { display: flex; flex-direction: column; gap: 12px; }
.vacancy-list { display: flex; flex-direction: column; gap: 20px; }
.vacancy { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.vacancy .card-title { font-size: 32px; }
.vacancy .card-text { font-size: 15px; }
.vacancy-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 4px; flex-wrap: wrap; }
.closing { font-size: 14px; font-weight: 700; }
.section-funders { padding-bottom: 48px; }
.funder-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.funder { position: relative; height: 96px; border-radius: 18px; background: #fff; border: 2px dashed var(--sky-2); display: flex; align-items: center; justify-content: center; padding: 12px; }
.funder-logo { max-height: 100%; max-width: 100%; object-fit: contain; }
.funder .ph.funder-logo { width: 100%; height: 100%; background: none; }
.funder-name { font-weight: 800; color: var(--navy); text-align: center; font-size: 14px; }
.funder-link { position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.cta-strip { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 40px 48px; }
.cta-strip .btn { flex: none; }

/* ---------- Programmes ---------- */
.section-list { padding: 16px var(--pad-x) var(--pad-y); }
.prog-list { display: flex; flex-direction: column; gap: 22px; }
.prog-row { padding: 16px; display: grid; grid-template-columns: 340px minmax(0, 1fr) 220px; gap: 28px; align-items: center; scroll-margin-top: 24px; }
.prog-row:target { box-shadow: 8px 8px 0 var(--gold); }
.pr-photo { width: 340px; height: 210px; border-radius: 18px; }
.pr-info { display: flex; flex-direction: column; gap: 10px; }
.pr-name { font-family: var(--heading); font-weight: 800; font-size: 34px; line-height: 1; color: var(--navy); }
.pr-blurb { font-size: 16px; line-height: 1.5; color: var(--muted); max-width: 520px; }
.pr-when { display: flex; gap: 8px 22px; font-size: 14px; font-weight: 700; color: var(--navy); padding-top: 2px; flex-wrap: wrap; }
.pr-actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; padding-right: 12px; }
.pr-price { font-family: var(--heading); font-weight: 800; font-size: 30px; color: var(--navy); text-align: center; }
.filter-empty { text-align: center; font-size: 18px; color: var(--muted); padding: 24px; }
.camp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.camp-copy { display: flex; flex-direction: column; gap: 14px; }
.camp-copy .sub-on-blue { font-size: 17px; max-width: 460px; }
.camp-copy .btn { margin-top: 6px; }
.camp-photos { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.camp-photo { width: 100%; height: 320px; border-radius: 28px; }
.camp-photo.shape-arch { border-radius: 140px 140px 24px 24px; }
.venue-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.venue-card { background: #fff; border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 10px; border-top: 10px solid var(--c, var(--navy)); }
.venue-card-boxed { border: 2px solid var(--navy); gap: 10px; }
.venue-name { font-family: var(--heading); font-weight: 800; font-size: 22px; color: var(--navy); line-height: 1.15; }
.venue-text { font-size: 15px; line-height: 1.45; color: var(--muted); }
.venue-map { font-weight: 800; font-size: 14px; }
.venue-num { width: 44px; height: 44px; border-radius: 50%; background: var(--c); color: var(--ink); border: 3px solid var(--navy); display: flex; align-items: center; justify-content: center; font-family: var(--heading); font-weight: 800; font-size: 18px; }

/* ---------- Shop ---------- */
.shop-hero { margin-top: 24px; margin-bottom: 0; border-radius: 36px; padding: 56px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.shop-hero > div { display: flex; flex-direction: column; gap: 18px; }
.shop-hero .h-hero { color: #fff; }
.shop-hero .on-dark-muted { font-size: 18px; max-width: 520px; line-height: 1.55; }
.shop-arch { height: 300px; width: 100%; }
.toolbar { padding: 48px var(--pad-x) 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.toolbar .filters { justify-content: flex-start; padding: 0; }
.section-grid { padding: 28px var(--pad-x) var(--pad-y); }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.product { padding: 14px 14px 18px; display: flex; flex-direction: column; gap: 12px; }
.product:hover, .pillar:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--navy); }
.product-photo { position: relative; }
.product-img { height: 190px; width: 100%; border-radius: 14px; }
.product-cat { position: absolute; top: 10px; left: 10px; }
.product-body { padding: 0 4px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-name { font-family: var(--heading); font-weight: 800; font-size: 21px; line-height: 1.1; color: var(--navy); }
.product-note { font-size: 14px; line-height: 1.45; color: var(--muted); }
.product-foot { padding: 0 4px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.product-price { font-family: var(--heading); font-weight: 800; font-size: 24px; color: var(--navy); }
.party { flex-direction: row; justify-content: space-between; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.party > div { display: flex; flex-direction: column; gap: 8px; }
.party .btn { flex: none; }

/* ---------- Gallery ---------- */
.page-gallery .hero { padding-bottom: 36px; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 150px; grid-auto-flow: dense; gap: 18px; }
.tile { position: relative; border-radius: 24px; overflow: hidden; border: 3px solid var(--navy); background: var(--stripe); }
.tile-wide { grid-column: span 2; }
.tile-tall { grid-row: span 2; }
.tile-l { grid-column: span 2; grid-row: span 2; }
.tile-rect.tile-l, .tile-rect.tile-wide { border-radius: 28px; }
.tile-circle { border-radius: 50%; aspect-ratio: 1; justify-self: center; height: 100%; width: auto; max-width: 100%; }
.tile-archBottom .tile-tag { bottom: auto; top: 16px; left: 50%; transform: translateX(-50%); }
.tile-archTop { border-radius: 140px 140px 24px 24px; }
.tile-archBottom { border-radius: 24px 24px 140px 140px; }
.tile-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.tile-tag { position: absolute; left: 12px; bottom: 12px; font-size: 12px; padding: 5px 11px; z-index: 2; pointer-events: none; white-space: nowrap; }
.tile-circle .tile-tag { left: 50%; transform: translateX(-50%); bottom: 16px; }
.tile-open { position: absolute; inset: 0; z-index: 1; background: transparent; border: 0; cursor: zoom-in; border-radius: inherit; }
.tile-open:hover { background: rgba(30, 34, 82, .12); }
.share { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 44px 48px; }
.share > div:first-child { display: flex; flex-direction: column; gap: 8px; }
.share .sub-on-blue { font-size: 17px; }
.share .btn { font-size: 15px; padding: 14px 22px; }
.share .btn-row { flex: none; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(20, 23, 58, .88); }
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: 18px; border: 3px solid #fff; margin: 0 auto; }
.lightbox-caption { color: #fff; text-align: center; font-weight: 700; padding-top: 12px; }
.lb-btn { position: fixed; width: 52px; height: 52px; border-radius: 50%; border: 2px solid #fff; background: var(--navy); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lb-btn:hover { background: var(--blue); }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-close { right: 16px; top: 16px; }

/* ---------- Contact ---------- */
.contact-grid { padding: 0 var(--pad-x) var(--pad-y); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.contact-card { padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.contact-card .card-title { font-size: 30px; }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.contact-form label, .admin-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 800; }
.contact-form input, .contact-form textarea, .admin-form input, .admin-form select { font: inherit; font-weight: 400; font-size: 16px; padding: 14px 16px; border: 2px solid var(--navy); border-radius: 14px; background: var(--paper); color: var(--ink); width: 100%; }
.contact-form textarea { height: 140px; resize: vertical; }
.contact-form [aria-invalid="true"] { border-color: var(--orange); box-shadow: 0 0 0 2px var(--orange); }
.field-error { color: var(--navy); font-size: 14px; font-weight: 700; display: flex; gap: 6px; align-items: baseline; }
.field-error::before { content: '!'; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--orange); color: var(--navy); font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.topics { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.topics legend { font-size: 14px; font-weight: 800; padding: 0 0 8px; }
.topics .chips { gap: 8px; }
.topic-chip { position: relative; }
.topic-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.topic-chip span { display: inline-block; background: #fff; color: var(--navy); border: 2px solid var(--navy); font-weight: 800; font-size: 14px; padding: 8px 14px; border-radius: 999px; cursor: pointer; transition: background var(--ease); }
.topic-chip input:hover + span { background: var(--sky); }
.topic-chip input:checked + span { background: var(--navy); color: #fff; }
.topic-chip input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-success { background: var(--sky); border-radius: 18px; padding: 20px 22px; font-size: 17px; font-weight: 700; color: var(--navy); }
.contact-side { display: flex; flex-direction: column; gap: 16px; }
.details-card { background: var(--blue); color: #fff; border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.detail { display: flex; flex-direction: column; gap: 2px; }
.detail-label { font-size: 13px; color: var(--muted-blue); }
.detail-big { font-family: var(--heading); font-weight: 800; font-size: 24px; color: #fff; text-decoration: none; overflow-wrap: anywhere; }
.detail-big:hover { text-decoration: underline; }
.detail-address { font-size: 17px; line-height: 1.45; font-weight: 700; }
.map { position: relative; height: 250px; border-radius: 28px; border: 3px solid var(--navy); overflow: hidden; background: var(--stripe); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-link { position: absolute; right: 12px; bottom: 12px; background: #fff; border: 2px solid var(--navy); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 800; text-decoration: none; }

/* ---------- Impact figures, mission and principles ---------- */
.band-navy { background: var(--navy); color: #fff; display: flex; flex-direction: column; gap: 40px; }
.band-navy .h-section { color: #fff; }
.impact .section-head { max-width: 760px; }
.impact-text { margin-top: 6px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.stat { background: rgba(255, 255, 255, .06); border: 2px solid rgba(255, 255, 255, .22); border-radius: 22px; padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.stat-value { font-family: var(--heading); font-weight: 800; font-size: 52px; line-height: 1; letter-spacing: -.02em; color: var(--gold); font-variant-numeric: tabular-nums; }
.stat-label { font-size: 16px; line-height: 1.4; color: var(--muted-dark); font-weight: 600; }
.mission { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.mission-copy { display: flex; flex-direction: column; gap: 14px; }
.mission-text { font-size: 17px; line-height: 1.65; color: var(--ink); }
.principles-wrap { display: flex; flex-direction: column; gap: 16px; }
.principles { display: flex; flex-direction: column; gap: 14px; }
.principle { border-radius: 22px; padding: 20px 24px; display: flex; flex-direction: column; gap: 6px; border: 2px solid var(--navy); box-shadow: var(--shadow); }
.principle-title { font-family: var(--heading); font-weight: 800; font-size: 30px; line-height: 1; }
.principle-text { font-size: 16px; line-height: 1.5; }
.principle-gold { background: var(--gold); color: var(--ink); }
.principle-blue { background: var(--blue); color: #fff; }
.principle-green { background: var(--green); color: #fff; }
.principle-orange { background: var(--orange); color: var(--ink); }
.principles-note { font-size: 15px; line-height: 1.55; color: var(--muted); font-style: italic; }
.pillars-section { display: flex; flex-direction: column; gap: 28px; }
.pillars-head { max-width: 820px; }
.pillars-text { max-width: 760px; font-size: 17px; }
.venue-photo { max-width: none; width: calc(100% + 44px); margin: -22px -22px 4px; height: 150px; object-fit: cover; border-radius: 12px 12px 0 0; }
.venue-card .ph.venue-photo { border-radius: 12px 12px 0 0; }
@media (max-width: 1180px) { .stat-value { font-size: 44px; } }
@media (max-width: 900px) {
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mission { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 600px) {
  .band-navy { gap: 22px; }
  .stat-grid { gap: 12px; }
  .stat { padding: 16px; border-radius: 18px; }
  .stat-value { font-size: 32px; }
  .stat-label { font-size: 14px; }
  .principle-title { font-size: 24px; }
}

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.news-card { position: relative; padding: 14px 14px 22px; display: flex; flex-direction: column; gap: 14px; }
.news-card:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--navy); }
.news-img { height: 200px; width: 100%; border-radius: 14px; object-fit: cover; }
.news-body { padding: 0 6px; display: flex; flex-direction: column; gap: 10px; }
.news-body .chips { align-items: center; gap: 10px; }
.news-date { font-size: 13px; font-weight: 700; color: var(--muted); }
.news-title { font-family: var(--heading); font-weight: 800; font-size: 24px; line-height: 1.12; color: var(--navy); }
.news-title a { color: inherit; text-decoration: none; }
.news-card:hover .news-title a { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.news-summary { font-size: 15px; line-height: 1.5; color: var(--muted); }
.section-news { padding-bottom: var(--pad-y); }
.article-head { max-width: 900px; gap: 16px; padding-bottom: 32px; }
.article-head .chips { align-items: center; gap: 12px; }
.back-link { font-weight: 800; font-size: 15px; color: var(--navy); text-decoration: none; align-self: flex-start; }
.back-link:hover { color: var(--blue); }
.h-article { font-size: 64px; }
.article-photo-wrap { padding: 0 var(--pad-x); }
.article-photo { width: 100%; max-height: 560px; height: 52vw; border-radius: 32px; border: 3px solid var(--navy); object-fit: cover; }
.article-body { max-width: 760px; padding: 40px var(--pad-x) var(--pad-y); font-size: 18px; }
.article-body a { color: var(--blue); }
.more-news { padding-top: 0; }
.ed-status { align-self: flex-start; background: var(--sky); color: var(--navy); border: 2px dashed var(--navy); border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 800; }
.ed-status-scheduled { background: #fff4cc; }
@media (max-width: 900px) {
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .h-article { font-size: 46px; }
}
@media (max-width: 600px) {
  .news-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .news-img { height: 180px; }
  .news-title { font-size: 21px; }
  .h-article { font-size: 34px; line-height: 1.15; }
  .article-photo { border-radius: 22px; height: 64vw; }
  .article-body { padding-top: 24px; font-size: 17px; }
}

/* ---------- Privacy / prose ---------- */
.prose-page { max-width: 820px; padding-bottom: var(--pad-y); }
.prose { font-size: 17px; line-height: 1.65; color: var(--ink); display: flex; flex-direction: column; gap: 14px; }
.prose h2 { font-family: var(--heading); font-weight: 800; font-size: 28px; color: var(--navy); margin-top: 14px; }
.prose h3 { font-size: 20px; font-weight: 800; color: var(--navy); }
.prose ul, .prose ol { margin: 0; padding-left: 1.4em; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .site-nav { font-size: 14px; }
  .site-nav a { padding: 8px 10px; }
  .h-hero { font-size: 72px; }
  .h-80, .h-76, .h-72 { font-size: 66px; }
  .prog-row { grid-template-columns: 280px minmax(0, 1fr) 200px; }
  .pr-photo { width: 280px; }
}

@media (max-width: 1040px) {
  .menu-btn { display: block; }
  .site-nav { display: none; position: absolute; top: calc(100% - 8px); right: var(--pad-x); left: var(--pad-x); z-index: 50; flex-direction: column; align-items: stretch; border-radius: 24px; padding: 10px; box-shadow: var(--shadow); font-size: 17px; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 16px; }
  .site-nav .nav-cta { text-align: center; margin-top: 4px; }
}

@media (max-width: 900px) {
  :root { --pad-x: 24px; --pad-y: 56px; }
  .h-hero, .h-80, .h-76, .h-72 { font-size: 56px; }
  .h-section, .band-blue .h-section, .h-64, .h-52 { font-size: 42px !important; }
  .hero-split, .camp, .join, .funders-panel, .contact-grid, .shop-hero { grid-template-columns: minmax(0, 1fr); }
  .photo-row { grid-template-columns: 1fr 1fr; }
  .photo-row .photo-wide { grid-column: 1 / -1; grid-row: 1; height: 280px; }
  .photo-side { width: 100%; max-width: 260px; justify-self: center; }
  .route::before { left: 42px; }
  .stop { grid-template-columns: 84px minmax(0, 1fr); gap: 20px; }
  .stop-left .stop-card, .stop-right .stop-card { grid-column: 2; }
  .stop-num { grid-column: 1; }
  .prog-grid, .product-grid, .venue-grid, .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-grid, .pillars { grid-template-columns: minmax(0, 1fr); }
  .timeline { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .timeline::before { left: 27px; right: auto; top: 10px; bottom: 10px; border-top: 0; border-left: 4px solid var(--navy); }
  .tl-item { display: grid; grid-template-columns: 58px minmax(0, 1fr); column-gap: 16px; row-gap: 2px; }
  .tl-dot { grid-row: span 2; }
  .prog-row { grid-template-columns: minmax(0, 1fr); }
  .pr-photo { width: 100%; height: 220px; }
  .pr-actions { padding: 0; display: grid; grid-template-columns: auto 1fr 1fr; align-items: center; }
  .pr-price { text-align: left; }
  .funder-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 140px; gap: 12px; }
  .section-head.split, .party, .share, .cta-strip { flex-direction: column; align-items: flex-start; }
  .toolbar { padding-top: 32px; }
  .panel { padding: 32px; border-radius: 28px; }
  .shop-hero { padding: 32px; }
  .shop-arch { height: 240px; max-width: 360px; }
  .about-photos { height: auto; aspect-ratio: 1.25; max-width: 560px; }
  .about-main { height: 86%; }
  .about-circle { width: 36%; height: auto; }
  .site-footer { flex-direction: column; }
  .footer-right { text-align: left; }
}

@media (max-width: 600px) {
  :root { --pad-x: 20px; --pad-y: 36px; }
  .site-header { height: 72px; padding: 0 18px; }
  .brand { gap: 10px; }
  .brand-logo { width: 48px; height: 48px; }
  .brand-name { font-size: 17px; }
  .brand-tag { display: none; }
  .site-nav { left: 18px; right: 18px; }
  .hero { padding-top: 20px; padding-bottom: 32px; gap: 18px; }
  .hero-center { align-items: flex-start; text-align: left; }
  .hero-center .btn-row, .filters { justify-content: flex-start; }
  .h-hero, .h-80, .h-76, .h-72 { font-size: 46px; line-height: 1.2; letter-spacing: -.02em; }
  .pill { padding: 0 10px; }
  .lede, .lede-left { font-size: 16px; line-height: 1.5; }
  .h-section, .band-blue .h-section, .h-64, .h-52 { font-size: 32px !important; }
  .h-panel, .h-band { font-size: 28px; }
  .h-strip { font-size: 26px; }
  .eyebrow { font-size: 12px; }
  .band-blue { gap: 18px; }
  .section-head.center { align-items: flex-start; text-align: left; }
  .btn-row .btn { flex: 1 1 auto; }
  .photo-row { padding-top: 0; gap: 16px; }
  .photo-row .photo-wide { height: 220px; border-radius: 24px; }
  .photo-row .shape-circle { height: auto; }
  .photo-row .shape-arch { height: 200px; }
  .route { gap: 16px; }
  .route::before { left: 24px; top: 20px; bottom: 20px; border-left-width: 4px; transform: translateX(-2px); }
  .stop { grid-template-columns: 52px minmax(0, 1fr); gap: 14px; align-items: start; }
  .stop-num { width: 52px; height: 52px; border-width: 4px; font-size: 22px; }
  .stop-card { border-radius: 18px; padding: 14px 16px; gap: 3px; }
  .stop-ages { font-size: 12px; }
  .stop-stage { font-size: 20px; }
  .page-home .stop-blurb, .page-home .route .chips { display: none; }
  .page-home .stop-short { display: block; }
  .route .tl-year { font-size: 22px; }
  .route .tl-text { font-size: 14px; }
  .prog-grid { gap: 12px; }
  .prog-card { border-radius: 18px; padding: 14px; gap: 8px; transform: rotate(calc(var(--tilt, 0deg) * .66)); }
  .prog-card .pc-photo, .prog-card .pc-blurb { display: none; }
  .prog-card .pc-body { padding: 0; }
  .prog-card .tag { font-size: 11px; padding: 3px 8px; }
  .pc-name { font-size: 17px; }
  .story-photo { height: 180px; }
  .story-card { border-radius: 22px; }
  .story-body { padding: 18px; gap: 10px; }
  .tl-item { grid-template-columns: 40px minmax(0, 1fr); }
  .tl-dot { width: 40px; height: 40px; }
  .timeline::before { left: 18px; }
  .timeline .tl-year { font-size: 22px; }
  .timeline .tl-text { font-size: 14px; }
  .panel { margin: 0 20px 28px; padding: 24px; border-radius: 24px; }
  .funders-panel { gap: 16px; }
  .on-dark-muted { font-size: 15px; }
  .team-grid { gap: 20px 12px; }
  .headshot { width: 140px; height: 140px; }
  .funder-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid { grid-template-columns: minmax(0, 1fr); }
  .venue-grid { grid-template-columns: minmax(0, 1fr); }
  .pr-actions { grid-template-columns: 1fr 1fr; }
  .pr-price { grid-column: 1 / -1; }
  .pr-name { font-size: 28px; }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .contact-card { padding: 22px; }
  .shop-hero { margin: 16px 20px 0; padding: 24px; border-radius: 28px; }
  .cta-strip, .share { padding: 24px; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

@media print {
  .site-nav, .menu-btn, .admin-bar, .filters, .map { display: none !important; }
  .band-blue, .band-gold, .panel { background: none !important; color: var(--ink) !important; }
}

/* ---------- Motion ----------
   Only when html.anim is set (public/js/anim-init.js): never in edit mode or with reduced motion, and it is removed
   again if site.js doesn't load. Uses the separate translate/scale/rotate properties so the design's tilts, which
   use transform, are kept. site.js adds .shown when an element scrolls into view, then .settled once it has
   arrived (which hands transitions back to the normal hover styles). */
:root { --spring: cubic-bezier(.34, 1.56, .64, 1); --glide: cubic-bezier(.2, .8, .2, 1); }

/* 1. Headline pills drop in and settle into their tilt (rotate adds to the tilt set by transform) */
@keyframes pill-drop-a {
  from { opacity: 0; translate: 0 -48px; rotate: -14deg; scale: .6; }
  60% { opacity: 1; }
}
@keyframes pill-drop-b {
  from { opacity: 0; translate: 0 -48px; rotate: 14deg; scale: .6; }
  60% { opacity: 1; }
}
.anim :is(.hero, .shop-hero) .pill-a { animation: pill-drop-a .7s var(--spring) .15s both; }
.anim :is(.hero, .shop-hero) .pill-b { animation: pill-drop-b .7s var(--spring) .32s both; }

/* 2. The route line draws itself as you scroll (site.js sets --p from 0 to 1); stops pop in as it reaches them */
.anim .route::before { clip-path: inset(0 0 calc((1 - var(--p, 0)) * 100%) 0); }
.anim .stop:not(.shown) .stop-num { scale: 0; }
.anim .stop:not(.shown) .stop-card { opacity: 0; translate: -48px 0; }
.anim .stop-right:not(.shown) .stop-card { translate: 48px 0; }
.anim .stop.shown:not(.settled) .stop-num { transition: scale .5s var(--spring); }
.anim .stop.shown:not(.settled) .stop-card { transition: opacity .45s ease .12s, translate .6s var(--glide) .12s; }

/* Horizontal timeline (home): the navy line draws left to right and the gold dots pop on in turn */
.anim .timeline::before { transform-origin: left; scale: 0 1; }
.anim .timeline.shown::before { scale: 1 1; transition: scale 1.1s var(--glide); }
.anim .timeline:not(.shown) .tl-dot { scale: 0; }
.anim .timeline:not(.shown) .tl-item > :not(.tl-dot) { opacity: 0; translate: 0 12px; }
.anim .timeline.shown:not(.settled) .tl-dot { transition: scale .45s var(--spring) calc(var(--i, 0) * 180ms + 200ms); }
.anim .timeline.shown:not(.settled) .tl-item > :not(.tl-dot) { transition: opacity .4s ease calc(var(--i, 0) * 180ms + 320ms), translate .5s var(--glide) calc(var(--i, 0) * 180ms + 320ms); }

/* 3. Cards, tiles and photos fade up in a quick stagger (site.js sets --d per element) */
.anim :is(.prog-card, .news-card, .stat, .principle, .story-card, .tile, .product, .pillar, .team-member, .venue-card, .prog-row, .vacancy, .funder,
  .photo-row > *, .about-photos > *, .camp-photos > *, .shop-arch):not(.shown) { opacity: 0; translate: 0 32px; }
.anim :is(.prog-card, .news-card, .stat, .principle, .story-card, .tile, .product, .pillar, .team-member, .venue-card, .prog-row, .vacancy, .funder,
  .photo-row > *, .about-photos > *, .camp-photos > *, .shop-arch).shown:not(.settled) {
  transition: opacity .5s ease var(--d, 0ms), translate .7s var(--glide) var(--d, 0ms);
}
.anim :is(.photo-side, .about-circle, .camp-photos > *):not(.shown) { scale: .85; }
.anim :is(.photo-side, .about-circle, .camp-photos > *).shown:not(.settled) {
  transition: opacity .5s ease var(--d, 0ms), translate .7s var(--glide) var(--d, 0ms), scale .7s var(--spring) var(--d, 0ms);
}

/* 4. Extras: filtered lists, lightbox and mobile menu */
@keyframes filter-in { from { opacity: 0; translate: 0 14px; } }
.anim .filter-in { animation: filter-in .35s var(--glide) both; animation-delay: var(--d, 0ms); }
@keyframes backdrop-in { from { opacity: 0; } }
.anim .lightbox[open]::backdrop { animation: backdrop-in .3s ease; }
@keyframes caption-in { from { opacity: 0; translate: 0 8px; } }
.anim .lightbox[open] .lightbox-caption { animation: caption-in .4s ease .2s both; }
@keyframes backdrop-out { to { opacity: 0; } }
.anim .lightbox.closing::backdrop { animation: backdrop-out .34s ease forwards; }
.anim .lightbox.closing :is(.lightbox-caption, .lb-btn) { opacity: 0; transition: opacity .15s ease; }
@keyframes menu-in { from { opacity: 0; translate: 0 -10px; scale: .97; } }
.anim .site-nav.open { animation: menu-in .22s var(--glide); transform-origin: top right; }

@media (max-width: 900px) {
  /* Stops all sit to the right of the line on narrow screens */
  .anim .stop-left:not(.shown) .stop-card { translate: 48px 0; }
  .anim .timeline::before { transform-origin: top; scale: 1 0; }
  .anim .timeline.shown::before { scale: 1 1; }
}

/* ---------- Edit mode ----------
   Adjustments to this theme while an editor is working (html.is-editing). The editing tools themselves are styled
   by the engine (/_engine/editor.css). */
.is-editing .band-blue .ed-text, .is-editing .panel .ed-text, .is-editing .band-navy .ed-text { outline-color: rgba(246, 198, 53, .6); }
.is-editing .stretch::after { display: none; }
.is-editing .tile { overflow: visible; }
.is-editing .tile .tile-img { border-radius: inherit; }
.is-editing .tile-circle .ed-item-tools, .is-editing .tile-archTop .ed-item-tools { right: 50%; transform: translateX(50%); }
.is-editing .prog-card:hover { transform: rotate(var(--tilt, 0deg)); }
.band-blue .ed-add, .band-navy .ed-add, .panel .ed-add { border-color: #fff; }

/* Pages from Admin > Pages: tables and pictures from uploaded HTML */
.static-page .prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.static-page .prose th, .static-page .prose td { border: 1px solid rgba(0, 0, 0, .15); padding: 8px 10px; text-align: left; vertical-align: top; }
.static-page .prose img { max-width: 100%; height: auto; }
