/*
 * /about, from the approved mock-up v2 (8 November 2026): "Ten years, scrolled". The whole page is the timeline.
 * Loaded after page.css (header, menu pill, button, closing band and footer come from there, unchanged) and before
 * booking.css (the booking dialog, as on the other pages).
 *
 * One grid from the first pixel: a left column for the sticky year counter, the rail (a fine green line) at --rail,
 * and the story column to its right. The line draws itself down the page as you scroll; each era is one screen.
 * Motion is transform, opacity and stroke-dashoffset only, driven by about.js through classes and custom properties
 * (set with style.setProperty, which the CSP allows). Nothing here is hidden unless html has the "motion" class
 * (set by about-boot.js only when JavaScript runs and reduced motion is off), so with JavaScript off or reduced motion
 * the page reads as a complete, static timeline. No inline styles anywhere.
 */

@font-face {
  font-family: "Poppins F360";
  src: url("/fonts/Poppins-SemiBold-latin.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

[data-page="about"] {
  --rail: max(38vw, calc(50vw - 172px));
  --reach: 56px;
  --col: 788px;
  --track: rgba(20, 32, 26, 0.13);
  --ink-b: rgba(20, 32, 26, 0.8);
  --num: "Poppins F360", var(--font);
  --mark: #399d3c;
  background: #efe8e5;
}

[data-page="about"] body {
  background: #efe8e5;
}

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

.nw {
  white-space: nowrap;
}

/* ---------------------------------------------------------------- the story: rail, counter, pen */

.story {
  position: relative;
  isolation: isolate;
}

.decade {
  position: relative;
}

/* The line. Static: drawn the whole height of the decade. With motion: scaled from the top by about.js. */
.spine {
  position: absolute;
  z-index: 1;
  left: var(--rail);
  top: 0;
  width: 1.5px;
  height: var(--sp-h, 100%);
  margin-left: -0.75px;
  background: var(--track);
  pointer-events: none;
}

.spine-fill,
.cue-fill,
.seg-fill {
  position: absolute;
  inset: 0;
  background: var(--green);
  transform-origin: 50% 0;
}

.spine-fill {
  transform: scaleY(var(--p, 1));
}

.cue-fill {
  transform: scaleY(var(--c, 1));
}

.seg-fill {
  transform: scaleY(var(--sf, 1));
}

/* The pen: the drawing tip of the line. */
.pen,
.dial,
.seg {
  display: none;
}

.motion .pen {
  display: block;
  position: absolute;
  z-index: 3;
  left: var(--rail);
  top: 0;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow:
    0 0 0 5px rgba(44, 122, 49, 0.14),
    0 0 24px 6px rgba(44, 122, 49, 0.28);
  transform: translate3d(0, var(--py, -40px), 0);
  opacity: var(--po, 0);
  transition: opacity 0.35s ease;
  pointer-events: none;
}

/* The year counter: outlined numerals that roll like an odometer and fill as each era becomes active. */
.motion .dial {
  display: block;
  position: absolute;
  z-index: 1;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--rail);
  pointer-events: none;
}

.dial-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  padding-right: 52px;
}

.yr {
  position: relative;
  font-family: var(--num);
  font-weight: 600;
  font-size: min(164px, 11.4vw);
  line-height: 1;
  letter-spacing: 0;
  --f: 0;
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition:
    opacity 1.2s var(--ease) 0.5s,
    transform 1.4s var(--ease) 0.5s;
}

.ready .yr {
  opacity: 1;
  transform: none;
}

.yr-face {
  display: flex;
}

.yd,
.yw {
  display: block;
  width: 0.62em;
  height: 1.24em;
  line-height: 1.24em;
  text-align: center;
  overflow: clip;
}

.yw {
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 84%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 84%, transparent 100%);
}

.ys {
  display: block;
  transform: translate3d(0, calc(var(--n) * -1.24em), 0);
}

.ys > span {
  display: block;
  height: 1.24em;
}

.ys-t {
  --n: 1;
}

.ys-o {
  --n: 6;
}

.yr-line {
  color: transparent;
  -webkit-text-stroke: 1.3px rgba(20, 32, 26, 0.4);
}

.yr-fill {
  position: absolute;
  inset: 0;
  display: block;
  overflow: clip;
  transform: translate3d(0, calc((1 - var(--f)) * 100%), 0);
}

