
/* ═══════════════════════════════════════════════════════
   TOKENS — paper, ink, one clay accent
   Every text pairing below is verified at 4.5:1 or better
   against --paper.
═══════════════════════════════════════════════════════ */
:root {
  --paper:     #F9F9F7;
  --paper-2:   #F1F1EE;
  --card:      #FFFFFF;
  --ink:       #14140F;   /* 18.0:1 */
  --ink-2:     #52524B;   /*  7.7:1 */
  --ink-3:     #6C6C64;   /*  5.4:1 */
  --line:      rgba(20,20,15,0.12);
  --line-2:    rgba(20,20,15,0.24);
  --accent:    #1D4586;   /*  8.9:1 */
  --accent-2:  #15315E;
  --accent-w:  rgba(29,69,134,0.09);
  --accent-m:  rgba(29,69,134,0.28);
  --r-sm:      6px;
  --r-md:      14px;
  --r-lg:      26px;
  --ease:      cubic-bezier(0.16,1,0.3,1);
  --shadow:    0 24px 60px rgba(20,20,15,0.10);
  --shadow-sm: 0 6px 20px rgba(20,20,15,0.07);
  --gut:       clamp(1.25rem, 4vw, 3rem);
}

/* ═══════════════════════════════════════════════════════
   RESET
═══════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100dvh;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--paper); }

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

.skip-link {
  position: absolute; top: -100px; left: var(--gut);
  z-index: 3000;
  background: var(--ink); color: var(--paper);
  padding: 0.75rem 1.25rem; border-radius: var(--r-sm);
  font-size: 0.875rem; font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

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

/* ═══════════════════════════════════════════════════════
   PAPER GRAIN — the whole page sits on stock, not a screen
═══════════════════════════════════════════════════════ */
body::before {
  content: '';
  position: fixed; inset: 0;
  z-index: 900; pointer-events: none;
  opacity: 0.30;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23g)' opacity='0.05'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

/* ═══════════════════════════════════════════════════════
   COMPOSITION SHAPES — flat geometry, gallery-style
═══════════════════════════════════════════════════════ */
.shape {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}
.shape-ring {
  border-radius: 50%;
  border: 1px solid var(--line-2);
}
.shape-disc {
  border-radius: 50%;
  background: var(--accent-w);
}
.shape-arc {
  border-radius: 50%;
  border: 1.5px solid var(--accent-m);
  border-right-color: transparent;
  border-bottom-color: transparent;
}

/* ═══════════════════════════════════════════════════════
   PROGRESS
═══════════════════════════════════════════════════════ */
#progress-bar {
  position: fixed; top: 0; left: 0;
  height: 2px; width: 0%;
  background: var(--accent);
  z-index: 1000;
  transition: width 0.12s linear;
}

/* ═══════════════════════════════════════════════════════
   NAV
═══════════════════════════════════════════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 var(--gut);
  height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s;
}
nav.scrolled {
  background: color-mix(in srgb, var(--paper) 85%, transparent);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom-color: var(--line);
}
.nav-logo {
  font-size: 0.9375rem; font-weight: 600;
  letter-spacing: -0.01em; color: var(--ink);
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.nav-logo::before {
  content: ''; width: 9px; height: 9px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0;
}
.nav-center { display: flex; align-items: center; gap: 2.25rem; }
.nav-center a {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 0.6875rem; font-weight: 500;
  letter-spacing: 0.11em; text-transform: uppercase;
  color: var(--ink-3);
  position: relative; padding: 0.25rem 0;
  transition: color 0.2s;
}
.nav-center a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px; background: var(--accent);
  transition: width 0.3s var(--ease);
}
.nav-center a:hover, .nav-center a.active { color: var(--ink); }
.nav-center a:hover::after, .nav-center a.active::after { width: 100%; }

.nav-action {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.5rem 1.125rem;
  border: 1px solid var(--ink);
  border-radius: 100px;
  font-size: 0.8125rem; font-weight: 500;
  color: var(--ink);
  transition: background 0.22s var(--ease), color 0.22s var(--ease);
}
.nav-action:hover { background: var(--ink); color: var(--paper); }

.nav-hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--ink); border-radius: 2px;
  transition: transform 0.24s var(--ease), opacity 0.16s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed;
  top: 68px; left: 0; right: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 1.5rem var(--gut) 2rem;
  z-index: 99;
  flex-direction: column; gap: 1.125rem;
  box-shadow: var(--shadow-sm);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 1.5rem; font-weight: 400;
  letter-spacing: -0.012em; color: var(--ink);
}
.mobile-menu a .idx {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 0.625rem; color: var(--accent);
  margin-right: 0.75rem; vertical-align: 0.4em;
}

/* ═══════════════════════════════════════════════════════
   LAYOUT
═══════════════════════════════════════════════════════ */
main { position: relative; z-index: 1; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 var(--gut); }
/* Keep the introduction and portrait together on the page's content grid. */
.container-hero {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: var(--gut);
}
section { padding: clamp(5rem, 11vw, 9rem) 0; position: relative; }
.rule { height: 1px; background: var(--line); transform-origin: left center; }

