/* Palette and layout tokens. The interface deliberately contains no green. */
:root {
  color-scheme: dark;
  --bg: #101014;
  --surface: #17171e;
  --surface-raised: #1e1e27;
  --surface-soft: #23232e;
  --text: #f7f6f9;
  --muted: #a4a4b3;
  --line: #30303b;
  --accent: #4d82ff;
  --accent-fill: #174fff;
  --accent-on-dark: #4d82ff;
  --diagram-fill: #174fff;
  --diagram-ink: #ffffff;
  --accent-ink: #ffffff;
  --blue: #9aa8ff;
  --header: #101014ed;
  --shadow: #00000035;
  --radius: 24px;
  --display-scale: 1;
  font-family: "Manrope", Arial, sans-serif;
  font-synthesis: none;
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f3f6;
  --surface: #ffffff;
  --surface-raised: #eae8ef;
  --surface-soft: #efedf3;
  --text: #17161d;
  --muted: #62616f;
  --line: #d9d6e0;
  --accent: #174fff;
  --accent-fill: #174fff;
  --accent-ink: #ffffff;
  --blue: #4653c9;
  --header: #f4f3f6ed;
  --shadow: #1d123b10;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(116px * var(--display-scale));
}
body {
  zoom: var(--display-scale);
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a,
summary {
  touch-action: manipulation;
}
button {
  border-radius: 0;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 6px;
}
:focus:not(:focus-visible) {
  outline: none;
}
::selection {
  background: var(--accent-fill);
  color: var(--accent-ink);
}
p,
h1,
h2,
h3,
h4 {
  margin-top: 0;
}
h1,
h2,
h3,
h4 {
  font-family: "Space Grotesk", Arial, sans-serif;
}
p {
  margin-bottom: 16px;
}
[hidden] {
  display: none !important;
}
.page-width {
  width: min(1280px, calc(100% - 112px));
  margin-inline: auto;
}
.icon {
  width: 22px;
  height: 22px;
  display: inline-block;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}
.icon-definitions {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.brand-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: inline-block;
  background: currentColor;
  -webkit-mask: var(--brand) center / contain no-repeat;
  mask: var(--brand) center / contain no-repeat;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--text);
  color: var(--bg);
  transform: translateY(-160%);
  border-radius: 10px;
}
.skip-link:focus {
  transform: none;
}
.site-noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 92% 14%, #4942bd0c, transparent 38%),
    radial-gradient(
      ellipse at 0% 100%,
      color-mix(in srgb, var(--accent-fill) 2.4%, transparent),
      transparent 50%
    );
}
/* Persistent application shell. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--header);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  width: min(1380px, calc(100% - 80px));
  height: 100px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.identity {
  display: flex;
  align-items: center;
  gap: 15px;
}
.monogram {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 46px;
  letter-spacing: -7px;
  line-height: 0.9;
  padding-right: 6px;
}
.monogram span {
  display: inline-block;
  transform: translateY(-1px);
}
.monogram i {
  font-style: normal;
  color: var(--accent);
}
.identity-name {
  font-size: 10px;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: 1.7px;
  border-left: 1px solid var(--line);
  padding-left: 15px;
}
.app-navigation {
  position: relative;
  display: flex;
  padding: 5px;
  gap: 3px;
  border-radius: 100px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.nav-tab {
  position: relative;
  z-index: 1;
  font-size: 12px;
  padding: 11px 19px;
  border-radius: 100px;
  font-weight: 600;
  color: var(--muted);
  transition:
    background 0.2s,
    color 0.2s;
}
.nav-tab > .icon {
  display: none;
}
.nav-tab:hover {
  color: var(--text);
  background: var(--surface-raised);
}
.nav-tab.is-active {
  background: var(--text);
  color: var(--bg);
}
.header-tools {
  display: flex;
  align-items: center;
  gap: 9px;
}
.theme-toggle {
  width: 42px !important;
  height: 42px !important;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  display: grid;
  place-items: center;
}
.theme-toggle {
  transition:
    background 0.2s,
    transform 0.3s;
}
.theme-toggle:hover {
  background: var(--surface-raised);
  transform: rotate(25deg);
}
.theme-toggle .icon {
  width: 18px;
  height: 18px;
}
.theme-moon {
  display: none;
}
[data-theme="light"] .theme-moon {
  display: block;
}
[data-theme="light"] .theme-sun {
  display: none;
}
/* Views and typographic hierarchy. */
.view {
  min-height: calc(100vh - 220px);
}
.view.is-active:not(.is-targeted) {
  animation: view-enter 0.52s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes view-enter {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.992);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.eyebrow {
  font-size: 10px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 1.7px;
}
.signal-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-fill);
  margin-right: 9px;
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent-fill) 7.1%, transparent);
}
.view-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 38px;
}
.view-topline .eyebrow {
  color: var(--accent);
}
.coordinates {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--muted);
}
.coordinates span {
  margin-left: 14px;
  opacity: 0.7;
}
.home-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  padding: 44px 0 45px;
  align-items: center;
}
.hero-intro {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 19px;
}
.wave {
  display: inline-block;
  color: var(--accent);
  margin-left: 4px;
  font-size: 23px;
  transition: transform 0.3s;
}
.wave .icon {
  width: 23px;
  height: 23px;
}
.hero-copy:hover .wave {
  transform: rotate(45deg);
}
h1 {
  font-size: clamp(62px, 6.1vw, 88px);
  line-height: 1.03;
  letter-spacing: -5.4px;
  font-weight: 600;
  margin-bottom: 27px;
}
.hero-accent {
  color: var(--accent);
  position: relative;
  white-space: nowrap;
  display: inline-block;
}
.hero-accent > svg {
  position: absolute;
  width: 100%;
  height: 16px;
  bottom: -9px;
  left: 0;
  stroke: var(--accent);
  stroke-width: 2;
  fill: none;
  opacity: 0.8;
}
.hero-role {
  font-family: "Space Grotesk", sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.3px;
  margin-bottom: 13px;
}
.hero-role > span {
  color: var(--accent);
  padding: 0 4px;
}
.hero-description {
  color: var(--muted);
  max-width: 455px;
  font-size: 13px;
  line-height: 1.85;
  margin-bottom: 24px;
}
.primary-button {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  background: var(--accent-fill);
  color: var(--accent-ink);
  border-radius: 100px;
  padding: 8px 8px 8px 23px;
  font-size: 12px;
  font-weight: 800;
  min-height: 49px;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}
