/* ==========================================================================
   about.css — the /about/ route.

   THE PAGE IS TOLD IN LIGHT, NOT IN LINES. The four projects open the page as
   photographs under a cool, gray-slate light. When they converge and Kuneo
   is named, a ring of light breaks, the wordmark resolves, and the room's
   light turns Kuneo Blue; it stays blue to the end: a spotlight closing on
   one star (400 -> 1), a dome of daylight over your working day, a calm glow
   behind the contacts.

   One dark run (hero, naming, founder, 400 -> 1) hands over to a light one
   (working day, terms, close); each seam is a gradient, never a hard cut.

   Every glow is a STATIC gradient (no filter, no blur animation). The
   finished state is always the default markup + CSS. js/page-about.js only
   arms reveals and, on a roomy desktop screen without reduced motion, adds
   .is-scene to the two pinned scenes and .is-live to the sections whose idle
   loops (drift, breathing, pulses) may run, and only while they are on
   screen; the working day's dial is played by the scroll there too. Only
   transform, opacity and clip-path are animated.
   ========================================================================== */

.ab {
  --ab-stage-h: calc(100svh - var(--header-h));
}

@media (max-width: 1023px) {
  .ab {
    --ab-stage-h: calc(100svh - var(--header-h-mobile));
  }
}

/* The pinned runways are reserved before the first paint (same query as
   js/page-about.js), so a reload in the middle of the page restores to the
   same place instead of a page that grows under it. */
@media (min-width: 1024px) and (min-height: 720px) and (prefers-reduced-motion: no-preference) {
  .js .ab-naming__runway {
    height: calc(var(--ab-stage-h) + 320svh);
  }

  .js .ab-pool__runway {
    height: calc(var(--ab-stage-h) + 200svh);
  }
}

/* The dark run is one surface. Each Ink section reaches 2px up over the one
   before it, so a scaled or fractional-DPR screen never shows the White
   page between two composited Ink layers as a hairline. */
.ab-naming,
.p-chapter--profile,
.ab-pool {
  box-shadow: 0 -2px 0 var(--brand-ink);
}

/* Focus on the Ink sections (same tokens as base.css's dark-surface list). */
.ab-hero,
.ab-naming,
.ab-pool {
  --focus-color: var(--white);
  --focus-halo: var(--blue-700);
  --focus-ring: var(--focus-width) solid var(--focus-color);
  --focus-halo-shadow: 0 0 0 var(--focus-offset) var(--focus-halo);
}

/* Shared bits. */
.ab-eyebrow {
  margin: 0;
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--kuneo-blue);
}

.ab-naming .ab-eyebrow,
.ab-pool .ab-eyebrow {
  color: var(--blue-300); /* 8:1 on Ink */
}

.ab-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
}

/* The underline is on the words only. Set on the anchor, it would propagate
   to the arrow (a flex item), and a child cannot take it off again. */
.ab-link__text {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
}

.ab-link::after {
  content: "→";
  content: "→" / ""; /* decorative: not read out */
  text-decoration: none;
  transition: transform var(--duration-fast) var(--ease-standard);
}

.ab-link:hover::after,
.ab-link:focus-visible::after {
  transform: translateX(4px);
}

.ab-link--blue {
  color: var(--kuneo-blue);
}

/* ==========================================================================
   1. HERO — the four photographs are dealt out from behind the headline and
   settle at four depths; "name." is a glassy blue fill, lit from behind.
   The sky fades into the Ink at the bottom, so the hero runs into the naming
   scene without a seam.
   ========================================================================== */

.ab-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: var(--ab-stage-h);
  overflow: clip;
  isolation: isolate;
  background-color: var(--brand-ink);
  color: var(--white);
}

.ab-hero__sky {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent);
  mask-image: linear-gradient(to bottom, #000 72%, transparent);
}

/* A dark centre that keeps the headline clean over the photographs, and a
   cool wash from the top left. */
.ab-hero__sky::before,
.ab-hero__sky::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
}

.ab-hero__sky::before {
  background: radial-gradient(ellipse 50% 42% at 50% 50%, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.62) 55%, rgba(15, 23, 42, 0) 100%);
}

.ab-hero__sky::after {
  background:
    radial-gradient(ellipse 45% 50% at 6% 0%, rgba(142, 171, 255, 0.14), rgba(142, 171, 255, 0) 70%),
    linear-gradient(to bottom, rgba(15, 23, 42, 0) 70%, var(--brand-ink));
}

/* The Kuneo Blue sun, low and behind "name.". */
.ab-hero__glow {
  position: absolute;
  left: 50%;
  top: 62%;
  z-index: 3;
  width: min(130vw, 1600px);
  aspect-ratio: 2 / 1;
  margin: calc(min(130vw, 1600px) / -4) 0 0 calc(min(130vw, 1600px) / -2);
  background: radial-gradient(closest-side, rgba(36, 87, 255, 0.46), rgba(36, 87, 255, 0.16) 48%, rgba(36, 87, 255, 0) 100%);
  animation: ab-glow-in 2600ms var(--ease-standard) 400ms backwards;
}

/* The four photographs. Position, size, tilt and depth (opacity) per shot;
   --fx/--fy is the way back to the centre, where the deal starts. */
.ab-hero__shot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 1;
  width: var(--w);
  aspect-ratio: 16 / 9;
  opacity: var(--o);
  transform: rotate(var(--r));
  animation: ab-deal 1800ms var(--ease-emphasized) calc(150ms + var(--i, 0) * 110ms) backwards;
}

/* Shots 1 and 2 sit high enough to clear the headline's first line at
   1366x768 and 1280x720, where the title is at its widest for the height. */
.ab-hero__shot--1 { --x: -1vw; --y: 2%;  --w: 23vw; --r: -6deg; --o: 0.66; --fx: 36vw;  --fy: 28svh;  --dx: 10px;  --dy: -16px; --dr: 1.2deg; --d: 15s; }
.ab-hero__shot--2 { --x: 73vw; --y: -4%; --w: 30vw; --r: 5deg;  --o: 0.58; --fx: -36vw; --fy: 30svh;  --dx: -14px; --dy: 12px;  --dr: -1deg;  --d: 18s; }
.ab-hero__shot--3 { --x: 5vw;  --y: 70%; --w: 20vw; --r: 4deg;  --o: 0.44; --fx: 33vw;  --fy: -24svh; --dx: 12px;  --dy: 10px;  --dr: -1.4deg; --d: 13s; }
.ab-hero__shot--4 { --x: 70vw; --y: 69%; --w: 27vw; --r: -4deg; --o: 0.6;  --fx: -28vw; --fy: -24svh; --dx: -10px; --dy: -14px; --dr: 1deg;  --d: 16s; }

@media (max-width: 1023px) {
  .ab-hero__shot--1 { --x: -10vw; --y: 5%;  --w: 52vw; --o: 0.46; --fx: 34vw;  --fy: 30svh; }
  .ab-hero__shot--2 { --x: 60vw;  --y: 1%;  --w: 58vw; --o: 0.4;  --fx: -38vw; --fy: 32svh; }
  .ab-hero__shot--3 { --x: -12vw; --y: 76%; --w: 46vw; --o: 0.36; --fx: 38vw;  --fy: -30svh; }
  .ab-hero__shot--4 { --x: 56vw;  --y: 73%; --w: 56vw; --o: 0.44; --fx: -34vw; --fy: -28svh; }
}

/* The drift is its own plane, so the deal and the idle motion never fight
   over one transform. */
.ab-hero__drift {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 16px;
  background-color: var(--gray-700);
  box-shadow: 0 60px 120px -40px rgba(2, 6, 23, 0.95);
  animation: ab-drift var(--d, 16s) ease-in-out calc(2s + var(--i, 0) * 0.5s) 2 alternate;
  animation-play-state: paused;
}