/* ═══════════════════════════════════════════════════════
   SECTION HEADERS — numbered, editorial, asymmetric
═══════════════════════════════════════════════════════ */
.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: end;
  margin-bottom: clamp(3rem, 7vw, 5.5rem);
}
.sec-index {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 0.6875rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent);
  display: flex; align-items: center; gap: 0.875rem;
  margin-bottom: 1.5rem;
}
.sec-index::after {
  content: ''; height: 1px; flex: 1;
  background: var(--line-2);
}
h2 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(2.625rem, 6.2vw, 4.875rem);
  font-weight: 400; line-height: 1.04;
  letter-spacing: -0.018em;
  color: var(--ink);
}
h2 em { font-style: italic; color: var(--accent); }
h3 { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }

.deck {
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  font-weight: 400; line-height: 1.7;
  color: var(--ink-2);
  max-width: 46ch;
}
.deck strong { font-weight: 500; color: var(--ink); }

/* ═══════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  border-radius: 100px;
  font-size: 0.9375rem; font-weight: 500;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: background 0.24s var(--ease), color 0.24s var(--ease), border-color 0.24s var(--ease);
  will-change: transform;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--accent); }
.btn-ghost { border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.btn-accent { background: var(--accent); color: #F9F9F7; }
.btn-accent:hover { background: var(--accent-2); }

.link-u {
  color: var(--accent);
  border-bottom: 1px solid var(--accent-m);
  transition: border-color 0.2s;
}
.link-u:hover { border-bottom-color: var(--accent); }

/* ═══════════════════════════════════════════════════════
   CURSOR — blend-mode ring, gallery-style
═══════════════════════════════════════════════════════ */
.cursor-ring {
  position: fixed; top: 0; left: 0;
  width: 26px; height: 26px; border-radius: 50%;
  border: 1.5px solid var(--ink);
  pointer-events: none; z-index: 1999;
  mix-blend-mode: difference;
  transition: width 0.28s var(--ease), height 0.28s var(--ease), background 0.28s;
}
.cursor-ring--active { width: 54px; height: 54px; background: rgba(255,255,255,0.85); }
@media (hover: none), (prefers-reduced-motion: reduce) { .cursor-ring { display: none !important; } }

/* ═══════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════ */
#hero {
  min-height: 100svh;
  display: flex; align-items: center;
  padding: 8.5rem 0 5rem;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  width: 100%;
}
.hero-left { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.625rem;
  padding: 0.4rem 0.9rem 0.4rem 0.75rem;
  border: 1px solid var(--accent-m);
  border-radius: 100px;
  background: var(--accent-w);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 0.6875rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2.25rem;
  transition: background 0.22s, border-color 0.22s;
}
.hero-badge:hover { background: rgba(29,69,134,0.15); border-color: var(--accent); }
.hero-badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(0.7); opacity: 0.45; }
}

.hero-display {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(3rem, 6.2vw, 5.75rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.018em;
  margin-bottom: 2.25rem;
}
/* Each line is its own mask so it can slide up as a whole line */
.line {
  display: block; overflow: hidden;
  padding-bottom: 0.12em; margin-bottom: -0.12em;
}
.line-i { display: block; will-change: transform; text-wrap: balance; }
.hero-l1 { color: var(--ink); }
.hero-l2 { font-style: italic; color: var(--accent); }

.hero-byline {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1.5rem;
}
.hero-byline-rule { width: 42px; height: 1px; background: var(--line-2); flex-shrink: 0; }
.hero-byline-text {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 0.6875rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-3);
}
.hero-byline-text b { color: var(--ink); font-weight: 700; }

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  font-weight: 400; line-height: 1.72;
  color: var(--ink-2);
  max-width: 48ch; margin-bottom: 2.5rem;
}
.hero-sub strong { font-weight: 500; color: var(--ink); }

