/* Ritorno Labs — "Blue Hour".
   Tokens on :root. The ten colour tokens are read by the canvases and the chat: do not rename them. */

@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin-wght.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* colour: blue is the system, lamp is a person */
  --night: #0A0E22;
  --indigo: #1E2560;
  --indigo-deep: #141A47;
  --signal: #2F4FE0;
  --signal-soft: #93A6FF;
  --dusk: #A9A4E8;        /* inside photographs only */
  --paper: #F3F0EA;
  --ink: #0E1230;
  --mist: #C6C7DF;
  --lamp: #D8AD4E;        /* text, focus and small dots only: never a fill, border or headline */

  /* layers: transparency and blur, never shadow or glow */
  --glass: rgb(243 240 234 / 0.08);
  --glass-strong: rgb(243 240 234 / 0.15);
  --glass-line: rgb(243 240 234 / 0.26);
  --plane: rgb(147 166 255 / 0.09);
  --plane-night: rgb(10 14 34 / 0.62);
  --badge: rgb(20 26 71 / 0.9);
  --line-dark: rgb(147 166 255 / 0.3);
  --line-paper: rgb(47 79 224 / 0.26);
  --card-glass: rgb(30 37 96 / 0.32);
  --plane-deep: rgb(20 26 71 / 0.35);
  --veil: rgb(10 14 34 / 0.8);
  --contour: rgb(147 166 255 / 0.055);
  --contour-strong: rgb(147 166 255 / 0.11);
  --orbit: rgb(47 79 224 / 0.035);
  --halo: rgb(47 79 224 / 0.42);
  --halo-soft: rgb(147 166 255 / 0.14);
  --ring-dark: rgb(147 166 255 / 0.45);
  --ring-paper: rgb(47 79 224 / 0.32);
  --paper-raised: #FAF8F4;
  --ink-soft: #3B4068;

  /* type */
  --sans: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --step-hero: clamp(2.5rem, 6vw, 5.5rem);
  --step-1: clamp(2rem, 1.25rem + 2.6vw, 3.5rem);
  --step-2: clamp(1.3125rem, 1.15rem + 0.6vw, 1.625rem);
  --step-body: clamp(1.125rem, 1.06rem + 0.22vw, 1.25rem);
  --step-small: 0.9375rem;
  --step-label: 0.8125rem;
  --figure: clamp(3.5rem, 2.2rem + 4.6vw, 6rem);

  /* shape */
  --r-pill: 999px;
  --r-card: 28px;
  --r-plate: 44px;

  /* space */
  --gutter: clamp(1rem, 4vw, 3rem);
  --measure: 60ch;
  --wide: 78rem;
  --section-space: clamp(5rem, 9vw, 9rem);
  --arc: clamp(2.5rem, 7vw, 7.5rem);
  --header-h: 5.25rem;
  --header-stuck: 3.75rem;

  /* motion, carried from direction B (commit 125dd4b) */
  --ease-return: cubic-bezier(0.16, 1, 0.3, 1);  /* B's ease-out, carried as is */
  --dur-quick: 150ms;                             /* B's control transitions */
  --dur-sweep: 90ms;                              /* B's full-width row sweep */
  --dur-settle: 520ms;                            /* B's rest before the figure repeats */
  --dur-stick: 280ms;                             /* the header gathering into its pill */

  --focus: var(--signal-soft);
  color-scheme: dark;
}

/* The translucent layers are the colour tokens at an alpha: derived with color-mix() where it exists; the plain
   values above (the same colours, written out) paint where it doesn't. */
@supports (color: color-mix(in srgb, red, blue)) {
  :root {
    --glass: color-mix(in srgb, var(--paper) 8%, transparent);
    --glass-strong: color-mix(in srgb, var(--paper) 15%, transparent);
    --glass-line: color-mix(in srgb, var(--paper) 26%, transparent);
    --plane: color-mix(in srgb, var(--signal-soft) 9%, transparent);
    --plane-night: color-mix(in srgb, var(--night) 62%, transparent);
    --badge: color-mix(in srgb, var(--indigo-deep) 90%, transparent);
    --line-dark: color-mix(in srgb, var(--signal-soft) 30%, transparent);
    --line-paper: color-mix(in srgb, var(--signal) 26%, transparent);
    --card-glass: color-mix(in srgb, var(--indigo) 32%, transparent);
    --plane-deep: color-mix(in srgb, var(--indigo-deep) 35%, transparent);
    --veil: color-mix(in srgb, var(--night) 80%, transparent);
    --contour: color-mix(in srgb, var(--signal-soft) 5.5%, transparent);
    --contour-strong: color-mix(in srgb, var(--signal-soft) 11%, transparent);
    --orbit: color-mix(in srgb, var(--signal) 3.5%, transparent);
    --halo: color-mix(in srgb, var(--signal) 42%, transparent);
    --halo-soft: color-mix(in srgb, var(--signal-soft) 14%, transparent);
    --ring-dark: color-mix(in srgb, var(--signal-soft) 45%, transparent);
    --ring-paper: color-mix(in srgb, var(--signal) 32%, transparent);
  }
}

/* ---------- base ---------- */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  background: var(--night);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-color: var(--indigo) var(--night);
}