.primary-button > span:not([data-send-label]) {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #101014;
  color: #fff;
}
.primary-button .icon {
  width: 17px;
  height: 17px;
}
.primary-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 26px
    color-mix(in srgb, var(--accent-fill) 16.1%, transparent);
}
.primary-button:hover .icon {
  transform: rotate(45deg);
  transition: transform 0.2s;
}
/* Logo circles: actual links with visible hover/focus labels. */
.social-dock {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 25px;
}
.circle-link {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid #41414f;
  display: grid;
  place-items: center;
  background: transparent;
  transition:
    transform 0.25s,
    color 0.25s,
    background 0.25s,
    border-color 0.25s,
    box-shadow 0.25s;
}
[data-theme="light"] .circle-link {
  border-color: #c7c3d2;
}
.circle-face {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  position: relative;
  transition: transform 0.3s;
}
.circle-face .brand-icon {
  width: 20px;
  height: 20px;
}
.circle-face .icon {
  width: 21px;
  height: 21px;
}
.circle-link:hover,
.circle-link:focus-visible {
  background: var(--accent-fill);
  border-color: var(--accent-fill);
  color: var(--accent-ink);
  transform: translateY(-5px);
  box-shadow: 0 7px 24px
    color-mix(in srgb, var(--accent-fill) 14.1%, transparent);
}
.circle-link:hover .circle-face {
  transform: rotate(-8deg);
}
.circle-cv {
  border-color: var(--accent);
  color: var(--accent);
}
.circle-cv .icon {
  width: 24px;
  height: 24px;
}
.cv-mini {
  position: absolute;
  background: var(--bg);
  font-size: 7px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  line-height: 1.1;
  left: 13px;
  top: 24px;
  padding: 1px 0;
}
.circle-link:hover .cv-mini,
.circle-link:focus-visible .cv-mini {
  background: var(--accent-fill);
}
.circle-tooltip {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translate(-50%, 6px);
  font-size: 10px;
  font-weight: 700;
  color: var(--bg);
  background: var(--text);
  border-radius: 7px;
  padding: 6px 10px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.18s,
    transform 0.18s;
  z-index: 20;
}
.circle-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: calc(50% - 4px);
  border: 4px solid transparent;
  border-top-color: var(--text);
}
.circle-link:hover .circle-tooltip,
.circle-link:focus-visible .circle-tooltip {
  opacity: 1;
  transform: translate(-50%, 0);
}
/* Interactive system map. */
.hero-workbench {
  position: relative;
  padding: 23px;
  border: 1px solid #3b384c;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #252431 0%, #191922 50%, #1b1926 100%);
  box-shadow: 0 28px 80px #0002;
  overflow: hidden;
  transform: rotate(1.2deg);
  transition:
    transform 0.4s,
    border-color 0.4s;
}
.hero-workbench:hover {
  transform: rotate(0);
  border-color: #656079;
}
.interactive-field::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: radial-gradient(
    360px circle at var(--pointer-x, 70%) var(--pointer-y, 20%),
    #9386ff10,
    transparent 70%
  );
}
.workbench-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  position: relative;
}
.workbench-heading .eyebrow {
  color: #b6b1c7;
  font-size: 8px;
  letter-spacing: 1.1px;
}
.interactive-label {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #f4f1ff;
  font-size: 9px;
  border: 1px solid #4c465e;
  padding: 5px 8px;
  border-radius: 100px;
}
.interactive-label .icon {
  width: 12px;
  height: 12px;
  color: var(--accent-on-dark);
}
.system-map {
  position: relative;
  height: 285px;
  margin: 20px 0 17px;
  background-image: radial-gradient(#c3b9df2c 0.7px, transparent 0.7px);
  background-size: 15px 15px;
  border-radius: 16px;
}
.map-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.map-track {
  stroke: #666078;
  stroke-width: 1;
  fill: none;
}
.map-cross {
  stroke: #4a435b;
  stroke-width: 1;
  fill: none;
  stroke-dasharray: 3 6;
}
.map-travel {
  stroke: var(--accent-on-dark);
  stroke-width: 1.7;
  fill: none;
  stroke-dasharray: 26 730;
  animation: track-flow 12s linear infinite;
}
@keyframes track-flow {
  to {
    stroke-dashoffset: -756;
  }
}
.map-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-7deg);
  width: 84px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 1px solid #6b5775;
  border-radius: 25px;
  background: #302839;
  box-shadow:
    0 0 55px color-mix(in srgb, var(--accent-fill) 14%, transparent),
    0 8px 30px #0003;
  color: #fff;
}
.map-center > span {
  font-family: "Space Grotesk", sans-serif;
  font-size: 36px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -4px;
  padding-right: 3px;
}
.map-center-mark i {
  color: var(--accent-on-dark);
  font-style: normal;
}
.map-center small {
  font-size: 6px;
  letter-spacing: 1px;
  margin-top: 7px;
  color: #d1bfda;
}
.stage-node {
  width: 123px;
  height: 69px;
  position: absolute;
  z-index: 2;
  border-radius: 13px;
  border: 1px solid #4b455d;
  background: #26232f;
  color: #d9d4e5;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 12px 14px;
  gap: 7px;
  box-shadow: 0 6px 16px #0002;
  transition:
    transform 0.25s,
    background 0.25s,
    border-color 0.25s,
    color 0.25s;
}
.stage-node .icon {
  width: 18px;
  height: 18px;
}
.stage-node span {
  font-size: 9px;
  font-weight: 600;
}
.stage-node:hover {
  transform: translateY(-4px);
  border-color: var(--accent-on-dark);
}
.stage-node.is-selected {
  background: var(--diagram-fill);
  border-color: var(--accent-on-dark);
  color: var(--diagram-ink);
  box-shadow: 0 6px 25px color-mix(in srgb, var(--accent-fill) 18%, transparent);
}
.node-prepare {
  top: 25px;
  left: 5px;
}
.node-inference {
  top: 25px;
  right: 5px;
}
.node-evaluate {
  bottom: 25px;
  right: 5px;
}
.node-deliver {
  bottom: 25px;
  left: 5px;
}
.map-crosshair {
  position: absolute;
  color: #7c728c;
  font-family: monospace;
  font-size: 14px;
}
.crosshair-one {
  left: 1px;
  top: 48%;
}
.crosshair-two {
  right: 1px;
  top: 48%;
}
.stage-output {
  position: relative;
  border-top: 1px solid #3c354b;
  padding-top: 20px;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 10px;
  min-height: 152px;
}
.stage-index {
  color: var(--accent-on-dark);
  font-family: "Space Grotesk", sans-serif;
  font-size: 20px;
  line-height: 1.3;
}
.stage-output h2 {
  color: #f6f2fb;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}
.stage-output p {
  color: #b4aebf;
  font-size: 11px;
  line-height: 1.85;
  margin: 0;
}
.workbench-footer {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #3c354b;
  padding-top: 14px;
  margin-top: 10px;
  font-size: 8px;
  color: #c3bace;
  position: relative;
}
.workbench-footer > span {
  display: flex;
  gap: 6px;
  align-items: center;
}
.workbench-footer .icon {
  width: 12px;
  height: 12px;
  color: var(--accent-on-dark);
}
.home-footnote {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  padding-bottom: 20px;
  font-size: 10px;
}
.home-footnote > p {
  margin: 0;
  color: var(--muted);
}
.home-footnote strong {
  color: var(--text);
  font-weight: 600;
}
.tiny-square {
  display: inline-block;
  height: 5px;
  width: 5px;
  background: var(--accent-fill);
  margin-right: 9px;
  vertical-align: 2px;
}
.home-footnote > a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}
.home-footnote .icon {
  width: 13px;
  height: 13px;
  color: var(--accent);
}
/* Clickable skills live on the overview, not behind another view. */
.skill-playground {
  padding: 48px 0 38px;
}
.skill-heading {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: end;
  margin-bottom: 22px;
}
.skill-heading .eyebrow {
  color: var(--muted);
  font-size: 9px;
  margin-bottom: 10px;
}
.skill-heading h2 {
  font-size: 31px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -1px;
  margin: 0;
}
.skill-heading h2 > span {
  color: var(--accent);
}
.skill-heading > p {
  margin: 0 0 3px;
  font-size: 11px;
  color: var(--muted);
}
.skill-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.skill-button {
  position: relative;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 100px;
  padding: 12px 17px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 600;
  min-height: 47px;
  overflow: hidden;
  transition:
    transform 0.2s,
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
}
.skill-button .icon,
.skill-button .brand-icon {
  width: 17px;
  height: 17px;
}
.skill-button::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    110px circle at var(--pointer-x, 0) var(--pointer-y, 0),
    color-mix(in srgb, var(--accent-fill) 11%, transparent),
    transparent
  );
  opacity: 0;
}
.skill-button:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
}
.skill-button:hover::before {
  opacity: 1;
}
.skill-button.is-selected {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}
.skill-context {
  display: grid;
  grid-template-columns: 36px 1.25fr 1fr;
  gap: 20px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-top: 17px;
  padding: 24px;
  min-height: 141px;
}
.context-icon {
  color: var(--accent);
  padding-top: 4px;
}
.skill-context h3 {
  font-size: 15px;
  margin-bottom: 6px;
  font-weight: 500;
}
.skill-context p {
  color: var(--muted);
  font-size: 11px;
  margin: 0;
  line-height: 1.8;
}
.skill-context > p {
  padding-left: 25px;
  border-left: 1px solid var(--line);
  align-self: center;
  font-size: 10px;
}
.home-evidence {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0 0 56px;
  gap: 16px;
}
.results-heading,
.earlier-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}
.results-heading h2,
.earlier-heading h3 {
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -1px;
  margin: 0;
}
.results-heading h2 span,
.earlier-heading h3 span {
  color: var(--accent);
}
.results-heading > p,
.earlier-heading > p {
  color: var(--muted);
  font-size: 11px;
  margin: 0 0 3px;
  line-height: 1.7;
}
.home-evidence > a {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  background: var(--surface);
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.home-evidence > a:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}
.evidence-kicker {
  display: block;
  font-size: 8px;
  letter-spacing: 1.2px;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 19px;
}
.home-evidence strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 37px;
  font-weight: 500;
  letter-spacing: -1.5px;
  line-height: 1.1;
  display: block;
  margin-bottom: 18px;
}
.home-evidence strong > span:not(.number-unit) {
  color: var(--accent);
  font-size: 25px;
  padding: 0 5px;
}
.home-evidence strong > .number-unit {
  font-size: 14px;
  letter-spacing: -0.5px;
}
.home-evidence > a > span:last-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
  gap: 10px;
}
.home-evidence .icon {
  width: 15px;
  height: 15px;
  color: var(--accent);
}
/* Experience view. */
.view-content {
  padding-top: 56px;
  padding-bottom: 60px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 65px;
  margin-bottom: 48px;
}
.page-heading .eyebrow {
  color: var(--accent);
  font-size: 9px;
  margin-bottom: 24px;
}
.page-heading h2 {
  font-size: clamp(43px, 4.3vw, 61px);
  line-height: 1.08;
  letter-spacing: -2.8px;
  font-weight: 500;
  margin-bottom: 0;
}
.page-heading h2 > span {
  color: var(--muted);
}
.page-heading > p {
  max-width: 310px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
  margin-bottom: 4px;
}
.experience-employer {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  margin-bottom: 5px;
  border-top: 1px solid var(--line);
}
.experience-employer h3 {
  font-size: 17px;
  margin: 0;
  font-weight: 500;
}
.experience-employer p {
  margin: 1px 0 0;
  font-size: 10px;
  color: var(--muted);
}
.experience-employer > span {
  margin-left: auto;
  font-size: 10px;
  color: var(--muted);
}
.work-card {
  --contour-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 34px 0;
  margin-top: 24px;
  overflow: hidden;
}
.work-card-top {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 32px;
}
.work-number {
  font-family: "Space Grotesk", sans-serif;
  color: var(--accent);
  font-size: 14px;
}
.industry {
  font-size: 8px;
  letter-spacing: 1.3px;
  font-weight: 700;
  color: var(--muted);
}
.work-date {
  font-size: 9px;
  margin-left: auto;
  color: var(--muted);
}
.work-card-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 65px;
  padding-bottom: 28px;
}
.work-card h3 {
  font-size: 33px;
  line-height: 1.12;
  letter-spacing: -1.2px;
  font-weight: 500;
  margin-bottom: 22px;
}
.work-card p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}
.work-card .work-lead {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 13px;
}
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 20px;
}
.tag-row > span {
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 5px 9px;
  color: var(--muted);
  font-size: 9px;
}
.results-card {
  background: color-mix(in srgb, var(--accent-fill) 4.3%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent-fill) 19.2%, transparent);
  border-radius: 16px;
  padding: 25px;
}
.results-card > .eyebrow {
  font-size: 8px;
  color: var(--accent);
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.results-card > div {
  border-bottom: 1px solid
    color-mix(in srgb, var(--accent-fill) 14.1%, transparent);
  margin-bottom: 14px;
  padding-bottom: 14px;
}
.results-card > div > p {
  font-size: 10px;
  margin-bottom: 5px;
}
.results-card strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 38px;
  font-weight: 400;
  letter-spacing: -1px;
  line-height: 1.15;
  white-space: nowrap;
}
.results-card strong > b {
  color: var(--accent);
  font-weight: 500;
}
.results-card strong .icon {
  width: 25px;
  height: 25px;
  color: var(--accent);
  transform: rotate(45deg);
  margin: 0 9px;
}
.results-card small {
  font-size: 9px;
  color: var(--muted);
}
.judgments-card {
  padding: 22px 28px;
  border-radius: 16px;
  background: var(--surface-raised);
}
.large-number {
  font-family: "Space Grotesk", sans-serif;
  font-size: 76px;
  line-height: 1;
  letter-spacing: -3px;
}
.large-number > span {
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  letter-spacing: 0;
  margin-top: 8px;
}
.judgments-card p {
  font-size: 10px;
  margin: 13px 0 17px;
}
.judgments-card small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.8;
  display: block;
}
.tiny-bars {
  display: flex;
  gap: 6px;
  align-items: end;
  height: 35px;
  margin-bottom: 18px;
}
.tiny-bars > i {
  background: #9aa8ff;
  opacity: 0.45;
  border-radius: 4px 4px 0 0;
  height: 50%;
  flex: 1;
}
.tiny-bars > i:nth-child(2n) {
  height: 75%;
  opacity: 0.65;
}
.tiny-bars > i:nth-child(3n) {
  height: 100%;
  opacity: 1;
}
.platform-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
}
.platform-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  align-items: start;
}
.platform-metrics strong {
  font-family: "Space Grotesk", sans-serif;
  color: var(--accent);
  font-size: 27px;
  font-weight: 500;
  white-space: nowrap;
  letter-spacing: -1px;
}
.platform-metrics p {
  font-size: 11px;
  margin-top: 12px;
}
.case-details {
  border-top: 1px solid var(--line);
  padding: 25px 0 30px;
}
.case-details h4 {
  margin: 0 0 22px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--accent);
}
.case-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 38px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.case-points li {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
  padding-left: 17px;
  position: relative;
}
.case-points li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.case-points strong {
  display: block;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 5px;
}
.platform-grid {
  padding-bottom: 28px;
}
.earlier-work {
  margin-top: 50px;
}
.earlier-heading .eyebrow {
  color: var(--accent);
  font-size: 9px;
  margin-bottom: 15px;
  line-height: 1.8;
}
.earlier-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.application-card {
  --contour-radius: 20px;
  display: flex;
  flex-direction: column;
  padding: 28px 25px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.application-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--accent);
  margin-bottom: 24px;
}
.application-card h4 {
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.6px;
  line-height: 1.25;
  margin: 0 0 16px;
}
.application-card p,
.application-card li {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}
.application-card p {
  margin: 0 0 20px;
}
.application-card .application-outcome {
  color: var(--text);
  font-size: 13px;
  line-height: 1.8;
}
.application-outcome > span {
  display: block;
  color: var(--accent);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.application-card li strong {
  color: var(--text);
  font-weight: 600;
}
.application-card ul {
  padding-left: 16px;
  margin: 0 0 25px;
}
.application-card li + li {
  margin-top: 12px;
}
.application-card li::marker {
  color: var(--accent);
}
.application-card .tag-row {
  margin-top: auto;
}
.contour-card {
  position: relative;
  transition:
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 280ms ease;
}
.home-evidence > .contour-card {
  --contour-radius: 16px;
}
.card-contour {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}
.card-contour rect {
  width: calc(100% - 2px);
  height: calc(100% - 2px);
  rx: calc(var(--contour-radius) - 1px);
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0;
  transition:
    stroke-dashoffset 800ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 250ms ease;
}
.home-evidence > a.contour-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px color-mix(in srgb, var(--accent-fill) 9%, transparent);
  outline-color: var(--accent);
}
.home-evidence > a.contour-card:focus-visible > .card-contour rect {
  stroke-dashoffset: 0;
  opacity: 1;
}
.work-card:focus,
.application-card:focus {
  outline: none;
}
@media (hover: hover) {
  .contour-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px
      color-mix(in srgb, var(--accent-fill) 9%, transparent);
  }
  .home-evidence > .contour-card:hover {
    border-color: var(--line);
  }
  .contour-card:hover > .card-contour rect {
    stroke-dashoffset: 0;
    opacity: 1;
  }
}
@media (max-width: 1000px) {
  .earlier-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .results-heading,
  .earlier-heading {
    display: block;
  }
  .results-heading h2,
  .earlier-heading h3 {
    font-size: 25px;
  }
  .results-heading > p,
  .earlier-heading > p {
    margin-top: 12px;
  }
  .work-card {
    --contour-radius: 20px;
  }
  .case-points {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .case-points li {
    font-size: 12px;
  }
  .case-points strong {
    font-size: 13px;
  }
  .application-card {
    padding: 24px 22px;
  }
}

.next-view {
  margin-top: 48px;
  border-top: 1px solid var(--line);
  padding: 28px 0 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.next-view > span {
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--muted);
}
.next-view > strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 23px;
  font-weight: 500;
  display: flex;
  gap: 30px;
  align-items: center;
}
.next-view .icon {
  color: var(--accent);
  transition: transform 0.2s;
}
.next-view:hover .icon {
  transform: translate(3px, -3px);
}
/* Toolkit and about bento compositions. */
.toolkit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.toolkit-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 30px;
}
.toolkit-cobalt {
  --toolkit-accent: #4d82ff;
  --toolkit-fill: #174fff;
}
.toolkit-purple {
  --toolkit-accent: #bd55ff;
  --toolkit-fill: #8719e0;
}
.toolkit-crimson {
  --toolkit-accent: #ff375f;
  --toolkit-fill: #dc1745;
}
.toolkit-raspberry {
  --toolkit-accent: #ff2aab;
  --toolkit-fill: #cf007d;
}
:root[data-theme="light"] .toolkit-cobalt {
  --toolkit-accent: #174fff;
}
:root[data-theme="light"] .toolkit-purple {
  --toolkit-accent: #7f00d9;
}
:root[data-theme="light"] .toolkit-crimson {
  --toolkit-accent: #c40037;
}
:root[data-theme="light"] .toolkit-raspberry {
  --toolkit-accent: #c60076;
}
.toolkit-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--toolkit-fill);
  border-radius: 14px;
  margin-bottom: 27px;
  color: #ffffff;
  background: var(--toolkit-fill);
}
.toolkit-card > .eyebrow {
  color: var(--toolkit-accent);
  font-size: 8px;
  margin-bottom: 12px;
}
.toolkit-card h3 {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.8px;
  margin-bottom: 13px;
}
.toolkit-card > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 12px;
  max-width: 410px;
}
.toolkit-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 8px;
}
.toolkit-chips > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--surface-raised);
  border: 1px solid color-mix(in srgb, var(--toolkit-accent) 28%, var(--line));
  border-radius: 100px;
  padding: 7px 12px;
  font-size: 10px;
}
.toolkit-chips .brand-icon,
.toolkit-chips .icon {
  width: 14px;
  height: 14px;
  color: var(--toolkit-accent);
}
.collaboration-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 35px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 35px;
  margin-top: 25px;
  background: var(--surface);
  align-items: center;
}
.collaboration-mark {
  font-family: "Space Grotesk", sans-serif;
  font-size: 49px;
  letter-spacing: -5px;
  color: var(--accent);
  transform: rotate(-8deg);
  text-align: center;
}
.collaboration-card .eyebrow {
  color: var(--muted);
  font-size: 8px;
  margin-bottom: 10px;
}
.collaboration-card h3 {
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -0.7px;
  margin-bottom: 10px;
}
.collaboration-card p:not(.eyebrow) {
  color: var(--muted);
  font-size: 12px;
  max-width: 770px;
  margin: 0;
}
.about-bento {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
}
.about-story {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 40px;
}
.about-story > .eyebrow {
  color: var(--muted);
  font-size: 8px;
}
.about-story h3 {
  font-size: 43px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -2px;
  margin: 28px 0 23px;
}
.about-story h3 > span {
  color: var(--accent);
}
.about-story p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
  max-width: 450px;
}
.small-action {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 10px;
  font-weight: 600;
  margin-top: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}
