/* SRCA site styles. Colors, type and spacing come from BRAND_GUIDE.md.
   Written phone-first: base rules are the 360px layout, media queries add
   columns. Motion is opt-in: every animation sits behind the "js" class or a
   reduced-motion check, so the page is complete without them. */

:root {
  --ocean: #123C46;   /* logo color: text, dark bands, footer */
  --teal: #177A70;    /* links, menu tab, tiles */
  --sun: #EBAA3A;     /* buttons, highlights, big numbers on dark */
  --lagoon: #2FB5A6;  /* decoration only */
  --sky: #E4F2EF;
  --sand: #FBF3E3;
  --white: #FFFFFF;
  --slate: #48606A;
  --error: #A92D3B;
  --rule: #C9DEDA;

  --font: "Outfit", "Avenir Next", "Segoe UI", Arial, sans-serif;

  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s6: 48px; --s8: 64px; --s12: 96px;
  --radius: 14px;
  --header: 68px;
  --wave: 80px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 16px); }
body { margin: 0; background: var(--white); color: var(--ocean); font: 400 17px/1.6 var(--font); }
h1, h2, h3 { font-weight: 500; line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 var(--s2); text-wrap: balance; }
h1 { font-size: 2.25rem; }
h2 { font-size: 1.875rem; }
h3 { font-size: 1.375rem; }
p { margin: 0 0 var(--s2); max-width: 66ch; }
a { color: var(--teal); font-weight: 500; text-underline-offset: 3px; }
a:hover { color: var(--ocean); }
/* Why: Sun alone is under 3:1 on white (WCAG 1.4.11), so an ocean ring sits inside it;
   one of the two colors always stands out, on light sections and on photos. */
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; box-shadow: 0 0 0 3px var(--ocean); border-radius: 4px; }
img, video, svg { max-width: 100%; display: block; }
img { height: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 var(--s2); }
main { padding-top: var(--header); }
.has-hero main { padding-top: 0; }
.section { padding: var(--s8) 0; }
.section--sky, .section--mist { background: var(--sky); }
.section--sand { background: var(--sand); }
.section--teal, .section--ocean { background: var(--ocean); color: var(--white); }
.section--teal a:not(.button), .section--ocean a:not(.button) { color: var(--white); }
.lead { font-size: 1.25rem; line-height: 1.5; color: var(--slate); }
.section--teal .lead, .section--ocean .lead { color: #D5E8E4; }
.center { text-align: center; }
.center p { margin-left: auto; margin-right: auto; }
.accent { color: var(--teal); }
.section--ocean .accent, .intro .accent { color: var(--sun); }

/* The footer's water rises over the end of the page. */
main > :last-child { padding-bottom: calc(var(--s8) + var(--wave)); }

.badge, .label {
  display: inline-block; font-size: 0.875rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--teal); margin: 0 0 var(--s2);
}
.badge::before, .label::before { content: ""; display: inline-block; width: 28px; height: 2px; background: var(--sun); vertical-align: middle; margin-right: 10px; }
.badge a, .label a { color: inherit; }
.tag {
  display: inline-block; font-size: 0.6875rem; font-weight: 600; line-height: 1; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--slate); background: var(--white); border: 1px solid currentColor; border-radius: 999px; padding: 4px 8px; vertical-align: middle;
}
.skip { position: absolute; left: -999px; }
.skip:focus { left: var(--s2); top: var(--s2); background: var(--white); padding: var(--s1) var(--s2); z-index: 100; }

.button {
  display: inline-block; background: var(--sun); color: var(--ocean); font: 500 1.0625rem/1.2 var(--font);
  text-decoration: none; padding: 15px 26px; border: 0; border-radius: 8px; cursor: pointer;
}
.button:hover { background: var(--ocean); color: var(--white); }
.section--ocean .button:hover, .section--teal .button:hover, .intro .button:hover, .hero .button:hover { background: var(--white); color: var(--ocean); }
.button--small { padding: 11px 18px; font-size: 1rem; }
.button--plain { background: var(--white); box-shadow: inset 0 0 0 2px var(--ocean); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); margin-top: var(--s3); }
.center .actions { justify-content: center; }
.arrow::after { content: "→"; display: inline-block; margin-left: 8px; transition: transform 200ms var(--ease); }
.arrow:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40; height: var(--header);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s2); padding: 0 var(--s2);
  background: var(--white); box-shadow: 0 1px 0 rgba(18, 60, 70, 0.12);
  transition: background-color 300ms, box-shadow 300ms;
}
.site-header__logo { width: 164px; height: 52px; background: url(/img/brand/logo.webp) left center / contain no-repeat; flex: none; }
/* Menu button for phones and tablets: a plain icon button at the right of the bar. */
.menu-button {
  display: flex; align-items: center; gap: 8px; padding: 10px 12px; margin-right: -12px;
  color: var(--ocean); font-weight: 500; text-decoration: none; border-radius: 10px;
}
.menu-button:hover { color: var(--teal); background: rgba(18, 60, 70, 0.06); }
.menu-button__x { display: none; }
.menu-open .menu-button__bars { display: none; }
.menu-open .menu-button__x { display: inline; }
.site-header__cta { display: none; }
/* Over a hero photo the bar is see-through and the logo is white. This needs
   the script that turns it solid again on scroll, hence ".js". */
.js .has-hero .site-header:not(.is-solid) { background: transparent; box-shadow: none; }
/* Why: A light photo behind white menu text drops it below 4.5:1 (WCAG 1.4.3), so the top of
   the photo is shaded. The shade runs past the bar so it has no hard bottom edge. */
.js .has-hero .site-header:not(.is-solid)::before { content: ""; position: absolute; inset: 0 0 -50%; z-index: -1; pointer-events: none; background: linear-gradient(rgba(8, 32, 38, 0.75), rgba(8, 32, 38, 0.55) 66%, rgba(8, 32, 38, 0)); }
.js .has-hero .site-header:not(.is-solid) .site-header__logo { background-image: url(/img/brand/logo-white.webp); }
.js .has-hero .site-header:not(.is-solid) .menu-button { color: var(--white); }
/* With the phone menu open the bar is always solid, so it joins the list below. */
.js.menu-open .has-hero .site-header:not(.is-solid) { background: var(--white); box-shadow: 0 1px 0 rgba(18, 60, 70, 0.12); }
.js.menu-open .has-hero .site-header:not(.is-solid) .site-header__logo { background-image: url(/img/brand/logo.webp); }
.js.menu-open .has-hero .site-header:not(.is-solid) .menu-button { color: var(--ocean); }

/* Header links. Hidden on narrow screens, where the Menu tab holds them. */
.site-nav { display: none; }
.site-nav > ul { display: flex; align-items: center; gap: var(--s3); list-style: none; margin: 0; padding: 0; }
.site-nav a { display: block; padding: 8px 0; color: var(--ocean); font-weight: 500; text-decoration: none; white-space: nowrap; }
.site-nav > ul > li > a { box-shadow: inset 0 -2px 0 transparent; transition: box-shadow 150ms, color 150ms; }
.site-nav > ul > li > a:hover, .site-nav > ul > li > a[aria-current], .site-nav__group.is-here > .site-nav__toggle { color: var(--teal); box-shadow: inset 0 -2px 0 var(--sun); }
/* A label with pages under it: the label and arrow open a small panel below. */
.site-nav__group { position: relative; display: flex; align-items: center; gap: 2px; }
.site-nav__toggle { display: flex; align-items: center; gap: 6px; padding: 8px 0; border: 0; background: none; color: var(--ocean); font: inherit; font-weight: 500; white-space: nowrap; cursor: pointer; box-shadow: inset 0 -2px 0 transparent; transition: box-shadow 150ms, color 150ms; }
.site-nav__toggle:hover, .site-nav__group.is-open .site-nav__toggle { color: var(--teal); }
.site-nav__toggle svg { transition: transform 200ms var(--ease); }
.site-nav__sub {
  position: absolute; top: 100%; left: -16px; min-width: 200px; list-style: none; margin: 0; padding: var(--s1);
  background: var(--white); border-radius: var(--radius); box-shadow: 0 12px 32px rgba(18, 60, 70, 0.16);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity 150ms, transform 150ms var(--ease), visibility 0s 150ms;
}
.site-nav__sub a { padding: 10px 12px; border-radius: 8px; }
.site-nav__sub a:hover, .site-nav__sub a[aria-current] { background: var(--sky); color: var(--teal); }
/* Hover opens it for a mouse, focus-within for the keyboard, is-open for the arrow. */
.site-nav__group:hover .site-nav__sub, .site-nav__group:focus-within .site-nav__sub, .site-nav__group.is-open .site-nav__sub {
  opacity: 1; visibility: visible; transform: none; transition: opacity 150ms, transform 150ms var(--ease), visibility 0s;
}
.site-nav__group:hover .site-nav__toggle svg, .site-nav__group.is-open .site-nav__toggle svg { transform: rotate(180deg); }
/* Over a hero photo the top-level links turn white, like the logo. The
   sub-menu keeps its white panel and dark text. */
