:root {
  color-scheme: dark;
  --color-bg-default: #0a0a0a;
  --color-bg-subtle: #1a1a1a;
  --color-bg-muted: #272727;
  --color-bg-accent-subtle: #272727;
  --color-text-default: #ffffff;
  --color-text-subtle: #a3a3a3;
  --color-border-subtle: #272727;
  --color-border-accent: #ffffff;
  --color-feedback-success: #22c55e;
  --color-availability-dot: var(--color-feedback-success);
  --color-bg-accent: #ffffff;
  --theme-asset-filter: none;
  --space-2: 8px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-32: 128px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-xl: 16px;
  --font-body: "Geist", Arial, sans-serif;
  --font-mono: "Geist Mono", "SFMono-Regular", Consolas, monospace;
  --container: 1136px;
  --page-pad: 24px;
}

:root[data-theme="mono-light"] {
  color-scheme: light;
  --color-bg-default: #ffffff;
  --color-bg-subtle: #f3f3f3;
  --color-bg-muted: #e8e8e8;
  --color-bg-accent-subtle: #e8e8e8;
  --color-bg-accent: #1a1a1a;
  --color-text-default: #1a1a1a;
  --color-text-subtle: #535353;
  --color-border-subtle: #dddddd;
  --color-border-accent: #1a1a1a;
  --theme-asset-filter: invert(1);
}

:root[data-theme]:not([data-theme="dark"]):not([data-theme="mono-light"]) {
  --color-availability-dot: var(--color-text-subtle);
}

:root[data-theme="light"],
:root[data-theme="pepa-light"] {
  color-scheme: light;
  --color-bg-default: #e2f3eb;
  --color-bg-subtle: #c9e8db;
  --color-bg-muted: #a6d9c6;
  --color-bg-accent-subtle: #a6d9c6;
  --color-bg-accent: #1b5044;
  --color-text-default: #1b5044;
  --color-text-subtle: #2f9378;
  --color-border-subtle: #c9e8db;
  --color-border-accent: #1b5044;
  --theme-asset-filter: brightness(0) saturate(100%) invert(24%) sepia(34%) saturate(844%) hue-rotate(120deg) brightness(94%) contrast(91%);
}

:root[data-theme="moss"],
:root[data-theme="pepa-dark"] {
  color-scheme: dark;
  --color-bg-default: #10322b;
  --color-bg-subtle: #1b5044;
  --color-bg-muted: #226252;
  --color-bg-accent-subtle: #226252;
  --color-bg-accent: #f4fbf8;
  --color-text-default: #f4fbf8;
  --color-text-subtle: #7bc1aa;
  --color-border-subtle: #226252;
  --color-border-accent: #f4fbf8;
  --theme-asset-filter: none;
}

:root[data-theme="copper-light"] {
  color-scheme: light;
  --color-bg-default: #f4eee1;
  --color-bg-subtle: #eddfca;
  --color-bg-muted: #e1c8a7;
  --color-bg-accent-subtle: #e1c8a7;
  --color-bg-accent: #643a2f;
  --color-text-default: #643a2f;
  --color-text-subtle: #b66f3f;
  --color-border-subtle: #eddfca;
  --color-border-accent: #643a2f;
  --theme-asset-filter: brightness(0) saturate(100%) invert(22%) sepia(22%) saturate(1450%) hue-rotate(329deg) brightness(93%) contrast(84%);
}

:root[data-theme="copper-dark"] {
  color-scheme: dark;
  --color-bg-default: #41211b;
  --color-bg-subtle: #643a2f;
  --color-bg-muted: #794634;
  --color-bg-accent-subtle: #794634;
  --color-bg-accent: #faf7f0;
  --color-text-default: #faf7f0;
  --color-text-subtle: #d2aa7f;
  --color-border-subtle: #794634;
  --color-border-accent: #faf7f0;
  --theme-asset-filter: none;
}

