/* v4: light only. Tokens first. */
@font-face {
  font-family: Inter;
  src: url('/assets/fonts/inter-var.dd8a4575be98.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial');
  font-weight: 100 900;
  size-adjust: 107%;
  ascent-override: 90.2%;
  descent-override: 22.48%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'Geist Mono';
  src: url('/assets/fonts/geist-mono-var.5f3d6ad60f29.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #fff;
  --surface: #f0f0f0;
  --surface-2: #d6d6d6;
  --ink: #1a1a1a;
  --text: #1a1a1a;
  --text-2: rgb(26, 26, 26, 0.7);
  --line: rgb(26, 26, 26, 0.2);
  --on-ink-2: rgb(255, 255, 255, 0.75);
  --fill-on-ink: rgb(255, 255, 255, 0.1);
  --scrim: linear-gradient(rgb(31, 31, 31, 0) 0%, rgb(26, 26, 26, 0.6) 100%);
  --accent: #174ecf;
  --li: #0a66c2;
  --r-card: 20px;
  --inset: 12px;
  --gutter: 40px;
  --font: 'Inter', 'Inter Fallback', system-ui, -apple-system, 'Segoe UI', roboto, sans-serif;
  --mono: 'Geist Mono', ui-monospace, sfmono-regular, menlo, monospace;
  --h1: clamp(2.8125rem, 4.9vw, 4.375rem);
  --h2: clamp(2.1875rem, 3.75vw, 3.375rem);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 300 1rem/1.5 var(--font);
  letter-spacing: 0.02em;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizelegibility;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

.sr,
.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  background: #fff;
  color: var(--ink);
  padding: 12px 16px;
  border-radius: 12px;
}

.mono,
.eb {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.4;
}

.mono {
  font-weight: 500;
}

.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.scrim {
  position: absolute;
  inset: 0;
  background: var(--scrim);
  z-index: 1;
}

:focus-visible {
  outline: 2px solid currentcolor;
  outline-offset: 3px;
  border-radius: 4px;
}

/* Tile button: ink body, white icon tile that slides open on hover */
.tb {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  min-height: 65px;
  padding: 3px 24px 3px 3px;
  border-radius: 16px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  overflow: hidden;
  isolation: isolate;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
}

.tb i {
  position: relative;
  z-index: 1;
  flex: none;
  width: 65px;
  height: 59px;
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  display: grid;
  place-items: center;
}

.tb svg {
  width: 22px;
  height: 22px;
}

.tb::before {
  content: '';
  position: absolute;
  inset: 3px;
  width: 65px;
  border-radius: 14px;
  background: #fff;
  transition: width 0.48s var(--ease);
}

.tb span {
  position: relative;
  z-index: 1;
  transition: color 0.32s var(--ease);
}

.tb:hover::before,
.tb:focus-visible::before {
  width: calc(100% - 6px);
}

.tb:hover span,
.tb:focus-visible span {
  color: var(--ink);
}

.tb.light {
  background: #fff;
  color: var(--ink);
}

.tb.light i,
.tb.light::before {
  background: var(--ink);
  color: #fff;
}

.tb.light:hover span,
.tb.light:focus-visible span {
  color: #fff;
}

.tb.sm {
  min-height: 42px;
  padding: 3px 16px 3px 3px;
  gap: 12px;
  font-size: 0.875rem;
  border-radius: 12px;
}

.tb.sm i,
.tb.sm::before {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.tb.sm:hover::before,
.tb.sm:focus-visible::before {
  width: calc(100% - 6px);
}

.tb.sm svg {
  width: 18px;
  height: 18px;
}

/* Ink circle arrow */
.ic {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  text-decoration: none;
  transition:
    background 0.3s var(--ease),
    color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.ic svg {
  width: 16px;
  height: 16px;
}

.ic:hover {
  background: #fff;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}

/* Nav: two floating elements, no bar */
.nav-cap {
  position: fixed;
  top: 30px;
  left: 30px;
  z-index: 10;
  height: 44px;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 5px 26px 5px 5px;
  border-radius: 100px;
  background: #fff;
  color: var(--ink);
}

.nav-cap .face,
.nav-cap .face img {
  width: 32px;
  height: 32px;
  border-radius: 9px;
}

.nav-cap .face {
  display: block;
  flex: none;
  background: var(--ink);
  position: relative;
}

.nav-cap .face::after {
  content: '';
  position: absolute;
  inset: -6px;
}

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--text-2);
  text-decoration: none;
  padding: 8px 0;
}

.nav-links a:hover,
.nav-links a[aria-current] {
  color: var(--text);
}

.nav-cta {
  position: fixed;
  top: 30px;
  right: 30px;
  z-index: 10;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  align-items: center;
  margin-right: -8px;
}

.burger span {
  display: block;
  width: 40px;
  height: 6px;
  border-radius: 100px;
  background: var(--ink);
}

.menu {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: #fff;
  color: var(--ink);
  padding: 100px 20px 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.menu[hidden] {
  display: none;
}

svg[hidden] {
  display: none;
}

.menu nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.menu a:not(.tb) {
  font-size: 2.1875rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  text-decoration: none;
  padding: 10px 0;
}

.menu .tb {
  margin-top: auto;
  align-self: flex-start;
}

.menu .close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--ink);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

html.menu-open {
  overflow: hidden;
}

.js .nav-cap,
.js .nav-cta {
  opacity: 0;
  transform: translateY(-100px);
}

.js.ready .nav-cap,
.js.ready .nav-cta {
  opacity: 1;
  transform: none;
  transition:
    transform 0.8s var(--ease),
    opacity 0.8s var(--ease);
}

.js.ready.nav-hide:not(.menu-open) .nav-cap,
.js.ready.nav-hide:not(.menu-open) .nav-cta {
  opacity: 0;
  transform: translateY(-100px);
  pointer-events: none;
  transition-duration: 0.45s;
}

.js.ready.nav-hide .nav-cap:has(:focus-visible),
.js.ready.nav-hide .nav-cta:focus-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

/* Hero: an inset photo card */
.hero {
  padding: var(--inset);
  min-height: 100vh;
  min-height: 100svh;
}

.hero .card {
  position: relative;
  min-height: calc(100svh - 2 * var(--inset));
  border-radius: var(--r-card);
  overflow: hidden;
  overflow: clip;
  padding: 190px var(--gutter) 60px;
  isolation: isolate;
}

.hero--ink .card {
  background: var(--surface);
  color: var(--text);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
}

.hero-p {
  width: min(32vw, 460px);
  aspect-ratio: 1;
  border-radius: var(--r-card);
  overflow: hidden;
  overflow: clip;
  justify-self: end;
}

.hero-p img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-c {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

h1,
.big {
  font-size: var(--h1);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.hero-c h1 strong {
  color: var(--accent);
  font-weight: inherit;
}

.hero-c h1 {
  margin-bottom: 20px;
}

.hero-c p {
  max-width: 38rem;
  margin-bottom: 32px;
  opacity: 0.9;
}

.hero-c p strong {
  color: var(--accent);
  font-weight: 500;
}

.hero--ink .hero-c p {
  color: var(--text-2);
  opacity: 1;
}

/* Statement band */
.band {
  position: relative;
  background: var(--ink);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  min-height: 504px;
  padding: 100px var(--gutter) 60px;
  color: #fff;
  overflow: hidden;
  overflow: clip;
  isolation: isolate;
}

.band-c {
  position: relative;
  z-index: 2;
}

.band-p {
  position: relative;
  width: min(28vw, 380px);
  aspect-ratio: 4/5;
  border-radius: var(--r-card);
  overflow: hidden;
  overflow: clip;
  justify-self: end;
  background: #000;
}

.band-p img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Quiet link: text + arrow, for secondary actions */
.lk {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-weight: 400;
  letter-spacing: 0;
  text-decoration: none;
}

.lk > span {
  border-bottom: 1px solid currentcolor;
  padding-bottom: 2px;
}

.lk svg {
  width: 16px;
  height: 16px;
  flex: none;
  transition: transform 0.3s var(--ease);
}

.lk:hover svg {
  transform: translateX(3px);
}

.lk[target]:hover svg {
  transform: translate(2px, -2px);
}

.band .big {
  max-width: 680px;
  margin-bottom: 20px;
}

.band p {
  max-width: 430px;
  opacity: 0.8;
  margin-bottom: 32px;
}

/* Quote cards */
.quotes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.qc {
  background: var(--surface);
  border-radius: var(--r-card);
  padding: 24px;
  min-height: 400px;
  display: grid;
  align-content: start;
  gap: 16px;
}

.qc-more {
  font-size: 0.9375rem;
  color: var(--text-2);
  line-height: 1.5;
}

.qc blockquote {
  margin: 0;
  font-size: clamp(1.25rem, 1.45vw, 1.5rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.qc-f {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 8px;
}

/* Path panel: heading row, then job cards */
.panel {
  margin: 0 var(--inset);
  background: var(--surface);
  border-radius: var(--r-card);
  padding: 36px var(--gutter) 40px;
  display: grid;
  gap: 32px;
}

.panel-h {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px 40px;
}

.panel-h .eb {
  color: var(--text-2);
}

.panel-h h2 {
  font-size: var(--h2);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-top: 8px;
  text-wrap: balance;
}

.panel-h .lbl {
  font-size: 0.875rem;
  color: var(--text-2);
  max-width: 26rem;
  margin-top: 12px;
}

.jobs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.job {
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-card);
  padding: 28px 24px 24px;
  display: grid;
  align-content: start;
  gap: 12px;
}

.job h3 {
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.job-y {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  opacity: 0.7;
}

.job-r {
  font-size: 0.875rem;
  opacity: 0.7;
}

.job p:not(.job-y, .job-r, .eb) {
  opacity: 0.9;
}

.job .eb {
  opacity: 0.7;
  margin-top: auto;
  padding-top: 8px;
}

/* Footer: photo ground, brand block + live clock */
.foot {
  position: relative;
  min-height: 640px;
  margin-top: 20px;
  padding: 140px var(--gutter) 40px;
  color: #fff;
  display: grid;
  gap: 56px;
  overflow: hidden;
  overflow: clip;
  isolation: isolate;
  align-content: start;
}

.foot-top {
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 40px;
  align-items: end;
}

.foot-h {
  font-size: var(--h1);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 28px 0 12px;
}

.foot-mail {
  display: inline-block;
  padding: 9px 0 4px;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  text-decoration: none;
  border-bottom: 1px solid rgb(255, 255, 255, 0.45);
  margin-bottom: 12px;
}

.foot-mail:hover {
  border-color: #fff;
}

.foot-p {
  max-width: 32rem;
  color: var(--on-ink-2);
}

.foot-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.clock {
  justify-self: end;
  min-width: 300px;
}

.clock-t {
  font-size: var(--h1);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 12px 0;
  font-variant-numeric: tabular-nums;
}

.soc {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--fill-on-ink);
  color: #fff;
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: 0;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgb(255, 255, 255, 0.22);
  transition:
    background 0.3s var(--ease),
    color 0.3s var(--ease);
}

.soc svg {
  width: 22px;
  height: 22px;
}

.soc:hover {
  background: #fff;
  color: var(--ink);
}

.foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 22px;
  margin-bottom: 6px;
}

.foot-nav a {
  display: inline-block;
  padding: 12px 0;
  text-decoration: none;
}

.foot-nav a:hover {
  text-decoration: underline;
}

.foot .bg {
  filter: brightness(0.35);
  object-position: 50% 22%;
}

.foot > :not(.bg) {
  position: relative;
  z-index: 2;
}

.brand .face {
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  overflow: hidden;
}

.wm {
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 16px 0 24px;
}

.brand p {
  font-size: 0.9375rem;
  line-height: 1.7;
}

.foot-b {
  font-size: 0.8125rem;
  opacity: 0.85;
  padding-top: 32px;
  border-top: 1px solid rgb(255, 255, 255, 0.2);
}

/* Apps on Home, and the Notes head */
.apps {
  padding: 80px var(--gutter) 20px;
}

.apps-h {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px 40px;
  margin-bottom: 32px;
}

.apps-h h2,
.sech h2 {
  font-size: var(--h2);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-top: 8px;
  text-wrap: balance;
  max-width: 680px;
}

.app-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 12px;
}

.app-grid a {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 2px;
  padding: 24px 12px 20px;
  background: var(--surface);
  border-radius: var(--r-card);
  text-decoration: none;
  transition:
    transform 0.3s var(--ease),
    background 0.3s var(--ease);
}

.app-grid a:hover {
  background: var(--surface-2);
  transform: translateY(-3px);
}

.app-grid img {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  margin-bottom: 12px;
}

.app-grid span {
  font-weight: 400;
}

.app-grid small {
  font-size: 0.8125rem;
  color: var(--text-2);
}

/* Notes: white to a pale LinkedIn blue, a faint "in" in the corner, blue labels */
.notes {
  position: relative;
  margin: 20px var(--inset) 0;
  border-radius: var(--r-card);
  background: linear-gradient(180deg, #fff 0%, #e8f1fb 100%);
  overflow: hidden;
  overflow: clip;
  isolation: isolate;
}

.notes::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(55% 60% at 88% 6%, rgb(10, 102, 194, 0.16), transparent 70%);
  pointer-events: none;
}

.notes::after {
  content: 'in';
  content: 'in'/'';
  position: absolute;
  right: -0.02em;
  top: -0.14em;
  font-size: min(34vw, 520px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
  color: var(--li);
  opacity: 0.06;
  pointer-events: none;
}

.notes .sech,
.notes .quotes {
  position: relative;
  z-index: 1;
}

.notes .sech {
  padding: 72px var(--gutter) 0;
}

.notes .quotes {
  padding: 48px var(--gutter) 48px;
}

.notes .eb,
.notes .qc .mono {
  color: var(--li);
}

.notes .qc {
  background: #fff;
  box-shadow:
    0 1px 2px rgb(10, 102, 194, 0.08),
    0 18px 40px -28px rgb(10, 102, 194, 0.45);
}

.notes .ic {
  background: var(--li);
}

.notes .ic:hover {
  background: #fff;
  color: var(--li);
  box-shadow: inset 0 0 0 1px rgb(10, 102, 194, 0.45);
}

.aband-c {
  position: relative;
  z-index: 2;
  padding: 80px var(--gutter);
  margin-left: auto;
  max-width: 720px;
}

.aband-c .eb {
  color: var(--on-ink-2);
}

.aband-c p:not(.eb) {
  margin-top: 16px;
  color: var(--on-ink-2);
  max-width: 34rem;
}

/* Apps page */
.aband {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  overflow: clip;
  isolation: isolate;
}

.aband .bg {
  filter: grayscale(1) brightness(0.4);
  object-position: 50% 60%;
}

.board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 20px var(--gutter) 40px;
  align-items: start;
}

.colm {
  display: grid;
  gap: 20px;
}

.ac {
  background: var(--surface-2);
  border-radius: var(--r-card);
  padding: 40px 24px 24px;
  min-height: 280px;
  display: grid;
  align-content: space-between;
  gap: 28px;
}

.ac .eb {
  color: var(--text-2);
  margin-bottom: 14px;
}

.ac h2 {
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.ac p {
  font-size: 0.875rem;
  color: var(--text-2);
}

.ac-f {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.ac-f p {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text);
}

.ac-f small {
  display: block;
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--text-2);
}

.at {
  display: grid;
  place-items: center;
  aspect-ratio: 4/3;
  background: var(--surface);
  border-radius: var(--r-card);
  overflow: hidden;
  overflow: clip;
}

.at img {
  width: 42%;
  height: auto;
  border-radius: 24%;
  transition: transform 0.48s var(--ease);
}

.at:hover img {
  transform: scale(1.04);
}

.ap {
  position: relative;
  display: block;
  aspect-ratio: 4/3;
  border-radius: var(--r-card);
  overflow: hidden;
  overflow: clip;
  color: #fff;
  text-decoration: none;
  isolation: isolate;
}

.ap .eb {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 2;
}

.ap .scrim {
  opacity: 1;
}

/* Appear */
.js [data-appear] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
  transition-delay: calc(var(--i, 0) * 0.1s);
}

.js [data-appear].in {
  opacity: 1;
  transform: none;
}

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

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

  .jobs {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 809px) {
  :root {
    --gutter: 20px;
  }

  .nav-cap {
    top: 20px;
    left: 20px;
    right: 20px;
    height: 43px;
    border-radius: 20px;
    gap: 0;
    justify-content: space-between;
    padding: 5px 12px 5px 5px;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .js .burger {
    display: flex;
  }

  .hero .card {
    padding: 130px var(--gutter) 40px;
  }

  .hero-c p {
    margin-bottom: 28px;
  }

  .band {
    min-height: 500px;
    padding: 80px var(--gutter) 48px;
  }

  .band p {
    max-width: none;
  }

  .hero--ink .card,
  .band {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero-p {
    width: 56%;
    justify-self: start;
    order: -1;
  }

  .band-p {
    width: 100%;
    justify-self: start;
  }

  .quotes {
    grid-template-columns: 1fr;
  }

  .qc {
    min-height: 0;
    padding: 20px;
    gap: 40px;
  }

  .qc blockquote {
    font-size: 1.5rem;
  }

  .panel {
    padding: 32px 20px;
    gap: 24px;
  }

  .panel-h {
    grid-template-columns: 1fr;
  }

  .foot {
    min-height: 0;
    padding: 120px var(--gutter) 32px;
    gap: 40px;
  }

  .foot-top {
    grid-template-columns: 1fr;
  }

  .clock {
    justify-self: start;
    min-width: 0;
  }

  .apps {
    padding: 48px var(--gutter) 12px;
  }

  .apps-h {
    grid-template-columns: 1fr;
    margin-bottom: 20px;
  }

  .app-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .app-grid a {
    padding: 16px 6px 14px;
  }

  .app-grid img {
    width: 52px;
    height: 52px;
    border-radius: 13px;
    margin-bottom: 8px;
  }

  .app-grid small {
    display: none;
  }

  .notes .sech {
    padding: 48px var(--gutter) 0;
  }

  .notes .quotes {
    padding: 24px var(--inset) 20px;
    gap: 12px;
  }

  .notes::after {
    font-size: 52vw;
  }

  .aband-c {
    padding: 48px var(--gutter);
  }

  .foot-b {
    padding-top: 40px;
  }

  .aband {
    min-height: 400px;
  }

  .board {
    grid-template-columns: 1fr;
    padding: 12px var(--inset) 24px;
    gap: 12px;
  }

  .colm {
    gap: 12px;
  }

  .ac {
    min-height: 0;
  }

  .ic {
    width: 44px;
    height: 44px;
  }
}

/* Accessibility, contact actions, and safe-area hardening */
:root {
  color-scheme: light;
}

main:focus,
[tabindex='-1']:focus {
  outline: none;
}

.hero-c,
.band-c,
.band-p,
.foot-top > *,
.foot-b,
.apps-h > *,
.panel-h > *,
.job,
.qc,
.ac,
.app-grid a {
  min-width: 0;
}

h1,
h2,
h3,
.big,
.foot-h,
.foot-mail,
.app-grid a > span,
.app-grid small,
.ac p,
.job p {
  overflow-wrap: anywhere;
}

.foot-mail {
  max-width: 100%;
}

.brow {
  display: contents;
}

.at img {
  max-width: 180px;
}

.notes-all {
  margin-top: 20px;
}

.app-grid .status {
  display: block;
  color: var(--accent);
}

.ac-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.app-site {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.875rem;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid currentcolor;
}

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

.mail-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 16px;
  max-width: 100%;
}

.copy-mail {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-bottom: 12px;
  padding: 8px 14px;
  border: 1px solid rgb(255, 255, 255, 0.35);
  border-radius: 100px;
  background: var(--fill-on-ink);
  color: #fff;
  font: inherit;
  font-size: 0.875rem;
  cursor: pointer;
}

.js .copy-mail {
  display: inline-flex;
}

.copy-mail:hover {
  background: #fff;
  color: var(--ink);
}

.copy-status {
  display: block;
  min-height: 1.25rem;
  margin: -6px 0 6px;
  color: var(--on-ink-2);
  font-size: 0.8125rem;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

a:focus-visible,
button:focus-visible {
  box-shadow: 0 0 0 3px #fff;
}

.tb:focus-visible,
.ic:focus-visible,
.soc:focus-visible,
.copy-mail:focus-visible {
  box-shadow: 0 0 0 3px #fff;
}

.nav-cap {
  top: max(30px, calc(env(safe-area-inset-top, 0px) + 12px));
  left: max(30px, calc(env(safe-area-inset-left, 0px) + 12px));
}

.nav-cta {
  top: max(30px, calc(env(safe-area-inset-top, 0px) + 12px));
  right: max(30px, calc(env(safe-area-inset-right, 0px) + 12px));
}

.menu {
  padding: calc(100px + env(safe-area-inset-top, 0px)) calc(20px + env(safe-area-inset-right, 0px))
    calc(40px + env(safe-area-inset-bottom, 0px)) calc(20px + env(safe-area-inset-left, 0px));
  overflow-y: auto;
  overscroll-behavior: contain;
}

.menu .close {
  top: calc(20px + env(safe-area-inset-top, 0px));
  right: calc(20px + env(safe-area-inset-right, 0px));
}

.menu a:not(.tb) {
  overflow-wrap: anywhere;
}

html.menu-open,
html.menu-open body {
  overflow: hidden;
}

.foot {
  padding-right: max(var(--gutter), calc(env(safe-area-inset-right, 0px) + 12px));
  padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px));
  padding-left: max(var(--gutter), calc(env(safe-area-inset-left, 0px) + 12px));
}

@media (max-width: 809px) {
  .nav-cap {
    top: max(20px, calc(env(safe-area-inset-top, 0px) + 8px));
    right: max(20px, calc(env(safe-area-inset-right, 0px) + 8px));
    left: max(20px, calc(env(safe-area-inset-left, 0px) + 8px));
  }

  .hero--ink .card,
  .band,
  .foot-top,
  .apps-h,
  .panel-h {
    grid-template-columns: minmax(0, 1fr);
  }

  .foot {
    padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px));
  }

  html:not(.js) .nav-cap {
    position: absolute;
    height: auto;
    flex-wrap: wrap;
    gap: 8px 16px;
    padding: 5px 12px 10px 5px;
  }

  html:not(.js) .nav-links {
    display: flex;
    order: 3;
    flex: 1 0 100%;
    justify-content: space-between;
    gap: 12px;
    padding: 4px 8px 0;
  }

  html:not(.js) .nav-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  html:not(.js) .hero .card {
    padding-top: 190px;
  }

  html:not(.js) .aband-c {
    padding-top: 150px;
  }
}