/* The idle drift runs only while the hero is on screen on a roomy desktop
   screen (.is-live, js/page-about.js); paused, it holds its resting place.
   WCAG 2.2.2: it drifts out and back once (two alternate runs, counted only
   while on screen) and then rests where it started, never looping. */
.ab-hero.is-live .ab-hero__drift {
  animation-play-state: running;
}

.ab-hero__drift picture,
.ab-hero__drift img {
  display: block;
  width: 100%;
  height: 100%;
}

.ab-hero__drift img {
  object-fit: cover;
  filter: grayscale(1) contrast(1.08) brightness(0.92);
}

/* Blue-washed: the colour of the grayscale photograph becomes Kuneo Blue,
   and it sinks into the Ink at the bottom. */
.ab-hero__drift::before,
.ab-hero__drift::after {
  content: "";
  position: absolute;
  inset: 0;
}

.ab-hero__drift::before {
  background-color: var(--kuneo-blue);
  mix-blend-mode: color;
}

.ab-hero__drift::after {
  background: linear-gradient(165deg, rgba(90, 127, 255, 0.22), rgba(15, 23, 42, 0.62) 78%);
}

.ab-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-block: clamp(56px, 10svh, 128px);
  text-align: center;
}

.ab-hero__eyebrow {
  margin: 0 0 var(--space-6);
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-300);
  animation: ab-fade 800ms var(--ease-standard) 100ms backwards;
}

.ab-hero__title {
  margin: 0;
  font-size: clamp(2.75rem, min(0.6rem + 8vw, 16svh), 9.5rem);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.055em;
  color: var(--white);
}

/* Each line rises through its own mask. The mask is a clip-path open above
   and to the sides, so the glow of "name." is never cut. */
.ab-hero__line {
  display: block;
  clip-path: inset(-1em -1em 0 -1em);
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}

.ab-hero__line:last-child {
  padding-bottom: 0.4em;
  margin-bottom: -0.4em;
}

.ab-hero__line > span {
  display: inline-block;
  animation: ab-rise 1200ms var(--ease-emphasized) calc(250ms + var(--i, 0) * 170ms) backwards;
}

/* THE HOOK. "name." is a glassy blue fill that cools toward its base, lit
   from behind. (A fill, not -webkit-text-stroke: the variable font's
   overlapping contours show through a stroke.) Even the base of the fade,
   over its own glow, stays well above 4.5:1 on Ink: the glow is kept low
   (.25) and the base is Blue 200 at .85. */
.ab-hero__name {
  position: relative;
  color: var(--blue-200);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .ab-hero__name {
    color: transparent;
    background: linear-gradient(180deg, rgba(238, 242, 255, 0.96) 6%, rgba(205, 219, 255, 0.9) 52%, rgba(191, 208, 255, 0.85) 96%);
    -webkit-background-clip: text;
    background-clip: text;
  }
}

.ab-hero__name::before {
  content: "";
  position: absolute;
  inset: -0.25em -0.35em;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(36, 87, 255, 0.25), rgba(36, 87, 255, 0));
}

@media (forced-colors: active) {
  .ab-hero__name {
    color: CanvasText;
    background: none;
    -webkit-text-fill-color: currentColor;
  }

  .ab-hero__name::before {
    content: none;
  }
}

.ab-hero__support {
  max-width: 50ch;
  text-wrap: balance;
  margin-top: clamp(24px, 4.5svh, 48px);
  font-size: clamp(1.0625rem, 0.95rem + 0.45vw, 1.3125rem);
  line-height: 1.55;
  color: var(--gray-300);
  animation: ab-fade 900ms var(--ease-standard) 900ms backwards;
}

@keyframes ab-rise {
  from {
    transform: translate3d(0, 130%, 0);
  }
}

@keyframes ab-fade {
  from {
    opacity: 0;
    transform: translate3d(0, 12px, 0);
  }
}

@keyframes ab-glow-in {
  from {
    opacity: 0;
    transform: scale(0.55);
  }
}

@keyframes ab-deal {
  from {
    opacity: 0;
    transform: translate3d(var(--fx), var(--fy), 0) rotate(0deg) scale(0.62);
  }
}

@keyframes ab-drift {
  to {
    transform: translate3d(var(--dx), var(--dy), 0) rotate(var(--dr));
  }
}

/* ==========================================================================
   2. THE NAMING (pinned scene on a roomy desktop screen)

   Static (the default): the four projects as photo cards, and below them the
   Kuneo wordmark in a Kuneo Blue bloom, under blue light. Pinned: the cards
   rise in at different depths under a cool slate light, a ray of light runs
   from each to the centre, they gather there, a ring of light breaks, the
   wordmark resolves large in the middle of the room and the light turns
   Kuneo Blue; then the wordmark glides to the left and the caption rises in
   on the right. --mx/--my is where the blue light pools.
   ========================================================================== */

.ab-naming {
  --mx: 50%;
  --my: 74%;
  position: relative;
  overflow: clip; /* clip, not hidden: hidden would break the sticky stage */
  background-color: var(--brand-ink);
  color: var(--white);
}

/* The exit: the room's light sinks into the Ink over the last 160px, so the
   founder chapter continues the same dark rather than starting at an edge. */
.ab-naming::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  height: 160px;
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0), var(--brand-ink));
  pointer-events: none;
}

.ab-naming__stage {
  position: relative;
  isolation: isolate;
  padding-block: clamp(72px, 12svh, 140px);
}

/* The ambient light fades in and out at the stage's edges (a static mask),
   so it never meets the hero above, or the header, at a straight line. */
.ab-naming__ambient {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 84%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 84%, transparent);
}

.ab-naming__light {
  position: absolute;
  inset: 0;
}

.ab-naming__light--cool {
  opacity: 0;
  background:
    radial-gradient(ellipse 55% 50% at 42% 62%, rgba(148, 163, 184, 0.17), rgba(148, 163, 184, 0) 72%),
    radial-gradient(ellipse 38% 42% at 92% 8%, rgba(100, 116, 139, 0.2), rgba(100, 116, 139, 0) 70%);
}

.ab-naming__light--blue {
  background:
    radial-gradient(ellipse 46% 40% at var(--mx) var(--my), rgba(36, 87, 255, 0.4), rgba(36, 87, 255, 0.12) 52%, rgba(36, 87, 255, 0) 78%),
    radial-gradient(ellipse 40% 40% at 94% 6%, rgba(90, 127, 255, 0.16), rgba(90, 127, 255, 0) 70%);
}

.ab-naming__inner {
  position: relative;
  display: grid;
  gap: clamp(32px, 6svh, 64px);
}

.ab-naming__head {
  position: relative;
  z-index: 2;
  display: grid;
  gap: var(--space-4);
}

.ab-naming__title {
  max-width: 34ch;
  text-wrap: balance;
  font-size: clamp(2rem, min(1rem + 2.6vw, 6.4svh), 3.5rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: var(--white);
}

.ab-naming__field {
  position: relative;
  display: grid;
  gap: clamp(56px, 10svh, 104px);
}

/* The rays of light exist only in the scene. */
.ab-naming__streaks {
  display: none;
}

.ab-naming__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 28px);
  margin: 0;
  padding: 0;
  list-style: none;
}

/* A project card: the photograph under slate light, the title, the
   constraint. Glass on Ink, a soft edge and a long shadow for depth. */
.ab-naming__item {
  position: relative;
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 10px 10px 20px;
  border-radius: 20px;
  /* Glass on an opaque Ink base: the rays of light pass behind, not through. */
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.02)), #121b30;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.07),
    0 50px 90px -40px rgba(2, 6, 23, 0.95);
}

/* The photograph is in full colour underneath; the slate look is a
   saturation layer over it (mono), so a hover can bring the colour back by
   opacity alone. The light keeps its own luminance throughout. */
.ab-naming__photo {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  margin-bottom: 10px;
  overflow: hidden;
  isolation: isolate;
  border-radius: 12px;
  background-color: var(--gray-700);
}

.ab-naming__photo picture,
.ab-naming__photo img {
  display: block;
  width: 100%;
  height: 100%;
}