:root[data-theme="well-read-light"] {
  color-scheme: light;
  --color-bg-default: #faecea;
  --color-bg-subtle: #f4dad7;
  --color-bg-muted: #edbfba;
  --color-bg-accent-subtle: #edbfba;
  --color-bg-accent: #732b31;
  --color-text-default: #732b31;
  --color-text-subtle: #c55e5e;
  --color-border-subtle: #f4dad7;
  --color-border-accent: #732b31;
  --theme-asset-filter: brightness(0) saturate(100%) invert(20%) sepia(21%) saturate(2061%) hue-rotate(305deg) brightness(94%) contrast(95%);
}

:root[data-theme="well-read-dark"] {
  color-scheme: dark;
  --color-bg-default: #4a171a;
  --color-bg-subtle: #732b31;
  --color-bg-muted: #8f3238;
  --color-bg-accent-subtle: #8f3238;
  --color-bg-accent: #fdf8f7;
  --color-text-default: #fdf8f7;
  --color-text-subtle: #e4a09b;
  --color-border-subtle: #8f3238;
  --color-border-accent: #fdf8f7;
  --theme-asset-filter: none;
}

:root[data-theme="ink"],
:root[data-theme="emerald-light"] {
  color-scheme: light;
  --color-bg-default: #e1f3f4;
  --color-bg-subtle: #c7e6ea;
  --color-bg-muted: #a2d4dc;
  --color-bg-accent-subtle: #a2d4dc;
  --color-bg-accent: #2b4954;
  --color-text-default: #2b4954;
  --color-text-subtle: #42a4b8;
  --color-border-subtle: #c7e6ea;
  --color-border-accent: #2b4954;
  --theme-asset-filter: brightness(0) saturate(100%) invert(26%) sepia(15%) saturate(1031%) hue-rotate(151deg) brightness(93%) contrast(86%);
}

:root[data-theme="emerald-dark"] {
  color-scheme: dark;
  --color-bg-default: #172c35;
  --color-bg-subtle: #2b4954;
  --color-bg-muted: #325a67;
  --color-bg-accent-subtle: #325a67;
  --color-bg-accent: #f0f9fa;
  --color-text-default: #f0f9fa;
  --color-text-subtle: #75bbc8;
  --color-border-subtle: #325a67;
  --color-border-accent: #f0f9fa;
  --theme-asset-filter: none;
}

:root[data-theme="plum-light"] {
  color-scheme: light;
  --color-bg-default: #f3eaf8;
  --color-bg-subtle: #e8d7f0;
  --color-bg-muted: #d9c0e7;
  --color-bg-accent-subtle: #d9c0e7;
  --color-bg-accent: #51345f;
  --color-text-default: #51345f;
  --color-text-subtle: #8b5aa1;
  --color-border-subtle: #e8d7f0;
  --color-border-accent: #51345f;
  --theme-asset-filter: brightness(0) saturate(100%) invert(24%) sepia(17%) saturate(1445%) hue-rotate(240deg) brightness(91%) contrast(88%);
}

:root[data-theme="plum-dark"] {
  color-scheme: dark;
  --color-bg-default: #2f1f38;
  --color-bg-subtle: #51345f;
  --color-bg-muted: #60416f;
  --color-bg-accent-subtle: #60416f;
  --color-bg-accent: #fbf6ff;
  --color-text-default: #fbf6ff;
  --color-text-subtle: #d1a9e0;
  --color-border-subtle: #60416f;
  --color-border-accent: #fbf6ff;
  --theme-asset-filter: none;
}

:root[data-theme="ultramarine-light"] {
  color-scheme: light;
  --color-bg-default: #e8edf9;
  --color-bg-subtle: #d8e1f6;
  --color-bg-muted: #c7d4f2;
  --color-bg-accent-subtle: #c7d4f2;
  --color-bg-accent: #273d70;
  --color-text-default: #273d70;
  --color-text-subtle: #526cac;
  --color-border-subtle: #d8e1f6;
  --color-border-accent: #273d70;
  --theme-asset-filter: brightness(0) saturate(100%) invert(22%) sepia(48%) saturate(887%) hue-rotate(187deg) brightness(92%) contrast(91%);
}

