:root {
  --bg: #050506;
  --surface: #0d0d10;
  --surface-hover: #111115;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.2);
  --fg: #f5f5f7;
  --muted: #8e8e96;
  --accent: #7fb2ff;
  --dot: 255, 255, 255;
  --glow: 127, 178, 255;
  --nav-bg: rgba(5, 5, 6, 0.72);
  --button-bg: #f5f5f7;
  --button-fg: #050506;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pad: clamp(20px, 5vw, 48px);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #fbfbfd;
    --surface: #ffffff;
    --surface-hover: #ffffff;
    --line: rgba(0, 0, 0, 0.09);
    --line-strong: rgba(0, 0, 0, 0.22);
    --fg: #1d1d1f;
    --muted: #6e6e73;
    --accent: #0066cc;
    --dot: 0, 0, 0;
    --glow: 0, 102, 204;
    --nav-bg: rgba(251, 251, 253, 0.72);
    --button-bg: #1d1d1f;
    --button-fg: #fbfbfd;
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, p, ol, ul, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }

::selection { background: rgba(var(--glow), 0.35); }

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

.wrap {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* Page transitions */

@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}
::view-transition-group(*) {
  animation-duration: 0.55s;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Nav */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav { view-transition-name: nav; }

.nav__inner {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.nav__links {
  display: flex;
  gap: clamp(16px, 3vw, 32px);
  font-size: 14px;
  color: var(--muted);
}
.nav__links a { transition: color 0.35s var(--ease); }
.nav__links a:hover,
.nav__links a[aria-current] { color: var(--fg); }

.nav__progress {
  position: absolute;
  inset: auto 0 -1px 0;
  height: 1px;
  background: var(--fg);
  transform: scaleX(var(--progress, 0));
  transform-origin: left;
  opacity: 0.7;
}

/* Dot field */

.field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 45%, #000 15%, transparent 78%);
  mask-image: radial-gradient(ellipse 75% 70% at 50% 45%, #000 15%, transparent 78%);
  opacity: 0;
  animation: fade 1.8s var(--ease) 0.2s forwards;
}
.field--contact {
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 70% 100%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 90% at 70% 100%, #000 10%, transparent 75%);
}

/* Hero */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: 120px 96px;
  overflow: hidden;
}

.hero__inner { position: relative; }

.hero__eyebrow {
  font-size: clamp(14px, 1.3vw, 17px);
  color: var(--muted);
  letter-spacing: -0.005em;
  margin-bottom: clamp(20px, 3vw, 32px);
}

.hero__title {
  font-size: clamp(2.75rem, 9.2vw, 7.5rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.hero__sub {
  max-width: 30em;
  margin-top: clamp(24px, 3.5vw, 40px);
  font-size: clamp(1.0625rem, 1.7vw, 1.375rem);
  line-height: 1.45;
  letter-spacing: -0.012em;
  color: var(--muted);
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  margin-top: clamp(28px, 4vw, 44px);
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  width: 26px;
  height: 42px;
  margin-left: -13px;
  border: 1.5px solid var(--line-strong);
  border-radius: 14px;
}
.hero__scroll span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 3px;
  height: 8px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--muted);
  animation: scroll-hint 2.2s var(--ease) infinite;
}

/* Hero entrance */

.js .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.35em);
  filter: blur(12px);
  animation: word-in 1.1s var(--ease) forwards;
  animation-delay: calc(0.15s + var(--i) * 0.09s);
}

.js .rise {
  opacity: 0;
  transform: translateY(14px);
  animation: rise-in 1s var(--ease) forwards;
  animation-delay: calc(0.15s + var(--i) * 0.09s);
}

