
/* ============================================================
   Tokens
   ============================================================ */
:root {
  --bg: #07080a;
  --bg-2: #0b0d11;
  --surface: #101218;
  --surface-2: #151821;

  --paper: #f1eade;
  --paper-2: #e6dccc;
  --ink: #14161b;
  --ink-soft: #4a4a45;

  --text: #f6f3ed;
  --text-soft: #c6c2ba;
  --muted: #8d939c;

  --line: rgba(246, 243, 237, 0.12);
  --line-strong: rgba(246, 243, 237, 0.26);

  /* ---- the only accent on the site, plus tints of it ---- */
  --accent: #3b62ff;
  --accent-soft: #7c95ff;
  --accent-deep: #2c3ecf;
  --accent-wash: rgba(59, 98, 255, 0.12);
  --accent-line: rgba(124, 149, 255, 0.38);

  /* legacy aliases — every component resolves to the same hue */
  --blue: var(--accent);
  --blue-soft: var(--accent-soft);
  --cyan: var(--accent);
  --amber: var(--accent);
  --violet: var(--accent);
  --green: #8fd9b0;
  --red: #ef9a9a;

  --header-bg: rgba(7, 8, 10, 0.72);
  --header-bg-solid: rgba(7, 8, 10, 0.94);
  --wash: rgba(246, 243, 237, 0.06);
  --line-soft: rgba(246, 243, 237, 0.09);
  --line-faint: rgba(246, 243, 237, 0.06);
  --grid-line: rgba(246, 243, 237, 0.045);
  --grain-opacity: 0.24;
  --invert-bg: #f1eade;
  --invert-text: #14161b;
  --invert-soft: rgba(20, 22, 27, 0.62);
  --invert-accent: #2c3ecf;
  --invert-line: rgba(20, 22, 27, 0.16);
  --shadow: 0 30px 60px -40px rgba(0, 0, 0, 0.9);

  --part-1: var(--accent);
  --part-2: var(--accent);
  --part-3: var(--accent);
  --part-4: var(--accent);

  --display: 'Instrument Serif', 'Times New Roman', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --r: 18px;
  --r-sm: 10px;
  --max: 1160px;
  --gutter: 32px;
  /* generous, consistent vertical rhythm */
  --space-section: clamp(96px, 11vw, 156px);
  --space-section-tight: clamp(64px, 7vw, 100px);
  --space-head: clamp(40px, 4.4vw, 64px);
  --space-stack: 28px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  background: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: -0.011em;
  color: var(--text-soft);
  background: transparent;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  color: var(--text);
  letter-spacing: -0.015em;
  line-height: 1.04;
}

p {
  margin: 0;
}

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

::selection {
  background: var(--blue);
  color: #fff;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--blue);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 var(--r-sm) 0;
}

.skip-link:focus {
  left: 0;
}

[hidden] {
  display: none !important;
}

/* film grain over the whole page */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  opacity: var(--grain-opacity);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.22'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* ============================================================
   Layout
   ============================================================ */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.main {
  flex: 1 0 auto;
}

.section {
  padding: var(--space-section) 0;
  border-top: 1px solid var(--line);
  position: relative;
}

.section--flush {
  border-top: 0;
  padding-top: 0;
}

.section--tight {
  padding: var(--space-section-tight) 0;
}

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: var(--space-head);
  flex-wrap: wrap;
}

.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.eyebrow--blue {
  color: var(--blue-soft);
}

.eyebrow--plain::before {
  display: none;
}

.h2 {
  font-size: clamp(2.1rem, 4.2vw, 3.1rem);
}

.h3 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
}

.serif-i {
  font-style: italic;
}

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

.prose > * + * {
  margin-top: 24px;
}

.prose p {
  max-width: 62ch;
}

.lede {
  font-family: var(--display);
  font-size: clamp(1.55rem, 2.7vw, 2.15rem);
  line-height: 1.33;
  color: var(--text);
  letter-spacing: -0.012em;
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: var(--header-bg);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: var(--header-bg-solid);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  white-space: nowrap;
}

.brand__mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  object-fit: cover;
  object-position: 50% 18%;
  flex: none;
  background: var(--surface);
  transition: border-color 0.25s, transform 0.4s var(--ease), box-shadow 0.3s;
}

.brand:hover .brand__mark {
  border-color: var(--blue-soft);
  transform: scale(1.05);
  box-shadow: 0 0 0 3px rgba(59, 98, 255, 0.16);
}

.brand__text {
  font-family: var(--display);
  font-size: 1.28rem;
  letter-spacing: -0.01em;
  color: var(--text);
}

.brand__text span {
  color: var(--muted);
  font-size: 0.76em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav__link {
  font-size: 14px;
  color: var(--text-soft);
  position: relative;
  padding: 8px 0;
  transition: color 0.2s var(--ease);
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: var(--blue-soft);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav__link:hover {
  color: var(--text);
}

.nav__link:hover::after,
.nav__link[aria-current='page']::after {
  transform: scaleX(1);
}

.nav__link[aria-current='page'] {
  color: var(--text);
}

.nav__cta {
  font-size: 13.5px;
  padding: 9px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text);
  transition: border-color 0.2s, background 0.2s;
}

.nav__cta:hover {
  border-color: var(--text);
  background: var(--wash);
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  padding: 12px 2px;
  min-height: 44px;
}

.menu-toggle__bars {
  display: grid;
  gap: 4px;
}

.menu-toggle__bars span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.25s var(--ease);
}

.menu-toggle[aria-expanded='true'] .menu-toggle__bars span:first-child {
  transform: translateY(2.75px) rotate(45deg);
}