.yr-fill > .yr-face {
  color: var(--ink);
  transform: translate3d(0, calc((var(--f) - 1) * 100%), 0);
}

.dial-cap {
  margin: 4px 6px 0 0;
  font-size: 16px;
  font-weight: 620;
  letter-spacing: 0.01em;
  color: var(--green);
  opacity: var(--co, 0);
  transform: translate3d(0, calc((1 - var(--co, 0)) * 6px), 0);
}

/* ---------------------------------------------------------------- the opening: the start of the line */

.open {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px var(--gut) 25vh calc(var(--rail) + var(--reach));
  background: linear-gradient(180deg, #efe8e5 0%, #efe8e5 45%, #f1e4da 100%);
}

.open-in {
  max-width: var(--col);
}

.open-h {
  font-size: clamp(44px, 4.45vw, 66px);
  font-weight: 620;
  letter-spacing: -0.037em;
  line-height: 1.02;
  text-wrap: balance;
}

.open-p {
  max-width: 31em;
  margin-top: 30px;
  font-size: 21px;
  line-height: 1.5;
  letter-spacing: -0.005em;
  color: var(--ink-3);
  text-wrap: pretty;
}

.cue {
  position: absolute;
  z-index: 2;
  left: var(--rail);
  bottom: 0;
  width: 0;
  height: 21vh;
}

.cue-line {
  position: absolute;
  left: -0.75px;
  top: 0;
  bottom: 0;
  width: 1.5px;
  background: var(--track);
}

.cue-dot {
  position: absolute;
  left: -7px;
  top: -7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(44, 122, 49, 0.14);
}

.cue-t {
  position: absolute;
  left: var(--reach);
  top: 0;
  transform: translate3d(0, -50%, 0);
  white-space: nowrap;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink-3);
}

.motion .cue-dot {
  transform: scale(0);
  transition: transform 0.7s cubic-bezier(0.3, 1.5, 0.5, 1) 0.9s;
}

.motion .cue-t {
  opacity: 0;
  transform: translate3d(-8px, -50%, 0);
  transition:
    opacity 1s var(--ease) 1.3s,
    transform 1.2s var(--ease) 1.3s;
}

.motion .open.is-in .cue-dot {
  transform: none;
}

.motion .open.is-in .cue-t {
  opacity: 1;
  transform: translate3d(0, -50%, 0);
}

/* ---------------------------------------------------------------- entrances (transform and opacity only) */

.wm {
  display: inline-block;
  overflow: clip;
  vertical-align: top;
  padding: 0.04em 0.03em 0.12em;
  margin: -0.04em -0.03em -0.12em;
}

.w {
  display: inline-block;
}

.motion .w {
  transform: translate3d(0, 112%, 0);
  transition: transform 1.15s var(--ease);
}

.motion .is-in .w {
  transform: none;
}

.wm:nth-child(2) .w { transition-delay: 0.05s; }
.wm:nth-child(3) .w { transition-delay: 0.1s; }
.wm:nth-child(4) .w { transition-delay: 0.15s; }
.wm:nth-child(5) .w { transition-delay: 0.2s; }
.wm:nth-child(6) .w { transition-delay: 0.25s; }
.wm:nth-child(7) .w { transition-delay: 0.3s; }
.wm:nth-child(8) .w { transition-delay: 0.35s; }
.wm:nth-child(9) .w { transition-delay: 0.4s; }
.wm:nth-child(10) .w { transition-delay: 0.45s; }
.wm:nth-child(11) .w { transition-delay: 0.5s; }
.wm:nth-child(12) .w { transition-delay: 0.55s; }

.motion .rv {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition:
    opacity 0.9s var(--ease) var(--d, 0s),
    transform 1.1s var(--ease) var(--d, 0s);
}

.motion .is-in .rv,
.motion .is-in.rv {
  opacity: 1;
  transform: none;
}

.open-p {
  --d: 0.55s;
}

/* ---------------------------------------------------------------- the eras: one screen each */

.era {
  position: relative;
}

/* The light drifts through the site's sunrise palette across the decade: dawn, day, golden hour, dusk. */
.era::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
}

