/* ==========================================================================
   JPtheGeek site styles
   Hand-written CSS with no build step. Edit this file and re-run
   scripts/render_site.py so the ?v= stamp on every page changes.

   1 Tokens and themes     5 Header and menu     9 Home
   2 Base                  6 Footer             10 Page pieces
   3 Type                  7 Shared components  11 Motion
   4 Layout                8 Page hero          12 Reduced motion and print
   ========================================================================== */

/* 1 Tokens and themes ---------------------------------------------------- */

/* Preview-only: company font "Jesse" (Regular). Not for production. */
@font-face {
  font-family: "Jesse";
  src: url("/assets/fonts/jesse-regular.woff2") format("woff2"),
       url("/assets/fonts/jesse-regular.ttf") format("truetype");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  /* Jesse draws smaller on the em than the grotesque the type scale was set for. */
  size-adjust: 110%;
}

:root {
  --ink: #222831;
  --ink-deep: #191e25;
  --ink-raised: #2c333e;
  --paper: #f3f1ec;
  --paper-raised: #fcfbf8;
  --cyan: #00c6ff;
  --cyan-ink: #006e8e;
  --alarm: #ff6b5c;

  --font-display: "Jesse", "Bricolage Grotesque", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  /* Jesse is hand-drawn capitals: its 1, 6 and 0 read like I, b and O, and it has no lower case.
     Anything that has to be read exactly (figures, names, addresses, questions, and clients'
     own words) uses the plain face instead. */
  --font-plain: "Bricolage Grotesque", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-text: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;

  --wrap: 80rem;
  --gutter: clamp(1.25rem, 4.2vw, 3.5rem);
  --band-y: clamp(4.5rem, 9.5vw, 9rem);
  --radius: 1.25rem;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

body,
.t-ink,
.t-deep {
  --bg: var(--ink);
  --fg: #f5f8fb;
  --body: #c8d1db;
  --muted: #9ba8b6;
  --line: rgb(255 255 255 / .13);
  --line-2: rgb(255 255 255 / .3);
  --accent: var(--cyan);
  --on-accent: var(--ink);
  --raised: var(--ink-raised);
  --btn-bg: var(--cyan);
  --btn-fg: var(--ink);
  --btn-bg-h: #fff;
  --btn-fg-h: var(--ink);
  --fill: var(--cyan);
  --on-fill: var(--ink);
  --on-fill-soft: #1c2630;
  --focus: var(--cyan);
}

.t-deep {
  --bg: var(--ink-deep);
  --raised: #242b35;
}

.t-paper {
  --bg: var(--paper);
  --fg: var(--ink);
  --body: #3a4452;
  --muted: #5a6573;
  --line: rgb(34 40 49 / .16);
  --line-2: rgb(34 40 49 / .42);
  --accent: var(--cyan-ink);
  --on-accent: #fff;
  --raised: var(--paper-raised);
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  --btn-bg-h: var(--cyan);
  --btn-fg-h: var(--ink);
  --fill: var(--ink);
  --on-fill: #fff;
  --on-fill-soft: #c8d1db;
  --focus: var(--ink);
}

.t-cyan {
  --bg: var(--cyan);
  --fg: var(--ink);
  --body: #1c2630;
  --muted: #1f2b37;
  --line: rgb(34 40 49 / .28);
  --line-2: rgb(34 40 49 / .55);
  --accent: var(--ink);
  --on-accent: var(--cyan);
  --raised: #33d1ff;
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  --btn-bg-h: #fff;
  --btn-fg-h: var(--ink);
  --fill: var(--ink);
  --on-fill: #fff;
  --on-fill-soft: #c8d1db;
  --focus: var(--ink);
}

/* 2 Base ------------------------------------------------------------------ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 6rem;
  background: var(--ink-deep);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

html.is-locked,
html.is-locked body {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
}

/* A phone number is read as one thing, so it never breaks across two lines. */

a[href^="tel:"] {
  white-space: nowrap;
}

p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 3px;
}

::selection {
  background: var(--cyan);
  color: var(--ink);
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  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: 1rem;
  top: -5rem;
  z-index: 200;
  padding: .75rem 1.1rem;
  border-radius: 999px;
  background: var(--cyan);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  top: 1rem;
}

/* 3 Type ------------------------------------------------------------------ */

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--fg);
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
  text-wrap: balance;
}

.d-xl {
  font-size: clamp(3.6rem, 1.5rem + 11vw, 9.25rem);
  line-height: .9;
  letter-spacing: -.045em;
}

.d-l {
  font-size: clamp(2.65rem, 1.45rem + 5vw, 5.75rem);
  line-height: .95;
  letter-spacing: -.04em;
}

.d-m {
  font-size: clamp(2.1rem, 1.45rem + 2.7vw, 3.75rem);
  line-height: 1;
  letter-spacing: -.035em;
}

.d-s {
  font-size: clamp(1.55rem, 1.3rem + 1vw, 2.2rem);
  line-height: 1.06;
  letter-spacing: -.028em;
}

.d-xs {
  font-size: clamp(1.2rem, 1.12rem + .35vw, 1.4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.018em;
}

.label {
  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
}

.label b,
.label .n {
  color: var(--accent);
  font-weight: 500;
}

.label .n {
  margin-right: .9rem;
}

.lead {
  font-size: clamp(1.2rem, 1.08rem + .55vw, 1.5rem);
  line-height: 1.42;
  letter-spacing: -.012em;
  color: var(--body);
  text-wrap: pretty;
}

.lead strong,
.prose strong {
  color: var(--fg);
  font-weight: 600;
}

.mono {
  font-family: var(--font-mono);
  font-feature-settings: "tnum" 1, "zero" 0;
  letter-spacing: -.01em;
}

.prose {
  max-width: 41rem;
}

.prose > * + * {
  margin-top: 1.15em;
}

.prose p,
.prose li {
  text-wrap: pretty;
}

.prose h2 {
  margin-top: 2.6em;
}

.prose h3 {
  margin-top: 2em;
}

.prose > .label + h2,
.prose > .label + h3 {
  margin-top: 1.25rem;
}

.prose a,
.inline {
  color: var(--fg);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: .09em;
  text-underline-offset: .22em;
  transition: color .2s ease;
}

.prose a:hover,
.inline:hover {
  color: var(--accent);
}

.big {
  font-size: 1.2rem;
  line-height: 1.5;
}

.small {
  font-size: .925rem;
  line-height: 1.55;
}

.dim {
  color: var(--muted);
}

/* 4 Layout ---------------------------------------------------------------- */

.wrap {
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
}

.band {
  position: relative;
  padding-block: var(--band-y);
  background: var(--bg);
  color: var(--body);
}

.band--tight {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.band--flush {
  padding-top: 0;
}

.sec-head {
  display: grid;
  gap: 1.25rem 2rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.sec-head__intro {
  max-width: 34rem;
  font-size: 1.15rem;
  line-height: 1.5;
  text-wrap: pretty;
}

@media (min-width: 62rem) {
  .sec-head {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: end;
  }

  .sec-head .label {
    grid-column: 1 / -1;
  }

  .sec-head h2 {
    grid-column: 1 / span 7;
  }

  .sec-head__intro {
    grid-column: 9 / -1;
    padding-bottom: .35rem;
  }

  .sec-head--wide h2 {
    grid-column: 1 / span 10;
  }
}

.split {
  display: grid;
  gap: clamp(2.5rem, 6vw, 6rem);
}

@media (min-width: 62rem) {
  .split {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
  }

  .split--even {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .split--center {
    align-items: center;
  }

  .split--end {
    align-items: end;
  }

  .split__stick {
    position: sticky;
    top: 7rem;
  }
}

.mt-s {
  margin-top: 1.25rem;
}

.mt-m {
  margin-top: 2rem;
}

.mt-l {
  margin-top: clamp(3rem, 6vw, 5rem);
}

.stack > * + * {
  margin-top: 1.25rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .85rem 1.25rem;
}

/* 5 Buttons, links, badges ------------------------------------------------ */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 3.25rem;
  padding: .7rem 1.5rem;
  border: 1.5px solid var(--btn-bg);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.1;
  letter-spacing: -.005em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s var(--ease-out);
}

.btn:hover {
  background: var(--btn-bg-h);
  border-color: var(--btn-bg-h);
  color: var(--btn-fg-h);
}

.btn:active {
  transform: scale(.98);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line-2);
  color: var(--fg);
}

.btn--ghost:hover {
  background: var(--fg);
  border-color: var(--fg);
  color: var(--bg);
}

.btn--sm {
  min-height: 2.75rem;
  padding: .5rem 1.15rem;
  font-size: .95rem;
}

.btn--block {
  width: 100%;
}

@media (max-width: 26rem) {
  .btn {
    padding-inline: 1.2rem;
  }

  .actions {
    gap: .75rem;
  }
}

.arw {
  flex: none;
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .35s var(--ease-out);
}

a:hover > .arw,
.btn:hover > .arw {
  transform: translateX(.22em);
}

a:hover > .arw--out {
  transform: translate(.15em, -.15em);
}

.more {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding-block: .4rem;
  color: var(--fg);
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(var(--accent), var(--accent)) left bottom / 100% 1.5px no-repeat;
  transition: color .25s ease, background-size .45s var(--ease-out);
}

.more:hover {
  color: var(--accent);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .38rem .75rem .36rem;
  border: 1px dashed var(--accent);
  border-radius: 999px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: .09em;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge__dot {
  position: relative;
  flex: none;
  width: .42rem;
  height: .42rem;
  border-radius: 50%;
  background: currentColor;
}

.badge--soon .badge__dot::after {
  content: "";
  position: absolute;
  inset: -.3rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0;
  animation: ping 2.6s var(--ease-out) infinite;
}

.badge--live {
  border-style: solid;
  background: var(--accent);
  color: var(--on-accent);
}

.badge--date {
  border-style: solid;
}

/* 5 Header and menu ------------------------------------------------------- */

.util {
  position: relative;
  z-index: 61;
  background: var(--ink-deep);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .03em;
}

.util__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 2.5rem;
}

.util a {
  text-decoration: none;
  transition: color .2s ease;
}

.util a:hover {
  color: var(--fg);
}

.util__news {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  min-height: 2.5rem;
  color: var(--fg);
}

.util__news .badge__dot {
  color: var(--cyan);
}

.util__news u {
  text-decoration: none;
  color: var(--cyan);
}

.util__news .arw {
  width: .85em;
  height: .85em;
  color: var(--cyan);
}

.util__long {
  display: none;
}

@media (min-width: 30rem) {
  .util__long {
    display: inline;
  }

  .util__short {
    display: none;
  }
}

/* The one client link. It stays on the strip at every width. */
.util__portal {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 2.5rem;
  margin-left: auto;
  color: var(--fg);
  white-space: nowrap;
}

.util__portal .arw {
  width: .8em;
  height: .8em;
  color: var(--cyan);
}

.util__portal:hover {
  color: var(--cyan);
}

@media (max-width: 26rem) {
  .util__in {
    gap: .75rem;
  }

  .util__news .arw {
    display: none;
  }
}

.top {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgb(34 40 49 / .88);
  border-bottom: 1px solid transparent;
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  transition: border-color .3s ease, background-color .3s ease;
}

.top.is-stuck {
  border-bottom-color: var(--line);
  background: rgb(27 32 40 / .92);
}

.top__in {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2.25rem);
  height: 4.5rem;
  transition: height .35s var(--ease-out);
}

.brand {
  display: block;
  flex: none;
  border-radius: 6px;
}

.brand img {
  /* The CDN logo is dark ink on transparent. This flips it to white with the brand cyan curve. */
  filter: invert(1) hue-rotate(180deg) brightness(1.35) saturate(1.5);
}

.brand img {
  width: auto;
  height: 2.75rem;
  transition: height .35s var(--ease-out);
}

.nav {
  display: none;
}

.top__side {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-left: auto;
}

.top__tel {
  display: none;
  align-items: center;
  min-height: 2.75rem;
  color: var(--fg);
  font-family: var(--font-mono);
  font-size: .9rem;
  letter-spacing: -.01em;
  text-decoration: none;
  transition: color .2s ease;
}

.top__tel:hover {
  color: var(--cyan);
}

.top__call {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.top__call svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.top__book {
  display: none;
}

.burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0 .9rem;
  border: 1.5px solid var(--line-2);
  border-radius: 999px;
  background: transparent;
  color: var(--fg);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  cursor: pointer;
}

.burger__bars {
  display: grid;
  gap: 5px;
  width: 1.1rem;
}

.burger__bars i {
  display: block;
  height: 1.5px;
  background: currentColor;
}

@media (min-width: 70rem) {
  .top__in {
    height: 5.25rem;
  }

  .top.is-stuck .top__in {
    height: 4.25rem;
  }

  .brand img {
    height: 3.35rem;
  }

  .top.is-stuck .brand img {
    height: 2.85rem;
  }

  .burger,
  .top__call {
    display: none;
  }

  .top__book {
    display: inline-flex;
  }

  .nav {
    display: flex;
    align-items: center;
    gap: .1rem;
  }
}

@media (min-width: 80rem) {
  .top__tel {
    display: inline-flex;
  }

  .top__side {
    gap: 1.5rem;
  }
}

.nav__item {
  position: relative;
}

.nav__link,
.nav__trigger {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  height: 2.75rem;
  padding: 0 .85rem;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--body);
  font-size: .95rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: color .2s ease, background-color .2s ease;
}