.menu-toggle[aria-expanded='true'] .menu-toggle__bars span:last-child {
  transform: translateY(-2.75px) rotate(-45deg);
}

.nav-drawer {
  display: none;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.nav-drawer.is-open {
  display: block;
  animation: drawerIn 0.3s var(--ease);
}

@keyframes drawerIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.nav-drawer ul {
  padding: 8px 0 24px;
}

.nav-drawer a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  font-size: 20px;
  font-family: var(--display);
  color: var(--text-soft);
  border-bottom: 1px solid var(--line);
}

.nav-drawer a[aria-current='page'] {
  color: var(--text);
}

.nav-drawer a span {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 27px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: background 0.22s var(--ease), color 0.22s var(--ease),
    border-color 0.22s var(--ease), transform 0.22s var(--ease), box-shadow 0.3s var(--ease);
  /* comfortable hit area on every screen */
  min-height: 52px;
}

.btn svg {
  width: 15px;
  height: 15px;
  transition: transform 0.25s var(--ease);
}

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

.btn--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 30px -14px rgba(59, 98, 255, 0.9);
}

.btn--primary:hover {
  background: var(--blue-soft);
  color: #0a0b0d;
  transform: translateY(-1px);
}

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: var(--text);
  background: var(--wash);
  transform: translateY(-1px);
}

.btn--ink {
  background: var(--ink);
  color: var(--paper);
}

.btn--ink:hover {
  background: #000;
  transform: translateY(-1px);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 44px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-soft);
  font-size: 14.5px;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, gap 0.2s, color 0.2s;
}

.text-link:hover {
  border-color: currentColor;
  gap: 12px;
  color: var(--text);
}

.text-link svg {
  width: 15px;
  height: 15px;
}

/* ============================================================
   Reveal on scroll
   ============================================================ */
.reveal-up {
  opacity: 1;
  transform: none;
}

.js .reveal-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.js .reveal-up.in {
  opacity: 1;
  transform: none;
}

.reveal-up:nth-child(2) {
  transition-delay: 0.07s;
}

.reveal-up:nth-child(3) {
  transition-delay: 0.14s;
}

.reveal-up:nth-child(4) {
  transition-delay: 0.2s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal-up {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  padding: clamp(64px, 9vh, 112px) 0 clamp(76px, 10vh, 128px);
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  top: -22%;
  right: -8%;
  width: 58vw;
  height: 78vh;
  background: radial-gradient(
    ellipse at center,
    rgba(59, 98, 255, 0.24),
    rgba(59, 98, 255, 0.06) 42%,
    transparent 68%
  );
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(ellipse 80% 65% at 70% 25%, #000 5%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 80% 65% at 70% 25%, #000 5%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
}

.hero__name {
  font-size: clamp(3rem, 6.6vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.028em;
  margin-bottom: 22px;
}

.hero__name span {
  display: inline-block;
  font-size: 0.4em;
  color: var(--muted);
  letter-spacing: 0.01em;
  vertical-align: 0.32em;
}

.hero__role {
  font-size: 13.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__role .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue-soft);
}

.hero__intro {
  margin-top: 26px;
  max-width: 52ch;
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  line-height: 1.72;
  color: var(--text-soft);
}

/* Portrait frame */
.portrait {
  position: relative;
  perspective: 1000px;
}

.portrait__frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  transform-style: preserve-3d;
  transition: transform 0.5s var(--ease);
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(59, 98, 255, 0.08);
}

.portrait__frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 20%;
}

.portrait__frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 8, 10, 0.5) 0%, transparent 34%);
  pointer-events: none;
}

.portrait__label {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(246, 243, 237, 0.9);
}

.portrait__label::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(143, 217, 176, 0.16);
  animation: pulse 3.2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

.chip-float {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(12, 14, 18, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 12px;
  color: var(--text);
  white-space: nowrap;
  box-shadow: 0 18px 40px -24px #000;
  animation: floaty 7s ease-in-out infinite;
}

.chip-float--a {
  top: 26px;
  left: -26px;
}

.chip-float--b {
  bottom: 58px;
  right: -22px;
  animation-delay: -3.5s;
}

.chip-float em {
  font-style: normal;
  color: var(--blue-soft);
  font-variant-numeric: tabular-nums;
}

.chip-float svg {
  width: 14px;
  height: 14px;
  color: var(--blue-soft);
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

/* ============================================================
   Marquee
   ============================================================ */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 20px 0;
  background: linear-gradient(
    90deg,
    rgba(59, 98, 255, 0.06),
    transparent 30%,
    transparent 70%,
    rgba(59, 98, 255, 0.06)
  );
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__group {
  display: flex;
  align-items: center;
  gap: 34px;
  padding-right: 34px;
}

.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 34px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.marquee__item::after {
  content: '◆';
  font-size: 7px;
  color: var(--blue-soft);
  opacity: 0.8;
}

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

@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
  }
}

/* ============================================================
   Statement band (ivory)
   ============================================================ */
.statement {
  background: var(--invert-bg);
  color: var(--invert-text);
  padding: clamp(76px, 10vw, 140px) 0;
  position: relative;
  overflow: hidden;
}

.statement::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(20, 22, 27, 0.14) 1px, transparent 0);
  background-size: 22px 22px;
  opacity: 0.55;
  mask-image: linear-gradient(105deg, #000 0%, transparent 55%);
  -webkit-mask-image: linear-gradient(105deg, #000 0%, transparent 55%);
}

.statement__inner {
  position: relative;
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: clamp(26px, 5vw, 72px);
  align-items: start;
}

.statement__label {
  font-size: 11px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--invert-soft);
  padding-top: 12px;
}