.js .has-hero .site-header:not(.is-solid) .site-nav > ul > li > a,
.js .has-hero .site-header:not(.is-solid) .site-nav__toggle { color: var(--white); text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45); }

/* ---------- Phone menu: drops down from under the header bar ---------- */
.menu {
  position: fixed; top: var(--header); left: 0; right: 0; z-index: 39;
  max-height: calc(100vh - var(--header)); max-height: calc(100dvh - var(--header)); overflow: auto;
  background: var(--white); box-shadow: 0 16px 32px rgba(18, 60, 70, 0.16);
  opacity: 0; transform: translateY(-8px); visibility: hidden;
  transition: opacity 200ms, transform 200ms var(--ease), visibility 0s 200ms;
}
.menu:target, .menu.is-open { opacity: 1; transform: none; visibility: visible; transition: opacity 200ms, transform 200ms var(--ease), visibility 0s; }
.menu-open { overflow: hidden; }
/* .menu prefix so .wrap's padding on wider screens can't wipe out the
   space above and below the list. */
.menu .menu__links { list-style: none; margin: 0 auto; padding-top: var(--s1); padding-bottom: var(--s4); }
.menu__links > li { border-bottom: 1px solid var(--rule); }
.menu__links a { display: block; padding: 14px 0; color: var(--ocean); font-weight: 500; text-decoration: none; }
.menu__links a:hover, .menu__links a[aria-current] { color: var(--teal); }
.menu__label { display: block; padding: 14px 0; color: var(--ocean); font-weight: 500; }
/* Sub-pages sit indented under their parent. */
.menu__sub { list-style: none; margin: -6px 0 var(--s1); padding: 0 0 0 var(--s3); }
.menu__links .menu__sub a { padding: 8px 0; color: var(--slate); font-weight: 400; }
.menu__links .menu__sub a:hover, .menu__links .menu__sub a[aria-current] { color: var(--teal); }
.menu__links > li.menu__cta { border-bottom: 0; padding-top: var(--s3); }
.menu__cta .button { display: block; text-align: center; color: var(--ocean); }
.menu__close { display: block; padding: 0 0 var(--s3); text-align: center; }
.js .menu__close { display: none; }

/* ---------- Home intro ----------
   Default (no script, or reduced motion): a plain photo hero.
   With scripts on and motion allowed the stage pins while the visitor scrolls: the "o" in
   "home" grows until the photo inside it fills the screen. site.js sets
   --r/--x/--y (the circle) and --a (how far the headline has faded in). */
.intro { position: relative; background: var(--ocean); color: var(--white); }
.intro__stage { position: relative; min-height: 88vh; display: flex; align-items: flex-start; overflow: hidden; }
.intro__photo { position: absolute; inset: 0; }
.intro__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
/* On a tall phone screen the whole photo height shows, so the people would
   sit behind the headline. A taller photo, cut off at the bottom (the dirt
   path), moves them down below it. */
@media (max-width: 699px) { .intro__photo img { height: 135%; } }
/* The headline sits top left, over the sky, so the people below stay clear;
   the shade is darkest there and fades out toward them. */
/* Why: 0.7 at the middle keeps the sun-colored "Caring Forever" above 3:1 (WCAG 1.4.3, large text). */
.intro__scrim { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(8, 32, 38, 0.88), rgba(8, 32, 38, 0.7) 40%, rgba(8, 32, 38, 0) 75%); }
.intro__question, .intro__ring, .intro__hint { display: none; }
.intro__answer { position: relative; z-index: 2; width: 100%; max-width: 1160px; margin: 0 auto; padding: calc(var(--header) + var(--s4)) var(--s2) var(--s8); }
.intro__answer h1 { font-size: 2.75rem; max-width: 12ch; }
.intro__answer .lead { color: var(--white); max-width: 34ch; }
.intro__answer a:not(.button) { color: var(--white); }

/* Pinned mode. Switched on in CSS (not by the script) so the page has its
   full height from the first paint and photos further down stay unloaded. */
@media (prefers-reduced-motion: no-preference) {
  .js .intro { height: 340vh; }
  .js .intro .intro__stage {
    position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 0;
    /* Faint waves, echoing the logo. */
    background: var(--ocean) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='60'%3E%3Cpath d='M0 30c40-20 80-20 120 0s80 20 120 0' fill='none' stroke='%23ffffff' stroke-opacity='.06' stroke-width='2'/%3E%3C/svg%3E");
  }
  .js .intro .intro__photo { clip-path: circle(var(--r, 0px) at var(--x, 50%) var(--y, 50%)); will-change: clip-path; }
  .js .intro .intro__scrim { opacity: var(--a, 0); }
  .js .intro .intro__ring {
    display: block; position: absolute; left: var(--x, 50%); top: var(--y, 50%); pointer-events: none;
    width: calc(var(--r, 0px) * 2); height: calc(var(--r, 0px) * 2); margin: calc(var(--r, 0px) * -1) 0 0 calc(var(--r, 0px) * -1);
    border-radius: 50%; box-shadow: 0 0 0 calc(var(--r, 0px) * 0.46) var(--sun);
  }
  .js .intro .intro__question { display: flex; position: absolute; inset: 0; align-items: center; justify-content: center; padding: 0 var(--s2); margin: 0; max-width: none; pointer-events: none; }
  /* Not promoted to its own layer on purpose: the sentence is scaled up to 30x and
     a promoted layer is drawn once at 1x and stretched, which makes the letters grainy. */
  .intro__q { display: block; max-width: 17ch; text-align: center; font-size: clamp(2rem, 6.4vw, 4.25rem); font-weight: 500; line-height: 1.14; letter-spacing: -0.02em; }
  .intro__rest { opacity: var(--fade, 1); }
  .intro__word { color: var(--sun); white-space: nowrap; }
  .intro__o { display: inline-block; width: 0.61em; height: 0.61em; vertical-align: -0.045em; }
  .js .intro .intro__answer { position: absolute; left: 0; right: 0; top: 0; opacity: var(--a, 0); transform: translateY(calc((1 - var(--a, 0)) * 36px)); }
  .js .intro .intro__hint {
    display: block; position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); opacity: var(--hint, 1);
    font-size: 0.875rem; letter-spacing: 0.08em; text-transform: uppercase; color: #D5E8E4;
  }
}
.intro__hint::after { content: ""; display: block; width: 2px; height: 28px; margin: 8px auto 0; background: var(--sun); animation: nudge 1.6s var(--ease) infinite; transform-origin: top; }
@keyframes nudge { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Photo header on inner pages ---------- */
.hero { position: relative; color: var(--white); background: var(--ocean); min-height: 54vh; display: flex; align-items: flex-end; overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 32, 38, 0.9), rgba(8, 32, 38, 0.25) 60%, rgba(8, 32, 38, 0.5)); }
.hero__text { position: relative; z-index: 1; width: 100%; max-width: 1160px; margin: 0 auto; padding: calc(var(--header) + var(--s6)) var(--s2) var(--s6); }
.hero__text h1 { max-width: 16ch; }
.hero__text .lead { color: var(--white); max-width: 48ch; margin: 0; }
.hero .badge, .intro .badge { color: var(--white); }

/* Breadcrumbs */
.crumbs { background: var(--sky); font-size: 0.9375rem; }
.crumbs ol { list-style: none; margin: 0; padding: 10px 0; display: flex; flex-wrap: wrap; gap: 4px; }
.crumbs li:not(:last-child)::after { content: "›"; margin-left: 6px; color: var(--slate); }
.crumbs a { padding: 4px 0; }
.crumbs [aria-current] { color: var(--slate); }
.crumbs--photo { background: none; margin-bottom: var(--s2); }
.crumbs--photo .wrap { padding: 0; }
.crumbs--photo ol { padding: 0; }
.crumbs--photo a, .crumbs--photo [aria-current], .crumbs--photo li::after { color: var(--white) !important; }

/* ---------- Photos ---------- */
.shot { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--sky); }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.shot--wide { aspect-ratio: 16 / 10; }
.shot--tall { aspect-ratio: 4 / 5; }
.shot--square { aspect-ratio: 1; }
a:hover .shot img, .shot:hover img { transform: scale(1.04); }
.shot figcaption { position: absolute; left: 12px; bottom: 12px; background: var(--white); color: var(--ocean); font-weight: 600; font-size: 0.875rem; padding: 6px 12px; border-radius: 999px; }
.shot--labelled { position: relative; }
.pair { display: grid; gap: var(--s2); }