body {
  margin: 0;
  background: var(--night);
  color: var(--paper);
  font-family: var(--sans);
  font-size: var(--step-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

main, .site-footer { overflow-x: clip; }

::selection { background: var(--signal); color: var(--paper); }

h1, h2, h3 {
  margin: 0;
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.028em;
  text-wrap: balance;
}
h1 { font-size: var(--step-hero); }
h2 { font-size: var(--step-1); line-height: 1.1; }
h3 { font-size: var(--step-2); font-weight: 500; letter-spacing: -0.012em; line-height: 1.25; }
p, ul, ol, dl, figure { margin: 0; }
p + p { margin-top: 1em; }
img, svg, canvas, video { display: block; max-width: 100%; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { text-decoration-color: var(--accent, var(--signal-soft)); }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
[data-chat-open]:focus-visible { outline-color: var(--lamp); }
.light-paper [data-chat-open]:focus-visible { outline-color: var(--signal); }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: -4rem;
  z-index: 50;
  padding: 0.75rem 1.25rem;
  border-radius: var(--r-pill);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
}
.skip:focus { top: 1rem; }

/* ---------- the two lights ---------- */

.light-night {
  background: var(--night);
  color: var(--paper);
  --fg: var(--paper);
  --fg-soft: var(--mist);
  --line: var(--line-dark);
  --accent: var(--signal-soft);
  --focus: var(--signal-soft);
}
.light-deep {
  background: var(--indigo-deep);
  color: var(--paper);
  --fg: var(--paper);
  --fg-soft: var(--mist);
  --line: var(--line-dark);
  --accent: var(--signal-soft);
  --focus: var(--signal-soft);
}
.light-paper {
  background: var(--paper);
  color: var(--ink);
  --fg: var(--ink);
  --fg-soft: var(--ink-soft);
  --line: var(--line-paper);
  --accent: var(--signal);
  --focus: var(--signal);
  color-scheme: light;
}
.light-paper ::selection { background: var(--signal); color: var(--paper); }

/* ---------- sections and the arc transitions ---------- */

.section {
  position: relative;
  isolation: isolate;
  padding-block: var(--section-space);
  padding-inline: var(--gutter);
}
/* A section that changes the light rises over the one before it as a wide dome. */
.arc-in {
  margin-top: calc(-1 * var(--arc));
  padding-top: calc(var(--section-space) + var(--arc) * 0.4);
  border-top-left-radius: 50% var(--arc);
  border-top-right-radius: 50% var(--arc);
}
.section:has(+ .arc-in) { padding-bottom: calc(var(--section-space) + var(--arc)); }

.wrap { position: relative; z-index: 1; max-width: var(--wide); margin-inline: auto; }
.column { max-width: var(--measure); }
.head { max-width: 26ch; }
.head--center { margin-inline: auto; text-align: center; }
.lead { max-width: var(--measure); margin-top: 1.25rem; color: var(--fg-soft); }
.head--center + .lead, .lead--center { margin-inline: auto; text-align: center; }

/* ---------- components: pill, glass pill, chip, card, masks ---------- */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 44px;
  padding: 0.5rem 1.375rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: transparent;
  color: inherit;
  font: 500 1rem/1.2 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--dur-quick) var(--ease-return), border-color var(--dur-quick) var(--ease-return);
}
.pill:hover { background: var(--plane); border-color: var(--accent); }

/* The signature: translucent, blurred, hairline. The chat pill uses it. */
.pill--glass {
  background: var(--glass);
  border-color: var(--glass-line);
  color: var(--paper);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  backdrop-filter: blur(18px) saturate(1.25);
}
.pill--glass:hover { background: var(--glass-strong); border-color: var(--glass-line); }

.pill--chat {
  min-height: 4rem;
  padding: 0.625rem 1.75rem 0.625rem 0.75rem;
  gap: 1rem;
  font-size: clamp(1.0625rem, 1rem + 0.45vw, 1.375rem);
  font-weight: 400;
  letter-spacing: -0.01em;
}
.pill--signal { background: var(--signal); border-color: var(--signal); color: var(--paper); }
.pill--signal:hover { background: var(--indigo); border-color: var(--indigo); }

.dotmark {
  flex: none;
  display: inline-block;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--plane) url("../assets/brand/mark-small.svg") center / 56% no-repeat;
}
.pill:not(.pill--chat) .dotmark { width: 1.75rem; height: 1.75rem; margin-left: -0.875rem; background-size: 72%; }
/* On paper and on a blue fill the same small mark is drawn in one colour (mark-small-mono) through a mask. */
.light-paper .dotmark, .pill--signal .dotmark { position: relative; background: none; }
.light-paper .dotmark::after, .pill--signal .dotmark::after {
  content: "";
  position: absolute;
  inset: 14%;
  background: currentColor;
  -webkit-mask: url("../assets/brand/mark-small-mono.svg") center / contain no-repeat;
  mask: url("../assets/brand/mark-small-mono.svg") center / contain no-repeat;
}

/* outline icons (assets/icons/icons.svg) */
.icon { display: inline-block; flex: none; width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.25rem 0.875rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  color: var(--fg-soft);
  font-size: var(--step-small);
  line-height: 1.2;
}
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; list-style: none; }