:root[data-theme="ultramarine-dark"] {
  color-scheme: dark;
  --color-bg-default: #14213d;
  --color-bg-subtle: #273d70;
  --color-bg-muted: #2a3f70;
  --color-bg-accent-subtle: #2a3f70;
  --color-bg-accent: #f5f8ff;
  --color-text-default: #f5f8ff;
  --color-text-subtle: #9db2ee;
  --color-border-subtle: #2a3f70;
  --color-border-accent: #f5f8ff;
  --theme-asset-filter: none;
}

:root[data-theme="olive-light"] {
  color-scheme: light;
  --color-bg-default: #eef1dc;
  --color-bg-subtle: #e3e8c9;
  --color-bg-muted: #d7ddb5;
  --color-bg-accent-subtle: #d7ddb5;
  --color-bg-accent: #465224;
  --color-text-default: #465224;
  --color-text-subtle: #77863f;
  --color-border-subtle: #e3e8c9;
  --color-border-accent: #465224;
  --theme-asset-filter: brightness(0) saturate(100%) invert(28%) sepia(25%) saturate(906%) hue-rotate(31deg) brightness(93%) contrast(88%);
}

:root[data-theme="olive-dark"] {
  color-scheme: dark;
  --color-bg-default: #283018;
  --color-bg-subtle: #465224;
  --color-bg-muted: #4b5a29;
  --color-bg-accent-subtle: #4b5a29;
  --color-bg-accent: #fbfde9;
  --color-text-default: #fbfde9;
  --color-text-subtle: #c9d58a;
  --color-border-subtle: #4b5a29;
  --color-border-accent: #fbfde9;
  --theme-asset-filter: none;
}

:root[data-theme="rosewood-light"] {
  color-scheme: light;
  --color-bg-default: #f7e9ef;
  --color-bg-subtle: #f1d9e3;
  --color-bg-muted: #ecc9d7;
  --color-bg-accent-subtle: #ecc9d7;
  --color-bg-accent: #653042;
  --color-text-default: #653042;
  --color-text-subtle: #a75c78;
  --color-border-subtle: #f1d9e3;
  --color-border-accent: #653042;
  --theme-asset-filter: brightness(0) saturate(100%) invert(22%) sepia(21%) saturate(1663%) hue-rotate(291deg) brightness(94%) contrast(87%);
}

:root[data-theme="rosewood-dark"] {
  color-scheme: dark;
  --color-bg-default: #3d1b28;
  --color-bg-subtle: #653042;
  --color-bg-muted: #71334a;
  --color-bg-accent-subtle: #71334a;
  --color-bg-accent: #fff7fa;
  --color-text-default: #fff7fa;
  --color-text-subtle: #e3a5bb;
  --color-border-subtle: #71334a;
  --color-border-accent: #fff7fa;
  --theme-asset-filter: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg-default);
  color: var(--color-text-default);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.61;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

button,
a {
  color: inherit;
}

button {
  font: inherit;
}

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

[data-reveal] {
  clip-path: inset(0 0 100% 0);
  opacity: 0;
  transform: translateY(36px);
  transition:
    clip-path var(--reveal-duration, 1060ms) cubic-bezier(0.22, 1, 0.36, 1),
    opacity var(--reveal-opacity-duration, 720ms) ease,
    transform var(--reveal-duration, 1060ms) cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-runtime-delay, var(--reveal-delay, 0ms));
  will-change: clip-path, opacity, transform;
}

[data-reveal].is-revealed {
  clip-path: inset(0 0 0 0);
  opacity: 1;
  transform: translateY(0);
}

.hero [data-reveal],
.intro-meta [data-reveal],
.logo-item[data-reveal],
.site-header [data-reveal] {
  --reveal-duration: 900ms;
  --reveal-opacity-duration: 620ms;
}

.container {
  width: min(var(--container), calc(100% - (var(--page-pad) * 2)));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: 80px;
  background: color-mix(in srgb, var(--color-bg-default) 88%, transparent);
  backdrop-filter: blur(18px);
}

.site-header::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--color-border-subtle);
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: left center;
  animation: header-rule-draw 1280ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.header-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: 38px;
  height: 20px;
  color: var(--color-text-default);
  text-decoration: none;
}

.brand-mark img {
  width: 38px;
  height: 20px;
  filter: var(--theme-asset-filter);
}