.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* Portrait */
.hero-right { position: relative; z-index: 1; }
.portrait-frame {
  position: relative;
  aspect-ratio: 3 / 4.2;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--paper-2);
  box-shadow: var(--shadow);
  will-change: transform;
}
.portrait-frame img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 22%;
  will-change: transform;
  transition: filter 0.6s var(--ease);
  filter: saturate(0.82) contrast(1.03);
}
.portrait-frame:hover img { filter: saturate(1) contrast(1); }
.portrait-fallback {
  position: absolute; inset: 0;
  display: none;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 0.75rem;
  background: var(--paper-2);
  text-align: center; padding: 2rem;
}
.portrait-frame.is-missing .portrait-fallback { display: flex; }
.portrait-frame.is-missing img { display: none; }
.portrait-fallback-mark {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 2.75rem; font-weight: 400;
  letter-spacing: -0.01em; color: var(--ink-3);
}
.portrait-fallback-note {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 0.625rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-3);
  line-height: 1.7;
}
.portrait-cap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; margin-top: 0.875rem;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 0.625rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-3);
}

/* Sits on the same left spine as the page content, not the viewport edge */
.hero-scroll-cue {
  position: absolute; bottom: 2.25rem;
  left: max(var(--gut), calc((100% - 1180px) / 2 + var(--gut)));
  display: flex; align-items: center; gap: 0.75rem;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 0.625rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-3);
}
.hero-scroll-cue-line {
  width: 52px; height: 1px; background: var(--line-2);
  position: relative; overflow: hidden;
}
.hero-scroll-cue-line::after {
  content: ''; position: absolute; inset: 0;
  background: var(--accent);
  transform: translateX(-100%);
  animation: sweep 2.8s var(--ease) infinite;
}
@keyframes sweep {
  0%   { transform: translateX(-100%); }
  55%  { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

/* ═══════════════════════════════════════════════════════
   BETTERCOMPANY — the flagship block
═══════════════════════════════════════════════════════ */
.bc-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(2rem, 5vw, 4rem);
  position: relative; overflow: hidden;
}
.bc-panel-rule {
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: var(--accent);
  transform-origin: left center;
}
.bc-title {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(2.25rem, 5.2vw, 3.75rem);
  font-weight: 400; letter-spacing: -0.018em;
  line-height: 1.06; margin-bottom: 1.5rem;
}
.bc-title a { transition: color 0.24s; }
.bc-title a:hover { color: var(--accent); }
.bc-title .arw { color: var(--accent); }

.bc-body {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.bc-copy p {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  font-weight: 400; line-height: 1.72; color: var(--ink-2);
  margin-bottom: 1.25rem;
}
.bc-copy p:last-of-type { margin-bottom: 2rem; }

.bc-specs {
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.bc-spec {
  padding: 1.5rem 1.25rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.24s;
}
.bc-spec:hover { background: var(--accent-w); }
.bc-spec-num {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  font-weight: 400; letter-spacing: -0.03em;
  color: var(--accent); line-height: 1;
  margin-bottom: 0.5rem;
}
.bc-spec-label {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 0.625rem; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--ink-3);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════
   METRICS
═══════════════════════════════════════════════════════ */
.metrics-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
/* Even gutters either side of every divider; the outer two stay flush
   with the container edge so the row aligns with the page spine. */
.metric-cell {
  padding: 2.25rem 1.5rem;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 0.4rem;
}
.metric-cell:first-child { padding-left: 0; }
.metric-cell:last-child { padding-right: 0; border-right: none; }
.metric-num {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  font-weight: 400; color: var(--ink);
  letter-spacing: -0.04em; line-height: 1;
}
.metric-label { font-size: 0.875rem; font-weight: 500; color: var(--ink); }
.metric-sub {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 0.625rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-3); line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════
   MARQUEE
═══════════════════════════════════════════════════════ */
#marquee { padding: 3.5rem 0; overflow: hidden; position: relative; }
.marquee-head {
  display: flex; align-items: center; gap: 1.5rem;
  max-width: 1180px; margin: 0 auto 2rem; padding: 0 var(--gut);
}
.marquee-head-label {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 0.625rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-3); white-space: nowrap;
}
.marquee-head-rule { height: 1px; flex: 1; background: var(--line); }

.marquee-scroll-wrap { overflow: hidden; position: relative; }
.marquee-scroll-wrap::before, .marquee-scroll-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0;
  width: clamp(3rem, 10vw, 9rem); z-index: 2;
}
.marquee-scroll-wrap::before { left: 0; background: linear-gradient(to right, var(--paper), transparent); }
.marquee-scroll-wrap::after  { right: 0; background: linear-gradient(to left, var(--paper), transparent); }

.marquee-track {
  display: flex; align-items: center;
  width: max-content; white-space: nowrap;
  will-change: transform;
}
.marquee-track.css-driven { animation: marqueeScroll 44s linear infinite; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-chunk { display: flex; align-items: center; }
.marquee-item {
  padding: 0 clamp(1.25rem, 3vw, 2.5rem);
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(1.375rem, 2.5vw, 2.125rem);
  font-weight: 400; letter-spacing: -0.012em;
  color: var(--ink-3);
  transition: color 0.24s;
  flex-shrink: 0;
}
.marquee-item:hover { color: var(--accent); }
.marquee-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent); opacity: 0.5; flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════
   EXPERIENCE
═══════════════════════════════════════════════════════ */
.exp-list { border-top: 1px solid var(--line-2); }
.exp-row {
  display: grid; grid-template-columns: 1fr minmax(0, 1.9fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s var(--ease);
}
.exp-row:hover { background: rgba(20,20,15,0.022); }
.exp-meta { display: flex; flex-direction: column; gap: 0.4rem; }
.exp-company {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 1.4375rem; font-weight: 400;
  letter-spacing: -0.012em; color: var(--ink);
}
.exp-date {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 0.6875rem; letter-spacing: 0.06em; color: var(--ink-3);
}
.exp-tag {
  display: inline-flex; align-self: flex-start;
  margin-top: 0.375rem;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 0.5625rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.25rem 0.5rem; border-radius: 3px;
  background: var(--accent); color: #F9F9F7;
}
.exp-title { font-size: 1rem; font-weight: 600; color: var(--ink); margin-bottom: 0.75rem; }
.exp-title .qual { color: var(--ink-3); font-weight: 400; }
.exp-intro {
  font-size: 0.9375rem; font-weight: 400; line-height: 1.72;
  color: var(--ink-2); margin-bottom: 0.875rem;
}
.exp-intro:last-child { margin-bottom: 0; }

.bullets { display: flex; flex-direction: column; gap: 0.5rem; }
.bullets li {
  display: flex; align-items: flex-start; gap: 0.75rem;
  font-size: 0.9375rem; font-weight: 400; line-height: 1.62; color: var(--ink-2);
}
.bullets li::before {
  content: ''; display: block; width: 4px; height: 4px;
  border-radius: 50%; background: var(--accent);
  flex-shrink: 0; margin-top: 0.62em;
}

/* ═══════════════════════════════════════════════════════
   STRIP (education / search facts)
═══════════════════════════════════════════════════════ */
.strip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--card);
}
.strip-cell {
  padding: 1.75rem;
  border-right: 1px solid var(--line);
  transition: background 0.24s;
}
.strip-cell:last-child { border-right: none; }
.strip-cell:hover { background: var(--accent-w); }
.strip-eyebrow {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 0.5625rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.625rem;
}
.strip-title { font-size: 1rem; font-weight: 500; color: var(--ink); margin-bottom: 0.25rem; }
.strip-sub { font-size: 0.875rem; font-weight: 400; color: var(--ink-2); line-height: 1.55; }

