/* ==========================================================================
   SBLW — sblw.fund
   Private investment fund & trust
   ========================================================================== */

/* --- Tokens ------------------------------------------------------------- */
:root {
  --paper:      #FFFFFF;
  --paper-2:    #F6F5F2;
  --paper-3:    #EDEBE6;
  --ink:        #16181A;
  --ink-2:      #3F4448;
  --muted:      #797F85;
  --line:       rgba(22, 24, 26, 0.13);
  --line-soft:  rgba(22, 24, 26, 0.07);
  --accent:     #1F4436;
  --accent-ink: #FBFAF7;
  --brass:      #A08252;

  --font-display: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "Helvetica Neue", Helvetica, Arial, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(1.25rem, 5vw, 3.5rem);
  --radius: 3px;
  --header-gap: clamp(0.6rem, 1.6vw, 1.1rem);
  --header-radius: 14px;
  --header-h: calc(4.75rem + 2px);   /* nav min-height + the bar's hairline */
  --header-space: calc(var(--header-gap) + var(--header-h));
  --radius-btn: 999px;

  --step-eyebrow: 0.72rem;
  --step-body: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --step-lead: clamp(1.125rem, 1.05rem + 0.45vw, 1.375rem);
  --step-h3: clamp(1.35rem, 1.2rem + 0.7vw, 1.75rem);
  --step-h2: clamp(2rem, 1.5rem + 2.2vw, 3.25rem);
  --step-h1: clamp(2.85rem, 1.6rem + 6vw, 6.5rem);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

:root[data-theme="dark"],
html.dark {
  --paper:      #0D0F0E;
  --paper-2:    #141817;
  --paper-3:    #1D2321;
  --ink:        #F1EEE7;
  --ink-2:      #C5C9C6;
  --muted:      #8D9491;
  --line:       rgba(241, 238, 231, 0.15);
  --line-soft:  rgba(241, 238, 231, 0.08);
  --accent:     #86BCA1;
  --accent-ink: #0D0F0E;
  --brass:      #C9A874;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper:      #0D0F0E;
    --paper-2:    #141817;
    --paper-3:    #1D2321;
    --ink:        #F1EEE7;
    --ink-2:      #C5C9C6;
    --muted:      #8D9491;
    --line:       rgba(241, 238, 231, 0.15);
    --line-soft:  rgba(241, 238, 231, 0.08);
    --accent:     #86BCA1;
    --accent-ink: #0D0F0E;
    --brass:      #C9A874;
  }
}

/* --- Reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-body);
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--accent); color: var(--accent-ink); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}
.btn:focus-visible,
.icon-btn:focus-visible,
.gate__input:focus-visible { border-radius: var(--radius-btn); }

/* --- Layout primitives -------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(4.5rem, 9vw, 8.5rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 5.5rem); }
.rule { height: 1px; background: var(--line); border: 0; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 0.75rem 1.25rem;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* --- Type --------------------------------------------------------------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.02em;
}

h1, h2, h3 { font-weight: 400; }

.h1 { font-family: var(--font-display); font-size: var(--step-h1); line-height: 0.95; letter-spacing: -0.025em; }
.h2 { font-family: var(--font-display); font-size: var(--step-h2); line-height: 1.04; letter-spacing: -0.02em; }
.h3 { font-family: var(--font-display); font-size: var(--step-h3); line-height: 1.2; letter-spacing: -0.015em; }

.lead {
  font-size: var(--step-lead);
  line-height: 1.5;
  color: var(--ink-2);
  letter-spacing: -0.012em;
}

.eyebrow {
  font-size: var(--step-eyebrow);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 500;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.eyebrow--plain::after { display: none; }

.prose p + p { margin-top: 1.15em; }
.prose a {
  color: var(--ink);
  border-bottom: 1px solid var(--brass);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.prose a:hover { color: var(--accent); border-color: var(--accent); }

.measure { max-width: 62ch; }
.measure-sm { max-width: 46ch; }

.muted { color: var(--muted); }
.serif-italic { font-family: var(--font-display); font-style: italic; }

/* --- Header ------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: var(--header-gap);
  z-index: 100;
  margin: var(--header-gap) var(--header-gap) 0;
  border-radius: var(--header-radius);
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border: 1px solid var(--line-soft);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-stuck {
  border-color: var(--line);
  box-shadow: 0 18px 40px -30px rgba(0, 0, 0, 0.45);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}
.brand__mark { width: 22px; height: 22px; color: var(--accent); }
.brand__word {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  line-height: 1;
  padding-top: 2px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2.25rem);
  list-style: none;
  padding: 0;
}
.nav__links a {
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  color: var(--ink-2);
  padding-block: 0.35rem;
  position: relative;
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after,
.nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__links a[aria-current="page"] { color: var(--ink); }

.nav__actions { display: flex; align-items: center; gap: 0.5rem; }

.icon-btn {
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink-2);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.icon-btn:hover { background: var(--paper-3); color: var(--ink); }
.icon-btn svg { width: 17px; height: 17px; }


.nav__toggle { display: none; }

/* Mobile nav */
@media (max-width: 820px) {
  .nav__toggle { display: grid; }
  .nav__links {
    position: fixed;
    inset: calc(var(--header-space) + var(--header-gap)) var(--header-gap) auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--header-radius);
    padding: 0.5rem var(--gutter) 1.25rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.75rem);
    transition: transform 0.42s var(--ease), opacity 0.28s var(--ease), visibility 0s linear 0.42s;
    box-shadow: 0 24px 48px -24px rgba(0,0,0,0.25);
  }
  .nav__links.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: transform 0.42s var(--ease), opacity 0.28s var(--ease), visibility 0s;
  }
  .nav__links li { border-bottom: 1px solid var(--line-soft); }
  .nav__links li:last-child { border-bottom: 0; }
  .nav__links a {
    display: block;
    padding: 1rem 0;
    font-size: 1.0625rem;
  }
  .nav__links a::after { display: none; }
}