.ab-naming__photo img {
  object-fit: cover;
}

.ab-naming__mono,
.ab-naming__tint {
  position: absolute;
  inset: 0;
}

.ab-naming__mono {
  background-color: #808080; /* any neutral gray: zero saturation */
  mix-blend-mode: saturation;
  transition: opacity 450ms var(--ease-standard);
}

.ab-naming__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(100, 116, 139, 0.14), rgba(15, 23, 42, 0.5));
}

/* Turns the slate photograph Kuneo Blue as the four gather (pinned only).
   A colour blend at most .55: the hue changes, the highlights stay. */
.ab-naming__tint {
  z-index: 1;
  background-color: var(--kuneo-blue);
  mix-blend-mode: color;
  opacity: 0;
}

.ab-naming__name {
  padding-inline: 8px;
  font-size: clamp(1.0625rem, min(0.75rem + 0.75vw, 2.9svh), 1.375rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--white);
}

.ab-naming__constraint {
  padding-inline: 8px;
  max-width: 34ch;
  font-size: clamp(0.875rem, 0.8rem + 0.2vw, 1rem);
  line-height: 1.45;
  color: var(--gray-300);
}

/* The point where Kuneo is named: the bloom, the ring (only seen in the
   scene) and the wordmark. --wm-w is the width of the wordmark's ink; the
   bloom and the ring are sized from it and centred on the mark by margins,
   so the scene can scale them without re-centring. */
.ab-naming__mark {
  --wm-h: clamp(120px, min(15vw, 20svh), 190px);
  --wm-w: calc(var(--wm-h) * 1.158);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
}

.ab-naming__word {
  /* The SVG carries the brand's 1X clear space (461 of 1389 units on every
     side); negative margins let the ink, not the box, take the space. */
  position: relative;
  z-index: 2;
  width: calc(var(--wm-h) * 1.8222);
  max-width: none;
  height: var(--wm-h);
  margin: calc(var(--wm-h) * -0.332);
}

.ab-naming__bloom,
.ab-naming__ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  pointer-events: none;
}

.ab-naming__bloom {
  z-index: 0;
  width: calc(var(--wm-w) * 2.2);
  height: calc(var(--wm-w) * 2.2);
  margin: calc(var(--wm-w) * -1.1) 0 0 calc(var(--wm-w) * -1.1);
}

/* The bloom's light is its own layer, so it can breathe (slowly, only while
   the scene is on screen) under the scale the scroll gives the bloom. */
.ab-naming__bloom::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(36, 87, 255, 0.62), rgba(36, 87, 255, 0.24) 40%, rgba(36, 87, 255, 0.07) 70%, rgba(36, 87, 255, 0) 100%);
  /* Two alternate runs (in and out), then it rests on its first frame:
     no endless loop (WCAG 2.2.2). */
  animation: ab-breathe 7s ease-in-out 2 alternate both;
  animation-play-state: paused;
}

.ab-naming.is-live .ab-naming__bloom::before {
  animation-play-state: running;
}

@keyframes ab-breathe {
  from {
    opacity: 0.86;
    transform: scale(0.96);
  }

  to {
    opacity: 1;
    transform: scale(1.06);
  }
}

.ab-naming__ring {
  z-index: 1;
  width: calc(var(--wm-w) * 0.62);
  height: calc(var(--wm-w) * 0.62);
  margin: calc(var(--wm-w) * -0.31) 0 0 calc(var(--wm-w) * -0.31);
  box-shadow:
    0 0 0 2px rgba(191, 208, 255, 0.8),
    0 0 36px 6px rgba(36, 87, 255, 0.6),
    inset 0 0 32px rgba(36, 87, 255, 0.5);
  opacity: 0;
}

.ab-naming__close {
  position: relative;
  z-index: 2;
  display: grid;
  gap: var(--space-3);
  justify-items: center;
  text-align: center;
}

.ab-naming__caption {
  max-width: 20ch;
  text-wrap: balance;
  font-size: clamp(1.625rem, min(1rem + 1.9vw, 5.4svh), 2.75rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: var(--white);
}

@media (max-width: 1023px) {
  .ab-naming__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* On a phone each card is a row: a thumbnail beside the words. */
@media (max-width: 559px) {
  .ab-naming__list {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .ab-naming__item {
    grid-template-columns: 104px minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    column-gap: 14px;
    row-gap: 4px;
    padding: 10px;
  }

  .ab-naming__photo {
    grid-row: 1 / span 2;
    margin-bottom: 0;
    aspect-ratio: 1;
    border-radius: 10px;
  }

  .ab-naming__name,
  .ab-naming__constraint {
    padding-inline: 0;
  }

  .ab-naming__name {
    align-self: end;
  }
}

/* ---- Pinned (class set by js/page-about.js) ----------------------------- */
.ab-naming.is-scene {
  --mx: 42%;
  --my: 60%;
}

.ab-naming.is-scene .ab-naming__runway {
  height: calc(var(--ab-stage-h) + 320svh);
}

.ab-naming.is-scene .ab-naming__stage {
  position: sticky;
  top: var(--header-h);
  display: grid;
  height: var(--ab-stage-h);
  padding-block: clamp(24px, 5svh, 56px);
  overflow: hidden;
}

.ab-naming.is-scene .ab-naming__inner {
  min-height: 0;
  grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(16px, 3svh, 40px);
}

/* The field is the row under the head: the cards are centred in it, the
   mark is a point at its centre, and the close shares the same cell on the
   right. */
.ab-naming.is-scene .ab-naming__field {
  display: block;
  grid-row: 2;
  grid-column: 1;
}

.ab-naming.is-scene .ab-naming__list {
  position: absolute;
  inset: 0;
  align-items: center;
}

/* Never taller than the field: on a short screen the cards narrow. */
.ab-naming.is-scene .ab-naming__item {
  width: min(90%, calc((100svh - var(--header-h)) * 0.46));
  justify-self: center;
}

/* A ray of light from each card's centre to the point (positioned and
   sized by js/page-about.js; drawn only by transform and opacity). */
.ab-naming.is-scene .ab-naming__streaks {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  pointer-events: none;
}

.ab-naming__streak {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 3px;
  margin-top: -1.5px;
  border-radius: 3px;
  background: linear-gradient(90deg, rgba(142, 171, 255, 0), rgba(191, 208, 255, 0.7) 50%, var(--white));
  box-shadow: 0 0 18px 3px rgba(36, 87, 255, 0.55);
  transform-origin: 0 50%;
  opacity: 0;
}

.ab-naming.is-scene .ab-naming__item.is-hover .ab-naming__mono {
  opacity: 0.2;
}

.ab-naming.is-scene .ab-naming__mark {
  --wm-w: min(42vw, 640px);
  --wm-h: calc(var(--wm-w) / 1.158);
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 0;
  height: 0;
}

.ab-naming.is-scene .ab-naming__close {
  pointer-events: none; /* its parts take the pointer once they are there */
  grid-row: 2;
  grid-column: 1;
  align-self: center;
  justify-self: end;
  justify-items: start;
  width: min(44%, 560px);
  text-align: left;
}

.ab-naming.is-scene .ab-naming__close > * {
  pointer-events: auto;
}

/* A keyboard user who tabs into the scene early still sees the link. */
.ab-naming.is-scene .ab-naming__close:focus-within > * {
  opacity: 1 !important;
  transform: none !important;
}

/* ==========================================================================
   3. FOUNDER — on Ink, so one dark run continues from the hero to 400 -> 1.
   The portrait stands on a Kuneo Blue panel in a soft blue glow, both
   absolutely positioned outside the grid's flow, with a blue rim light; the
   profile is revealed on entry and, on a fine pointer, the portrait leans a
   few degrees toward it. Transform, opacity and clip-path only: the section
   is tuned to fit one screen at 1366x768 and its layout is not touched.
   ========================================================================== */

.p-chapter--profile {
  position: relative;
  overflow: clip;
  isolation: isolate;
}

/* A wide, faint blue light from the top right of the chapter. */
.p-chapter--profile::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -16vw;
  z-index: -1;
  width: 72vw;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(36, 87, 255, 0.16), rgba(36, 87, 255, 0));
  pointer-events: none;
}

/* Text on Ink: White titles, Gray 300 body (9.7:1), Blue 300 label (8:1). */
.p-chapter--profile .p-head h2,
.ab-founder__name,
.ab-founder__link {
  color: var(--white);
}

.ab-founder {
  /* The portrait's height on a desktop screen (about 340px); the panel and
     the aura are sized from it. */
  --ph: min(46svh, 340px);
  position: relative;
  isolation: isolate;
}

/* The panel matches the portrait's box (--ph tall, 2:3) and sits behind it,
   offset down and right; the aura is centred on the portrait. */
.ab-founder__aura,
.ab-founder__panel {
  position: absolute;
  pointer-events: none;
}

.ab-founder__aura {
  left: calc(var(--ph) / 3);
  top: 50%;
  z-index: -2;
  width: calc(var(--ph) * 2);
  height: calc(var(--ph) * 2);
  margin: calc(var(--ph) * -1) 0 0 calc(var(--ph) * -1);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(36, 87, 255, 0.3), rgba(90, 127, 255, 0.1) 52%, rgba(36, 87, 255, 0));
}