.statement__quote {
  font-family: var(--display);
  font-size: clamp(1.9rem, 4.2vw, 3.3rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--invert-text);
  text-wrap: balance;
}

.statement__quote em {
  font-style: italic;
  color: var(--invert-accent);
}

.statement__foot {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  font-size: 13px;
  color: var(--invert-soft);
}

.statement__foot span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.statement__foot i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--invert-accent);
}

/* ============================================================
   Cards
   ============================================================ */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-stack);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 38px 32px 34px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  overflow: hidden;
  isolation: isolate;
  transition: border-color 0.3s var(--ease), transform 0.35s var(--ease),
    background 0.3s var(--ease);
  min-height: 224px;
}

.card::before {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  background: radial-gradient(
    340px circle at var(--mx, 50%) var(--my, 0%),
    color-mix(in srgb, var(--stripe, var(--blue)) 26%, transparent),
    transparent 70%
  );
}

.card:hover::before {
  opacity: 1;
}

.card:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
}

.card__index {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--stripe, var(--blue-soft));
  font-variant-numeric: tabular-nums;
}

.card__title {
  font-family: var(--display);
  font-size: 1.68rem;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 4px;
}

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

.card:hover .card__title svg {
  color: var(--stripe, var(--blue-soft));
  transform: translate(2px, -2px);
}

.card__text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 34ch;
}

.card__meta {
  margin-top: auto;
  padding-top: 22px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.card__meta i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--stripe, var(--blue));
}

/* ============================================================
   Visual band (CLFP teaser)
   ============================================================ */
.band {
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg-2);
}

.band__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.band__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 50%;
  opacity: 0.55;
}

.band__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #07080a 2%, rgba(7, 8, 10, 0.9) 40%, rgba(7, 8, 10, 0.55) 100%),
    linear-gradient(0deg, rgba(7, 8, 10, 0.7), transparent 65%);
}

.band__inner {
  position: relative;
  z-index: 1;
  padding-top: clamp(56px, 8vw, 96px);
  padding-bottom: clamp(56px, 8vw, 96px);
  display: grid;
  grid-template-columns: 1fr 0.62fr;
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
}

.band__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 30px;
  text-align: left;
  padding-left: clamp(20px, 3vw, 40px);
  border-left: 1px solid rgba(246, 243, 237, 0.18);
}

.stat__num {
  font-family: var(--display);
  font-size: clamp(2.2rem, 3.6vw, 3rem);
  color: var(--text);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stat__label {
  font-size: 10.5px;
  letter-spacing: 0.15em;
  margin-right: -0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}

/* ============================================================
   About
   ============================================================ */
.about-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(34px, 6vw, 78px);
  align-items: center;
  padding: clamp(46px, 7vh, 78px) 0 clamp(56px, 8vh, 96px);
}

.about-hero__photo {
  position: relative;
}

.about-hero__photo img {
  border-radius: 20px;
  border: 1px solid var(--line-strong);
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 18%;
}

.about-hero__photo::before {
  content: '';
  position: absolute;
  inset: -14px -14px auto auto;
  width: 58%;
  height: 58%;
  border-top: 1px solid var(--blue-soft);
  border-right: 1px solid var(--blue-soft);
  border-radius: 0 22px 0 0;
  opacity: 0.6;
  pointer-events: none;
}

.about-hero__tag {
  position: absolute;
  left: -20px;
  bottom: 26px;
  background: var(--invert-bg);
  color: var(--invert-text);
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: 0 20px 40px -24px #000;
}

.about-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 24px;
  font-size: 13.5px;
  color: var(--muted);
}

.about-meta a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color 0.2s;
}

.about-meta a:hover {
  color: var(--text);
}

.about-meta svg {
  width: 14px;
  height: 14px;
}

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

.timeline__row {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(20px, 4vw, 56px);
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.timeline__dot {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.timeline__dot::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(59, 98, 255, 0.14);
  flex: none;
}

.timeline__company {
  font-family: var(--display);
  font-size: 1.6rem;
  color: var(--text);
  line-height: 1.2;
}

.timeline__loc {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 5px;
  padding-left: 19px;
}

.timeline__roles {
  display: grid;
  gap: 14px;
}

.timeline__role {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-faint);
}

.timeline__role:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.timeline__role.is-current .timeline__name::after {
  content: 'Current';
  margin-left: 10px;
  font-family: var(--sans);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-soft);
  border: 1px solid rgba(124, 149, 255, 0.36);
  border-radius: 999px;
  padding: 2px 7px;
  vertical-align: 2px;
}

.timeline__name {
  font-size: 15.5px;
  color: var(--text);
}

.timeline__dates {
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.community {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-stack);
}

.community__item {
  border: 1px solid var(--line);
  border-top: 2px solid var(--stripe, var(--accent));
  border-radius: var(--r);
  padding: 36px 32px;
  background: var(--surface);
  transition: transform 0.3s var(--ease), border-color 0.3s;
}

.community__item:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  border-top-color: var(--stripe, var(--accent));
}

.community__meta {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--stripe, var(--blue-soft));
  margin-bottom: 14px;
}

.community__item h3 {
  font-size: 1.35rem;
  line-height: 1.25;
  margin-bottom: 14px;
}

.community__item p:last-child {
  font-size: 14.5px;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(28px, 5vw, 72px);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.chip {
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--text-soft);
  transition: border-color 0.25s, color 0.25s, transform 0.25s;
}

