:root { --word-top: 0.262; --word-end: 0.6235; --still: 420 / 860; }
@media (min-aspect-ratio: 3/4) { :root { --word-top: 0.14; --word-end: 0.4347; --still: 1000 / 1100; } }
@media (min-aspect-ratio: 6/5) { :root { --word-top: 0.092; --word-end: 0.3043; --still: 1600 / 1000; } }
.flow { --stages: 18fr 18fr 37.2fr 17fr; }
/* TETIS tokens. The eight tints are the layer tints of the relief, shallow to
   deep (see src/js/sea.js). Coral is the chart's overprint: only what people do
   (tracks, casts, limits, gates, links) is drawn in it. */
:root {
  --tint-0: #e6eee8;
  --tint-1: #7fb0ad;
  --tint-2: #2f6873;
  --tint-3: #1a4859;
  --tint-4: #113347;
  --tint-5: #0b2436;
  --tint-6: #071928;
  --tint-7: #040f19;
  --coral: #f0785c;

  --ground: var(--tint-7);
  --text: #d3e0dc;
  --text-strong: var(--tint-0);
  --text-quiet: #8fb0b1;

  --face: "Piazzolla", "Times New Roman", serif;

  --size-note: 0.9375rem;
  --size-body: 1.1875rem;
  --size-about: clamp(1.1875rem, 1rem + 0.5vw, 1.4375rem);
  --size-lead: clamp(1.25rem, 1.05rem + 0.65vw, 1.5625rem);
  --size-title: clamp(1.75rem, 1.15rem + 2vw, 3rem);
  --size-head: clamp(2rem, 1.35rem + 2.2vw, 3.5rem);
  --size-line: clamp(1.4375rem, 1.1rem + 1.55vw, 2.75rem);

  /* The hero's sea: the width every length of the word is a share of. */
  --sea: 100vw;
  --gutter: max(20px, calc(var(--sea) * 0.046));
  --edge-height: clamp(38px, 4.2vw, 68px);
  --swift: 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-aspect-ratio: 6/5) { :root { --sea: min(100vw, 190svh); } }