/* ═══════════════════════════════════════════════════════
   PROJECT ROWS (also building)
═══════════════════════════════════════════════════════ */
.proj {
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: 2.75rem 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.proj:last-of-type { border-bottom: 1px solid var(--line); }
.proj-name {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(1.625rem, 3.1vw, 2.25rem);
  font-weight: 400; letter-spacing: -0.015em; line-height: 1.14;
}
.proj-name a { transition: color 0.24s; }
.proj-name a:hover { color: var(--accent); }
.proj-name .arw { color: var(--accent); font-size: 0.6em; vertical-align: 0.2em; }
.proj-kicker {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 0.5625rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 0.75rem;
}
.proj-body p {
  font-size: 1rem; font-weight: 400; line-height: 1.72;
  color: var(--ink-2); margin-bottom: 1.25rem;
}
.proj-body p:last-child { margin-bottom: 0; }

/* ═══════════════════════════════════════════════════════
   BEYOND — two-column editorial, not a card grid
═══════════════════════════════════════════════════════ */
.beyond-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0 clamp(2rem, 6vw, 5rem);
  border-top: 1px solid var(--line);
}
.beyond-item {
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}
.beyond-item-head {
  display: flex; align-items: baseline; gap: 0.875rem;
  margin-bottom: 0.625rem;
}
.beyond-idx {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 0.625rem; color: var(--accent);
  letter-spacing: 0.08em; flex-shrink: 0;
}
.beyond-title { font-size: 1.0625rem; font-weight: 500; color: var(--ink); letter-spacing: -0.01em; }
.beyond-text {
  font-size: 0.9375rem; font-weight: 400; line-height: 1.68;
  color: var(--ink-2); padding-left: 1.875rem;
}