.chip:hover {
  border-color: var(--blue-soft);
  color: var(--text);
  transform: translateY(-2px);
}

.cred-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
  margin-top: 8px;
}

.cred-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  color: var(--text-soft);
}

.cred-list li span:last-child {
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

/* ============================================================
   Page head
   ============================================================ */
.page-head {
  padding: clamp(60px, 9vh, 112px) 0 clamp(38px, 4vw, 56px);
  position: relative;
}

.page-head h1 {
  font-size: clamp(2.5rem, 6vw, 4.4rem);
  letter-spacing: -0.028em;
  margin-bottom: 18px;
  max-width: 20ch;
}

.page-head p {
  max-width: 56ch;
  color: var(--muted);
  font-size: 16px;
}


/* ============================================================
   FAQ (home)
   ============================================================ */
.faq {
  border-top: 1px solid var(--line);
}

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

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  cursor: pointer;
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  list-style: none;
}

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

.faq__item summary::after {
  content: '+';
  font-family: var(--sans, inherit);
  font-size: 1.25rem;
  color: var(--muted);
  line-height: 1;
  flex: none;
}

.faq__item[open] summary::after {
  content: '–';
}

.faq__item p {
  margin: 0 0 20px;
  max-width: 62ch;
  color: var(--muted);
  font-size: 15px;
}

/* ============================================================
   Contact
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(34px, 6vw, 76px);
  align-items: start;
}

.contact-email {
  font-family: var(--display);
  font-size: clamp(1.5rem, 4vw, 2.8rem);
  color: var(--text);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 8px;
  display: inline-block;
  transition: border-color 0.25s, color 0.25s;
  word-break: break-word;
  letter-spacing: -0.02em;
}

.contact-email:hover {
  color: var(--blue-soft);
  border-color: var(--blue-soft);
}

.contact-list {
  border-top: 1px solid var(--line);
  margin-top: 34px;
}

.contact-list a,
.contact-list div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}

.contact-list a:hover {
  color: var(--blue-soft);
}

.contact-list span {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.duo-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--accent-line);
  background: var(--surface);
}

.duo-card img {
  width: 100%;
  aspect-ratio: 1 / 1.05;
  object-fit: cover;
  object-position: 50% 22%;
}

.duo-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  background: linear-gradient(0deg, rgba(7, 8, 10, 0.78), transparent 58%);
}

.duo-card__overlay p {
  font-family: var(--display);
  font-size: 1.4rem;
  color: #fff;
  line-height: 1.25;
}

.duo-card__overlay span {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 8px;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--line);
  margin-top: auto;
  background: var(--bg-2);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  flex-wrap: wrap;
  padding: 24px 0 34px;
  font-size: 12.5px;
  color: var(--muted);
}

.footer__name {
  font-family: var(--display);
  font-size: 1.1rem;
  color: var(--text);
}

.footer__links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--text);
}

.footer__links svg {
  width: 13px;
  height: 13px;
}

.footer__legal {
  font-size: 11.5px;
  letter-spacing: 0.03em;
  color: var(--muted);
  opacity: 0.75;
}

/* ============================================================
   Empty state
   ============================================================ */
.empty {
  border: 1px dashed var(--line-strong);
  border-radius: var(--r);
  padding: 52px 32px;
  background: var(--surface);
}

.empty__title {
  font-size: 1.7rem;
  color: var(--text);
  margin-bottom: 10px;
}

.empty p {
  font-size: 14.5px;
  color: var(--muted);
  max-width: 46ch;
}


/* ============================================================
   Rows + about grid
   ============================================================ */
.rows {
  border-top: 1px solid var(--line);
}

.row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
  transition: padding 0.24s var(--ease), color 0.2s;
}

a.row:hover {
  padding-left: 12px;
  color: var(--text);
}

.row__title {
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--text);
  line-height: 1.2;
}

.row__date {
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(34px, 6vw, 78px);
  align-items: center;
}

@media (max-width: 940px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1020px) {
  .nav__links {
    gap: 18px;
  }
  .nav__navcta {
    display: none;
  }
}