.card {
  position: relative;
  padding: clamp(1.5rem, 2.6vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--card-fill, transparent);
}
.light-night .card, .light-deep .card {
  --card-fill: var(--card-glass);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.light-paper .card { --card-fill: var(--paper-raised); }

/* A colleague's name badge: a small night object wherever it sits. */
.card--badge {
  display: grid;
  align-content: start;
  gap: 0.875rem;
  padding-top: 2.5rem;
  background: var(--badge);
  border-color: var(--glass-line);
  color: var(--paper);
  --fg: var(--paper);
  --fg-soft: var(--mist);
  --line: var(--line-dark);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.light-paper .card--badge { background: var(--indigo-deep); }
.card--badge::before {
  content: "";
  position: absolute;
  top: 1rem;
  left: 50%;
  width: 2.75rem;
  height: 0.375rem;
  margin-left: -1.375rem;
  border-radius: var(--r-pill);
  background: var(--line-dark);
}
.card--badge h2, .card--badge h3 { font-size: var(--step-2); font-weight: 500; letter-spacing: -0.012em; line-height: 1.2; }
.job { color: var(--fg-soft); font-size: 1rem; line-height: 1.5; }

.lamp-line {
  display: flex;
  align-items: baseline;
  gap: 0.625rem;
  color: var(--lamp);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.45;
}
.lamp-line::before {
  content: "";
  flex: none;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--lamp);
  transform: translateY(-0.05em);
}
.light-paper .lamp-line:not(.card--badge .lamp-line) { color: var(--ink); }

.mask-circle, .mask-oval, .mask-dome { overflow: hidden; }
.mask-circle { border-radius: 50%; aspect-ratio: 1; }
.mask-oval { border-radius: 50%; aspect-ratio: 3 / 4; }
.mask-dome { border-radius: 50% 50% var(--r-card) var(--r-card) / 38% 38% var(--r-card) var(--r-card); }
.mask-circle > img, .mask-oval > img, .mask-dome > img { width: 100%; height: 100%; object-fit: cover; }

/* numbers: Figtree Light, lining; the sign rides high and small, so the digits carry the figure */
.num { font-family: var(--sans); font-weight: 300; font-variant-numeric: lining-nums proportional-nums; letter-spacing: -0.03em; }
.num .unit, .num .cur { display: inline-block; font-size: 0.5em; letter-spacing: 0; vertical-align: 0.74em; }
.num .unit { margin-left: 0.05em; }
.num .cur { margin-right: 0.06em; }
.num .to { margin-inline: 0.12em; color: var(--fg-soft); font-size: 0.5em; letter-spacing: 0; vertical-align: 0.28em; }

.ph {
  padding: 0.05em 0.4em;
  border-radius: 0.4em;
  background: var(--plane);
  color: inherit;
  white-space: normal;
}

/* ---------- header ---------- */

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
  padding: 0.75rem var(--gutter);
  color: var(--paper);
  --line: var(--line-dark);
  --accent: var(--signal-soft);
}
.logo {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-right: auto;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}
.logo-lockup { width: auto; height: 32px; }
.site-footer .logo-lockup { height: 40px; }
.nav { display: flex; align-items: center; }
.nav-list { display: flex; flex-wrap: wrap; gap: 0.125rem; padding: 0; list-style: none; }
.nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.9rem;
  border-radius: var(--r-pill);
  color: var(--mist);
  font-size: 1rem;
  text-decoration: none;
  transition: color var(--dur-quick) var(--ease-return), background-color var(--dur-quick) var(--ease-return);
}
.nav-list a:hover, .nav-list a[aria-current] { color: var(--paper); background: var(--glass); }
.menu-toggle { display: none; }

html:not(.js) .site-header { position: relative; flex-wrap: wrap; background: var(--night); }

/* With JS the header stays: transparent over the hero, then a night glass pill once the page moves */
.js { scroll-padding-top: 5.5rem; }
.js .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  max-width: 100vw;
  margin-inline: auto;
  border: 1px solid transparent;
  transition: top var(--dur-stick) var(--ease-return), left var(--dur-stick) var(--ease-return),
    right var(--dur-stick) var(--ease-return), max-width var(--dur-stick) var(--ease-return),
    min-height var(--dur-stick) var(--ease-return), padding var(--dur-stick) var(--ease-return),
    border-radius var(--dur-stick) var(--ease-return), border-color var(--dur-stick) var(--ease-return),
    background-color var(--dur-stick) var(--ease-return);
}
.js .site-header.is-stuck {
  top: 0.5rem;
  left: 0.5rem;
  right: 0.5rem;
  max-width: calc(var(--wide) + 3rem);
  min-height: var(--header-stuck);
  padding: 0.3125rem 0.375rem 0.3125rem 1.25rem;
  border-color: var(--glass-line);
  border-radius: var(--r-pill);
  background-color: var(--veil);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  backdrop-filter: blur(18px) saturate(1.25);
}

@media (max-width: 1023px) {
  .js .menu-toggle { display: inline-flex; }
  .js .nav-list {
    display: none;
    position: absolute;
    top: calc(100% - 0.25rem);
    left: var(--gutter);
    right: var(--gutter);
    flex-direction: column;
    padding: 0.75rem;
    border: 1px solid var(--glass-line);
    border-radius: var(--r-card);
    background: var(--plane-night);
    -webkit-backdrop-filter: blur(22px);
    backdrop-filter: blur(22px);
  }
  .js .nav-open .nav-list { display: flex; }
  /* inside the pill's own backdrop-filter a second blur sees nothing behind it, so the dropped list goes solid night */
  .js .is-stuck .nav-list { top: calc(100% + 0.5rem); left: 0; right: 0; background: var(--night); }
  .js .nav-list a { min-height: 48px; font-size: 1.125rem; }
}
@media (max-width: 560px) {
  .site-header > .pill .pill-text {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
  }
  .site-header > .pill { width: 44px; padding: 0; justify-content: center; }
  .site-header > .pill .dotmark { margin: 0; }
  .site-header { gap: 0.5rem; }
  .logo-lockup { height: 28px; }
  .menu-toggle { padding-inline: 1rem; }
}

/* the pause control for all motion */
.motion-toggle {
  position: fixed;
  left: max(0.875rem, env(safe-area-inset-left));
  bottom: max(0.875rem, env(safe-area-inset-bottom));
  z-index: 40;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--glass-line);
  border-radius: 50%;
  background: var(--plane-night);
  color: var(--mist);
  opacity: 0.72;
  cursor: pointer;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: opacity var(--dur-quick) var(--ease-return);
}
.motion-toggle:hover, .motion-toggle:focus-visible { opacity: 1; }
.motion-toggle .i-play, .motion-toggle[aria-pressed="true"] .i-pause { display: none; }
.motion-toggle[aria-pressed="true"] .i-play { display: block; }