/* Placeholder for a photo we do not have (sample businesses). */
.photo {
  margin: 0; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden;
  background: repeating-linear-gradient(135deg, var(--sky) 0 16px, #D3EAE6 16px 32px); display: flex; align-items: flex-end;
}
.photo--wide { aspect-ratio: 16 / 9; }
.photo figcaption { background: var(--white); margin: var(--s2); padding: var(--s1) 12px; font-size: 0.9375rem; color: var(--slate); border-radius: 10px; }
.photo figcaption span { display: block; font-weight: 600; color: var(--teal); }

/* Big statement paragraph */
.statement { font-size: 1.75rem; line-height: 1.22; font-weight: 500; letter-spacing: -0.015em; max-width: 22ch; margin-bottom: var(--s3); }

/* ---------- Areas of work: photo cards ---------- */
.tiles { list-style: none; margin: var(--s4) 0 0; padding: 0; display: grid; gap: var(--s3); }
.tile { display: flex; flex-direction: column; }
.tile > a { color: var(--ocean); text-decoration: none; display: flex; flex-direction: column; height: 100%; }
.tile .shot { aspect-ratio: 4 / 3; margin-bottom: var(--s2); }
.tile h2, .tile h3 { font-size: 1.5rem; margin: 0 0 var(--s1); }
.tile p { margin: 0 0 var(--s2); color: var(--slate); font-weight: 400; }
.tile .arrow { margin-top: auto; color: var(--teal); font-weight: 500; }

/* ---------- Results ---------- */
.results { background: var(--ocean); color: var(--white); padding: var(--s8) 0; text-align: center; }
.figures { display: grid; gap: var(--s4); margin: var(--s4) 0 var(--s3); }
.figures div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; } /* numbers line up across the top even when labels wrap to different lengths */
.figures dt { font-weight: 500; }
.figures dd { margin: 0; font-size: 3.5rem; font-weight: 500; line-height: 1; letter-spacing: -0.03em; color: var(--sun); font-variant-numeric: tabular-nums; }
.figures__note { font-size: 0.9375rem; margin: 0 auto; }
.figures__note .tag { background: transparent; color: var(--white); }
.section--sky .figures dd { color: var(--teal); }
/* Home results: the opening photo first fades toward ocean, then the waves
   roll in, sitting mostly inside the section so less of the photo is covered. */
.results--wave { position: relative; z-index: 1; padding-top: calc(var(--wave) * 0.6 + var(--s6)) !important; }
.results--wave::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 90px; background: linear-gradient(to bottom, rgba(18, 60, 70, 0), rgba(18, 60, 70, 0.7)); pointer-events: none; }
.results--wave > .water { position: absolute; left: 0; top: calc(var(--wave) * -0.4); }
.results .arrow { color: var(--white); }
.results .actions { justify-content: center; }
.section--sky .figures__note .tag { color: var(--slate); }

/* ---------- Cards and lists ---------- */
.cards { list-style: none; margin: var(--s4) 0 0; padding: 0; display: grid; gap: var(--s2); }
.card { background: var(--white); border-radius: var(--radius); padding: var(--s3); box-shadow: 0 1px 0 var(--rule), 0 8px 24px rgba(18, 60, 70, 0.06); display: flex; flex-direction: column; gap: var(--s1); border-top: 4px solid var(--teal); }
.card:nth-child(even) { border-top-color: var(--sun); }
.card h2, .card h3 { font-size: 1.375rem; margin: 0; }
.card h2 a, .card h3 a { color: var(--ocean); }
.card p { margin: 0; color: var(--slate); }
/* A business photo fills the top of its card, edge to edge. */
.card__shot { aspect-ratio: 16 / 10; margin: calc(var(--s3) * -1) calc(var(--s3) * -1) var(--s1); border-radius: calc(var(--radius) - 4px) calc(var(--radius) - 4px) 0 0; }
.card .card__meta { font-size: 0.9375rem; margin-top: auto; padding-top: var(--s1); }
.card__meta strong { color: var(--teal); font-weight: 600; }

.facts { margin: 0; background: var(--sky); border-radius: var(--radius); padding: var(--s1) var(--s3); }
.section--sky .facts, .section--mist .facts { background: var(--white); }
.facts div { display: flex; justify-content: space-between; gap: var(--s2); padding: 13px 0; border-bottom: 1px solid var(--rule); }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--slate); }
.facts dd { margin: 0; font-weight: 500; text-align: right; }
.facts + h2 { margin-top: var(--s6); }

.rows, .timeline, .values { list-style: none; margin: var(--s3) 0 0; padding: 0; }
.rows li, .timeline li { background: var(--sky); border-radius: var(--radius); padding: var(--s2) var(--s3); margin-bottom: var(--s1); display: grid; gap: 4px; }
.section--sky .rows li, .section--mist .rows li, .section--sand .rows li, .section--sky .timeline li, .section--mist .timeline li { background: var(--white); }
.rows li > *, .timeline li > * { justify-self: start; }
.rows h2, .rows h3 { margin: 0; font-size: 1.25rem; }
.rows h2 a, .rows h3 a { color: var(--ocean); }
.rows p { margin: 0; color: var(--slate); }
.rows__meta { font-size: 0.9375rem; }
/* A story with a small photo beside it. */
.rows--photos li { grid-template-columns: 88px 1fr; gap: var(--s2); align-items: start; }
.rows--photos li > div { display: grid; gap: 4px; justify-items: start; }
@media (min-width: 700px) { .rows--photos li { grid-template-columns: 120px 1fr; } }
.rows__meta strong { color: var(--teal); }
.timeline__date { display: block; font-weight: 600; color: var(--teal); }
.values { display: grid; gap: var(--s3); }
.values li { border-top: 2px solid var(--sun); padding-top: var(--s2); }
.values h3 { font-size: 1.25rem; margin-bottom: 4px; }
.values p { margin: 0; color: var(--slate); }
.plain-list { margin: 0 0 var(--s2); padding-left: 1.2em; max-width: 62ch; }
.plain-list li { margin-bottom: 6px; }

.meter { height: 14px; background: var(--white); border: 2px solid var(--rule); border-radius: 999px; overflow: hidden; margin-bottom: var(--s3); }
.meter span { display: block; height: 100%; background: var(--teal); }

/* Impact map */
.map { margin: var(--s4) 0 0; }
.map svg { display: block; width: 100%; height: auto; border-radius: var(--radius); }
/* The rule above would otherwise beat the hidden attribute the map script sets. */
.map svg[hidden] { display: none; }
.map__marker { fill: var(--teal); stroke: var(--white); stroke-width: 3; }
.map__hit { fill: transparent; }
.map__marker--business { fill: var(--ocean); }
.map a:hover .map__marker, .map a:focus-visible .map__marker, .map a.is-selected .map__marker { stroke: var(--sun); stroke-width: 5; }
.map a:focus-visible { outline: none; }
.map figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s1) var(--s2); margin-top: var(--s2); font-size: 0.9375rem; color: var(--slate); }
/* Key buttons. The pressed one is the active filter; while a filter is on,
   the other button fades. */
.map__key { display: inline-flex; align-items: center; gap: var(--s1); min-height: 32px; padding: 0 10px; border: 1px solid var(--rule); border-radius: 999px; background: var(--white); color: var(--ocean); font: inherit; font-weight: 500; cursor: pointer; }
.map__key:hover { border-color: var(--teal); }
.map__key[aria-pressed="true"] { background: var(--sky); border-color: var(--teal); box-shadow: inset 0 0 0 1px var(--teal); }
.map figcaption:has([aria-pressed="true"]) .map__key[aria-pressed="false"] { opacity: 0.55; }
.map__reset { min-height: 32px; padding: 0 10px; border: 0; background: none; color: var(--teal); font: inherit; font-weight: 500; text-decoration: underline; cursor: pointer; }
.map__reset[hidden] { display: none; }
.map [data-kind].is-filtered, .place-pick li.is-filtered { display: none; }
/* Impact map page: the map and a details panel for the chosen place. */
.impact { display: grid; gap: var(--s3); margin-top: var(--s3); }
.impact .map { margin: 0; position: relative; }
/* The key sits on the map's top-left corner at every size. Google keeps that
   corner free; its logo and controls use the others. */