.nav-links,
.header-actions,
.intro-meta,
.contact-meta,
.contact-links {
  display: flex;
  align-items: center;
}

.nav-links {
  gap: var(--space-12);
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.35px;
}

.nav-links a,
.contact-links a {
  text-decoration: none;
}

.nav-links a:hover,
.contact-links a:hover,
.availability-popover a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.header-actions {
  flex: 0 0 auto;
  justify-content: flex-end;
  gap: var(--space-6);
}

.availability-menu {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

.availability-pill,
.icon-button {
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: var(--color-bg-subtle);
  color: var(--color-text-default);
}

.availability-pill {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 4px 12px;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.35px;
  white-space: nowrap;
}

.availability-menu .availability-pill {
  cursor: default;
  transition: background-color 180ms ease;
}

.availability-menu .availability-pill[data-reveal] {
  transition:
    background-color 180ms ease,
    clip-path var(--reveal-duration, 900ms) cubic-bezier(0.22, 1, 0.36, 1),
    opacity var(--reveal-opacity-duration, 620ms) ease,
    transform var(--reveal-duration, 900ms) cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay:
    0ms,
    var(--reveal-runtime-delay, var(--reveal-delay, 0ms)),
    var(--reveal-runtime-delay, var(--reveal-delay, 0ms)),
    var(--reveal-runtime-delay, var(--reveal-delay, 0ms));
}

.availability-menu .availability-pill:focus-visible {
  outline: 1px solid var(--color-border-accent);
  outline-offset: 2px;
}

.availability-menu:hover .availability-pill,
.availability-menu:focus-within .availability-pill {
  background: var(--color-bg-accent-subtle);
}

.availability-pill span {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--color-availability-dot);
}

.availability-pill span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: var(--color-availability-dot);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(1);
  animation: availability-pulse 2.2s ease-out infinite;
}

.availability-popover {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 20;
  display: flex;
  gap: var(--space-2);
  align-items: flex-start;
  padding: 12px;
  border-radius: var(--radius-md);
  background: var(--color-bg-subtle);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  visibility: hidden;
  transition:
    opacity 180ms ease,
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0ms linear 180ms;
}

.availability-popover::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 100%;
  width: 100%;
  height: 8px;
}

.availability-menu:hover .availability-popover,
.availability-menu:focus-within .availability-popover {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
  transition-delay: 0ms;
}

.availability-popover a {
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  background: var(--color-bg-muted);
  color: var(--color-text-default);
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.35px;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  padding: 0;
  cursor: pointer;
}

.icon-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-menu {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
}

.theme-popover {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  min-width: 0;
  max-height: none;
  overflow: visible;
  padding: 12px;
  border-radius: var(--radius-md);
  background: var(--color-bg-subtle);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  visibility: hidden;
  transition:
    opacity 180ms ease,
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0ms linear 180ms;
}

.theme-popover::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 100%;
  width: 100%;
  height: 8px;
}

.theme-menu:hover .theme-popover,
.theme-menu:focus-within .theme-popover,
.theme-menu.is-open .theme-popover {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
  transition-delay: 0ms;
}

.theme-menu:hover .theme-toggle,
.theme-menu:focus-within .theme-toggle,
.theme-menu.is-open .theme-toggle {
  background: var(--color-bg-accent-subtle);
}

.theme-mode {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 4px 8px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--color-bg-muted);
  color: var(--color-text-default);
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.35px;
  cursor: pointer;
}

.theme-mode:hover,
.theme-mode[aria-pressed="true"] {
  border-color: var(--color-border-accent);
}

.theme-divider {
  align-self: stretch;
  width: 1px;
  min-height: 28px;
  background: var(--color-border-subtle);
}

.theme-dots {
  position: relative;
  display: flex;
  align-items: center;
  align-self: stretch;
  gap: 8px;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  background: var(--color-bg-muted);
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.theme-dots::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 28px;
  height: 18px;
  border-radius: 999px;
  background: var(--color-bg-accent-subtle);
  opacity: 0;
  pointer-events: none;
  transform: translate(calc(var(--theme-drag-x, 0px) - 14px), -50%) scale(0.82);
  transition:
    opacity 180ms ease,
    transform 260ms cubic-bezier(0.22, 1.35, 0.36, 1);
}