.ab-founder__panel {
  --pd: clamp(14px, 1.5vw, 24px);
  left: 0;
  top: 50%;
  z-index: -1;
  width: calc(var(--ph) * 2 / 3);
  height: var(--ph);
  margin-top: calc(var(--ph) / -2);
  border-radius: var(--radius-card);
  background: linear-gradient(155deg, var(--blue-400), var(--kuneo-blue) 42%, var(--blue-800));
  box-shadow: 0 40px 80px -36px rgba(36, 87, 255, 0.7);
  transform: translate3d(var(--pd), var(--pd), 0);
}

@media (max-width: 1023px) {
  .ab-founder__aura {
    left: min(150px, 50%);
    top: 0;
    width: 640px;
    height: 640px;
    margin: -95px 0 0 -320px;
  }

  .ab-founder__panel {
    top: 0;
    width: min(300px, 100% - var(--pd));
    height: auto;
    aspect-ratio: 2 / 3;
    margin-top: 0;
  }
}

.ab-founder.is-armed .ab-founder__portrait {
  clip-path: inset(0 0 0 0 round var(--radius-card));
  transition: clip-path 900ms var(--ease-emphasized);
}

.ab-founder.is-armed:not(.is-in) .ab-founder__portrait {
  clip-path: inset(100% 0 0 0 round var(--radius-card));
}

.ab-founder.is-armed .ab-founder__panel {
  transition:
    transform 1100ms var(--ease-emphasized) 380ms,
    opacity 700ms var(--ease-standard) 380ms;
}

.ab-founder.is-armed:not(.is-in) .ab-founder__panel {
  opacity: 0;
  transform: none;
}

.ab-founder.is-armed .ab-founder__aura {
  transition: opacity 1400ms var(--ease-standard) 200ms;
}

.ab-founder.is-armed:not(.is-in) .ab-founder__aura {
  opacity: 0;
}

.ab-founder.is-armed .ab-founder__label,
.ab-founder.is-armed .ab-founder__name {
  transition:
    opacity 700ms var(--ease-standard) 250ms,
    transform 800ms var(--ease-emphasized) 250ms;
}

.ab-founder.is-armed .ab-founder__name {
  transition-delay: 340ms;
}

.ab-founder.is-armed:not(.is-in) .ab-founder__label,
.ab-founder.is-armed:not(.is-in) .ab-founder__name {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
}

.ab-founder.is-armed .ab-founder__bio,
.ab-founder.is-armed .ab-founder__link-line {
  transition: opacity 800ms var(--ease-standard) 520ms;
}

.ab-founder.is-armed:not(.is-in) .ab-founder__bio,
.ab-founder.is-armed:not(.is-in) .ab-founder__link-line {
  opacity: 0;
}

/* ==========================================================================
   Founder chapter (§15.5) — a restrained profile that fits one screen.

   The maintainer: "Ajusta un poco la foto para que toda la seccion se vea en
   una sola pantalla."

   MEASURED BEFORE, at 1440x900: the section ran 1286px against 796px of usable
   screen, and the portrait alone was 824px — taller than the entire viewport.
   The biography was 464px in a 769px column. Both were too big, and they are
   linked: the portrait's width is DERIVED from its 2:3 ratio, so capping its
   height also narrows its column and GIVES THE BIOGRAPHY MORE WIDTH, which in
   turn shortens it. One change, two savings.

   THE PORTRAIT IS CAPPED BY HEIGHT, not by width. `max-height` in `svh` is what
   ties it to the screen the reader actually has: a 60svh cap leaves room for
   the chapter head above it and the link below, at any viewport height, instead
   of a pixel value that is right on one laptop and wrong on the next.

   `width: auto` is load-bearing. The aspect-ratio wants both axes sized, and
   with `max-height` alone the box would keep its full column width and the
   image would letterbox inside it. Letting the width follow the capped height
   is what makes the column itself narrow — and that is where the biography's
   extra width comes from.

   The section's own vertical rhythm is tightened here rather than globally:
   `.p-chapter`'s padding is tuned for chapters that are meant to breathe, and
   this one's job is to fit.
   ========================================================================== */

.p-chapter--profile {
  /* 3.4vh, not 4.4vh. At 1366x768 the section was 19px over the fold, and the
     padding was 68px of a 664px budget — 10% of the screen spent on the gap
     above and below a profile that has to fit on it. This is the last of the
     four savings (portrait cap, text measure, type rhythm, padding) and it is
     the one that does not touch anything the reader reads. */
  padding-block: clamp(26px, 3.4vh, 48px);
}

/* THE CHAPTER HEAD IS THE EXPENSIVE PART, AND IT SCALES WITH HEIGHT.
   Measured at 1366x768: the head alone was 213px of a 664px budget — a third
   of the screen spent on an eyebrow, a title and one sentence, before the
   profile itself begins. Its rhythm is therefore tied to `vh` rather than to
   the page's fixed spacing scale, so a short laptop gives it less room instead
   of pushing the profile past the fold.

   THE FONTS ARE FLOORED BY HEIGHT TOO, AND THAT IS THE FIX FOR A REAL BUG.
   The title and lede were sized from `vw` only, which is the standard editorial
   habit and the wrong axis here: this section's constraint is VERTICAL, so a
   `vw` clamp makes the type GROW as the window widens. Measured, 1280x720 came
   out 18px TALLER than 1152x720 — more width, more height, which no wrapping
   can explain and only growing type can. `min(<vw>, <vh>)` makes the font
   follow whichever axis is scarcer, the same remedy the site applies to its
   other editorial clamps. */
.p-chapter--profile .p-head {
  gap: clamp(8px, 1.5vh, 16px);
  /* 2vh, not 2.4vh: with the padding at 3.4vh the section still ran 4px past
     the fold at 1366x768, and the head's trailing margin is the right place to
     find them — it is the gap between the chapter's title block and the profile
     it introduces, and 4px less there is not a change anyone can see. */
  margin-bottom: clamp(12px, 2vh, 28px);
}

.p-chapter--profile .p-head h2 {
  font-size: clamp(26px, min(3.1vw, 4.4vh), 46px);
}

.p-chapter--profile .p-head .p-lede {
  font-size: clamp(15px, min(1.3vw, 2vh), 18px);
}