.impact .map figcaption { position: absolute; top: var(--s1); left: var(--s1); z-index: 1; margin: 0; padding: 6px; background: var(--white); border-radius: 12px; box-shadow: 0 2px 8px rgba(18, 60, 70, 0.12); }
/* On phones the Temotu note would cover half the map, so it shows only beside wider maps. */
.impact .map__note { display: none; padding-right: 6px; }
@media (min-width: 960px) { .impact .map__note { display: inline; } }
.place-panel { background: var(--sky); border-radius: var(--radius); padding: var(--s3); align-self: start; }
.place-panel h2 { font-size: 1.5rem; margin: 0 0 var(--s1); }
.place-pick ol { list-style: none; margin: 0; padding: 0; }
.place-pick a { display: flex; gap: 12px; padding: 10px 0; color: var(--ocean); font-weight: 500; text-decoration: none; }
/* A rule between shown items only, so a filtered list has no stray line. */
.place-pick li:not(.is-filtered) ~ li a { border-top: 1px solid var(--rule); }
.place-pick a:hover { color: var(--teal); }
/* A small dot or square before each name, matching the map's markers. */
.place-pick a::before { content: ""; flex: none; width: 12px; height: 12px; margin-top: 0.45em; border-radius: 50%; background: var(--teal); }
.place-pick li[data-kind="business"] a::before { border-radius: 2px; background: var(--ocean); }
/* One place at a time. With scripts, the is-shown class picks it; without,
   the #slug in the address does. The list hides once a place is showing. */
.place-bio { display: none; scroll-margin-top: calc(var(--header) + 16px); }
.place-bio:focus { outline: none; }
.place-bio.is-shown, html:not(.js) .place-bio:target { display: block; }
.place-panel.has-place .place-pick, html:not(.js) .place-panel:has(.place-bio:target) .place-pick { display: none; }
.place-bio__top { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s2); margin-bottom: var(--s1); }
.place-bio__top .label { margin: 0; }
.place-bio__back { flex: none; font-size: 0.9375rem; }
.place-bio__back::before { content: "← "; }
.place-bio p { margin-bottom: var(--s1); }
.place-bio__photo { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); margin-bottom: var(--s2); }
.place-bio__note { color: var(--slate); }
.place-bio .facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); background: var(--sky); margin: var(--s2) 0 0; padding: 10px 0; }
.place-bio .facts div { flex-direction: column; justify-content: flex-start; align-items: center; text-align: center; gap: 2px; padding: 0 var(--s2); border-bottom: 0; border-left: 1px solid var(--rule); }
.place-bio .facts div:first-child { border-left: 0; }
.place-bio .facts dt { font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase; }
.place-bio .facts dd { text-align: center; font-size: 0.9375rem; }
@media (min-width: 960px) {
  /* The map is capped by height, so extra width goes to the panel instead. */
  .impact { grid-template-columns: 3fr 2fr; align-items: start; }
  /* The panel scrolls on its own if a place's details run longer than the map. */
  /* Map and panel share one height: what is left of the screen under the
     header and heading, within sensible limits, so the page needs no scroll. */
  .impact { --map-h: clamp(480px, calc(100vh - 290px), 640px); }
  /* The key sits on the map's top-left corner instead of its own row. Google
     keeps that corner free; its logo and controls use the others. */
  .place-panel { height: var(--map-h); overflow: auto; display: flex; flex-direction: column; }
  /* A chosen place fills the panel exactly: the photo gives up height first,
     so the details fit beside the map without scrolling. */
  .place-bio.is-shown, html:not(.js) .place-bio:target { display: flex; flex-direction: column; flex: 1; min-height: 0; }
  .place-bio > * { flex: none; }
  .place-bio > .place-bio__photo { flex: 1 1 0; min-height: 72px; max-height: 200px; aspect-ratio: auto; }
  /* Extra width beside the drawing is filled with its own sea colour. */
  .impact .map > svg { height: var(--map-h); background: #E8F0ED; }
  .impact .gmap { height: var(--map-h); }
}
/* The Google map, when the site has a key. A fixed height, because the map
   has no size of its own; shorter on phones so the list below stays in reach. */
.gmap { height: 420px; border-radius: var(--radius); overflow: hidden; background: var(--sky); }
.gmap__info { display: grid; gap: 4px; max-width: 220px; font: 400 0.9375rem var(--font); color: var(--ocean); }
.gmap__info p { margin: 0; color: var(--slate); }
@media (min-width: 700px) { .gmap { height: min(640px, 70vh); } }
.steps { margin: 0; padding-left: 1.25em; }
.steps li { margin-bottom: var(--s1); }

.film video { width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--ocean); border-radius: var(--radius); }
.film__note { font-size: 0.9375rem; color: var(--slate); }

.split { display: grid; gap: var(--s4); }

/* Closing band with palms */
.shore { position: relative; overflow: hidden; }
/* The trunks' bases sit halfway down the footer's waves, which are drawn over
   them, so the palms stand in the water instead of floating above it. */
.shore__palms { position: absolute; right: -40px; bottom: calc(var(--wave) * 0.45); width: 240px; height: 195px; opacity: 0.18; }
.shore .wrap { position: relative; }
.palm { fill: var(--white); }
.palm path:first-child { fill: none; stroke: var(--white); stroke-width: 9; stroke-linecap: round; }
.water { display: block; width: 100%; height: var(--wave); }

/* Share panel */
.share__buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: var(--s3); }
.share__status { margin: var(--s2) auto 0; min-height: 1.6em; font-weight: 600; }
/* The footer's share card. */
.share-card { margin-top: var(--s3); padding: var(--s3); border: 1px solid #35616B; border-radius: var(--radius); }
.share-card h2 { font-size: 1.25rem; color: var(--white); margin-bottom: var(--s1); }
.share-card .share__buttons { justify-content: flex-start; gap: var(--s1); margin-top: var(--s2); }
.share-card .share__buttons .button { padding: 8px 14px; font-size: 0.9375rem; color: var(--ocean); }
.share-card .share__buttons .button:hover { background: var(--teal); color: var(--white); }
.share-card .button--plain { background: var(--white); }
.share-card .share__status { margin: var(--s1) 0 0; min-height: 0; color: var(--white); }

/* Home page: tighter sections and shorter photos, for less scrolling. */
.section.section--tight, .results.section--tight { padding: var(--s6) 0; }
main > .section--tight:last-child { padding-bottom: calc(var(--s6) + var(--wave)); }
.section--tight .shot--wide { aspect-ratio: 2 / 1; }
.section--tight .tile .shot { aspect-ratio: 16 / 9; }
.section--tight .shot--tall { aspect-ratio: 1 / 1; }
.section--tight .statement { margin-bottom: var(--s2); }

/* ---------- Forms ---------- */
.form { max-width: 640px; background: var(--sky); border-radius: var(--radius); padding: var(--s3) var(--s2); }
.field { margin-bottom: var(--s3); }
.field label, .field legend { display: block; font-weight: 500; margin-bottom: 6px; padding: 0; }
.field .hint { display: block; font-weight: 400; font-size: 0.9375rem; color: var(--slate); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ocean); background: var(--white); border: 2px solid #86AAA6; border-radius: 8px; padding: 12px;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); }
.field textarea { min-height: 160px; resize: vertical; }
fieldset.field { border: 0; padding: 0; margin-left: 0; margin-right: 0; min-width: 0; }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 6px 0; font-weight: 400; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--teal); }
.field--error input, .field--error select, .field--error textarea { border-color: var(--error); }
.error { color: var(--error); font-weight: 600; margin: 6px 0 0; }
/* Inquiry form: on wider screens, short questions sit in pairs and the
   checkboxes in two columns, so each step stays about as tall as the
   contact details beside it. Phones keep one column for easy tapping. */
@media (min-width: 700px) {
  .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s2); align-items: start; }
  .field-row .hint { display: inline; margin-left: 6px; }
  .form fieldset.field { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s2); }
  .form fieldset.field legend, .form fieldset.field .error { grid-column: 1 / -1; }
}
.form .field { margin-bottom: var(--s2); }
.form .field textarea { min-height: 120px; }
.form .field label, .form .field legend { margin-bottom: 4px; }
/* Inquiry form steps (site.js). */
.step__status { font-weight: 600; color: var(--teal); margin: 0 0 var(--s1); }
.step__status:focus { outline: none; }
.step__nav { display: flex; flex-wrap: wrap; gap: var(--s2); }
.error-summary { border-left: 6px solid var(--error); background: var(--white); border-radius: 8px; padding: var(--s2); margin-bottom: var(--s4); }
.error-summary h2 { font-size: 1.0625rem; font-weight: 600; letter-spacing: 0; margin-bottom: var(--s1); }
.error-summary ul { margin: 0; padding-left: 20px; }
.error-summary a { color: var(--error); }
.hp { position: absolute; left: -9999px; } /* honeypot for spam bots */
[hidden] { display: none !important; }
.contact-list { list-style: none; margin: var(--s3) 0; padding: 0; }
.contact-list li { padding: var(--s1) 0; border-top: 1px solid var(--rule); }
.contact-list span { display: block; font-size: 0.875rem; color: var(--slate); }