/* ---------- hero ---------- */

.hero {
  display: grid;
  align-items: center;
  min-height: min(100svh, 64rem);
  padding-top: calc(var(--header-h) + 2rem);
  overflow: clip;
}
html:not(.js) .hero { padding-top: 2.5rem; }

.photo { position: relative; }
.photo--hero {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: 0;
  width: min(66%, 64rem);
  border-radius: 50% 0 0 50% / 62% 0 0 62%;
  overflow: hidden;
}
.photo--hero picture { display: contents; }
.photo--hero img, .photo--hero video { width: 100%; height: 100%; object-fit: cover; object-position: 62% 35%; }
.photo--hero video {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 300ms var(--ease-return);
}
.photo--hero.is-playing video { opacity: 1; }
/* the wink sits over the resting clip and shows only while it plays (both end on the same frame) */
.photo--hero video.wink { z-index: 1; transition-duration: 160ms; }
.photo--hero.is-playing video.wink { opacity: 0; }
.photo--hero.is-winking video.wink { opacity: 1; }

/* translucent arc planes between the photograph and the words */
.planes { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.planes span { position: absolute; border-radius: 50%; }
.planes span:nth-child(1) {
  width: 78vmax; height: 78vmax; right: -30vmax; top: 50%; margin-top: -39vmax;
  border: 1px solid var(--glass-line); background: var(--plane);
}
.planes span:nth-child(2) {
  width: 38vmax; height: 38vmax; right: 16%; bottom: -24vmax;
  background: var(--plane-deep);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.loop { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; }

.hero-copy { position: relative; z-index: 3; max-width: var(--wide); width: 100%; margin-inline: auto; }
.hero h1 { max-width: 12ch; }
.hero h1 span { display: block; }
.hero-sub { max-width: 38ch; margin-top: 1.5rem; color: var(--mist); font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem); }
.hero-actions { margin-top: 2.5rem; }
.wink { color: var(--paper); }
.nw { white-space: nowrap; }

/* the main page's first viewport: the woman in a huge oval, planes across her, the return loop over the top */
.hero--main { align-items: end; min-height: min(100svh, 60rem); padding-top: calc(var(--header-h) + 5rem); padding-bottom: clamp(2.5rem, 5.5vh, 4.5rem); }
.hero--main .photo--hero { width: min(72%, 84rem); border-radius: 50% 0 0 50% / 58% 0 0 58%; }
.hero--main .photo--hero img, .hero--main .photo--hero video { object-position: 80% 30%; }
.hero--main .planes span:nth-child(1) {
  width: 58vw; height: 58vw; left: -16vw; right: auto; top: 46%; margin-top: 0;
  border: 0;
  background: var(--plane-deep);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.hero--main .planes span:nth-child(2) {
  width: 60vw; height: 60vw; left: 45vw; right: auto; top: 50%; bottom: auto; margin-top: -30vw;
  border: 1px solid var(--glass-line); background: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.hero--main .hero-sub { max-width: 34ch; }

@media (max-width: 760px) {
  .hero { align-items: end; min-height: min(100svh, 52rem); padding-top: min(40svh, 20rem); padding-bottom: calc(var(--section-space) * 0.6); }
  html:not(.js) .hero { padding-top: 12rem; }
  .photo--hero { inset: 0 0 auto 0; width: 100%; height: 72%; border-radius: 0 0 50% 50% / 0 0 22% 22%; }
  .planes span:nth-child(1) { width: 150vw; height: 150vw; right: -70vw; top: 8%; margin-top: 0; }
  .planes span:nth-child(2) { display: none; }
  .hero-copy {
    padding: 1.5rem 1.25rem;
    border: 1px solid var(--glass-line);
    border-radius: var(--r-card);
    background: var(--veil);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
  }
  .hero-sub { margin-top: 1rem; }
  .hero-actions { margin-top: 1.5rem; }
  .pill--chat { width: 100%; padding-right: 1.25rem; }

  .hero--main { min-height: auto; padding-top: 44svh; padding-bottom: 3rem; }
  html:not(.js) .hero--main { padding-top: 44svh; }
  .hero--main .photo--hero { inset: 0 0 auto 0; width: 100%; height: 60svh; max-height: 36rem; border-radius: 0 0 50% 50% / 0 0 16% 16%; }
  .hero--main .photo--hero img { object-position: 50% 28%; }
  .hero--main .photo--hero video { object-position: 82% 28%; }
  .hero--main .planes span:nth-child(1) { width: 130vw; height: 130vw; left: -15vw; top: 48svh; }
  .hero--main .planes span:nth-child(2) { display: block; width: 96vw; height: 96vw; left: 24vw; top: 2svh; margin-top: 0; }
  .hero--main .hero-copy { background: var(--plane-night); }
  .hero--main .hero-sub { font-size: 1.0625rem; line-height: 1.55; }
  .hero--main h1 { max-width: none; }
}

/* ---------- where AI fits: the map ---------- */

.where-map { position: relative; margin-top: clamp(2.75rem, 5vw, 4.5rem); }
.map-areas, .map-team, .map-foot { position: relative; z-index: 1; }
.map-areas { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); padding: 0; list-style: none; }
.area {
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.5rem 0.25rem;
  border: 0;
  border-radius: var(--r-card);
  background: var(--paper);
  color: var(--ink);
  font: 500 1.0625rem/1.2 var(--sans);
  cursor: pointer;
}
.area .icon {
  width: clamp(3.75rem, 5.4vw, 5rem);
  height: clamp(3.75rem, 5.4vw, 5rem);
  padding: clamp(0.95rem, 1.35vw, 1.25rem);
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--signal);
  stroke-width: 1.25;
  transition: background-color var(--dur-quick) var(--ease-return), color var(--dur-quick) var(--ease-return), border-color var(--dur-quick) var(--ease-return), transform var(--dur-settle) var(--ease-return);
}
.area:hover .icon { border-color: var(--signal); }
.area[aria-pressed="true"] { color: var(--signal); }
.area[aria-pressed="true"] .icon { background: var(--signal); border-color: var(--signal); color: var(--paper); transform: translateY(-3px); }
.area:focus-visible { outline-offset: 2px; }
.area-more { display: none; }
.area-who { display: block; margin-top: 0.25rem; color: var(--signal); font-size: var(--step-small); }

/* lines are measured from the icons to the colleague pills (js/site.js), so they hold at every width */
.map-lines { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.map-lines path { fill: none; vector-effect: non-scaling-stroke; }
/* at rest the map is icons and names only; lines appear from a chosen area */
.map-lines .lit { stroke: var(--signal); stroke-width: 1.5; opacity: 0; transition: opacity var(--dur-settle) var(--ease-return); }
.map-lines .lit.is-lit { opacity: 1; }

.map-team { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: clamp(4.5rem, 9vw, 7.5rem); padding: 0; list-style: none; }
.map-team li {
  justify-self: center;
  padding: 0.5rem 1.125rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--paper);
  color: var(--ink-soft);
  font-size: 1rem;
  white-space: nowrap;
  transition: background-color var(--dur-quick) var(--ease-return), color var(--dur-quick) var(--ease-return), border-color var(--dur-quick) var(--ease-return);
}
.map-team li.is-lit { background: var(--indigo-deep); border-color: var(--indigo-deep); color: var(--paper); }

.map-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}
.map-say { flex: 1 1 24rem; max-width: 52ch; font-size: var(--step-2); font-weight: 300; line-height: 1.35; letter-spacing: -0.01em; }

