/* Flux Projects — site styles
   Palette: sea fog, shell, driftwood, moss slate, basalt.
   Type: Newsreader (display), Figtree (text). */

:root {
  --fog: #e3e1dc;
  --shell: #efede9;
  --driftwood: #a69886;
  --driftwood-deep: #857867;
  /* Accent for hover and current-page states: a darker, greyer driftwood (dark enough
     to read as text on the light bands) */
  --driftwood-dark: #6f675d;
  --slate: #4f5751;
  --basalt: #2e2c29;
  --basalt-soft: #3a3834;
  --mist: #e9e6e1;
  --mist-muted: #bdb7ae;
  --line: rgba(46, 44, 41, 0.16);
  --line-strong: rgba(46, 44, 41, 0.32);
  --line-dark: rgba(233, 230, 225, 0.18);

  --font-display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --font-text: "Figtree", "Avenir Next", "Segoe UI", system-ui, sans-serif;

  /* Type scale (classical, fluid at the top end) */
  --step--1: 0.875rem;
  --step-0: 0.9375rem;
  --step-1: 1.125rem;
  --step-2: clamp(1.375rem, 1.2rem + 0.6vw, 1.625rem);
  --step-3: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem);
  --step-4: clamp(2.25rem, 1.7rem + 2.2vw, 3.5rem);
  --step-5: clamp(3.4rem, 2.2rem + 4.5vw, 6rem);
  /* Headings: fixed at the smallest size of the matching step above, so they don't
     grow with the window */
  --head-2: 1.25rem;
  --head-3: 1.625rem;
  --head-4: 2.125rem;
  --head-5: 3.4rem;

  /* Spacing (8px rhythm) */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4.5rem;
  --space-7: clamp(4.5rem, 3rem + 6vw, 8.5rem);

  --wrap: 76rem;
  --gutter: clamp(1rem, 0.4rem + 3vw, 3rem);
  --header-h: 4.5rem;
  /* Header at the top of the page: logo at full size. On phones it's capped so it
     still fits beside the Menu button. Shrinks to --header-h once the page scrolls. */
  --logo-big: min(4.37rem, calc((100vw - 2 * var(--gutter) - 7rem) * 0.255));
  --header-top-h: calc(var(--logo-big) + 1.5rem);

  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur-fast: 180ms;
  --dur-med: 320ms;

  color-scheme: light;
}

/* ---------- Base ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  /* Only seen outside the photo: behind the phone's browser bar, in the home-indicator strip
     and in overscroll, where a light colour showed as a pale band */
  background: var(--basalt);
  color: var(--basalt);
  font-family: var(--font-text);
  font-size: var(--step-0);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }

::selection { background: var(--driftwood); color: var(--basalt); }

a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--driftwood-dark); }

:focus-visible {
  outline: 2px solid var(--driftwood-dark);
  outline-offset: 3px;
  border-radius: 2px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
  font-optical-sizing: auto;
}