.theme-dots.is-dragging {
  cursor: grabbing;
}

.theme-dots.is-dragging::before {
  opacity: 1;
  transform: translate(calc(var(--theme-drag-x, 0px) - 14px), -50%) scale(1);
}

.theme-dot {
  position: relative;
  z-index: 1;
  width: var(--theme-dot-size, 4px);
  height: var(--theme-dot-size, 4px);
  flex: 0 0 var(--theme-dot-size, 4px);
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--dot-light, var(--color-text-subtle));
  cursor: pointer;
  transform: translateY(var(--theme-dot-y, 0px)) scale(var(--theme-dot-scale, 1));
  transform-origin: center;
  transition:
    width 260ms cubic-bezier(0.22, 1.35, 0.36, 1),
    height 260ms cubic-bezier(0.22, 1.35, 0.36, 1),
    flex-basis 260ms cubic-bezier(0.22, 1.35, 0.36, 1),
    transform 260ms cubic-bezier(0.22, 1.35, 0.36, 1),
    background-color 180ms ease;
}

.theme-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid transparent;
  border-radius: inherit;
  pointer-events: none;
  transition: border-color 160ms ease;
}

:root[data-theme-mode="dark"] .theme-dot {
  background: var(--dot-dark, var(--color-text-subtle));
}

.theme-dot[aria-checked="true"]::after {
  border-color: var(--color-border-accent);
}

.theme-dot[aria-checked="true"] {
  --theme-dot-size: 7px;
}

.theme-dots.is-dragging .theme-dot[aria-checked="true"] {
  --theme-dot-size: 8px;
}

.theme-dot[data-theme-family="mono"] {
  --dot-light: #1a1a1a;
  --dot-dark: #ffffff;
}

.theme-dot[data-theme-family="pepa"] {
  --dot-light: #1b5044;
  --dot-dark: #7bc1aa;
}

.theme-dot[data-theme-family="copper"] {
  --dot-light: #643a2f;
  --dot-dark: #d2aa7f;
}

.theme-dot[data-theme-family="well-read"] {
  --dot-light: #732b31;
  --dot-dark: #e4a09b;
}

.theme-dot[data-theme-family="emerald"] {
  --dot-light: #2b4954;
  --dot-dark: #75bbc8;
}

.theme-dot[data-theme-family="plum"] {
  --dot-light: #51345f;
  --dot-dark: #c8a5d8;
}

.theme-dot[data-theme-family="ultramarine"] {
  --dot-light: #273d70;
  --dot-dark: #9baee0;
}

.theme-dot[data-theme-family="olive"] {
  --dot-light: #465224;
  --dot-dark: #bcc77d;
}

.theme-dot[data-theme-family="rosewood"] {
  --dot-light: #653042;
  --dot-dark: #dda0b8;
}

.hero {
  padding-top: var(--space-32);
}

.hero-heading {
  display: grid;
  grid-template-columns: 232px 1fr;
  gap: var(--space-8);
  align-items: start;
}

.eyebrow,
.intro-meta,
.meta-list,
.role-card h3,
.journey-date,
.muted,
.contact-meta,
.contact-links {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.35px;
}

.eyebrow {
  margin: 7px 0 0;
  white-space: nowrap;
}

h1,
.hero-statement {
  margin: 0;
  font-size: 96px;
  font-weight: 500;
  line-height: 96px;
  letter-spacing: 0;
  min-width: 0;
  overflow-wrap: break-word;
}

h1 span,
.hero-statement span {
  display: block;
}

h1 {
  max-width: 848px;
}

.hero-content {
  display: grid;
  grid-template-columns: 464px 1fr;
  gap: var(--space-8);
  align-items: end;
  margin-top: var(--space-2);
}

.profile-card {
  position: relative;
  width: 464px;
  height: 360px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--color-bg-subtle);
}

.profile-card img {
  width: 100%;
  height: 129%;
  object-fit: cover;
  object-position: center 18%;
}

.profile-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-bg-accent);
  mix-blend-mode: hue;
  opacity: 0;
  pointer-events: none;
}