@media (max-width: 940px) {
  .hero__inner,
  .about-hero,
  .split,
  .contact-grid,
  .statement__inner,
  .band__inner {
    grid-template-columns: 1fr;
  }

  .hero__side {
    max-width: 460px;
  }

  .band__inner {
    align-items: start;
  }

  .band__stats {
    padding-left: 0;
    border-left: 0;
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    justify-items: center;
    gap: 30px 24px;
  }

  .band__stats .stat__num {
    line-height: 1.1;
  }

  /* one card per row, one accent, room to breathe */
  .cards,
  .community {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .card {
    min-height: 0;
  }

  .timeline__row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .chip-float--a {
    left: -10px;
  }

  .chip-float--b {
    right: -8px;
  }
}

@media (max-width: 860px) {
  .nav__links {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }
}

@media (max-width: 760px) {
  :root {
    --gutter: 20px;
    --space-stack: 20px;
    --space-section: 84px;
    --space-section-tight: 64px;
    --space-head: 36px;
  }

  body {
    font-size: 16px;
  }

  .section {
    padding: var(--space-section) 0;
  }

  .section__head {
    margin-bottom: var(--space-head);
  }

  .hero {
    padding: 40px 0 56px;
  }

  .hero__inner {
    gap: 40px;
  }

  .hero__name {
    font-size: clamp(2.6rem, 12vw, 3.8rem);
  }

  .hero__role {
    font-size: 12px;
    gap: 9px;
  }

  .hero__intro {
    margin-top: 20px;
    font-size: 15.5px;
  }

  .portrait__frame img {
    aspect-ratio: 4 / 4.6;
  }

  .chip-float {
    font-size: 11px;
    padding: 8px 11px;
  }

  .chip-float--a {
    top: 14px;
    left: -6px;
  }

  .chip-float--b {
    bottom: 46px;
    right: -4px;
  }

  .btn-row {
    margin-top: 32px;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  /* full-width buttons with a 56px tap target */
  .btn {
    justify-content: center;
    width: 100%;
    min-height: 56px;
    padding: 16px 24px;
    font-size: 15.5px;
  }

  /* links and pills get a 44px minimum hit area */
  .text-link {
    min-height: 44px;
    padding: 6px 0;
  }

  .theme-toggle {
    width: 44px;
    height: 44px;
  }

  .menu-toggle {
    min-height: 48px;
  }

  .nav-drawer a {
    padding: 18px 0;
  }

  .statement__quote {
    font-size: clamp(1.7rem, 7.4vw, 2.3rem);
  }

  .statement__inner {
    gap: 14px;
  }

  .card {
    padding: 30px 24px 28px;
    gap: 14px;
  }

  .about-hero__photo {
    order: -1;
  }

  .about-hero__tag {
    left: 14px;
    bottom: 14px;
    font-size: 10px;
    padding: 9px 14px;
  }

  .about-hero__photo::before {
    display: none;
  }

  .timeline__role {
    flex-direction: column;
    gap: 4px;
  }

  .page-head {
    padding: 38px 0 30px;
  }

  .page-head h1 {
    font-size: clamp(2.2rem, 9.5vw, 3rem);
  }

  .footer__cta {
    padding: 40px 0 30px;
  }

  .empty {
    padding: 38px 22px;
  }

  .duo-card {
    order: -1;
    max-width: 380px;
  }
}

/* ============================================================
   Theme toggle
   ============================================================ */
.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--text-soft);
  transition: border-color 0.2s, color 0.2s, background 0.2s, transform 0.3s var(--ease);
  flex: none;
}

.theme-toggle:hover {
  border-color: var(--line-strong);
  color: var(--text);
  background: var(--wash);
  transform: rotate(12deg);
}

.theme-toggle svg {
  width: 15px;
  height: 15px;
}

.theme-toggle .icon-moon {
  display: block;
}

.theme-toggle .icon-sun {
  display: none;
}

html[data-theme='light'] .theme-toggle .icon-moon {
  display: none;
}

html[data-theme='light'] .theme-toggle .icon-sun {
  display: block;
}

.nav__tools {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ============================================================
   Contact form
   ============================================================ */
.form {
  display: grid;
  gap: 16px;
  margin-top: 6px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  font-size: 10.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.field label abbr {
  text-decoration: none;
  color: var(--blue-soft);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  appearance: none;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted);
  opacity: 0.7;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(59, 98, 255, 0.18);
}

.field textarea {
  min-height: 156px;
  resize: vertical;
}

.field.is-invalid input,
.field.is-invalid textarea {
  border-color: var(--red);
}

.field__error {
  font-size: 12px;
  color: var(--red);
  min-height: 0;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.form-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.55;
  max-width: 42ch;
}

.form-status {
  margin-top: 4px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 14px;
  display: none;
}

.form-status.is-visible {
  display: block;
  animation: answerIn 0.35s var(--ease);
}

.form-status strong {
  color: var(--text);
  font-weight: 500;
}

.form-status[data-state='ok'] {
  border-color: rgba(143, 217, 176, 0.5);
  background: rgba(60, 160, 110, 0.1);
}

.form-status[data-state='notice'] {
  border-color: var(--accent-line);
  background: var(--accent-wash);
}

.form-status__link {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 15px;
  border-radius: 30px;
  border: 1px solid var(--accent-line);
  color: var(--text);
  font-weight: 500;
  font-size: 13px;
  text-decoration: none;
}

.form-status__link:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.form-status[data-state='error'] {
  border-color: rgba(239, 154, 154, 0.5);
  background: rgba(200, 70, 70, 0.1);
}

.contact-aside {
  display: grid;
  gap: 22px;
  align-content: start;
}

.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px;
  background: var(--surface);
}

.contact-card h2 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.contact-card p {
  font-size: 14px;
  color: var(--muted);
}

.contact-card + .contact-card {
  margin-top: 0;
}

/* ============================================================
   Light theme
   ============================================================ */
html[data-theme='light'] {
  --bg: #f7f2e7;
  --bg-2: #efe7d8;
  --surface: #fffdf8;
  --surface-2: #f6efe2;

  --text: #14161b;
  --text-soft: #3c3e39;
  --muted: #6b6d66;

  --line: rgba(20, 22, 27, 0.14);
  --line-strong: rgba(20, 22, 27, 0.34);
  --line-soft: rgba(20, 22, 27, 0.1);
  --line-faint: rgba(20, 22, 27, 0.07);
  --grid-line: rgba(20, 22, 27, 0.06);

  --header-bg: rgba(247, 242, 231, 0.78);
  --header-bg-solid: rgba(247, 242, 231, 0.96);
  --wash: rgba(20, 22, 27, 0.05);
  --grain-opacity: 0.13;

  --invert-bg: #14161b;
  --invert-text: #f7f2e7;
  --invert-soft: rgba(247, 242, 231, 0.66);
  --invert-accent: #a8bcff;
  --invert-line: rgba(247, 242, 231, 0.18);

  --accent: #2f4fe0;
  --accent-soft: #3550d8;
  --accent-deep: #1e36a8;
  --accent-wash: rgba(47, 79, 224, 0.1);
  --accent-line: rgba(47, 79, 224, 0.34);

  --blue: var(--accent);
  --blue-soft: var(--accent-soft);
  --cyan: var(--accent);
  --amber: var(--accent);
  --violet: var(--accent);
  --green: #1f8a56;
  --red: #b3453f;

  --part-1: var(--accent);
  --part-2: var(--accent);
  --part-3: var(--accent);
  --part-4: var(--accent);

  --shadow: 0 24px 50px -34px rgba(20, 22, 27, 0.4);
}