p { margin: 0 0 1em; max-width: 64ch; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

ul { margin: 0; padding: 0; list-style: none; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
/* On a wider window each banner's content sits as one group in the middle of the band: its
   container shrinks to the widest item and centres, and the items keep their own alignment.
   What sits straight on the photo (the hero, home's "Let it flow." and the closing panels)
   stays on the left */
@media (min-width: 47rem) {
  section:not(.hero, .view-hero, .contact-panel, [aria-labelledby="partner-h"]) > .wrap,
  .glass-card--list .glass-inner { width: fit-content; }
  /* The flow chart has no width of its own, so its banner gets a set one: wide enough to keep
     the chart horizontal (it turns vertical below 640px) */
  section:has(.streams-figure) > .wrap { width: min(100%, calc(60rem + 2 * var(--gutter))); }
}
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: -4rem;
  z-index: 100;
  background: var(--basalt);
  color: var(--mist);
  padding: 0.75rem 1rem;
  text-decoration: none;
}
.skip:focus { top: 0.75rem; color: var(--mist); }

/* ---------- Logo (recolourable masks of the client's artwork) ---------- */

.logo-lockup,
.logo-f {
  display: block;
  background-color: currentColor;
  -webkit-mask: var(--logo) center / contain no-repeat;
  mask: var(--logo) center / contain no-repeat;
}
/* "flux projects" on one line, "projects" leaning with the wordmark. Sized so "flux" is as
   large as it was in the old two-line lockup (it fills 0.84 of that one's height) */
.logo-lockup {
  --logo: url("../img/logo-lockup.svg");
  aspect-ratio: 2830 / 802;
  height: var(--logo-h, 2.43rem);
  transition: height var(--dur-genie) var(--ease-genie), transform var(--dur-genie) var(--ease-genie),
    background-color var(--dur-genie) var(--ease-genie);
}
/* Opening header: the logo a quarter larger than its slot and set a little lower down the
   page. On the first scroll it shrinks into the bar in one smooth glide, width and height
   locked together. Height and transform share one timing so they never drift apart */
.site-header {
  --dur-genie: 0.8s;
  --ease-genie: cubic-bezier(0.45, 0, 0.2, 1);
  --logo-drop: clamp(0.5rem, 0.2rem + 1.5vw, 1.25rem);
}
.site-header .logo-lockup { transform-origin: 0 0; }
/* Dark grey over the photo while the page opens (a step lighter than the text colour),
   turning to the bar's light text colour as it glides into the bar, on the same timing */
.site-header:not(.is-scrolled) .logo-lockup { transform: translateY(var(--logo-drop)) scale(1.25); background-color: #3d3a36; }
/* ...pressed into the sky while it's grey: shaded inside along the top of each letter, with a
   fine light rim along the top edge (the #logo-pressed filter in the header). Drawn on the
   link, as the logo's mask would clip it, and dropped as the logo glides into the bar */
.site-header:not(.is-scrolled) .brand { filter: url(#logo-pressed); }
/* the filter's definition: kept out of the layout, but not display: none, which would disable it */
.fx-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
/* What parts it from the photo instead: a long hazy streak of light passing behind the logo
   on a slant, falling to the right like the rays of light in the photo, so it reads as part
   of the sky rather than a glow around the letters. Sized from the logo's opening size
   (--logo-big, shown at 1.25x: about 4.4 times as wide as it is tall), centred on the u of
   "flux" (0.3 of the way across the logo, 0.57 of the way down), and gone once the bar arrives */
.header-inner { position: relative; }
.header-inner::before {
  --L: var(--logo-big);
  content: "";
  position: absolute;
  z-index: -1;
  left: calc(var(--gutter) + 1.3 * var(--L) - 3.8 * var(--L));
  top: calc(0.75rem + var(--logo-drop) + 0.706 * var(--L) - 0.9 * var(--L));
  width: calc(7.6 * var(--L));
  height: calc(1.8 * var(--L));
  pointer-events: none;
  background:
    radial-gradient(50% 50% at 50% 50%, rgb(236 233 228 / 0.28), rgb(236 233 228 / 0.12) 45%, rgb(236 233 228 / 0) 100%),
    radial-gradient(45% 14% at 62% 56%, rgb(236 233 228 / 0.2), rgb(236 233 228 / 0) 100%),
    radial-gradient(28% 12% at 24% 42%, rgb(236 233 228 / 0.12), rgb(236 233 228 / 0) 100%);
  filter: blur(8px);
  transform: rotate(13deg);
  transition: opacity var(--dur-genie) var(--ease-genie);
}
.site-header.is-scrolled .header-inner::before { opacity: 0; }
.is-home .header-inner::before { animation: fade-in 1.8s ease-in-out 0.1s backwards; }
/* Opening straight onto another view: the bar is already in place (build.py's header
   script), so nothing glides or fades in; is-instant comes off after the first paint */
.site-header.is-instant, .site-header.is-instant *, .site-header.is-instant::before,
.site-header.is-instant *::before { transition: none !important; }
.site-header.is-settled .brand, .site-header.is-settled .header-inner::before { animation: none; }
.logo-f { --logo: url("../img/logo-f.png"); aspect-ratio: 256 / 247; height: 3rem; }

/* ---------- Header ---------- */

/* Fixed rather than sticky, so the header can shrink on scroll without shifting the page.
   Inner pages reserve its full height; the home hero runs underneath it. */
.site-header {
  --logo-h: var(--logo-big);
  --hh: var(--header-top-h);
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  height: var(--hh);
  color: var(--basalt);
  background: rgba(227, 225, 220, 0.92);
  --hblur: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: background-color var(--dur-med) var(--ease-out), color var(--dur-med) var(--ease-out), border-color var(--dur-med) var(--ease-out), height var(--dur-med) var(--ease-out);
}
/* The header's blur sits on its own layer behind the bar's contents. Blurring the
   header element itself would stop the menu dropdown inside it from blurring the page */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  -webkit-backdrop-filter: var(--hblur);
  backdrop-filter: var(--hblur);
  transition: -webkit-backdrop-filter var(--dur-med) var(--ease-out), backdrop-filter var(--dur-med) var(--ease-out);
}
.site-header.is-scrolled { --logo-h: 2.43rem; --hh: var(--header-h); }
@media (min-width: 1081px) {
  :root { --logo-big: 4.98rem; }
  .site-header.is-scrolled { --logo-h: 2.77rem; }
}
body:not(.is-home) { padding-top: var(--header-top-h); }

/* One page, several views: site.js shows one at a time and fades the content out and
   back in between them, while the header, the photo behind and the footer stay put.
   Without JS every view shows, one after another */
.js .view:not(.is-active) { display: none; }
/* One even gap between every block over the photo (the photo's caption lines up with it too) */
:root { --stage-gap: clamp(3.75rem, 2.25rem + 6vh, 6.75rem); }
/* Switching views: content and footer ease out (0.45s, site.js waits for it), the new
   view eases back in a little slower; the photo crossfades across the whole switch */
:root { --ease-switch: cubic-bezier(0.45, 0, 0.55, 1); }
#main, .site-footer { transition: opacity 0.6s var(--ease-switch); }
.is-switching #main, .is-switching .site-footer { opacity: 0; transition-duration: 0.45s; }

/* Home: the logo fades in as the page opens */
.is-home .brand { animation: fade-in 1.8s ease-in-out 0.1s both; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* Home: header sits over the hero photograph until the page scrolls */
/* Blur written as zero rather than none, and the tint as the same colour at zero, so
   the change to the scrolled bar below fades evenly instead of the blur popping on
   ahead of the tint (which read as a white flash over the bright sky) */
.is-home .site-header {
  /* Tint, colour and border ease over 0.6s; the height keeps pace with the logo */
  transition-duration: 0.6s, 0.6s, 0.6s, var(--dur-genie);
  transition-timing-function: ease, ease, ease, var(--ease-genie);
}
.is-home .site-header::before { transition-duration: 0.6s; transition-timing-function: ease; }
.is-home .site-header:not(.is-scrolled) {
  background: rgba(36, 34, 31, 0);
  --hblur: saturate(1) blur(0px);
  border-color: transparent;
  color: var(--mist);
}
/* Once scrolled, it stays see-through: a light dark tint and blur over the photo */
.is-home .site-header.is-scrolled {
  background: rgba(36, 34, 31, 0.3);
  --hblur: saturate(1.2) blur(14px);
  border-color: rgba(233, 230, 225, 0.14);
  color: var(--mist);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.brand { color: inherit; display: inline-flex; padding: 0.5rem 0; margin-right: auto; }
.brand:hover { color: inherit; }

.nav-list {
  display: flex;
  gap: clamp(1rem, 0.2rem + 1.6vw, 2rem);
  font-size: 0.95rem;
  font-weight: 500;
}
.nav-list a {
  display: inline-block;
  padding: 0.6rem 0;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(currentColor, currentColor) left calc(100% - 0.35rem) / 0 1px no-repeat;
  transition: background-size var(--dur-med) var(--ease-out);
}
.nav-list a:hover,
.nav-list a[aria-current="page"] { background-size: 100% 1px; color: inherit; }

.header-call {
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  color: inherit;
  padding: 0.55rem 0.95rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  transition: background-color var(--dur-fast), color var(--dur-fast);
}
.header-call:hover { background: var(--basalt); color: var(--mist); border-color: var(--basalt); }
.is-home .site-header:not(.is-scrolled) .header-call:hover { background: var(--mist); color: var(--basalt); border-color: var(--mist); }

.nav-toggle {
  display: none;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  color: inherit;
  background: none;
  border: 0;
  padding: 0.75rem 0.25rem;
  min-height: 44px;
  cursor: pointer;
  touch-action: manipulation;
}
.nav-toggle-bars { display: inline-block; width: 1.25rem; height: 0.6rem; margin-left: 0.5rem; vertical-align: middle; position: relative; }
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor;
  transition: transform var(--dur-med) var(--ease-out), top var(--dur-med) var(--ease-out);
}
.nav-toggle-bars::before { top: 0; }
.nav-toggle-bars::after { top: 100%; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 50%; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 50%; transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .header-call { display: none; }
  .nav { order: 3; }
  /* The panel hangs from the bottom of the header bar, lined up with its right edge */
  .header-inner { position: relative; }
  /* A compact panel that drops from the Menu button rather than covering the page:
     frosted, rounded, a hairline between items; only as wide as its longest item, with
     the same space either side, and the items set flush right */
  .nav-list {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: var(--gutter);
    width: max-content;
    max-width: calc(100vw - 2 * var(--gutter));
    flex-direction: column;
    gap: 0;
    padding: 0.4rem 1.4rem 1.1rem;
    border-radius: 1.1rem;
    /* Same tint as the home-page banner (50% white), with a light blur so text behind
       the panel softens instead of competing with the links */
    background: rgba(239, 237, 233, 0.5);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 18px 40px -12px rgba(20, 19, 17, 0.35), 0 2px 8px rgba(20, 19, 17, 0.08);
    color: var(--basalt);
    font-size: 1rem;
    font-weight: 500;
    transform-origin: top right;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-0.4rem) scale(0.97);
    transition: opacity 0.22s var(--ease-out), transform 0.28s var(--ease-out), visibility 0s linear 0.28s;
  }
  .nav-list li + li { border-top: 1px solid rgba(46, 44, 41, 0.12); }
  .nav-list a {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.6rem;
    padding: 0.55rem 0;
    text-align: right;
    background: none;
    transition: color var(--dur-fast);
  }
  .nav-list a:hover { color: var(--driftwood-dark); }
  /* Each item ends in a single stroke, drawn like the "What we manage" marks. At rest it
     stands as a long, fine, faint | (about as light as the dividers); the page you're on
     (cedar) and the item you point at turn it flat to a short, firmer −. As the panel
     opens the strokes swing up from − to | one after another, top to bottom */
  .nav-list a { gap: 0.9rem; }
  .nav-icon { position: relative; flex: none; width: 0.55rem; height: 0.55rem; }
  .nav-icon::after {
    --len: 0.55rem;
    --weight: 1.5px;
    content: "";
    position: absolute;
    left: 50%; top: 50%;
    width: var(--len);
    height: var(--weight);
    margin: calc(var(--weight) / -2) 0 0 calc(var(--len) / -2);
    background: currentColor;
    transform: rotate(180deg);
    transition: transform 0.45s var(--ease-out), width 0.45s var(--ease-out), height 0.45s var(--ease-out),
      margin 0.45s var(--ease-out), opacity 0.45s var(--ease-out);
  }
  .menu-open .nav-icon::after {
    --len: 1.1rem;
    --weight: 1px;
    opacity: 0.3;
    transform: rotate(90deg);
    transition-delay: calc(0.12s + var(--n) * 0.06s);
  }
  .menu-open .nav-list a[aria-current="page"] .nav-icon::after { --len: 0.55rem; --weight: 1.5px; opacity: 1; transform: rotate(180deg); }
  .nav-list a[aria-current="page"] { color: var(--driftwood-dark); }
}
@media (max-width: 1080px) and (hover: hover) {
  .menu-open .nav-list a:hover .nav-icon::after {
    --len: 0.55rem; --weight: 1.5px; opacity: 1; transform: rotate(180deg);
    transition-delay: 0s; transition-duration: var(--dur-med);
  }
}
@media (max-width: 1080px) {
  .menu-open .nav-list {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 0.22s var(--ease-out), transform 0.28s var(--ease-out), visibility 0s linear 0s;
  }
}
/* Desktop: Contact Flux sits at the end of the menu, set off by a fine vertical line on its left */
@media (min-width: 1081px) {
  .nav-icon { display: none; }
  /* Same gap as between menu items, so the line sits centred between the last menu item and Contact Flux */
  .nav-list .nav-call { display: flex; align-items: center; gap: clamp(1rem, 0.2rem + 1.6vw, 2rem); }
  .nav-list .nav-call::before { content: ""; width: 1px; height: 1.1em; background: currentColor; opacity: 0.7; }
}


/* ---------- Buttons & links ---------- */

.actions { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid var(--basalt);
  background: var(--basalt);
  color: var(--mist);
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast);
  font-variant-numeric: tabular-nums;
}
.btn:hover { background: var(--driftwood-dark); border-color: var(--driftwood-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--basalt); }
.btn--ghost:hover { background: var(--basalt); border-color: var(--basalt); color: var(--mist); }

.on-dark .btn { background: var(--mist); color: var(--basalt); border-color: var(--mist); }
.on-dark .btn:hover { background: #fff; border-color: #fff; color: var(--basalt); }
.on-dark .btn--ghost { background: transparent; color: var(--mist); border-color: rgba(233, 230, 225, 0.6); }
.on-dark .btn--ghost:hover { background: var(--mist); color: var(--basalt); border-color: var(--mist); }

.text-link {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--driftwood);
  padding-bottom: 0.15rem;
  transition: border-color var(--dur-fast), color var(--dur-fast);
}
.text-link:hover { border-color: var(--driftwood-dark); }

/* ---------- Photographs ---------- */

/* One grade across all stock: cooler, quieter, a touch warm in the greys */
.photo { position: relative; margin: 0; overflow: hidden; background: var(--driftwood); }
.photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.5) contrast(0.96) brightness(0.98) sepia(0.08); }
.photo figcaption,
.caption {
  font-size: var(--step--1);
  color: var(--slate);
  margin-top: 0.6rem;
}

