/* thriveaging.ca. Colours come from the THRIVE logo; every text pair is AA or better.
   Everything that moves is decoration and stops under prefers-reduced-motion. */
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/atkinson-hyperlegible-next-latin-wght-normal.18b2a1a3.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/atkinson-hyperlegible-next-latin-ext-wght-normal.7dae0c6c.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ocean: #0b5e8a;      /* logo blue: links, buttons (7.2:1 on white) */
  --tide: #0c2c47;       /* deep ground and headings (14.3:1) */
  --ink: #1b2b38;        /* body text */
  --muted: #4a6577;      /* secondary text (6.1:1 on white, 5.7:1 on mist) */
  --leaf: #5a9a2e;       /* logo green: graphics only */
  --leaf-ink: #3e7a1f;   /* green text (5.2:1) */
  --sun: #ca650c;        /* logo orange: graphics, and large text only (3.9:1) */
  --sun-bright: #f28a2e; /* orange on the deep ground (5.8:1) */
  --leaf-bright: #8cc461;/* green on the deep ground (6.9:1) */
  --mist: #f1f6f8;       /* alternate section ground */
  --line: #d3e0e7;       /* hairlines only */
  --on-deep: #b9ccda;    /* secondary text on the deep ground (8.7:1) */
  --deep-line: #2e5677;  /* hairlines on the deep ground */
  --lift: 0 12px 30px rgba(12, 44, 71, 0.12);
  --wrap: 72rem;
  --measure: 38rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5.5rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: "Atkinson Hyperlegible Next", system-ui, sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--ocean); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 2px; }
[tabindex="-1"]:focus { outline: none; } /* sections scroll.js focuses after a jump */
h1, h2, h3 { color: var(--tide); line-height: 1.1; margin: 0; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 760; letter-spacing: -0.015em; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0; }
p + p { margin-top: 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.5rem; }
.skip { position: absolute; left: -999px; top: 0.5rem; background: var(--tide); color: #fff; padding: 0.6rem 1rem; z-index: 10; }
.skip:focus { left: 0.5rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* The lead institutions, above everything */
.hosts { background: #fff; border-bottom: 1px solid var(--line); }
/* three across: the outer two pinned to the edges, the middle one on the centre line */
.hosts ul { list-style: none; margin: 0; padding: 0.55rem 0; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 0.5rem 2rem; }
.hosts li:first-child { justify-self: start; }
.hosts li:last-child { justify-self: end; }
.hosts a { display: flex; align-items: center; gap: 0.6rem; min-height: 52px; text-decoration: none; }
.hosts .name { font-weight: 760; font-size: 1.05rem; line-height: 1.15; color: var(--tide); max-width: 7.5rem; }
.hosts a:hover img { opacity: 0.85; }
.hosts .txt { font-weight: 700; font-size: 0.95rem; color: var(--tide); }

/* Header */
.top { position: sticky; top: 0; z-index: 5; background: rgba(255, 255, 255, 0.96); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(8px)) { .top { background: rgba(255, 255, 255, 0.9); backdrop-filter: saturate(1.4) blur(10px); } }
.top::after { /* the logo's three colours, as a thin band */
  content: ""; display: block; height: 3px;
  background: linear-gradient(90deg, var(--leaf) 0 33.3%, var(--sun) 33.3% 66.6%, var(--ocean) 66.6% 100%);
}
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; min-height: 4.5rem; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ocean); font-weight: 800; font-size: 1.5rem; letter-spacing: 0.04em; min-height: 44px; }
.brand img { width: 46px; }
.top nav ul { display: flex; flex-wrap: wrap; gap: 0 1.5rem; list-style: none; margin: 0; padding: 0; }
.top nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; font-size: 1rem; font-weight: 560; }
.top nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 2px; background: var(--ocean); transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease; }
.top nav a:hover { color: var(--ocean); }
.top nav a:hover::after, .top nav a:focus-visible::after { transform: scaleX(1); }