:root[data-theme]:not([data-theme="dark"]):not([data-theme="mono-light"]) .profile-card::after {
  opacity: 1;
}

.hero-statement {
  max-width: 632px;
}

.hero-title-dot {
  display: inline-block;
  font-style: normal;
  animation: hero-dot-blink 1.1s steps(1, end) infinite;
}

.intro-meta {
  gap: var(--space-5);
  margin-top: var(--space-20);
  color: var(--color-text-default);
}

.intro-meta span {
  display: inline-flex;
  align-items: center;
  gap: var(--space-5);
}

.intro-meta span + span::before,
.contact-meta span + span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--color-text-default);
}

.logo-slider {
  position: relative;
  margin-top: var(--space-20);
  overflow: hidden;
  padding: var(--space-4) 0;
}

.logo-slider[data-reveal] {
  clip-path: none;
  opacity: 1;
  transform: none;
}

.logo-slider::before,
.logo-slider::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--color-border-subtle);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.logo-slider::before {
  top: 0;
}

.logo-slider::after {
  bottom: 0;
}

.logo-slider[data-reveal].is-revealed::before,
.logo-slider[data-reveal].is-revealed::after {
  transform: scaleX(1);
}

.logo-track {
  display: flex;
  width: max-content;
  align-items: flex-start;
  gap: 34px;
  animation: logo-marquee 42s linear infinite;
}

.logo-slider:hover .logo-track {
  animation-play-state: paused;
}

.logo-item {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  height: 56px;
}

.logo-item img {
  width: var(--logo-w);
  height: var(--logo-h);
  max-width: none;
  object-fit: contain;
  filter: var(--theme-asset-filter);
}

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

@keyframes availability-pulse {
  0% {
    opacity: 0.28;
    transform: translate(-50%, -50%) scale(1);
  }

  78%,
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(3.6);
  }
}

@keyframes header-rule-draw {
  to {
    transform: scaleX(1);
  }
}

@keyframes hero-dot-blink {
  0%,
  52% {
    opacity: 1;
  }

  53%,
  100% {
    opacity: 0;
  }
}

.section-rule {
  width: 100%;
  height: 1px;
  margin-top: var(--space-32);
  background: var(--color-border-subtle);
}

.section-rule[data-reveal] {
  clip-path: none;
  opacity: 1;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.section-rule[data-reveal].is-revealed {
  transform: scaleX(1);
}

.section {
  padding-top: var(--space-32);
  scroll-margin-top: 96px;
}

.section-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--color-text-default);
  padding: 0;
  cursor: pointer;
  text-align: left;
}

.section-toggle span,
.contact-card h2 {
  font-size: 56px;
  font-weight: 500;
  line-height: 68px;
  letter-spacing: 0;
}

.section-toggle svg {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.section-toggle[aria-expanded="false"] svg {
  transform: rotate(180deg);
}

.section-content {
  margin-top: var(--space-16);
  overflow: hidden;
  transition:
    height 420ms cubic-bezier(0.22, 1, 0.36, 1),
    margin-top 420ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 260ms ease,
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: height, margin-top, opacity, transform;
}

.section-content[hidden] {
  display: none;
}

.project-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.project {
  display: grid;
  grid-template-columns: 464px 560px;
  justify-content: space-between;
  gap: var(--space-16);
  padding-bottom: var(--space-16);
  border-bottom: 1px solid var(--color-border-subtle);
}

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

.project-copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  min-width: 0;
}

.project h3 {
  margin: 0;
  font-size: 28px;
  font-weight: 500;
  line-height: 42px;
  letter-spacing: 0;
}

.project p,
.section-lede,
.journey-copy p,
.contact-card > p {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 29px;
  letter-spacing: 0;
}

.meta-list {
  display: flex;
  flex-direction: column;
  margin: 0;
  color: var(--color-text-default);
}

.meta-list div {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: var(--space-4);
  padding: 12px 0;
  border-top: 1px solid var(--color-border-subtle);
}

.meta-list dt {
  color: var(--color-text-subtle);
}

.meta-list dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--color-text-default);
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

.project-link:hover {
  text-underline-offset: 3px;
}