/* ---------- Home hero ---------- */

.hero {
  position: relative;
  /* Slightly short of the viewport so the next section shows below the fold */
  min-height: 92vh;
  min-height: 92svh;
  display: grid;
  align-items: end;
  color: var(--mist);
}

/* The photo holds still behind every view, outside <main>; the content scrolls over it
   and the footer covers it. Nothing between it and the banners may carry clip-path,
   filter, mask or opacity, or their blur stops seeing the photo */
.stage { position: relative; }
.stage-bg {
  position: fixed; top: 0; left: 0; right: 0;
  height: 100vh;
  height: 100lvh;
  z-index: -1;
  overflow: hidden;
  background: var(--basalt);
}
.hero-media { position: absolute; inset: 0; }
/* A view's own photo (data-for = view id) sits over Howe Sound, hidden until that view
   shows; site.js sets data-view on the stage. Its fade runs during the content swap. The
   Howe Sound caption steps aside while another place is showing */
.hero-media[data-for] { opacity: 0; transition: opacity 1s var(--ease-switch); }
.stage-bg[data-view="pre-construction"] .hero-media[data-for="pre-construction"],
.stage-bg[data-view="owners-representation"] .hero-media[data-for="owners-representation"],
.stage-bg[data-view="approach"] .hero-media[data-for="approach"] { opacity: 1; }
.hero-media[data-for="owners-representation"] img { transform: scaleX(-1); } /* mirrored: carport and entrance on the right */
.stage-bg[data-view="pre-construction"] .stage-caption,
.stage-bg[data-view="owners-representation"] .stage-caption,
.stage-bg[data-view="approach"] .stage-caption { opacity: 0; }
.stage-bg.is-instant .hero-media, .stage-bg.is-instant .stage-caption { transition: none; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: 50% 40%;
  filter: saturate(0.45) contrast(0.92) brightness(0.86) sepia(0.12);
}
.stage-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(46, 44, 41, 0.45) 0%, rgba(46, 44, 41, 0) 22%),
    linear-gradient(0deg, rgba(36, 34, 31, 0.82) 0%, rgba(36, 34, 31, 0.35) 42%, rgba(36, 34, 31, 0) 70%);
}

/* Drifting sea fog — the page's one ambient motion */
.fog {
  position: absolute; inset: -10% -30%;
  pointer-events: none;
  opacity: 0.55;
}
.fog span {
  position: absolute;
  width: 70%; height: 40%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(233, 230, 225, 0.55), rgba(233, 230, 225, 0));
  filter: blur(18px);
  will-change: transform;
  animation: drift 70s ease-in-out infinite alternate;
}
.fog span:nth-child(1) { top: 48%; left: -5%; }
.fog span:nth-child(2) { top: 60%; left: 35%; width: 60%; animation-duration: 90s; animation-delay: -30s; opacity: 0.8; }
.fog span:nth-child(3) { top: 30%; left: 55%; width: 55%; height: 30%; animation-duration: 110s; animation-delay: -60s; opacity: 0.5; }
/* Darkens the photo once the page scrolls, so the panels read over cloud; site.js adds .is-dimmed */
.stage-dim {
  position: absolute; inset: 0;
  background: rgba(36, 34, 31, 0.6);
  opacity: 0;
  transition: opacity 0.6s var(--ease-out);
}
/* Trial: photo keeps its full colour while scrolling (dimming switched off)
.stage-bg.is-dimmed .stage-dim { opacity: 1; } */

/* Photo caption lives on the fixed layer at 90% opacity. As the page scrolls it fades
   over 200px, finishing just before the content rising beneath it reaches it (site.js
   sets --caption-fade from 1 to 0, and it follows the scroll directly rather than easing
   behind it); it's hidden outright on a view with a different photo.
   Phones: bottom of the visible screen (lvh − svh allows for the browser toolbar).
   Wider: level with the hero buttons, at the right, where it sat before. */
.stage-caption {
  position: absolute; left: 0; right: 0;
  opacity: calc(0.9 * var(--caption-fade, 1));
  transition: opacity 0.12s linear;
  bottom: var(--space-3);
  bottom: calc(100lvh - 100svh + var(--space-3));
  text-align: right;
}
.stage-caption .hero-place { width: fit-content; margin-left: auto; }
@media (min-width: 700px) {
  .stage-caption {
    bottom: calc(8vh + var(--stage-gap));
    bottom: calc(100lvh - 92svh + var(--stage-gap));
  }
}
@keyframes drift {
  from { transform: translate3d(-12%, 0, 0); }
  to { transform: translate3d(18%, -4%, 0); }
}

.hero-content {
  padding-top: calc(var(--header-top-h) + var(--space-5));
  padding-bottom: var(--stage-gap);
}
/* "Let it flow." — sits above the partner box, rising into view with it */
.hero-title {
  font-size: var(--head-5);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--mist);
  margin-top: 20px;
  margin-bottom: var(--space-4);
}
.hero-title em { font-style: italic; }
/* Paragraph under "Let it flow.", set like the opening paragraph above it */
.stage-panel .flow-lede {
  font-size: var(--step-0);
  line-height: 1.55;
  /* Same width as the glass boxes below it */
  max-width: 46rem;
  color: var(--mist);
  margin-top: 0;
  /* Extra 50px keeps the box below 70px lower than it first sat (20 + 50) */
  margin-bottom: calc(var(--space-4) + 50px);
}
/* Opening line: set in the display serif, larger, under a short rule; on load the rule
   draws out and the words sharpen into view one after another */
.hero-lede {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.125rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  /* Full width of the centred page column, so the right margin matches the left */
  max-width: none;
  color: var(--mist);
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.35);
  /* Raised off the bottom of the photo */
  padding-bottom: 12vh;
}
/* As the page scrolls, the opening line dissolves gradually from the top down while it
   rises between where it starts and the bottom of the header. site.js sets --fade-a/b
   (top and bottom of that band, measured from the top of this block); the eased stops
   keep the dissolve soft. The mask sits on the whole block, padding included, so the
   text's glow isn't clipped. .fade-top (set by site.js) reuses the same mask for every
   other block: a hard cut at the bottom of the header for the bands, banner and footer,
   a 40px fade just below it for the content on them */