html:not(.js) .map-areas { grid-template-columns: 1fr; gap: 1.25rem; }
html:not(.js) .map-areas li { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: 1.5rem; align-items: center; }
html:not(.js) .area { cursor: default; }
html:not(.js) .area-more { display: block; max-width: var(--measure); }
html:not(.js) .map-lines, html:not(.js) .map-say { display: none; }
html:not(.js) .map-team { margin-top: 2rem; }

@media (max-width: 760px) {
  /* phones: areas in one column, the colleagues in a column beside them, lines in the channel between */
  .js .where-map { display: grid; grid-template-columns: minmax(0, 1fr) 3.25rem minmax(0, 0.9fr); }
  .js .map-areas { grid-column: 1; grid-row: 1; grid-template-columns: minmax(0, 1fr); row-gap: 0.375rem; }
  .js .area { grid-template-columns: auto minmax(0, 1fr); justify-items: start; align-items: center; gap: 0.75rem; padding: 0.125rem 0; font-size: 0.9375rem; text-align: left; }
  .js .area .icon { width: 2.75rem; height: 2.75rem; padding: 0.6875rem; }
  .js .area[aria-pressed="true"] .icon { transform: none; }
  .js .map-team { grid-column: 3; grid-row: 1; display: flex; flex-direction: column; justify-content: space-around; gap: 0.5rem; margin-top: 0; }
  .js .map-team li { align-self: stretch; padding: 0.4rem 0.5rem; font-size: 0.9375rem; text-align: center; }
  .js .map-foot { grid-column: 1 / -1; }
  .map-foot .pill { width: 100%; justify-content: center; }
  html:not(.js) .map-areas li { grid-template-columns: 5rem minmax(0, 1fr); gap: 1rem; }
}

/* ---------- getting ahead: figures and the line field ---------- */

.section.section--ahead { padding-bottom: 0; }
.figures {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 3rem 2.5rem;
  margin-top: 3.5rem;
  padding: 0;
  list-style: none;
}
.figure-no { color: var(--signal); font-size: var(--figure); line-height: 1; }
.figure-no .word { margin-inline: 0.22em; font-size: 0.32em; font-weight: 400; letter-spacing: 0; vertical-align: 0.45em; }