.ab-founder {
  display: grid;
  /* THE PORTRAIT COLUMN IS SIZED BY THE PORTRAIT, NOT BY A FRACTION.
     It was `5fr : 7fr`, which reserves 42% of the width for the photograph
     whatever size the photograph actually is. Once the portrait is capped by
     height, that fraction leaves dead space beside it — measured at 1440x900,
     a 348px portrait sat in a 549px column, so 200px of the row was empty while
     the biography wrapped in a narrower column than it needed and grew taller.
     `auto` lets the column take exactly the capped portrait's width, and the
     text column takes everything else: the freed width shortens the biography,
     which is what makes the section fit. */
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: center;
  margin-top: 0;
}

/* The 2:3 slot, capped by the screen rather than by the column. */
.p-media--2x3 {
  aspect-ratio: 2 / 3;
}

.ab-founder__portrait {
  justify-self: start;
  /* THE CAP IS THE SCREEN, and the width follows from the ratio. `max-height`
     in `svh` ties the photograph to the viewport the reader actually has, so it
     is right on a short laptop and on a tall monitor without a magic number.

     THE CAP IS 42svh, AND IT WAS MEASURED RATHER THAN CHOSEN.
     The constraint is not the portrait on its own: it is whichever of the two
     columns is taller, because the section has to fit the screen. At 58svh the
     photograph was the tall one on every desktop size — 445px against a 405px
     text block at 1366x768 — so it alone decided the section's height and the
     section overran the fold by 59px. At 42svh it comes in under the text, and
     from then on the section's height is set by the words, which is the thing
     the reader is actually here for.

     It is now min(46svh, 340px) (--ph on .ab-founder): about 340px, still
     under the text block's height at 1366x768 and 1280x720, so the words
     keep deciding the section's height.

     The photograph is still the tallest element in the composition, which is
     the hierarchy the design asks for; it is simply no longer the reason the
     section cannot fit. */
  max-height: var(--ph);
  width: auto;
  /* The rim light: a cool blue edge on the side facing the room's light
     (inside the box, so the reveal's clip-path never cuts it). The lean on a
     fine pointer is written by js/page-about.js (transform only). */
  transform-origin: 50% 50%;
}

.ab-founder__portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background: linear-gradient(115deg, rgba(142, 171, 255, 0.34), rgba(142, 171, 255, 0) 30%, rgba(36, 87, 255, 0) 72%, rgba(36, 87, 255, 0.22));
  box-shadow:
    inset 0 0 0 1px rgba(191, 208, 255, 0.32),
    inset 3px 2px 0 -1px rgba(220, 229, 255, 0.55),
    inset 18px 10px 30px -18px rgba(90, 127, 255, 0.85);
  mix-blend-mode: screen;
  pointer-events: none;
}

@media (max-width: 1023px) {
  .ab-founder__portrait {
    max-height: none;
    min-width: 0;
    width: 100%;
    max-width: min(300px, 100%);
  }
}

.ab-founder__body {
  display: grid;
  /* The gap between name, biography and link shrinks with the viewport height
     for the same reason the head does: on a short screen the text block is the
     tallest thing in the row, so every pixel of its own rhythm is a pixel the
     section does not have. */
  gap: clamp(8px, 1.6vh, 16px);
  align-content: center;
}

.ab-founder__label {
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-300);
}

.ab-founder__name {
  font-size: clamp(26px, min(3.2vw, 4.2vh), 46px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

/* THE BIOGRAPHY IS THREE PARAGRAPHS.
   The maintainer: "la descripcion, ponele algun punto y aparte o separacion para
   que no se vea todo como un bodoque junto". One subject per paragraph — who he
   is, where he has worked, how he works — so the breaks fall on the argument's
   own joints instead of splitting a single thought across two blocks.

   THE MEASURE IS 66ch, AND THAT IS A MEASURED NUMBER.
   It was 58ch, chosen when the text column was narrower than the photograph's.
   Once the portrait is capped by height its column shrinks, the text column
   takes the difference, and 58ch became a cap that wasted it: the biography
   stayed 755px wide inside a 1000px column and wrapped to 115/58/144px per
   paragraph. At 66ch the same three paragraphs measure 86/58/115 — the section
   loses 58px of height at every viewport, for free. Past 66ch nothing more is
   gained (72ch, 78ch and `none` all land on the same 86/58/115), because the
   column itself becomes the limit.

   THE PARAGRAPH GAP SHRINKS WITH HEIGHT, and it is the separation the maintainer
   asked for: at full height it is a clear beat between paragraphs, and on a
   short laptop it tightens rather than pushing the last paragraph off screen. */
.ab-founder__bio {
  display: grid;
  gap: clamp(9px, 1.5vh, 16px);
  margin-top: var(--space-2);
  font-size: clamp(16px, min(1.22vw, 1.9vh), 19px);
  /* 1.55 rather than 1.58: the last pixel. At 1366x768 the section finished 1px
     past the fold, and three paragraphs at this size is roughly twenty line
     boxes — three hundredths of the leading is enough to absorb it, and no
     reader can tell 1.55 from 1.58. */
  line-height: 1.55;
  color: var(--gray-300);
  max-width: 66ch;
}

.ab-founder__bio p {
  margin: 0;
}

.ab-founder__link-line {
  margin-top: var(--space-2);
}

.ab-founder__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-body);
  font-weight: 700;
  text-decoration: none;
  /* The underline is drawn by the pseudo-element below so it can grow on
     hover — the same interaction as the site's other inline links. */
  position: relative;
  padding-bottom: 3px;
}

.ab-founder__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: calc(100% - 24px); /* the words only, not the arrow */
  height: 1px;
  background: currentColor;
  transform-origin: left center;
  transition: transform 300ms var(--ease-out, cubic-bezier(.2, .8, .2, 1));
}

.ab-founder__link:hover::after,
.ab-founder__link:focus-visible::after {
  transform: scaleX(0.35);
}

/* THE LINK IS A CONTROL: 44px EFFECTIVE TARGET (§38).
   Measured on a phone, the link's own box is 27px tall — under the touch
   floor. As with the footer's heading links, a pseudo-element expands the hit
   area without entering layout, so the founder block's spacing is unchanged.
   The link is already `position: relative` for its underline. */
@media (max-width: 1023px) {
  .ab-founder__link::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    min-width: 44px;
    height: 44px;
    transform: translateY(-50%);
  }
}

.ab-founder__link-arrow {
  width: 14px;
  height: 14px;
  flex: none;
  transition: transform 300ms var(--ease-out, cubic-bezier(.2, .8, .2, 1));
}

.ab-founder__link:hover .ab-founder__link-arrow,
.ab-founder__link:focus-visible .ab-founder__link-arrow {
  transform: translate(2px, -2px);
}

/* ONE COLUMN ON NARROW SCREENS.
   The height cap stops applying here: a phone's portrait is sized by width, and
   the section is allowed to run as tall as it needs — a profile that has to be
   scrolled is not a defect on a phone, whereas a portrait squeezed to fit a
   740px screen would be. */
@media (max-width: 1023px) {
  .ab-founder {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(24px, 4vh, 36px);
  }

  .ab-founder__body {
    align-content: start;
  }

  .ab-founder__bio {
    max-width: 62ch;
  }
}

/* ==========================================================================
   4. 400 -> 1 (pinned scene on a roomy desktop screen)

   A luminous field of exactly 400 points, 25 x 16, fills the stage beside
   the copy. It is ONE radial-gradient layer tiled 25 x 16, drawn as a dim
   copy and a lit copy in which every point carries its own bloom, over a
   finer, fainter grid offset by half a pitch for depth. The lit copy's
   circular clip-path closes like an aperture on one point (--cx, --cy, in
   pitches); two fainter lit copies a little wider (--k) feather its edge, so
   points fade out of the light instead of being sliced. A spotlight glow
   closes with it. The one becomes a Kuneo Blue star with a halo, two soft
   flares and a slow pulse. --r is the aperture's radius in pitches and --ls
   the spotlight's scale, both set by data-step; the markup ships
   data-step="3" (finished). In the scene, js/page-about.js eases both
   continuously between the steps.

   The pitch is sized from the copy column's container (100cqi), not the
   viewport, so the field always fits the column it sits in.
   ========================================================================== */