.js .hero-content,
.js .fade-top {
  --fade-a: -2px;
  --fade-b: -1px;
  --fade-band: calc(var(--fade-b) - var(--fade-a));
  -webkit-mask-image: linear-gradient(to bottom,
    transparent var(--fade-a),
    rgba(0, 0, 0, 0.1) calc(var(--fade-a) + var(--fade-band) * 0.25),
    rgba(0, 0, 0, 0.5) calc(var(--fade-a) + var(--fade-band) * 0.5),
    rgba(0, 0, 0, 0.9) calc(var(--fade-a) + var(--fade-band) * 0.75),
    #000 var(--fade-b));
  mask-image: linear-gradient(to bottom,
    transparent var(--fade-a),
    rgba(0, 0, 0, 0.1) calc(var(--fade-a) + var(--fade-band) * 0.25),
    rgba(0, 0, 0, 0.5) calc(var(--fade-a) + var(--fade-band) * 0.5),
    rgba(0, 0, 0, 0.9) calc(var(--fade-a) + var(--fade-band) * 0.75),
    #000 var(--fade-b));
}
.hero-lede::before {
  content: "";
  display: block;
  width: 3.5rem;
  height: 1px;
  margin-bottom: var(--space-3);
  background: currentColor;
  opacity: 0.7;
  transform-origin: left center;
}
.hero-lede em { font-style: italic; }
@media (prefers-reduced-motion: no-preference) {
  .js .hero-lede::before { animation: rule-in 1.2s var(--ease-out) 0.3s both; }
  .js .hero-lede .w {
    display: inline-block;
    animation: word-in 1.1s var(--ease-out) both;
    animation-delay: calc(0.6s + var(--i) * 0.06s);
  }
}
@keyframes rule-in { from { transform: scaleX(0); } to { transform: none; } }
@keyframes word-in {
  from { opacity: 0; filter: blur(8px); transform: translate3d(0, 0.35em, 0); }
  to { opacity: 1; filter: none; transform: none; }
}
.hero-foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: var(--space-3);
}
.hero-place {
  font-size: var(--step--1);
  color: var(--mist-muted);
  margin: 0;
}

/* ---------- Views over the photo ---------- */

/* Opening of each view: title and lede straight on the photo, set like "Let it flow." */
/* At least as tall as the tallest view's opening needs (site.js sets --hero-fit), so the
   first band starts at the same height on every view */
.view-hero {
  min-height: max(72vh, var(--hero-fit, 0px));
  min-height: max(72svh, var(--hero-fit, 0px));
  display: grid;
  align-items: end;
  padding-top: calc(var(--header-top-h) + var(--space-4));
}
/* A view's opening statement: the home page's opening line exactly (size, full column
   width, rule, words sharpening in); only its spacing differs, as it sits under the title */
/* The first band on every page sits 60px lower, leaving more photo (and its caption) clear */
.hero + *, .view-hero + * { margin-top: 60px; }
/* Phones: a view's opening fills the screen, so with that 60px its first band starts just
   below the bottom edge when the page opens, on every view */
@media (max-width: 700px) {
  .view-hero { min-height: max(100vh - 60px, var(--hero-fit, 0px)); min-height: max(100svh - 60px, var(--hero-fit, 0px)); }
  /* …and below the browser's bottom bar too (lvh − svh): Safari's floating bar is see-through,
     so a band starting at the small-viewport edge showed through it as a pale strip */
  .hero + *, .view-hero + * { margin-top: calc(60px + 100lvh - 100svh); }
}
/* site.js shows every view for a moment, unsized, to measure the openings */
.heroes-measuring .view { display: block !important; }
.heroes-measuring .view-hero { min-height: 0 !important; }
/* A view's own photo caption, set like "Howe Sound, British Columbia": right-aligned in
   that 60px of clear photo, at 90%, fading over the first 200px of scroll (site.js sets --place-fade) */
.view-hero { position: relative; }
.view-place {
  position: absolute; left: 0; right: 0; top: 100%;
  height: 60px; display: flex; align-items: center; justify-content: flex-end;
  opacity: calc(0.9 * var(--place-fade, 1));
  transition: opacity 0.12s linear;
}
.view-hero .view-place .hero-place { color: var(--mist-muted); } /* the home caption's colour (a view's paragraphs are lighter) */
.view-hero .hero-lede { font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.125rem); max-width: none; padding-bottom: 0; margin: 0 0 calc(var(--space-3) + 40px); }
/* Owner's rep: title and statement sit 50px lower on the photo; the band below stays put */
#owners-representation .view-hero .wrap:not(.view-place) { position: relative; top: 50px; }
/* ...and the dash between them 10px lower again, closer to the statement */
#owners-representation .view-hero .hero-lede::before { position: relative; top: 10px; }
/* ...and the title 65px higher, so the space between title and statement matches pre-construction's
   (32px + 20px + 45px); the statement stays where it was */
#owners-representation .view-hero .hero-title { position: relative; top: -65px; }
/* Pre-construction: the title 20px higher and the statement 45px lower, opening up the space between them */
#pre-construction .view-hero .hero-title { position: relative; top: -20px; }
#pre-construction .view-hero .hero-lede { position: relative; top: 45px; }
/* A band holding a single paragraph, no headline */
.band-text { max-width: 46rem; margin: 0 auto; text-align: center; font-size: var(--step-0); line-height: 1.6; }
.band-text + .band-text { margin-top: 1em; }
/* Sections sit on translucent bands so the photo carries on behind them; a little more
   tint than the home banner, as these carry longer reading */