/* ---------- Footer ---------- */
.site-footer { position: relative; margin-top: calc(var(--wave) * -1); font-size: 0.9375rem; }
.site-footer__body { background: var(--ocean); color: #D5E8E4; padding: var(--s3) 0 var(--s4); margin-top: -1px; }
.site-footer__row { display: grid; gap: var(--s4); }
.site-footer__nap { font-style: normal; }
.site-footer__nap p { margin-bottom: var(--s2); }
.site-footer__logo { display: block; width: 190px; height: 60px; background: url(/img/brand/logo-white.webp) left center / contain no-repeat; margin-bottom: var(--s1); }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 4px var(--s3); margin-top: var(--s4); padding-top: var(--s2); border-top: 1px solid #35616B; }
.site-footer__links a { white-space: nowrap; }
.site-footer a { color: var(--white); padding: 6px 0; }
.site-footer a:hover { color: var(--sun); }
/* Small print, sized to fit one line on a laptop; it wraps on narrower screens. */
.site-footer__note { margin-top: var(--s1); max-width: none; font-size: 0.75rem; }

/* ---------- Scroll reveal ----------
   site.js adds "reveal" to things below the first screen and "is-in" when
   they scroll into view. Without the script nothing is ever hidden. */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(28px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); transition-delay: var(--delay, 0ms); }
  .reveal.is-in { opacity: 1; transform: none; }
  .button, a { transition: background-color 150ms, color 150ms; }
}

@media (min-width: 700px) {
  body { font-size: 18px; }
  :root { --header: 80px; --wave: 110px; }
  h1 { font-size: 3.25rem; }
  h2 { font-size: 2.5rem; }
  .wrap { padding: 0 var(--s4); }
  .section { padding: var(--s12) 0; }
  main > :last-child { padding-bottom: calc(var(--s12) + var(--wave)); }

  .site-header { padding: 0 var(--s4); }
  .site-header__logo { width: 196px; height: 62px; }

  .intro__answer { padding: calc(var(--header) + var(--s2)) var(--s4) var(--s8); }
  .intro__answer h1 { font-size: 4rem; }
  .intro__answer .lead { font-size: 1.5rem; }
  .hero { min-height: 62vh; }
  .hero__text { padding: calc(var(--header) + var(--s8)) var(--s4) var(--s8); }
  .statement { font-size: 2.75rem; }

  /* Equal columns for however many figures a page shows (one to three). */
  .figures { grid-auto-flow: column; grid-auto-columns: 1fr; }
  /* Scales with the window so five figures in a row (home) still fit when a
     desktop browser is not full screen. */
  .figures dd { font-size: clamp(2.5rem, 4.8vw, 5rem); }
  .tiles { grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
  .cards { grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
  .values { grid-template-columns: repeat(2, 1fr); gap: var(--s4) var(--s6); }
  .pair { grid-template-columns: 1fr 1fr; gap: var(--s3); }
  .split { grid-template-columns: 5fr 7fr; gap: var(--s8); }
  .split--even { grid-template-columns: 1fr 1fr; align-items: center; }
  .split--photo { grid-template-columns: 6fr 5fr; align-items: center; }
  .form { padding: var(--s4); }
  .shore__palms { width: 420px; height: 340px; right: 4%; opacity: 0.22; }
  .site-footer__row { grid-template-columns: minmax(260px, 2fr) 3fr; gap: var(--s8); }
}

@media (min-width: 1000px) {
  .values { grid-template-columns: repeat(3, 1fr); }
  .site-footer__links { flex-wrap: nowrap; justify-content: space-between; }
  /* With links added from the page builder, the row wraps instead of squeezing. */
  .site-footer__links--more { flex-wrap: wrap; justify-content: flex-start; gap: 4px var(--s4); }
}

/* Home links land at #vision (Results So Far), past the opening animation.
   Its top sits right under the fixed header, so the header turns solid
   straight away; this cancels the 16 px gap the page-wide scroll-padding adds. */
#vision { scroll-margin-top: -16px; }

/* The contact page keeps the site's font sizes but less space around them,
   so the details and each form step fit on a laptop screen without scrolling. */
.section--compact { padding: var(--s4) 0 var(--s6); }
.section--compact .lead { margin-bottom: var(--s2); }
.section--compact h2 { margin-top: 0; }
.section--compact .contact-list { margin: var(--s2) 0 0; }

.photo-withheld { /* Why: Keep the photo layout stable until permission is documented. */
  display: grid; /* Why: Center the short unavailable label in the reserved image area. */
  place-items: center; /* Why: Avoid a blank media region when consent is missing. */
  width: 100%; /* Why: Match the image width expected by shared photo components. */
  min-height: 12rem; /* Why: Reserve enough space to prevent large layout shifts. */
  background: var(--sky); /* Why: Use an existing brand surface color without implying a real photo. */
  color: var(--ocean); /* Why: Keep the label readable against the approved light background. */
  text-align: center; /* Why: Keep the fallback readable inside narrow photo cards. */
} /* Why: Finish the consent-safe public photo placeholder. */
.consent-public-list { /* Why: Stack consented stories without adding a new layout dependency. */
  display: grid; /* Why: Use the existing CSS grid system for public story cards. */
  gap: var(--s3); /* Why: Separate each story with the established spacing scale. */
} /* Why: Finish the story list layout. */
.consent-public-card { /* Why: Keep story text readable on phones and larger screens. */
  padding: var(--s3); /* Why: Give each story text comfortable breathing room. */
  border: 1px solid var(--rule); /* Why: Use the established subtle border color. */
  border-radius: var(--radius); /* Why: Match the shared card shape. */
  background: var(--white); /* Why: Preserve contrast against section backgrounds. */
} /* Why: Finish the public story card. */
.consent-public-card h2 { /* Why: Use a smaller heading for the project name within the page. */
  margin-top: 0; /* Why: Align card content to its top padding. */
} /* Why: Finish the story card heading. */

/* CMS blocks: pages and posts made in the editor. Plain content blocks sit
   close together (.cms); blocks that are a whole band (results, businesses,
   share, inquiry) reuse .section and .results from above. */
.cms { padding: var(--s2) 0; }
.cms-title { padding-top: var(--s6); }
.cms--heading { padding-top: var(--s4); padding-bottom: 0; }
.cms--heading h2, .cms--heading h3 { margin: 0; }
.cms-meta { color: var(--slate); margin-bottom: var(--s3); }
.cms-text > :last-child { margin-bottom: 0; }
.cms-text ul, .cms-text ol { margin: 0 0 var(--s2); padding-left: 1.25em; max-width: 60ch; }
.cms-text li { margin-bottom: 6px; }
.cms-text h3 { margin-top: var(--s3); }
.cms-figure { margin: 0; max-width: 760px; }
.cms-figure--wide { max-width: none; }
.cms-caption { margin-top: var(--s1); font-size: 0.9375rem; color: var(--slate); }
.cms-gallery { margin-top: 0; }
.cms-quote { margin: 0; max-width: 760px; padding: var(--s2) var(--s3); background: var(--sand); border-left: 4px solid var(--sun); border-radius: 0 var(--radius) var(--radius) 0; }
.cms-quote p { margin: 0 0 var(--s1); font-size: 1.375rem; line-height: 1.4; font-weight: 500; }
.cms-quote footer { color: var(--slate); font-size: 0.9375rem; }
.cms-quote footer::before { content: "— "; }
.cms-columns { display: grid; gap: var(--s2); }
.cms-callout { max-width: 560px; }
.hero--inline { min-height: 40vh; }
.hero--inline .hero__text { padding-top: var(--s8); }

/* FAQ: each question opens to show its answer. */
.faq details { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); margin-bottom: var(--s1); max-width: 760px; }
.faq summary { display: flex; justify-content: space-between; gap: var(--s2); padding: var(--s2) var(--s3); cursor: pointer; font-weight: 500; font-size: 1.125rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; color: var(--teal); font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 var(--s3) var(--s2); color: var(--slate); }

/* Video: a plain panel with a play button. Nothing from YouTube or Vimeo
   loads until the visitor presses it (site.js builds the player). */
.cms-video { margin: 0; max-width: 760px; }
.cms-video__frame { position: relative; aspect-ratio: 16 / 9; background: var(--ocean); border-radius: var(--radius); overflow: hidden; }
.cms-video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cms-video__play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s1); color: var(--white); text-decoration: none; font-weight: 500; }
.cms-video__play:hover { color: var(--white); }
.cms-video__icon { transition: transform 200ms var(--ease); }
.cms-video__icon circle { fill: var(--sun); }
.cms-video__icon path { fill: var(--ocean); }
.cms-video__play:hover .cms-video__icon { transform: scale(1.08); }

/* Blog cards: the photo runs to the card's edges. */
.cms-post { padding: 0; overflow: hidden; gap: 0; }
.cms-post .shot { border-radius: 0; }
.cms-post__body { display: flex; flex-direction: column; gap: var(--s1); padding: var(--s3); flex: 1; }
.cms-post__body p:last-child { margin-bottom: 0; }
.pager { display: flex; justify-content: space-between; align-items: center; gap: var(--s2); margin-top: var(--s4); }
.arrow--back::before { content: "←"; display: inline-block; margin-right: 8px; }