.ab-pool {
  --cx: 15.5;
  --cy: 7.5;
  --pitch: calc(100cqi / 25);
  --r: 0.5;
  --ls: 0.15;
  position: relative;
  overflow: clip;
  isolation: isolate;
  background-color: var(--brand-ink);
  color: var(--white);
}

.ab-pool[data-step="0"] { --r: 40;  --ls: 1; }
.ab-pool[data-step="1"] { --r: 6.2; --ls: 0.6; }
.ab-pool[data-step="2"] { --r: 2.3; --ls: 0.3; }
.ab-pool[data-step="3"] { --r: 0.5; --ls: 0.15; }

@media (min-width: 1024px) {
  .ab-pool {
    --pitch: min(calc((100svh - var(--header-h) - 2 * clamp(24px, 5svh, 56px)) / 17), calc(52cqi / 25), 40px);
  }
}

/* The entry: the spotlight rises out of the founder chapter's Ink instead
   of starting at the section's edge (it scrolls away as the stage pins). */
.ab-pool::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 2;
  height: 180px;
  background: linear-gradient(to bottom, var(--brand-ink), rgba(15, 23, 42, 0));
  pointer-events: none;
}

/* The exit: the Ink turns to daylight over the last stretch, through a
   deep blue, so the white working day below does not start at an edge. */
.ab-pool::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  height: clamp(180px, 26svh, 260px);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(22, 33, 72, 0.9) 22%, #3a52a6 50%, #93a9ec 70%, #dce5ff 86%, var(--white) 100%);
  pointer-events: none;
}

.ab-pool__stage {
  position: relative;
  padding-top: clamp(72px, 12svh, 140px);
}

.ab-pool__inner {
  display: grid;
  gap: clamp(36px, 6svh, 56px);
  container-type: inline-size;
}

@media (min-width: 1024px) {
  .ab-pool__inner {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: clamp(40px, 5vw, 96px);
  }
}

.ab-pool__field {
  position: relative;
  width: calc(var(--pitch) * 25);
  height: calc(var(--pitch) * 16);
}

/* The spotlight: a wide Kuneo Blue glow centred on the one, closing with the
   aperture. Larger than the field, so at the start it lights the stage. */
.ab-pool__light {
  position: absolute;
  left: calc(var(--pitch) * var(--cx));
  top: calc(var(--pitch) * var(--cy));
  width: calc(var(--pitch) * 56);
  height: calc(var(--pitch) * 56);
  margin: calc(var(--pitch) * -28) 0 0 calc(var(--pitch) * -28);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(36, 87, 255, 0.5), rgba(36, 87, 255, 0.17) 42%, rgba(36, 87, 255, 0) 100%);
  transform: scale(var(--ls));
  transition: transform 1000ms cubic-bezier(0.7, 0, 0.2, 1);
}

.ab-pool__dots {
  --d: max(1.2px, calc(var(--pitch) * 0.065));
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(191, 208, 255, 0.95) 0 var(--d), rgba(191, 208, 255, 0) calc(var(--d) + 0.8px));
  background-size: var(--pitch) var(--pitch);
  opacity: 0.26;
}

/* The finer grid, half a pitch off, smaller and fainter: depth, not count. */
.ab-pool__dots--fine {
  --d: max(0.9px, calc(var(--pitch) * 0.038));
  background-position: calc(var(--pitch) / 2) calc(var(--pitch) / 2);
  opacity: 0.2;
}

.ab-pool__dots--lit {
  --k: 0;
  background-image: radial-gradient(
    circle,
    var(--white) 0 calc(var(--d) * 1.15),
    rgba(191, 208, 255, 0.75) calc(var(--d) * 1.6),
    rgba(90, 127, 255, 0.3) calc(var(--d) * 3),
    rgba(36, 87, 255, 0) calc(var(--d) * 5.5)
  );
  opacity: 1;
  /* The feather grows with the aperture, so the finished star stands alone. */
  clip-path: circle(calc((var(--r) + var(--k) * min(0.55, var(--r) * 0.25)) * var(--pitch)) at calc(var(--pitch) * var(--cx)) calc(var(--pitch) * var(--cy)));
  transition: clip-path 800ms cubic-bezier(0.7, 0, 0.2, 1);
}

.ab-pool__dots--edge1 {
  --k: 1;
  opacity: 0.42;
}

.ab-pool__dots--edge2 {
  --k: 2;
  opacity: 0.18;
}

/* The one: Kuneo Blue with a white core, a halo, and two soft flares. */
.ab-pool__one {
  position: absolute;
  left: calc(var(--pitch) * var(--cx));
  top: calc(var(--pitch) * var(--cy));
  width: max(16px, calc(var(--pitch) * 0.7));
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--white) 0 20%, var(--blue-200) 34%, var(--kuneo-blue) 62%, rgba(36, 87, 255, 0) 74%);
  box-shadow:
    0 0 calc(var(--pitch) * 0.7) calc(var(--pitch) * 0.18) rgba(36, 87, 255, 0.8),
    0 0 calc(var(--pitch) * 2.6) calc(var(--pitch) * 0.7) rgba(36, 87, 255, 0.34);
  transform: translate(-50%, -50%);
  transition: transform 700ms cubic-bezier(0.34, 1.56, 0.64, 1) 380ms;
}

.ab-pool__one::before,
.ab-pool__one::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 999px;
  transform: translate(-50%, -50%);
}

.ab-pool__one::before {
  width: calc(var(--pitch) * 4.4);
  height: max(2px, calc(var(--pitch) * 0.07));
  background: linear-gradient(90deg, rgba(191, 208, 255, 0), rgba(220, 229, 255, 0.85), rgba(191, 208, 255, 0));
}

.ab-pool__one::after {
  width: max(2px, calc(var(--pitch) * 0.07));
  height: calc(var(--pitch) * 2.8);
  background: linear-gradient(180deg, rgba(191, 208, 255, 0), rgba(220, 229, 255, 0.7), rgba(191, 208, 255, 0));
}

.ab-pool__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 max(1.5px, calc(var(--pitch) * 0.05)) rgba(142, 171, 255, 0.75);
  opacity: 0;
}

/* The pulse runs only while the scene is on screen on a roomy desktop
   screen (.is-live); paused, it rests invisible. Two pulses each time the
   scene reaches its last step, then it rests (WCAG 2.2.2). */
@media (prefers-reduced-motion: no-preference) {
  .ab-pool[data-step="3"] .ab-pool__pulse {
    animation: ab-pulse 2800ms var(--ease-standard) 1200ms 2;
    animation-play-state: paused;
  }

  .ab-pool.is-live[data-step="3"] .ab-pool__pulse {
    animation-play-state: running;
  }
}

@keyframes ab-pulse {
  0% {
    opacity: 0.9;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(4.4);
  }
}

.ab-pool__copy {
  position: relative;
  display: grid;
  gap: var(--space-6);
}