.nav__link:hover,
.nav__trigger:hover,
.nav__item.is-open > .nav__trigger {
  color: var(--fg);
  background: rgb(255 255 255 / .08);
}

.nav__link[aria-current="page"],
.nav__item.is-current > .nav__trigger {
  color: var(--fg);
  box-shadow: inset 0 -1.5px 0 0 var(--cyan);
  border-radius: 0;
}

.nav__link[aria-current="page"]:hover,
.nav__item.is-current > .nav__trigger:hover {
  background: none;
}

.nav__chev {
  width: .7rem;
  height: .7rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .3s var(--ease-out);
}

.nav__item.is-open .nav__chev {
  transform: rotate(180deg);
}

.nav__panel {
  position: absolute;
  top: 100%;
  left: -1rem;
  padding-top: .65rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .35s var(--ease-out), visibility 0s linear .18s;
}

.nav__item.is-open > .nav__panel,
html:not(.js) .nav__item:hover > .nav__panel,
html:not(.js) .nav__item:focus-within > .nav__panel {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}

.nav__box {
  display: grid;
  gap: .25rem;
  width: max-content;
  padding: .6rem;
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  background: #161b22;
  box-shadow: 0 2.5rem 4rem -1.5rem rgb(0 0 0 / .65);
}

.nav__box--3 {
  grid-template-columns: repeat(3, 15.5rem);
  gap: .25rem .6rem;
}

.nav__box--2 {
  grid-template-columns: repeat(2, 16rem);
  gap: .25rem .6rem;
}

/* A second row in the three-column panel sits under a rule, apart from the sub-links above it. */
.nav__box--3 > :nth-child(n + 4) {
  margin-top: .35rem;
  padding-top: .6rem;
  border-top: 1px solid var(--line);
}

.nav__box--1 {
  grid-template-columns: 17rem;
}

.nav__feat {
  display: block;
  padding: .85rem .95rem .9rem;
  border-radius: .75rem;
  text-decoration: none;
  transition: background-color .2s ease;
}

.nav__feat:hover,
.nav__feat[aria-current="page"] {
  background: rgb(255 255 255 / .07);
}

.nav__feat-t {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--fg);
  font-family: var(--font-plain);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.15;
}

.nav__feat-t .arw {
  width: .8em;
  height: .8em;
  color: var(--cyan);
  opacity: 0;
  transform: translateX(-.3em);
  transition: opacity .2s ease, transform .35s var(--ease-out);
}

.nav__feat:hover .arw {
  opacity: 1;
  transform: none;
}

.nav__feat-d {
  display: block;
  margin-top: .3rem;
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.4;
  white-space: normal;
}

.nav__tag {
  padding: .12rem .4rem;
  border: 1px dashed currentColor;
  border-radius: 999px;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.nav__tag--live {
  border-style: solid;
}

.nav__sub {
  margin: .1rem .35rem .35rem;
  padding-top: .45rem;
  border-top: 1px solid var(--line);
}

.nav__sub a {
  display: flex;
  align-items: center;
  min-height: 2.25rem;
  padding: 0 .6rem;
  border-radius: .5rem;
  color: var(--body);
  font-size: .9rem;
  text-decoration: none;
  transition: color .2s ease, background-color .2s ease;
}

.nav__sub a:hover,
.nav__sub a[aria-current="page"] {
  color: var(--fg);
  background: rgb(255 255 255 / .07);
}

/* Mobile menu */

.menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  background: var(--ink-deep);
  color: var(--body);
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  transition: opacity .25s ease;
}

.menu.is-open {
  opacity: 1;
}

.menu__top {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: none;
  height: 4.5rem;
  padding-inline: var(--gutter);
  background: var(--ink-deep);
  border-bottom: 1px solid var(--line);
}

.menu__top img {
  width: auto;
  height: 2.75rem;
}

.menu__body {
  flex: 1;
  padding: 1.75rem var(--gutter) 2.5rem;
}

.menu__group + .menu__group {
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.menu__group > .label {
  margin-bottom: .6rem;
}

.menu__big {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.1rem;
  color: var(--fg);
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.05;
  text-decoration: none;
}

.menu__big[aria-current="page"] {
  color: var(--cyan);
}

.menu__big .nav__tag {
  flex: none;
  letter-spacing: .08em;
}

.menu__subs {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: .35rem 0 .9rem;
}

.menu__subs a {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0 .9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--body);
  font-size: .925rem;
  text-decoration: none;
}

.menu__subs a[aria-current="page"] {
  border-color: var(--cyan);
  color: var(--fg);
}

.menu__foot {
  flex: none;
  padding: 1.5rem var(--gutter) 2rem;
  border-top: 1px solid var(--line);
  background: var(--ink);
}

.menu__tel {
  display: block;
  margin: .35rem 0 1.1rem;
  color: var(--fg);
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  text-decoration: none;
}

.menu__clients {
  margin-top: 1.25rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .03em;
}

.menu__clients a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 2.5rem;
  margin-left: .35rem;
  color: var(--fg);
  text-decoration: none;
}

.menu__clients .arw {
  width: .8em;
  height: .8em;
  color: var(--cyan);
}

.menu.is-open .menu__group,
.menu.is-open .menu__foot {
  animation: rise-in .6s var(--ease-out) both;
}

.menu.is-open .menu__group:nth-child(2) {
  animation-delay: .06s;
}

.menu.is-open .menu__group:nth-child(3) {
  animation-delay: .12s;
}

.menu.is-open .menu__foot {
  animation-delay: .18s;
}

/* 6 Footer ---------------------------------------------------------------- */

.foot {
  padding-block: clamp(4rem, 8vw, 7rem) 2rem;
  background: var(--bg);
  color: var(--body);
}

.foot__say {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line);
}

.foot__say p:first-child {
  color: var(--fg);
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4.75rem);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.04em;
}

.foot__top {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 2.75rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color .2s ease;
}

.foot__top:hover {
  color: var(--cyan);
}

.foot__top .arw {
  transform: rotate(-90deg);
}

.foot__say em {
  color: var(--cyan);
  font-style: normal;
  white-space: nowrap;
}

.foot__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.75rem 1.5rem;
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.foot__id {
  grid-column: 1 / -1;
}

.foot__id img {
  width: auto;
  height: 4.25rem;
}

.foot__id address {
  margin-top: 1.5rem;
  font-style: normal;
  line-height: 1.7;
}

.foot__id a,
.foot__col a {
  text-decoration: none;
  transition: color .2s ease;
}

.foot__id a:hover,
.foot__col a:hover,
.foot__base a:hover {
  color: var(--cyan);
}

.foot__id .mono {
  color: var(--fg);
}

.foot__col h2 {
  margin-bottom: .9rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .09em;
  line-height: 1.35;
  text-transform: uppercase;
}

.foot__col a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 2.25rem;
  color: var(--fg);
}

.foot__col .arw {
  width: .75em;
  height: .75em;
  color: var(--muted);
}

/* The client link under the Company column: a small outlined button. */
.foot__col .foot__portal {
  margin-top: 1rem;
  min-height: 2.5rem;
  padding: 0 .9rem;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .03em;
  transition: color .2s ease, border-color .2s ease;
}

.foot__col .foot__portal:hover {
  border-color: var(--cyan);
}

.foot__col .foot__portal .arw {
  color: var(--cyan);
}

.foot__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .02em;
}

.foot__base ul {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem 1.5rem;
}

.foot__base a {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  text-decoration: none;
  transition: color .2s ease;
}

@media (min-width: 48rem) {
  .foot__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (min-width: 70rem) {
  .foot__grid {
    grid-template-columns: minmax(0, 4fr) repeat(4, minmax(0, 2fr));
    gap: 3rem 2rem;
  }

  .foot__id {
    grid-column: auto;
  }
}

/* 7 Shared components ----------------------------------------------------- */

/* Index rows: a numbered list of destinations. The whole row is the link. */

.rows {
  border-bottom: 1px solid var(--line);
}

.row {
  position: relative;
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr) 1.5rem;
  gap: .6rem 1rem;
  align-items: start;
  padding-block: 1.75rem;
  border-top: 1px solid var(--line);
}

.row::before {
  content: "";
  position: absolute;
  inset: -1px calc(var(--gutter) * -.5) 0;
  z-index: 0;
  background: var(--fill);
  transform: scaleY(0);
  transform-origin: 50% 100%;
  transition: transform .5s var(--ease-out);
}

.row > * {
  position: relative;
  z-index: 1;
}

.row__n {
  padding-top: .45em;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .04em;
  transition: color .3s ease;
}

.row__title {
  grid-column: 2;
  font-size: clamp(1.75rem, 1.2rem + 2.6vw, 3.4rem);
  line-height: 1;
  letter-spacing: -.038em;
  transition: color .3s ease;
}

.row__title a {
  text-decoration: none;
}

.row__title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.row__title a:focus-visible {
  outline: none;
}

.row:has(.row__title a:focus-visible) {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}

.row__body {
  grid-column: 2 / -1;
  max-width: 38rem;
  transition: color .3s ease;
}

.row__body p {
  text-wrap: pretty;
}

.row__body .row__tag {
  margin-bottom: .6rem;
  color: var(--accent);
}

.row__links {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1rem;
}

.row__links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0 .95rem;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--fg);
  font-size: .9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color .25s ease, background-color .25s ease, border-color .25s ease;
}

.row__go {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  padding-top: .5rem;
  color: var(--fg);
  transition: color .3s ease, transform .5s var(--ease-out);
}

.row__go .arw {
  width: 1.5rem;
  height: 1.5rem;
  stroke-width: 1.5;
}

.row--static::before {
  display: none;
}

@media (min-width: 62rem) {
  .row {
    grid-template-columns: 4.5rem minmax(0, 5fr) minmax(0, 6fr) 3rem;
    gap: 0 2rem;
    padding-block: 2.4rem;
  }

  .row__n {
    padding-top: .9em;
  }

  .row__body {
    grid-column: 3;
    padding-top: .5rem;
  }

  .row__go {
    grid-column: 4;
    padding-top: .75rem;
  }

  .row__go .arw {
    width: 2rem;
    height: 2rem;
  }
}