/* Shown only on a draft preview, fixed so it never changes the page layout. */
.cms-preview { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; margin: 0; max-width: none; padding: 8px var(--s2); background: var(--sun); color: var(--ocean); text-align: center; font-weight: 600; }

@media (min-width: 700px) {
  .cms-columns { grid-template-columns: 1fr 1fr; gap: var(--s6); }
}

/* Business profiles use the compact section too, so they fit a laptop screen
   without scrolling. Rows and gaps shrink; font sizes stay the same. */
.section--compact .facts div { padding: 9px 0; }
.section--compact .facts + h2 { margin-top: var(--s4); }
.section--compact .meter { margin-bottom: var(--s2); }
/* Two short facts side by side, with no rule between them. */
.facts--pair { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--s4); }
/* In a half-width cell the label and figure stack, so neither wraps. */
.facts--pair div { border-bottom: 0; flex-direction: column; gap: 2px; }
.facts--pair dd { text-align: left; }
@media (max-width: 520px) {
  .facts--pair { grid-template-columns: 1fr; }
  .facts--pair div { flex-direction: row; gap: var(--s2); }
  .facts--pair dd { text-align: right; }
  .facts--pair div:first-child { border-bottom: 1px solid var(--rule); }
}

/* Wide enough for every header link on one line: show them and the Get
   involved button, and retire the Menu button and its list. */
@media (min-width: 960px) {
  .site-nav { display: block; }
  .site-header__cta { display: inline-block; padding: 13px 22px; }
  .menu-button, .menu { display: none; }
}

/* ---------- About page ---------- */
/* A centred column for short reading sections. */
.narrow { max-width: 760px; margin-inline: auto; }
.center .lead, .center p { margin-inline: auto; }
/* The vision at a large-paragraph size rather than display size. */
.statement--sm { font-size: 1.375rem; line-height: 1.35; max-width: 40ch; margin-inline: auto; color: var(--ocean); }
@media (min-width: 700px) { .statement--sm { font-size: 1.75rem; } }
/* The four aims as a centred grid, since bullets look lost in centred text. */
.aims { list-style: none; margin: var(--s3) 0; padding: 0; display: grid; gap: var(--s2); text-align: center; }
.aims li { background: var(--sky); border-radius: var(--radius); padding: var(--s2) var(--s3); color: var(--slate); }
.aims strong { display: block; color: var(--ocean); }
@media (min-width: 700px) { .aims { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .aims--row { grid-template-columns: repeat(4, 1fr); } }
.aims--row { text-align: left; }
.aims__intro, .aims__outro { max-width: 60ch; margin-inline: auto; }

/* Line icons share one stroke style; color comes from the parent. */
.icon { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* Core values: one short row of five. */
.values-row { list-style: none; margin: var(--s3) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--s2); text-align: center; }
.values-row li { display: grid; justify-items: center; align-content: start; gap: 6px; }
.values-row__icon { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--sky); color: var(--teal); }
.values-row h3 { font-size: 1rem; margin: 0; }
.values-row p { margin: 0; font-size: 0.875rem; line-height: 1.4; color: var(--slate); }

/* Current partners: a logo and a name each. */
.partners { list-style: none; margin: var(--s4) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: var(--s3); }
.partners li { display: grid; justify-items: center; align-content: start; gap: var(--s1); }
.partners__logo { display: grid; place-items: center; width: 168px; height: 96px; padding: var(--s2); border-radius: var(--radius); background: var(--sky); color: var(--teal); }
.partners__logo img { width: 100%; height: 100%; object-fit: contain; }
.partners__logo .icon { width: 44px; height: 44px; }
.partners__badge { font-size: 1.5rem; font-weight: 600; letter-spacing: 0.02em; }
.partners h3 { font-size: 1rem; margin: 0; max-width: 18ch; }

/* History: dated points on a line; the chosen point's story shows below. */
.history__hint { color: var(--slate); margin: 0 auto var(--s3); }
/* On phones the line is wider than the screen. The fade at the right edge and
   the swipe hint show there is more; the end padding lets the last point
   scroll clear of the fade. */