.ab-pool__lines {
  display: grid;
  gap: clamp(12px, 2.2svh, 24px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.ab-pool__lines li {
  max-width: 17ch;
  font-size: clamp(1.5rem, min(0.8rem + 2.1vw, 5.4svh), 3.25rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.04em;
  color: var(--white);
}

.ab-nowrap {
  white-space: nowrap; /* never break "pre-selected" or a company name */
}

.ab-pool__lines li:last-child {
  color: var(--blue-300); /* 8:1 on Ink */
  text-shadow: 0 0 0.6em rgba(36, 87, 255, 0.55);
}

/* An empty spacer under the stage: room for the exit gradient (.ab-pool's
   ::after, the same height), so the Ink turns to daylight below the four
   lines instead of under them. */
.ab-pool__after {
  height: clamp(180px, 26svh, 260px);
}

/* ---- Pinned (class set by js/page-about.js) ----------------------------- */
.ab-pool.is-scene .ab-pool__runway {
  height: calc(var(--ab-stage-h) + 200svh);
}

.ab-pool.is-scene .ab-pool__stage {
  position: sticky;
  top: var(--header-h);
  display: grid;
  align-items: center;
  height: var(--ab-stage-h);
  padding-block: clamp(24px, 5svh, 56px);
  overflow: hidden;
}

/* The scroll drives the aperture and the spotlight frame by frame. */
.ab-pool.is-scene .ab-pool__dots--lit,
.ab-pool.is-scene .ab-pool__light {
  transition: none;
}

.ab-pool.is-scene:not([data-step="3"]) .ab-pool__one {
  transform: translate(-50%, -50%) scale(0);
  transition-delay: 0ms;
}

.ab-pool.is-scene .ab-pool__lines li {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition:
    opacity 500ms var(--ease-standard),
    transform 700ms var(--ease-emphasized);
}

/* Lines already said stay readable: White at .55 on Ink is 5.9:1. */
.ab-pool.is-scene .ab-pool__lines li.is-past {
  opacity: 0.55;
  transform: none;
}

.ab-pool.is-scene .ab-pool__lines li.is-current {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   5. YOUR WORKING DAY — a dial. Your working day is an arc from 09:00 to
   17:00 (generic hours: they illustrate "your working day"); the stretch you
   share with us is lit in the middle of it, a Kuneo Blue core of 4 hours
   inside a lighter 6. A big readout sits under the arc. The finished state
   (whole arc lit, the sun at 17:00, "09:00 – 17:00") is the default; on a
   desktop screen js/page-about.js (initDay) adds .is-scene and the scroll
   plays the day: rotate for the sun, clip-path for the light, opacity for
   the readout's two faces.
   ========================================================================== */

.ab-day {
  position: relative;
  overflow: clip;
  background-color: var(--white);
  box-shadow: 0 -2px 0 var(--white); /* no hairline under the dawn */
  padding-block: clamp(72px, 12svh, 140px);
}

.ab-day__inner {
  display: grid;
  gap: clamp(48px, 7svh, 72px);
  align-items: center;
}

@media (min-width: 1024px) {
  .ab-day__inner {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    column-gap: clamp(48px, 6vw, 112px);
  }
}

.ab-day__title,
.ab-terms__title,
.ab-close__title {
  max-width: 18ch;
  text-wrap: balance;
  font-size: clamp(2rem, 1rem + 3.2vw, 4rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--brand-ink);
}

.ab-day__row {
  display: grid;
  gap: var(--space-4);
  justify-items: start;
  margin-top: clamp(24px, 4svh, 40px);
}

.ab-day__text {
  max-width: 40ch;
  font-size: clamp(1.125rem, 0.95rem + 0.6vw, 1.5rem);
  line-height: 1.45;
  color: var(--gray-600);
}

.ab-day__sky {
  width: 100%;
  max-width: 640px;
  justify-self: center;
}

/* The dial is the SVGs' 600 x 330 viewBox, so the HTML layers (the dome, the
   sun, the readout, the two hours) sit on the arc by percentages: the arc's
   centre is (300, 300), its radius 270, its ends (30, 300) and (570, 300).
   Room underneath for the two hours. */
.ab-day__dial {
  position: relative;
  aspect-ratio: 600 / 330;
  margin-bottom: calc(1em + 34px);
}

.ab-day__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.ab-day__lit {
  position: absolute;
  inset: 0;
}

/* The day not yet lit, and the hours on it (Gray 300 dots). */
.ab-day__track,
.ab-day__trail,
.ab-day__halo,
.ab-day__usual,
.ab-day__core {
  fill: none;
  stroke-width: 24;
}

.ab-day__track {
  stroke: var(--gray-100);
  stroke-linecap: round;
}

.ab-day__hours {
  fill: var(--gray-300);
}

/* The lit day: pale blue end to end, the usual 6 shared hours in Blue 300,
   the 4 always shared in Kuneo Blue with a soft light around them. */
.ab-day__trail {
  stroke: var(--blue-100);
  stroke-linecap: round;
}

.ab-day__halo {
  stroke: var(--kuneo-blue);
  stroke-width: 52;
  stroke-linecap: round;
  opacity: 0.1;
}

.ab-day__usual {
  stroke: var(--blue-300);
}

.ab-day__core {
  stroke: var(--kuneo-blue);
}

/* A dome of soft daylight under the arc; its light dissolves toward the base
   and the sides (a static mask), so it rests on the page instead of ending on
   a ruled line. */
.ab-day__dome {
  position: absolute;
  left: 5%;
  top: 9.0909%;
  width: 90%;
  aspect-ratio: 2 / 1;
  border-radius: 999px 999px 0 0;
  background:
    radial-gradient(circle at 50% 8%, rgba(36, 87, 255, 0.22), rgba(36, 87, 255, 0) 38%),
    radial-gradient(ellipse 50% 100% at 50% 100%, rgba(142, 171, 255, 0.32), rgba(191, 208, 255, 0.16) 55%, rgba(238, 242, 255, 0) 100%);
  -webkit-mask-image:
    linear-gradient(to top, transparent, #000 42%),
    radial-gradient(ellipse 50% 100% at 50% 100%, #000 62%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to top, transparent, #000 42%),
    radial-gradient(ellipse 50% 100% at 50% 100%, #000 62%, transparent 100%);
  mask-composite: intersect;
}

/* The sun rides the arc: the rotor is the arc's full circle and turns about
   its centre; rotate(-90deg) is 09:00, rotate(90deg) 17:00. */
.ab-day__rotor {
  position: absolute;
  left: 5%;
  top: 9.0909%;
  width: 90%;
  aspect-ratio: 1;
  transform: rotate(90deg);
  pointer-events: none;
}

.ab-day__sun {
  position: absolute;
  left: 50%;
  top: 0;
  width: clamp(24px, 2.6vw, 34px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--white) 0 26%, var(--blue-200) 44%, var(--kuneo-blue) 70%);
  box-shadow:
    0 0 0 6px rgba(255, 255, 255, 0.9),
    0 0 0 14px rgba(36, 87, 255, 0.12),
    0 0 44px 14px rgba(36, 87, 255, 0.38);
  transform: translate(-50%, -50%);
}

/* The readout, centred on the base inside the dome. Its two faces share one
   grid cell: the range (the finished state) and the clock the scene ticks. */
.ab-day__readout {
  position: absolute;
  left: 50%;
  bottom: calc(9.0909% + 2px);
  display: grid;
  justify-items: center;
  gap: 4px;
  transform: translateX(-50%);
  text-align: center;
  white-space: nowrap;
}

.ab-day__kicker {
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--gray-500); /* 6:1 on White */
}

.ab-day__time {
  display: grid;
  justify-items: center;
  align-items: end;
}

.ab-day__range,
.ab-day__clock {
  grid-area: 1 / 1;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--brand-ink);
}

.ab-day__range {
  font-size: clamp(1.625rem, 0.75rem + 2.4vw, 3rem);
}

.ab-day__dash {
  margin-inline: 0.18em;
  color: var(--kuneo-blue);
}

.ab-day__clock {
  font-size: clamp(2.5rem, 1rem + 3.9vw, 4.75rem);
  opacity: 0;
}

/* The two hours under the ends of the arc, clear of the sun that rests on
   either end. Gray 500 on White, 6:1. */
.ab-day__tick {
  position: absolute;
  top: calc(90.909% + 28px);
  font-size: var(--fs-small);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--gray-500);
  transform: translateX(-50%);
}

.ab-day__tick--start {
  left: 5%;
}

.ab-day__tick--end {
  left: 95%;
}

/* The key: a swatch of the shared stretch (the lighter ends are the usual
   extra hours) and what it means. Gray 600 on White, 7.5:1. */
.ab-day__key {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 12px;
  font-size: var(--fs-small);
  font-weight: 600;
  line-height: 1.4;
  color: var(--gray-600);
  text-align: center;
}

.ab-day__key::before {
  content: "";
  flex: none;
  width: 42px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue-300) 0 16.7%, var(--kuneo-blue) 16.7% 83.3%, var(--blue-300) 83.3%);
}

/* ==========================================================================
   6. TERMS AND THE CLOSE — Off White. Two cards under large numerals (a CSS
   counter, decorative), side by side, and a link to the full terms. Then one centred contact moment in a wide Kuneo Blue
   glow, under the star.
   ========================================================================== */

/* Room under the cards, so they never sit on the seam with the close. */
.ab-terms {
  position: relative;
  background-color: var(--off-white);
  padding-block: clamp(72px, 11svh, 128px) clamp(56px, 9svh, 112px);
}

.ab-terms__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 24px);
  margin: clamp(32px, 5svh, 56px) 0 0;
  padding: 0;
  list-style: none;
  counter-reset: ab-term;
}