/* a tally: the figure counted out in dots (blue is the system; a lamp dot is a person) */
.tally { display: flex; flex-wrap: wrap; gap: 0.4375rem; margin-top: 1.125rem; }
.tally i {
  position: relative;
  width: 0.875rem;
  height: 0.875rem;
  overflow: hidden;
  border: 1.5px solid var(--ring-paper);
  border-radius: 50%;
}
.tally i::before { content: ""; position: absolute; inset: -1px; border-radius: 50%; background: var(--signal); transform: scale(0); }
.tally i.on::before, .tally i.part::before, .tally i.person::before { transform: scale(1); }
.tally i.part::before { right: 70%; border-radius: 0; }
.tally i.person::before { background: var(--lamp); }
.js .tally:not(.is-lit) i::before { transform: scale(0); }
.js .tally i::before { transition: transform var(--dur-settle) var(--ease-return); }
.tally i:nth-child(2)::before { transition-delay: 90ms; }
.tally i:nth-child(3)::before { transition-delay: 180ms; }
.tally i:nth-child(4)::before { transition-delay: 270ms; }
.tally i:nth-child(5)::before { transition-delay: 360ms; }
.tally i:nth-child(6)::before { transition-delay: 450ms; }
.tally i:nth-child(7)::before { transition-delay: 540ms; }
.tally i:nth-child(8)::before { transition-delay: 630ms; }
.tally i:nth-child(9)::before { transition-delay: 820ms; }
.tally i:nth-child(10)::before { transition-delay: 910ms; }
.figure-text { margin-top: 1rem; max-width: 32ch; }
.source { margin-top: 0.75rem; color: var(--fg-soft); font-size: var(--step-label); line-height: 1.45; }
.statement {
  max-width: 30ch;
  margin: clamp(4rem, 8vw, 6.5rem) auto 0;
  font-size: var(--step-2);
  font-weight: 300;
  line-height: 1.4;
  text-align: center;
}
.field-wrap { position: relative; height: clamp(15rem, 30vw, 26rem); margin: clamp(1rem, 3vw, 2.5rem) calc(-1 * var(--gutter)) 0; }
.field { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* ---------- colleagues ---------- */

.colleagues {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14.5rem, 1fr));
  gap: 1.25rem;
  margin-top: 3.5rem;
  padding: 0;
  list-style: none;
}
@media (min-width: 1200px) {
  .colleagues { grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 5.5rem; }
  /* the cards ride one wide arc */
  .colleagues > :nth-child(1), .colleagues > :nth-child(5) { margin-top: 5.5rem; }
  .colleagues > :nth-child(2), .colleagues > :nth-child(4) { margin-top: 2rem; }
  /* five across: the row takes the gutter-to-gutter width so every tag stays one pill */
  .colleagues { gap: 1rem; margin-inline: calc((100% - min(100vw - 2 * var(--gutter), 86rem)) / 2); }
  .colleagues .card--badge { padding-inline: 1.125rem; }
  .colleagues .chip { padding-inline: 0.75rem; font-size: 0.875rem; white-space: nowrap; }
}
.loop--segment { z-index: 0; }
@media (max-width: 1199px) { .colleagues { row-gap: 2.25rem; } }
.after-cards { margin-top: 3rem; text-align: center; }

/* ---------- how it works: the photo and the route ---------- */

.how-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 32rem); gap: 2.5rem clamp(3rem, 7vw, 7rem); align-items: center; }
.how-photo { position: relative; margin: 0; }
.how-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 50% 50% var(--r-card) var(--r-card) / 46% 46% var(--r-card) var(--r-card);
}

.route-wrap { position: relative; margin-top: clamp(3.5rem, 7vw, 6rem); }
.loop--route { z-index: 0; top: -3.5rem; height: calc(100% + 3.5rem); }   /* room for the arch over the first row */
.route {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(3.5rem, 6vw, 5.5rem) clamp(3rem, 9vw, 9rem);
  padding: 0 0 0 clamp(2.5rem, 5vw, 4rem);
  list-style: none;
}
.route > .step:nth-child(3) { grid-column: 2; grid-row: 2; }
.route > .step:nth-child(4) { grid-column: 1; grid-row: 2; }
.step { position: relative; max-width: 30rem; padding-left: 5rem; }
.step-no {
  position: absolute;
  top: -0.5rem;
  left: 0;
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--signal);
  font-size: 1.375rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
}
.step h3 { margin-bottom: 0.625rem; }
.step p { color: var(--fg-soft); font-size: 1.0625rem; }
.step-icons { display: flex; gap: 0.75rem; margin-top: 1rem; color: var(--signal); }
.route-back {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
  padding-left: clamp(2.5rem, 5vw, 4rem);
  color: var(--signal);
  font-size: var(--step-small);
}
.route-back .icon { width: 1.25rem; height: 1.25rem; }

/* ---------- useful, and safe ---------- */

#safe {
  background-image: repeating-radial-gradient(ellipse 130% 100% at 108% 112%, transparent 0 38px, var(--contour) 38px 39px);
}
.safe { display: grid; grid-template-columns: minmax(0, 24rem) minmax(0, 1fr); gap: 2.5rem clamp(3rem, 8vw, 8rem); align-items: start; }
.principles { max-width: 44rem; padding: 0; list-style: none; }
.principle { padding-block: 1.625rem; border-top: 1px solid var(--line); }
.principle:first-child { padding-top: 0; border-top: 0; }
.principle h3 { font-weight: 400; }
.principle p { margin-top: 0.5rem; color: var(--fg-soft); }
.principle .lamp-line { color: var(--lamp); font-weight: 400; font-size: var(--step-body); }

/* ---------- pricing ---------- */

.price-stage { position: relative; max-width: 42rem; margin: clamp(3rem, 6vw, 4.5rem) auto 0; }
.price-orbit, .price-orbit::after {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.price-orbit { inset: -14% -20%; border: 1px solid var(--line-paper); background: var(--orbit); }
.price-orbit::after { content: ""; inset: 9% 7%; border: 1px dashed var(--line-paper); }
.price-card {
  max-width: 42rem;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: var(--r-plate);
  text-align: center;
}
.price-card h3 { font-weight: 400; }
.price-figure { display: block; margin: 1.75rem 0 0.5rem; color: var(--ink); font-size: clamp(3.75rem, 2.2rem + 6vw, 6.75rem); line-height: 1; }
.price-note { color: var(--fg-soft); }
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-top: 1.75rem; padding: 0; list-style: none; }
.facts li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.5rem;
  padding: 0.375rem 1rem 0.375rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: var(--step-small);
  line-height: 1.25;
}
.facts .icon { width: 1.125rem; height: 1.125rem; color: var(--signal); stroke-width: 2; }
.price-card .desc { max-width: 44ch; margin: 1.75rem auto 0; }
.after-price { max-width: 58ch; margin: clamp(4rem, 8vw, 6rem) auto 0; color: var(--fg-soft); font-size: 1.0625rem; text-align: center; }