@media (max-width: 899px) {
  .history__line { mask-image: linear-gradient(to right, #000 82%, transparent); padding-inline-end: 18%; }
}
@media (min-width: 900px) { .history__swipe { display: none; } }
.history__line {
  list-style: none; margin: 0; padding: 0 0 var(--s1); display: grid; grid-auto-flow: column; grid-auto-columns: minmax(132px, 1fr);
  overflow-x: auto; position: relative; scroll-snap-type: x proximity;
}
/* Each point draws its piece of the line behind its dot, so the line runs
   from the first dot to the last and scrolls with them on small screens. */
.history__line li::before { content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 3px; background: var(--rule); }
.history__line li:first-child::before { left: 50%; }
.history__line li:last-child::before { right: 50%; }
.history__line li { scroll-snap-align: center; position: relative; }
.history__point { position: relative; }
.history__point {
  width: 100%; background: none; border: 0; padding: 12px var(--s1) var(--s1); font: inherit; color: var(--slate);
  display: grid; justify-items: center; gap: 4px; text-align: center; cursor: pointer; border-radius: 10px;
}
.history__point:hover { color: var(--ocean); }
.history__point:focus-visible { outline: 3px solid var(--teal); outline-offset: -3px; }
.history__dot { width: 22px; height: 22px; border-radius: 50%; background: var(--white); border: 3px solid var(--teal); transition: transform 0.2s, background 0.2s; }
.history__when { font-weight: 600; color: var(--teal); font-size: 0.9375rem; }
.history__what { font-size: 0.9375rem; line-height: 1.3; }
.history__point[aria-selected="true"] { color: var(--ocean); }
.history__point[aria-selected="true"] .history__dot { background: var(--sun); border-color: var(--sun); transform: scale(1.25); }
.history__point[aria-selected="true"] .history__what { font-weight: 600; }
.history__panels { margin-top: var(--s3); }
.history__panel { background: var(--sky); border-radius: var(--radius); padding: var(--s3); margin-bottom: var(--s2); max-width: 760px; margin-inline: auto; border-top: 4px solid var(--sun); }
.history__panel h3 { font-size: 1.5rem; margin: 0 0 var(--s1); }
.history__panel p { margin: 0 0 var(--s1); }
.history__panel p:last-child { margin-bottom: 0; }
.history__date { font-weight: 600; color: var(--teal); }
.history__place { color: var(--slate); }
.history__panel[hidden] { display: none; }
@media (min-width: 700px) { .history__panel { padding: var(--s4) var(--s6); } }

/* Board and leadership: a photo spot above each name, five across on wide screens. */
/* Flex rather than grid so a short last row (3 + 2 on phones) sits centred. */
.people { list-style: none; margin: var(--s6) 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s4) var(--s2); text-align: center; }
.people li { flex: 0 0 calc((100% - 2 * var(--s2)) / 3); display: grid; justify-items: center; align-content: start; gap: 4px; }
.people__photo {
  width: 100%; max-width: 168px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; margin-bottom: var(--s2);
  background: var(--sky); border: 4px solid var(--white); box-shadow: 0 0 0 2px var(--sun);
}
/* Framed on the faces: the founders' portrait has its faces in the upper part. */
.people__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
/* Our Founders on About: a landscape crop of the portrait group photo, so the band stays short. */
.founders__shot { aspect-ratio: 4 / 3; max-height: 420px; }
.founders__shot img { object-position: 50% 25%; }
.people h3 { font-size: 1.125rem; margin: 0; }
.people p { margin: 0; color: var(--slate); font-size: 0.9375rem; }
@media (min-width: 700px) { .people li { flex-basis: calc((100% - 4 * var(--s2)) / 5); } }
@media (max-width: 699px) { .people h3 { font-size: 1rem; } .people p { font-size: 0.875rem; } }

/* Legal status as credential tiles. */
.creds { list-style: none; margin: var(--s4) 0 0; padding: 0; display: grid; gap: var(--s2); }
.creds li { background: var(--white); border-radius: var(--radius); padding: var(--s3); display: grid; justify-items: center; text-align: center; gap: 4px; align-content: start; }
.creds__icon { width: 56px; height: 56px; padding: 12px; border-radius: 50%; background: var(--sky); color: var(--teal); margin-bottom: var(--s1); }
.creds h3 { font-size: 1.125rem; margin: 0; }
.creds p { margin: 0; color: var(--slate); font-size: 0.9375rem; }
.creds__note { margin: var(--s3) auto 0; color: var(--slate); }
@media (min-width: 600px) { .creds { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .creds { grid-template-columns: repeat(4, 1fr); } }
/* Accountability: businesses and governance side by side on wider screens. */
.acct-pair { display: grid; gap: var(--s4); }
.acct-pair h2 { font-size: 1.5rem; }
.acct-pair .rows { margin-top: var(--s1); }
@media (min-width: 768px) { .acct-pair { grid-template-columns: 1fr 1fr; gap: var(--s6); } }
/* On light-blue pages, panels that are light blue themselves turn white so
   they still stand out from the page. */
.section--sky .place-panel, .section--sky .form, .section--sky .history__panel, .section--sky .aims li { background: var(--white); }

/* ---------- Home mission panel ----------
   A dark rounded panel over a full-width photo, with people cut out of a
   photo standing in front of its lower edge. On phones they sit centred under
   the text; from 900 px they stand to the right of it. */
.rise { position: relative; overflow: hidden; isolation: isolate; padding-top: var(--s8); background: var(--ocean); }
/* Taller than the section so the photo can drift while scrolling without
   showing an edge. */
.rise__bg { position: absolute; inset: -60px 0; z-index: -1; }
.rise__bg img { width: 100%; height: 100%; object-fit: cover; }
.rise__panel { background: var(--ocean); color: var(--white); border-radius: var(--radius); padding: var(--s6) var(--s3) 196px; }
.rise__panel .badge { color: var(--white); }
.rise__panel p:not(.statement) { color: #D5E4E2; max-width: 52ch; }
.rise__statement { max-width: 22ch; }
.rise .accent { color: var(--sun); }
.rise__people { position: relative; display: block; width: min(210px, 56%); height: auto; margin: -180px auto 0; transform-origin: 50% 100%; will-change: transform; }
/* The framed photo version: a rounded card with a shadow, below the text on phones. */
.rise__photo { width: min(280px, 72%); aspect-ratio: 3 / 4; object-fit: cover; margin: var(--s4) auto 0; border-radius: var(--radius); box-shadow: 0 18px 40px rgba(18, 60, 70, 0.35); border: 6px solid var(--white); }

/* A short link with a ring before it that fills in on hover. */
.dot-link { display: inline-flex; align-items: center; gap: 10px; margin-top: var(--s2); font-weight: 500; color: var(--white); text-decoration: none; }
.dot-link::before { content: ""; width: 10px; height: 10px; border: 2px solid var(--sun); border-radius: 50%; transition: background-color 200ms; }
.dot-link:hover::before, .dot-link:focus-visible::before { background: var(--sun); }

@media (min-width: 900px) {
  .rise { padding-top: var(--s8); padding-bottom: var(--s8); }
  .rise__panel { position: relative; z-index: 0; padding: var(--s6) 36% var(--s6) var(--s8); }
  /* Feet hidden below the section's bottom edge, head and shoulders in front
     of the panel. */
  .rise__people { position: absolute; right: max(var(--s6), calc((100vw - 1160px) / 2 + var(--s8))); bottom: 0; width: clamp(220px, 22vw, 270px); margin: 0; }
  /* On wide screens the framed photo stands on the section's lower edge, beside the panel. */
  .rise__photo { width: clamp(240px, 23vw, 300px); bottom: var(--s6); border-radius: var(--radius); }
}

@media (prefers-reduced-motion: no-preference) {
  /* The highlighted phrase in a statement gets a sun underline that draws in
     once the statement scrolls into view. */
  .statement.reveal .accent { background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 3px; transition: background-size 900ms var(--ease) 400ms; }
  .statement.reveal.is-in .accent { background-size: 100% 3px; }
  /* Photos settle from slightly zoomed in as they arrive. */
  .shot.reveal img { transform: scale(1.08); transition: transform 1200ms var(--ease); }
  .shot.reveal.is-in img { transform: none; }
  a:hover .shot.reveal.is-in img, .shot.reveal.is-in:hover img { transform: scale(1.04); transition-duration: 700ms; }
}

/* Home page film band: poster with one big play button (views/partials/film.ejs). */
.film-band { background: var(--sand); }
.film-band__frame { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ocean); aspect-ratio: 16 / 9; }
.film-band__frame video { width: 100%; height: 100%; display: block; background: var(--ocean); }
.film-band__controls { display: flex; gap: var(--s1); justify-content: center; margin-top: var(--s2); }
.film-band__controls[hidden] { display: none; }
.film-band__play { position: absolute; inset: 0; width: 100%; padding: 0; border: 0; background: var(--ocean); cursor: pointer; display: block; }
.film-band__play img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.film-band__play:hover img { transform: scale(1.03); }
.film-band__button {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 12px; padding: 14px 24px 14px 16px;
  background: var(--sun); color: var(--ocean); border-radius: 999px; font: 600 1.125rem/1 var(--font);
  white-space: nowrap;
  box-shadow: 0 8px 28px rgba(18, 60, 70, 0.35);
}
.film-band__button small { font-weight: 500; }
.film-band__icon { width: 40px; height: 40px; border-radius: 50%; background: var(--ocean); position: relative; flex: none; }
.film-band__icon::after { content: ""; position: absolute; left: 15px; top: 11px; border-style: solid; border-width: 9px 0 9px 14px; border-color: transparent transparent transparent var(--sun); }
.film-band__play:focus-visible .film-band__button { outline: 3px solid var(--white); outline-offset: 3px; }
@media (max-width: 480px) { .film-band__button { font-size: 1rem; padding: 10px 18px 10px 12px; } .film-band__icon { width: 34px; height: 34px; } .film-band__icon::after { left: 13px; top: 9px; border-width: 8px 0 8px 12px; } }
.business__shot { margin-top: var(--s3); }
/* "What it does" sits as a small label above the description, not a big heading. */
.business__label { font-size: 0.875rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal); margin: var(--s2) 0 4px; }
.acct__photo { margin: var(--s3) 0 0; }

/* ---------- Phones: shorter home page ----------
   Long parts fold away behind one tap (public/js/more.js), the opening
   animation needs less scrolling, and the work cards become short rows. */
.more-toggle {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: var(--s2); padding: 8px 18px;
  font: 600 1rem/1.2 var(--font); color: inherit; background: transparent; border: 1.5px solid currentColor; border-radius: 999px; cursor: pointer;
}
.more-toggle::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 200ms var(--ease); }
.more-toggle[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }
.rise__panel .more-toggle { color: var(--white); margin: 0 0 var(--s2); }
@media (max-width: 699px) {
  @media (prefers-reduced-motion: no-preference) { .js .intro { height: 210vh; } }
  .tiles--compact { gap: var(--s2); }
  .tiles--compact .tile > a { display: grid; grid-template-columns: 104px 1fr; grid-template-rows: auto auto 1fr; column-gap: var(--s2); align-items: start; }
  .tiles--compact .tile .shot { grid-row: 1 / 4; aspect-ratio: 1; margin: 0; }
  .tiles--compact .tile h3 { font-size: 1.1875rem; margin: 2px 0 4px; }
  .tiles--compact .tile p { font-size: 0.9375rem; margin: 0 0 6px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .tiles--compact .tile .arrow { font-size: 0.9375rem; }
}

/* Our Work pillar pages: goal and results on the left, the program in small
   boxes on the right, so the whole program fits about one screen. */
.work { display: grid; gap: var(--s4); }
.work__intro .lead { margin-bottom: var(--s3); }
.work__results { background: var(--ocean); color: var(--white); border-radius: var(--radius); padding: var(--s3); }
.work__results h3 { margin: 0; font-size: 1.125rem; color: var(--white); }
.work__results .figures { margin: var(--s2) 0; gap: var(--s3); grid-auto-flow: column; grid-auto-columns: 1fr; }
.work__results .figures dd { font-size: 2.75rem; }
.work__results .figures__note { margin: 0 0 var(--s2); }
.work__results a { color: var(--white); }
.work__groups { display: grid; gap: var(--s2); align-content: start; }
.work__group { background: var(--sky); border-radius: var(--radius); padding: var(--s2) var(--s3); }
.work__group h3 { font-size: 1.125rem; margin: 0 0 var(--s1); }
.work__group .plain-list { margin: 0; }
.work__note { margin: 0; color: var(--slate); font-size: 0.9375rem; grid-column: 1 / -1; }
/* An odd last box (or a single one) takes the full row, so no gap is left. */
.work__group:last-of-type:nth-of-type(odd) { grid-column: 1 / -1; }
.work__more { font-size: 1.25rem; margin: var(--s4) 0 0; }
.work__sources h4 { margin: 0; font-size: 1.0625rem; }
.work__sources h4 a { color: var(--ocean); }
@media (min-width: 768px) {
  .work { grid-template-columns: 5fr 7fr; gap: var(--s6); align-items: start; }
  .work__groups { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .work__sources { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s1) var(--s2); }
  .work__sources li { margin: 0; }
}

/* Contact page: the inquiry form as an official office form. A title bar, a
   thin border, small corners and crisp dark field borders replace the soft
   floating card. Scoped to .form--official so other forms keep their look. */
.form--official { background: var(--white); border: 1px solid var(--rule); border-radius: 6px; padding: 0 0 var(--s3); overflow: hidden; }
.form--official > :not(.form__head) { margin-left: var(--s3); margin-right: var(--s3); }
.form__head { background: var(--ocean); color: var(--white); padding: var(--s2) var(--s3); margin-bottom: var(--s3); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px var(--s2); }
.form__head h2 { margin: 0; font-size: 1.25rem; color: var(--white); }
.form__head p { margin: 0; font-size: 0.875rem; color: #D5E8E4; }
.form__head .req { color: var(--sun); }
.form__head .form__problem { flex-basis: 100%; font-size: 1rem; color: var(--white); }
.req { color: var(--error); font-weight: 600; }
.form--official .step__status { font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); padding-bottom: var(--s1); border-bottom: 1px solid var(--rule); margin-bottom: var(--s2); }
.form--official .field input[type="text"], .form--official .field input[type="email"], .form--official .field input[type="tel"], .form--official .field select, .form--official .field textarea { border: 1px solid var(--slate); border-radius: 4px; padding: 10px 12px; }
.form--official .field input:focus, .form--official .field select:focus, .form--official .field textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.form--official .field label, .form--official .field legend { font-size: 0.9375rem; font-weight: 600; }
.form--official .button { border-radius: 4px; }
.contact-office { font-size: 1.375rem; margin: var(--s3) 0 0; }

/* With Blog or More in the header (links added from the page builder), the
   bar is fuller: keep the button on one line and tighten the links on
   narrower laptops so everything still fits in one row. */
.site-header__cta { white-space: nowrap; }
@media (min-width: 960px) and (max-width: 1139px) {
  .site-header--more .site-nav > ul { gap: var(--s2); }
  .site-header--more .site-nav > ul > li > a, .site-header--more .site-nav__toggle { font-size: 0.9375rem; }
  .site-header--more .site-header__cta { padding: 12px 16px; }
}

/* ---------- Full-screen sections ----------
   min-height, never height: on a small window or with large text the section
   grows instead of cutting its content off. */
.hero--full { display: block; min-height: 0; text-align: center; }
.hero--full h1 { max-width: none; margin-bottom: var(--s1); }
.hero--full .lead { margin-inline: auto; }
.hero__label { font-size: 0.875rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sun); margin: 0 0 var(--s1); }
.hero__statement { font-size: 1.25rem; line-height: 1.35; font-weight: 500; max-width: 62ch; margin: 0 auto; }
.hero__aims { list-style: none; margin: var(--s3) 0 0; padding: 0; display: grid; gap: var(--s2); font-size: 0.9375rem; line-height: 1.4; }
.hero__aims strong { display: block; color: var(--sun); }
/* Our Mission. Phones: the whole photo, then the text under it. */
.hero--team > img { position: static; display: block; height: auto; margin-top: var(--header); }
.hero--team::after { display: none; }
.hero--team .hero__text { padding: var(--s3) var(--s2) var(--s6); }
/* Our Work: an even shade, since the text sits in the middle. */
.hero--work::after { background: rgba(8, 32, 38, 0.66); }
.hero--work .hero__text { padding: calc(var(--header) + var(--s3)) var(--s2) var(--s6); }
.hero--work .tiles { margin-top: var(--s3); gap: var(--s2); text-align: left; }
.hero--work .tile { background: var(--white); color: var(--ocean); border-radius: var(--radius); overflow: hidden; }
.hero--work .tile .shot { border-radius: 0; margin: 0; aspect-ratio: 16 / 9; }
.hero--work .tile h3 { font-size: 1.25rem; margin: var(--s2) var(--s2) 4px; }
.hero--work .tile p { font-size: 1rem; line-height: 1.4; margin: 0 var(--s2) var(--s1); }
.hero--work .tile .arrow { margin: auto var(--s2) var(--s2); }
@media (min-width: 1000px) {
  .hero--full { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
  .hero--full .hero__text { max-width: 1160px; }
  .hero--work .hero__text { padding: calc(var(--header) + var(--s2)) var(--s4) var(--s3); }
  .hero--work .tile .shot { aspect-ratio: auto; height: clamp(110px, 24vh, 260px); }
  /* The photo is sized by the screen's height, so every face fits above the
     text; its sides and lower edge fade into the dark background. */
  .hero--team { align-items: flex-end; }
  .hero--team > img { position: absolute; inset: auto; top: -10vh; left: 50%; width: 140vh; max-width: none; margin: 0; transform: translateX(-50%); }
  .hero--team::after { display: block; background: linear-gradient(to bottom, rgba(18, 60, 70, 0.45), rgba(18, 60, 70, 0) 14%, rgba(18, 60, 70, 0) 50%, var(--ocean) 62%); }
  .hero--team > img { -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent); }
  .hero--team .hero__text { padding: 58vh var(--s4) var(--s3); }
  .hero__aims { grid-template-columns: repeat(4, 1fr); gap: var(--s3); margin-top: var(--s2); }
}