.project-link svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.project-media {
  position: relative;
  align-self: stretch;
  min-height: 330px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--color-bg-subtle);
}

.project-media--locked {
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-media--locked svg {
  width: 80px;
  height: 80px;
  fill: none;
  stroke: var(--color-text-default);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

:root[data-theme]:not([data-theme="dark"]):not([data-theme="mono-light"]) .project-media:not(.project-media--locked) img {
  mix-blend-mode: luminosity;
}

.process-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}

.section-lede {
  max-width: 752px;
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

.role-card {
  min-height: 110px;
  padding: var(--space-5);
  border-radius: var(--radius-sm);
  background: var(--color-bg-subtle);
}

.role-card h3,
.role-card p {
  margin: 0;
}

.role-card h3 {
  color: var(--color-text-subtle);
  font-weight: 400;
}

.role-card p {
  margin-top: var(--space-2);
  font-size: 14px;
  line-height: 21px;
}

.journey-list {
  display: flex;
  flex-direction: column;
}

.journey-item {
  display: grid;
  grid-template-columns: 80px 752px;
  justify-content: space-between;
  gap: var(--space-16);
  padding: var(--space-8) 0;
  border-top: 1px solid var(--color-border-subtle);
}

.journey-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.journey-date {
  display: flex;
  min-height: 136px;
  flex-direction: column;
  justify-content: space-between;
  color: var(--color-text-default);
}

.journey-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  background: var(--color-bg-subtle);
  color: var(--color-text-subtle);
}

.journey-logo img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: var(--theme-asset-filter);
}

.journey-copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  min-width: 0;
}

.journey-copy h3 {
  margin: 0 0 var(--space-2);
  font-size: 22px;
  font-weight: 500;
  line-height: 33px;
}

.journey-copy p.muted {
  font-size: 14px;
  line-height: 20px;
}

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

.contact-section {
  padding: var(--space-32) 0;
  scroll-margin-top: 96px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  padding: var(--space-12);
  border-radius: var(--radius-md);
  background: var(--color-bg-subtle);
}

.contact-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.contact-card h2 {
  margin: 0;
}

.contact-card .availability-pill,
.contact-links a {
  background: var(--color-bg-muted);
}

.contact-meta {
  gap: var(--space-5);
}

.contact-meta span {
  display: inline-flex;
  align-items: center;
  gap: var(--space-5);
}

.contact-links {
  flex-wrap: wrap;
  gap: var(--space-2);
}