/* ---------- about ---------- */

.about { display: grid; grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); gap: 2.5rem clamp(3rem, 8vw, 8rem); align-items: center; }
.about-mark {
  display: grid;
  place-items: center;
  width: min(100%, 20rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 21px, var(--contour-strong) 21px 22px);
}
.about-mark img { width: 40%; height: auto; }
.about-text { max-width: var(--measure); color: var(--mist); }
.about-text .head { margin-bottom: 1.5rem; color: var(--paper); }
.about-text strong { color: var(--paper); font-weight: 500; }
.name-note { padding-top: 1.25rem; border-top: 1px solid var(--line); }
.name-note em { color: var(--paper); font-style: italic; }
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .about-mark { width: 11rem; }
}

/* ---------- contact ---------- */

.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 3.5rem clamp(3rem, 7vw, 7rem); align-items: start; }
.contact-actions { margin-top: 2.5rem; }
.contact-line { margin-top: 1.5rem; color: var(--mist); }
.email { text-decoration: underline wavy var(--signal-soft) 1px; text-underline-offset: 0.35em; }
.email:hover { text-decoration-color: var(--paper); }

.ledger { max-width: 52rem; margin-top: clamp(3.5rem, 7vw, 5.5rem); }
.contact .ledger { margin-top: 0; }
.ledger h3 { margin-bottom: 1.25rem; }
.ledger dl { display: grid; }
.ledger dl > div {
  display: grid;
  grid-template-columns: minmax(0, 13rem) minmax(0, 1fr);
  gap: 0.25rem 2rem;
  padding-block: 0.875rem;
  border-top: 1px solid var(--line);
  font-size: 1.0625rem;
}
.ledger dt { color: var(--mist); font-size: var(--step-small); padding-top: 0.15em; }
.ledger dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 1023px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .ledger dl > div { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */

.site-footer {
  position: relative;
  isolation: isolate;
  display: grid;
  justify-items: center;
  gap: 1.25rem;
  padding: clamp(5rem, 10vw, 8rem) var(--gutter) calc(2.5rem + env(safe-area-inset-bottom));
  text-align: center;
}
/* after a section in another light, the footer rises over it as a dome, like every other change of light */
.site-footer.arc-in { padding-top: calc(clamp(5rem, 10vw, 8rem) + var(--arc) * 0.4); }
main:has(+ .site-footer.arc-in) > .section:last-child { padding-bottom: calc(var(--section-space) + var(--arc)); }
.site-footer .logo { margin: 0; font-size: 1.5rem; }
.site-footer > :not(.loop) { position: relative; z-index: 1; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.25rem 1.5rem; padding: 0; list-style: none; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--mist); }
.footer-statement { font-size: var(--step-2); font-weight: 300; letter-spacing: -0.012em; }
.footer-line { max-width: 60ch; color: var(--mist); font-size: var(--step-small); }
.close-ring {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 1rem;
  width: min(100%, 46rem);
  min-height: clamp(15rem, 24vw, 19rem);
  margin-bottom: 0.5rem;
}
.close-ring .loop { z-index: 0; }
.close-ring > :not(.loop) { position: relative; z-index: 1; }

/* ---------- main page: narrow screens ---------- */

@media (max-width: 1023px) {
  .safe { grid-template-columns: 1fr; }
  .how-head { grid-template-columns: 1fr; }
  .how-photo { max-width: 34rem; }
}
@media (max-width: 760px) {
  .route { grid-template-columns: 1fr; gap: 3rem; padding-left: 1.5rem; }
  .route > .step:nth-child(3), .route > .step:nth-child(4) { grid-column: auto; grid-row: auto; }
  .step { padding-left: 4.5rem; }
  .route-back { padding-left: 1.5rem; }
  .how-photo { margin-inline: 0.5rem; }
  .price-orbit { inset: -6% -10%; }
}

/* ---------- solutions page ---------- */

/* first viewport: a person being helped in a large oval bleeding off the right, one segment of the loop across it */
.hero--solutions { min-height: min(92svh, 56rem); }
.hero--solutions .photo--hero { width: min(52%, 52rem); border-radius: 50% 0 0 50% / 56% 0 0 56%; }
.hero--solutions .photo--hero img { object-position: 42% 40%; }
.hero--solutions h1 { max-width: 13ch; text-wrap: balance; }
.hero--solutions .hero-sub { max-width: 34ch; }
@media (max-width: 760px) {
  .hero--solutions { min-height: auto; padding-top: 46svh; padding-bottom: 3rem; }
  .hero--solutions .photo--hero { height: 62svh; max-height: 36rem; border-radius: 0 0 50% 50% / 0 0 16% 16%; }
  .hero--solutions .photo--hero img { object-position: 40% 35%; }
  .hero--solutions h1 { max-width: none; }
}

/* a colleague: the name badge stays beside its words, demo and example while they scroll past */
.colleague { display: grid; grid-template-columns: minmax(15rem, 21rem) minmax(0, 1fr); gap: 2.5rem clamp(2.5rem, 6vw, 6rem); align-items: start; }
.colleague .body { max-width: 40rem; padding-top: 0.5rem; }
.colleague-text { max-width: var(--measure); }
/* the colleague's scene: a round photograph with a translucent blue plane layered behind it, off to one side */
.colleague-photo { position: relative; width: min(78%, 22rem); margin: clamp(2rem, 4vw, 3rem) 0 0 auto; }
.colleague-photo .mask-circle { position: relative; z-index: 1; }
.colleague-photo .mask-circle img { object-position: 50% 40%; }
.colleague-plane {
  position: absolute;
  inset: 12% 22% -8% -18%;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--halo), var(--halo-soft) 70%, transparent);
  filter: blur(6px);
}
.colleague-photo::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: -5% -5% -5% -5%;
  border: 1px solid var(--ring-dark);
  border-radius: 50%;
  pointer-events: none;
}
.light-paper .colleague-photo::after { border-color: var(--ring-paper); }
@media (max-width: 860px) { .colleague-photo { width: min(80%, 20rem); margin-inline: auto; } }
.light-paper .wink { color: var(--ink); font-weight: 500; }
@media (min-width: 861px) {
  .colleague > .card--badge { position: sticky; top: calc(var(--header-stuck) + 2rem); }   /* clear of the stuck header pill */
}
@media (max-width: 860px) { .colleague { grid-template-columns: 1fr; } .colleague > .card--badge { max-width: 26rem; } }