/* Hero: a slow wash of the logo's colours behind the words */
.hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(3rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 4.5rem); }
.hero::before {
  content: ""; position: absolute; inset: -35% -15%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38% 48% at 18% 28%, rgba(90, 154, 46, 0.2), transparent 70%),
    radial-gradient(34% 44% at 84% 18%, rgba(11, 94, 138, 0.18), transparent 70%),
    radial-gradient(30% 40% at 68% 82%, rgba(242, 138, 46, 0.17), transparent 70%);
}
.hero-in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 3rem; align-items: center; }
.kicker { font-size: 0.9rem; font-weight: 760; letter-spacing: 0.09em; text-transform: uppercase; color: var(--leaf-ink); margin-bottom: 1rem; }
.hero h1 { font-size: clamp(2.6rem, 6.2vw, 4.6rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.02; max-width: 13em; }
.lead { font-size: clamp(1.15rem, 1.7vw, 1.3rem); max-width: var(--measure); margin-top: 1.5rem; color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.75rem; margin-top: 2rem; }
.btn { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 48px; padding: 0 1.4rem; background: var(--ocean); color: #fff; text-decoration: none; font-weight: 700; border-radius: 999px; transition: background 0.2s, translate 0.2s, box-shadow 0.2s; }
.btn::after { content: "→" / ""; transition: translate 0.2s; }
.btn:hover { background: var(--tide); translate: 0 -2px; box-shadow: var(--lift); }
.btn:hover::after { translate: 3px 0; }
.hero-mark { justify-self: center; width: min(100%, 26rem); filter: drop-shadow(0 18px 30px rgba(12, 44, 71, 0.12)); }

/* the figures as one ruled row, like a report's key numbers, not four cards */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: clamp(2.5rem, 6vw, 4rem) 0 0; border-top: 1px solid var(--line); }
.stats div { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 1.25rem 1.5rem 0; border-left: 1px solid var(--line); }
.stats div:first-child { border-left: 0; padding-left: 0; }
.stats dd { margin: 0; font-size: clamp(2.2rem, 4.6vw, 3.3rem); font-weight: 800; line-height: 1; letter-spacing: -0.02em; color: var(--tide); }
.stats dt { margin-top: 0.4rem; font-size: 1rem; color: var(--muted); }
.stats div:nth-child(1) dd { color: var(--leaf-ink); }
.stats div:nth-child(2) dd { color: var(--ocean); }
.stats div:nth-child(3) dd { color: var(--sun); } /* large text: 3.9:1 is enough */

/* Sections */
.sec { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.sec.mist { background: var(--mist); }
.split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 2rem 4rem; align-items: start; }
.split .body { max-width: var(--measure); }
.note { margin-top: 1.25rem; font-size: 1rem; color: var(--muted); }

/* Intrinsic capacity: point at a domain, in the figure or the list, and both light up */
.ic { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem 4rem; align-items: center; margin-top: 2.5rem; }
.ic-figure { max-width: 26rem; justify-self: center; width: 100%; overflow: visible; }
.ic-figure .seg { --seg-on: 0; transform-origin: 200px 200px; transform: scale(calc(1 + 0.045 * var(--seg-on))); transition: transform 0.3s ease; cursor: default; }
.ic-figure .seg:hover { --seg-on: 1; }
/* one colour per domain, from the logo's green-to-blue range plus its orange; each carries white text at 5.2:1 or more */
.dom-locomotion { --dc: #38711b; }
.dom-vitality { --dc: #17705e; }
.dom-cognition { --dc: #0b5e8a; }
.dom-psychological { --dc: #3a5299; }
.dom-sensory { --dc: #ad4e0c; }
.ic-figure .seg .wedge { fill: color-mix(in srgb, var(--dc) calc(13% + 87% * var(--seg-on)), #fff); transition: fill 0.3s ease; }
.ic-figure .seg .glyph { fill: none; stroke: color-mix(in srgb, #fff calc(var(--seg-on) * 100%), var(--dc)); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.3s ease; }
.ic-figure .seg text { fill: color-mix(in srgb, #fff calc(var(--seg-on) * 100%), var(--tide)); font-size: 15px; font-weight: 700; transition: fill 0.3s ease; }
.ic-figure .core { fill: var(--tide); }
.ic-figure .core-label { fill: #fff; font-size: 17px; font-weight: 760; }
.domains { margin: 0; display: grid; gap: 0.4rem; }
.domains div { --seg-on: 0; position: relative; min-height: 4.6rem; padding: 0.8rem 0.9rem 0.8rem 4.5rem; border-top: 1px solid var(--line); background: color-mix(in srgb, var(--dc) calc(9% * var(--seg-on)), transparent); transition: background 0.3s; }
.domains .di { position: absolute; left: 0.9rem; top: 0.85rem; width: 2.65rem; height: 2.65rem; padding: 0.55rem; border-radius: 12px; background: var(--dc); fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; scale: calc(1 + 0.08 * var(--seg-on)); transition: scale 0.3s ease; }
.domains div:hover { --seg-on: 1; }
.domains dt { font-weight: 760; color: var(--tide); }
.domains dd { margin: 0; color: var(--muted); }

/* Phases: a true sequence, so numbered; the line fills in as it scrolls into view */
.phases { list-style: none; margin: 2.75rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; position: relative; view-timeline: --phases block; }
.phases::before, .phases::after { content: ""; position: absolute; top: 1.75rem; left: 1.75rem; right: 1.75rem; height: 3px; background: var(--line); }
.phases::after { background: linear-gradient(90deg, var(--leaf-ink), var(--ocean), var(--sun)); transform-origin: left; }
.phases li { position: relative; z-index: 1; }
.phases .num { width: 3.5rem; height: 3.5rem; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1.5rem; margin-bottom: 1.25rem; box-shadow: 0 0 0 8px var(--mist); transition: scale 0.25s ease; }
.phases li:hover .num { scale: 1.08; }
.phases li:nth-child(1) .num { background: var(--leaf-ink); }
.phases li:nth-child(2) .num { background: var(--ocean); }
.phases li:nth-child(3) .num { background: var(--sun); }
.phases .phase-n { display: block; font-size: 1rem; color: var(--muted); font-weight: 600; }
.phases h3 { font-size: 1.6rem; margin: 0.1rem 0 0.6rem; }
.phases p { max-width: 22rem; }
.practice { margin-top: 2.75rem; padding: 1.4rem 1.6rem; border: 1px solid var(--line); border-radius: 14px; max-width: 48rem; background: #fff; }
.practice strong { color: var(--tide); }

/* Consortium: the one dark section, with the live network map */
.deep { background: var(--tide); color: #fff; }
.deep h2, .deep h3 { color: #fff; }
.deep .lead { color: var(--on-deep); }
.deep a { color: #fff; }
.map { margin: 2.5rem 0 0; position: relative; }
.map svg { width: 100%; overflow: visible; }
.map .land { fill: #1f4868; }
.map .member { fill: var(--leaf-bright); }
.map .arc path { fill: none; }
.map .arc .line { stroke: rgba(255, 255, 255, 0.3); stroke-width: 1.1; }
.map .arc .flow { stroke: var(--sun-bright); stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 0.06 1.3; stroke-dashoffset: 0.06; }
.map .hub { fill: none; stroke: #fff; stroke-width: 2; }
.map .pin { --pin-on: 0; cursor: pointer; }
.map .pin:hover { --pin-on: 1; }
.map .pin .dot, .map .pin .ring { transform-box: fill-box; transform-origin: center; }
.map .pin .dot { fill: var(--sun-bright); stroke: var(--tide); stroke-width: 2; transform: scale(calc(1 + 0.6 * var(--pin-on))); transition: transform 0.25s ease; }
.map .pin .ring { fill: none; stroke: var(--sun-bright); stroke-width: 1.5; opacity: 0; }
.map .pin text { fill: color-mix(in srgb, var(--sun-bright) calc(var(--pin-on) * 100%), #fff); font-size: 13px; font-weight: 700; paint-order: stroke; stroke: var(--tide); stroke-width: 3px; stroke-linejoin: round; transition: fill 0.25s; }
.legend { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; margin-top: 1rem; font-size: 1rem; color: var(--on-deep); }
.legend span::before { content: ""; display: inline-block; width: 0.8rem; height: 0.8rem; margin-right: 0.5rem; vertical-align: -0.05rem; border-radius: 3px; background: var(--leaf-bright); }
.legend .k-dot::before { border-radius: 50%; background: var(--sun-bright); }
.legend .k-hub::before { border-radius: 50%; background: none; border: 2px solid #fff; }
.countries { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 2.25rem 2rem; margin-top: 3rem; align-items: start; }
.countries h3 { font-size: 1.1rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--deep-line); margin-bottom: 0.9rem; }
.countries ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.cohort { --card-on: 0; padding: 0.9rem 1rem; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--sun-bright) calc(var(--card-on) * 100%), var(--deep-line)); background: rgba(255, 255, 255, calc(0.03 + 0.06 * var(--card-on))); transition: border-color 0.25s, background 0.25s; }
.cohort:hover, .cohort:focus-within, .cohort:target { --card-on: 1; }
.countries .id { display: block; font-weight: 800; color: var(--sun-bright); }
.countries .full { display: block; }
.countries .place, .countries .team { display: block; color: var(--on-deep); font-size: 1rem; }
.countries .team { margin-top: 0.35rem; font-size: 0.95rem; }
.countries .team::before { content: "Team: "; color: #fff; font-weight: 600; }
.countries a { display: inline-flex; align-items: center; min-height: 44px; font-size: 1rem; }

/* Who we are */
.people { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr)); gap: 1rem; }
.people > li > div { align-self: start; }
.people > li { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 1rem; padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: translate 0.25s ease, box-shadow 0.25s ease, border-color 0.25s; }
.people > li:hover { translate: 0 -3px; box-shadow: var(--lift); border-color: #b9cfdc; }
.people .av { width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1.2rem; letter-spacing: 0.02em; }
.people .tone-0 .av { background: var(--ocean); }
.people .tone-1 .av { background: var(--leaf-ink); }
.people .tone-2 .av { background: var(--sun); } /* 19 px bold initials: large text, 3.9:1 */
.people h3 { font-size: 1.1rem; line-height: 1.3; }
.people h3 a { color: var(--tide); text-decoration: none; }
.people h3 a:hover { color: var(--ocean); text-decoration: underline; }
.people h3 a::after { content: "iD" / ""; display: inline-grid; place-items: center; width: 1.2rem; height: 1.2rem; margin-left: 0.4rem; border-radius: 50%; background: #a6ce39; color: #fff; font-size: 0.62rem; font-weight: 800; vertical-align: 0.1rem; }
.people .country { font-size: 0.95rem; font-weight: 640; color: var(--leaf-ink); margin-top: 0.15rem; }
.people .aff { list-style: none; margin: 0.5rem 0 0; padding: 0; font-size: 0.95rem; line-height: 1.45; color: var(--muted); }
.people .aff li + li { margin-top: 0.4rem; padding-top: 0.4rem; border-top: 1px dashed var(--line); }
.people .studies { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.75rem; }
.people .studies a { display: inline-flex; align-items: center; min-height: 28px; padding: 0 0.65rem; border-radius: 999px; background: #e6f0f5; color: var(--ocean); font-size: 0.88rem; font-weight: 700; text-decoration: none; transition: background 0.2s, color 0.2s; }
.people .studies a:hover { background: var(--ocean); color: #fff; }

/* Partners: a logo wall */
.logos { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr)); gap: 0.9rem; }
.logos a { display: grid; place-items: center; height: 7.25rem; padding: 0.9rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; transition: translate 0.25s ease, box-shadow 0.25s ease; }
.logos a:hover { translate: 0 -3px; box-shadow: var(--lift); }
.logos img { max-width: 100%; height: auto; }
.logos a:has(.name) { align-content: center; gap: 0.45rem; }
.logos .name { text-align: center; font-weight: 700; color: var(--tide); font-size: 0.85rem; line-height: 1.2; }
.logos .txt { text-align: center; font-weight: 700; color: var(--tide); font-size: 0.95rem; line-height: 1.3; }
.support { margin: 3rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; }
.support div { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem; padding: 1.4rem 1.3rem; text-align: center; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.support dt { font-size: 0.95rem; color: var(--muted); }
.support dd { margin: 0; font-weight: 680; color: var(--tide); display: grid; gap: 0.7rem; justify-items: center; }

/* People and papers */
.pubs { list-style: none; margin: 2.5rem 0 0; padding: 0; max-width: 52rem; }
.pubs li { padding: 1rem 0; border-top: 1px solid var(--line); }
.pubs .meta { display: block; color: var(--muted); font-size: 1rem; }

/* Footer */
.foot { background: var(--tide); color: var(--on-deep); padding: 2.5rem 0; font-size: 1rem; }
.foot-in { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; align-items: center; justify-content: space-between; }
.foot .brand { font-size: 1.2rem; color: #fff; }
.foot .brand img { width: 36px; }
.foot p + p { margin-top: 0.25rem; }
/* the site credit: there, but not asking to be read (#8ea4b6 on the deep ground is 5.5:1) */
.foot-in { position: relative; }
.foot .credit { position: absolute; right: 1.5rem; bottom: -1.75rem; margin: 0; font-size: 0.62rem; letter-spacing: 0.02em; color: #8ea4b6; }

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .hero::before { animation: drift 24s ease-in-out infinite alternate; }
  .hero-mark { animation: float 8s ease-in-out infinite; }
  .map .arc .flow { animation: flow 6s cubic-bezier(0.45, 0, 0.55, 1) infinite; }
  .map .pin .ring { animation: ping 3.4s ease-out infinite; }
  .map .hub { animation: hub 2.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
  .cohort:target { animation: flash 1.8s ease-out; }

  /* The phases line fills as it scrolls into view. Text and cards no longer fade in on scroll:
     Safari sometimes left them half-faded after a hover, mid-screen. */
  @supports (animation-timeline: view()) {
    .phases::after { animation: grow linear both; animation-timeline: --phases; animation-range: entry 40% cover 55%; }
    @media (max-width: 860px) { .phases::after { animation-name: grow-y; } }
  }
}
@keyframes drift { to { transform: translate3d(5%, 7%, 0) rotate(7deg) scale(1.08); } }
@keyframes float { 50% { transform: translateY(-10px) rotate(-1.5deg); } }
@keyframes flow { 0% { stroke-dashoffset: 0.06; } 75%, 100% { stroke-dashoffset: -1.06; } }
@keyframes ping { 0% { transform: scale(1); opacity: 0.8; } 70%, 100% { transform: scale(3.4); opacity: 0; } }
@keyframes hub { 50% { transform: scale(1.35); opacity: 0.6; } }
@keyframes flash { from { box-shadow: 0 0 0 6px rgba(242, 138, 46, 0.6); } to { box-shadow: 0 0 0 0 rgba(242, 138, 46, 0); } }
@keyframes grow { from { transform: scaleX(0); } }
@keyframes grow-y { from { transform: scaleY(0); } }

@media (max-width: 920px) {
  /* three wide logos no longer fit on one line: centre them and let them wrap */
  .hosts ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.25rem 2rem; }
}
@media (max-width: 860px) {
  .hero-in, .split, .ic { grid-template-columns: minmax(0, 1fr); }
  .hero-mark { order: -1; width: min(60%, 15rem); justify-self: start; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stats div:nth-child(n + 3) { border-top: 1px solid var(--line); margin-top: 1.25rem; }
  .phases { grid-template-columns: minmax(0, 1fr); gap: 2.25rem; }
  .phases::before, .phases::after { top: 1.75rem; bottom: 1.75rem; left: 1.75rem; right: auto; width: 3px; height: auto; }
  .phases::after { background: linear-gradient(180deg, var(--leaf-ink), var(--ocean), var(--sun)); transform-origin: top; }
  .phases li { padding-left: 5rem; }
  .phases .num { position: absolute; left: 0; top: 0; }
}
@media (max-width: 640px) {
  .top { position: static; } /* a wrapped menu would hide a fifth of a phone screen */
  html { scroll-padding-top: 1rem; }
  .top-in { padding-top: 0.5rem; padding-bottom: 0.25rem; }
  .top nav ul { gap: 0 1.1rem; }
  .hosts ul { justify-content: center; gap: 0.25rem 1.5rem; }
  .hosts img { max-height: 46px; width: auto; }
  .map .pin text { display: none; } /* too small to read: the list below names every pin */
  .map .pin .dot { transform: scale(calc(1.7 + 0.6 * var(--pin-on))); } /* still a visible dot at a third of the size */
  .map .arc .flow { stroke-width: 4.5; }
  .people { grid-template-columns: minmax(0, 1fr); }
  .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logos a { height: 6.25rem; padding: 0.75rem; }
}

/* Generated by build.mjs from content.mjs */
.arc:nth-child(1) .flow{animation-delay:0.00s}
.pin-clsa .ring{animation-delay:0.00s}
.deep:has(#c-clsa:hover,#c-clsa:focus-within) .pin-clsa{--pin-on:1}
.deep:has(.pin-clsa:hover) #c-clsa{--card-on:1}
.arc:nth-child(2) .flow{animation-delay:0.53s}
.pin-nuage .ring{animation-delay:0.37s}
.deep:has(#c-nuage:hover,#c-nuage:focus-within) .pin-nuage{--pin-on:1}
.deep:has(.pin-nuage:hover) #c-nuage{--card-on:1}
.arc:nth-child(3) .flow{animation-delay:1.06s}
.pin-spring .ring{animation-delay:0.74s}
.deep:has(#c-spring:hover,#c-spring:focus-within) .pin-spring{--pin-on:1}
.deep:has(.pin-spring:hover) #c-spring{--card-on:1}
.arc:nth-child(4) .flow{animation-delay:1.59s}
.pin-fradysmex .ring{animation-delay:1.11s}
.deep:has(#c-fradysmex:hover,#c-fradysmex:focus-within) .pin-fradysmex{--pin-on:1}
.deep:has(.pin-fradysmex:hover) #c-fradysmex{--card-on:1}
.arc:nth-child(5) .flow{animation-delay:2.12s}
.pin-creles .ring{animation-delay:1.48s}
.deep:has(#c-creles:hover,#c-creles:focus-within) .pin-creles{--pin-on:1}
.deep:has(.pin-creles:hover) #c-creles{--card-on:1}
.arc:nth-child(6) .flow{animation-delay:2.65s}
.pin-sarcos .ring{animation-delay:1.85s}
.deep:has(#c-sarcos:hover,#c-sarcos:focus-within) .pin-sarcos{--pin-on:1}
.deep:has(.pin-sarcos:hover) #c-sarcos{--card-on:1}
.arc:nth-child(7) .flow{animation-delay:3.18s}
.pin-c-v-swiss .ring{animation-delay:2.22s}
.deep:has(#c-c-v-swiss:hover,#c-c-v-swiss:focus-within) .pin-c-v-swiss{--pin-on:1}
.deep:has(.pin-c-v-swiss:hover) #c-c-v-swiss{--card-on:1}
.arc:nth-child(8) .flow{animation-delay:3.71s}
.pin-geppo .ring{animation-delay:2.59s}
.deep:has(#c-geppo:hover,#c-geppo:focus-within) .pin-geppo{--pin-on:1}
.deep:has(.pin-geppo:hover) #c-geppo{--card-on:1}
.arc:nth-child(9) .flow{animation-delay:4.24s}
.pin-tsha .ring{animation-delay:2.96s}
.deep:has(#c-tsha:hover,#c-tsha:focus-within) .pin-tsha{--pin-on:1}
.deep:has(.pin-tsha:hover) #c-tsha{--card-on:1}
.arc:nth-child(10) .flow{animation-delay:4.77s}
.pin-nils-lsa .ring{animation-delay:3.33s}
.deep:has(#c-nils-lsa:hover,#c-nils-lsa:focus-within) .pin-nils-lsa{--pin-on:1}
.deep:has(.pin-nils-lsa:hover) #c-nils-lsa{--card-on:1}
.arc:nth-child(11) .flow{animation-delay:5.30s}
.pin-ilas .ring{animation-delay:3.70s}
.deep:has(#c-ilas:hover,#c-ilas:focus-within) .pin-ilas{--pin-on:1}
.deep:has(.pin-ilas:hover) #c-ilas{--card-on:1}
.arc:nth-child(12) .flow{animation-delay:5.83s}
.pin-hip-fracture .ring{animation-delay:4.07s}
.deep:has(#c-hip-fracture:hover,#c-hip-fracture:focus-within) .pin-hip-fracture{--pin-on:1}
.deep:has(.pin-hip-fracture:hover) #c-hip-fracture{--card-on:1}
.arc:nth-child(13) .flow{animation-delay:6.36s}
.pin-spice .ring{animation-delay:4.44s}
.deep:has(#c-spice:hover,#c-spice:focus-within) .pin-spice{--pin-on:1}
.deep:has(.pin-spice:hover) #c-spice{--card-on:1}
.arc:nth-child(14) .flow{animation-delay:6.89s}
.pin-plsaw .ring{animation-delay:4.81s}
.deep:has(#c-plsaw:hover,#c-plsaw:focus-within) .pin-plsaw{--pin-on:1}
.deep:has(.pin-plsaw:hover) #c-plsaw{--card-on:1}
.arc:nth-child(15) .flow{animation-delay:7.42s}
.pin-gos .ring{animation-delay:5.18s}
.deep:has(#c-gos:hover,#c-gos:focus-within) .pin-gos{--pin-on:1}
.deep:has(.pin-gos:hover) #c-gos{--card-on:1}
.ic:has(.domains div:nth-child(1):hover) .seg-1,.ic:has(.seg-1:hover) .domains div:nth-child(1){--seg-on:1}
.ic:has(.domains div:nth-child(2):hover) .seg-2,.ic:has(.seg-2:hover) .domains div:nth-child(2){--seg-on:1}
.ic:has(.domains div:nth-child(3):hover) .seg-3,.ic:has(.seg-3:hover) .domains div:nth-child(3){--seg-on:1}
.ic:has(.domains div:nth-child(4):hover) .seg-4,.ic:has(.seg-4:hover) .domains div:nth-child(4){--seg-on:1}
.ic:has(.domains div:nth-child(5):hover) .seg-5,.ic:has(.seg-5:hover) .domains div:nth-child(5){--seg-on:1}