/* Home opening on a computer: the photo fills the right two thirds and
   fades out on the left, so the headline can sit at mid-height without
   covering a face, and the people sit higher in the picture. */
@media (min-width: 1000px) {
  .intro__photo { background: var(--ocean); }
  .intro__photo img { width: 66%; margin-left: 34%; object-position: 50% 75%; -webkit-mask-image: linear-gradient(to right, transparent, #000 24%); mask-image: linear-gradient(to right, transparent, #000 24%); }
  .intro__scrim { background: linear-gradient(to right, rgba(8, 32, 38, 0.8), rgba(8, 32, 38, 0.45) 35%, rgba(8, 32, 38, 0) 60%); }
  .intro__stage { align-items: center; }
  .intro__answer, .js .intro .intro__answer { padding-top: var(--header); padding-bottom: 0; }
  .js .intro .intro__answer { bottom: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
}

/* Small laptops and tablets: a narrower text column, so it stops before the children. */
@media (min-width: 1000px) and (max-width: 1239px) {
  .intro__answer h1 { font-size: 3.125rem; }
  .intro__answer .lead { font-size: 1.25rem; max-width: 30ch; }
}

/* Accountability: the money graphic fills one screen under the header. */
.flow { list-style: none; margin: var(--s3) 0 0; padding: 0; display: grid; gap: var(--s4); }
.flow h2 { font-size: 1.25rem; margin: 0 0 4px; }
.flow p { margin: 0; color: var(--slate); font-size: 1rem; line-height: 1.4; }
.flow__step { position: relative; background: var(--white); border-radius: var(--radius); padding: var(--s3); display: grid; justify-items: center; align-content: center; gap: 6px; }
.flow__step--srca { background: var(--ocean); color: var(--white); }
.flow__step--srca p { color: #D5E8E4; }
.flow__planned { border-top: 2px dashed var(--rule); padding-top: 6px; }
.flow__step ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s1); width: 100%; }
.flow__step li a { display: block; padding: 10px; background: var(--sky); border-radius: 8px; font-weight: 500; }
/* Arrow to the next step: down on a phone, right on a computer. */
.flow__step::after { content: ""; position: absolute; left: 50%; bottom: -24px; width: 12px; height: 12px; border: solid var(--teal); border-width: 0 4px 4px 0; transform: translateX(-50%) rotate(45deg); }
.flow__back { display: flex; align-items: center; justify-content: center; gap: var(--s2); text-align: left; border: 2px solid var(--teal); border-radius: var(--radius); padding: var(--s2) var(--s3); }
.flow__back .creds__icon { margin: 0; flex: none; background: var(--white); }
@media (min-width: 768px) {
  .acct-screen { min-height: calc(100vh - var(--header)); min-height: calc(100svh - var(--header)); display: flex; align-items: center; padding: var(--s2) 0 var(--s3); }
  .acct-screen .wrap { width: 100%; }
  .flow { grid-template-columns: repeat(3, 1fr); gap: var(--s3) 56px; }
  .flow__step { padding: var(--s2) var(--s3); }
  .flow__step::after { left: auto; right: -32px; bottom: auto; top: 50%; transform: translateY(-50%) rotate(-45deg); }
  .flow__back { position: relative; grid-column: 1 / -1; }
  /* The last step points down to the reports, and the reports point back up to the funders. */
  .flow__step--work::after { right: 50%; top: auto; bottom: -18px; transform: translateX(50%) rotate(45deg); }
  .flow__back::before { content: ""; position: absolute; left: calc((100% - 112px) / 6); top: -15px; width: 12px; height: 12px; border: solid var(--teal); border-width: 4px 0 0 4px; transform: translateX(-50%) rotate(45deg); }
}