@media (hover: hover) {
  .row:not(.row--static):hover::before {
    transform: scaleY(1);
  }

  .row:not(.row--static):hover .row__title,
  .row:not(.row--static):hover .row__go {
    color: var(--on-fill);
  }

  .row:not(.row--static):hover .row__body {
    color: var(--on-fill-soft);
  }

  .row:not(.row--static):hover .row__n {
    color: var(--on-fill);
  }

  .t-paper .row:not(.row--static):hover .row__n,
  .t-paper .row:not(.row--static):hover .row__go,
  .t-cyan .row:not(.row--static):hover .row__go {
    color: var(--cyan);
  }

  .row:not(.row--static):hover .row__go {
    transform: translateX(.4rem);
  }

  .row:not(.row--static):hover .row__links a {
    border-color: currentColor;
    color: var(--on-fill);
  }

  .row:not(.row--static) .row__links a:hover {
    background: var(--on-fill);
    border-color: var(--on-fill);
    color: var(--fill);
  }

  .row__links a:hover {
    background: var(--fg);
    border-color: var(--fg);
    color: var(--bg);
  }
}

/* Spec list: term on the left, plain explanation on the right. */

.spec {
  border-bottom: 1px solid var(--line);
}

.spec__row {
  display: grid;
  gap: .5rem 2rem;
  padding-block: 1.6rem;
  border-top: 1px solid var(--line);
}

.spec dt {
  color: var(--fg);
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.15rem + .6vw, 1.6rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.022em;
}

.spec dt small {
  display: block;
  margin-bottom: .55rem;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.spec dd {
  max-width: 40rem;
  text-wrap: pretty;
}

.spec dd > * + * {
  margin-top: .75rem;
}

@media (min-width: 48rem) {
  .spec__row {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    padding-block: 2rem;
  }
}

/* Steps: an ordered process with a track line. */

.steps {
  display: grid;
  gap: 2.25rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding-left: 3.25rem;
  counter-increment: step;
}

.step::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -.15rem;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: .8rem;
}

.step::after {
  content: "";
  position: absolute;
  left: 1.125rem;
  top: 2.5rem;
  bottom: -1.9rem;
  width: 1px;
  background: var(--line-2);
}

.step:last-child::after {
  display: none;
}

.step h3 {
  margin-bottom: .6rem;
}

.step p {
  max-width: 30rem;
  text-wrap: pretty;
}

@media (min-width: 62rem) {
  .steps--across {
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }

  .steps--across .step {
    padding: 3.75rem 0 0;
  }

  .steps--across .step::before {
    top: 0;
  }

  .steps--across .step::after {
    left: 2.75rem;
    right: -2rem;
    top: 1.125rem;
    bottom: auto;
    width: auto;
    height: 1px;
  }
}

/* Ticks: a short list with a dash marker. */

.ticks > li {
  position: relative;
  padding-left: 1.75rem;
  text-wrap: pretty;
}

.ticks > li + li {
  margin-top: .8rem;
}

.ticks > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .78em;
  width: .9rem;
  height: 2px;
  background: var(--accent);
}

.ticks strong {
  color: var(--fg);
  font-weight: 600;
}

.ticks--rule > li {
  padding-block: 1.1rem;
  border-top: 1px solid var(--line);
}

.ticks--rule > li + li {
  margin-top: 0;
}

.ticks--rule > li::before {
  top: calc(1.1rem + .78em);
}

/* Callout: a ruled box with its label sitting on the border. */

.callout {
  position: relative;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border: 1.5px solid var(--accent);
  border-radius: var(--radius);
}

.callout__tag {
  position: absolute;
  top: 0;
  left: clamp(1.25rem, 3.4vw, 2.25rem);
  padding: 0 .6rem;
  background: var(--bg);
  color: var(--accent);
  transform: translateY(-50%);
}

.callout__big {
  color: var(--fg);
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 1.45rem + 1.9vw, 2.9rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.035em;
}

.callout__big a {
  text-decoration: none;
  transition: color .2s ease;
}

.callout__big a:hover {
  color: var(--accent);
}

.callout > * + * {
  margin-top: 1rem;
}

.callout p:not([class]) {
  max-width: 38rem;
  text-wrap: pretty;
}

/* Statement: one large line with a short paragraph beside it. */

.statement {
  display: grid;
  gap: 1.75rem 4rem;
}

.statement__big {
  color: var(--fg);
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 1.2rem + 5vw, 5.75rem);
  font-weight: 800;
  line-height: .96;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.statement__big em {
  color: var(--accent);
  font-style: normal;
}

.statement__body {
  max-width: 30rem;
  font-size: 1.15rem;
  line-height: 1.5;
}

.statement__body > * + * {
  margin-top: 1rem;
}

@media (min-width: 62rem) {
  .statement {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: end;
  }

  .statement > .label,
  .statement__pre {
    grid-column: 1 / -1;
  }

  .statement__big {
    grid-column: 1 / span 8;
  }

  .statement__body {
    grid-column: 9 / -1;
    padding-bottom: .5rem;
  }
}

/* Quotes */

.quote blockquote {
  color: var(--fg);
  font-family: var(--font-plain);
  font-weight: 700;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.quote blockquote p {
  text-indent: -.42em;
}

.quote figcaption {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-top: 1.5rem;
  color: var(--muted);
}

.quote figcaption::before {
  content: "";
  flex: none;
  width: 2rem;
  height: 1.5px;
  background: var(--accent);
}

.quote figcaption b {
  color: var(--fg);
  font-weight: 600;
}

.quote--xl blockquote {
  font-size: clamp(2.1rem, 1.2rem + 4vw, 4.6rem);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.04em;
}

.quote--l blockquote {
  font-size: clamp(1.6rem, 1.2rem + 1.7vw, 2.6rem);
  line-height: 1.08;
  letter-spacing: -.03em;
}

.quote--m blockquote {
  font-size: clamp(1.25rem, 1.15rem + .5vw, 1.5rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.018em;
}

/* Contact band: one per page, solid cyan. The line leads. The number sits beside the button,
   in the plain face so every digit reads at a glance. */

.cta {
  overflow: hidden;
}

.cta__title {
  max-width: 16ch;
  margin-top: 1.25rem;
  text-wrap: balance;
}

.cta__smile {
  width: min(62%, 30rem);
  height: clamp(.8rem, 1.6vw, 1.4rem);
  margin-top: clamp(.9rem, 1.6vw, 1.4rem);
  fill: var(--ink);
}

.cta__row {
  display: grid;
  gap: 1.75rem 3rem;
  margin-top: clamp(2rem, 4vw, 3.25rem);
}

.cta__row p {
  max-width: 31rem;
  font-size: 1.15rem;
  line-height: 1.5;
  text-wrap: pretty;
}

.cta__act {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2.25rem;
}

.cta__tel {
  display: grid;
  gap: .3rem;
  color: var(--fg);
  text-decoration: none;
}

.cta__tel span {
  font-family: var(--font-plain);
  font-size: clamp(1.85rem, 1.5rem + 1.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
  white-space: nowrap;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: .07em;
  text-underline-offset: .16em;
  transition: text-decoration-color .2s ease;
}

.cta__tel:hover span {
  text-decoration-color: currentColor;
}

.cta__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem 2.5rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  color: var(--body);
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .02em;
}

.cta__meta a,
.cta__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
}

.cta__meta a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .25em;
}

@media (min-width: 62rem) {
  .cta__row {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }
}

/* Related: a ruled set of onward links at the foot of a page. */

.related {
  display: grid;
  border-top: 1px solid var(--line);
}

.related a {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .35rem 1.5rem;
  align-items: center;
  padding-block: 1.5rem;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.related b {
  color: var(--fg);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.2rem + .7vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.1;
  transition: color .25s ease;
}

.related span {
  grid-column: 1;
  color: var(--muted);
  font-size: .95rem;
}

.related .arw {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 1.5rem;
  height: 1.5rem;
  color: var(--accent);
}

.related a:hover b {
  color: var(--accent);
}

@media (min-width: 62rem) {
  .related--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 3rem;
  }

  .related--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 3rem;
  }
}

/* FAQ */

.faq {
  border-bottom: 1px solid var(--line);
}

.faq details {
  border-top: 1px solid var(--line);
}

.faq summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  padding-block: 1.4rem;
  color: var(--fg);
  font-family: var(--font-plain);
  font-size: clamp(1.2rem, 1.1rem + .45vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.2;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary i {
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
  border: 1.5px solid var(--line-2);
  border-radius: 50%;
  transition: background-color .25s ease, border-color .25s ease, transform .4s var(--ease-out);
}

.faq summary i::before,
.faq summary i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: .8rem;
  height: 1.5px;
  background: var(--fg);
  transform: translate(-50%, -50%);
  transition: background-color .25s ease, transform .4s var(--ease-out);
}

.faq summary i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq details[open] summary i {
  background: var(--accent);
  border-color: var(--accent);
  transform: rotate(180deg);
}

.faq details[open] summary i::before,
.faq details[open] summary i::after {
  background: var(--on-accent);
}

.faq details[open] summary i::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq__a {
  max-width: 42rem;
  padding-bottom: 1.6rem;
  text-wrap: pretty;
}

/* Date plate: the one date on the site. */

.plate {
  display: inline-grid;
  justify-items: center;
  min-width: 6.5rem;
  padding: .7rem 1rem .8rem;
  border-radius: 1rem;
  background: var(--cyan);
  color: var(--ink);
  line-height: 1;
  text-align: center;
}

.plate__dow,
.plate__mon {
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.plate__day {
  margin-block: .15rem .1rem;
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: .9;
}

.plate--xl {
  min-width: 11rem;
  padding: 1.25rem 1.5rem 1.4rem;
  border-radius: 1.5rem;
}

.plate--xl .plate__dow,
.plate--xl .plate__mon {
  font-size: .95rem;
}

.plate--xl .plate__day {
  font-size: clamp(6rem, 4rem + 8vw, 10rem);
}

/* 8 Page hero ------------------------------------------------------------- */

.phero {
  position: relative;
  padding-block: clamp(2rem, 4vw, 3.25rem) clamp(3.5rem, 7vw, 6.5rem);
  background: var(--bg);
  color: var(--body);
  overflow: hidden;
}

.phero::before,
.phero::after {
  content: "";
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
}

.phero::before {
  right: -22rem;
  top: -34rem;
  width: 62rem;
  height: 62rem;
  border: 1px solid var(--line);
}

.phero::after {
  right: -31rem;
  top: -43rem;
  width: 80rem;
  height: 80rem;
  border: 1px dashed var(--line);
}

.phero > .wrap {
  position: relative;
  z-index: 1;
}

.crumbs {
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .04em;
  color: var(--muted);
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 .65rem;
}

.crumbs li {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  min-height: 2rem;
}

.crumbs li + li::before {
  content: "/";
  color: var(--line-2);
}

.crumbs a {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  text-decoration: none;
  transition: color .2s ease;
}

.crumbs a:hover {
  color: var(--accent);
}

.crumbs [aria-current] {
  color: var(--fg);
}

.phero__grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
}

.phero__kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem 1rem;
  margin-bottom: 1.5rem;
}

.phero h1 {
  max-width: 17ch;
}

.phero h1 em {
  color: var(--accent);
  font-style: normal;
}

.phero .lead {
  max-width: 40rem;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
}

.phero .actions {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}

.phero__aside {
  align-self: end;
}

.phero__date {
  display: grid;
  justify-items: start;
  gap: 1.25rem;
  text-decoration: none;
}

.phero__date .plate {
  transform: rotate(-4deg);
  box-shadow: 0 2.5rem 4rem -2rem rgb(0 0 0 / .65);
}

.phero__date .label {
  transition: color .2s ease;
}

.phero__date:hover .label {
  color: var(--accent);
}

@media (min-width: 62rem) {
  .phero__date {
    justify-items: end;
    text-align: right;
  }
}

@media (min-width: 62rem) {
  .phero__grid--aside {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: end;
  }

  .phero__grid--wide-aside {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
  }
}