/* --- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  font-weight: 500;
  border-radius: var(--radius-btn);
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); opacity: 0.92; }
.btn:active { transform: translateY(0); }
.btn svg { width: 14px; height: 14px; }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { background: var(--paper-2); border-color: var(--ink-2); opacity: 1; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.btn--nav { padding: 0.6rem 1.2rem; font-size: 0.8125rem; }
@media (max-width: 480px) { .btn--nav { padding: 0.55rem 0.95rem; font-size: 0.75rem; } }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.3rem;
  transition: gap 0.24s var(--ease), border-color 0.24s var(--ease), color 0.24s var(--ease);
}
.arrow-link:hover { gap: 0.85rem; border-color: var(--accent); color: var(--accent); }
.arrow-link svg { width: 13px; height: 13px; }

/* --- Hero --------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  /* Pull back under the floating header so the painting starts at the very top
     of the page; the header rides over it rather than sitting on white. */
  margin-top: calc(-1 * var(--header-space));
  min-height: calc(clamp(30rem, 78vh, 46rem) + var(--header-space));
  padding-block: calc(clamp(4rem, 10vw, 7rem) + var(--header-space)) clamp(4rem, 10vw, 7rem);
  overflow: hidden;
  background: #14100C;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: block;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}

/* Darkens the painting just enough to hold the header and card above it. */
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(
      to bottom,
      rgba(10, 8, 6, 0.55) 0%,
      rgba(10, 8, 6, 0.28) 32%,
      rgba(10, 8, 6, 0.34) 70%,
      rgba(10, 8, 6, 0.6) 100%
    );
}

.hero__card {
  max-width: 41rem;
  padding: clamp(2rem, 4vw, 3.25rem);
  border-radius: var(--radius);
  background: #FFFFFF;
  box-shadow:
    0 1px 2px rgba(10, 8, 6, 0.16),
    0 24px 60px -18px rgba(10, 8, 6, 0.5);

  /* The card is always light, so pin the light palette inside it —
     otherwise dark-theme tokens would put pale text on white. */
  --paper:      #FFFFFF;
  --paper-2:    #F6F5F2;
  --ink:        #16181A;
  --ink-2:      #3F4448;
  --line:       rgba(22, 24, 26, 0.13);
  --accent:     #1F4436;
  --accent-ink: #FBFAF7;
  color: var(--ink);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.9rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-wrap: balance;
  color: var(--ink);
}
.hero__title em {
  font-style: italic;
  color: var(--accent);
}

.hero__actions { margin-top: clamp(1.75rem, 3vw, 2.5rem); }

/* Subpage banner: same painting treatment as the homepage, a little shorter. */
.hero--page {
  min-height: calc(clamp(26rem, 64vh, 40rem) + var(--header-space));
}
.hero--page .hero__bg img { object-position: 50% 48%; }
.hero--page .lead { color: var(--ink-2); }

@media (max-width: 560px) {
  .hero__actions .btn { flex: 1 1 100%; justify-content: center; }
}