@font-face {
  font-family: "Piazzolla";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("piazzolla-cyrillic-opsz-normal.9996f22ac1.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Piazzolla";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("piazzolla-latin-opsz-normal.68a923967d.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212;
}
@font-face {
  font-family: "Piazzolla";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("piazzolla-cyrillic-wght-italic.afa0f3f09a.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Piazzolla";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("piazzolla-latin-wght-italic.e9e5b900ad.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--ground);
  color: var(--text);
  color-scheme: dark;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--tint-3) var(--tint-7);
}
body {
  margin: 0;
  background: var(--ground);
  font: 400 var(--size-body)/1.5 var(--face);
  font-optical-sizing: auto;
  font-feature-settings: "kern", "liga";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2 { font-weight: 300; text-wrap: balance; color: var(--text-strong); }
h2 { font-size: var(--size-head); line-height: 1.04; letter-spacing: -0.012em; }
p { text-wrap: pretty; }
img, svg { display: block; }
main:focus { outline: none; }

a { color: inherit; text-underline-offset: 0.24em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--tint-0); outline-offset: 4px; }
::selection { background: var(--coral); color: var(--tint-7); }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip {
  position: absolute;
  z-index: 3;
  top: 10px; left: var(--gutter);
  padding: 10px 16px;
  background: var(--tint-0);
  color: var(--tint-7);
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

/* Single-stroke lettering. Upright for what people build, slanted for water. */
.lettering { width: auto; height: 1em; overflow: visible; fill: none; stroke: currentColor; stroke-width: 7; stroke-linecap: square; stroke-linejoin: miter; stroke-miterlimit: 8; }
.lettering--water { transform: skewX(-14deg); }
.lettering--dashed { stroke-linecap: butt; stroke-linejoin: round; }
.lettering__under { stroke-opacity: 0.32; stroke-linecap: square; stroke-linejoin: round; }
.lettering--small .lettering__under, .tint__text .lettering__under { stroke-opacity: 0.45; }

/* A coral plate is the one filled control on the page. */
.action {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 9px 24px 10px;
  background: var(--coral);
  color: var(--tint-7);
  font-weight: 560;
  text-decoration: none;
  transition: background-color var(--swift), color var(--swift);
}
.action:hover { background: var(--tint-0); }
.action:active { background: var(--tint-1); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .action, .masthead a, .footer a { transition-duration: 1ms; }
}

/* A link in the header or the footer is a track line run under the words. */
.masthead a, .footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  background: linear-gradient(var(--coral), var(--coral)) 0 calc(50% + 13px) / 0 1.5px no-repeat;
  transition: background-size 200ms cubic-bezier(0.16, 1, 0.3, 1);
}
.masthead .language, .footer .language { min-width: 28px; justify-content: center; }
.masthead a:hover, .footer nav a:hover { background-size: 100% 1.5px; }

.footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px clamp(28px, 4vw, 72px);
  align-items: center;
  padding: 22px var(--gutter) 44px;
  background: var(--tint-0);
  color: var(--tint-5);
  font-size: var(--size-note);
}
.footer nav a { background-image: linear-gradient(var(--tint-2), var(--tint-2)); }
.footer__links { display: flex; flex-wrap: wrap; gap: 0 28px; }
.footer__contact a { display: inline-block; padding: 8px 0; overflow-wrap: anywhere; }
@media (min-width: 701px) {
  .footer__contact { grid-area: 2 / 1; }
  .footer__contact ~ .footer__action { grid-area: 1 / 2 / span 2; }
}
.footer .action { background: var(--tint-5); color: var(--tint-0); font-size: var(--size-body); }
.footer .action:hover { background: var(--tint-2); }
.footer :focus-visible { outline-color: var(--tint-5); }
@media (max-width: 700px) {
  .footer { grid-template-columns: 1fr; justify-items: start; padding-bottom: 28px; }
  .footer__links { gap: 0 20px; }
}

.lost main { min-height: 100svh; display: grid; align-content: center; gap: 36px; padding: 48px var(--gutter); }
.lost__name { font-size: clamp(48px, 9vw, 110px); color: var(--tint-2); }
.lost h1, .lost h2 { font-size: var(--size-lead); font-weight: 400; color: var(--text-strong); }
.lost p { margin-top: 6px; }
.lost .action { margin-top: 10px; }

.masthead {
  position: absolute;
  z-index: 2;
  inset: 0 0 auto;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 0 32px;
  padding: 10px var(--gutter);
  font-size: var(--size-note);
  color: var(--text-strong);
}
.masthead__line { font-style: italic; }
.masthead nav { grid-column: 2; }
.masthead .language { margin-left: 14px; }
.masthead__links { display: flex; gap: clamp(14px, 2.2vw, 32px); }
@media (max-width: 700px) {
  .masthead { grid-template-columns: 1fr auto; gap: 0 8px; padding-block: 4px; font-size: clamp(0.8125rem, 3.85vw, 0.9375rem); }
  .masthead__line { display: none; }
  .masthead nav { grid-column: 1; }
  .masthead .language { margin-left: 0; }
  .masthead__links { gap: clamp(8px, 3.6vw, 24px); }
}

/* The word's place is a share of the sea's width (src/js/scene.js): the still,
   the live relief and this padding all read it, so nothing moves when one takes
   over from the other. */
.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: clamp(540px, 95svh, 1080px);
  padding-top: calc(var(--sea) * var(--word-end) + clamp(34px, 6svh, 72px));
  overflow: clip;
  isolation: isolate;
}
.relief { position: absolute; z-index: -1; inset: 0; background: var(--ground); }
.relief__still { position: absolute; top: 0; left: 0; width: var(--sea); aspect-ratio: var(--still); mask-image: linear-gradient(#000 76%, transparent); }
.relief__still img { width: 100%; height: 100%; }
.relief canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 350ms ease-out; }
html[data-relief="ready"] .relief canvas { opacity: 1; }
/* The same sea with less light, where words stand on it. */
.relief::after {
  content: "";
  position: absolute;
  inset: 0;
  --from: calc(var(--sea) * var(--word-end));
  --fade: clamp(40px, 13svh, 150px);
  --head: min(96px, calc(var(--sea) * var(--word-top) * 0.85));
  background:
    linear-gradient(rgb(4 15 25 / 0.66), transparent var(--head)),
    linear-gradient(transparent calc(100% - 130px), var(--ground)),
    linear-gradient(to right, rgb(4 15 25 / 0.84) 34%, transparent 88%) 0 100% / 100% calc(100% - var(--from)) no-repeat;
  mask-image: linear-gradient(#000 calc(var(--head) * 0.6), transparent var(--head) calc(var(--from) + 6px), #000 calc(var(--from) + var(--fade)));
}
@media (min-aspect-ratio: 19/10) {
  .relief__still { mask-image: linear-gradient(#000 76%, transparent), linear-gradient(to right, #000 92%, transparent); mask-composite: intersect; }
}

.relief__labels { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 800ms ease-out; }
html[data-relief="ready"][data-survey="done"] .relief__labels { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .relief__labels, .relief canvas { transition-duration: 200ms; } }
.relief__wake { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; fill: none; stroke: var(--coral); stroke-width: 1.2; stroke-linejoin: round; }
.relief__labels text { fill: #cfe2dd; font-size: 11.5px; font-style: italic; text-anchor: middle; paint-order: stroke; stroke-width: 5px; stroke-linejoin: round; font-variant-numeric: lining-nums; }

.hero__block {
  display: grid;
  gap: 14px;
  padding: 0 var(--gutter) clamp(24px, 4svh, 42px);
}
.hero__title { font-size: var(--size-title); line-height: 1.1; letter-spacing: -0.012em; }
.hero__mission { max-width: 52ch; color: var(--text-strong); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: 4px; }
.action__note { font-style: italic; color: var(--text-strong); }
@media (min-height: 760px) and (min-aspect-ratio: 6/5) {
  .relief::after { --fade: clamp(60px, 18svh, 200px); }
}
@media (max-aspect-ratio: 3/4) {
  .hero { min-height: clamp(540px, 82svh, 1040px); }
}
@media (max-aspect-ratio: 6/5) {
  .relief::after {
    background:
      linear-gradient(rgb(4 15 25 / 0.66), transparent var(--head)),
      linear-gradient(transparent calc(100% - 130px), var(--ground)),
      linear-gradient(rgb(4 15 25 / 0.84), rgb(4 15 25 / 0.84)) 0 100% / 100% calc(100% - var(--from)) no-repeat;
  }
}

.components { padding-top: clamp(52px, 11vh, 118px); }
.components__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px clamp(28px, 4vw, 72px);
  padding: 0 var(--gutter) clamp(18px, 5.6vh, 60px);
}

/* What people draw on the sea: the line says whether it works, the mark who may
   come in. */
.track, .limit, .limit__casing, .gate, .course__head { fill: none; stroke: var(--coral); stroke-width: 1.7; vector-effect: non-scaling-stroke; }
.track--dashed { stroke-dasharray: 11 8; }
.limit__casing { stroke: var(--tint-7); stroke-opacity: 0.72; stroke-width: 6; }
.gate { fill: var(--ground); }
.station-dot, .landing { fill: var(--coral); }
.sample { flex: none; width: 44px; height: 20px; overflow: visible; }

/* One strip of sea floor runs down the right; the three entries stand beside it.
   The entry with most to say sets the height of all: strips of one size meet. */
@media (min-width: 1000px) {
  .components { display: grid; grid-template: auto / minmax(0, 1fr); grid-auto-rows: 1fr; }
}
.component {
  position: relative;
  display: grid;
  grid-template: 1fr auto auto 1fr / minmax(0, 5fr) minmax(0, 7fr);
  min-height: clamp(520px, 41.667vw, 820px);
}
.strip { grid-area: 1 / 2 / -1 / 3; position: relative; overflow: clip; }
.strip__still, .strip__lines { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Figures fade only where the strip itself begins and ends, never at a join. */
.strip__still { mask-composite: intersect; }
.strip__still--survey { mask-image: linear-gradient(transparent, #000 18%), linear-gradient(to right, transparent, #000 18%); }
.strip__still--light { mask-image: linear-gradient(#000 88%, transparent), linear-gradient(to right, transparent, #000 18%); }
.strip__lines--fading { mask-image: linear-gradient(#000 3%, transparent 26%); }
.strip__lines text { font-size: 12.5px; text-anchor: middle; font-variant-numeric: lining-nums tabular-nums; }
text.isolume { fill: var(--tint-0); font-size: 15px; font-style: italic; paint-order: stroke; stroke: #0e2a30; stroke-width: 7px; stroke-linejoin: round; }
.depth-0 { fill: var(--tint-0); font-weight: 600; }
.depth-1 { fill: #a9cdc7; font-weight: 500; }
.depth-2 { fill: #6fa9ab; }
.depth-3 { fill: #4b8791; }
.depth-4 { fill: #3a7281; }
.depth-5 { fill: #2d5f6f; }
.depth-6 { fill: #234f60; }

.component__head { grid-area: 2 / 1; padding: 14px 0 0 var(--gutter); }
.component__text { grid-area: 3 / 1; padding: 0 0 14px var(--gutter); max-width: calc(var(--gutter) + 30rem); }
.component__name { font-size: clamp(46px, 5.6vw, 100px); line-height: 1; color: var(--text-strong); }
.component__name .lettering { stroke-width: 5.8; max-width: calc(41.66vw - var(--gutter) - 16px); }
.component__expansion { margin-top: 14px; font-style: italic; color: var(--tint-1); }
.component__about { margin-top: 18px; font-size: var(--size-about); line-height: 1.36; color: var(--text-strong); }
.facts { margin-top: 18px; display: grid; gap: 7px; font-size: 1.0625rem; line-height: 1.38; }
.facts > div { display: grid; grid-template-columns: 5.7em minmax(0, 1fr); gap: 14px; align-items: baseline; }
.facts dt { font-style: italic; color: var(--text-quiet); }
.facts dd { display: flex; gap: 14px; align-items: baseline; color: var(--text-strong); text-wrap: pretty; }
.facts .sample { align-self: flex-start; margin-top: 0.1em; }
.fact__note { color: var(--text); }
.component__open { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 20px; }
.component__open .address { color: var(--text-quiet); }

/* The survey is run as the reader passes it. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .strip__still--survey, .strip__lines--swath {
      animation: run-survey linear both;
      animation-timeline: view();
      animation-range: entry 20% entry 100%;
    }
  }
}
@keyframes run-survey { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }

@media (max-width: 999px) {
  /* The entries separate the figures here, so each has its own soft edges; the
     name leads, so a link to a component arrives at its name. */
  .component { grid-template: auto auto auto / 1fr; min-height: 0; padding-top: 30px; }
  .component__head { grid-area: 1 / 1; padding: 0 var(--gutter); }
  .strip { grid-area: 2 / 1; aspect-ratio: 840 / 600; margin-top: 14px; max-height: 72svh; }
  .component__text { grid-area: 3 / 1; padding: 8px var(--gutter) 30px; max-width: 44rem; }
  .component__about { margin-top: 10px; }
  .component__expansion { margin-top: 10px; }
  .component__name { font-size: clamp(44px, 12vw, 100px); }
  .component__name .lettering { max-width: 100%; }
  .strip__still--survey { mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent); }
  .strip__still--light { mask-image: linear-gradient(transparent 10%, #000 30%, #000 88%, transparent); }
  .strip__lines--light { mask-image: linear-gradient(transparent 6%, #000 20%); }
  .strip__lines--fading { display: none; }
}
@media (max-width: 700px) {
  .facts > div { grid-template-columns: 5.4em minmax(0, 1fr); gap: 10px; }
  .facts dd { gap: 10px; }
  .sample { width: 34px; }
  text.isolume { font-size: 30px; stroke-width: 12px; }
  /* larger numbers, and none cut in half at the edges of the screen */
  .component .strip__lines:has([class^="depth"]) { width: 172%; left: -36%; height: 172%; top: -36%; mask-image: linear-gradient(to right, transparent 21.5%, #000 27%, #000 73%, transparent 78.5%), linear-gradient(transparent 21.5%, #000 30%, #000 70%, transparent 78.5%); mask-composite: intersect; }
}
@media (max-width: 359px) {
  .facts > div { grid-template-columns: 1fr; gap: 0; }
}

.section, .philosophy { --fill: var(--tint-6); background: var(--fill); }
.section { --edge: var(--tint-1); position: relative; margin-top: calc(var(--edge-height) + clamp(14px, 6vh, 64px)); padding-top: clamp(38px, 9.6vh, 104px); }
.section .gate { fill: var(--tint-6); }
.section__head {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px clamp(28px, 4vw, 72px);
  padding: 0 var(--gutter);
}
.section__head p { flex: 1 1 30ch; max-width: 58ch; font-size: var(--size-about); line-height: 1.36; color: var(--text-strong); }

/* TETIS is the whole section, end to end. */
.whole { display: flex; align-items: center; gap: 16px; margin: clamp(24px, 5.4vh, 58px) var(--gutter) 0; font-size: 1.0625rem; color: var(--text-strong); }
.whole::before, .whole__reach { content: ""; height: 11px; border-top: 1px solid var(--tint-1); transform: translateY(5px); }
.whole::before { flex: 0 0 20px; border-left: 1px solid var(--tint-1); }
.whole__reach { flex: 1; border-right: 1px solid var(--tint-1); }
.whole__name { font-size: 32px; line-height: 1; }
.whole__name .lettering { stroke-width: 6.4; }

.section__key { position: relative; }
.section__spine, .section__spine-name { display: none; }
/* Each name stands over its own cast: the columns and the casts share weights. */
.flow { display: grid; grid-template-columns: var(--stages); margin: 32px var(--gutter) 0; }
.flow__hands { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.flow__name { display: flex; align-items: end; min-height: 26px; font-size: 26px; line-height: 1; color: var(--text-strong); }
.lettering--small { stroke-width: 7; }
.flow__name--people { font-size: 1.1875rem; line-height: 1.1; font-style: italic; }
.flow__name--future { font-size: var(--size-note); line-height: 1.1; font-style: italic; color: var(--text-quiet); }
.flow__name--results { font-size: 1.375rem; line-height: 1.12; }
.flow__role { display: block; margin-top: 6px; font-size: var(--size-note); line-height: 1.2; font-style: italic; color: var(--text-quiet); }
.flow__stage { padding-right: 14px; }
.flow__gives { margin-top: 8px; font-size: 1.0625rem; line-height: 1.3; }
/* One bracket over everyone in the stage. */
.flow__stage--work .flow__gives { margin: 12px 14px 0 0; padding-top: 7px; border: solid var(--tint-1); border-width: 1px 0 0; position: relative; }
.flow__stage--work .flow__gives::before, .flow__stage--work .flow__gives::after { content: ""; position: absolute; top: -7px; height: 6px; border-left: 1px solid var(--tint-1); }
.flow__stage--work .flow__gives::after { right: 0; }

.section__figure { position: relative; aspect-ratio: 1440 / 470; }
.section__plot { width: 100%; height: 100%; }
.isoline { fill: none; stroke: #8fc0bd; stroke-opacity: 0.5; stroke-width: 1.1; vector-effect: non-scaling-stroke; }
.isoline--fine { stroke-opacity: 0.2; }
.seabed { fill: none; stroke-width: 5; stroke-linejoin: round; }
.seabed--spine { stroke-width: 3.4; }
.cast__line { fill: none; stroke: var(--coral); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.cast__marks { fill: none; stroke: var(--tint-0); stroke-width: 1.3; vector-effect: non-scaling-stroke; }
.cast--development .cast__line { stroke-dasharray: 9 7; }
.cast--people .cast__line { stroke: var(--tint-0); }
.cast--people .station-dot { fill: var(--tint-0); }
.shared { fill: none; stroke: var(--tint-0); stroke-width: 1.7; vector-effect: non-scaling-stroke; }
.shared--future { stroke-opacity: 0.6; stroke-dasharray: 2 7; }
.cast .limit { fill: var(--tint-6); }
.cast--future .cast__line { stroke: var(--tint-0); stroke-opacity: 0.6; stroke-dasharray: 2 7; }
.course__head { stroke-width: 2; stroke-linecap: square; }
.ocean-letters { fill: none; stroke: var(--tint-0); stroke-width: 3.2; stroke-linecap: square; }
.ocean-letters path { vector-effect: non-scaling-stroke; }

.ocean {
  display: grid;
  grid-template-columns: auto minmax(0, 5fr) minmax(0, 6fr);
  gap: 8px clamp(24px, 3vw, 56px);
  align-items: center;
  padding: clamp(20px, 3.4vh, 36px) var(--gutter) 0;
  font-size: 1.0625rem;
  line-height: 1.4;
}
.ocean__name { font-size: 40px; line-height: 1; color: var(--text-strong); }
.ocean__name .lettering { stroke-width: 6.2; transform-origin: 0 100%; }
.ocean .component__expansion { margin-top: 0; }
.ocean__text { color: var(--text-strong); }

/* Stations stand apart; then the isolines join them; then the water has a name. */
@media (prefers-reduced-motion: no-preference) {
  .is-waiting .isoline, .is-drawn .isoline { stroke-dasharray: 1; }
  .is-waiting .isoline { stroke-dashoffset: 1; }
  .is-waiting .bands, .is-waiting .ocean-letters { opacity: 0; }
  .is-drawn .isoline { animation: join 1500ms 250ms cubic-bezier(0.22, 0.8, 0.3, 1) both; }
  .is-drawn .isoline--1 { animation-delay: 320ms; }
  .is-drawn .isoline--2 { animation-delay: 390ms; }
  .is-drawn .isoline--3 { animation-delay: 460ms; }
  .is-drawn .isoline--4 { animation-delay: 530ms; }
  .is-drawn .isoline--5, .is-drawn .isoline--fine { animation-delay: 600ms; }
  .is-drawn .bands { animation: surface 1300ms 400ms ease-out both; }
  .is-drawn .ocean-letters { animation: surface 700ms 1300ms ease-out both; }
}
@keyframes join { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes surface { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 1279px) {
  .flow__name { font-size: 20px; min-height: 20px; }
  .flow__name--people { font-size: 0.9375rem; }
  .flow__name--future, .flow__role { font-size: 0.8125rem; }
  .flow__name--results { font-size: 1.125rem; }
  .flow__gives, .ocean { font-size: 1rem; }
  .whole__name { font-size: 26px; }
}
@media (max-width: 959px) {
  .section__figure { display: none; }
  .whole { flex-wrap: wrap; gap: 4px 12px; padding-top: 12px; border-top: 1px solid var(--tint-1); }
  .whole::before, .whole__reach { display: none; }
  .section__key { --spine: clamp(58px, 22vw, 92px); --shift: calc(var(--spine) + 26px); margin: 16px var(--gutter) 0; padding-left: var(--shift); }
  .section__spine { display: block; position: absolute; inset: 0 auto 0 0; width: var(--spine); height: 100%; }
  .section__spine, .section__spine-name { mask-image: linear-gradient(#000 92%, transparent); }
  .section__spine-name { position: absolute; z-index: 1; inset: 0 auto 0 0; width: calc(var(--spine) - 14px); padding: 60px 0; display: flex; flex-direction: column; justify-content: space-between; align-items: center; font-size: 20px; line-height: 1; color: var(--tint-0); }
  .section__spine-name .lettering { stroke-width: 7; }
  .section__spine-name.is-placed { display: block; padding: 0; }
  .section__spine-name.is-placed .lettering { position: absolute; left: 50%; margin-left: -10px; }
  .flow { position: relative; display: block; margin: 0; }
  .flow__hands { display: block; }
  /* every cast keeps the same distance from the next, and a letter stands between */
  .flow__stage, .flow__hand { position: relative; padding: 22px 0 0; }
  .cast-row { min-height: 72px; }
  .flow__stage--work { padding-top: 0; }
  .flow__stage--results { padding: 30px 0 26px; }
  .flow__name { font-size: 24px; min-height: 24px; }
  .flow__name--people { font-size: 1.375rem; }
  .flow__name--future { font-size: 1.0625rem; }
  .flow__name--results { font-size: 1.375rem; }
  .flow__gives { margin-top: 5px; }
  .flow__role { display: inline; margin: 0 0 0 10px; font-size: var(--size-note); }
  .flow__hand { display: flex; align-items: end; align-content: start; flex-wrap: wrap; }
  .flow__stage--work { display: flex; flex-direction: column; }
  .flow__stage--work .flow__gives { order: -1; margin: 20px 0 -6px; padding: 0; border: 0; }
  /* The course down the surface: each stage draws its own leg, in its own line;
     those who work together share one line in the colour of people. */
  .flow__stage { --course: linear-gradient(var(--coral), var(--coral)); }
  .cast-row--development, .cast-row--development + .flow__stage--work { --course: repeating-linear-gradient(var(--coral) 0 8px, transparent 8px 14px); }
  .flow__stage--work .flow__gives { position: relative; }
  .flow__gives::before, .flow__stage--work .flow__gives::before, .flow__hands::before, .flow__stage--results::after { content: ""; position: absolute; left: calc(-1 * var(--shift)); width: 2px; height: auto; border: 0; background: var(--course); }
  .flow__gives::before { top: 34px; bottom: -34px; }
  .flow__stage:has(+ .flow__stage--work) .flow__gives::before { bottom: 0; }
  .flow__stage--work .flow__gives::before { top: -20px; bottom: -28px; }
  .flow__hands { position: relative; }
  .flow__hands::before { top: 34px; bottom: 38px; background: linear-gradient(var(--tint-0), var(--tint-0)) 0 0 / 2px calc(100% - 72px) no-repeat, repeating-linear-gradient(rgb(230 238 232 / 0.6) 0 2px, transparent 2px 9px) 0 100% / 2px 72px no-repeat; }
  .flow__stage--results::after { top: -38px; bottom: 46px; }
  /* and an arrowhead on the way to the next */
  .flow__stage--work .flow__gives::after { content: none; }
  .flow__gives::after, .flow__hands::after { content: ""; position: absolute; left: calc(-1 * var(--shift) - 4px); bottom: -8px; width: 0; border: 5px solid transparent; border-top: 8px solid var(--coral); border-bottom: 0; }
  .cast-row::before { content: ""; position: absolute; left: calc(-1 * var(--shift)); top: 34px; width: calc(var(--spine) + 12px); border-top: 2px solid var(--coral); }
  .cast-row--development::before { border-top-style: dashed; }
  .cast-row--people::before { border-top-color: var(--tint-0); }
  .cast-row--future::before { border-top: 2px dotted var(--tint-1); }
  .cast-row:not(.cast-row--future)::after { content: ""; position: absolute; left: calc(-1 * var(--shift) - 4px); top: 30px; width: 10px; height: 10px; border-radius: 50%; background: var(--coral); }
  .cast-row--people:not(.cast-row--future)::after { background: var(--tint-0); }
  .cast-row--authenticated:not(.cast-row--future)::after, .cast-row--restricted:not(.cast-row--future)::after { left: calc(-1 * var(--shift) - 7px); top: 27px; width: 16px; height: 16px; border: 2px solid var(--coral); background: var(--tint-6); }
  .cast-row--restricted:not(.cast-row--future)::after { border-radius: 0; background: linear-gradient(var(--coral), var(--coral)) 50% 0 / 2px 3px no-repeat, linear-gradient(var(--coral), var(--coral)) 50% 100% / 2px 3px no-repeat, linear-gradient(var(--coral), var(--coral)) 0 50% / 3px 2px no-repeat, linear-gradient(var(--coral), var(--coral)) 100% 50% / 3px 2px no-repeat, var(--tint-6); }
  .flow__stage--results::before { content: ""; position: absolute; left: calc(-1 * var(--shift) - 6px); bottom: 40px; width: 14px; height: 14px; border-radius: 50%; background: var(--coral); }
  .ocean { grid-template-columns: 1fr; padding-top: 36px; }
}

/* The philosophy is set on the chart's tint scale, from the deepest water up to
   the lit surface. */
.philosophy { --edge-height: clamp(34px, 3.3vw, 54px); padding-top: clamp(48px, 14vh, 150px); }
.philosophy h2 { padding: 0 var(--gutter) calc(var(--edge-height) + clamp(2px, 1vh, 12px)); }
.tint { position: relative; padding: calc(var(--edge-height) * 0.46 + clamp(5px, 1.2vh, 14px)) var(--gutter) calc(var(--edge-height) + clamp(10px, 2vh, 22px)); background: var(--fill); color: var(--tint-0); }
.tint__edge { position: absolute; left: 0; top: calc(-1 * var(--edge-height)); width: 100%; height: calc(var(--edge-height) * 190 / 120); pointer-events: none; }
.tint__fill { fill: var(--fill); }
.tint__line { fill: none; stroke: var(--edge); stroke-width: 1; stroke-opacity: 0.32; vector-effect: non-scaling-stroke; }
/* position keeps the words above the edge's own lines */
.tint__text { position: relative; font-size: var(--size-line); font-weight: 300; line-height: 1.14; letter-spacing: -0.01em; text-wrap: balance; }
.tint__text .lettering { display: inline-block; height: 0.755em; vertical-align: -0.05em; stroke-width: 6.2; }
.tint__text .lettering { margin-right: 0.08em; }
.tint__text .lettering--water { margin-right: 0.12em; }
.tint--5 { --fill: var(--tint-5); --edge: var(--tint-1); }
.tint--4 { --fill: var(--tint-4); --edge: var(--tint-1); }
.tint--3 { --fill: var(--tint-3); --edge: var(--tint-1); }
.tint--2 { --fill: var(--tint-2); --edge: var(--tint-0); }
.tint--1 { --fill: var(--tint-1); --edge: var(--tint-7); color: var(--tint-7); }
.tint--0 { --fill: var(--tint-0); --edge: var(--tint-3); color: var(--tint-5); padding-bottom: clamp(34px, 5vh, 52px); }