.view .section {
  background: rgba(239, 237, 233, 0.66);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.view .section--shell { background: rgba(239, 237, 233, 0.8); }
.view .section--dark { background: rgba(36, 34, 31, 0.62); }
/* Reason cards floating on a light band: a touch lighter than the band, fine outline,
   5px corners, a soft shadow, 40px between them */
.reasons {
  display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr);
  list-style: none; margin: var(--space-5) 0 0; padding: 0;
}
@media (min-width: 46rem) { .reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 68rem) { .reasons { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* A snug band (owner's rep "Why owners engage Flux"): 40px from the band's edges to
   the title and from the text to the cards */
.section.section--snug { padding-block: 40px; }
.section--snug .reasons { margin-top: 40px; }
.reason {
  text-align: center;
  padding: var(--space-4);
  background: rgba(250, 249, 247, 0.6);
  border: 1px solid var(--line);
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(46, 44, 41, 0.04), 0 8px 20px rgba(46, 44, 41, 0.07);
}
.view .reason h3 { font-size: var(--step-1); }
.view .reason p:last-child { margin-top: var(--space-2); font-size: var(--step-0); line-height: 1.6; color: var(--slate); }
/* Closing contact panel: straight on the photo, a clear gap below the last band */
.section + .contact-panel { padding-top: var(--stage-gap); }
/* After "Contact Flux", or on reaching the bottom of the page, everything above the contact
   panel fades out; scrolling back up fades it in again (see site.js) */
.js .view :has(~ .contact-panel) { transition: opacity 0.6s ease; }
.js .view.is-contact-focus :has(~ .contact-panel) { opacity: 0; }
/* A clear stretch of photo where the old pages had a full-width picture */
.view-gap { height: 45vh; height: 45svh; }

/* ---------- Sections ---------- */

.section { padding-block: clamp(3.5rem, 2.25rem + 4.5vw, 6.5rem); }
/* A band holding only a headline: no gap left under it */
.section--title .section-head { margin-bottom: 0; }
/* Approach "Building here is unique.": 20px less above the heading */
#approach .section[aria-labelledby="approach-manage-h"] { padding-top: calc(clamp(3.5rem, 2.25rem + 4.5vw, 6.5rem) - 20px); }
.section + .section { border-top: 1px solid var(--line); }
.section--shell { background: var(--shell); border-top: 0 !important; }
.section--dark {
  background: var(--basalt);
  color: var(--mist);
  border-top: 0 !important;
}
.section--dark a:hover { color: #fff; }
.section--dark .muted { color: var(--mist-muted); }

.muted { color: var(--slate); }

/* Every band's heading block is set the same way: its intro 1rem under the heading, and
   2rem from the block to what follows */
.section-head { margin-bottom: var(--space-4); max-width: 46rem; }
.section-head h2 { font-size: var(--head-4); }
.section-head p { margin-top: var(--space-2); font-size: var(--step-0); color: var(--slate); }
.section--dark .section-head p { color: var(--mist-muted); }
.section-head--center { margin-inline: auto; text-align: center; }

/* ---------- Project lifecycle ----------
   Numbered rings (1.0, 2.0...) joined by a hairline: a column on narrow screens,
   one row of six from 1100px. As it scrolls into view each step fades up in turn and
   the line draws on to the next (site.js adds .is-in) */
.lifecycle {
  --lc-size: 3.5rem;   /* ring diameter */
  --lc-gap: 0.5rem;    /* clear space between a ring and the line */
  --lc-col-gap: var(--space-3);
  list-style: none; margin: 0; padding: 0;
  display: grid;
}
.lifecycle > li {
  position: relative;
  display: grid; grid-template-columns: var(--lc-size) 1fr; column-gap: var(--space-3);
  align-items: start;
  padding-bottom: var(--space-5);
}
.lifecycle > li:last-child { padding-bottom: 0; }
.lc-num {
  width: var(--lc-size); height: var(--lc-size);
  display: grid; place-items: center;
  border: 1px solid var(--line-strong); border-radius: 50%;
  font-family: var(--font-display); font-weight: 300; font-size: 1.25rem;
  font-variant-numeric: lining-nums;
  /* the figures sit a touch high in the display face; this drops them 1px */
  padding-top: 2px;
}
.lc-text { min-height: var(--lc-size); display: flex; flex-direction: column; justify-content: center; }
.lc-text h3 {
  font-family: var(--font-text); font-size: var(--step--1); font-weight: 500;
  line-height: 1.5; letter-spacing: 0.14em; text-transform: uppercase;
}
.lc-nb { white-space: nowrap; }
/* What the stage is, under its one-word name */
.lc-tag { margin: 0.1rem 0 0; font-size: var(--step--1); line-height: 1.4; color: var(--slate); }
/* Each step's points (1.1, 1.2...), smaller and lighter, folded away under its title.
   Pointing at a step (or tapping or tabbing to it) opens its points: the space under the
   title grows and everything below moves down with it, band included, while the points
   glide down one after another; moving away folds them back up */
.lc-sub {
  grid-column: 2;
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease-out);
}
.lc-sub > ol {
  min-height: 0; overflow: hidden;
  list-style: none; margin: 0; padding: 0;
  font-size: var(--step--1); line-height: 1.45; color: var(--slate);
}
.lc-sub li {
  display: flex; gap: 0.5em; margin-top: 0.3rem;
  opacity: 0; transform: translateY(-0.6rem);
  transition: opacity 0.3s var(--ease-out), transform 0.45s var(--ease-out);
}
.lc-sub li:last-child { padding-bottom: 2px; }
.lc-sub-n { flex: none; color: var(--driftwood-dark); font-variant-numeric: lining-nums tabular-nums; }
/* The work that runs through a stage rather than being one step of it */
.lc-sub li.lc-note { display: block; margin-top: 0.6rem; font-style: italic; }
.lifecycle > li:hover .lc-sub,
.lifecycle > li:focus-within .lc-sub { grid-template-rows: 1fr; }
.lifecycle > li:hover .lc-sub li,
.lifecycle > li:focus-within .lc-sub li {
  opacity: 1; transform: none;
  transition-delay: calc(0.1s + var(--j) * 0.07s);
}
/* While a step is open its ring looks pressed in: a soft shadow inside along the top */
.lc-num { transition: box-shadow 0.35s var(--ease-out), background-color 0.35s var(--ease-out); }
.lifecycle > li:hover .lc-num,
.lifecycle > li:focus-within .lc-num {
  background-color: rgb(46 44 41 / 0.04);
  box-shadow: inset 0 2px 6px rgb(46 44 41 / 0.3), inset 0 -1px 1px rgb(255 255 255 / 0.45);
}
/* The cue that a step opens: a small + under its description, drawn like the + on the
   expanding lists, that turns to − while the step is open */
.lc-more { position: relative; display: block; flex: none; width: 0.75rem; height: 0.75rem; margin-top: 0.55rem; color: var(--driftwood-dark); }
.lc-more::before,
.lc-more::after {
  content: "";
  position: absolute; left: 0; right: 0; top: 50%;
  height: 1.5px; margin-top: -0.75px;
  background: currentColor;
  transition: transform var(--dur-med) var(--ease-out);
}
.lc-more::after { transform: rotate(90deg); }
.lifecycle > li:hover .lc-more::after,
.lifecycle > li:focus-within .lc-more::after { transform: rotate(180deg); }
.lifecycle > li { outline: none; }
.lifecycle > li:focus-visible .lc-text h3 { text-decoration: underline; text-underline-offset: 0.3em; }
@media (prefers-reduced-motion: reduce) {
  .lc-sub, .lc-sub li, .lc-num, .lc-more::after { transition: none; }
  .lc-sub li { transform: none; }
}
.lc-line {
  position: absolute;
  left: calc(var(--lc-size) / 2 - 0.5px); width: 1px;
  top: calc(var(--lc-size) + var(--lc-gap)); bottom: var(--lc-gap);
  background: var(--line-strong);
  transform-origin: top;
}
@media (min-width: 1100px) {
  .lifecycle { --lc-size: 4.75rem; --lc-gap: 0.75rem; grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: var(--lc-col-gap); }
  .lifecycle > li {
    grid-template-columns: minmax(0, 1fr); justify-items: center; align-content: start;
    row-gap: 0; padding-bottom: 0; text-align: center;
  }
  .lc-num { font-size: 1.75rem; }
  .lc-text h3 { letter-spacing: 0.1em; }
  .lc-text { min-height: 0; width: max-content; max-width: 15ch; min-width: min-content; margin-top: var(--space-3); } /* a long word overhangs both sides evenly */
  .lc-more { align-self: center; }
  /* room for two lines of description under every title, so the + marks line up across the row */
  .lc-tag { min-height: calc(2 * 1.4em); }
  /* a left-aligned block, centred under its title */
  .lc-sub { grid-column: auto; justify-self: center; width: max-content; max-width: 100%; text-align: left; }
  .lc-sub li:first-child { margin-top: var(--space-2); }
  /* from this ring's right edge to the next ring's left edge, one column over */
  .lc-line {
    top: calc(var(--lc-size) / 2); bottom: auto; height: 1px; width: auto;
    left: calc(50% + var(--lc-size) / 2 + var(--lc-gap));
    right: calc(-50% - var(--lc-col-gap) + var(--lc-size) / 2 + var(--lc-gap));
    transform-origin: left;
  }
}
/* Three steps (owner's rep "How an engagement with Flux works…"): one row of three, with
   room for longer lines under each ring */
@media (min-width: 1100px) {
  .lifecycle--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 60rem; margin-inline: auto; }
  .lifecycle--3 .lc-text { max-width: 24ch; }
  .lifecycle--3 .lc-sub { max-width: 19rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .js .lifecycle.reveal { opacity: 1; transform: none; }
  .js .lifecycle .lc-num,
  .js .lifecycle .lc-text { opacity: 0; transition: opacity 0.8s var(--ease-out) calc(var(--i) * 0.25s); }
  .js .lifecycle .lc-line { transform: scaleY(0); transition: transform 0.5s var(--ease-out) calc(var(--i) * 0.25s + 0.3s); }
  .js .lifecycle.is-in .lc-num,
  .js .lifecycle.is-in .lc-text { opacity: 1; }
  .js .lifecycle.is-in .lc-line { transform: none; }
  @media (min-width: 1100px) { .js .lifecycle .lc-line { transform: scaleX(0); } }
  /* Its title glides in from the left as the steps appear (the "Let it flow." glide) */
  .js .section-head:has(+ .lifecycle) h2 { opacity: 0; }
  .js .section-head:has(+ .lifecycle.is-in) h2 { animation: glide-in 2.2s cubic-bezier(0.16, 1, 0.3, 1) both; }
}

.statement {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--step-4);
  line-height: 1.18;
  letter-spacing: -0.015em;
  max-width: 22ch;
  text-wrap: balance;
}
.statement-grid { display: grid; gap: var(--space-5); }
.statement-aside { font-size: var(--step-0); color: var(--slate); }
.statement-aside p { max-width: 34rem; }
@media (min-width: 900px) {
  .statement-grid { grid-template-columns: 1.4fr 1fr; align-items: start; }
  /* The aside runs much longer than the headline, so the headline stays in view beside it */
  .statement { position: sticky; top: calc(var(--header-h) + var(--space-5)); }
}

/* ---------- Streams diagram (the flow chart) ---------- */

.streams-figure { margin: 0; max-width: 60rem; }
.streams { width: 100%; }
.streams svg { display: block; width: 100%; height: auto; overflow: visible; }
.streams .s-label { font-family: var(--font-text); font-size: 14px; fill: var(--slate); }
/* each confluence widens the line, like creeks joining a river */
.streams .s-conv,
.streams .s-channel { fill: none; stroke: var(--driftwood-deep); stroke-width: 1.3; stroke-linecap: round; }
.streams .s-conv--pair { stroke-width: 2.2; }
.streams .s-conv--team { stroke-width: 3.2; }
.streams .s-channel { stroke-width: 4; }
.streams .s-node { fill: var(--basalt); }
.streams .s-team { font-family: var(--font-display); font-style: italic; font-size: 19px; fill: var(--driftwood-dark); }
.streams.is-narrow .s-label { font-size: 13px; }
.streams.is-narrow .s-team { font-size: 16px; }
/* The marks on the channel: dark grey, drifting gently, with the line fading out
   beneath each (a mask set up in site.js) */
.streams .s-icon { fill: none; stroke: var(--basalt); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.streams .s-icon .s-dot { fill: var(--basalt); stroke: none; }
.streams .s-caption { font-family: var(--font-text); font-size: 13px; font-weight: 600; fill: var(--basalt); }
.streams.is-narrow .s-caption { font-size: 11.5px; }
@media (prefers-reduced-motion: no-preference) {
  .streams .s-float { animation: s-float 3.2s ease-in-out calc(var(--k) * -1.1s) infinite alternate; }
}
@keyframes s-float { from { transform: translateY(0); } to { transform: translateY(-4px); } }

/* Drawn once: each line at an even pace, starting as the lines feeding it arrive
   (--t and --d are set by site.js) */
.js .streams .s-conv,
.js .streams .s-channel {
  stroke-dasharray: var(--len) var(--len);
  stroke-dashoffset: var(--len);
  transition: stroke-dashoffset var(--t, 1s) linear var(--d, 0s);
}
/* each stretch of the channel eases in and out, so the line settles at each dot */
.js .streams .s-channel { transition-timing-function: ease-in-out; }
/* while site.js sets the chart up, nothing transitions */
.js .streams.is-measuring * { transition: none !important; }
.js .streams .s-node,
.js .streams .s-team,
.js .streams .s-badge { opacity: 0; transition: opacity var(--f, 0.8s) var(--ease-out) var(--d, 0s); }
.js .streams.is-drawn .s-conv,
.js .streams.is-drawn .s-channel { stroke-dashoffset: 0; }
.js .streams.is-drawn .s-node,
.js .streams.is-drawn .s-team,
.js .streams.is-drawn .s-badge { opacity: 1; }
/* The chart's heading waits off-screen left and glides in as the lines start to draw, at
   the lines' own even pace (site.js sets --glide-x and --glide-t, and adds .is-in) */
@media (prefers-reduced-motion: no-preference) {
  .js .flow-title { transform: translate3d(var(--glide-x, -100vw), 0, 0); }
  .js .flow-title.is-in { transform: none; transition: transform var(--glide-t, 1.2s) linear; }
  /* ...and the paragraph under it fades in from halfway through the title's glide */
  .js .flow-title + p { opacity: 0; }
  .js .flow-title.is-in + p { opacity: 1; transition: opacity var(--fade-t) linear calc(var(--glide-t, 1.2s) * 0.5); }
  /* Once that text has finished, the chart draws and the twelve consultants glide in from
     the left, top to bottom, over the same time the paragraph took to fade (site.js numbers
     them 0 to 11 in --i). "translate" moves them without undoing the rotation the narrow
     chart gives them */
  .js .streams .s-label { opacity: 0; translate: -3rem 0; }
  /* on the narrow chart the names stand upright along the top, so each drops straight down */
  .js .streams.is-narrow .s-label { translate: 0 -3rem; }
  .js .streams.is-drawn .s-label {
    opacity: 1; translate: 0 0;
    transition: opacity 0.6s var(--ease-out), translate 0.8s var(--ease-out);
    transition-delay: calc(var(--i, 0) * var(--fade-t) / 11);
  }
}
/* how long the paragraph takes to fade in, and so how long the consultants take to arrive */
section:has(.flow-title) { --fade-t: 1.5s; }

.streams-caption { display: grid; gap: var(--space-3); margin-top: var(--space-4); }
.streams-caption p { color: var(--slate); }
@media (min-width: 900px) { .streams-caption { grid-template-columns: 1fr 1fr; } }

/* ---------- Services split ---------- */

.services { display: grid; gap: var(--space-6); }
.service { display: grid; gap: var(--space-4); align-content: start; }
.service .photo { aspect-ratio: 4 / 3; }
.service h3 { font-size: var(--head-3); }
.service p { color: var(--slate); }
@media (min-width: 900px) {
  .services { grid-template-columns: 1fr 1fr; gap: var(--space-5); }
  .service:nth-child(2) { margin-top: var(--space-7); }
}

/* ---------- Coast realities ---------- */

.coast { display: grid; gap: var(--space-5); }
.coast .photo { aspect-ratio: 3 / 4; }
.realities { display: grid; gap: 0; }
.realities li {
  display: grid;
  gap: 0.35rem;
  padding: var(--space-3) 0;
  border-top: 1px solid var(--line);
}
.realities li:last-child { border-bottom: 1px solid var(--line); }
.realities h3 { font-family: var(--font-text); font-size: var(--step-1); font-weight: 600; letter-spacing: 0; line-height: 1.3; }
.realities p { color: var(--slate); }
@media (min-width: 900px) {
  .coast { grid-template-columns: 5fr 7fr; gap: var(--space-6); align-items: start; }
  .coast .photo { position: sticky; top: calc(var(--header-h) + var(--space-4)); }
  .realities li { grid-template-columns: 14rem 1fr; gap: var(--space-4); }
}

/* ---------- Home stage panels (partner, privacy) ---------- */

.stage-panel {
  padding-bottom: var(--stage-gap);
  color: var(--mist);
  /* Keeps the off-screen start of the headline glide from widening the page */
  overflow-x: clip;
}
.stage-panel h2 { font-size: var(--head-4); max-width: 18ch; }
/* Closing statement on every page: wide enough for a long line to sit on two lines */
.contact-panel h2 { max-width: 34ch; }
.stage-panel p { color: var(--mist); font-size: var(--step-0); max-width: 34rem; margin-top: var(--space-2); }
.stage-panel .actions { margin-top: var(--space-4); }
/* The banner runs straight into the band below it (home, approach) */
.stage-panel--flush { padding-bottom: 0; }

/* Translucent white banner across the full width of the window, over the photo, with
   dark grey text centred in it */
.glass-card {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  padding: clamp(2rem, 1.25rem + 3vw, 3.5rem) var(--gutter);
  /* Tint with a very slight blur, so the photo still reads through */
  background: rgba(239, 237, 233, 0.5);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  color: var(--basalt);
  text-align: center;
}
/* Owner's rep "Why owners engage Flux": the light band tone (as behind "Let it flow.") */
#owners-representation .glass-card {
  background: rgba(239, 237, 233, 0.8);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.stage-panel .glass-card h2,
.stage-panel .glass-card p { color: var(--basalt); margin-inline: auto; }
/* Partner heading: a touch smaller so "Flux Projects is your partner" fits on one line,
   breaking only where the <br> puts it */
.stage-panel #partner-h,
.stage-panel #rep-h,
.stage-panel .banner-cols-3 h2,
.stage-panel .banner-cols-3 h3 {
  max-width: none;
  /* A touch smaller than before it went heavier, so it doesn't read larger */
  font-size: calc(var(--head-4) * 0.88);
  /* Stays on one line: shrinks with its half of the banner (the longer heading is about
     11.6 times as wide as its font size), down to body-text size before it wraps */
  font-size: clamp(var(--step-0), 100cqi / 12, calc(var(--head-4) * 0.88));
  /* A step heavier than the other headings, with the buttons' faint shadow */
  font-weight: 400;
  text-shadow: 0 2px 10px rgba(46, 44, 41, 0.12), 0 1px 2px rgba(46, 44, 41, 0.08);
}
.glass-card p:last-child { margin-bottom: 0; }
/* One banner, two halves: pre-construction and owner's representation side by side on a
   wide window, one above the other when it's narrow. Each half is a column so its
   "Explore more" sits at the foot, level with the other's */
.banner-cols {
  display: grid;
  max-width: var(--wrap);
  margin-inline: auto;
}
.banner-col { display: flex; flex-direction: column; align-items: center; container-type: inline-size; }
.banner-col p { flex: 1 0 auto; }
.banner-col + .banner-col {
  margin-top: 3.5rem;
  padding-top: 3.5rem;
  border-top: 1px solid rgba(46, 44, 41, 0.2);
}
@media (min-width: 900px) {
  .banner-cols { grid-template-columns: 1fr 1fr; }
  .banner-col { padding-inline: clamp(1.5rem, 4vw, 4rem); }
  .banner-col + .banner-col {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
    border-left: 1px solid rgba(46, 44, 41, 0.2);
  }
}
/* Approach (ways to engage): the same banner with its parts (an introduction, then the three
   ways to engage) in rows at every width, spaced and divided as the home banner's halves
   are when stacked. Each way carries a small label above it and a "Use it when" line below */
.stage-panel .glass-card .banner-label {
  flex: none;
  margin-bottom: var(--space-2);
  color: var(--driftwood-dark);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.banner-cols-3 .banner-when { flex: none; margin-top: var(--space-3); font-size: var(--step-0); }
@media (min-width: 900px) {
  .banner-cols-3 { grid-template-columns: 1fr; }
  .banner-cols-3 .banner-col + .banner-col {
    margin-top: 3.5rem;
    padding-top: 3.5rem;
    border-top: 1px solid rgba(46, 44, 41, 0.2);
    border-left: 0;
  }
}

/* Expanding lists (The Flux Advantage, What we manage, every stage): one item open at a
   time, all set the same way as the approach page's stages list; each band keeps its own colours */
.accordion { max-width: 54rem; border-bottom: 1px solid rgba(46, 44, 41, 0.4); }
.acc-item { border-top: 1px solid rgba(46, 44, 41, 0.4); }
.acc-h { margin: 0; font: inherit; letter-spacing: 0; }
.acc-btn {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  width: 100%;
  min-height: 44px;
  padding: 0.9rem 0;
  border: 0;
  background: none;
  color: var(--basalt);
  font-family: var(--font-text);
  font-size: var(--step-1);
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
}
.acc-btn:focus-visible { outline: 2px solid var(--basalt); outline-offset: 4px; border-radius: 4px; }
/* The item name sits in its own box that ends short of the + mark, so a name gliding in
   only shows to the left of it (see the glide below) */
.acc-label { flex: 1; min-width: 0; overflow-x: clip; container-type: inline-size; }
.acc-text { display: block; }
/* Once a list scrolls into view (site.js adds .is-in) each name glides in from the right, one
   after another down the list (--n is its place, set in build.py), appearing from the + side */
@media (prefers-reduced-motion: no-preference) {
  .js .accordion .acc-text { translate: 100cqw 0; }
  .js .accordion.is-in .acc-text {
    translate: 0 0;
    transition: translate 0.9s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--n, 0) * 0.12s);
  }
}
.acc-icon { position: relative; flex: none; width: 0.75rem; height: 0.75rem; }
.acc-icon::before,
.acc-icon::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 1.5px;
  margin-top: -0.75px;
  background: currentColor;
  transition: transform var(--dur-med) var(--ease-out);
}
/* The vertical stroke turns flat when open, so + becomes − */
.acc-icon::after { transform: rotate(90deg); }
.acc-item.is-open .acc-icon::after { transform: rotate(180deg); }
html:not(.js) .acc-icon { display: none; }
/* Without JS every panel simply shows */
.acc-panel { display: grid; grid-template-rows: 1fr; }
.js .acc-panel {
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 0.45s var(--ease-out), visibility 0s linear 0.45s;
}
.js .acc-item.is-open .acc-panel {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows 0.45s var(--ease-out), visibility 0s linear 0s;
}
.acc-inner { overflow: hidden; min-height: 0; }
.acc-inner p {
  max-width: 44rem;
  margin: 0;
  color: var(--slate);
  padding-bottom: var(--space-3);
  font-size: var(--step-0);
  line-height: 1.5;
}
/* On a dark band (owner's representation): the same accordion in light text and lines */
.section--dark .accordion { border-bottom-color: rgba(233, 230, 225, 0.4); }
.section--dark .acc-item { border-top-color: rgba(233, 230, 225, 0.4); }
.section--dark .acc-btn { color: var(--driftwood); } /* the footer F's light brown */
.section--dark .acc-btn:focus-visible { outline-color: var(--mist); }
.section--dark .acc-inner p { color: var(--mist-muted); }
/* Approach "What Flux brings to every stage": the same list in the light banner, lined up
   with the band below. An answer opens on an italic lead line, with small labels over short
   lists set two to a row on wider windows */
.glass-card--list { text-align: left; }
.glass-card--list .glass-inner { max-width: calc(var(--wrap) - 2 * var(--gutter)); margin-inline: auto; }
.stage-panel .glass-card--list .section-head h2 { max-width: none; }
.stage-panel .glass-card--list .section-head p { margin: var(--space-2) 0 0; max-width: 46rem; color: var(--slate); }
.stage-panel .glass-card--list .acc-inner p { margin: 0; max-width: 44rem; font-size: var(--step-0); color: var(--slate); }
.stage-panel .glass-card--list .acc-inner .acc-lead { color: var(--basalt); font-style: italic; }
.stage-panel .glass-card--list .acc-inner .acc-label {
  padding-bottom: var(--space-2);
  color: var(--driftwood-dark);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.acc-list {
  display: grid;
  gap: 0.35rem var(--space-6);
  margin: 0 0 var(--space-3);
  padding: 0;
  list-style: none;
  color: var(--slate);
  font-size: var(--step-0);
  line-height: 1.45;
}
.acc-list li { position: relative; padding-left: 1.25rem; }
.acc-list li::before {
  content: "";
  position: absolute; left: 0; top: 0.72em;
  width: 0.6rem; height: 1px; background: var(--driftwood-dark);
}
@media (min-width: 46.01rem) { .acc-list { grid-template-columns: repeat(2, max-content); } }
/* On a phone: room for the italic's overhang, which the panel would otherwise clip */
@media (max-width: 46rem) {
  .stage-panel .glass-card--list .acc-inner .acc-lead { padding-right: 0.2em; }
}
/* Pointing at an item: its + grows a little, and on a dark band brightens to white */
.acc-icon { transition: transform var(--dur-med) var(--ease-out), color var(--dur-med) var(--ease-out); }
@media (hover: hover) {
  .acc-btn:hover .acc-icon { transform: scale(1.3); }
  .section--dark .acc-btn:hover .acc-icon { color: #fff; }
}
@media (prefers-reduced-motion: reduce) {
  .js .acc-panel, .js .acc-item.is-open .acc-panel, .acc-icon::before, .acc-icon::after { transition: none; }
  .nav-icon, .nav-icon::after { transition: none !important; }
}

/* The site's floating buttons (the foot of each banner box, and call/email in every
   contact panel): dark text on a pane of smoked glass, a small rectangle in a fine dark
   outline. Kept quiet so it doesn't compete with the page: the fill only faintly catches
   light at the top and darkens towards the foot, a faint rim runs along the inside of the
   top edge, and a light shadow lifts it just off the banner. Use it for any new button in
   the page body */
.card-link {
  display: inline-block;
  margin-top: var(--space-4);
  padding: 0.45rem 1.3rem;
  border: 1px solid rgba(46, 44, 41, 0.45);
  border-radius: 5px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(46, 44, 41, 0.05) 50%, rgba(46, 44, 41, 0.12) 100%);
  -webkit-backdrop-filter: blur(8px) saturate(1.6);
  backdrop-filter: blur(8px) saturate(1.6);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05),
    0 2px 8px rgba(46, 44, 41, 0.07),
    0 1px 2px rgba(46, 44, 41, 0.05),
    0 4px 5px -2px rgba(46, 44, 41, 0.18);
  font-family: var(--font-text);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--basalt);
  transition: border-color var(--dur-med) var(--ease-out), background-color var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}