.ab-terms__more {
  margin: clamp(20px, 3svh, 32px) 0 0;
}

/* On a phone the cards are short: the numeral sits in the padding above
   the term rather than in a tall card. */
@media (max-width: 599px) {
  .ab-terms__list {
    grid-template-columns: minmax(0, 1fr);
  }

  .ab-terms__list .ab-terms__row {
    min-height: 0;
    padding-top: 84px;
  }

  .ab-terms__list .ab-terms__row::before {
    font-size: 3.5rem;
  }
}

.ab-terms__row {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(180px, 30svh, 300px);
  padding: clamp(22px, 2vw, 32px);
  overflow: hidden;
  isolation: isolate;
  border-radius: 20px;
  background-color: var(--white);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 36px 64px -36px rgba(15, 23, 42, 0.2);
  counter-increment: ab-term;
  font-size: clamp(1.1875rem, min(0.8rem + 0.9vw, 3.2svh), 1.625rem);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.025em;
  color: var(--brand-ink);
}

/* The numeral: large, Kuneo Blue fading into the card. */
.ab-terms__row::before {
  content: counter(ab-term, decimal-leading-zero);
  position: absolute;
  top: clamp(12px, 1.2vw, 20px);
  left: clamp(18px, 1.7vw, 28px);
  font-size: clamp(4rem, 6.4vw, 7rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
  color: transparent;
  background: linear-gradient(180deg, var(--kuneo-blue) 10%, rgba(36, 87, 255, 0.06) 92%);
  -webkit-background-clip: text;
  background-clip: text;
}

/* A soft blue light in each card's corner. */
.ab-terms__row::after {
  content: "";
  position: absolute;
  top: -45%;
  right: -35%;
  z-index: -1;
  width: 90%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(36, 87, 255, 0.1), rgba(36, 87, 255, 0));
}

.ab-terms__list.is-armed .ab-terms__row {
  transition:
    opacity 700ms var(--ease-standard) calc(80ms + var(--i, 0) * 110ms),
    transform 1000ms var(--ease-emphasized) calc(80ms + var(--i, 0) * 110ms);
}

.ab-terms__list.is-armed:not(.is-in) .ab-terms__row {
  opacity: 0;
  transform: translate3d(0, 48px, 0);
}

/* The close: one centred moment. The star from 400 -> 1 above a large title,
   all of it in a wide Kuneo Blue glow centred on the title, then the line,
   the contact details at link size and the two actions. The headroom above
   the title is the glow's: its light is spent before it reaches the
   section's top edge, so the clip never draws a line under the cards. */
.ab-close {
  position: relative;
  overflow: clip;
  isolation: isolate;
  background-color: var(--off-white);
  padding-block: clamp(112px, 18svh, 208px) clamp(104px, 16svh, 176px);
  text-align: center;
}

.ab-close__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ab-close__title {
  position: relative;
  font-size: clamp(2.75rem, 0.6rem + 6.2vw, 6.75rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.ab-close__glow {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: -1;
  width: min(1600px, 220vw);
  aspect-ratio: 2.2 / 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(36, 87, 255, 0.24), rgba(90, 127, 255, 0.14) 30%, rgba(142, 171, 255, 0.06) 54%, rgba(142, 171, 255, 0) 72%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* The star from 400 -> 1, above the title, with its halo and its flares. */
.ab-close__star {
  position: relative;
  width: clamp(16px, 1.4vw, 22px);
  aspect-ratio: 1;
  margin-bottom: clamp(40px, 6.5svh, 72px);
  border-radius: 50%;
  background: radial-gradient(circle, var(--white) 0 22%, var(--blue-200) 40%, var(--kuneo-blue) 70%);
  box-shadow:
    0 0 0 8px rgba(36, 87, 255, 0.1),
    0 0 26px 6px rgba(36, 87, 255, 0.5),
    0 0 110px 36px rgba(36, 87, 255, 0.2);
}

.ab-close__star::before,
.ab-close__star::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 999px;
  transform: translate(-50%, -50%);
}

.ab-close__star::before {
  width: clamp(120px, 15vw, 240px);
  height: 3px;
  background: linear-gradient(90deg, rgba(36, 87, 255, 0), rgba(36, 87, 255, 0.7), rgba(36, 87, 255, 0));
}

.ab-close__star::after {
  width: 3px;
  height: clamp(72px, 8vw, 128px);
  background: linear-gradient(180deg, rgba(36, 87, 255, 0), rgba(36, 87, 255, 0.55), rgba(36, 87, 255, 0));
}

/* The star's pulse, the same 2.8s as 400 -> 1; it runs only while the close
   is on screen on a roomy desktop screen (.is-live), twice per visit, then
   rests invisible (WCAG 2.2.2). */
.ab-close__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 1.5px rgba(36, 87, 255, 0.7);
  opacity: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .ab-close__pulse {
    animation: ab-pulse 2800ms var(--ease-standard) 1400ms 2;
    animation-play-state: paused;
  }

  .ab-close.is-live .ab-close__pulse {
    animation-play-state: running;
  }
}

.ab-close__lede {
  max-width: 44ch;
  text-wrap: pretty;
  margin-top: clamp(24px, 3.5svh, 36px);
  font-size: clamp(1.125rem, 1rem + 0.45vw, 1.375rem);
  line-height: 1.5;
  color: var(--gray-600);
}

/* The contact details look as they do on /contact/: body-size links in
   Blue 700 (8.6:1 on Off White), underlined, each a 44px target. */
.ab-close__contacts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 var(--space-6);
  margin: clamp(16px, 2.5svh, 24px) 0 0;
  padding: 0;
  list-style: none;
}

.ab-close__contact {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: var(--fs-body);
  font-weight: 600;
  color: var(--blue-700);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

.ab-close__contact:hover,
.ab-close__contact:focus-visible {
  text-decoration-thickness: 2px;
}

.ab-close__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-4) var(--space-8);
  margin-top: clamp(24px, 4svh, 40px);
}

.ab-close.is-armed .ab-close__glow {
  transition:
    opacity 1600ms var(--ease-standard),
    transform 2000ms var(--ease-emphasized);
}

.ab-close.is-armed:not(.is-in) .ab-close__glow {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.7);
}

/* The star arrives: it rises into place, growing as it comes. */
.ab-close.is-armed .ab-close__star {
  transition:
    transform 1100ms cubic-bezier(0.34, 1.4, 0.64, 1) 350ms,
    opacity 500ms var(--ease-standard) 350ms;
}

.ab-close.is-armed:not(.is-in) .ab-close__star {
  opacity: 0;
  transform: translate3d(0, 32px, 0) scale(0.2);
}

@media (prefers-reduced-motion: reduce) {
  .ab-hero__glow,
  .ab-hero__shot,
  .ab-hero__drift,
  .ab-hero__eyebrow,
  .ab-hero__line > span,
  .ab-hero__support,
  .ab-naming__bloom::before {
    animation: none;
  }

  .ab-pool__light,
  .ab-pool__dots--lit,
  .ab-pool__one,
  .ab-naming__mono,
  .ab-link::after {
    transition: none;
  }
}