/* the demo: a small night screen wherever it sits */
.demo {
  position: relative;
  margin-top: 2.25rem;
  border: 1px solid var(--glass-line);
  border-radius: var(--r-card);
  background: var(--night);
  overflow: hidden;
}
.light-night .demo { background: var(--plane-night); }
.demo canvas { display: block; width: 100%; height: 18.5rem; }
[data-demo="sorting"] canvas { height: 20rem; }
[data-demo="analysis"] canvas { height: 13rem; }
[data-demo="drafting"] canvas { height: 11rem; }
html:not(.js) .demo { display: none; }

.example { margin-top: 1.75rem; padding: 1.25rem 1.5rem 1.375rem; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--plane); }
.light-paper .example { background: var(--paper-raised); }
.example .chip { min-height: 1.75rem; margin-bottom: 0.75rem; color: var(--fg); font-weight: 500; }
.example p { font-size: var(--step-small); line-height: 1.6; }

/* Guide: the line and the pill that opens the site's own chat */
.try {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-top: 2.25rem;
  padding: 1.25rem 1.25rem 1.25rem 1.75rem;
  border-radius: var(--r-pill);
  background: var(--indigo-deep);
  color: var(--paper);
}
.try-line { font-size: var(--step-2); font-weight: 300; letter-spacing: -0.01em; line-height: 1.3; }
@media (max-width: 560px) { .try { border-radius: var(--r-card); padding: 1.5rem; } .try .pill { width: 100%; justify-content: center; } }

/* #areas: seven rows, not a card grid; a figure only where the deck has a sourced one */
.areas { margin-top: clamp(2.5rem, 5vw, 4rem); padding: 0; list-style: none; border-top: 1px solid var(--line); }
.area-row {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1.15fr) minmax(0, 1fr) auto;
  gap: 1rem clamp(1.5rem, 3vw, 3rem);
  align-items: start;
  padding-block: 2rem;
  border-bottom: 1px solid var(--line);
}
.area-row > .icon { width: 2.25rem; height: 2.25rem; color: var(--signal); }
.area-words h3 { font-size: var(--step-2); font-weight: 500; letter-spacing: -0.012em; line-height: 1.25; }
.area-words p { margin-top: 0.5rem; max-width: 46ch; }
.area-words .area-who { color: var(--signal); font-size: var(--step-small); font-weight: 500; }
.area-figure { grid-column: 3; }
.area-figure .figure-no { font-size: clamp(2.5rem, 1.9rem + 1.8vw, 3.5rem); }
.area-figure .figure-text { max-width: 36ch; margin-top: 0.625rem; font-size: var(--step-small); line-height: 1.55; }
.area-figure .source { margin-top: 0.5rem; }
.area-ask {
  grid-column: 4;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.25rem 1.125rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  color: var(--signal);
  font-size: var(--step-small);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--dur-quick) var(--ease-return), color var(--dur-quick) var(--ease-return), border-color var(--dur-quick) var(--ease-return);
}
.area-ask:hover { border-color: var(--signal); background: var(--signal); color: var(--paper); }
@media (max-width: 1023px) {
  .area-row { grid-template-columns: 2.5rem minmax(0, 1fr) auto; }
  .area-figure { grid-column: 2; }
  .area-ask { grid-column: 3; grid-row: 1; }
}
@media (max-width: 640px) {
  .area-row { grid-template-columns: 2.25rem minmax(0, 1fr); padding-block: 1.75rem; }
  .area-row > .icon { width: 1.75rem; height: 1.75rem; }
  .area-ask { grid-column: 2; grid-row: auto; justify-self: start; }
}

/* #safe-use: five one-line promises, the colleague's name first */
.safe-list { max-width: 50rem; margin-top: 2.5rem; padding: 0; list-style: none; }
.safe-list li { padding-block: 1.125rem; border-top: 1px solid var(--line); color: var(--fg-soft); font-size: var(--step-body); }
.safe-list li:last-child { border-bottom: 1px solid var(--line); }
.safe-list strong { color: var(--paper); font-weight: 500; }
.more { color: var(--signal-soft); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.3em; }
.more:hover { color: var(--paper); }

.back { margin-top: 2rem; }

/* ---------- 404: the loop keeps turning; one page wandered off ---------- */

/* the planes end on a dome, not on a flat cut above the footer */
.hero--lost { min-height: min(88svh, 50rem); border-radius: 0 0 50% 50% / 0 0 var(--arc) var(--arc); }
.hero--lost h1 { max-width: 13ch; }
.hero--lost h1 .wink { color: var(--signal-soft); }
.lost-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; }
@media (max-width: 760px) {
  .hero--lost { min-height: min(100svh, 46rem); padding-top: 22rem; }
  .lost-actions .pill { width: 100%; justify-content: center; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* phones: every link in main is a 44 px target, even the ones that read as text */
.email, .more { display: inline-flex; align-items: center; min-height: 2.75rem; }