/* Map */
.map-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: clamp(1.25rem, 3vw, 2rem);
  margin-top: 3.5rem;
}
.map-head {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1.25rem;
}
.map-head-label {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 0.5625rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3);
  white-space: nowrap;
}
.map-head-rule { height: 1px; flex: 1; background: var(--line); }
.map-counter { display: flex; align-items: center; gap: 0.65rem; flex-shrink: 0; color: var(--ink-2); font-size: 0.625rem; line-height: 1.4; }
.map-counter-value { font-family: 'Instrument Serif', Georgia, serif; font-size: 2.75rem; line-height: 1; color: var(--accent); font-variant-numeric: lining-nums tabular-nums; }
@media (max-width: 480px) { .map-head { gap: 0.5rem; } }
#travel-map { width: 100%; aspect-ratio: 2 / 1; min-height: 220px; position: relative; }
.map-state {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 0.6875rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-3);
  text-align: center; padding: 1rem;
}
#travel-map.is-ready .map-state { display: none; }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.5rem; }
.tag {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 0.625rem; letter-spacing: 0.06em;
  padding: 0.32rem 0.7rem; border-radius: 100px;
  background: transparent; color: var(--ink-2);
  border: 1px solid var(--line-2);
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s var(--ease);
}
.tag:hover { border-color: var(--accent); color: var(--accent); }
.tag-cloud.dimmed .tag { opacity: 0.28; }
.tag-cloud.dimmed .tag.tag--active {
  opacity: 1; background: var(--accent); color: #F9F9F7;
  border-color: var(--accent); transform: translateY(-2px);
}
.map-note {
  font-size: 0.875rem; font-weight: 400;
  color: var(--ink-2); margin-top: 1.25rem; line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════════════ */
#contact { background: var(--paper-2); border-top: 1px solid var(--line); }
.contact-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.contact-headline {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(2.625rem, 5.8vw, 4.375rem);
  font-weight: 400; line-height: 1.04;
  letter-spacing: -0.018em; color: var(--ink);
  margin-bottom: 1.5rem;
}
.contact-headline em { font-style: italic; color: var(--accent); }
.contact-sub {
  font-size: 1.0625rem; font-weight: 400; line-height: 1.72;
  color: var(--ink-2); margin-bottom: 2.5rem; max-width: 42ch;
}

.contact-links { display: flex; flex-direction: column; }
.contact-link {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.125rem 0;
  border-top: 1px solid var(--line);
  transition: padding-left 0.28s var(--ease), border-color 0.28s;
}
.contact-link:last-child { border-bottom: 1px solid var(--line); }
a.contact-link:hover { padding-left: 0.75rem; border-color: var(--accent); }
.contact-link-body { flex: 1; min-width: 0; }
.contact-link-label {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 0.5625rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 0.2rem;
}
.contact-link-val {
  font-size: 1rem; font-weight: 400; color: var(--ink);
  overflow-wrap: anywhere;
}
.contact-arrow { color: var(--ink-3); flex-shrink: 0; transition: transform 0.28s var(--ease), color 0.28s; }
a.contact-link:hover .contact-arrow { transform: translateX(4px); color: var(--accent); }

/* Form */
.contact-form { position: relative; }
.field { margin-bottom: 1.25rem; }
.contact-form label {
  display: block;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 0.5625rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 0.5rem;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%; padding: 0.85rem 0;
  background: transparent;
  border: none; border-bottom: 1px solid var(--line-2);
  border-radius: 0;
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1rem; font-weight: 400;
  outline: none;
  transition: border-color 0.24s;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--ink-3); }
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus { border-bottom-color: var(--accent); }
.contact-form input:focus-visible,
.contact-form textarea:focus-visible,
.contact-form select:focus-visible { outline: none; }
.contact-form select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236E685F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.25rem center;
  padding-right: 2rem;
}
.contact-form textarea { resize: vertical; min-height: 108px; line-height: 1.6; }
.contact-form .btn { width: 100%; justify-content: center; margin-top: 0.75rem; }
.contact-form .btn[disabled] { opacity: 0.55; cursor: progress; }

.form-status {
  display: none;
  margin-top: 1rem; padding: 0.875rem 1rem;
  border-radius: var(--r-sm);
  font-size: 0.9375rem; font-weight: 400; line-height: 1.55;
}
.form-status.is-shown { display: block; }
.form-status.is-ok { background: rgba(20,20,15,0.06); color: var(--ink); border: 1px solid var(--line-2); }
.form-status.is-err { background: var(--accent-w); color: var(--accent-2); border: 1px solid var(--accent-m); }