.contact-links a {
  border-radius: var(--radius-sm);
  padding: 4px 8px;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.calendly-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
  background: color-mix(in srgb, var(--color-bg-default) 72%, transparent);
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.calendly-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.calendly-modal[hidden] {
  display: none;
}

.calendly-modal-panel {
  position: relative;
  width: min(100%, 960px);
  height: min(86vh, 760px);
  overflow: hidden;
  border: 1px solid var(--color-border-subtle);
  border-radius: 12px;
  background: var(--color-bg-subtle);
  transform: translateY(12px) scale(0.98);
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.calendly-modal.is-open .calendly-modal-panel {
  transform: translateY(0) scale(1);
}

.calendly-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: var(--color-bg-muted);
  color: var(--color-text-default);
  cursor: pointer;
}

.calendly-modal-close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.calendly-frame {
  width: 100%;
  height: 100%;
  border: 0;
  background: #ffffff;
}

@media (max-width: 1180px) {
  :root {
    --page-pad: 20px;
  }

  .hero-heading,
  .hero-content,
  .project,
  .journey-item {
    grid-template-columns: 1fr;
  }

  h1,
  .hero-statement {
    max-width: 900px;
    font-size: 72px;
    line-height: 76px;
  }

  .profile-card {
    width: min(464px, 100%);
  }

  .project {
    gap: var(--space-8);
  }

  .project-media {
    min-height: 420px;
  }

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

  .journey-item {
    gap: var(--space-6);
  }

  .journey-date {
    min-height: 0;
    flex-direction: row;
    align-items: center;
  }
}

@media (max-width: 720px) {
  :root {
    --page-pad: 16px;
    --space-32: 96px;
  }

  .site-header {
    height: 80px;
  }

  .nav-links {
    display: none;
  }

  .availability-pill {
    font-size: 13px;
    line-height: 18px;
    letter-spacing: 0.33px;
  }

  .header-actions {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    transform: none;
    gap: var(--space-6);
  }

  .availability-popover {
    position: fixed;
    top: 68px;
    right: var(--page-pad);
    left: var(--page-pad);
    width: auto;
    max-width: none;
    gap: 12px 8px;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    justify-content: flex-start;
  }

  .availability-popover a {
    max-width: 100%;
    overflow-wrap: normal;
    white-space: nowrap;
  }

  .theme-popover {
    position: fixed;
    top: 68px;
    right: var(--page-pad);
    max-width: calc(100vw - (var(--page-pad) * 2));
  }

  .theme-dots {
    overflow: visible;
  }

  .hero {
    padding-top: var(--space-16);
  }

  .hero-heading {
    gap: 12px;
  }

  .eyebrow,
  .intro-meta,
  .meta-list,
  .role-card h3,
  .journey-date,
  .muted,
  .contact-meta,
  .contact-links {
    font-size: 13px;
    line-height: 18px;
    letter-spacing: 0.33px;
  }

  .eyebrow {
    margin-top: 0;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-6);
    margin-top: 0;
  }

  .hero-statement {
    order: -1;
  }

  h1,
  .hero-statement {
    max-width: 100%;
    font-size: 44px;
    line-height: 44px;
  }

  .profile-card {
    width: 100%;
    height: 328px;
  }

  .intro-meta {
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-5);
    margin-top: var(--space-16);
  }

  .intro-meta span + span::before {
    display: block;
  }

  .intro-meta span:nth-child(1) {
    --reveal-runtime-delay: 80ms;
  }

  .intro-meta span:nth-child(2) {
    --reveal-runtime-delay: 140ms;
  }

  .intro-meta span:nth-child(3) {
    --reveal-runtime-delay: 200ms;
  }

  .intro-meta span:nth-child(4) {
    --reveal-runtime-delay: 260ms;
  }

  .logo-item {
    --reveal-runtime-delay: 120ms;
  }

  .section-toggle span,
  .contact-card h2 {
    font-size: 40px;
    line-height: 48px;
  }

  .project h3 {
    font-size: 24px;
    line-height: 34px;
  }

  .project p,
  .section-lede,
  .journey-copy p,
  .contact-card > p {
    font-size: 16px;
    line-height: 25px;
  }

  .project-media {
    min-height: 342px;
  }

  .meta-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .role-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-2);
  }

  .role-card {
    min-height: 144px;
    padding: var(--space-4);
  }

  .journey-item {
    grid-template-columns: 80px minmax(0, 1fr);
    gap: var(--space-4);
    padding: var(--space-8) 0;
  }

  .journey-date {
    min-height: 136px;
    flex-direction: column;
    align-items: flex-start;
  }

  .journey-copy h3 {
    font-size: 18px;
    line-height: 27px;
  }

  .contact-card {
    gap: var(--space-5);
    padding: 40px;
  }

  .contact-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .calendly-modal {
    padding: var(--space-4);
  }

  .calendly-modal-panel {
    height: min(88vh, 760px);
    border-radius: var(--radius-sm);
  }

  .contact-meta {
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-5);
  }

  .contact-meta span + span::before {
    display: block;
  }
}

@media (max-width: 600px) {
  .container {
    width: calc(100% - 32px);
    max-width: none;
    margin-inline: 16px;
  }
}

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

  .logo-track {
    animation: none;
  }

  .availability-pill span::after {
    animation: none;
  }

  .hero-title-dot {
    animation: none;
  }

  .site-header::after {
    animation: none;
    transform: none;
  }

  [data-reveal] {
    clip-path: inset(0 0 0 0);
    opacity: 1;
    transform: none;
    transition: none;
  }

  .section-rule[data-reveal] {
    transform: none;
    transition: none;
  }

  .logo-slider::before,
  .logo-slider::after {
    transform: none;
    transition: none;
  }

  .section-toggle svg,
  .section-content {
    transition: none;
  }
}