@keyframes word-in {
  to { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes rise-in {
  to { opacity: 1; transform: none; }
}
@keyframes fade {
  to { opacity: 1; }
}
@keyframes scroll-hint {
  0% { opacity: 0; transform: translateY(0); }
  30% { opacity: 1; }
  80%, 100% { opacity: 0; transform: translateY(14px); }
}

/* Buttons and links */

.button {
  display: inline-flex;
  align-items: center;
  height: 46px;
  padding-inline: 22px;
  border-radius: 999px;
  background: var(--button-bg);
  color: var(--button-fg);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}
.button:hover { transform: scale(1.03); }
.button:active { transform: scale(0.98); opacity: 0.85; }

.link {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.link::after,
.row__what a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.link:hover::after,
.row__what a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.link span, .row__what a span {
  display: inline-block;
  transition: transform 0.35s var(--ease);
}
.link:hover span, .row__what a:hover span { transform: translate(2px, -2px); }

.link--lg {
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  letter-spacing: -0.02em;
}

/* Statement */

.about { padding-block: clamp(96px, 15vw, 190px) clamp(72px, 10vw, 130px); }

.statement {
  max-width: 15em;
  font-size: clamp(2.125rem, 6.2vw, 5rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.statement .w {
  opacity: 0.16;
  transition: opacity 0.6s var(--ease);
}
.statement .w.on { opacity: 1; }

/* Launches marquee */

.launches .section__label { margin-bottom: clamp(16px, 2.4vw, 28px); }

.marquee {
  overflow: hidden;
  padding-block: clamp(20px, 3vw, 34px);
  border-block: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 50s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }

.marquee__track li {
  display: flex;
  align-items: center;
  font-size: clamp(1.75rem, 4.4vw, 3.5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.marquee__track li::after {
  content: "";
  width: 0.16em;
  height: 0.16em;
  margin-inline: 0.7em;
  border-radius: 50%;
  background: rgb(var(--glow));
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* Sections */

.section { padding-top: clamp(96px, 14vw, 180px); }

.section__head { margin-bottom: clamp(36px, 5vw, 64px); }
.section__head--sub { margin-top: clamp(64px, 9vw, 112px); margin-bottom: 20px; }

.section__more { margin-top: 28px; }

.section__label {
  font-size: 14px;
  color: var(--muted);
  letter-spacing: -0.005em;
}

.section__head h2 {
  max-width: 15em;
  margin-top: 14px;
  font-size: clamp(2rem, 5.2vw, 4rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

/* Bento */

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.tile {
  position: relative;
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  min-height: 440px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.4s var(--ease), background-color 0.4s var(--ease),
              opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 0%), rgba(var(--glow), 0.1), transparent 65%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.tile:hover { border-color: var(--line-strong); background: var(--surface-hover); }
.tile:hover::before { opacity: 1; }

.tile--8 { grid-column: span 8; }
.tile--tall { min-height: 520px; }

.tile__viz {
  position: relative;
  flex: 0 0 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 3vw, 36px) clamp(24px, 3vw, 36px) 0;
}

.tile--tall .tile__viz { flex: 1 0 220px; }

.tile__text {
  position: relative;
  padding: clamp(20px, 2.6vw, 28px) clamp(24px, 3vw, 36px) clamp(24px, 3vw, 36px);
}

.tile__label {
  font-size: 14px;
  color: var(--muted);
}

.tile__title {
  margin-top: 10px;
  font-size: clamp(1.375rem, 2.1vw, 1.625rem);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.028em;
  text-wrap: balance;
}
.tile__title--lg {
  max-width: 14em;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  line-height: 1.06;
  letter-spacing: -0.038em;
}

.tile__num {
  margin-top: 6px;
  font-size: clamp(4rem, 7.4vw, 6rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.055em;
  font-variant-numeric: tabular-nums;
}
.tile__num--sm {
  font-size: clamp(2.25rem, 3.5vw, 2.875rem);
  letter-spacing: -0.045em;
}

.tile__body {
  max-width: 34em;
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--muted);
  text-wrap: pretty;
}

.tile__link {
  display: inline-block;
  margin-top: 18px;
}

.tile__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: clamp(22px, 3vw, 30px);
  padding-top: clamp(18px, 2.4vw, 24px);
  border-top: 1px solid var(--line);
}
.tile__stats dt {
  font-size: clamp(1.5rem, 2.8vw, 2.125rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.tile__stats dd {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.35;
  color: var(--muted);
}

/* Tile visuals */

.viz-matrix {
  display: grid;
  grid-template-columns: repeat(var(--cols, 26), 1fr);
  gap: clamp(3px, 0.5vw, 6px);
  width: 100%;
}
.viz-matrix i {
  aspect-ratio: 1;
  border-radius: 22%;
  background: rgb(var(--dot));
  opacity: 0.07;
  animation: cell 11s linear infinite;
  animation-delay: calc(var(--t) * 5.5s);
}
.viz-matrix i.hot { background: rgb(var(--glow)); }

@keyframes cell {
  0% { opacity: 0.07; }
  3% { opacity: 1; }
  10%, 78% { opacity: var(--v); }
  88%, 100% { opacity: 0.07; }
}

.viz-bars {
  display: grid;
  gap: 22px;
  width: 100%;
}
.bar span {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  color: var(--muted);
}
.bar i {
  position: relative;
  display: block;
  height: 14px;
  border-radius: 7px;
  background: rgba(var(--dot), 0.08);
  overflow: hidden;
}
.bar i::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 100%;
  border-radius: inherit;
  background: rgba(var(--dot), 0.3);
}
.bar--after i::after {
  background: rgb(var(--glow));
  transition: width 1.8s var(--ease) 0.5s;
}
.tile.in .bar--after i::after { width: max(5%, 14px); }

.viz-chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 300px;
}
.bubble {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(var(--dot), 0.07);
}
.bubble i {
  display: block;
  height: 7px;
  border-radius: 4px;
  background: rgba(var(--dot), 0.22);
}
.bubble--user {
  align-self: flex-end;
  width: 46%;
  background: rgba(var(--glow), 0.9);
  border-bottom-right-radius: 6px;
}
.bubble--user i { background: rgba(255, 255, 255, 0.75); }
.bubble--model {
  width: 82%;
  border-bottom-left-radius: 6px;
}
.bubble--model i:nth-child(2) { width: 86%; }
.bubble--model i:nth-child(3) { width: 58%; }
.bubble--typing {
  display: flex;
  gap: 5px;
  width: max-content;
  padding: 14px 16px;
  border-bottom-left-radius: 6px;
}
.bubble--typing b {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(var(--dot), 0.5);
  animation: typing 1.3s ease-in-out infinite;
}
.bubble--typing b:nth-child(2) { animation-delay: 0.16s; }
.bubble--typing b:nth-child(3) { animation-delay: 0.32s; }

@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-5px); opacity: 1; }
}

.viz-nights {
  display: flex;
  align-items: flex-end;
  gap: clamp(4px, 0.7vw, 8px);
  width: 100%;
  height: 120px;
}
.viz-nights span {
  position: relative;
  flex: 1;
  height: calc(var(--h) * 100%);
  border-radius: 5px;
  background: rgba(var(--dot), 0.2);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.9s var(--ease);
  transition-delay: calc(0.25s + var(--n, 0) * 0.05s);
}
.tile.in .viz-nights span { transform: scaleY(1); }
.viz-nights .dip { background: rgb(var(--glow)); }
.viz-nights .dip::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -18px;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: rgb(var(--glow));
  animation: ping 2s var(--ease) infinite;
}

@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(var(--glow), 0.55); }
  100% { box-shadow: 0 0 0 12px rgba(var(--glow), 0); }
}

.viz-flow {
  width: 100%;
  max-width: 320px;
  height: auto;
  overflow: visible;
}
.viz-flow .flow {
  stroke: rgba(var(--dot), 0.4);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 3 7;
  animation: dash 1s linear infinite;
}
.viz-flow .node {
  fill: var(--surface);
  stroke: rgba(var(--dot), 0.3);
  stroke-width: 1.5;
}
.viz-flow .node--end {
  fill: rgba(var(--glow), 0.16);
  stroke: rgb(var(--glow));
}

@keyframes dash {
  to { stroke-dashoffset: -20; }
}

.viz-lanes {
  display: grid;
  gap: clamp(16px, 2.2vw, 24px);
  width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
}
.viz-lanes span {
  position: relative;
  height: 1px;
  background: var(--line);
}
.viz-lanes span::after {
  content: "";
  position: absolute;
  top: -1px;
  left: -20%;
  width: 16%;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(to right, transparent, rgb(var(--glow)));
  animation: lane var(--s) linear infinite;
  animation-delay: var(--o);
}

@keyframes lane {
  to { left: 104%; }
}

.viz-doc {
  position: relative;
  width: 124px;
  height: 156px;
}
.sheet {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 20px 16px;
  border: 1.5px solid rgba(var(--dot), 0.22);
  border-radius: 12px;
  background: var(--surface);
  transition: transform 1s var(--ease) 0.3s;
}
.sheet--back { border-color: rgba(var(--dot), 0.12); }
.tile.in .sheet { transform: rotate(4deg) translateX(8px); }
.tile.in .sheet--back { transform: rotate(-7deg) translateX(-12px); }
.sheet i {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: rgba(var(--dot), 0.2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s var(--ease);
}
.sheet i:nth-child(1) { transition-delay: 0.6s; }
.sheet i:nth-child(2) { transition-delay: 0.7s; }
.sheet i:nth-child(3) { transition-delay: 0.8s; }
.sheet i:nth-child(4) { transition-delay: 0.9s; }
.sheet i:nth-child(5) { transition-delay: 1s; }
.tile.in .sheet i { transform: scaleX(1); }
.sheet .sheet__title {
  width: 62%;
  height: 8px;
  margin-bottom: 4px;
  border-radius: 4px;
  background: rgba(var(--dot), 0.55);
}
.sheet .sheet__short { width: 48%; }
.sheet__seal {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 28px;
  height: 28px;
  border: 1.5px solid rgb(var(--glow));
  border-radius: 50%;
  background: rgba(var(--glow), 0.18);
  transform: scale(0);
  transition: transform 0.7s var(--ease) 1.2s;
}
.tile.in .sheet__seal { transform: scale(1); }

/* Rows */

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

.row {
  display: grid;
  grid-template-columns: 9.5em 1fr auto;
  align-items: baseline;
  gap: 8px 24px;
  padding-block: clamp(18px, 2.4vw, 26px);
  border-bottom: 1px solid var(--line);
}

.row__when {
  font-size: 15px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.row__what {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.022em;
  transition: transform 0.5s var(--ease);
}
.row:hover .row__what { transform: translateX(8px); }
.row__what a { position: relative; }

.row__where {
  font-size: 15px;
  color: var(--muted);
  text-align: right;
}

/* Contact */

.contact {
  position: relative;
  margin-top: clamp(72px, 10vw, 120px);
  padding-block: clamp(96px, 14vw, 180px) clamp(96px, 12vw, 160px);
  overflow: hidden;
}

.contact__inner { position: relative; }

.contact__title {
  font-size: clamp(3.25rem, 12vw, 9.5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.05em;
}

.contact__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  margin-top: clamp(32px, 5vw, 56px);
}

/* 404 */

.lost {
  min-height: 100svh;
  display: flex;
  align-items: center;
}
.lost__code {
  font-size: clamp(6rem, 24vw, 16rem);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.06em;
}
.lost__text {
  margin-top: 20px;
  font-size: clamp(1.0625rem, 1.7vw, 1.375rem);
  color: var(--muted);
}
.lost .button { margin-top: 32px; }

/* Footer */

.footer { border-top: 1px solid var(--line); }
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 28px;
  font-size: 13px;
  color: var(--muted);
}
.footer a { transition: color 0.35s var(--ease); }
.footer a:hover,
.footer a[aria-current] { color: var(--fg); }

/* A badge on pages that aren't the real thing: drafts, and sample data */

.proto {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 20;
  padding: 6px 12px;
  border: 1px solid rgba(var(--glow), 0.5);
  border-radius: 999px;
  background: var(--bg);
  font-size: 12px;
  color: var(--fg);
}

/* Scroll reveal */

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.in { opacity: 1; transform: none; }
.js .tile.reveal.in {
  transition: border-color 0.4s var(--ease), background-color 0.4s var(--ease),
              opacity 0.9s var(--ease) var(--d, 0s), transform 0.9s var(--ease) var(--d, 0s);
}

/* Responsive */

@media (max-width: 900px) {
  .tile, .tile--8 { grid-column: span 6; }
  .tile--8, .tile:last-child { grid-column: 1 / -1; }
  .tile, .tile--tall { min-height: 400px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .tile, .tile--8 { grid-column: 1 / -1; }
  .tile, .tile--tall { min-height: 0; border-radius: 22px; }
  .tile__viz, .tile--tall .tile__viz { flex-basis: 190px; }
  .viz-matrix { --cols: 16; }
  .tile__stats { grid-template-columns: 1fr; gap: 16px; }
  .tile__stats div { display: flex; align-items: baseline; gap: 12px; }
  .tile__stats dt { min-width: 3.4em; }
  .tile__stats dd { margin-top: 0; }
  .row { grid-template-columns: 1fr; gap: 4px; }
  .row__where { text-align: left; }
  .row:hover .row__what { transform: none; }
  .contact__links { flex-direction: column; align-items: flex-start; }
  .hero__scroll { display: none; }
}

/* On a phone there is room for three links, so Experience steps aside once Writing appears */
@media (max-width: 480px) {
  .nav__links:has(a[href="/writing/"]) .nav__optional { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .word, .js .rise, .field { animation: none; opacity: 1; transform: none; filter: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .statement .w { opacity: 1; transition: none; }
  .hero__scroll span, .marquee__track, .bubble--typing b, .viz-flow .flow,
  .viz-lanes span::after, .viz-nights .dip::before { animation: none; }
  .hero__scroll span { opacity: 1; }
  .marquee { overflow-x: auto; }
  .viz-matrix i { animation: none; opacity: var(--v); }
  .viz-nights span { transform: scaleY(1); transition: none; }
  .viz-lanes span::after { left: 40%; }
  .bar--after i::after { width: max(5%, 14px); transition: none; }
  .sheet, .sheet i, .sheet__seal { transition: none; }
  .sheet { transform: rotate(4deg) translateX(8px); }
  .sheet--back { transform: rotate(-7deg) translateX(-12px); }
  .sheet i, .sheet__seal { transform: none; }
  .button, .tile, .row__what { transition: none; }
}