/* Hero visuals: the small line drawings beside a page hero (scripts/sitegen/visuals.py).
   Drawn on a 480 unit square, so every length below is in those units. Each one is
   complete while standing still: the motion is extra, never the message. */

.viz {
  --v-theo: #a99bff;
  --v-theo-text: #cfc6ff;
  --v-theo-disc: #14151f;
  width: min(100%, 31rem);
  margin-inline: auto;
  container-type: inline-size;
}

.t-paper .viz {
  --v-theo: #5b45d6;
  --v-theo-text: #4a36bd;
}

.viz svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (min-width: 62rem) {
  .phero__grid--aside .viz {
    margin-right: 0;
  }

  .phero__grid--aside:has(.viz) {
    align-items: center;
  }
}

.v-line {
  stroke: var(--line-2);
}

.v-faint {
  stroke: var(--line);
}

.v-dash {
  stroke-dasharray: 3 9;
}

.v-cy {
  stroke: var(--accent);
}

.v-cy--soft {
  stroke-opacity: .45;
}

.v-alarm {
  stroke: var(--alarm);
  stroke-width: 2.2;
}

.v-on {
  stroke: var(--on-accent);
  stroke-width: 2;
}

.v-thick {
  stroke-width: 3.2;
}

.v-ico {
  stroke: var(--fg);
}

.v-ico--cy {
  stroke: var(--accent);
}

.v-ico--alarm {
  stroke: var(--alarm);
}

.v-ico--theo {
  stroke: var(--v-theo-text);
}

.v-node {
  fill: var(--bg);
  stroke: var(--line-2);
}

.v-node--cy {
  stroke: var(--accent);
}

.v-node--theo {
  fill: var(--v-theo-disc);
  stroke: var(--v-theo);
}

.v-node--dash {
  stroke-dasharray: 4 6;
}

.v-node--solid {
  fill: var(--raised);
}

.v-node--alarm {
  stroke: var(--alarm);
}

.v-core {
  fill: var(--accent);
}

/* The space inside the ring on the incident response drawing, and the ring itself. */
.v-zone {
  fill: color-mix(in srgb, var(--alarm) 7%, transparent);
}

.v-wall {
  stroke-width: 2.6;
}

/* The filled shape on the assessment drawing. */
.v-web {
  fill: color-mix(in srgb, var(--accent) 11%, transparent);
  stroke-width: 2.2;
}

.v-halo {
  fill: color-mix(in srgb, var(--accent) 9%, transparent);
  stroke: color-mix(in srgb, var(--accent) 38%, transparent);
}

.v-disc {
  fill: color-mix(in srgb, var(--fg) 4%, transparent);
}

.v-disc--cy {
  fill: color-mix(in srgb, var(--accent) 9%, transparent);
}

.v-panel {
  fill: var(--raised);
  stroke: var(--line-2);
}

.v-panel--back {
  fill: var(--bg);
  stroke: var(--line);
}

.v-bar {
  fill: color-mix(in srgb, var(--fg) 62%, transparent);
}

.v-bar--soft {
  fill: var(--line-2);
}

.v-bar--cy {
  fill: var(--accent);
}

.v-bar--alarm {
  fill: var(--alarm);
}

.v-bar--alarm2 {
  fill: color-mix(in srgb, var(--alarm) 55%, transparent);
}

.v-av {
  fill: var(--line-2);
}

.v-flag {
  fill: color-mix(in srgb, var(--alarm) 13%, transparent);
  stroke: var(--alarm);
}

.v-flag-av {
  fill: color-mix(in srgb, var(--alarm) 45%, transparent);
}

.v-wedge {
  fill: color-mix(in srgb, var(--accent) 7%, transparent);
}

.v-dot {
  fill: var(--muted);
}

.v-dot--fg {
  fill: var(--fg);
}

.v-dot--cy {
  fill: var(--accent);
}

.v-dot--alarm {
  fill: var(--alarm);
}

.v-dot--theo {
  fill: var(--v-theo);
}

.v-gone {
  opacity: .55;
}

/* Words sit on a thin outline in the background colour, so a line passing behind never runs through them. */
.v-txt {
  fill: var(--muted);
  stroke: var(--bg);
  stroke-width: 7;
  paint-order: stroke fill;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .09em;
}

.v-txt--bare {
  stroke: none;
}

.v-txt--fg {
  fill: var(--fg);
}

.v-txt--cy {
  fill: var(--accent);
}

.v-txt--theo {
  fill: var(--v-theo-text);
}

.v-txt--on {
  fill: var(--on-accent);
  stroke: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
}

/* Small screens draw the picture smaller, so the words are set a little larger to keep up. */
@container (max-width: 25rem) {
  .v-txt {
    font-size: 15px;
    letter-spacing: .05em;
  }

  .v-txt--on {
    font-size: 13px;
    letter-spacing: .03em;
  }
}

/* THEO, where a drawing has it in the middle. */

.v-theo-halo {
  fill: color-mix(in srgb, var(--v-theo) 11%, transparent);
  stroke: color-mix(in srgb, var(--v-theo) 45%, transparent);
}

.v-theo-disc {
  fill: var(--v-theo-disc);
  stroke: var(--v-theo);
  stroke-width: 2;
}

.v-theo-ring {
  stroke: color-mix(in srgb, var(--v-theo) 60%, transparent);
  stroke-dasharray: 2 8;
}

.v-theo-ant {
  stroke: var(--v-theo);
  stroke-width: 1.7;
}

.v-theo-tip,
.v-theo-shell {
  fill: var(--v-theo);
}

.v-theo-visor {
  fill: var(--v-theo-disc);
}

.v-theo-eyes {
  fill: #fff;
  transform-box: fill-box;
  transform-origin: center;
  animation: v-blink 6s ease-in-out infinite;
}

/* Moving parts. */

.v-spin {
  transform-origin: 240px 240px;
  animation: spin 60s linear infinite;
}

.v-spin--rev,
.v-gear--rev {
  animation-direction: reverse;
}

.v-sweep {
  /* At rest the sweep sits just past the first thing it found. */
  rotate: 78deg;
  animation: v-sweep 7s linear infinite;
}

.v-hand-h {
  rotate: -15deg;
  animation-duration: 720s;
}

.v-hand-m {
  rotate: 96deg;
  animation-duration: 60s;
}

.v-gear {
  animation: spin 40s linear infinite;
}

.v-flow {
  stroke: var(--accent);
  stroke-width: 2.4;
  stroke-dasharray: 14 200;
  stroke-dashoffset: -43;
  animation: v-flow 3.2s linear infinite;
}

.v-flow--theo {
  stroke: var(--v-theo);
}

.v-flow--cy {
  stroke-width: 3;
}

.v-flow--slow {
  animation-duration: 5.5s;
}

.v-flow--beat {
  stroke-dasharray: 26 200;
  stroke-width: 2.6;
  animation-duration: 3.6s;
}

.v-flow--ring {
  stroke-dasharray: 5 200;
  animation-duration: 16s;
}

.v-flow--fg {
  stroke: var(--fg);
}

.v-ping {
  stroke: var(--accent);
  opacity: .28;
  transform-box: fill-box;
  transform-origin: center;
  animation: v-ping 3.2s var(--ease-out) infinite;
}

.v-ping--alarm {
  stroke: var(--alarm);
}

.v-ping--theo {
  stroke: var(--v-theo);
}

.v-blip {
  animation: v-blip 7s linear infinite;
}

.v-threat {
  fill: var(--alarm);
  transform-box: fill-box;
  transform-origin: center;
  animation: v-threat 6.8s ease-in infinite;
}

.v-nudge {
  animation: v-nudge 6s ease-in-out infinite alternate;
}

.v-nudge--rev {
  animation-direction: alternate-reverse;
}

.v-scan {
  opacity: 0;
  animation: v-scan 6.5s ease-in-out infinite;
}

.v-type {
  transform-box: fill-box;
  transform-origin: right center;
  animation: v-type 9s var(--ease-out) infinite;
}

.v-tag {
  animation: v-bob 4.5s ease-in-out infinite alternate;
}

.v-beat {
  transform-box: fill-box;
  transform-origin: center;
  animation: v-beat 2.4s ease-in-out infinite;
}

.v-period {
  stroke-width: 5;
}

.v-belt {
  animation: v-belt 9s linear infinite;
}

.v-trolley {
  animation: v-trolley 11s ease-in-out infinite alternate;
}

.v-hook {
  transform-origin: 308px 121px;
  animation: v-sway 5.5s ease-in-out infinite alternate;
}

.v-wifi {
  animation: v-wifi 2.6s ease-in-out infinite;
}

.v-frame {
  transform-origin: 240px 230px;
  animation: v-frame 3.4s ease-in-out infinite alternate;
}

@keyframes v-frame {
  to {
    transform: scale(1.035);
  }
}

@keyframes v-flow {
  from {
    stroke-dashoffset: 14;
  }

  to {
    stroke-dashoffset: -100;
  }
}

@keyframes v-sweep {
  from {
    rotate: 0deg;
  }

  to {
    rotate: 360deg;
  }
}

@keyframes v-ping {
  0% {
    opacity: .75;
    transform: scale(.5);
  }

  70%,
  100% {
    opacity: 0;
    transform: scale(1.9);
  }
}

@keyframes v-blip {
  0% {
    opacity: 1;
  }

  75%,
  99% {
    opacity: .4;
  }
}

@keyframes v-blink {
  0%,
  46%,
  50%,
  100% {
    transform: scaleY(1);
  }

  48% {
    transform: scaleY(.12);
  }
}

@keyframes v-threat {
  0% {
    opacity: 0;
    transform: translateY(-22px);
  }

  18% {
    opacity: 1;
  }

  55% {
    opacity: 1;
    transform: translateY(0);
  }

  75%,
  100% {
    opacity: 0;
    transform: translateY(0) scale(2.4);
  }
}

@keyframes v-nudge {
  from {
    transform: translateX(-5px);
  }

  to {
    transform: translateX(5px);
  }
}

@keyframes v-scan {
  0% {
    opacity: 0;
    transform: translateY(0);
  }

  12%,
  88% {
    opacity: .9;
  }

  100% {
    opacity: 0;
    transform: translateY(264px);
  }
}

@keyframes v-type {
  0%,
  16%,
  100% {
    transform: scaleX(1);
  }

  4% {
    transform: scaleX(0);
  }
}

@keyframes v-bob {
  from {
    transform: translateY(3px);
  }

  to {
    transform: translateY(-4px);
  }
}

@keyframes v-beat {
  0%,
  30%,
  100% {
    transform: scale(1);
  }

  10% {
    transform: scale(1.09);
  }

  20% {
    transform: scale(.98);
  }
}

@keyframes v-belt {
  to {
    transform: translateX(126px);
  }
}

@keyframes v-trolley {
  from {
    transform: translateX(-58px);
  }

  to {
    transform: translateX(46px);
  }
}

@keyframes v-sway {
  from {
    transform: rotate(-2.2deg);
  }

  to {
    transform: rotate(2.2deg);
  }
}

@keyframes v-wifi {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: .25;
  }
}

/* Fact list used beside page heroes and in bands. */

.facts {
  border-top: 1px solid var(--line);
}

.facts > div {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 1rem;
  align-items: baseline;
  padding-block: .95rem;
  border-bottom: 1px solid var(--line);
}