html[data-theme='light'] body::after {
  mix-blend-mode: multiply;
}

html[data-theme='light'] .hero__glow {
  background: radial-gradient(
    ellipse at center,
    rgba(47, 79, 224, 0.16),
    rgba(47, 79, 224, 0.04) 42%,
    transparent 68%
  );
}

html[data-theme='light'] .btn--primary {
  color: #fff;
  box-shadow: 0 12px 28px -16px rgba(47, 79, 224, 0.9);
}

html[data-theme='light'] .chip-float {
  background: rgba(255, 253, 248, 0.9);
  border-color: rgba(20, 22, 27, 0.16);
  color: var(--text);
}

html[data-theme='light'] .portrait__frame {
  box-shadow: 0 30px 70px -46px rgba(20, 22, 27, 0.6);
}

html[data-theme='light'] .duo-card__overlay p,
html[data-theme='light'] .duo-card__overlay span {
  color: #fff;
}

html[data-theme='light'] .brand__mark {
  border-color: rgba(20, 22, 27, 0.22);
}

/* the abstract band stays dark in both themes */
.band {
  --text: #f6f3ed;
  --text-soft: #c6c2ba;
  --muted: #9aa0a8;
  --line: rgba(246, 243, 237, 0.14);
  --line-strong: rgba(246, 243, 237, 0.26);
  --blue-soft: #7c95ff;
  background: #0b0d11;
  color: #c6c2ba;
}

html[data-theme='light'] .band .eyebrow--blue {
  color: #9db4ff;
}

html[data-theme='light'] .band .muted {
  color: #a2a8b0;
}

html[data-theme='light'] .card {
  box-shadow: 0 20px 40px -38px rgba(20, 22, 27, 0.5);
}

html[data-theme='light'] .community__item {
  box-shadow: 0 18px 40px -42px rgba(20, 22, 27, 0.55);
}

/* contact list: keep inline icons small */
.contact-list strong {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.contact-list svg {
  width: 13px;
  height: 13px;
  flex: none;
}

/* select chevron */
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238d939c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}

html[data-theme='light'] .field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236b6d66' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}

/* form helper list */
.form-hints {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
}

.form-hints li {
  font-size: 12.5px;
  color: var(--muted);
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.form-hints li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue-soft);
  flex: none;
  transform: translateY(-2px);
}

.field textarea {
  min-height: 184px;
}

/* ============================================================
   Ambient colour layer
   ============================================================ */
body::before {
  content: '';
  position: fixed;
  inset: -20%;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(40vw 34vh at 84% 4%, rgba(59, 98, 255, 0.2), transparent 62%),
    radial-gradient(34vw 30vh at 4% 24%, rgba(124, 149, 255, 0.1), transparent 66%),
    radial-gradient(46vw 38vh at 72% 90%, rgba(59, 98, 255, 0.12), transparent 64%),
    radial-gradient(30vw 26vh at 20% 62%, rgba(124, 149, 255, 0.08), transparent 68%);
  filter: blur(16px);
}

html[data-theme='light'] body::before {
  background: radial-gradient(46vw 40vh at 90% -2%, rgba(47, 79, 224, 0.3), transparent 62%),
    radial-gradient(38vw 32vh at -2% 18%, rgba(47, 79, 224, 0.16), transparent 64%),
    radial-gradient(40vw 34vh at 98% 44%, rgba(47, 79, 224, 0.14), transparent 66%),
    radial-gradient(50vw 40vh at 56% 100%, rgba(47, 79, 224, 0.12), transparent 62%);
  filter: blur(20px);
}

html[data-theme='light'] .site-header {
  background: rgba(247, 242, 231, 0.72);
}

html[data-theme='light'] .card,
html[data-theme='light'] .community__item,
html[data-theme='light'] .contact-card,
html[data-theme='light'] .resume-card {
  background-color: rgba(255, 253, 248, 0.82);
  backdrop-filter: blur(10px);
}

/* ============================================================
   Footer
   ============================================================ */
.footer__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 28px;
  padding-bottom: 10px;
  font-size: 13.5px;
  color: var(--muted);
}

.footer__row a {
  transition: color 0.2s;
}

.footer__row a:hover {
  color: var(--text);
}

.footer__sep {
  color: var(--line-strong);
}

/* ============================================================
   About sub-nav
   ============================================================ */
.subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.subnav a {
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--muted);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.subnav a:hover {
  color: var(--text);
  border-color: var(--line-strong);
  background: var(--wash);
}

#my-photo,
#experience,
#skills,
#resume {
  scroll-margin-top: 96px;
}

/* ============================================================
   Career roadmap
   ============================================================ */
.roadmap {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(26px, 4vw, 46px);
  overflow: hidden;
  background: linear-gradient(180deg, color-mix(in srgb, var(--text) 3%, transparent), transparent 62%);
}