.small-action .icon {
  width: 15px;
  height: 15px;
  color: var(--accent);
}
.endurance-card {
  background: #111114;
  border: 1px solid #34343c;
  border-radius: var(--radius);
  padding: 27px 32px;
  position: relative;
  overflow: hidden;
  color: #ffffff;
}
.endurance-top {
  display: flex;
  align-items: center;
  gap: 8px;
}
.triathlon-icons {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ff2434;
}
.triathlon-icons > .icon {
  width: 18px;
  height: 18px;
}
.endurance-top .eyebrow {
  font-size: 8px;
  color: #ffffff;
}
.race-art {
  position: relative;
  height: 175px;
  margin: 15px 0 15px;
}
.race-art > strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 48px;
  letter-spacing: -2.5px;
  line-height: 0.95;
  position: absolute;
  left: 15px;
  top: 28px;
  transform: rotate(-7deg);
}
.race-art > strong > span {
  position: absolute;
  right: -75px;
  top: 13px;
  font-size: 85px;
  font-weight: 400;
  color: #ff2434;
}
.race-art > strong > span .icon {
  width: 85px;
  height: 85px;
  stroke-width: 1.2;
}
.race-line {
  position: absolute;
  height: 1px;
  width: 150%;
  background: #e8203c66;
  transform: rotate(-15deg);
  left: -40px;
  bottom: 20px;
}
.race-line.line-two {
  bottom: 5px;
}
.race-line.line-three {
  bottom: -10px;
}
.race-orbit {
  position: absolute;
  right: 10px;
  top: 0;
  width: 120px;
  height: 120px;
  border: 1px solid #e8203c88;
  border-radius: 50%;
}
.endurance-card h3 {
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.7px;
  line-height: 1.2;
  margin-bottom: 12px;
}
.endurance-card p {
  font-size: 11px;
  line-height: 1.8;
  max-width: 330px;
  color: #d9d9df;
}
.future-label {
  display: inline-block;
  border: 1px solid #ff243480;
  border-radius: 100px;
  padding: 6px 10px;
  font-size: 7px;
  letter-spacing: 1px;
  font-weight: 700;
  margin-top: 5px;
  color: #ffffff;
  background: #ff243410;
}
.credentials-heading {
  margin: 48px 0 25px;
}
.credentials-heading > .eyebrow {
  color: var(--muted);
  font-size: 8px;
  margin-bottom: 12px;
}
.credentials-heading > h3 {
  font-size: 29px;
  font-weight: 500;
  letter-spacing: -1px;
}
.credential-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.credential-card {
  border: 1px solid var(--line);
  padding: 28px;
  border-radius: 18px;
  background: var(--surface);
}
.credential-number {
  font-family: "Space Grotesk", sans-serif;
  font-size: 24px;
  color: var(--accent);
}
.credential-card > .eyebrow {
  font-size: 8px;
  color: var(--muted);
  margin: 18px 0 12px;
}
.credential-card h4 {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 13px;
}
.credential-card > p:not(.eyebrow) {
  font-size: 10px;
  line-height: 1.9;
  color: var(--muted);
}
.credential-card small {
  display: block;
  font-size: 9px;
  color: var(--accent);
  padding-top: 10px;
}
/* Contact links and the accessible message composer. */
.contact-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 90px;
  align-items: start;
  padding: 22px 0 25px;
}
.contact-main > .eyebrow {
  color: var(--accent);
  font-size: 9px;
  margin-bottom: 37px;
}
.contact-main > h2 {
  font-size: clamp(56px, 6vw, 83px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -4px;
  margin-bottom: 27px;
}
.contact-main > h2 > span {
  color: var(--accent);
}
.contact-main > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}
.contact-socials {
  margin-top: 32px;
  gap: 12px;
}
.contact-socials > .circle-link {
  width: 57px;
  height: 57px;
}
.contact-socials .brand-icon {
  width: 23px;
  height: 23px;
}
.contact-socials .circle-face .icon {
  width: 25px;
  height: 25px;
}
.contact-socials .cv-mini {
  top: 29px;
  left: 16px;
  font-size: 8px;
}
.contact-address {
  margin-top: 47px;
}
.contact-address > .eyebrow {
  color: var(--muted);
  font-size: 8px;
}
.contact-address > div {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-top: 11px;
}
.contact-address > div > span {
  font-family: "Space Grotesk", sans-serif;
  font-size: 25px;
  letter-spacing: -0.8px;
}
.contact-address button {
  border: 1px solid var(--line);
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface);
}
.contact-address button:hover {
  background: var(--surface-raised);
  color: var(--accent);
}
.contact-address .icon {
  width: 15px;
  height: 15px;
}
#copy-status {
  min-height: 18px;
  font-size: 10px;
  color: var(--accent);
  margin: 6px 0 4px;
}
.contact-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
}
.contact-phone .icon {
  width: 16px;
  height: 16px;
  color: var(--accent);
}
.contact-card {
  background: var(--accent-fill);
  color: var(--accent-ink);
  border-radius: 24px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  margin-top: 13px;
  min-height: 490px;
  transform: rotate(2deg);
}
.contact-asterisk {
  position: absolute;
  width: 195px;
  height: 195px;
  fill: currentColor;
  pointer-events: none;
  top: -20px;
  right: -26px;
  color: color-mix(in srgb, var(--accent-ink) 9%, transparent);
  transition: transform 1s;
}
.contact-card:hover .contact-asterisk {
  transform: rotate(90deg);
}
.contact-card > .eyebrow {
  position: relative;
  font-size: 8px;
  line-height: 1.8;
  letter-spacing: 1.5px;
  margin-bottom: 65px;
}
.contact-card h3 {
  font-size: 35px;
  line-height: 1.1;
  letter-spacing: -1.5px;
  font-weight: 500;
  position: relative;
  margin-bottom: 20px;
}
.contact-card > p:not(.eyebrow) {
  font-size: 11px;
  max-width: 245px;
  line-height: 1.9;
}
.contact-email-circle {
  display: grid;
  place-items: center;
  width: 65px;
  height: 65px;
  background: var(--accent-ink);
  color: var(--accent-fill);
  border-radius: 50%;
  margin-top: 30px;
  transition: transform 0.25s;
}
.contact-email-circle .icon {
  width: 30px;
  height: 30px;
  stroke-width: 1.3;
}
.contact-email-circle:hover {
  transform: rotate(45deg);
}
.contact-location {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 27px;
  font-size: 8px;
  letter-spacing: 1.3px;
}
.contact-location .icon {
  width: 14px;
  height: 14px;
}
.site-footer {
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 25px;
  padding-top: 24px;
  padding-bottom: 28px;
}
.footer-name {
  font-family: "Space Grotesk", sans-serif;
  font-size: 14px;
  letter-spacing: -0.4px;
}
.footer-name > span {
  margin-left: 7px;
  color: var(--accent);
}
.footer-name .icon {
  width: 16px;
  height: 16px;
}
.site-footer > span {
  font-size: 9px;
  color: var(--muted);
}
.footer-cv {
  margin-left: auto;
  display: flex;
  gap: 7px;
  align-items: center;
  color: var(--muted);
  font-size: 9px;
}
.footer-cv .icon {
  width: 14px;
  height: 14px;
}
.noscript-note {
  color: var(--muted);
  font-size: 12px;
}
/* Tablet. */
@media (max-width: 1120px) {
  .page-width {
    width: calc(100% - 72px);
  }
  .header-inner {
    width: calc(100% - 56px);
    gap: 15px;
  }
  .identity-name {
    display: none;
  }
  .nav-tab {
    padding-inline: 16px;
    font-size: 11px;
  }
  .home-hero {
    gap: 35px;
    grid-template-columns: 1.05fr 1fr;
  }
  h1 {
    font-size: 69px;
    letter-spacing: -4.3px;
  }
  .hero-role {
    font-size: 13px;
  }
  .hero-description {
    font-size: 12px;
  }
  .hero-workbench {
    padding: 20px;
  }
  .workbench-heading .eyebrow {
    font-size: 7px;
    letter-spacing: 0.7px;
  }
  .system-map {
    height: 260px;
  }
  .stage-node {
    width: 110px;
  }
  .stage-output {
    min-height: 166px;
  }
  .stage-output h2 {
    font-size: 16px;
  }
  .stage-output p {
    font-size: 10px;
  }
  .home-evidence > a {
    padding: 20px;
  }
  .home-evidence strong {
    font-size: 31px;
  }
  .home-evidence strong > .number-unit {
    font-size: 12px;
  }
  .work-card-grid {
    gap: 35px;
  }
  .work-card {
    padding: 25px 28px 0;
  }
  .work-card h3 {
    font-size: 29px;
  }
  .platform-grid {
    gap: 30px;
  }
  .platform-metrics {
    gap: 17px;
  }
  .platform-metrics strong {
    font-size: 23px;
  }
  .about-story {
    padding: 30px;
  }
  .about-story h3 {
    font-size: 38px;
  }
  .credential-card {
    padding: 23px;
  }
  .contact-layout {
    gap: 45px;
  }
  .contact-address > div > span {
    font-size: 23px;
  }
}
@media (max-width: 900px) and (min-width: 761px) {
  .home-hero {
    gap: 22px;
  }
  h1 {
    font-size: 58px;
    letter-spacing: -3.5px;
  }
  .hero-role {
    font-size: 11px;
  }
  .hero-workbench {
    padding: 17px;
  }
  .stage-node {
    width: 94px;
    padding: 10px;
  }
  .map-center {
    width: 70px;
    height: 70px;
    border-radius: 22px;
  }
  .stage-output {
    min-height: 190px;
    grid-template-columns: 27px 1fr;
  }
  .workbench-footer {
    font-size: 7px;
  }
  .home-evidence {
    gap: 10px;
  }
  .home-evidence > a {
    padding: 18px;
  }
  .home-evidence strong {
    font-size: 27px;
  }
  .evidence-kicker {
    font-size: 7px;
  }
  .home-evidence strong > .number-unit {
    display: block;
    margin-top: 6px;
  }
  .skill-context {
    grid-template-columns: 25px 1.2fr 1fr;
    gap: 14px;
  }
  .page-heading {
    gap: 35px;
  }
  .page-heading h2 {
    font-size: 43px;
  }
  .page-heading > p {
    max-width: 245px;
    font-size: 11px;
  }
}
/* Mobile: the same real tabs become a thumb-friendly navigation dock. */
@media (max-width: 760px) {
  html {
    scroll-padding-top: 90px;
  }
  body {
    padding-bottom: 87px;
  }
  .page-width {
    width: calc(100% - 40px);
  }
  .header-inner {
    width: calc(100% - 40px);
    height: 78px;
  }
  .identity-name {
    display: inline-block;
    font-size: 8px;
    letter-spacing: 1.3px;
    padding-left: 12px;
  }
  .identity {
    gap: 12px;
  }
  .monogram {
    font-size: 38px;
    letter-spacing: -6px;
  }
  .header-tools {
    gap: 8px;
  }
  .theme-toggle {
    width: 39px !important;
    height: 39px !important;
  }
  .app-navigation {
    position: fixed;
    bottom: 13px;
    left: 12px;
    right: 12px;
    padding: 6px;
    border-radius: 22px;
    z-index: 50;
    background: var(--header);
    backdrop-filter: blur(20px);
    box-shadow: 0 5px 35px #0004;
    justify-content: space-between;
    gap: 2px;
  }
  .nav-tab {
    flex: 1;
    min-width: 0;
    padding: 8px 3px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-size: 8px;
    line-height: 1.3;
    min-height: 52px;
  }
  .nav-tab > .icon {
    display: block;
    width: 18px;
    height: 18px;
  }
  .view-topline {
    padding-top: 27px;
  }
  .view-topline > .eyebrow {
    font-size: 8px;
    letter-spacing: 1.2px;
  }
  .coordinates {
    display: none;
  }
  .home-hero {
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 32px 0 31px;
  }
  .hero-intro {
    font-size: 16px;
    margin-bottom: 18px;
  }
  h1 {
    font-size: clamp(48px, 12.3vw, 76px);
    letter-spacing: -3.5px;
    line-height: 1.04;
    margin-bottom: 29px;
  }
  .hero-role {
    font-size: 12px;
    margin-bottom: 12px;
    letter-spacing: -0.2px;
  }
  .hero-description {
    font-size: 12px;
    max-width: 410px;
    margin-bottom: 22px;
  }
  .primary-button {
    font-size: 11px;
    min-height: 48px;
    padding-left: 19px;
  }
  .social-dock {
    gap: 11px;
    margin-top: 25px;
  }
  .circle-link {
    width: 47px;
    height: 47px;
  }
  .hero-workbench {
    padding: 22px;
    transform: none;
    border-radius: 20px;
    max-width: 510px;
    width: 100%;
    justify-self: center;
  }
  .workbench-heading .eyebrow {
    font-size: 7px;
    letter-spacing: 0.8px;
  }
  .interactive-label {
    font-size: 8px;
    padding: 4px 7px;
  }
  .system-map {
    height: 252px;
    margin: 15px 0;
  }
  .stage-node {
    width: 112px;
    height: 65px;
    padding: 11px 13px;
  }
  .stage-node span {
    font-size: 8px;
  }
  .stage-node .icon {
    width: 16px;
    height: 16px;
  }
  .node-prepare,
  .node-inference {
    top: 18px;
  }
  .node-evaluate,
  .node-deliver {
    bottom: 18px;
  }
  .map-center {
    height: 72px;
    width: 72px;
    border-radius: 21px;
  }
  .map-center > span {
    font-size: 32px;
  }
  .map-center small {
    font-size: 5px;
  }
  .stage-output {
    min-height: 152px;
    padding-top: 18px;
    grid-template-columns: 29px 1fr;
    gap: 8px;
  }
  .stage-index {
    font-size: 18px;
  }
  .stage-output h2 {
    font-size: 17px;
    margin-bottom: 9px;
  }
  .stage-output p {
    font-size: 10px;
  }
  .workbench-footer {
    font-size: 7px;
  }
  .home-footnote {
    font-size: 8px;
    gap: 15px;
    padding-bottom: 0;
  }
  .home-footnote > a {
    font-size: 8px;
    gap: 8px;
    white-space: nowrap;
  }
  .footnote-date {
    display: block;
    padding-left: 13px;
    margin-top: 3px;
  }
  .skill-playground {
    padding: 40px 0 27px;
  }
  .skill-heading {
    display: block;
    margin-bottom: 20px;
  }
  .skill-heading .eyebrow {
    font-size: 8px;
  }
  .skill-heading h2 {
    font-size: 28px;
  }
  .skill-heading > p {
    margin-top: 10px;
    font-size: 10px;
  }
  .skill-buttons {
    gap: 7px;
  }
  .skill-button {
    padding: 10px 13px;
    font-size: 10px;
    gap: 7px;
    min-height: 43px;
  }
  .skill-button .icon,
  .skill-button .brand-icon {
    width: 15px;
    height: 15px;
  }
  .skill-context {
    padding: 21px;
    grid-template-columns: 24px 1fr;
    gap: 12px;
    min-height: 210px;
  }
  .skill-context > p {
    grid-column: 2;
    border-left: 0;
    padding-left: 0;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }
  .skill-context h3 {
    font-size: 14px;
  }
  .skill-context p {
    font-size: 10px;
  }
  .home-evidence {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-bottom: 38px;
  }
  .home-evidence > a {
    padding: 23px;
  }
  .home-evidence strong {
    font-size: 38px;
  }
  .evidence-kicker {
    font-size: 8px;
    margin-bottom: 13px;
  }
  .home-evidence > a > span:last-child {
    font-size: 10px;
  }
  .view-content {
    padding-top: 33px;
    padding-bottom: 40px;
  }
  .page-heading {
    display: block;
    margin-bottom: 30px;
  }
  .page-heading .eyebrow {
    font-size: 8px;
    margin-bottom: 22px;
    letter-spacing: 1px;
  }
  .page-heading h2 {
    font-size: clamp(33px, 9vw, 52px);
    letter-spacing: -1.9px;
  }
  .page-heading > p {
    margin-top: 24px;
    font-size: 11px;
    max-width: 340px;
  }
  .experience-employer {
    gap: 11px;
    padding: 18px 0;
  }
  .experience-employer h3 {
    font-size: 16px;
  }
  .experience-employer p {
    font-size: 8px;
  }
  .experience-employer > span {
    font-size: 8px;
    text-align: right;
    max-width: 68px;
  }
  .work-card {
    padding: 22px 21px 0;
    border-radius: 20px;
    margin-top: 18px;
  }
  .work-card-top {
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
  }
  .industry {
    font-size: 7px;
    letter-spacing: 0.7px;
  }
  .work-date {
    font-size: 8px;
  }
  .work-number {
    font-size: 12px;
  }
  .work-card-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .work-card h3 {
    font-size: 28px;
    letter-spacing: -1.1px;
    margin-bottom: 19px;
  }
  .work-card .work-lead {
    font-size: 14px;
  }
  .work-card p {
    font-size: 11px;
  }
  .tag-row {
    gap: 6px;
    margin-top: 18px;
  }
  .tag-row > span {
    padding: 5px 8px;
    font-size: 8px;
  }
  .results-card {
    padding: 22px;
  }
  .results-card > .eyebrow {
    font-size: 7px;
    letter-spacing: 0.8px;
  }
  .results-card strong {
    font-size: 35px;
  }
  .results-card strong .icon {
    width: 22px;
    height: 22px;
    margin: 0 7px;
  }
  .results-card > div > p {
    font-size: 10px;
  }
  .judgments-card {
    padding: 25px;
  }
  .large-number {
    font-size: 66px;
  }
  .large-number > span {
    display: inline;
    font-size: 12px;
    letter-spacing: 0;
    margin-left: 12px;
  }
  .platform-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .platform-work .industry {
    max-width: 230px;
  }
  .platform-work .work-date {
    margin-left: 20px;
  }
  .platform-metrics strong {
    font-size: 23px;
  }
  .platform-metrics p {
    font-size: 10px;
  }

  .next-view {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 30px;
    padding-top: 24px;
  }
  .next-view > span {
    font-size: 8px;
  }
  .next-view > strong {
    font-size: 23px;
    gap: 22px;
  }
  .toolkit-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .toolkit-card {
    padding: 27px;
    border-radius: 20px;
  }
  .toolkit-card h3 {
    font-size: 25px;
  }
  .toolkit-card > p:not(.eyebrow) {
    font-size: 11px;
  }
  .toolkit-chips {
    gap: 7px;
  }
  .toolkit-chips > span {
    font-size: 9px;
    padding: 7px 10px;
  }
  .collaboration-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 27px;
  }
  .collaboration-mark {
    text-align: left;
    font-size: 40px;
  }
  .collaboration-card h3 {
    font-size: 25px;
  }
  .collaboration-card p:not(.eyebrow) {
    font-size: 11px;
  }
  .about-bento {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .about-story {
    padding: 28px;
  }
  .about-story h3 {
    font-size: 37px;
    margin-top: 24px;
  }
  .about-story p {
    font-size: 11px;
  }
  .small-action {
    font-size: 9px;
    gap: 10px;
  }
  .endurance-card {
    padding: 27px;
  }
  .race-art {
    max-width: 350px;
  }
  .credentials-heading {
    margin-top: 35px;
  }
  .credentials-heading > h3 {
    font-size: 27px;
  }
  .credential-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .credential-card {
    padding: 25px;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 0;
  }
  .contact-main > .eyebrow {
    font-size: 8px;
    letter-spacing: 0.9px;
    margin-bottom: 30px;
  }
  .contact-main > h2 {
    font-size: clamp(47px, 12.7vw, 72px);
    letter-spacing: -2.8px;
  }
  .contact-main > p:not(.eyebrow) {
    font-size: 11px;
  }
  .contact-socials {
    gap: 10px;
  }
  .contact-socials > .circle-link {
    width: 52px;
    height: 52px;
  }
  .contact-socials .cv-mini {
    top: 26px;
    left: 14px;
  }
  .contact-address {
    margin-top: 35px;
  }
  .contact-address > div {
    gap: 12px;
  }
  .contact-address > div > span {
    font-size: clamp(18px, 5.5vw, 25px);
  }
  .contact-address button {
    width: 35px;
    height: 35px;
    flex-shrink: 0;
  }
  .contact-card {
    transform: none;
    margin-top: 0;
    min-height: 430px;
    padding: 30px;
    max-width: 450px;
  }
  .contact-card > .eyebrow {
    margin-bottom: 47px;
  }
  .contact-card h3 {
    font-size: 34px;
  }
  .site-footer {
    flex-wrap: wrap;
    gap: 10px 18px;
    padding-top: 22px;
    padding-bottom: 25px;
  }
  .footer-name {
    font-size: 13px;
  }
  .site-footer > span {
    font-size: 8px;
  }
  .footer-cv {
    font-size: 8px;
  }
}
@media (max-width: 360px) {
  .header-inner {
    gap: 10px;
  }
  .identity-name {
    display: none;
  }
  .hero-role {
    font-size: 10.5px;
  }
  .hero-workbench {
    padding: 17px;
  }
  .workbench-heading .eyebrow {
    font-size: 6.5px;
    letter-spacing: 0.3px;
  }
  .system-map {
    height: 240px;
  }
  .stage-node {
    width: 97px;
    height: 62px;
    padding: 10px;
  }
  .stage-output h2 {
    font-size: 15px;
  }
  .stage-output p {
    font-size: 9px;
  }
  .stage-output {
    min-height: 165px;
  }
  .results-card {
    padding: 18px;
  }
  .results-card strong {
    font-size: 30px;
  }
  .work-card h3 {
    font-size: 25px;
  }
  .contact-socials {
    gap: 7px;
  }
  .contact-socials > .circle-link {
    width: 48px;
    height: 48px;
  }
  .contact-socials .cv-mini {
    top: 24px;
    left: 12px;
  }
  .coordinates {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .hero-workbench {
    transform: none;
  }
}
@media print {
  .site-header,
  .social-dock,
  .hero-workbench,
  .site-footer,
  .next-view,
  .contact-card {
    display: none;
  }
  body {
    background: white;
    color: black;
    padding: 0;
  }
  .page-width {
    width: 100%;
  }
  .view[hidden] {
    display: block !important;
  }
  .view {
    min-height: 0;
  }
  .view-content {
    padding-top: 25px;
  }
  .work-card,
  .toolkit-card,
  .credential-card {
    break-inside: avoid;
  }
}
/* Integration refinements from rendered desktop/mobile review. */
.view:focus,
#main:focus {
  outline: none;
}
.home-hero {
  padding-top: 28px;
  padding-bottom: 34px;
  gap: 48px;
}
h1 {
  font-size: clamp(62px, 5.8vw, 82px);
}
.hero-intro {
  margin-bottom: 16px;
}
.hero-description {
  font-size: 14px;
}
.hero-action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}
.hero-action-row .social-dock {
  margin-top: 0;
  gap: 8px;
}
.hero-action-row .circle-link {
  width: 44px;
  height: 44px;
}
.hero-action-row .primary-button {
  font-size: 11px;
  gap: 15px;
  padding-left: 17px;
}
.hero-action-row .cv-mini {
  left: 11px;
  top: 22px;
}
.system-map {
  height: 242px;
}
.stage-output {
  min-height: 155px;
}
.stage-output p {
  font-size: 12px;
}
.work-card p {
  font-size: 14px;
}
.work-card .work-lead {
  font-size: 17px;
}
.skill-context p {
  font-size: 12px;
}
.skill-context > p {
  font-size: 11px;
}
.skill-context {
  min-height: 150px;
}
.results-card > div > p {
  font-size: 11px;
}
.platform-metrics p {
  font-size: 12px;
}
.toolkit-card > p:not(.eyebrow),
.collaboration-card p:not(.eyebrow),
.about-story p,
.contact-main > p:not(.eyebrow) {
  font-size: 14px;
}
.credential-card > p:not(.eyebrow) {
  font-size: 12px;
}
.criterion-blocks {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 5px;
  margin: 18px 0;
}
.criterion-blocks > span {
  display: grid;
  place-items: center;
  height: 30px;
  background: #9aa8ff19;
  border: 1px solid #9aa8ff45;
  color: var(--blue);
  border-radius: 5px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 9px;
}
@media (min-width: 1121px) and (max-width: 1350px) {
  .hero-action-row {
    gap: 15px;
  }
  .hero-action-row .social-dock {
    gap: 7px;
  }
  .hero-action-row .circle-link {
    width: 42px;
    height: 42px;
  }
  .hero-action-row .primary-button {
    font-size: 10px;
    gap: 11px;
    padding-left: 15px;
  }
}
@media (max-width: 1120px) and (min-width: 761px) {
  h1 {
    font-size: clamp(55px, 6vw, 69px);
  }
  .home-hero {
    gap: 30px;
  }
  .hero-action-row {
    gap: 15px;
  }
  .hero-description {
    font-size: 13px;
  }
  .stage-output {
    min-height: 205px;
  }
  .stage-output p {
    font-size: 11px;
  }
}
@media (max-width: 760px) {
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .app-navigation {
    bottom: max(13px, env(safe-area-inset-bottom));
  }
  #home > .page-width {
    display: flex;
    flex-direction: column;
  }
  .home-hero {
    display: contents;
  }
  .hero-copy {
    order: 1;
    padding-top: 31px;
  }
  .skill-playground {
    order: 2;
    padding-top: 38px;
    padding-bottom: 12px;
  }
  .hero-workbench {
    order: 3;
    margin: 22px auto 31px;
    flex-shrink: 0;
  }
  .home-footnote {
    order: 4;
    padding-bottom: 27px;
  }
  .home-results {
    order: 5;
  }
  h1 {
    font-size: clamp(48px, 12.3vw, 76px);
  }
  .hero-description {
    font-size: 13px;
  }
  .hero-action-row {
    gap: 23px;
  }
  .hero-action-row .primary-button {
    font-size: 11px;
    min-height: 48px;
  }
  .hero-action-row .social-dock {
    width: 100%;
    gap: 11px;
  }
  .hero-action-row .circle-link {
    width: 48px;
    height: 48px;
  }
  .hero-action-row .cv-mini {
    left: 13px;
    top: 24px;
  }
  .system-map {
    height: 252px;
  }
  .stage-output {
    min-height: 185px;
  }
  .stage-output p {
    font-size: 12px;
  }
  .skill-context p {
    font-size: 12px;
  }
  .skill-context > p {
    font-size: 11px;
  }
  .skill-context {
    min-height: 250px;
  }
  .work-card p {
    font-size: 13px;
  }
  .work-card .work-lead {
    font-size: 15px;
  }
  .platform-metrics p {
    font-size: 11px;
  }
  .toolkit-card > p:not(.eyebrow),
  .collaboration-card p:not(.eyebrow),
  .about-story p,
  .contact-main > p:not(.eyebrow) {
    font-size: 13px;
  }
  .credential-card > p:not(.eyebrow) {
    font-size: 12px;
  }
}
@media (max-width: 360px) {
  .system-map {
    height: 240px;
  }
  .stage-output {
    min-height: 218px;
  }
  .stage-output p {
    font-size: 11px;
  }
  .skill-context {
    padding: 19px;
  }
}
@media (max-width: 760px) {
  .site-header {
    background: var(--bg);
  }
}
/* Keep logo tooltips inside the viewport, including while hidden. */
.social-dock .circle-link:first-child .circle-tooltip {
  left: 0;
  transform: translateY(6px);
}
.social-dock .circle-link:first-child:hover .circle-tooltip,
.social-dock .circle-link:first-child:focus-visible .circle-tooltip {
  transform: translateY(0);
}
.social-dock .circle-link:first-child .circle-tooltip::after {
  left: 18px;
}
.hero-action-row .circle-link {
  width: 48px;
  height: 48px;
}
.hero-action-row .cv-mini {
  left: 13px;
  top: 24px;
}
@media (max-width: 360px) {
  .hero-action-row .social-dock {
    gap: 9px;
  }
}