.facts dt {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.facts dd {
  color: var(--fg);
  font-weight: 500;
}

.facts dd a {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: .09em;
  text-underline-offset: .22em;
}

/* 9 Home ------------------------------------------------------------------ */

.hero {
  position: relative;
  background: var(--bg);
  color: var(--body);
}

.hero__stage {
  overflow: hidden;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 3rem;
  padding-block: clamp(2.75rem, 6vw, 5.5rem) clamp(3rem, 5vw, 4.5rem);
}

.hero__eyebrow {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .9rem;
  margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
}

.hero__eyebrow i {
  color: var(--cyan);
  font-style: normal;
}

/* The swash hangs .2em below the last line, and that grows with the heading. So the space under it
   is set here, in the heading's own em. It collapses with the lead's top margin, and the larger wins. */
.hero__title {
  margin-bottom: calc(.2em + 1.25rem);
  margin-left: -.04em;
}

.hero__title .ln {
  display: block;
  padding-block: .06em .12em;
  margin-block: -.06em -.12em;
  overflow: hidden;
}

.hero__title .ln > span {
  display: block;
  animation: line-up 1s var(--ease-out) both;
  animation-delay: calc(var(--i, 0) * .09s + .05s);
}

.hero__title .ln:last-child {
  padding-bottom: .34em;
  margin-bottom: -.34em;
}

.smile {
  position: relative;
  display: inline-block;
  color: var(--cyan);
}

.smile svg {
  position: absolute;
  left: -1%;
  bottom: -.2em;
  width: 104%;
  height: .21em;
  fill: var(--cyan);
  overflow: visible;
  animation: wipe .9s var(--ease-io) .75s both;
}

.hero__lead {
  max-width: 35rem;
  margin-top: clamp(2rem, 3.5vw, 3rem);
  animation: rise-in .9s var(--ease-out) .45s both;
}

.hero .actions {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  animation: rise-in .9s var(--ease-out) .55s both;
}

.hero__art {
  position: relative;
  width: min(100%, 25rem);
  aspect-ratio: 1 / 1.2;
  margin-inline: auto;
  animation: rise-in 1.1s var(--ease-out) .3s both;
}

.hero__rings {
  position: absolute;
  left: 50%;
  bottom: -40%;
  width: 180%;
  max-width: none;
  aspect-ratio: 1;
  transform: translateX(-50%);
  fill: none;
  pointer-events: none;
}

.hero__rings circle {
  stroke: rgb(255 255 255 / .1);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.hero__rings .orbit {
  stroke: var(--cyan);
  stroke-dasharray: 3 9;
  stroke-width: 1.5;
  opacity: .7;
  transform-origin: 50% 50%;
  animation: spin 90s linear infinite;
}

.hero__disc {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--cyan);
}

.hero__cut {
  position: absolute;
  inset: 0;
  /* Square top, round bottom: the photo is clipped by the lower half of the disc and rises out of the top. */
  border-radius: 0 0 50% 50% / 0 0 41.67% 41.67%;
  overflow: hidden;
}

.hero__cut img {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 108%;
  max-width: none;
  transform: translateX(-57%);
}

.hero__tag {
  position: absolute;
  left: -.5rem;
  bottom: 9%;
  z-index: 2;
  display: grid;
  gap: .2rem;
  padding: .7rem .95rem;
  border: 1px solid var(--line);
  border-radius: .8rem;
  background: var(--ink-deep);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero__tag b {
  color: var(--fg);
  font-family: var(--font-text);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: -.01em;
  text-transform: none;
}

.hero__facts {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.hero__facts > div {
  padding-block: 1.1rem 1.25rem;
}

.hero__facts > div:nth-child(odd) {
  padding-right: 1rem;
}

.hero__facts > div:nth-child(n + 3) {
  border-top: 1px solid var(--line);
}

.hero__facts dd {
  margin-top: .3rem;
  color: var(--fg);
  font-weight: 500;
}

.hero__facts dd a {
  text-decoration: none;
  transition: color .2s ease;
}

.hero__facts dd a:hover {
  color: var(--cyan);
}

@media (min-width: 62rem) {
  .hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: center;
    gap: 2rem;
  }

  .hero__art {
    width: min(100%, 32rem);
    margin-right: 0;
  }

  .hero__tag {
    left: -2.5rem;
    bottom: 11%;
  }

  .hero__facts {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .hero__facts > div {
    padding: 1.25rem 1.5rem 1.5rem 0;
  }

  .hero__facts > div:nth-child(n + 3) {
    border-top: 0;
  }

  .hero__facts > div + div {
    padding-left: 1.5rem;
    border-left: 1px solid var(--line);
  }
}

/* Ahead of the curve */

h2 em {
  color: var(--accent);
  font-style: normal;
}

.beats {
  display: grid;
  gap: 0;
  border-bottom: 1px solid var(--line);
}

.beat {
  padding-block: 1.75rem;
  border-top: 1px solid var(--line);
}

.beat h3 {
  max-width: 18ch;
}

.beat p {
  max-width: 30rem;
  margin-top: .8rem;
  text-wrap: pretty;
}

@media (min-width: 62rem) {
  .beats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-bottom: 0;
  }

  .beat {
    padding: 2rem 2.25rem 0 0;
  }

  .beat + .beat {
    padding-left: 2.25rem;
    border-left: 1px solid var(--line);
  }
}

.ahead__show {
  margin-top: clamp(3rem, 6vw, 5rem);
}

.ahead__cap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem 1.25rem;
  margin-bottom: 1.5rem;
}

.ahead__cap .big {
  color: var(--fg);
}

.coming__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

/* Why */

.why__art {
  position: relative;
  border-radius: 1.75rem;
  background: var(--cyan);
  overflow: hidden;
}

.why__art img {
  width: 100%;
  margin-top: 8%;
}

.why__cap {
  margin-top: 1rem;
}

.reasons {
  counter-reset: reason;
  border-bottom: 1px solid var(--line);
}

.reason {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: .5rem 1rem;
  padding-block: 1.6rem;
  border-top: 1px solid var(--line);
  counter-increment: reason;
}

.reason::before {
  content: counter(reason, decimal-leading-zero);
  padding-top: .5em;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .04em;
}

.reason h3 {
  font-size: clamp(1.5rem, 1.25rem + 1vw, 2.1rem);
  line-height: 1.04;
  letter-spacing: -.03em;
}

.reason p {
  grid-column: 2;
  max-width: 34rem;
  text-wrap: pretty;
}

@media (min-width: 62rem) {
  .reason {
    grid-template-columns: 3.5rem minmax(0, 1fr);
    padding-block: 1.9rem;
  }
}

/* Voices */

.voices__pair {
  display: grid;
  gap: 2.5rem;
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
}

@media (min-width: 62rem) {
  .voices__pair {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 5rem;
  }
}

.voices__pair--first {
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  padding-top: 0;
  border-top: 0;
}

.inc {
  display: grid;
  gap: .75rem 2.5rem;
  align-items: center;
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-block: 1.75rem;
  border-block: 1px solid var(--line);
}

.inc__mark {
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 1.8rem + 2.6vw, 3.75rem);
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.045em;
  white-space: nowrap;
}

.inc p:last-child {
  max-width: 44rem;
  color: var(--fg);
  font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem);
  line-height: 1.4;
  text-wrap: pretty;
}

@media (min-width: 48rem) {
  .inc {
    grid-template-columns: auto minmax(0, 1fr);
  }
}

.t-paper .inc__mark {
  color: var(--ink);
}

/* 10 Page pieces ---------------------------------------------------------- */

/* Release list on What's New */

.rel {
  display: grid;
  gap: 1.75rem 3rem;
  padding-block: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
}

.rel__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem 1rem;
}

.rel__meta .label {
  color: var(--muted);
}

.rel h2,
.rel h3 {
  margin-bottom: 1.1rem;
}

.rel__body > * + * {
  margin-top: 1rem;
}

.rel__body p {
  max-width: 38rem;
  text-wrap: pretty;
}

.rel__body .actions {
  margin-top: 1.75rem;
}

.rel__art {
  margin-top: clamp(2rem, 4vw, 3rem);
}

.rel:first-child {
  border-top: 0;
}

.rel:target .rel__meta .label {
  color: var(--accent);
}

@media (min-width: 62rem) {
  .rel {
    grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  }

  .rel__meta {
    flex-direction: column;
    align-items: flex-start;
    align-self: start;
    position: sticky;
    top: 7rem;
  }
}

/* Chips: small bordered tokens for short facts. */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.chips li {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  padding: 0 .95rem;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--fg);
  font-size: .925rem;
  font-weight: 500;
}

/* Number grid: the six assessment areas, the four signs, and so on. */

.grid-n {
  display: grid;
  border-top: 1px solid var(--line);
  counter-reset: gn;
}

.grid-n > li {
  padding: 1.5rem 0 1.75rem;
  border-bottom: 1px solid var(--line);
  counter-increment: gn;
}

.grid-n > li::before {
  content: counter(gn, decimal-leading-zero);
  display: block;
  margin-bottom: .9rem;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .04em;
}

.grid-n h3 {
  margin-bottom: .55rem;
}

.grid-n p {
  max-width: 26rem;
  text-wrap: pretty;
}

.grid-n .grid-n__go {
  margin-top: .85rem;
}

.grid-n .grid-n__tag {
  margin: -.1rem 0 .75rem;
}