/* --- Split section ------------------------------------------------------ */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.75rem, 4vw, 4.5rem);
}
@media (min-width: 880px) {
  .split { grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); }
  .split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.split__aside { position: relative; }
@media (min-width: 880px) {
  .split__aside--sticky { position: sticky; top: 7rem; align-self: start; }
}

/* --- Cards / classes ---------------------------------------------------- */
.classes {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
}
@media (min-width: 700px)  { .classes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .classes { grid-template-columns: repeat(4, 1fr); } }

.class-card {
  padding: 2.25rem 1.75rem 2.5rem;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  position: relative;
  transition: background 0.3s var(--ease);
}
.class-card:hover { background: var(--paper-2); }
.class-card::before {
  content: "";
  position: absolute;
  left: 0; top: -1px; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.42s var(--ease);
}
.class-card:hover::before { transform: scaleX(1); }
@media (min-width: 1060px) { .class-card:last-child { border-right: 0; } }
@media (min-width: 700px) and (max-width: 1059.98px) {
  .class-card:nth-child(2n) { border-right: 0; }
}
@media (max-width: 699.98px) { .class-card { border-right: 0; } }

.class-card__num {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--brass);
  font-variant-numeric: tabular-nums;
}
.class-card__title { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.15; letter-spacing: -0.015em; }
.class-card p { font-size: 0.9375rem; color: var(--muted); line-height: 1.6; }

/* --- Principles --------------------------------------------------------- */
.principles { display: grid; gap: 0; border-top: 1px solid var(--line); }
.principle {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem 2.5rem;
  padding-block: clamp(1.75rem, 3.5vw, 2.75rem);
  border-bottom: 1px solid var(--line);
  align-items: start;
}
@media (min-width: 820px) {
  .principle { grid-template-columns: 4rem minmax(0, 15rem) minmax(0, 1fr); align-items: baseline; }
}
.principle__num {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--brass);
  font-variant-numeric: tabular-nums;
}
.principle__term { font-family: var(--font-display); font-size: clamp(1.45rem, 2.4vw, 2rem); line-height: 1.15; letter-spacing: -0.015em; }
.principle__desc { color: var(--ink-2); max-width: 54ch; }

/* --- Holdings ----------------------------------------------------------- */
.holdings { border-top: 1px solid var(--line); }
.holding {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.4rem 2rem;
  padding-block: clamp(1.5rem, 3vw, 2.25rem);
  border-bottom: 1px solid var(--line);
  align-items: baseline;
  transition: padding-inline 0.3s var(--ease);
}
@media (min-width: 860px) {
  .holding {
    grid-template-columns: minmax(0, 14rem) minmax(0, 1fr) auto;
    align-items: baseline;
  }
  .holding:hover { padding-inline: 0.85rem; background: var(--paper-2); }
}
.holding__name { font-family: var(--font-display); font-size: clamp(1.4rem, 2.2vw, 1.9rem); letter-spacing: -0.015em; line-height: 1.15; }
.holding__desc { color: var(--muted); font-size: 0.9375rem; grid-column: 1 / -1; }
@media (min-width: 860px) { .holding__desc { grid-column: auto; } }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  white-space: nowrap;
}
.tag::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--brass);
}
.tag--live::before { background: var(--accent); }
.tag--soft { border-color: var(--line-soft); }

/* --- Notes / callout ---------------------------------------------------- */
.note {
  border: 1px solid var(--line);
  border-left: 2px solid var(--brass);
  background: var(--paper-2);
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  color: var(--ink-2);
  line-height: 1.65;
}
.note strong { color: var(--ink); font-weight: 600; }

/* --- Stat strip --------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: 2rem 1.5rem;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat__value { font-family: var(--font-display); font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1; letter-spacing: -0.02em; }
.stat__label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.13em; color: var(--muted); margin-top: 0.6rem; }

/* --- Contact ------------------------------------------------------------ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
@media (min-width: 800px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-card {
  padding: 2.25rem 1.75rem 2.5rem;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.contact-card:last-child { border-right: 0; }
@media (max-width: 799.98px) { .contact-card { border-right: 0; } }
.contact-card h3 { font-family: var(--font-display); font-size: 1.4rem; letter-spacing: -0.015em; }
.contact-card p { font-size: 0.9375rem; color: var(--muted); }
.contact-card .arrow-link { margin-top: auto; align-self: flex-start; }

.email-line {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4.5vw, 3rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  display: inline-block;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.35rem;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
  word-break: break-word;
}
.email-line:hover { border-color: var(--accent); color: var(--accent); }

.email-line--sm { font-size: clamp(1.25rem, 2.4vw, 1.6rem); }
.contact-fine { font-size: 0.8125rem; line-height: 1.6; }
.contact-fine a {
  color: var(--ink-2);
  border-bottom: 1px solid var(--brass);
  transition: color 0.2s var(--ease);
}
.contact-fine a:hover { color: var(--accent); }

/* Google Form embed: sized to the whole form so the page scrolls, not the
   frame; the light palette is pinned so the white form sits on a matching
   surface in dark mode too. */