.roadmap__glow {
  position: absolute;
  inset: -30%;
  pointer-events: none;
  opacity: 0.72;
  background: radial-gradient(30% 40% at 46% 30%, rgba(59, 98, 255, 0.4), transparent 70%),
    radial-gradient(28% 36% at 44% 76%, rgba(124, 149, 255, 0.24), transparent 70%),
    radial-gradient(24% 30% at 80% 60%, rgba(59, 98, 255, 0.22), transparent 72%);
  filter: blur(42px);
}

html[data-theme='light'] .roadmap__glow {
  opacity: 0.55;
  background: radial-gradient(30% 40% at 46% 28%, rgba(47, 79, 224, 0.3), transparent 70%),
    radial-gradient(28% 36% at 44% 78%, rgba(47, 79, 224, 0.2), transparent 70%),
    radial-gradient(24% 30% at 80% 58%, rgba(47, 79, 224, 0.16), transparent 72%);
}

.roadmap__rail {
  position: relative;
  margin-top: 22px;
}

.roadmap__track {
  position: absolute;
  left: 10%;
  right: 10%;
  top: 54px;
  height: 2px;
  z-index: 0;
  background: linear-gradient(
    90deg,
    transparent,
    color-mix(in srgb, var(--text) 45%, transparent) 6%,
    color-mix(in srgb, var(--text) 45%, transparent) 94%,
    transparent
  );
}

.roadmap__nodes {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.node {
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  justify-items: center;
  text-align: center;
}

.node__year {
  height: 26px;
  display: flex;
  align-items: flex-end;
  font-size: clamp(1rem, 1.7vw, 1.45rem);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1;
  white-space: nowrap;
}

.node__dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  margin-top: 16px;
  background: var(--text);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--text) 8%, transparent);
  z-index: 2;
}

.node.is-current .node__dot {
  background: var(--blue);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--blue) 24%, transparent);
}

.node__stem {
  width: 0;
  height: 64px;
  margin-top: 8px;
  border-left: 2px dotted color-mix(in srgb, var(--text) 34%, transparent);
}

.node__pill {
  display: grid;
  gap: 4px;
  align-content: start;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  min-width: 150px;
  background: color-mix(in srgb, var(--bg) 55%, transparent);
  backdrop-filter: blur(8px);
  max-width: 190px;
}

.node__pill b {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.45;
}

.node__pill i {
  font-style: normal;
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.4;
}

/* ============================================================
   Resume card
   ============================================================ */
.resume-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(26px, 3.4vw, 38px);
  background: linear-gradient(
      120deg,
      color-mix(in srgb, var(--blue) 12%, transparent),
      transparent 58%
    ),
    var(--surface);
  overflow: hidden;
}

.resume-card .eyebrow {
  margin-bottom: 12px;
}

@media (max-width: 820px) {
  .resume-card {
    grid-template-columns: 1fr;
  }

  .resume-card .btn {
    width: 100%;
  }

  .roadmap {
    padding: 18px 14px 20px;
    border-radius: 18px;
  }

  .roadmap__rail {
    margin-top: 6px;
  }

  .roadmap__track {
    left: 16.66%;
    right: 16.66%;
    top: 35px;
  }

  .roadmap__nodes {
    gap: 4px;
  }

  .node__year {
    height: 18px;
    font-size: 0.78rem;
    letter-spacing: 0.03em;
  }

  .node__dot {
    width: 13px;
    height: 13px;
    margin-top: 9px;
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--text) 8%, transparent);
  }

  .node.is-current .node__dot {
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 26%, transparent);
  }

  .node__stem {
    height: 30px;
    margin-top: 6px;
    border-left-width: 1.5px;
  }

  .node__pill {
    padding: 8px 6px;
    border-radius: 9px;
    min-width: 0;
    width: 100%;
    max-width: none;
    gap: 2px;
  }

  .node__pill b {
    font-size: 8.5px;
    letter-spacing: 0.04em;
    line-height: 1.5;
  }

  .node__pill i {
    font-size: 8px;
    line-height: 1.45;
  }

  .node__pill em {
    font-size: 7.5px;
    line-height: 1.4;
  }
}

/* roadmap: three milestones, dates in the pills */
.roadmap__nodes {
  grid-template-columns: repeat(3, 1fr);
}

.roadmap__track {
  left: 16.66%;
  right: 16.66%;
}

.node__pill em {
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
  opacity: 0.9;
  font-variant-numeric: tabular-nums;
}

/* footer rights */
.footer__rights {
  text-align: center;
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: var(--muted);
  opacity: 0.75;
  padding-bottom: 26px;
}

.footer__row {
  padding-bottom: 10px;
}

/* ============================================================
   Mobile finishing pass
   Everything tappable clears 44px; nothing needs pinching.
   ============================================================ */
@media (max-width: 760px) {
  .brand {
    min-height: 44px;
  }

  .theme-toggle {
    width: 44px;
    height: 44px;
  }

  .subnav {
    margin-top: 34px;
    padding-top: 22px;
    gap: 10px;
  }

  .subnav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 16px;
    font-size: 13px;
  }

  .about-meta {
    gap: 6px 18px;
  }

  .about-meta a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .contact-email,
  .cred-list li,
  .contact-list a,
  .contact-list div {
    min-height: 44px;
  }

  .contact-email,
  .contact-list a {
    display: inline-flex;
    align-items: center;
  }

  .footer__row {
    flex-wrap: wrap;
    gap: 6px 10px;
    padding-bottom: 16px;
  }

  .footer__row a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .footer__rights {
    padding-bottom: 30px;
  }

  /* breadcrumb link keeps the eyebrow rhythm but not the tiny hit area */
  .eyebrow a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin: -12px 0;
  }

}