.card-link:hover {
  border-color: var(--basalt);
  background-color: rgba(255, 255, 255, 0.06);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08),
    0 3px 10px rgba(46, 44, 41, 0.1),
    0 1px 2px rgba(46, 44, 41, 0.07),
    0 5px 6px -2px rgba(46, 44, 41, 0.22);
}
/* In a row of actions the row sets the spacing; straight on the photo the text and
   outline turn light so they read */
.actions .card-link { margin-top: 0; }
.contact-panel .card-link {
  color: var(--mist);
  border-color: rgba(233, 230, 225, 0.4);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  font-variant-numeric: tabular-nums;
}
.contact-panel .card-link:hover { border-color: rgba(233, 230, 225, 0.75); }
.contact-panel .card-link:focus-visible { outline-color: var(--mist); }
/* Phones: a little tighter so the longer label stays on one line */
@media (max-width: 420px) {
  .card-link { padding-inline: 1.1rem; letter-spacing: 0.04em; }
}
.card-link:focus-visible { outline: 2px solid var(--basalt); outline-offset: 3px; }

/* Rises into view from below; site.js adds .is-in once it's on screen */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translate3d(0, 5rem, 0);
    transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out);
  }
  .js .reveal.is-in { opacity: 1; transform: none; }
  /* The closing contact panel at the foot of each page rises at half the speed */
  .js .contact-panel .reveal { transition-duration: 2s, 2.4s; }
  /* Rises without fading, so the glass box holds the same see-through level throughout
     (a fading parent also switches off the box's blur until the fade ends) */
  .js .reveal--no-fade { opacity: 1; }
  /* "Let it flow." glides in from fully off-screen left once it scrolls into view;
     site.js adds .is-in */
  .js .glide { opacity: 0; }
  /* Strong ease-out: rushes in, then settles slowly into place */
  .js .glide.is-in { animation: glide-in 2.2s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both; }
  /* The paragraph under it comes in from the right instead */
  .js .glide--right.is-in { animation-name: glide-in-right; }
  /* A paragraph gliding in under its heading follows a moment behind it */
  .js .glide--next.is-in { animation-delay: 0.6s; }
  /* A heading that fades in where it sits once it scrolls into view; site.js adds .is-in */
  .js .fade-in { opacity: 0; transition: opacity 1.6s var(--ease-out) 0.15s; }
  .js .fade-in.is-in { opacity: 1; }
}
@keyframes glide-in-right {
  from { opacity: 0; transform: translate3d(100vw, 0, 0); }
  to { opacity: 1; transform: none; }
}
@keyframes glide-in {
  from { opacity: 0; transform: translate3d(-100vw, 0, 0); }
  to { opacity: 1; transform: none; }
}