.embed-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #FFFFFF;
  color-scheme: light;
}
.embed-frame iframe {
  width: 100%;
  height: 1480px;
  border: 0;
  display: block;
}
@media (max-width: 560px) {
  .embed-frame iframe { height: 1560px; }
}

/* --- CTA band ----------------------------------------------------------- */
.cta {
  background: var(--accent);
  color: var(--accent-ink);
}
.cta .h2 { color: var(--accent-ink); }
.cta__inner {
  display: grid;
  gap: 2rem;
  padding-block: clamp(3.5rem, 7vw, 6rem);
  align-items: end;
}
@media (min-width: 880px) {
  .cta__inner { grid-template-columns: minmax(0, 1fr) auto; }
}
.cta .btn {
  background: var(--accent-ink);
  color: var(--accent);
  border-color: var(--accent-ink);
}
.cta p { color: color-mix(in srgb, var(--accent-ink) 78%, transparent); }

/* --- Footer ------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  font-size: 0.875rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
@media (min-width: 760px) {
  .footer__grid { grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 3rem; }
}
.footer__col h4 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 1.1rem;
}
.footer__col ul { list-style: none; padding: 0; display: grid; gap: 0.65rem; }
.footer__col a { color: var(--ink-2); transition: color 0.2s var(--ease); }
.footer__col a:hover { color: var(--accent); }
.footer__blurb { color: var(--muted); max-width: 36ch; margin-top: 1rem; line-height: 1.6; }

.footer__base {
  border-top: 1px solid var(--line-soft);
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 0.8125rem;
}

/* --- Page header (subpages) --------------------------------------------- */
.page-head {
  padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line);
}
.page-head .h1 { font-size: clamp(2.5rem, 1.6rem + 4.4vw, 5rem); }
.page-head .lead { margin-top: 1.5rem; }

/* --- Reveal animation --------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* --- Utility ------------------------------------------------------------ */
.stack-sm > * + * { margin-top: 0.75rem; }
.stack   > * + * { margin-top: 1.5rem; }
.stack-lg > * + * { margin-top: 2.5rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --- Crest / brand ------------------------------------------------------ */
.brand__crest {
  height: 56px;
  width: auto;
  flex-shrink: 0;
  transition: filter 0.2s var(--ease);
}
:root[data-theme="dark"] .brand__crest { filter: invert(1); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand__crest { filter: invert(1); }
}
.brand--footer { align-items: flex-end; }
.brand--footer .brand__crest { height: 78px; }
.brand--footer .brand__word { font-size: 1.9rem; }
@media (max-width: 480px) { .brand__crest { height: 44px; } }

.nav__lock {
  display: inline-block;
  width: 11px;
  height: 11px;
  margin-left: 0.4rem;
  vertical-align: -1px;
  opacity: 0.55;
}

/* --- Orbit: the six tests ---------------------------------------------- */
/* One idea, told physically: the core "tests" each holding in turn. A pulse
   travels a spoke, the node lights, the needle on the core turns to it and
   an accent arc on the ring slides round behind it. The whole figure tilts
   a few degrees toward the pointer on desktop. */
.orbit {
  --icon: clamp(3rem, 9cqw, 5.25rem);
  --angle: 330deg;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.35, 0.64, 1);
  --land: 0.6s;                    /* when the pulse reaches the node */
  position: relative;
  max-width: 960px;
  margin-inline: auto;
  aspect-ratio: 1000 / 700;
  container-type: inline-size;
  transform-style: preserve-3d;
  transform: perspective(1400px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
}

/* Soft light behind the core */
.orbit__glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 64%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 13%, transparent) 0%, transparent 62%);
  transform: translate(-50%, -50%) translateZ(-40px) scale(0.7);
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.4s var(--ease) 0.2s, transform 1.8s var(--ease-out) 0.2s;
}