@media (min-width: 40rem) {
  .grid-n {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-n > li {
    padding-right: 2rem;
  }
}

@media (min-width: 40rem) and (max-width: 61.99rem) {
  .grid-n > li:nth-child(even) {
    padding-left: 2rem;
    border-left: 1px solid var(--line);
  }
}

@media (min-width: 62rem) {
  .grid-n:not(.grid-n--3, .grid-n--4) > li:nth-child(even),
  .grid-n--3 > li:not(:nth-child(3n + 1)),
  .grid-n--4 > li:not(:nth-child(4n + 1)) {
    padding-left: 2rem;
    border-left: 1px solid var(--line);
  }

  .grid-n--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .grid-n--4 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* Scenes: the ten AI Safety scenes, numbered the same way as the drawing above them. */

.scenes {
  display: grid;
  column-gap: clamp(2rem, 5vw, 5rem);
  border-top: 1px solid var(--line);
  counter-reset: scene;
}

.scenes li {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  align-items: baseline;
  padding-block: 1rem 1.1rem;
  border-bottom: 1px solid var(--line);
  counter-increment: scene;
}

.scenes li::before {
  content: counter(scene, decimal-leading-zero);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .04em;
}

.scenes b {
  color: var(--fg);
  font-weight: 600;
}

.scenes span {
  grid-column: 2;
  margin-top: .2rem;
  text-wrap: pretty;
}

@media (min-width: 48rem) {
  .scenes {
    grid-template-rows: repeat(5, auto);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: column;
  }
}

/* Signs: a short numbered list set in the display face. */

.signs {
  border-bottom: 1px solid var(--line);
  counter-reset: sign;
}

.signs li {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  align-items: baseline;
  padding-block: 1.15rem 1.3rem;
  border-top: 1px solid var(--line);
  color: var(--fg);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.2rem + 1.9vw, 2.75rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.035em;
  counter-increment: sign;
}

.signs li::before {
  content: counter(sign, decimal-leading-zero);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .04em;
}

.signs li > p {
  grid-column: 2;
  max-width: 34rem;
  margin-top: .6rem;
  color: var(--body);
  font-family: var(--font-text);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
  text-wrap: pretty;
}

/* Big figure with a caption, for real numbers only. */

.figure {
  display: grid;
  align-content: start;
  gap: .9rem;
  padding-top: 1.1rem;
  border-top: 1.5px solid var(--fg);
}

.figure b {
  color: var(--fg);
  font-family: var(--font-plain);
  font-size: clamp(3.5rem, 2rem + 6vw, 7rem);
  font-weight: 800;
  line-height: .85;
  letter-spacing: -.05em;
}

.figure span {
  max-width: 16rem;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.4;
}

.figures {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 1.5rem;
}

@media (min-width: 48rem) {
  .figures {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* The assessment: a framed panel on the page that starts it, and the sheet it opens in. */

.frame {
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: #05080d;
  overflow: hidden;
  box-shadow: 0 3rem 5rem -3rem rgb(0 0 0 / .6);
}

.frame__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1rem;
  padding: .7rem 1.1rem;
  background: var(--ink-deep);
  color: #9ba8b6;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .04em;
}

.frame__bar a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 2rem;
  color: var(--cyan);
  text-decoration: none;
}

.frame__start {
  display: grid;
  gap: 2.5rem;
  padding: clamp(1.75rem, 5vw, 4rem);
  background:
    radial-gradient(60rem 26rem at 100% 0, color-mix(in srgb, var(--cyan) 11%, transparent), transparent 70%),
    #05080d;
}

.frame__intro {
  display: grid;
  gap: 1.1rem;
  justify-items: start;
}

.frame__lead {
  max-width: 34rem;
  color: var(--body);
  font-size: 1.15rem;
}

.frame__go {
  margin-top: .6rem;
}

.frame__note {
  max-width: 28rem;
  color: var(--muted);
  font-size: .92rem;
}

@media (min-width: 56rem) {
  .frame__start {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 4rem;
    align-items: center;
    min-height: 26rem;
  }
}

/* The assessment itself opens in a sheet that fills the screen. It is a chat that keeps its
   newest message in view, and inside a frame in the middle of the page that would drag the
   whole page along. Here there is no page to drag (see "Embedded assessment" in site.js). */

.sheet {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #05080d;
  color: var(--body);
  overflow: hidden;
  overflow: clip;
}

.sheet[open] {
  display: flex;
  flex-direction: column;
}

.sheet::backdrop {
  background: #05080d;
}

.sheet__bar {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .55rem clamp(1rem, 3vw, 1.5rem);
  border-bottom: 1px solid var(--line);
  background: var(--ink-deep);
}

.sheet__title {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: var(--fg);
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.sheet__title::before {
  content: "";
  flex: none;
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: var(--cyan);
}

.sheet__close {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: .5rem;
  min-height: 2.75rem;
  padding: 0 1rem;
  border: 1.5px solid var(--line-2);
  border-radius: 999px;
  background: transparent;
  color: var(--fg);
  font: inherit;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
}

.sheet__close:hover {
  border-color: var(--fg);
}

.sheet__close svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
}

.sheet__body {
  flex: 1 1 auto;
  min-height: 0;
}

.sheet iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* While the sheet is open, the page behind it holds still. */
.is-sheet-open {
  overflow: hidden;
}

/* Team roster */

.roster {
  border-bottom: 1px solid var(--line);
}

.roster__group {
  display: grid;
  gap: 1rem 2rem;
  padding-block: 1.75rem;
  border-top: 1px solid var(--line);
}

.roster__people {
  display: grid;
  gap: 1.1rem 2rem;
}

.roster__people li {
  display: grid;
  align-content: start;
  gap: .1rem;
}

.roster__people b {
  color: var(--fg);
  font-family: var(--font-plain);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.15;
}

.roster__people span {
  color: var(--muted);
  font-size: .95rem;
}

.roster__people a {
  width: fit-content;
  font-family: var(--font-mono);
  font-size: .8rem;
  color: var(--accent);
  text-decoration: none;
}

.roster__people a:hover {
  text-decoration: underline;
}

@media (min-width: 40rem) {
  .roster__people {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 62rem) {
  .roster__group {
    grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  }

  .roster__people {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Values on About: a two-column ruled list */

.values {
  display: grid;
  border-top: 1px solid var(--line);
}

.values > div {
  padding: 1.6rem 0 1.75rem;
  border-bottom: 1px solid var(--line);
}

.values dt {
  margin-bottom: .55rem;
  color: var(--fg);
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.03em;
}

.values dd {
  max-width: 30rem;
  text-wrap: pretty;
}

@media (min-width: 48rem) {
  .values {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .values > div:nth-child(odd) {
    padding-right: 2.5rem;
  }

  .values > div:nth-child(even) {
    padding-left: 2.5rem;
    border-left: 1px solid var(--line);
  }
}

/* Portrait block on About */

.portrait {
  position: relative;
  max-width: 30rem;
  margin-inline: auto;
}

.portrait__bg {
  border-radius: 50% 50% 1.75rem 1.75rem / 42% 42% 1.75rem 1.75rem;
  background: var(--cyan);
  overflow: hidden;
}

.portrait__bg img {
  width: 100%;
  margin-top: 10%;
}

.portrait figcaption {
  margin-top: 1rem;
}

/* Contact */

.tel-xl {
  display: inline-block;
  color: var(--fg);
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 1.1rem + 7vw, 6rem);
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.05em;
  text-decoration: none;
  white-space: nowrap;
  transition: color .25s ease;
}

.tel-xl:hover {
  color: var(--accent);
}

.form {
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  border-radius: 1.5rem;
  background: var(--bg);
  color: var(--body);
}

.form h2 {
  margin: .7rem 0 .6rem;
}

.form__grid {
  display: grid;
  gap: 1.1rem;
  margin-top: 1.5rem;
}

.field label {
  display: block;
  margin-bottom: .45rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.field label i {
  font-style: normal;
  letter-spacing: .04em;
  text-transform: none;
}

.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  min-height: 3.25rem;
  padding: .8rem 1rem;
  border: 1.5px solid var(--line-2);
  border-radius: .7rem;
  background: var(--raised);
  color: var(--fg);
  font-size: 1.0625rem;
  line-height: 1.4;
  transition: border-color .2s ease, box-shadow .2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.field textarea {
  min-height: 8.5rem;
  resize: vertical;
}

.field select {
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23222831' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 6 8 10.5 12.5 6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--fg);
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 28%, transparent);
}

.form__note {
  margin-top: 1rem;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.5;
}

.form__done {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border: 1.5px solid var(--accent);
  border-radius: .7rem;
  color: var(--fg);
}

/* The form asks who is writing first. A current client is sent to the portal instead. */

.form {
  --bad: #a3271b;
}

.who,
.form__sales {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.who {
  margin-top: 1.5rem;
}

.who legend {
  margin-bottom: .6rem;
  padding: 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.who__opts {
  display: grid;
  gap: .6rem;
}

.who__opt {
  display: flex;
  align-items: center;
  gap: .7rem;
  min-height: 3.25rem;
  padding: .7rem 1rem;
  border: 1.5px solid var(--line-2);
  border-radius: .7rem;
  background: var(--raised);
  color: var(--fg);
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.who__opt:hover {
  border-color: var(--fg);
}

.who__opt input {
  flex: none;
  width: 1.15rem;
  height: 1.15rem;
  margin: 0;
  accent-color: var(--accent);
}

/* Each :has() rule stands alone. A browser that cannot read one must not drop its neighbours. */

.who__opt:has(input:checked) {
  border-color: var(--fg);
  box-shadow: inset 0 0 0 1px var(--fg);
}

@supports selector(:has(a)) {
  .who__opt:has(input:focus-visible) {
    outline: 2px solid var(--focus);
    outline-offset: 3px;
  }

  .who__opt input:focus-visible {
    outline: none;
  }
}

.form__client {
  display: none;
  margin-top: 1.25rem;
  padding: 1.25rem 1.25rem 1.35rem;
  border: 1.5px solid var(--accent);
  border-radius: .9rem;
}

.form.is-client .form__client {
  display: block;
  animation: form-in .35s var(--ease-out) both;
}

.form:has(#f-who-client:checked) .form__client {
  display: block;
}

.form.is-client .form__sales {
  display: none;
}

.form:has(#f-who-client:checked) .form__sales {
  display: none;
}

.form__client h3,
.form__sent h2 {
  margin: .6rem 0 .5rem;
}

.form__client .actions {
  margin-top: 1.1rem;
}

/* Once the note is sent, the confirmation is all the form shows. */

.form__sent {
  color: var(--body);
  animation: form-in .35s var(--ease-out) both;
}

.form.is-sent > .label,
.form.is-sent > h2,
.form.is-sent .who,
.form.is-sent .form__sales,
.form.is-sent .form__live {
  display: none;
}

.form__sent:focus,
.form__done:focus,
.form__error:focus {
  outline: none;
}

.form__error {
  margin-top: 1rem;
  padding: .85rem 1rem;
  border: 1.5px solid var(--bad);
  border-radius: .7rem;
  color: var(--bad);
  font-weight: 600;
  line-height: 1.45;
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--bad);
}

.field__error {
  margin-top: .4rem;
  color: var(--bad);
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.4;
}

.form__check {
  min-height: 4.1rem;
  margin-top: 1.25rem;
}

/* A field for bots. People never see it, and assistive technology skips it. */
.form__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form button[disabled] {
  opacity: .6;
  cursor: progress;
}

@keyframes form-in {
  from {
    opacity: 0;
    transform: translateY(.4rem);
  }
}

@media (min-width: 40rem) {
  .form__grid,
  .who__opts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .field--full {
    grid-column: 1 / -1;
  }
}

/* Quiet signup (/quiet/signup/): the same form, with a plan to pick first. Each plan is one
   row, its name on the left and its price on the right. */

.who__opts.who__opts--stack {
  grid-template-columns: minmax(0, 1fr);
}

.pick {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .1rem 1rem;
}

.pick small {
  color: var(--muted);
  font-family: var(--font-plain);
  font-size: .95rem;
  font-weight: 500;
}

/* The choice so far, in words, above the button. */
.form__pick {
  margin-top: 1.25rem;
  padding: .85rem 1rem;
  border: 1.5px solid var(--line-2);
  border-radius: .7rem;
  color: var(--fg);
  font-family: var(--font-plain);
  font-weight: 600;
  line-height: 1.4;
}

.form__sent > p + p {
  margin-top: .75rem;
}

/* Contact page: the number and channels on the left, the form on the right. */

.contact__grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.contact__tel {
  margin-top: clamp(2rem, 4vw, 3rem);
}

.contact .chan {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}

@media (min-width: 62rem) {
  .contact__grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
    align-items: start;
  }

  .contact__form {
    margin-top: -1rem;
  }
}

/* Channel list: a ruled set of ways to reach us, or client links. */

.chan {
  border-bottom: 1px solid var(--line);
}

.chan > li {
  display: grid;
  gap: .25rem 2rem;
  align-items: baseline;
  padding-block: 1.25rem;
  border-top: 1px solid var(--line);
}

.chan .label {
  padding-top: .15rem;
}

.chan b {
  color: var(--fg);
  font-family: var(--font-plain);
  font-size: clamp(1.3rem, 1.15rem + .7vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.15;
}

.chan b a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 2.5rem;
  text-decoration: none;
  transition: color .2s ease;
  overflow-wrap: anywhere;
}

.chan b a:hover {
  color: var(--accent);
}

.chan b .arw {
  width: .8em;
  height: .8em;
  color: var(--accent);
}

.chan p {
  color: var(--muted);
  font-size: .95rem;
}

@media (min-width: 40rem) {
  .chan > li {
    grid-template-columns: 9rem minmax(0, 1fr);
  }

  .chan p {
    grid-column: 2;
  }
}

/* THEO Bots plans: the price set large, in the plain face so every figure reads exactly. */

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.75rem 1.5rem;
}

.plan {
  display: grid;
  align-content: start;
  gap: .8rem;
  padding-top: 1.1rem;
  border-top: 1.5px solid var(--fg);
}

.plan__name {
  color: var(--accent);
}

.plan__price b {
  display: block;
  color: var(--fg);
  font-family: var(--font-plain);
  font-size: clamp(3rem, 1.6rem + 5.4vw, 6rem);
  font-weight: 800;
  line-height: .85;
  letter-spacing: -.05em;
}

.plan__price span {
  display: block;
  margin-top: .8rem;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.4;
}

.plan__usage {
  color: var(--fg);
  font-weight: 500;
  line-height: 1.4;
  text-wrap: balance;
}

.plan__usage b {
  font-family: var(--font-plain);
  font-weight: 700;
}

.plan__line {
  font-size: .95rem;
  line-height: 1.45;
}

@media (min-width: 62rem) {
  .plans {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 80rem) {
  .plans {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* Quiet plans: three of them, each with its list and its own button. One column until
   there is room for all three side by side, and the buttons line up along the bottom. */

.plans.plans--trio {
  grid-template-columns: minmax(0, 1fr);
  gap: 3rem 2.5rem;
}

.plans--trio .plan {
  grid-template-rows: auto auto auto auto 1fr auto;
}

.plans--trio .plan__line strong {
  color: var(--fg);
  font-weight: 600;
}

.plans--trio .ticks {
  align-self: start;
  font-size: .95rem;
}

.plans--trio .actions {
  margin-top: .6rem;
}

@media (min-width: 62rem) {
  .plans.plans--trio {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  /* Side by side, the three share their rows, so each list starts on the same line. */
  @supports (grid-template-rows: subgrid) {
    .plans--trio .plan {
      grid-row: span 6;
      grid-template-rows: subgrid;
    }
  }
}

/* The waitlist block on THEO Bots */

.ticket {
  position: relative;
  display: grid;
  border: 1.5px dashed var(--cyan);
  border-radius: 1.5rem;
  background: var(--ink-deep);
  overflow: hidden;
}

.ticket__main,
.ticket__stub {
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
}

.ticket__stub {
  border-top: 1.5px dashed rgb(0 198 255 / .5);
}

.ticket h2 {
  margin: 1rem 0 .9rem;
}

.ticket p {
  max-width: 32rem;
  text-wrap: pretty;
}

.ticket .actions {
  margin-top: 1.5rem;
}

.ticket__price {
  margin: .75rem 0 .6rem;
  color: var(--fg);
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.75rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.035em;
}

@media (min-width: 62rem) {
  .ticket {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  }

  .ticket__stub {
    border-top: 0;
    border-left: 1.5px dashed rgb(0 198 255 / .5);
  }
}

/* Copy beside a product illustration */

.show {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.show__copy {
  max-width: 38rem;
}

.show__fig {
  min-width: 0;
}

@media (min-width: 62rem) {
  .show {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }

  .show--slim {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .show--flip {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .show--flip.show--slim {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }

  .show--flip .show__copy {
    order: 2;
  }

  .show--top {
    align-items: start;
  }
}

.soon-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem 1rem;
}

.soon-note span:last-child {
  color: var(--fg);
}

/* Several of those in a row: each a screen with its story, the picture on alternate sides. */

.tour {
  display: grid;
  gap: clamp(4rem, 8vw, 7.5rem);
}

/* Product screenshots (scripts/sitegen/screens.py). The screens are dark, so the frame is
   dark on every band. Four frames: "browser" draws a window bar over a console screen,
   "app" is a picture that already has its own window, "pane" is the Hawkeye side pane,
   and "phone" is a phone screen. */

.shot {
  min-width: 0;
  margin: 0;
}

.shot__frame {
  position: relative;
  border: 1px solid rgb(255 255 255 / .13);
  border-radius: 14px;
  background: #0b0c12;
  box-shadow: 0 3rem 5rem -2.5rem rgb(0 0 0 / .8);
  overflow: hidden;
}

.t-paper .shot__frame,
.t-cyan .shot__frame {
  border-color: rgb(34 40 49 / .5);
  box-shadow: 0 3rem 5rem -2.5rem rgb(34 40 49 / .6);
}

/* The bar takes its width from the frame and never the other way round ("contain"), so a long
   name in it cannot push a narrow page wider than the screen. */
.shot__bar {
  display: flex;
  align-items: center;
  gap: .4rem;
  height: 2.25rem;
  padding: 0 .85rem;
  border-bottom: 1px solid #191b2a;
  background: #090a10;
  contain: inline-size;
}

.shot__bar i {
  flex: none;
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: rgb(255 255 255 / .17);
}

/* On a narrow screen a long name is cut with an ellipsis, as a real address bar would cut it. */
.shot__bar span {
  min-width: 0;
  margin-left: .6rem;
  padding: .15rem .6rem;
  border-radius: 6px;
  background: rgb(255 255 255 / .05);
  color: #9aa0b4;
  font-family: var(--font-mono);
  font-size: .6875rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shot__bar--pane {
  justify-content: space-between;
}

.shot__bar--pane span {
  margin-left: 0;
  padding: 0;
  background: none;
  color: #eceef4;
  font-family: var(--font-text);
  font-size: .8125rem;
  font-weight: 600;
}

.shot__bar--pane i {
  width: .7rem;
  height: 2px;
  border-radius: 1px;
}

.shot__img {
  position: relative;
}

.shot__img img {
  width: 100%;
}

/* The radius is a share of the picture's own width and height, so it follows the rounded
   window drawn in the picture at any size and hides the dark corners outside it. */
.shot--app .shot__frame {
  border: 0;
  border-radius: .8% / 1.28%;
  box-shadow: 0 0 0 1px rgb(255 255 255 / .13), 0 3rem 5rem -2.5rem rgb(0 0 0 / .8);
}

.t-paper .shot--app .shot__frame,
.t-cyan .shot--app .shot__frame {
  box-shadow: 0 0 0 1px rgb(34 40 49 / .5), 0 3rem 5rem -2.5rem rgb(34 40 49 / .6);
}

.shot--phone .shot__frame {
  border: 0;
  border-radius: 12.8% / 6.1%;
  background: #000;
  box-shadow: 0 2.5rem 4rem -2rem rgb(0 0 0 / .85);
}

.t-paper .shot--phone .shot__frame,
.t-cyan .shot--phone .shot__frame {
  box-shadow: 0 2.5rem 4rem -2rem rgb(34 40 49 / .7);
}

/* The pane was captured at 320 points wide. It is never drawn larger than that. */
.shot--pane {
  max-width: calc(320px + 2px);
}

.shot--pane-wide {
  max-width: calc(480px + 2px);
}

/* A tall screen, cut short where the page has no room for all of it. The link still opens the whole picture. */
.shot--short .shot__img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

/* A screen that carries on below the picture fades out instead of stopping dead. */
.shot--short .shot__img::after,
.shot--fade .shot__img::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 26%;
  background: linear-gradient(rgb(11 12 18 / 0), #0b0c12);
  pointer-events: none;
}

.shot__zoom {
  position: absolute;
  right: .6rem;
  bottom: .6rem;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgb(255 255 255 / .24);
  border-radius: 50%;
  background: rgb(11 12 18 / .82);
  color: #fff;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.shot__zoom svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.shot__zoom:hover,
.shot__zoom:focus-visible {
  border-color: var(--cyan);
  background: var(--cyan);
  color: var(--ink);
}

.shot__zoom:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.can-zoom .shot--zoom img {
  cursor: zoom-in;
}

.shot__note {
  margin-top: 1rem;
}

.shot--phone .shot__zoom {
  right: 8%;
  bottom: 3.5%;
  width: 2.5rem;
  height: 2.5rem;
}

/* The picture, opened over the page (site.js). */
.zoom {
  width: 100vw;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgb(15 18 23 / .96);
  color: #fff;
  overflow: hidden;
}

.zoom::backdrop {
  background: rgb(15 18 23 / .9);
}

.zoom__scroll {
  display: grid;
  width: 100%;
  height: 100%;
  padding: 4rem 1rem 1.5rem;
  overflow: auto;
  overscroll-behavior: contain;
}

/* The box takes the keyboard, so the arrow keys can move the picture (site.js). */
.zoom__scroll:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -4px;
}

/* Never smaller than a readable size: on a phone the picture scrolls sideways instead. */
.zoom__scroll img {
  width: max(100%, 58rem);
  max-width: none;
  margin: auto;
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgb(255 255 255 / .14);
}

.zoom__scroll img.is-tall {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100vh - 6rem);
  max-height: calc(100dvh - 6rem);
  border-radius: 1.75rem;
  box-shadow: none;
}

.zoom__close {
  position: absolute;
  top: .75rem;
  right: 1rem;
  z-index: 1;
  min-height: 2.5rem;
  padding: 0 1.1rem;
  border: 1px solid rgb(255 255 255 / .3);
  border-radius: 999px;
  background: rgb(15 18 23 / .9);
  color: #fff;
  font: 500 .9rem/1 var(--font-text);
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.zoom__close:hover,
.zoom__close:focus-visible {
  border-color: var(--cyan);
  background: var(--cyan);
  color: var(--ink);
}

.zoom__close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* The three results Hawkeye gives, each pane with its explanation under it. */
.verdicts {
  display: grid;
  gap: 3rem 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.verdicts li {
  display: grid;
  gap: .9rem;
  align-content: start;
}

.verdicts .shot {
  margin-bottom: .6rem;
}

.verdicts p {
  max-width: 34ch;
}

.verdicts + .shot__note {
  margin-top: 2rem;
}

@media (min-width: 48rem) {
  .verdicts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Three phone screens. On a narrow window they sit in a strip that scrolls sideways. */
.phones__row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(64vw, 17rem);
  gap: 1.25rem;
  margin: 0;
  padding: .25rem .25rem 2.5rem;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
}

.phones__row li {
  scroll-snap-align: center;
}

.phones .shot__note {
  margin-top: 0;
}

@media (min-width: 48rem) {
  .phones__row {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, minmax(0, 17rem));
    justify-content: center;
    gap: clamp(1.5rem, 4vw, 3.5rem);
    overflow: visible;
  }

  .phones .shot__note {
    text-align: center;
  }
}

/* A short list of places or sources, each with a mono label. Used on the security page. */

.sources {
  display: grid;
  gap: 0;
  border-bottom: 1px solid var(--line);
}

.sources > li {
  display: grid;
  gap: .35rem;
  padding-block: 1.35rem;
  border-top: 1px solid var(--line);
}

.sources b {
  color: var(--fg);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.2rem + .6vw, 1.7rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.028em;
}

.sources p {
  max-width: 26rem;
  text-wrap: pretty;
}

@media (min-width: 48rem) {
  .sources {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 3rem;
  }
}

@media (min-width: 70rem) {
  .sources--4 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    column-gap: 0;
    border-bottom: 0;
  }

  .sources--4 > li {
    padding: 1.6rem 1.75rem 0 0;
  }

  .sources--4 > li + li {
    padding-left: 1.75rem;
    border-left: 1px solid var(--line);
  }
}

/* The page's opening statement, set large. */

.manifesto {
  display: grid;
  gap: 2rem 4rem;
}

.manifesto__lines {
  display: grid;
  gap: 1.1rem;
}

.manifesto__lines .label {
  margin-bottom: .6rem;
}

.manifesto__line {
  max-width: 22ch;
  color: var(--fg);
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 1.3rem + 4.2vw, 5rem);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.manifesto__line em {
  color: var(--accent);
  font-style: normal;
}

.manifesto__last {
  max-width: 30rem;
  color: var(--body);
  font-size: 1.2rem;
  line-height: 1.5;
  text-wrap: pretty;
}

.manifesto__last strong {
  color: var(--fg);
  font-weight: 600;
}

@media (min-width: 62rem) {
  .manifesto {
    grid-template-columns: minmax(0, 1fr) minmax(0, 21rem);
    align-items: end;
  }

  .manifesto__last {
    padding-bottom: .6rem;
  }
}

/* Compare: public AI beside THEO */

.versus {
  display: grid;
  gap: 1.5rem;
}

.versus > div {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.versus > div:last-child {
  border-color: var(--cyan);
  background: rgb(0 198 255 / .06);
}

.versus h3 {
  margin: .75rem 0 1.25rem;
}

@media (min-width: 48rem) {
  .versus {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* THEO and THEO Bots, side by side: the core, and what you get from it. */

.theo-mark {
  flex: none;
  width: 1.15em;
  height: 1.15em;
  overflow: visible;
}

.duo {
  --duo-theo: #a99bff;
  display: grid;
  gap: .9rem;
}

.t-paper .duo {
  --duo-theo: #5b45d6;
}

.duo__card {
  display: grid;
  align-content: start;
  gap: 1.1rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1.5px solid var(--line-2);
  border-radius: var(--radius);
}

.duo__card--core {
  border-color: color-mix(in srgb, var(--duo-theo) 70%, transparent);
  background: color-mix(in srgb, var(--duo-theo) 8%, transparent);
}

.duo__card--bots {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 7%, transparent);
}

.duo__card--core .label {
  color: var(--duo-theo);
}

.t-ink .duo__card--core .label,
.t-deep .duo__card--core .label {
  color: #cfc6ff;
}

.duo__card--bots .label {
  color: var(--accent);
}

.duo__name {
  display: flex;
  align-items: center;
  gap: .55rem;
  color: var(--fg);
}

.duo__name .theo-mark {
  width: 1.05em;
  height: 1.05em;
  margin-top: -.12em;
}

.duo__card > p:not([class]) {
  color: var(--fg);
  font-size: 1.15rem;
  line-height: 1.45;
  text-wrap: pretty;
}

.duo__card .ticks {
  margin-top: .25rem;
}

.duo__card .more {
  justify-self: start;
  margin-top: .35rem;
}

.duo__card .duo__here {
  margin-top: .75rem;
  color: var(--muted);
}

.duo__join {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  margin: 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.duo__join .arw {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--accent);
  transform: rotate(90deg);
}

@media (min-width: 62rem) {
  .duo {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 1.25rem;
  }

  .duo__join .arw {
    transform: none;
  }
}

/* Document layout for legal pages */

.doc {
  display: grid;
  gap: 2.5rem 4rem;
}

.doc__toc {
  align-self: start;
}

.doc__toc ol {
  margin-top: .9rem;
  border-top: 1px solid var(--line);
  counter-reset: toc;
}

.doc__toc li {
  border-bottom: 1px solid var(--line);
  counter-increment: toc;
}

.doc__toc a {
  display: flex;
  gap: .9rem;
  align-items: baseline;
  padding-block: .7rem;
  color: var(--fg);
  font-size: .95rem;
  font-weight: 500;
  text-decoration: none;
  transition: color .2s ease;
}

.doc__toc a::before {
  content: counter(toc, decimal-leading-zero);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: .75rem;
}

.doc__toc a:hover {
  color: var(--accent);
}

.doc__body h2 {
  font-size: clamp(1.6rem, 1.35rem + 1vw, 2.15rem);
  letter-spacing: -.03em;
  line-height: 1.05;
  scroll-margin-top: 7rem;
}

.doc__body > h2:first-child {
  margin-top: 0;
}

.doc__body ul {
  padding-left: 0;
}

@media (min-width: 62rem) {
  .doc {
    grid-template-columns: minmax(0, 3fr) minmax(0, 8fr);
  }

  .doc__toc {
    position: sticky;
    top: 7rem;
  }
}

/* Handouts: the free checklists and the policy template under /resources/. Each one is laid
   out like a legal document, above, and prints as a sheet of paper (see the print rules). */

/* Boxes to tick. The whole line is the label, so a tap anywhere on it ticks the box. */

.checks {
  border-bottom: 1px solid var(--line);
}

.checks > li {
  border-top: 1px solid var(--line);
}

.checks label {
  display: grid;
  grid-template-columns: 1.4rem minmax(0, 1fr);
  gap: 1rem;
  padding-block: 1rem;
  cursor: pointer;
}

.checks input {
  display: grid;
  place-content: center;
  width: 1.4rem;
  height: 1.4rem;
  margin: .1rem 0 0;
  border: 1.5px solid var(--line-2);
  border-radius: .3rem;
  background: var(--raised);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: background-color .2s ease, border-color .2s ease;
}

.checks input::after {
  content: "";
  width: .72rem;
  height: .4rem;
  margin-top: -.18rem;
  border: solid var(--on-accent);
  border-width: 0 0 2px 2px;
  transform: rotate(-45deg) scale(0);
  transition: transform .2s var(--ease-out);
}

.checks label:hover input {
  border-color: var(--accent);
}

.checks input:checked {
  border-color: var(--accent);
  background: var(--accent);
}

.checks input:checked::after {
  transform: rotate(-45deg) scale(1);
}

/* Lines to write on: who filled a sheet in, or who signed it. */

.fields {
  display: grid;
  gap: 1.25rem 2rem;
}

.fields > div {
  display: flex;
  align-items: flex-end;
  gap: .75rem;
}

.fields dt {
  flex: none;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.fields dd {
  flex: 1;
  height: 1.9rem;
  border-bottom: 1.5px solid var(--line-2);
}

@media (min-width: 40rem) {
  .fields {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* A blank in the policy template, for the reader to fill in. */

.fill {
  color: var(--fg);
  font-weight: 600;
  text-decoration: underline dashed var(--accent);
  text-decoration-thickness: .09em;
  text-underline-offset: .22em;
}

/* The PDF, under the list of sections. It is a link in the list's column, not an entry in it. */

.doc__toc .handout__get {
  margin-top: 1.5rem;
}

.doc__toc .handout__get a {
  display: inline-flex;
  gap: .5rem;
  align-items: center;
  padding-block: 0;
  color: var(--accent);
  font-weight: 600;
}

.doc__toc .handout__get a::before {
  content: none;
}

.doc__toc .handout__get a:hover {
  color: var(--fg);
}

.doc__toc .handout__get--alt {
  margin-top: .75rem;
}

.doc__toc .handout__get--alt a {
  color: var(--fg);
  font-weight: 500;
}

.doc__toc .handout__get--alt a:hover {
  color: var(--accent);
}

/* These two are for a printed copy only. */

.fields--print,
.handout__print {
  display: none;
}

/* 404 */

.lost {
  display: grid;
  align-content: center;
  min-height: min(46rem, 78vh);
}

.lost__num {
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--bg);
  font-family: var(--font-display);
  font-size: clamp(8rem, 3rem + 26vw, 24rem);
  font-weight: 800;
  line-height: .8;
  letter-spacing: -.06em;
  /* Stroke first, fill on top: the fill hides the overlapping contours inside the variable font's glyphs. */
  -webkit-text-stroke: 3px var(--line-2);
  paint-order: stroke fill;
}

.lost__num em {
  color: var(--cyan);
  font-style: normal;
  -webkit-text-stroke: 0;
}

/* 11 Motion --------------------------------------------------------------- */

@keyframes line-up {
  from {
    transform: translateY(108%);
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(1.5rem);
  }
}

@keyframes wipe {
  from {
    clip-path: inset(-20% 100% -20% 0);
  }

  to {
    clip-path: inset(-20% 0 -20% 0);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes ping {
  0% {
    opacity: .7;
    transform: scale(.4);
  }

  70%,
  100% {
    opacity: 0;
    transform: scale(1.5);
  }
}

@keyframes grow-x {
  from {
    transform: scaleX(0);
  }
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity .8s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 70ms);
}

.js [data-reveal].is-in,
.js.show-all [data-reveal] {
  opacity: 1;
  transform: none;
}

.js [data-draw] {
  clip-path: inset(-20% 100% -20% 0);
  transition: clip-path 1.1s var(--ease-io) .15s;
}

.js [data-draw].is-in,
.js.show-all [data-draw] {
  clip-path: inset(-20% 0 -20% 0);
}

/* 12 Reduced motion and print --------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .js [data-reveal],
  .js [data-draw] {
    opacity: 1;
    transform: none;
    clip-path: none;
  }
}

@media print {
  .util,
  .top,
  .menu,
  .foot__say {
    display: none;
  }

  .js [data-reveal],
  .js [data-draw] {
    opacity: 1;
    transform: none;
    clip-path: none;
  }

  /* A handout prints as a sheet of paper: its title, its boxes, and how to reach us. Black on
     white, whatever the theme. scripts/build_pdfs.py prints each one to the PDF beside it.
     Each :has() rule stands alone. A browser that cannot read one must not drop its neighbours. */

  @page handout {
    margin: 14mm 15mm 15mm;
  }

  html:has(.handout) {
    background: #fff;
  }

  body:has(.handout) {
    --bg: #fff;
    --fg: #111;
    --body: #222;
    --muted: #555;
    --line: rgb(0 0 0 / .22);
    --line-2: rgb(0 0 0 / .6);
    --accent: var(--cyan-ink);
    --on-accent: #fff;
    --raised: #fff;
    font-size: 9.5pt;
    line-height: 1.4;
  }

  body:has(.handout) main {
    page: handout;
  }

  body:has(.handout) .phero {
    --bg: #fff;
    --fg: #111;
    --body: #222;
    --accent: var(--cyan-ink);
    padding-block: 0 5mm;
    overflow: visible;
  }

  body:has(.handout) .skip {
    display: none;
  }

  body:has(.handout) .foot {
    display: none;
  }

  body:has(.handout) .phero::before {
    display: none;
  }

  body:has(.handout) .phero::after {
    display: none;
  }

  body:has(.handout) .crumbs {
    display: none;
  }

  body:has(.handout) .phero__kicker {
    display: none;
  }

  body:has(.handout) .phero .actions {
    display: none;
  }

  body:has(.handout) .phero__aside {
    display: none;
  }

  body:has(.handout) main > section:not(.phero, .handout) {
    display: none;
  }

  body:has(.handout) .wrap {
    width: 100%;
  }

  body:has(.handout) .phero h1 {
    max-width: none;
    font-size: 25pt;
    line-height: 1;
  }

  body:has(.handout) .phero .lead {
    max-width: none;
    margin-top: 3mm;
    font-size: 11pt;
    line-height: 1.4;
  }

  .handout {
    --bg: #fff;
    --fg: #111;
    --body: #222;
    --muted: #555;
    --line: rgb(0 0 0 / .22);
    --line-2: rgb(0 0 0 / .6);
    --accent: var(--cyan-ink);
    --on-accent: #fff;
    --raised: #fff;
    padding-block: 0;
  }

  .handout .doc {
    display: block;
  }

  .handout .doc__toc {
    display: none;
  }

  .handout .doc__body {
    max-width: none;
  }

  .handout .doc__body > * + * {
    margin-top: 2.2mm;
  }

  .handout .doc__body .big {
    font-size: 10pt;
    line-height: 1.4;
  }

  .handout .doc__body h2 {
    margin-top: 5mm;
    font-size: 13.5pt;
    break-after: avoid;
  }

  .handout .doc__body h2 + p {
    break-after: avoid;
  }

  .handout .checks label {
    grid-template-columns: 4mm minmax(0, 1fr);
    gap: 3.5mm;
    padding-block: 1.45mm;
  }

  .handout .checks input {
    width: 4mm;
    height: 4mm;
    margin-top: .2mm;
    border: .35mm solid #111;
    border-radius: .6mm;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .handout .checks input::after {
    width: 2.2mm;
    height: 1.2mm;
    margin-top: -.5mm;
    border-width: 0 0 .4mm .4mm;
  }

  .handout .checks > li,
  .handout .ticks > li,
  .handout .fields {
    break-inside: avoid;
  }

  .handout .ticks > li + li {
    margin-top: 1.4mm;
  }

  .handout .fields,
  .handout .fields--print {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4mm 8mm;
    margin-bottom: 5mm;
  }

  .handout .fields dd {
    height: 7mm;
    border-bottom-width: .3mm;
  }

  .handout .fill {
    text-decoration: none;
  }

  /* Paper has no links. The words still say where to look. */

  .handout .doc__body a {
    color: inherit;
    text-decoration: none;
  }

  .handout .doc__body .small {
    font-size: 8.5pt;
    line-height: 1.4;
  }

  .handout .handout__print {
    display: flex;
    flex-wrap: wrap;
    gap: 1mm 6mm;
    margin-top: 7mm;
    padding-top: 3mm;
    border-top: .35mm solid #111;
    color: #222;
    font-size: 8.5pt;
    break-inside: avoid;
  }

  .handout .handout__print b {
    color: #111;
    font-weight: 700;
  }
}