/* ---------- Contact band ---------- */

.contact-band { display: grid; gap: var(--space-5); }
.contact-band h2 { font-size: var(--head-5); letter-spacing: -0.025em; line-height: 1; }
.contact-lines { display: grid; gap: var(--space-2); font-size: var(--step-2); font-family: var(--font-display); font-weight: 300; }
.contact-lines a { text-decoration: none; border-bottom: 1px solid var(--line-dark); padding-bottom: 0.2rem; font-variant-numeric: lining-nums tabular-nums; overflow-wrap: anywhere; }
.contact-lines a:hover { border-color: currentColor; }
@media (min-width: 900px) { .contact-band { grid-template-columns: 1.3fr 1fr; align-items: end; } }

/* ---------- Lists of scope (service pages) ---------- */

.scope { display: grid; gap: 0; counter-reset: none; }
.scope li {
  display: grid;
  gap: var(--space-1);
  padding: var(--space-4) 0;
  border-top: 1px solid var(--line);
}
.scope li:last-child { border-bottom: 1px solid var(--line); }
.scope h3 { font-size: var(--head-2); font-weight: 400; }
.scope p { color: var(--slate); }
@media (min-width: 900px) {
  .scope li { grid-template-columns: 1fr 1.4fr; gap: var(--space-5); }
}