.form-spinner {
  display: inline-block; width: 14px; height: 14px;
  border: 1.5px solid rgba(255,255,255,0.35);
  border-top-color: #F9F9F7;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ═══════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════ */
footer { border-top: 1px solid var(--line); padding: 2.5rem 0; }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.25rem; flex-wrap: wrap;
}
.footer-copy {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 0.625rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-3);
}
.footer-links { display: flex; gap: 1.75rem; }
.footer-links a {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 0.625rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-3);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent); }

/* ═══════════════════════════════════════════════════════
   MOTION PRIMITIVES — masked word reveals
═══════════════════════════════════════════════════════ */
.w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.wi { display: inline-block; will-change: transform; }

/* The site is light-only: the daylight hero and the paper palette are one look. */
:root { color-scheme: light; }


/* ═══════════════════════════════════════════════════════
   REDUCED MOTION
═══════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .shape { display: none; }
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-right { max-width: 340px; }
  .portrait-frame { aspect-ratio: 4 / 4.4; }
  .sec-head { grid-template-columns: 1fr; align-items: start; gap: 1.75rem; }
  .bc-body { grid-template-columns: 1fr; }
  .proj { grid-template-columns: 1fr; gap: 1.25rem; }
  .contact-grid { grid-template-columns: 1fr; }
  /* Two columns: odd cells hug the left edge, even cells the right. */
  .metrics-row { grid-template-columns: 1fr 1fr; }
  .metric-cell { padding: 1.75rem 1.25rem; }
  .metric-cell:nth-child(odd) { padding-left: 0; }
  .metric-cell:nth-child(even) { padding-right: 0; border-right: none; }
  .metric-cell:nth-child(3), .metric-cell:nth-child(4) { border-top: 1px solid var(--line); }
  .beyond-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-center, .nav-action { display: none; }
  .nav-hamburger { display: flex; }
  .exp-row { grid-template-columns: 1fr; gap: 1rem; padding: 2rem 0; }
  .exp-meta { flex-direction: row; align-items: center; gap: 0.875rem; flex-wrap: wrap; }
  .exp-tag { margin-top: 0; }
  .strip { grid-template-columns: 1fr; }
  .strip-cell { border-right: none; border-bottom: 1px solid var(--line); }
  .strip-cell:last-child { border-bottom: none; }
  .hero-scroll-cue { display: none; }
  .bc-specs { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .metrics-row { grid-template-columns: 1fr; }
  .metric-cell { border-right: none; border-top: 1px solid var(--line); padding: 1.5rem 0; }
  .metric-cell:first-child { border-top: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

/* October 2026: the existing visual identity, with a quieter reading rhythm. */
html { scroll-behavior: smooth; scroll-padding-top: 0; overflow-x: clip; }
body { overflow-x: clip; }
main:focus, section:focus { outline: none; }
main[id], section[id] { scroll-margin-top: 88px; }
section { padding-block: clamp(44px, 4.6vw, 68px); overflow: clip; }
nav a { min-height: 44px; display: inline-flex; align-items: center; }
.nav-center a { font-size: 12px; letter-spacing: .055em; }
.nav-center a[aria-current="location"] { color: var(--accent); }
@media (max-width: 980px) {
  .nav-center, .nav-action { display: none; }
  .nav-hamburger { display: flex; }
}
.mobile-menu[hidden] { display: none; }
.hero-kicker { font-size: 12px; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 14px; }
#hero { min-height: min(880px, 100svh); padding: 112px 0 68px; }
.hero-name { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-size: clamp(80px, 10vw, 152px); letter-spacing: -.04em; line-height: .98; margin: 0 0 25px; }
.hero-name span { color: var(--accent); }
.hero-display { font-size: clamp(29px, 3.3vw, 46px); letter-spacing: -.035em; line-height: 1.1; margin: 0; }
.hero-display em { color: var(--accent); font-weight: 400; }
.hero-sub { font-size: clamp(16px, 1.35vw, 18px); line-height: 1.75; margin: 25px 0 0; max-width: 560px; }
.hero-actions { margin-top: 28px; }
.portrait-frame { aspect-ratio: 4 / 5; }
#portrait-img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.portrait-cap { font-size: 11px; letter-spacing: .06em; }
.hero-left, .hero-right { animation: arrive .7s ease-out both; }
.hero-right { animation-delay: .08s; }
@keyframes arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
h2 { font-size: clamp(40px, 5.2vw, 70px); line-height: 1.06; }
.sec-head { margin-bottom: 44px; gap: 40px; }
.sec-index { font-size: 12px; letter-spacing: .09em; margin-bottom: 22px; }
.deck { font-size: 18px; line-height: 1.75; }
.bc-panel { padding: clamp(25px, 4vw, 52px); }
.bc-title { font-size: clamp(32px, 4.6vw, 62px); overflow-wrap: anywhere; }
.bc-aside { border-left: 1px solid var(--line-2); padding-left: 36px; }
.small-label { font-size: 12px; color: var(--ink-3); letter-spacing: .07em; text-transform: uppercase; }
.bc-aside-text { font-family: 'Instrument Serif', Georgia, serif; font-size: 40px; line-height: 1.1; margin: 20px 0 25px; }
.metrics-row { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 32px; }
.metric-cell { padding: 26px; border-right: 1px solid var(--line); }
.metric-cell:first-child { padding-left: 0; }
.metric-cell:last-child { border-right: 0; }
.metric-num { font-size: clamp(36px, 4.2vw, 54px); }
.metric-label { font-size: 14px; margin: 6px 0; }
.metric-note, .career-date { font-size: 12px; color: var(--ink-3); }
.career-row { display: grid; grid-template-columns: 220px 1fr; gap: 35px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.career-row h3 { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.career-row p { color: var(--ink-2); font-size: 15px; line-height: 1.75; }
.career-row p.career-role { font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.career-row p.career-date { font-size: 12px; }
.career-more { border-bottom: 1px solid var(--line); }
.career-more summary { cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 22px 0; min-height: 48px; color: var(--accent); font-size: 15px; font-weight: 600; list-style: none; }
.career-more summary::-webkit-details-marker { display: none; }
.career-more summary span { font-size: 24px; transition: transform .2s; }
.career-more[open] summary span { transform: rotate(45deg); }
.career-detail { max-width: 790px; padding-bottom: 24px; }
.career-detail p { color: var(--ink-2); font-size: 15px; line-height: 1.8; margin-bottom: 16px; }
.project-status { font-size: 13px!important; color: var(--ink-3); }
.beyond-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.beyond-item-head { align-items: baseline; gap: 12px; }
.beyond-title { font-size: 18px; }
.beyond-text { font-size: 15px; padding-left: 0; }
.contact-headline { font-size: clamp(60px, 7vw, 90px); }
.form-status.is-err { color: var(--ink); }
.contact-form input:focus-visible, .contact-form select:focus-visible, .contact-form textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.footer-links { flex-wrap: wrap; row-gap: 10px; }
.footer-links a { min-height: 44px; display: inline-flex; align-items: center; font-size: 11px; }
@media (max-width: 980px) {
  #hero { min-height: 0; padding-top: 100px; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 26px; }
  .hero-right { max-width: none; }
  .hero-name { font-size: clamp(66px, 10vw, 110px); }
  .hero-display { font-size: 32px; }
  .hero-actions { flex-wrap: wrap; gap: 12px; }
  .bc-aside { border-left: 0; border-top: 1px solid var(--line-2); padding: 25px 0 0; }
  .metrics-row { grid-template-columns: repeat(3, 1fr); }
  .metric-cell { padding: 20px 16px; }
  .metric-cell:nth-child(2) { border-right: 1px solid var(--line); }
  .metric-cell:nth-child(3) { border-top: 0; }
  .beyond-grid { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 680px) {
  #hero { padding: 98px 0 55px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-left { display: contents; }
  .hero-kicker { grid-row: 1; margin: 0 0 -18px; font-size: 11px; }
  .hero-name { grid-row: 2; font-size: clamp(64px, 18vw, 104px); margin: 0; }
  .hero-display { grid-row: 3; font-size: clamp(27px, 7vw, 38px); margin: -14px 0 0; }
  .hero-right { grid-row: 6; width: 100%; }
  .portrait-frame { aspect-ratio: 4 / 3; border-radius: 18px; }
  #portrait-img { object-position: center 16%; }
  .hero-sub { grid-row: 4; margin: 0; font-size: 16px; }
  .hero-actions { grid-row: 5; display: flex; flex-direction: row; margin: 0; flex-wrap: wrap; }
  .hero-actions .btn { flex: 1 1 auto; font-size: 14px; padding: 14px 20px; }
  .sec-head { gap: 24px; }
  .deck { font-size: 16px; }
  .metrics-row { grid-template-columns: 1fr; }
  .metric-cell, .metric-cell:nth-child(even), .metric-cell:nth-child(odd) { border-right: 0; border-top: 1px solid var(--line); padding: 19px 0; }
  .metric-cell:first-child { border-top: 0; }
  .career-row { grid-template-columns: 1fr; gap: 12px; padding: 23px 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .hero-left, .hero-right { animation: none; } }

/* ═══════════════════════════════════════════════════════
   NOVEMBER 2026 REVIEW: logo, Afterpage art, client strip
═══════════════════════════════════════════════════════ */
/* Logo set in the hero's display face, with the same accent full stop. */
.nav-logo { font-family: 'Instrument Serif', Georgia, serif; font-size: 1.75rem; font-weight: 400; letter-spacing: -.025em; line-height: 1; gap: 0; }
.nav-logo::before { content: none; }
.nav-logo span { color: var(--accent); }

/* Afterpage card: the engraving on one side, the product on the other. */
.ap-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.ap-art { position: relative; margin: 0; min-height: 100%; background: #DCE3EE; }
.ap-art picture { display: contents; }
.ap-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
@media (max-width: 860px) { .ap-art img { object-position: 18% 50%; } }
.ap-body { display: flex; flex-direction: column; gap: 26px; padding: clamp(28px, 4vw, 56px); min-width: 0; }
.ap-brand { display: flex; align-items: center; gap: 12px; }
.ap-icon { width: 40px; height: 40px; border-radius: 10px; box-shadow: 0 0 0 1px var(--line); flex: none; }
.ap-name { margin: 0; font-size: 16px; font-weight: 600; color: var(--ink); }
.ap-meta { margin: 2px 0 0; font-size: 12px; letter-spacing: .04em; color: var(--ink-3); }
.ap-live { display: inline-flex; align-items: center; gap: 6px; color: #2E6B45; font-weight: 500; }
.ap-live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #3C8A5A; }
.ap-title { margin: 0; font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-size: clamp(42px, 4.6vw, 64px); line-height: 1; letter-spacing: -.03em; color: var(--ink); }
.ap-title em { color: var(--accent); }
.ap-steps { list-style: none; counter-reset: step; margin: 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.ap-steps li { counter-increment: step; display: grid; grid-template-columns: 26px minmax(0, 1fr); align-items: baseline; gap: 10px; font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.ap-steps li::before { content: counter(step); font-family: 'Instrument Serif', Georgia, serif; font-size: 24px; line-height: 1; color: var(--accent); }
.ap-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.ap-note { margin: 0; max-width: 34ch; font-size: 13px; line-height: 1.5; color: var(--ink-3); }
@media (max-width: 860px) {
  .ap-card { grid-template-columns: 1fr; }
  .ap-art { min-height: 0; aspect-ratio: 16 / 7; }
}
@media (max-width: 480px) {
  .ap-art { aspect-ratio: 4 / 3; }
  .ap-steps li { font-size: 15px; }
}

/* Accounts strip: a slow, continuous row of names. */
.clients { margin: 0 0 40px; padding: 0 0 24px; border-bottom: 1px solid var(--line); }
.clients-label { font-size: 12px; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 16px; }
.clients-track { display: flex; width: max-content; animation: clients-scroll 48s linear infinite; }
.clients:hover .clients-track, .clients:focus-within .clients-track { animation-play-state: paused; }
.clients-viewport { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.clients-list { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; flex: none; }
.clients-list li { font-family: 'Instrument Serif', Georgia, serif; font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -.015em; color: var(--ink-2); white-space: nowrap; display: flex; align-items: center; }
.clients-list li::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); opacity: .55; margin: 0 clamp(22px, 2.6vw, 38px); }
@keyframes clients-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .clients-viewport { mask-image: none; }
  .clients-track { animation: none; width: auto; }
  .clients-list { flex-wrap: wrap; row-gap: 8px; }
  .clients-list[aria-hidden="true"] { display: none; }
}
@media (max-width: 680px) {
  .nav-logo { font-size: 1.55rem; }
  .bc-title .bc-icon { width: .9em; height: .9em; }
}

/* Map library basics (its own stylesheet is not loaded). */
#travel-map svg { touch-action: none; display: block; }
#travel-map text { user-select: none; }
.jvm-container { touch-action: none; position: relative; overflow: hidden; height: 100%; width: 100%; }
.jvm-tooltip { position: absolute; display: none; white-space: nowrap; }
.jvm-tooltip.active { display: block; }
@media (max-width: 680px) {
  .map-panel { padding: 18px 14px; }
  #travel-map { min-height: 0; }
}
/* Tablet results row: the third figure keeps its inner space beside the divider. */
@media (min-width: 681px) and (max-width: 980px) {
  .metric-cell:nth-child(3) { padding-left: 16px; }
}