.era-1 { --bg: #f1e4da; --bg2: #f5ebe1; }
.era-2 { --bg: #f5ebe1; --bg2: #faf4ea; }
.era-3 { --bg: #faf4ea; --bg2: #f8efdf; }
.era-4 { --bg: #f8efdf; --bg2: #f1e2c6; }
.era-5 { --bg: #f1e2c6; --bg2: #e9d3bd; }
.era-6 { --bg: #e9d3bd; --bg2: #dfc4b9; }
.era-7 { --bg: #dfc4b9; --bg2: #dcb7a0; }

.era-stage {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 96px var(--gut) 96px calc(var(--rail) + var(--reach));
}

.era-text,
.art {
  width: 100%;
  max-width: var(--col);
}

.era-year {
  position: relative;
  font-size: 15px;
  line-height: 22px;
  font-weight: 620;
  letter-spacing: 0.02em;
  color: var(--green);
  font-variant-numeric: tabular-nums;
}

.era-year .rv {
  display: inline-block;
}

/* A node on the line for every era; it lights as the line reaches it. */
.node {
  position: absolute;
  left: calc(-1 * var(--reach) - 7px);
  top: 50%;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  border-radius: 50%;
  background: #fbfaf7;
  box-shadow:
    0 0 0 1.5px rgba(20, 32, 26, 0.26),
    0 4px 10px -4px rgba(40, 50, 30, 0.35);
}

.node::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--green);
}

.motion .node::after {
  transform: scale(0);
  transition: transform 0.55s cubic-bezier(0.3, 1.5, 0.5, 1);
}

.motion .lit .node::after {
  transform: none;
}

.era-title {
  margin-top: 16px;
  font-size: clamp(40px, 4vw, 58px);
  font-weight: 620;
  letter-spacing: -0.035em;
  line-height: 1.02;
  text-wrap: balance;
}

.era-line {
  max-width: 30em;
  margin-top: 18px;
  font-size: 21px;
  line-height: 1.5;
  letter-spacing: -0.005em;
  color: var(--ink-3);
  text-wrap: pretty;
  --d: 0.35s;
}

.art {
  position: relative;
  margin-top: 52px;
}

.art-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

/* A founder joins the line: a short branch from the rail to a quiet glass tag. */
.founder {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  max-width: 100%;
  margin-top: 28px;
  padding: 6px 6px 6px 6px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 14px 30px -20px rgba(40, 50, 30, 0.5);
  --d: 0.6s;
}

.founder::before {
  content: "";
  position: absolute;
  right: 100%;
  top: 50%;
  width: var(--reach);
  height: 1.5px;
  margin-top: -0.75px;
  background: var(--green);
  transform-origin: 0 50%;
}

.motion .founder::before {
  transform: scaleX(0);
  transition: transform 0.8s var(--ease) 1s;
}

.motion .is-in .founder::before {
  transform: none;
}

.fd-mono {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--green);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.04em;
  color: var(--green-deep);
}

.fd-txt {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.2;
}

.fd-name {
  font-size: 16px;
  font-weight: 620;
  letter-spacing: -0.01em;
}

.fd-role {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-3);
}

.fd-li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  margin-left: 6px;
  padding: 0 16px 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(20, 32, 26, 0.12);
  background: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.fd-li:hover {
  background: #fff;
}

.li-glyph {
  width: 15px;
  height: 15px;
  flex: none;
  fill: currentColor;
}

/* ---------------------------------------------------------------- 2016: the colour fan opens, brush strokes behind */

.art-fan {
  max-width: 560px;
}

.chip {
  transform-box: view-box;
  transform-origin: 280px 372px;
  transform: rotate(var(--a));
}

.k1 { --a: -56deg; --i: 0; }
.k2 { --a: -42deg; --i: 1; }
.k3 { --a: -28deg; --i: 2; }
.k4 { --a: -14deg; --i: 3; }
.k5 { --a: 0deg; --i: 4; }
.k6 { --a: 14deg; --i: 5; }
.k7 { --a: 28deg; --i: 6; }
.k8 { --a: 42deg; --i: 7; }
.k9 { --a: 56deg; --i: 8; }

.motion .chip {
  transition:
    transform 1.4s var(--ease) calc(0.55s + var(--i) * 0.075s),
    opacity 0.5s ease calc(0.55s + var(--i) * 0.075s);
}

.motion .rivet,
.motion .floor {
  transition: opacity 0.6s ease 1.1s;
}

.motion .era:not(.is-in) .chip {
  opacity: 0;
  transform: translate(0, 26px) rotate(0deg);
}

.motion .era:not(.is-in) .rivet,
.motion .era:not(.is-in) .floor {
  opacity: 0;
}

/* ---------------------------------------------------------------- 2016 to 2024: brand names drift past */

.art-brands {
  margin-top: 44px;
}

.brands {
  position: relative;
  height: 290px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}

.brand {
  position: absolute;
  left: var(--x);
  top: var(--y);
  white-space: nowrap;
  font-size: 42px;
  font-weight: 560;
  line-height: 1.2;
  letter-spacing: -0.028em;
  color: rgba(20, 32, 26, 0.56);
  transform: translate3d(calc(var(--q, 0) * var(--k) * 1px), 0, 0);
}

.brand:nth-child(1) { --x: 52px; --y: 0px; --k: -64; }
.brand:nth-child(2) { --x: 236px; --y: 0px; --k: -78; }
.brand:nth-child(3) { --x: 128px; --y: 74px; --k: 70; }
.brand:nth-child(4) { --x: 586px; --y: 74px; --k: 58; }
.brand:nth-child(5) { --x: 64px; --y: 148px; --k: -54; }
.brand:nth-child(6) { --x: 300px; --y: 222px; --k: 86; }
.brand:nth-child(7) { --x: 540px; --y: 148px; --k: -66; }

.brands-note {
  margin-top: 18px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-3);
}

.motion .brand {
  opacity: 0;
  transition: opacity 1.2s var(--ease) calc(0.5s + var(--i, 0) * 0.12s);
}

.motion .is-in .brand {
  opacity: 1;
}

.brand:nth-child(2) { --i: 3; }
.brand:nth-child(3) { --i: 1; }
.brand:nth-child(4) { --i: 5; }
.brand:nth-child(5) { --i: 2; }
.brand:nth-child(6) { --i: 6; }
.brand:nth-child(7) { --i: 4; }

.motion .brands-note {
  opacity: 0;
  transition: opacity 1s ease 1.4s;
}

.motion .is-in .brands-note {
  opacity: 1;
}

/* ---------------------------------------------------------------- shared delay steps for generated motifs */

.d0 { --i: 0; }
.d1 { --i: 1; }
.d2 { --i: 2; }
.d3 { --i: 3; }
.d4 { --i: 4; }
.d5 { --i: 5; }
.d6 { --i: 6; }
.d7 { --i: 7; }
.d8 { --i: 8; }
.d9 { --i: 9; }
.d10 { --i: 10; }
.d11 { --i: 11; }
.d12 { --i: 12; }
.d13 { --i: 13; }

/* ---------------------------------------------------------------- 2017: routes fan out across South Africa */

.art-map {
  max-width: 470px;
}

.land {
  fill: rgba(20, 32, 26, 0.045);
}

.coast {
  fill: none;
  stroke: rgba(20, 32, 26, 0.36);
  stroke-width: 1.2;
  stroke-linejoin: round;
  stroke-dasharray: 1 1;
}

.route {
  fill: none;
  stroke: var(--green);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-dasharray: 1 1;
}

.city {
  fill: var(--ink);
  transform-box: fill-box;
  transform-origin: center;
}

.hub {
  fill: var(--green);
  transform-box: fill-box;
  transform-origin: center;
}

.hub-ring {
  fill: none;
  stroke: var(--green);
  stroke-width: 1.5;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}

.motion .coast {
  transition: stroke-dashoffset 2.2s var(--ease-soft) 0.2s;
}

.motion .land {
  transition: opacity 1.4s ease 0.6s;
}

.motion .hub {
  transition: transform 0.6s cubic-bezier(0.3, 1.5, 0.5, 1) 1s;
}

.motion .route {
  transition: stroke-dashoffset 1.1s var(--ease) calc(1.2s + var(--i) * 0.1s);
}

.motion .city {
  transition:
    transform 0.5s cubic-bezier(0.3, 1.5, 0.5, 1) calc(1.9s + var(--i) * 0.1s),
    opacity 0.3s ease calc(1.9s + var(--i) * 0.1s);
}

.motion .era:not(.is-in) .coast,
.motion .era:not(.is-in) .route {
  stroke-dashoffset: 1;
}

.motion .era:not(.is-in) .land {
  opacity: 0;
}

.motion .era:not(.is-in) .city,
.motion .era:not(.is-in) .hub {
  opacity: 0;
  transform: scale(0);
}

.motion .is-in .hub-ring {
  animation: ring 2.6s var(--ease-soft) 1.6s infinite;
}

@keyframes ring {
  0% {
    opacity: 0.8;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(3.6);
  }
}

/* ---------------------------------------------------------------- 2021: a field of 1 000 dots fills as you scroll */

.art-dots {
  max-width: 800px;
}

.dots {
  display: block;
  width: 100%;
  height: auto;
}

.dots-m {
  display: none;
}

.dbase {
  fill: rgba(20, 32, 26, 0.13);
}

.dg {
  fill: var(--green);
}

.motion .dg {
  opacity: 0;
}

.big {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-top: 26px;
}

.big-n {
  min-width: 3.3em;
  text-align: right;
  font-family: var(--num);
  font-weight: 600;
  font-size: 84px;
  line-height: 1;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.big-u {
  font-size: 21px;
  font-weight: 560;
  color: var(--ink-3);
}

/* ---------------------------------------------------------------- 2025: nodes connect into a network */

.art-net {
  max-width: 640px;
}

.edge {
  fill: none;
  stroke: rgba(20, 32, 26, 0.24);
  stroke-width: 1.2;
  stroke-dasharray: 1 1;
}

.edge.live {
  stroke: var(--green);
  stroke-opacity: 0.8;
  stroke-width: 1.7;
}

.nd {
  fill: var(--ink);
  transform-box: fill-box;
  transform-origin: center;
}

.nd.live,
.node-c {
  fill: var(--green);
}

.node-c {
  transform-box: fill-box;
  transform-origin: center;
}

.net-ring {
  fill: none;
  stroke: var(--green);
  stroke-opacity: 0.35;
  stroke-width: 1.5;
  transform-box: fill-box;
  transform-origin: center;
}

.motion .nd,
.motion .node-c {
  transition:
    transform 0.55s cubic-bezier(0.3, 1.5, 0.5, 1) calc(0.5s + var(--i) * 0.24s),
    opacity 0.3s ease calc(0.5s + var(--i) * 0.24s);
}

.motion .edge {
  transition: stroke-dashoffset 0.8s var(--ease) calc(0.55s + var(--i) * 0.24s);
}

.motion .net-ring {
  transition:
    transform 1.2s var(--ease) 0.6s,
    opacity 1s ease 0.6s;
}

.motion .era:not(.is-in) .nd,
.motion .era:not(.is-in) .node-c,
.motion .era:not(.is-in) .net-ring {
  opacity: 0;
  transform: scale(0);
}

.motion .era:not(.is-in) .edge {
  stroke-dashoffset: 1;
}

.motion .is-in .nd.live {
  animation: pulse 2.8s ease-in-out 2.4s infinite alternate;
}

@keyframes pulse {
  to {
    opacity: 0.45;
  }
}

/* ---------------------------------------------------------------- 2026: the motifs resolve into Pomodor */

.art-pom {
  /* The Pomodor wordmark is a 358 x 83 PNG: at 36% of this width it stays at 179 px, its own pixels at 2x. */
  max-width: 497px;
}

.frag {
  transform-box: fill-box;
  transform-origin: center;
  transform: translate(calc(var(--dx) * var(--q, 1) * 1px), calc(var(--dy) * var(--q, 1) * 1px)) scale(calc(1 - 0.8 * var(--q, 1)));
  opacity: calc(1 - 1.3 * var(--q, 1));
}

.f1 { --dx: 228; --dy: 68; }
.f2 { --dx: -201; --dy: 86; }
.f3 { --dx: 222; --dy: -71; }
.f4 { --dx: -225; --dy: -88; }

.pglow {
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(calc(0.5 + 0.5 * var(--q, 1)));
  opacity: var(--q, 1);
}

.pom-word {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 36%;
  height: auto;
  transform: translate(-50%, -50%) translate3d(0, calc((1 - var(--w, 1)) * 16px), 0) scale(calc(0.94 + 0.06 * var(--w, 1)));
  opacity: var(--w, 1);
}

/* ---------------------------------------------------------------- 2026: the line flows into the Farmer360 mark */

.art-mark {
  max-width: 440px;
}

/* The branch meets the lead-in line where it enters the drawing (88.2% down; gen.py prints the value). */
.branch {
  position: absolute;
  right: 100%;
  top: 88.199%;
  width: var(--reach);
  height: 1.5px;
  margin-top: -0.75px;
  background: var(--green);
  transform-origin: 0 50%;
  transform: scaleX(var(--bx, 1));
}

.lead-in,
.spiral {
  fill: none;
  stroke: var(--green);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 1 1;
}

.spiral {
  opacity: 0;
}

.md {
  fill: var(--mark);
  transform-box: fill-box;
  transform-origin: center;
}

.mk {
  transform-box: fill-box;
  transform-origin: 50% 50%;
}

.motion .spiral {
  opacity: 1;
  transition: opacity 0.45s ease;
}

.motion .formed .spiral {
  opacity: 0;
}

.motion .md {
  transform: scale(0);
  transition: transform 0.6s cubic-bezier(0.3, 1.6, 0.5, 1);
}

.motion .md.on {
  transform: none;
}

.motion .mk {
  transition: transform 2.6s var(--ease) 0.5s;
}

.motion .formed .mk {
  transform: rotate(360deg);
}

/* The last stretch of the line inside the pinned finale, from the top of the screen to the mark. */
.motion .seg {
  display: block;
  position: absolute;
  z-index: 0;
  left: var(--rail);
  top: 0;
  width: 1.5px;
  height: var(--seg-h, 0px);
  margin-left: -0.75px;
  background: var(--track);
}

/* Two eras hold the screen while their drawing plays (normal scrolling; the content simply stays put). */
.motion .era-pin {
  height: 230vh;
}

.motion .era-4 {
  height: 190vh;
}

.motion .era-pin .era-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  min-height: 0;
}

/* ---------------------------------------------------------------- why, the founders, company details */

.why,
.people,
.co {
  position: relative;
  display: grid;
  grid-template-columns: calc(var(--rail) - var(--gut)) minmax(0, var(--col));
  column-gap: var(--reach);
  padding-left: var(--gut);
  padding-right: var(--gut);
}

.why {
  padding-top: 150px;
  padding-bottom: 110px;
  background: linear-gradient(180deg, #dcb7a0 0%, #d9b09a 100%);
}

.why-h,
.people-h {
  max-width: 8em;
  font-size: 46px;
  font-weight: 620;
  letter-spacing: -0.032em;
  line-height: 1.04;
  text-wrap: balance;
}

.why-p {
  font-size: 23px;
  line-height: 1.5;
  letter-spacing: -0.008em;
  color: var(--ink-b);
  text-wrap: pretty;
}

.why-p + .why-p {
  margin-top: 26px;
  --d: 0.15s;
}

.people {
  padding-top: 70px;
  padding-bottom: 100px;
  background: linear-gradient(180deg, #d9b09a 0%, #d6aa93 100%);
}

.people-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  padding-top: 10px;
}

.person {
  padding-top: 26px;
  border-top: 1px solid rgba(20, 32, 26, 0.2);
}

.person + .person {
  --d: 0.15s;
}

.person-name {
  font-size: 26px;
  font-weight: 620;
  letter-spacing: -0.02em;
}

.person-role {
  margin-top: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.person-bio {
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-b);
  text-wrap: pretty;
}

.person-link {
  margin-top: 10px;
}

.li-link,
.text-link {
  display: inline-flex;
  text-decoration-thickness: auto;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(20, 32, 26, 0.35);
  text-underline-offset: 3px;
}

.li-link:hover,
.text-link:hover {
  text-decoration-color: currentColor;
}

.li-link {
  font-size: 15px;
}

.co {
  padding-top: 10px;
  padding-bottom: 120px;
  background: #d6aa93;
}

.co-h {
  padding-top: 12px;
  font-size: 15px;
  font-weight: 620;
  color: var(--ink);
}

.co-line {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-b);
}

.co-line .co-part:nth-child(-n + 2) {
  padding: 2px 0;
}

/* ================================================================ tablets */

@media (max-width: 1100px) {
  [data-page="about"] {
    --reach: 44px;
  }

  .why-h,
  .people-h {
    font-size: 38px;
  }
}

/* ================================================================ phones and portrait tablets */

@media (max-width: 859px) {
  [data-page="about"] {
    --rail: 23px;
    --reach: 25px;
    --col: 100%;
  }

  .open {
    justify-content: flex-start;
    padding: 132px var(--gut) 25svh calc(var(--rail) + var(--reach));
  }

  .open-h {
    font-size: 36px;
    letter-spacing: -0.035em;
  }

  .open-p {
    margin-top: 22px;
    font-size: 17px;
  }

  .cue {
    height: 19svh;
  }

  .cue-t {
    font-size: 14px;
  }

  /* The counter sits at the top right on phones, behind the story, from the first era. */
  .motion .dial {
    top: var(--open-h, 100svh);
    width: auto;
    right: 0;
  }

  .dial-pin {
    display: block;
    height: 0;
    padding: 0;
  }

  .yr {
    position: absolute;
    right: 6px;
    top: 8px;
    font-size: 84px;
  }

  .yr-line {
    -webkit-text-stroke-width: 1.1px;
    -webkit-text-stroke-color: rgba(20, 32, 26, 0.3);
  }

  .yr-fill > .yr-face {
    color: rgba(20, 32, 26, 0.13);
  }

  .dial-cap {
    position: absolute;
    right: 16px;
    top: 112px;
    margin: 0;
    font-size: 14px;
  }

  .era-stage {
    padding: 120px var(--gut) 72px calc(var(--rail) + var(--reach));
  }

  .era-title {
    margin-top: 12px;
    font-size: 34px;
  }

  .era-line {
    margin-top: 12px;
    font-size: 17px;
  }

  .art {
    margin-top: 34px;
  }

  .art-fan,
  .art-map,
  .art-dots,
  .art-net,
  .art-mark {
    max-width: none;
  }

  /* The wordmark at 46% stays at or under 179 px (the PNG's pixels at 2x); a 390 px phone is well inside this. */
  .art-pom {
    max-width: 389px;
  }

  .art-map {
    width: 92%;
  }

  .founder {
    margin-top: 22px;
    gap: 10px;
  }

  .fd-mono {
    width: 36px;
    height: 36px;
    font-size: 12px;
  }

  .fd-name {
    font-size: 15px;
  }

  .fd-role {
    font-size: 13px;
  }

  .fd-li {
    margin-left: 0;
    padding: 0 12px;
    gap: 0;
  }

  .fd-li span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .fd-li .li-glyph {
    width: 17px;
    height: 17px;
  }

  .brands {
    height: 214px;
  }

  .brand {
    font-size: 24px;
    letter-spacing: -0.02em;
  }

  .brand:nth-child(1) { --x: 18px; --y: 0px; --k: -26; }
  .brand:nth-child(2) { --x: 30px; --y: 42px; --k: 24; }
  .brand:nth-child(3) { --x: 10px; --y: 84px; --k: -22; }
  .brand:nth-child(4) { --x: 132px; --y: 0px; --k: -30; }
  .brand:nth-child(5) { --x: 24px; --y: 126px; --k: 26; }
  .brand:nth-child(6) { --x: 14px; --y: 168px; --k: -24; }
  .brand:nth-child(7) { --x: 172px; --y: 168px; --k: -28; }

  .dots-d {
    display: none;
  }

  .dots-m {
    display: block;
  }

  .big {
    margin-top: 18px;
  }

  .big-n {
    font-size: 54px;
  }

  .big-u {
    font-size: 17px;
  }

  .pom-word {
    width: 46%;
  }

  .lead-in,
  .spiral {
    stroke-width: 2;
  }

  .why,
  .people,
  .co {
    display: block;
  }

  .why {
    padding-top: 104px;
    padding-bottom: 72px;
  }

  .why-h,
  .people-h {
    max-width: none;
    font-size: 32px;
  }

  .why-body {
    margin-top: 24px;
  }

  .why-p {
    font-size: 18px;
  }

  .why-p + .why-p {
    margin-top: 18px;
  }

  .people {
    padding-top: 40px;
    padding-bottom: 72px;
  }

  .people-row {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-top: 24px;
    padding-top: 0;
  }

  .person-name {
    font-size: 23px;
  }

  .person-bio {
    font-size: 16px;
  }

  .co {
    padding-top: 0;
    padding-bottom: 88px;
  }

  .co-line {
    margin-top: 10px;
    font-size: 16px;
  }
}

/* ================================================================ static: JavaScript off or reduced motion */

/* The year leads each era in large numerals, so the static page still reads as a timeline. */
html:not(.motion) .era-year {
  font-family: var(--num);
  font-size: 56px;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ink);
}

html:not(.motion) .era-stage {
  min-height: 0;
  padding-top: 112px;
  padding-bottom: 112px;
}

html:not(.motion) .open {
  min-height: 92vh;
}

@media (max-width: 859px) {
  html:not(.motion) .era-year {
    font-size: 40px;
  }

  html:not(.motion) .era-stage {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pen,
  .dial,
  .seg {
    display: none !important;
  }
}