/* Message composer: direct delivery with accessible request feedback. */
body.has-contact-dialog {
  overflow: hidden;
}
.contact-email-circle {
  border: 0;
}
.contact-form-dialog {
  width: min(620px, calc(100% - 32px));
  max-height: calc((100dvh - 40px) / var(--display-scale));
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  color: var(--text);
  padding: 30px;
  box-shadow: 0 30px 100px #0006;
  overflow-y: auto;
}
.contact-form-dialog::backdrop {
  background: #07070dbb;
  backdrop-filter: blur(7px);
}
.contact-form-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.contact-form-heading .eyebrow {
  color: var(--accent);
  font-size: 9px;
  margin: 0;
}
.contact-form-close {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface-raised);
  font-size: 25px;
  line-height: 1;
  flex-shrink: 0;
}
.contact-form-close:hover {
  color: var(--accent);
}
.contact-form-dialog h2 {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -1.3px;
  line-height: 1.15;
  margin: 18px 0 14px;
}
.contact-form-dialog h2 span {
  color: var(--accent);
}
#contact-form-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 460px;
}
.contact-form-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}
.form-field {
  min-width: 0;
}
.form-field-wide {
  grid-column: 1 / -1;
}
.form-field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 7px;
}
.form-field input,
.form-field textarea {
  display: block;
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 13px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  line-height: 1.6;
}
.form-field textarea {
  min-height: 128px;
  resize: vertical;
}
.form-field input:focus-visible,
.form-field textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.contact-form-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 23px;
}
.contact-form-actions .primary-button {
  border: 0;
}
.contact-form-actions .primary-button:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}
.copy-message-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  background: none;
  border: 0;
  padding: 12px 0;
  color: var(--muted);
  min-height: 44px;
}
.copy-message-button:hover {
  color: var(--text);
}
.copy-message-button .icon {
  width: 16px;
  height: 16px;
}
.contact-form-status {
  font-size: 11px;
  line-height: 1.8;
  color: var(--accent);
  margin: 15px 0 0;
}
.contact-form-status:empty {
  margin: 0;
}
.contact-form-fallback {
  font-size: 10px;
  line-height: 1.9;
  color: var(--muted);
  margin: 18px 0 0;
}
.contact-form-fallback a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
@media (max-width: 760px) {
  .contact-form-dialog {
    padding: 23px;
    max-height: calc(100dvh - 28px);
    border-radius: 20px;
  }
  .contact-form-dialog h2 {
    font-size: 28px;
  }
  .contact-form-fields {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .form-field input,
  .form-field textarea {
    font-size: 16px;
  }
  .contact-form-actions {
    gap: 14px;
  }
}

/* Case-study links land below the persistent header. */
.work-card[data-experience-case] {
  scroll-margin-top: 20px;
}
.work-card[data-experience-case]:focus {
  outline: none;
}

[data-case-evidence] {
  scroll-margin-top: 20px;
}

/* Large desktop canvases get the same proportions at a more readable size. */
@media (min-width: 1800px) and (min-height: 950px) {
  :root {
    --display-scale: 1.25;
  }
}
@media (min-width: 2300px) and (min-height: 1200px) {
  :root {
    --display-scale: 1.5;
  }
}

/* A sliding selection and short panel reveal give navigation a consistent rhythm. */
.nav-indicator {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  border-radius: inherit;
  background: var(--text);
  pointer-events: none;
  transition:
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    width 420ms cubic-bezier(0.22, 1, 0.36, 1),
    height 420ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 360ms ease;
}
.has-indicator .nav-tab.is-active {
  background: transparent;
}
/* Native view transitions crossfade the complete theme without intermediate mismatched colors. */
::view-transition {
  pointer-events: none;
}
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 420ms;
  animation-timing-function: ease-in-out;
}
.theme-changing,
.theme-changing *:not(.nav-indicator) {
  transition-property: background-color, color, border-color, box-shadow;
  transition-duration: 360ms;
  transition-timing-function: ease;
}
@media (max-width: 760px) {
  .nav-indicator {
    border-radius: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none !important;
  }
}