.orbit__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
  stroke: var(--line);
  stroke-width: 1;
}
.orbit__lines * { vector-effect: non-scaling-stroke; }
.orbit__ring {
  stroke-dasharray: 1571;
  stroke-dashoffset: 1571;
}
.orbit__arc {
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 204 1367;      /* 13% of the ring (r=250, C=1571) */
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transform: rotate(calc(var(--angle) - 23.4deg));   /* dash centred on the node */
  transition: transform 1.1s var(--ease-spring), opacity 0.6s var(--ease);
}
.orbit__spoke {
  stroke-dasharray: 250;           /* spokes are one radius long */
  stroke-dashoffset: 250;
  transition: stroke 0.4s var(--ease);
}
.orbit__spoke.is-active { stroke: var(--accent); transition-delay: var(--land); }
.orbit__probe {
  stroke: var(--accent);
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-dasharray: 40 250;
  stroke-dashoffset: 40;           /* dash parked before the start */
  opacity: 0;
}
.orbit__probe.is-active { animation: orbit-probe 0.85s cubic-bezier(0.55, 0, 0.2, 1) forwards; }

.orbit__core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(5.5rem, 16cqw, 9rem);
  aspect-ratio: 1;
  transform: translate(-50%, -50%) translateZ(50px);
  border-radius: 50%;
  background: var(--paper-2);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  text-align: center;
  font-size: clamp(0.62rem, 1.35cqw, 0.74rem);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink-2);
}
.orbit__core::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  border: 1px solid var(--line-soft);
}
.orbit__needle {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  transform: rotate(var(--angle));
  transition: transform 1.1s var(--ease-spring), opacity 0.5s var(--ease);
  opacity: 0;
}
.orbit__needle::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  width: 7px;
  height: 7px;
  margin-left: -3.5px;
  border-radius: 50%;
  background: var(--brass);
  box-shadow: 0 0 0 3px var(--paper);
}