.two-col { display: grid; gap: var(--space-5); }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: var(--space-6); } }

.pull {
  font-family: var(--font-display);
  font-size: var(--head-4);
  font-weight: 300;
  line-height: 1.25;
  max-width: 28ch;
}
/* A short paragraph under a centred pull quote */
.pull-note { max-width: 58ch; margin: var(--space-4) auto 0; text-align: center; color: rgba(233, 230, 225, 0.82); }

.wide-photo { aspect-ratio: 21 / 9; }
@media (max-width: 700px) { .wide-photo { aspect-ratio: 4 / 3; } }

/* ---------- Candid list ---------- */

.candid { display: grid; gap: var(--space-4); }
.candid li { padding-left: 1.5rem; position: relative; }
.candid li::before {
  content: "";
  position: absolute; left: 0; top: 0.8em;
  width: 0.75rem; height: 1px; background: var(--driftwood-dark);
}
.candid strong { font-size: var(--step-1); font-weight: 600; line-height: 1.3; display: block; margin-bottom: 0.2rem; }
.candid span { color: var(--slate); }
.section--dark .candid span { color: var(--mist-muted); }
.section--dark .candid li::before { background: var(--driftwood); }
@media (min-width: 900px) { .candid { grid-template-columns: 1fr 1fr; gap: var(--space-5) var(--space-6); } }

/* ---------- Fees ---------- */

.fees { display: grid; gap: var(--space-3); }
.fee {
  padding: var(--space-4);
  border: 1px solid var(--line-dark);
  border-radius: 2px;
}
.fee h3 { font-size: var(--head-2); margin-bottom: var(--space-2); }
.fee p { color: var(--mist-muted); }
.fee-fit { margin-top: var(--space-3); padding-top: var(--space-2); border-top: 1px solid var(--line-dark); font-size: var(--step--1); color: var(--mist); }
@media (min-width: 900px) { .fees { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Work ---------- */

.work-list { display: grid; gap: clamp(3.5rem, 2.25rem + 4.5vw, 6.5rem); }
.work-item { display: grid; gap: var(--space-4); }
.work-item .photo { aspect-ratio: 3 / 2; }
.work-item h2 { font-size: var(--head-3); }
.work-meta { display: grid; gap: 0.25rem; font-size: var(--step--1); color: var(--slate); margin-bottom: var(--space-3); }
.work-meta dt { font-weight: 600; color: var(--basalt); }
.work-meta div { display: flex; gap: 0.5rem; }
.work-item p { color: var(--slate); }
@media (min-width: 900px) {
  .work-item { grid-template-columns: 1.4fr 1fr; gap: var(--space-6); align-items: end; }
  .work-item:nth-child(even) .photo { order: 2; }
}

.quotes { display: grid; gap: var(--space-5); }
.quote { margin: 0; }
.quote blockquote { margin: 0; font-family: var(--font-display); font-size: var(--step-2); font-weight: 300; line-height: 1.4; }
.quote figcaption { margin-top: var(--space-2); font-size: var(--step--1); color: var(--slate); }
@media (min-width: 900px) { .quotes { grid-template-columns: 1fr 1fr; gap: var(--space-6); } }

.partners { display: grid; gap: 0; }
.partners li { padding: var(--space-2) 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: var(--space-2); flex-wrap: wrap; }
.partners li:last-child { border-bottom: 1px solid var(--line); }
.partners span { color: var(--slate); font-size: var(--step--1); }

/* Clearly marked content that must be replaced before launch */
.placeholder {
  outline: 1px dashed var(--driftwood-dark);
  outline-offset: 6px;
  position: relative;
}
.placeholder::after {
  content: "Placeholder";
  position: absolute;
  top: -1.9rem; right: 0;
  font: 600 0.75rem/1 var(--font-text);
  color: var(--driftwood-dark);
  background: var(--fog);
  padding: 0.25rem 0.4rem;
}
.section--shell .placeholder::after { background: var(--shell); }

/* ---------- Contact page ---------- */

.contact-grid { display: grid; gap: var(--space-6); }
.contact-big { display: grid; gap: var(--space-3); }
.contact-big a {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--step-4);
  line-height: 1.1;
  text-decoration: none;
  overflow-wrap: anywhere;
  font-variant-numeric: lining-nums;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 0.3rem;
  justify-self: start;
}
.contact-big a:hover { border-color: var(--driftwood-dark); }
.contact-label { font-size: var(--step--1); color: var(--slate); margin-bottom: 0.4rem; }
.checklist { display: grid; gap: var(--space-2); }
.checklist li { padding-left: 1.5rem; position: relative; color: var(--slate); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 0.75rem; height: 1px; background: var(--driftwood-dark); }
.areas { display: grid; gap: 0; }
.areas li { padding: var(--space-2) 0; border-top: 1px solid var(--line); display: grid; gap: 0.15rem; }
.areas li:last-child { border-bottom: 1px solid var(--line); }
.areas span { font-size: var(--step--1); color: var(--slate); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.2fr 1fr; } }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--basalt);
  color: var(--mist);
  padding-top: var(--space-6);
  font-size: 0.95rem;
  box-shadow: inset 0 1px 0 var(--line-dark);
}
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: var(--space-5); padding-bottom: var(--space-5); }
.footer-brand .logo-f { color: var(--driftwood); height: 3.25rem; }
.footer-tag { font-family: var(--font-display); font-style: italic; font-size: var(--step-2); margin-top: var(--space-2); }
.footer-h { font-family: var(--font-text); font-size: 0.95rem; font-weight: 600; letter-spacing: 0; margin-bottom: 0.5rem; color: var(--mist); }
.site-footer p { color: var(--mist-muted); }
.site-footer p a { color: var(--mist); }
.footer-nav li a { display: inline-block; padding: 0.3rem 0; color: var(--mist-muted); }
.footer-ack, .footer-legal {
  padding-block: var(--space-3);
  background: linear-gradient(var(--line-dark), var(--line-dark)) var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 1px no-repeat;
}
.footer-ack { padding-block: 0.75rem; }
.footer-ack p { max-width: 60rem; color: var(--mist-muted); font-size: 0.8rem; }
/* Where we work: laid out like the acknowledgement, at the footer's own text size */
.footer-ack.footer-where { background: none; }   /* no rule above it, only between it and the acknowledgement */
.footer-ack.footer-where p { font-size: inherit; }
.footer-where strong { font-weight: 600; color: var(--mist); }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2); font-size: var(--step--1); }
/* The F, "Let it flow." and Talk to Flux stay stacked at the left at every width */

/* ---------- Motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
  .fog span, .is-home .brand { animation: none; }
}

@media print {
  .site-header, .fog, .nav-toggle, .stage-dim { display: none; }
  .stage-bg { position: absolute; }
  body { background: #fff; padding-top: 0; }
}

/* ---------- Pre-construction by the numbers ---------- */
/* An expanding list like the others: each line is the figure at heading size, then what it
   measures as a small label beside it; the explanation opens underneath. The figure always
   stays on the left, and only the label wraps when the line is narrow, its last line sitting
   on the figure's baseline */
.acc-stat { display: inline-flex; align-items: baseline; align-items: last baseline; gap: 0 var(--space-2); text-align: left; }
.acc-stat .stat-num { flex: none; font-family: var(--font-display); font-weight: 300; font-size: var(--head-4); line-height: 1.12; letter-spacing: -0.01em; white-space: nowrap; }
.acc-stat .stat-label { min-width: 0; font-size: var(--step--1); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--driftwood); }
.acc-btn .acc-stat { flex: 1; min-width: 0; }
