/* Photo 51 CIC website, v2
   Brand: Bebas Neue (display), Montserrat (text)
   Palette: black, charcoal, white, mist, mustard
   Mustard is only ever a fill behind black text, never text on white (contrast). */

@font-face { font-family: "Bebas Neue"; src: url("/assets/fonts/bebas-neue-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("/assets/fonts/montserrat-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("/assets/fonts/montserrat-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("/assets/fonts/montserrat-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("/assets/fonts/montserrat-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --black: #000000;
  --charcoal: #1A1A1A;
  --white: #FFFFFF;
  --mist: #F3F3F1;
  --line: #DEDEDE;
  --muted: #555555;
  --on-dark: #CFCFCF;
  --mustard: #F5B800;

  --display: "Bebas Neue", "Oswald", "Arial Narrow", Impact, sans-serif;
  --text: "Montserrat", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(4.5rem, 10vw, 8.5rem);
  --measure: 64ch;
  --header-h: 4.75rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font-family: var(--text); font-size: 1.0625rem; line-height: 1.68; color: var(--charcoal); background: var(--white); text-rendering: optimizeLegibility; }
img, picture, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
p { margin: 0 0 1.1em; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 700; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: .94; letter-spacing: .005em; margin: 0 0 .45em; text-wrap: balance; }
h1 { font-size: clamp(3.5rem, 9vw, 7.75rem); }
h2 { font-size: clamp(2.6rem, 5.6vw, 4.75rem); }
h3 { font-size: clamp(1.7rem, 2.8vw, 2.35rem); line-height: 1; }
h4 { font-family: var(--text); font-weight: 700; font-size: 1.05rem; line-height: 1.35; letter-spacing: 0; }
.lead { font-size: clamp(1.15rem, 1.7vw, 1.38rem); line-height: 1.55; font-weight: 500; }
.sub { font-weight: 600; font-size: 1.15rem; line-height: 1.4; margin-bottom: 1.25rem; max-width: 42ch; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--mist { background: var(--mist); }
.section--dark { background: var(--black); color: var(--white); }
.section--charcoal { background: var(--charcoal); color: var(--white); }
.section--dark p, .section--charcoal p, .page-head p { color: var(--on-dark); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { margin: 0 0 .3em; }
.section-head .sub { margin-bottom: 0; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

:focus-visible { outline: 3px solid var(--mustard); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--mustard); color: var(--black); padding: .8rem 1.1rem; font-weight: 700; z-index: 200; }
.skip:focus { left: 1rem; top: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(0,0,0,.92); color: var(--white); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid rgba(255,255,255,.08); }
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.brand { margin-right: auto; display: block; }
.brand img { width: 150px; }
.nav ul { display: flex; align-items: center; gap: clamp(.9rem, 1.6vw, 1.6rem); }
.nav a { text-decoration: none; font-weight: 600; font-size: .92rem; padding: .4rem 0; border-bottom: 2px solid transparent; color: var(--white); }
.nav a:hover { border-bottom-color: rgba(255,255,255,.5); }
.nav a[aria-current="page"] { border-bottom-color: var(--mustard); }
.nav .nav-cta a { background: var(--mustard); color: var(--black); padding: .7rem 1rem; border: 0; }
.nav .nav-cta a:hover { background: var(--white); }
.nav-toggle { display: none; background: none; color: var(--white); border: 1px solid rgba(255,255,255,.5); padding: .55rem .9rem; font: 600 .9rem var(--text); cursor: pointer; }
@media (max-width: 1080px) {
  .nav-toggle { display: inline-block; }
  .nav { display: none; position: absolute; inset: 100% 0 auto 0; background: var(--black); border-bottom: 1px solid #222; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: .5rem var(--gutter) 1.5rem; }
  .nav a { display: block; padding: 1rem 0; border-bottom: 1px solid #222; font-size: 1.05rem; }
  .nav a[aria-current="page"] { border-bottom-color: #222; box-shadow: inset 4px 0 0 var(--mustard); padding-left: 1rem; }
  .nav .nav-cta { margin-top: 1rem; }
  .nav .nav-cta a { text-align: center; padding: 1rem; }
}

/* Buttons and links */
.btn { display: inline-flex; align-items: center; gap: .6rem; font: 700 1rem/1.1 var(--text); text-decoration: none; padding: 1.05rem 1.5rem; border: 2px solid var(--mustard); background: var(--mustard); color: var(--black); transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.btn:hover { background: var(--white); border-color: var(--white); color: var(--black); }
.btn--ghost { background: transparent; border-color: currentColor; color: inherit; }
.btn--ghost:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.on-light .btn:hover, .on-light .btn--ghost:hover { background: var(--black); color: var(--white); border-color: var(--black); }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.text-link { font-weight: 700; text-decoration: underline; text-decoration-color: var(--mustard); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.text-link:hover { text-decoration-color: currentColor; }

/* Viewfinder: the bracket corners from the 51 mark, framing what is in focus */
.vf { --vf: var(--black); --len: clamp(18px, 2.4vw, 30px); --w: 3px; position: relative; padding: clamp(10px, 1.2vw, 14px);
  background:
    linear-gradient(var(--vf),var(--vf)) top left/var(--len) var(--w) no-repeat, linear-gradient(var(--vf),var(--vf)) top left/var(--w) var(--len) no-repeat,
    linear-gradient(var(--vf),var(--vf)) top right/var(--len) var(--w) no-repeat, linear-gradient(var(--vf),var(--vf)) top right/var(--w) var(--len) no-repeat,
    linear-gradient(var(--vf),var(--vf)) bottom left/var(--len) var(--w) no-repeat, linear-gradient(var(--vf),var(--vf)) bottom left/var(--w) var(--len) no-repeat,
    linear-gradient(var(--vf),var(--vf)) bottom right/var(--len) var(--w) no-repeat, linear-gradient(var(--vf),var(--vf)) bottom right/var(--w) var(--len) no-repeat; }
.section--dark .vf, .section--charcoal .vf, .page-head .vf { --vf: var(--white); }
.vf picture, .vf img { width: 100%; }
.vf img { aspect-ratio: var(--ratio, 4 / 3); object-fit: cover; background: #ccc; }

/* Home hero: the one orchestrated moment. The headline resolves from blur into focus. */
.hero { position: relative; isolation: isolate; background: var(--black); color: var(--white); min-height: min(92vh, 860px); display: grid; align-items: end; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media picture { display: block; height: 100%; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,0,0,.94) 0%, rgba(0,0,0,.82) 38%, rgba(0,0,0,.25) 72%, rgba(0,0,0,.05) 100%), linear-gradient(0deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,0) 40%); }
.hero-inner { padding-block: clamp(5rem, 12vw, 9rem) clamp(2.5rem, 5vw, 3.5rem); }
.hero h1 { font-size: clamp(4.2rem, 13vw, 11.5rem); line-height: .84; margin-bottom: 1.75rem; max-width: 12ch; }
.hero h1 span { display: block; }
.hero h1 .focus { color: var(--mustard); }
.hero .lead { color: #E4E4E4; max-width: 44ch; }
@media (prefers-reduced-motion: no-preference) {
  .hero h1 span { animation: focus-in 1.4s cubic-bezier(.2,.7,.2,1) both; }
  .hero h1 span:nth-child(2) { animation-delay: .16s; }
  .hero h1 span:nth-child(3) { animation-delay: .32s; }
  .hero-media img { animation: settle 2.4s cubic-bezier(.2,.7,.2,1) both; }
}
@media (max-width: 700px) { .hero::before { background: linear-gradient(0deg, rgba(0,0,0,.95) 0%, rgba(0,0,0,.8) 55%, rgba(0,0,0,.45) 100%); } }
@keyframes focus-in { 0% { filter: blur(20px); opacity: .2; transform: translateX(-.05em); } 55% { opacity: 1; } 100% { filter: blur(0); opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.06); filter: blur(6px); } to { transform: none; filter: none; } }

/* Audience bar under the hero */
.audience-bar { border-top: 1px solid rgba(255,255,255,.18); margin-top: clamp(2.5rem, 6vw, 4.5rem); display: grid; grid-template-columns: auto repeat(4, 1fr); }
.audience-bar p { margin: 0; padding: 1.2rem 1.5rem 1.2rem 0; font-size: .9rem; font-weight: 600; color: #BDBDBD; align-self: center; }
.audience-bar a { display: block; text-decoration: none; padding: 1.2rem 1.25rem; border-left: 1px solid rgba(255,255,255,.18); font-family: var(--display); font-size: clamp(1.4rem, 2vw, 1.75rem); line-height: 1; transition: background-color .15s ease, color .15s ease; }
.audience-bar a span { display: block; font-family: var(--text); font-size: .8rem; font-weight: 500; color: #BDBDBD; margin-top: .35rem; line-height: 1.3; }
.audience-bar a:hover { background: var(--mustard); color: var(--black); }
.audience-bar a:hover span { color: var(--black); }
@media (max-width: 900px) { .audience-bar { grid-template-columns: 1fr 1fr; } .audience-bar p { grid-column: 1 / -1; } .audience-bar a { border-left: 0; border-top: 1px solid rgba(255,255,255,.18); } .audience-bar a:nth-of-type(odd) { border-right: 1px solid rgba(255,255,255,.18); } }

/* Inner page head */
.page-head { background: var(--black); color: var(--white); padding-block: clamp(4rem, 9vw, 7rem) clamp(3rem, 6vw, 5rem); position: relative; overflow: hidden; }
.page-head .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.page-head--text .wrap { grid-template-columns: minmax(0, 1fr); }
.page-head h1 { margin-bottom: .35em; }
.page-head .lead { color: #E0E0E0; }
.crumb { font-size: .9rem; font-weight: 600; margin-bottom: 1.25rem; color: #BDBDBD; }
.crumb a { color: var(--white); }
@media (max-width: 860px) { .page-head .wrap { grid-template-columns: 1fr; } }

/* Split layouts */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.split--wide-text { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.split--flip > :first-child { order: 2; }
@media (max-width: 860px) { .split, .split--wide-text { grid-template-columns: 1fr; } .split--flip > :first-child { order: 0; } }

.statement { font-family: var(--display); font-size: clamp(2.1rem, 4.2vw, 3.4rem); line-height: .98; max-width: 18ch; margin: 2.25rem 0 0; color: inherit; }
.statement::before { content: ""; display: block; width: 3.5rem; height: 5px; background: var(--mustard); margin-bottom: 1.1rem; }

/* Strands (what we do) */
.strands { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.75rem, 3.5vw, 3rem); }
.strand h3 { margin-top: 1.5rem; }
@media (max-width: 900px) { .strands { grid-template-columns: 1fr; max-width: 560px; } }

/* Programmes in delivery */
.programmes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.programme { background: var(--white); border-top: 6px solid var(--mustard); padding: clamp(1.75rem, 3.5vw, 2.75rem); display: flex; flex-direction: column; }
.programme .status { display: inline-flex; align-items: center; gap: .5rem; font-size: .85rem; font-weight: 700; margin-bottom: 1.1rem; }
.programme .status::before { content: ""; width: .6rem; height: .6rem; border-radius: 50%; background: #1E9E52; box-shadow: 0 0 0 4px rgba(30,158,82,.18); }
.programme .status--planned::before { background: var(--mustard); box-shadow: 0 0 0 4px rgba(245,184,0,.25); }
.programme h3 { margin-bottom: .6rem; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: .45rem 1.25rem; margin: 1.25rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: .95rem; }
.facts dt { font-weight: 700; }
.facts dd { margin: 0; }
@media (max-width: 860px) { .programmes { grid-template-columns: 1fr; } }

/* Track record rows */
.record { border-top: 2px solid currentColor; }
.record li { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) minmax(0, .8fr); gap: 1.5rem 2.5rem; padding: 1.75rem 0; border-bottom: 1px solid rgba(255,255,255,.18); align-items: start; }
.section--mist .record li, .on-light .record li { border-bottom-color: var(--line); }
.record h3 { margin: 0; }
.record p { margin: 0; }
.record .who { font-size: .88rem; font-weight: 600; color: #BDBDBD; }
.on-light .record .who { color: var(--muted); }
@media (max-width: 860px) { .record li { grid-template-columns: 1fr; gap: .6rem; } }

.callout-number { font-family: var(--display); font-size: clamp(4.5rem, 10vw, 8rem); line-height: .85; color: var(--mustard); }

/* Work with us rows */
.routes { border-top: 2px solid var(--black); }
.route { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.5fr) 17.5rem; gap: 1.5rem 3rem; align-items: center; padding: clamp(1.75rem, 3vw, 2.5rem) 0; border-bottom: 1px solid var(--line); }
.route h3 { margin: 0; font-size: clamp(2rem, 3.4vw, 2.9rem); }
.route p { margin: 0; }
.route .btn { white-space: nowrap; justify-content: center; }
@media (max-width: 900px) { .route { grid-template-columns: 1fr; gap: .9rem; } .route .btn { justify-self: start; } }

/* Partners */
.partners { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.partner { background: var(--white); padding: 1.5rem; display: flex; flex-direction: column; gap: 1.1rem; }
.partner picture, .partner img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.partner .wordmark { aspect-ratio: 1; display: grid; place-items: center; text-align: center; background: var(--mist); font-family: var(--display); font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1; padding: 1rem; }
.partner span { font-weight: 600; font-size: .92rem; line-height: 1.35; }
@media (max-width: 860px) { .partners { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Trust band */
.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(255,255,255,.2); }
.trust li { padding: 1.75rem 1.75rem 1.75rem 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.trust li:not(:nth-child(3n+1)) { padding-left: 1.75rem; border-left: 1px solid rgba(255,255,255,.2); }
.trust h3 { font-size: 1.7rem; margin-bottom: .4rem; color: var(--white); }
.trust p { font-size: .95rem; margin: 0; }
@media (max-width: 860px) { .trust { grid-template-columns: 1fr; } .trust li, .trust li:not(:nth-child(3n+1)) { padding: 1.5rem 0; border-left: 0; } }

/* Examples lists */
.examples { margin-top: 1.75rem; }
.examples ul { columns: 2 15rem; column-gap: 2.5rem; }
.examples li { break-inside: avoid; position: relative; padding: .5rem 0 .5rem 1.4rem; border-top: 1px solid var(--line); font-size: .97rem; }
.examples li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: .55rem; height: .55rem; background: var(--mustard); }
.work-block + .work-block { margin-top: clamp(5rem, 10vw, 8rem); }

/* Workshops */
.workshops { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.18); }
.workshop { background: var(--charcoal); padding: clamp(1.75rem, 3vw, 2.5rem); }
.workshop .meta { font-size: .88rem; font-weight: 600; color: var(--mustard); margin-bottom: .8rem; }
@media (max-width: 760px) { .workshops { grid-template-columns: 1fr; } }

/* Formats and steps */
.formats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 4rem); }
.formats h3 { padding-bottom: .6rem; border-bottom: 4px solid var(--mustard); }
.formats li { padding: .8rem 0; border-bottom: 1px solid var(--line); font-weight: 600; }
@media (max-width: 760px) { .formats { grid-template-columns: 1fr; } }
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem; }
.steps li { counter-increment: step; border-top: 2px solid var(--black); padding-top: 1.1rem; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--display); font-size: 2.4rem; line-height: 1; margin-bottom: .6rem; }
.steps h3 { font-family: var(--text); font-weight: 700; font-size: 1.05rem; line-height: 1.3; margin-bottom: .4rem; }
.steps p { font-size: .95rem; }
@media (max-width: 1000px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Values */
.values-list { border-top: 2px solid var(--black); }
.value { display: grid; grid-template-columns: minmax(4.5rem, 8rem) minmax(0, 1fr); gap: 1.5rem; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.value .num { font-family: var(--display); font-size: clamp(2.6rem, 5vw, 3.75rem); line-height: .9; }
.value .num::after { content: ""; display: block; width: 1.75rem; height: 4px; background: var(--mustard); margin-top: .6rem; }
.value h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); margin-bottom: .35em; }
@media (max-width: 560px) { .value { grid-template-columns: 1fr; gap: .5rem; } }
.zero { margin-top: clamp(3rem, 6vw, 5rem); background: var(--black); color: var(--white); padding: clamp(2rem, 5vw, 3.5rem); border-left: 10px solid var(--mustard); }
.zero p { color: var(--white); font-size: 1.15rem; font-weight: 500; }

/* Documents */
.docs { border-top: 2px solid var(--black); }
.doc { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem 2rem; align-items: center; padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.doc h3 { margin: 0 0 .3rem; }
.doc p { margin: 0; font-size: .95rem; color: var(--muted); }
.doc .actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.doc .actions a { font-weight: 700; font-size: .95rem; padding: .75rem 1rem; border: 2px solid var(--black); text-decoration: none; white-space: nowrap; }
.doc .actions a:hover { background: var(--black); color: var(--white); }
.doc .actions a.pdf { background: var(--mustard); border-color: var(--mustard); color: var(--black); }
.doc .actions a.pdf:hover { background: var(--black); border-color: var(--black); color: var(--white); }
@media (max-width: 760px) { .doc { grid-template-columns: 1fr; } }

.concern { background: var(--mustard); color: var(--black); padding: clamp(1.75rem, 4vw, 2.75rem); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 1.5rem 3rem; }
.concern h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: .4rem; }
.concern p { color: var(--black); }
.concern dl { margin: 0; display: grid; gap: .3rem; font-weight: 600; }
.concern dt { font-size: .85rem; font-weight: 700; margin-top: .6rem; }
.concern dd { margin: 0; font-size: 1.05rem; }
.concern a { color: var(--black); font-weight: 700; }
@media (max-width: 760px) { .concern { grid-template-columns: 1fr; } }

/* Policy document pages */
.doc-body { max-width: 760px; }
.doc-body h2 { font-size: clamp(1.9rem, 3.2vw, 2.5rem); margin-top: 0; }
.doc-body section + section { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.doc-body ul { margin: 0 0 1.1em; }
.doc-body li { position: relative; padding: .3rem 0 .3rem 1.4rem; }
.doc-body li::before { content: ""; position: absolute; left: 0; top: .95rem; width: .5rem; height: .5rem; background: var(--mustard); }
.doc-meta { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1.5rem; margin: 0 0 2.5rem; padding: 1.5rem; background: var(--mist); font-size: .95rem; }
.doc-meta dt { font-weight: 700; }
.doc-meta dd { margin: 0; }
.doc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.doc-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); padding: 1.5rem; border: 2px solid var(--black); }
.doc-aside h2 { font-size: 1.6rem; }
.doc-aside li { padding: .4rem 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.doc-aside a { text-decoration: none; }
.doc-aside a:hover, .doc-aside a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--mustard); text-decoration-thickness: 3px; }
@media (max-width: 960px) { .doc-layout { grid-template-columns: 1fr; } .doc-aside { position: static; } }

/* Founders */
.founders { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.75rem, 3vw, 3rem); }
.founder { border-top: 6px solid var(--mustard); padding-top: 1.5rem; }
.founder h3 { margin-bottom: .2em; }
.founder .roles { font-weight: 600; font-size: .95rem; margin-bottom: 1rem; }
.founder .creds { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .92rem; }
.founder .creds li { padding: .25rem 0; }
@media (max-width: 960px) { .founders { grid-template-columns: 1fr; max-width: 640px; } }

.governance { display: grid; grid-template-columns: max-content 1fr; gap: .8rem 2.5rem; border-top: 2px solid currentColor; padding-top: 1.5rem; }
.governance dt { font-weight: 700; }
.governance dd { margin: 0; }
@media (max-width: 640px) { .governance { grid-template-columns: 1fr; gap: .2rem; } .governance dd { margin-bottom: .8rem; } }

/* Support */
.asks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.ask { background: var(--white); padding: clamp(1.75rem, 3vw, 2.5rem); }
.ask h3 { margin-bottom: .5rem; }
@media (max-width: 760px) { .asks { grid-template-columns: 1fr; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
address { font-style: normal; font-size: 1.1rem; line-height: 1.6; font-weight: 500; }
.enquiries li { border-bottom: 1px solid var(--line); }
.enquiries li:first-child { border-top: 2px solid var(--black); }
.enquiries a { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; padding: 1.25rem 0; text-decoration: none; }
.enquiries strong { font-family: var(--display); font-weight: 400; font-size: 1.9rem; line-height: 1; }
.enquiries span { grid-column: 1; font-size: .93rem; color: var(--muted); }
.enquiries a::after { content: ""; grid-row: 1 / span 2; grid-column: 2; align-self: center; width: 2.75rem; height: 2.75rem; background: var(--mustard) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/1.2rem no-repeat; }
.enquiries a:hover strong { text-decoration: underline; text-decoration-color: var(--mustard); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.map-box { position: relative; aspect-ratio: 4 / 3; background: var(--charcoal); color: var(--white); display: grid; place-items: center; text-align: center; padding: 2rem; }
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-box p { color: var(--on-dark); margin-inline: auto; }

/* CTA band */
.cta-band h2 { max-width: 14ch; }

/* Footer */
.site-footer { background: var(--black); color: var(--on-dark); padding: clamp(4rem, 8vw, 6rem) 0 2.5rem; font-size: .95rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.site-footer .logo { width: 240px; margin-bottom: 1.25rem; }
.site-footer h2 { font-size: 1.55rem; color: var(--white); margin-bottom: .8rem; }
.site-footer li { margin-bottom: .5rem; }
.site-footer a { color: var(--white); text-decoration-color: rgba(245,184,0,.8); }
.legal { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid #2A2A2A; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; font-size: .84rem; }
.legal p { color: #A8A8A8; max-width: 80ch; margin: 0; }

.print-only { display: none; }

/* Print: policy pages print as clean documents */
@media print {
  .site-header, .site-footer, .skip, .doc-aside, .no-print { display: none !important; }
  body { font-size: 11pt; color: #000; }
  .page-head { background: none; color: #000; padding: 0 0 12pt; border-bottom: 3pt solid var(--mustard); }
  .page-head p, .page-head .lead { color: #000; }
  .section { padding: 12pt 0; }
  .doc-layout { display: block; }
  a { text-decoration: none; }
  .print-only { display: block; width: 46mm; margin-bottom: 8mm; }
  .page-head h1 { font-size: 34pt; }
  .page-head .lead { font-size: 12pt; }
  .doc-body { max-width: none; }
  .doc-body h2 { font-size: 20pt; break-after: avoid; }
  .doc-body section + section { margin-top: 16pt; padding-top: 12pt; }
  .doc-body li, .doc-body p { break-inside: avoid; }
  .doc-meta { break-inside: avoid; }
  .wrap { padding-inline: 0; }
}
.label { font-family: var(--text); font-weight: 700; font-size: 1.05rem; line-height: 1.35; letter-spacing: 0; margin-bottom: .6rem; }