.orbit__nodes {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  transform-style: preserve-3d;
}
.orbit__node {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translateY(-50%) translateZ(28px);
  margin-left: calc(var(--icon) / -2);
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.8cqw, 1.15rem);
  cursor: default;
}
.orbit__node--l {
  --from: 10px;
  left: auto;
  right: calc(100% - var(--x));
  margin-left: 0;
  margin-right: calc(var(--icon) / -2);
  flex-direction: row-reverse;
  text-align: right;
}
.orbit__icon {
  position: relative;
  flex: none;
  width: var(--icon);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  display: grid;
  place-items: center;
  transition:
    background-color 0.45s var(--ease),
    border-color 0.45s var(--ease),
    color 0.45s var(--ease),
    transform 0.7s var(--ease-spring);
}
.orbit__icon::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  opacity: 0;
  pointer-events: none;
}
.orbit__icon svg {
  width: 50%;
  height: 50%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.orbit__icon svg path {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 1.1s var(--ease) calc(0.95s + var(--i) * 0.11s);
}
.orbit__icon svg path + path { transition-delay: calc(1.3s + var(--i) * 0.11s); }
.orbit__text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.orbit__num {
  font-size: clamp(0.58rem, 1.2cqw, 0.68rem);
  letter-spacing: 0.16em;
  color: var(--brass);
  font-variant-numeric: tabular-nums;
}
.orbit__name {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3.2cqw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  white-space: nowrap;
  transition: color 0.45s var(--ease);
}
.orbit__gloss {
  font-size: clamp(0.74rem, 1.45cqw, 0.9rem);
  color: var(--muted);
  line-height: 1.4;
  max-width: 14em;
  transition: color 0.45s var(--ease);
}

/* Active node: the chip inverts as the pulse lands, and a ring flares off it */
.orbit__node.is-active .orbit__icon {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
  transform: scale(1.06);
  transition-delay: var(--land);
}
.orbit__node.is-active .orbit__icon::after { animation: orbit-flare 0.9s var(--ease-out) var(--land) both; }
.orbit__node.is-active .orbit__name { color: var(--accent); transition-delay: var(--land); }
.orbit__node.is-active .orbit__gloss { color: var(--ink-2); transition-delay: var(--land); }
.orbit.has-active .orbit__arc { opacity: 0.9; }
.orbit.has-active .orbit__needle { opacity: 1; }

/* Before the section is in view, everything is held */
.orbit-wrap:not(.is-in) .orbit__core,
.orbit-wrap:not(.is-in) .orbit__icon,
.orbit-wrap:not(.is-in) .orbit__text { opacity: 0; }

/* In view: core lands, ring draws, spokes grow outward, nodes pop as their
   spoke arrives, text slides out from behind the icon. Entrance animations
   fill backwards only, so the interactive transitions own the final state. */
.orbit-wrap.is-in .orbit__glow { opacity: 1; transform: translate(-50%, -50%) translateZ(-40px) scale(1); animation: orbit-breathe 7s ease-in-out 2.2s infinite; }
.orbit-wrap.is-in .orbit__core { animation: orbit-core-in 0.9s var(--ease-spring) 0.1s backwards; }
.orbit-wrap.is-in .orbit__ring { animation: orbit-draw 1.6s var(--ease-out) 0.25s forwards; }
.orbit-wrap.is-in .orbit__spoke { animation: orbit-draw 0.7s var(--ease-out) calc(0.5s + var(--i) * 0.09s) forwards; }
.orbit-wrap.is-in .orbit__icon { animation: orbit-pop 0.8s var(--ease-spring) calc(0.85s + var(--i) * 0.11s) backwards; }
.orbit-wrap.is-in .orbit__icon svg path { stroke-dashoffset: 0; }
.orbit-wrap.is-in .orbit__text { animation: orbit-text-in 0.8s var(--ease-out) calc(1.05s + var(--i) * 0.11s) backwards; }

@keyframes orbit-draw { to { stroke-dashoffset: 0; } }
@keyframes orbit-core-in {
  from { opacity: 0; transform: translate(-50%, -50%) translateZ(50px) scale(0.8); }
}
@keyframes orbit-pop {
  from { opacity: 0; transform: scale(0.55); }
}
@keyframes orbit-text-in {
  from { opacity: 0; transform: translateX(var(--from, -10px)); filter: blur(6px); }
}
@keyframes orbit-probe {
  0%   { stroke-dashoffset: 40; opacity: 0; }
  12%  { opacity: 1; }
  82%  { opacity: 1; }
  100% { stroke-dashoffset: -250; opacity: 0; }
}
@keyframes orbit-flare {
  from { opacity: 0.8; transform: scale(1); }
  to   { opacity: 0; transform: scale(1.55); }
}
@keyframes orbit-breathe {
  0%, 100% { transform: translate(-50%, -50%) translateZ(-40px) scale(1); }
  50%      { transform: translate(-50%, -50%) translateZ(-40px) scale(1.1); }
}

/* Small screens: the ring becomes a column */
@media (max-width: 639.98px) {
  .orbit {
    --icon: 3.25rem;
    aspect-ratio: auto;
    container-type: normal;
    max-width: none;
    border-top: 1px solid var(--line);
    transform: none;
  }
  .orbit__lines, .orbit__core, .orbit__glow { display: none; }
  .orbit__nodes { position: static; display: block; margin: 0; }
  .orbit__node, .orbit__node--l {
    position: static;
    transform: none;
    margin: 0;
    flex-direction: row;
    text-align: left;
    gap: 1.1rem;
    padding-block: 1.15rem;
    border-bottom: 1px solid var(--line);
  }
  .orbit__num { font-size: 0.62rem; }
  .orbit__name { font-size: 1.35rem; }
  .orbit__gloss { font-size: 0.8rem; max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  .orbit { transform: none; }
  .orbit__probe, .orbit__icon::after { display: none; }
  .orbit__glow { animation: none !important; }
}

/* --- Password gate ------------------------------------------------------ */
.gate {
  min-height: calc(100vh - 4.75rem);
  display: grid;
  place-items: center;
  padding: clamp(2.5rem, 8vw, 6rem) 0;
}
.gate__card {
  width: 100%;
  max-width: 27rem;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.gate__crest {
  height: 165px;
  width: auto;
  margin-bottom: 0.5rem;
  opacity: 0.9;
}
:root[data-theme="dark"] .gate__crest { filter: invert(1); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .gate__crest { filter: invert(1); }
}
.gate__title { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 2.75rem); line-height: 1.05; letter-spacing: -0.02em; }
.gate__text { color: var(--muted); font-size: 0.9375rem; max-width: 30ch; }

.gate__form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  margin-top: 0.75rem;
}
.gate__input {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  text-align: center;
  letter-spacing: 0.08em;
  padding: 0.9rem 1rem;
  color: var(--ink);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.gate__input::placeholder { color: var(--muted); letter-spacing: 0.02em; }
.gate__input:focus { outline: none; border-color: var(--accent); background: var(--paper); }
.gate__form .btn { justify-content: center; width: 100%; }

.gate__error {
  min-height: 1.25rem;
  font-size: 0.85rem;
  color: #B4403A;
  opacity: 0;
  transition: opacity 0.2s var(--ease);
}
:root[data-theme="dark"] .gate__error { color: #E08078; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .gate__error { color: #E08078; }
}
.gate__error.is-shown { opacity: 1; }
.gate__card.is-wrong { animation: shake 0.4s var(--ease); }
@keyframes shake {
  0%,100% { transform: translateX(0); }
  20% { transform: translateX(-7px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(2px); }
}

.gate__meta {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 0.5rem;
}
.gate__meta a { border-bottom: 1px solid var(--brass); }

.is-busy { opacity: 0.6; pointer-events: none; }

/* --- Unlock bar (shown above unlocked portfolio) ------------------------ */
.unlock-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.8125rem;
  color: var(--muted);
}
.unlock-bar svg { width: 13px; height: 13px; }
.unlock-bar button {
  margin-left: auto;
  font-size: 0.8125rem;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.unlock-bar button:hover { color: var(--accent); border-color: var(--accent); }

/* --- Back-office flow (approach page animation) ------------------------ */
.flow {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: clamp(1rem, 3vw, 2.5rem) clamp(0.75rem, 2.5vw, 2rem) clamp(0.9rem, 2vw, 1.5rem);
  overflow: hidden;
}
.flow__svg { width: 100%; height: auto; overflow: visible; }
.flow__svg--tall { display: none; max-width: 420px; margin-inline: auto; }
@media (max-width: 759.98px) {
  .flow__svg--wide { display: none; }
  .flow__svg--tall { display: block; }
}
.flow__caption {
  margin-top: clamp(1rem, 2.5vw, 1.75rem);
  padding-top: 1rem;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--muted);
  text-align: center;
}

/* Type inside the figure */
.flow__svg text { font-family: var(--font-body); }
.flow__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 500;
  fill: var(--muted);
}
.flow__sub { font-size: 12.5px; fill: var(--ink-2); }
.flow__label--center, .flow__sub--center, .flow__hub-word, .flow__note,
.flow__out-title--center, .flow__out-sub--center { text-anchor: middle; }
.flow__note {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14.5px;
  fill: var(--muted);
}
.flow__note--left { text-anchor: start; font-size: 13.5px; }
.flow__hub-word {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.1em;
  fill: var(--ink);
}
.flow__out-title { font-size: 14px; font-weight: 500; fill: var(--ink); }
.flow__out-sub { font-size: 11.5px; fill: var(--muted); }
.flow__out-title--center { font-size: 13px; }
.flow__out-sub--center { font-size: 10px; }
.flow__svg--tall .flow__label { font-size: 11.5px; }
.flow__svg--tall .flow__sub { font-size: 13px; }

/* Wires, packets, hub */
.flow__aura-stop { stop-color: var(--accent); }
.flow__wire { fill: none; stroke: var(--line); stroke-width: 1; }
.flow__packet {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 12 200;
  stroke-dashoffset: -104;
}
.flow__packet--glow { stroke-width: 7; opacity: 0.16; }
.flow__ring { fill: none; stroke: var(--line); }
.flow__ring--dash {
  stroke-dasharray: 1.5 6;
  stroke-linecap: round;
  transform-box: fill-box;
  transform-origin: center;
  animation: flow-spin 70s linear infinite;
}
.flow__ring--solid { fill: var(--paper); stroke: var(--accent); stroke-opacity: 0.5; }
.flow__pulse {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}

/* Paperwork */
.flow__doc { transform-box: fill-box; transform-origin: center; }
.flow__doc rect { fill: var(--paper); stroke: var(--line-soft); stroke-width: 1; }
.flow__doc--front rect { fill: var(--paper-2); stroke: var(--line); }
.flow__line { fill: none; stroke: var(--line); stroke-width: 1.5; stroke-linecap: round; }
.flow__line--strong { stroke: var(--ink-2); }
.flow__line--brass { stroke: var(--brass); stroke-width: 1.2; }
.flow__avatar { fill: var(--paper-3); stroke: var(--line); stroke-width: 1; }

/* Outcomes */
.flow__out { transform-box: fill-box; transform-origin: center; }
.flow__card { fill: var(--paper); stroke: var(--line); stroke-width: 1; }
.flow__check-ring {
  fill: color-mix(in srgb, var(--accent) 10%, transparent);
  stroke: var(--accent);
  stroke-width: 1.2;
  stroke-dasharray: 100;
  stroke-dashoffset: 0;
}
.flow__check-tick {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 0;
}

/* Timeline: one 9s loop, lanes staggered via --d */
.flow__doc {
  animation: flow-doc 9s var(--ease) infinite both;
  animation-delay: var(--d, 0s);
}
.flow__doc:nth-child(2) { animation-delay: calc(var(--d, 0s) + 0.12s); }
.flow__doc--front { animation: flow-doc-front 9s var(--ease) infinite both; animation-delay: calc(var(--d, 0s) + 0.24s); }
.flow__doc--front rect { animation: flow-flash 9s var(--ease) infinite both; animation-delay: var(--d, 0s); }
.flow__packet--in  { animation: flow-packet-in 9s linear infinite both; animation-delay: var(--d, 0s); }
.flow__packet--out { animation: flow-packet-out 9s linear infinite both; animation-delay: var(--d, 0s); }
.flow__pulse { animation: flow-pulse 9s var(--ease) infinite both; animation-delay: var(--d, 0s); }
.flow__ring--solid { animation: flow-hub 9s var(--ease) infinite both; animation-delay: 0.45s; }
.flow__hub-word { animation: flow-hub-word 9s var(--ease) infinite both; animation-delay: 0.45s; }
.flow__out { animation: flow-out 9s var(--ease) infinite both; animation-delay: var(--d, 0s); }
.flow__check-ring { animation: flow-check-ring 9s var(--ease) infinite both; animation-delay: var(--d, 0s); }
.flow__check-tick { animation: flow-tick 9s var(--ease) infinite both; animation-delay: var(--d, 0s); }

.flow__svg--wide .flow__doc { --dx: 18px; --dy: 0px; }
.flow__svg--wide .flow__out { --ox: -10px; --oy: 0px; }
.flow__svg--tall .flow__doc { --dx: 0px; --dy: 18px; }
.flow__svg--tall .flow__out { --ox: 0px; --oy: -10px; }

.flow.is-paused .flow__svg * { animation-play-state: paused; }

@keyframes flow-doc {
  0%, 2%    { opacity: 0; transform: translate(0, 10px); }
  10%, 14%  { opacity: 1; transform: none; }
  22%, 100% { opacity: 0; transform: translate(var(--dx, 18px), var(--dy, 0px)) scale(0.9); }
}
@keyframes flow-doc-front {
  0%, 2%    { opacity: 0; transform: translate(0, 10px); }
  10%, 100% { opacity: 1; transform: none; }
}
@keyframes flow-flash {
  0%, 12%   { stroke: var(--line); }
  15%, 20%  { stroke: var(--accent); }
  30%, 100% { stroke: var(--line); }
}
@keyframes flow-packet-in {
  0%, 14%   { stroke-dashoffset: 16; animation-timing-function: cubic-bezier(0.45, 0, 0.25, 1); }
  36%, 100% { stroke-dashoffset: -104; }
}
@keyframes flow-packet-out {
  0%, 38%   { stroke-dashoffset: 16; animation-timing-function: cubic-bezier(0.45, 0, 0.25, 1); }
  60%, 100% { stroke-dashoffset: -104; }
}
@keyframes flow-pulse {
  0%, 34%   { opacity: 0; transform: scale(0.9); }
  37%       { opacity: 0.6; transform: scale(0.95); }
  54%, 100% { opacity: 0; transform: scale(1.6); }
}
@keyframes flow-hub {
  0%, 32%   { stroke-opacity: 0.5; }
  38%, 46%  { stroke-opacity: 1; }
  58%, 100% { stroke-opacity: 0.5; }
}
@keyframes flow-hub-word {
  0%, 32%   { fill: var(--ink); }
  38%, 46%  { fill: var(--accent); }
  58%, 100% { fill: var(--ink); }
}
@keyframes flow-out {
  0%, 58%   { opacity: 0; transform: translate(var(--ox, -10px), var(--oy, 0px)); }
  64%, 86%  { opacity: 1; transform: none; }
  92%, 100% { opacity: 0; transform: translate(0, -6px); }
}
@keyframes flow-check-ring {
  0%, 60%   { stroke-dashoffset: 100; }
  68%, 100% { stroke-dashoffset: 0; }
}
@keyframes flow-tick {
  0%, 66%   { stroke-dashoffset: 100; }
  72%, 100% { stroke-dashoffset: 0; }
}
@keyframes flow-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  /* Static, completed state: paperwork in, outcomes ticked */
  .flow__svg * { animation: none !important; }
}