@media (pointer: coarse) {
  .ic {
    width: 44px;
    height: 44px;
  }

  .tb.sm {
    min-height: 44px;
  }

  .nav-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    text-align: center;
  }

  .brand .face {
    position: relative;
  }

  .brand .face::after {
    content: '';
    position: absolute;
    inset: -6px;
  }

  .foot-nav a {
    min-width: 44px;
    min-height: 44px;
    text-align: center;
  }
}

.not-found {
  padding: calc(var(--inset) + env(safe-area-inset-top, 0px))
    calc(var(--inset) + env(safe-area-inset-right, 0px))
    calc(var(--inset) + env(safe-area-inset-bottom, 0px))
    calc(var(--inset) + env(safe-area-inset-left, 0px));
}

.error-card {
  min-height: calc(100svh - 2 * var(--inset));
  padding: 60px var(--gutter);
  border-radius: var(--r-card);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.error-card .face,
.error-card .face img {
  width: 32px;
  height: 32px;
  border-radius: 9px;
}

.error-card .face {
  position: relative;
}

.error-card .face::after {
  content: '';
  position: absolute;
  inset: -6px;
}

.error-card .eb {
  margin-top: 40px;
  color: var(--text-2);
}

.error-card h1 {
  max-width: 680px;
  margin-top: 12px;
}

.error-card > p:not(.eb) {
  max-width: 30rem;
  margin-top: 20px;
  color: var(--text-2);
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
  margin-top: 32px;
}

@media (max-width: 809px) {
  .error-card {
    padding: 40px 20px;
  }

  .error-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .lk svg {
    transition: none;
  }

  .js [data-appear],
  .js .nav-cap,
  .js .nav-cta {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .js.ready .nav-cap,
  .js.ready .nav-cta {
    transition: none;
  }

  .js.ready.nav-hide:not(.menu-open) .nav-cap,
  .js.ready.nav-hide:not(.menu-open) .nav-cta {
    transform: none;
    transition: opacity 0.2s linear;
  }

  .tb::before,
  .tb span,
  .at img,
  .app-grid a {
    transition: none;
  }
}