/* ============================================================
   Palettes — chosen in the admin panel
   ============================================================ */
html[data-palette='midnight'] {
  --bg: #060a16;
  --bg-2: #0a1020;
  --surface: #0f1730;
  --surface-2: #131d3a;
  --text: #eef2ff;
  --text-soft: #c2cbe6;
  --muted: #8a97b8;
  --line: rgba(238, 242, 255, 0.13);
  --line-strong: rgba(238, 242, 255, 0.28);
  --line-soft: rgba(238, 242, 255, 0.1);
  --line-faint: rgba(238, 242, 255, 0.07);
  --wash: rgba(238, 242, 255, 0.06);
  --header-bg: rgba(6, 10, 22, 0.72);
  --header-bg-solid: rgba(6, 10, 22, 0.94);
  --grid-line: rgba(238, 242, 255, 0.05);
}

html[data-palette='espresso'] {
  --bg: #0c0906;
  --bg-2: #120e0a;
  --surface: #191310;
  --surface-2: #201812;
  --text: #f4ece1;
  --text-soft: #cbbead;
  --muted: #9c8f7f;
  --line: rgba(244, 236, 225, 0.13);
  --line-strong: rgba(244, 236, 225, 0.28);
  --line-soft: rgba(244, 236, 225, 0.1);
  --line-faint: rgba(244, 236, 225, 0.07);
  --wash: rgba(244, 236, 225, 0.06);
  --header-bg: rgba(12, 9, 6, 0.72);
  --header-bg-solid: rgba(12, 9, 6, 0.94);
  --grid-line: rgba(244, 236, 225, 0.05);
}

html[data-palette='graphite'] {
  --bg: #0d0e10;
  --bg-2: #121316;
  --surface: #17181c;
  --surface-2: #1d1f24;
  --text: #f2f2f0;
  --text-soft: #c3c4c0;
  --muted: #8d8f92;
  --line: rgba(242, 242, 240, 0.13);
  --line-strong: rgba(242, 242, 240, 0.28);
  --line-soft: rgba(242, 242, 240, 0.1);
  --line-faint: rgba(242, 242, 240, 0.07);
  --wash: rgba(242, 242, 240, 0.06);
  --header-bg: rgba(13, 14, 16, 0.72);
  --header-bg-solid: rgba(13, 14, 16, 0.94);
  --grid-line: rgba(242, 242, 240, 0.05);
}

html[data-theme='light'][data-palette='midnight'] {
  --bg: #eef2fb;
  --bg-2: #e4ebf8;
  --surface: #ffffff;
  --surface-2: #f1f5fd;
  --text: #0e1730;
  --text-soft: #39435c;
  --muted: #626d85;
  --line: rgba(14, 23, 48, 0.15);
  --line-strong: rgba(14, 23, 48, 0.32);
  --line-soft: rgba(14, 23, 48, 0.1);
  --line-faint: rgba(14, 23, 48, 0.07);
  --wash: rgba(14, 23, 48, 0.05);
}

html[data-theme='light'][data-palette='espresso'] {
  --bg: #f6efe4;
  --bg-2: #efe4d3;
  --surface: #fffaf2;
  --surface-2: #f4ebdd;
  --text: #1a140e;
  --text-soft: #463c31;
  --muted: #6f6455;
  --line: rgba(26, 20, 14, 0.15);
  --line-strong: rgba(26, 20, 14, 0.32);
  --line-soft: rgba(26, 20, 14, 0.1);
  --line-faint: rgba(26, 20, 14, 0.07);
  --wash: rgba(26, 20, 14, 0.05);
}

html[data-theme='light'][data-palette='graphite'] {
  --bg: #f2f2f0;
  --bg-2: #e9e9e6;
  --surface: #fdfdfc;
  --surface-2: #f0f0ed;
  --text: #121316;
  --text-soft: #3d3f42;
  --muted: #66696d;
  --line: rgba(18, 19, 22, 0.15);
  --line-strong: rgba(18, 19, 22, 0.32);
  --line-soft: rgba(18, 19, 22, 0.1);
  --line-faint: rgba(18, 19, 22, 0.07);
  --wash: rgba(18, 19, 22, 0.05);
}

/* ============================================================
   Type pairings — chosen in the admin panel
   ============================================================ */
html[data-fonts='editorial'] {
  --display: 'Fraunces', 'Instrument Serif', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html[data-fonts='modern'] {
  --display: 'Space Grotesk', 'Inter', sans-serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html[data-fonts='clean'] {
  --display: 'Manrope', 'Inter', sans-serif;
  --sans: 'Manrope', 'Inter', sans-serif;
}

/* ============================================================
   Post media — gallery and video
   ============================================================ */
.post-media {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.media-grid {
  display: grid;
  gap: 12px;
}

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

.media-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.media-item a { display: block; overflow: hidden; }

.media-item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.media-grid--1 .media-item img { aspect-ratio: 16 / 10; }
.media-grid--2 .media-item:first-child img { aspect-ratio: 4 / 3; }
.media-item a:hover img { transform: scale(1.025); }

.media-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 26px 16px 14px;
  font-size: 12.5px;
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
  pointer-events: none;
}

.media-video {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
}

.media-video iframe,
.media-video video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
}

@media (max-width: 760px) {
  .media-grid--2,
  .media-grid--3 { grid-template-columns: minmax(0, 1fr); }
  .media-item img { aspect-ratio: 16 / 10; }
}
