@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@500;600&family=IBM+Plex+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Newsreader:opsz,wght@6..72,500;6..72,600;6..72,700&display=swap');

:root {
  color-scheme: light;
  --bg: #f5f3ed;
  --surface: #ffffff;
  --surface-alt: #e8edf4;
  --surface-strong: #132b3e;
  --surface-hover: #eef3fa;
  --border: #c8ced6;
  --border-strong: #7b8996;
  --border-hover: #1f5eff;
  --text: #12212f;
  --text-secondary: #4d5b68;
  --text-tertiary: #6e7b86;
  --text-on-dark: #f8f7f2;
  --accent: #1f5eff;
  --accent-hover: #1748c9;
  --accent-soft: #dce7ff;
  --accent-warm: #c85b42;
  --accent-warm-soft: #f2ded7;
  --highlight: #e8bb58;
  --success: #2e7d5b;
  --error: #b42318;
  --warning: #9a6700;
  --bg-rgb: 245, 243, 237;
  --surface-rgb: 255, 255, 255;
  --text-rgb: 18, 33, 47;
  --accent-rgb: 31, 94, 255;
  --accent-warm-rgb: 200, 91, 66;
  --font-display: 'Newsreader', Georgia, serif;
  --font-body: 'IBM Plex Sans', Arial, sans-serif;
  --font-label: 'IBM Plex Mono', Consolas, monospace;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;
  --space-32: 8rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

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

p,
h1,
h2,
h3,
h4,
ul,
ol,
figure {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

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

.skip-link {
  position: fixed;
  top: var(--space-4);
  left: var(--space-4);
  z-index: 1000;
  padding: 0.65rem 0.9rem;
  border-radius: 0.35rem;
  background: var(--text);
  color: var(--text-on-dark);
  font-weight: 700;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 1001;
  width: 100%;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}

.container {
  width: min(100% - 3rem, 1240px);
  margin-inline: auto;
}

.narrow {
  width: min(100% - 3rem, 760px);
  margin-inline: auto;
}

.section {
  padding-block: clamp(5.5rem, 10vw, 9rem);
}

.section-tight {
  padding-block: clamp(4rem, 7vw, 6rem);
}

.surface-section {
  background: var(--surface);
}

.dark-section {
  background: var(--surface-strong);
  color: var(--text-on-dark);
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(var(--bg-rgb), 0);
  transition: background-color 220ms ease, border-color 220ms ease,
    box-shadow 220ms ease;
}

.site-nav.is-scrolled,
.site-nav.nav-solid {
  border-bottom-color: var(--border);
  background: rgba(var(--bg-rgb), 0.94);
  box-shadow: 0 1px 0 rgba(var(--text-rgb), 0.04);
  backdrop-filter: blur(12px);
}

.nav-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: var(--space-3);
  font-family: var(--font-label);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-mark {
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  text-transform: none;
}

.brand-mark::after {
  color: var(--accent);
  content: '.';
}

.brand-field {
  color: var(--text-tertiary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2rem);
}

.nav-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  transition: border-color 180ms ease, color 180ms ease;
}

.nav-link:hover,
.nav-link[aria-current='page'] {
  border-bottom-color: var(--accent);
  color: var(--text);
}

.nav-link:active {
  color: var(--accent-hover);
}

.menu-button {
  display: none;
  width: 48px;
  height: 48px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.menu-button:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.menu-icon {
  position: relative;
  width: 20px;
  height: 14px;
}

.menu-icon::before,
.menu-icon::after {
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease, top 180ms ease;
  content: '';
}

.menu-icon::before { top: 2px; }
.menu-icon::after { top: 10px; }

.menu-button[aria-expanded='true'] .menu-icon::before {
  top: 6px;
  transform: rotate(45deg);
}

.menu-button[aria-expanded='true'] .menu-icon::after {
  top: 6px;
  transform: rotate(-45deg);
}

.eyebrow,
.section-label,
.card-index,
.meta-label {
  margin-bottom: var(--space-6);
  color: var(--text-tertiary);
  font-family: var(--font-label);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.eyebrow::before {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  content: '';
}

.dark-section .section-label,
.dark-section .eyebrow,
.dark-section .meta-label {
  color: var(--border);
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(20rem, 5fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
  padding-block: clamp(4rem, 8vw, 8rem);
}

.hero-title,
.page-title {
  margin-bottom: var(--space-8);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.88;
}

.hero-title {
  max-width: 12ch;
  font-size: clamp(4rem, 8vw, 7.75rem);
}

.page-title {
  max-width: 15ch;
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  letter-spacing: -0.045em;
  line-height: 0.92;
}

.hero-emphasis {
  display: inline-block;
  color: var(--accent);
  font-style: italic;
}

.hero-emphasis::after {
  display: block;
  width: 0;
  height: 0.08em;
  margin-top: 0.02em;
  background: var(--highlight);
  transition: width 560ms cubic-bezier(0.16, 1, 0.3, 1) 520ms;
  content: '';
}

.has-js.is-ready .hero-emphasis::after {
  width: 100%;
}

.hero-word {
  display: inline-block;
}

.has-js .hero-word {
  opacity: 0;
  transform: translateY(0.75em);
  transition: opacity 620ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 620ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--word-index) * 70ms);
}

.has-js.is-ready .hero-word {
  opacity: 1;
  transform: translateY(0);
}

.hero-lead,
.page-lead {
  max-width: 66ch;
  color: var(--text-secondary);
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  line-height: 1.6;
}

.hero-lead {
  margin-bottom: var(--space-8);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.25rem;
  border: 1px solid var(--text);
  border-radius: 999px;
  background: var(--text);
  color: var(--text-on-dark);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease,
    border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.button svg,
.text-link svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
}

.button:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 8px 24px rgba(var(--accent-rgb), 0.18);
}

.button:active {
  transform: translateY(0) scale(0.98);
  box-shadow: none;
}

.button[disabled],
.button[aria-disabled='true'] {
  opacity: 0.48;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.button-secondary {
  border-color: var(--border-strong);
  background: transparent;
  color: var(--text);
}

.button-secondary:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-hover);
}

.dark-section .button-secondary {
  border-color: var(--border);
  color: var(--text-on-dark);
}

.dark-section .button-secondary:hover {
  border-color: var(--text-on-dark);
  background: var(--text-on-dark);
  color: var(--surface-strong);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--accent-hover);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(var(--accent-rgb), 0.42);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.28em;
  transition: color 180ms ease, text-decoration-color 180ms ease,
    text-decoration-thickness 180ms ease;
}

.text-link:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
}

.text-link:active {
  color: var(--accent-warm);
}

.hero-portrait {
  position: relative;
  width: 100%;
  max-width: 30rem;
  margin: 0;
  margin-inline: auto;
}

.portrait-frame {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  background: var(--surface-alt);
  box-shadow: 0 18px 44px rgba(var(--text-rgb), 0.1);
}

.portrait-frame::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(var(--text-rgb), 0.18);
  border-radius: inherit;
  pointer-events: none;
  content: '';
}

.portrait-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
  object-fit: contain;
  filter: saturate(0.9) contrast(1.035);
}

.portrait-caption {
  width: min(100%, 30rem);
  margin: var(--space-4) 0 0;
  padding-left: var(--space-4);
  border-left: 2px solid var(--highlight);
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.45;
}

.emphasis-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
}

.emphasis-item {
  min-height: 11rem;
  padding: var(--space-8);
  border-right: 1px solid var(--border);
  transition: background-color 220ms ease;
}

.emphasis-item:last-child {
  border-right: 0;
}

.emphasis-item:hover,
.emphasis-item:focus-within {
  background: var(--accent-soft);
}

.journey-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.journey-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
}

.journey-heading .section-title {
  max-width: 10ch;
  margin-bottom: var(--space-8);
  font-size: clamp(3rem, 5.4vw, 5.4rem);
}

.journey-route {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
  margin: 0;
  color: var(--accent-hover);
  font: 600 0.7rem/1.4 var(--font-label);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.journey-route span:not(:last-child)::after {
  margin-left: var(--space-3);
  color: var(--highlight);
  content: '→';
}

.journey-copy {
  max-width: 47rem;
  padding-left: clamp(1.5rem, 3vw, 2.75rem);
  border-left: 3px solid var(--highlight);
}

.journey-copy p {
  color: var(--text-secondary);
}

.journey-copy .journey-lede {
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.45;
}

.journey-copy p:last-child {
  margin-bottom: 0;
}

.emphasis-item .meta-label {
  margin-bottom: var(--space-4);
  color: var(--accent-hover);
}

.emphasis-item p {
  max-width: 34ch;
  margin-bottom: 0;
  color: var(--text-secondary);
}

.thesis-grid {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: var(--space-12);
  align-items: start;
}

.thesis-statement {
  max-width: 14ch;
  margin-bottom: 0;
  font-family: var(--font-display);
  font-size: clamp(3.3rem, 7vw, 7rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.94;
}

.thesis-statement em {
  color: var(--highlight);
  font-style: italic;
}

.thesis-note {
  max-width: 30rem;
  margin: var(--space-8) 0 0 auto;
  color: var(--border);
  font-size: 1.08rem;
}

.section-heading {
  display: grid;
  grid-template-columns: 8fr 4fr;
  gap: var(--space-12);
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.section-title {
  max-width: 14ch;
  margin-bottom: 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.8vw, 5.6rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.96;
}

.section-intro {
  max-width: 38ch;
  margin-bottom: 0;
  color: var(--text-secondary);
}

.dark-section .section-intro {
  color: var(--border);
}

.research-field {
  background-color: var(--surface-alt);
  background-image: radial-gradient(circle, rgba(var(--text-rgb), 0.13) 1px, transparent 1px);
  background-position: 0 0;
  background-size: 26px 26px;
  animation: field-drift 24s linear infinite;
}

@keyframes field-drift {
  to { background-position: 26px 26px; }
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.25rem;
}

.research-card {
  position: relative;
  min-height: 25rem;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  background: var(--surface);
  color: var(--text);
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 200ms ease, box-shadow 260ms ease;
}

.research-card:nth-child(1) { grid-column: span 7; }
.research-card:nth-child(2) { grid-column: span 5; }
.research-card:nth-child(3) { grid-column: 2 / span 5; }
.research-card:nth-child(4) { grid-column: span 6; }

.research-card::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    420px circle at var(--pointer-x, 50%) var(--pointer-y, 50%),
    rgba(var(--accent-rgb), 0.12),
    transparent 62%
  );
  opacity: 0;
  transition: opacity 220ms ease;
  content: '';
}

.research-card > * {
  position: relative;
  z-index: 1;
}

.research-card:hover,
.research-card:focus-within {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 18px 44px rgba(var(--text-rgb), 0.1);
}

.research-card:hover::before,
.research-card:focus-within::before {
  opacity: 1;
}

.research-card:active {
  transform: translateY(-1px);
}

.research-card h3 {
  max-width: 13ch;
  margin-bottom: var(--space-4);
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 3.1rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
}

.research-card p {
  max-width: 48ch;
  color: var(--text-secondary);
}

.card-link {
  margin-top: auto;
  align-self: flex-start;
}

.research-visual {
  position: relative;
  min-height: 8.5rem;
  margin: auto 0 var(--space-8);
}

.pathway-line {
  position: absolute;
  top: 50%;
  left: 3%;
  width: 94%;
  height: 2px;
  background: var(--border-strong);
}

.pathway-line::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 44%;
  height: 2px;
  background: var(--accent);
  content: '';
}

.pathway-node {
  position: absolute;
  top: calc(50% - 0.65rem);
  width: 1.3rem;
  height: 1.3rem;
  border: 2px solid var(--surface);
  border-radius: 50%;
  background: var(--accent-warm);
  box-shadow: 0 0 0 1px var(--accent-warm);
}

.pathway-node:nth-child(2) { left: 4%; }
.pathway-node:nth-child(3) { left: 31%; }
.pathway-node:nth-child(4) { left: 63%; background: var(--highlight); box-shadow: 0 0 0 1px var(--highlight); }
.pathway-node:nth-child(5) { right: 1%; background: var(--accent); box-shadow: 0 0 0 1px var(--accent); }

.framework-rings {
  display: grid;
  place-items: center;
}

.framework-rings span {
  position: absolute;
  width: 7rem;
  aspect-ratio: 1;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
}

.framework-rings span:nth-child(1) { transform: translateX(-42%); }
.framework-rings span:nth-child(2) { transform: translateX(0); }
.framework-rings span:nth-child(3) { transform: translateX(42%); }
.framework-rings span:nth-child(4) {
  width: 2.7rem;
  border-color: var(--accent);
  background: var(--accent);
}

.network-visual .node {
  position: absolute;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: var(--accent);
}

.network-visual .node::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--line-size, 7rem);
  height: 1px;
  background: var(--border-strong);
  transform: rotate(var(--line-angle, 0deg));
  transform-origin: left;
  content: '';
}

.network-visual .node:nth-child(1) { top: 10%; left: 15%; --line-size: 10rem; --line-angle: 28deg; }
.network-visual .node:nth-child(2) { top: 55%; left: 45%; --line-size: 8rem; --line-angle: -24deg; background: var(--accent-warm); }
.network-visual .node:nth-child(3) { top: 22%; right: 18%; --line-size: 7rem; --line-angle: 118deg; background: var(--highlight); }
.network-visual .node:nth-child(4) { bottom: 8%; right: 10%; --line-size: 5rem; --line-angle: -145deg; }

.shift-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.45rem;
  align-content: center;
}

.shift-grid span {
  aspect-ratio: 1;
  border: 1px solid var(--border-strong);
  background: var(--surface-alt);
}

.shift-grid span:nth-child(3n) { transform: translateY(-0.8rem); background: var(--accent-soft); }
.shift-grid span:nth-child(5n) { transform: translateY(0.8rem); background: var(--accent-warm-soft); }

.publication-list {
  border-bottom: 1px solid var(--border);
}

.publication {
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr) auto;
  gap: var(--space-6);
  align-items: start;
  padding: var(--space-8) var(--space-4);
  border-top: 1px solid var(--border);
  transition: background-color 180ms ease;
}

.publication:hover,
.publication:focus-within {
  background: var(--surface-hover);
}

.publication-status {
  color: var(--text-tertiary);
  font-family: var(--font-label);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.publication h3,
.publication-title {
  margin-bottom: var(--space-3);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.citation {
  max-width: 72ch;
  margin-bottom: var(--space-3);
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.62;
}

.publication-summary {
  max-width: 72ch;
  margin-bottom: 0;
  color: var(--text-secondary);
}

.publication-actions {
  display: flex;
  gap: var(--space-2);
}

.icon-button {
  min-width: 44px;
  min-height: 44px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease,
    color 180ms ease, transform 180ms ease;
}

.icon-button svg {
  width: 1.1rem;
  height: 1.1rem;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
}

.icon-button:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-hover);
}

.icon-button:active {
  transform: scale(0.96);
}

.icon-button[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

.copy-feedback {
  min-height: 1.4em;
  margin-top: var(--space-2);
  color: var(--success);
  font-size: 0.78rem;
  font-weight: 600;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.tag {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-secondary);
  font-family: var(--font-label);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  transition: border-color 180ms ease, background-color 180ms ease,
    color 180ms ease;
}

.tag:hover,
.tag.is-active {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-hover);
}

.teaching-feature {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: center;
}

.teaching-quote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.9rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

.teaching-quote em {
  color: var(--accent-warm);
  font-style: italic;
}

.practice-list,
.timeline,
.credential-list,
.milestone-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.practice-list li,
.credential-list li,
.milestone-list li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  border-top: 1px solid var(--border);
}

.practice-list li::before,
.credential-list li::before,
.milestone-list li::before {
  color: var(--accent);
  font-family: var(--font-label);
  font-size: 0.72rem;
  font-weight: 600;
  content: attr(data-index);
}

.milestone-list time {
  display: block;
  margin-bottom: var(--space-1);
  color: var(--text-tertiary);
  font-family: var(--font-label);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

.page-hero {
  padding-block: clamp(5rem, 10vw, 9rem) clamp(4rem, 7vw, 6rem);
  border-bottom: 1px solid var(--border);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 8fr 4fr;
  gap: var(--space-12);
  align-items: end;
}

.page-hero-grid > * {
  min-width: 0;
}

.page-aside {
  padding-left: var(--space-6);
  border-left: 3px solid var(--highlight);
  color: var(--text-secondary);
}

.research-detail {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: clamp(2rem, 7vw, 7rem);
  padding-block: clamp(4rem, 8vw, 7rem);
  border-bottom: 1px solid var(--border);
}

.research-detail:last-child {
  border-bottom: 0;
}

.research-detail h2 {
  max-width: 12ch;
  margin-bottom: var(--space-6);
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.8vw, 4.5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.research-question {
  max-width: 60ch;
  margin-bottom: var(--space-8);
  color: var(--accent-hover);
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  font-style: italic;
  line-height: 1.35;
}

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

.evidence-block {
  padding-top: var(--space-4);
  border-top: 2px solid var(--text);
}

.evidence-block h3 {
  margin-bottom: var(--space-2);
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.evidence-block p {
  margin-bottom: 0;
  color: var(--text-secondary);
}

.method-band {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: var(--space-12);
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 1.25rem;
  background: var(--surface-alt);
}

.dark-section .method-band {
  color: var(--text);
}

.dark-section .method-band p {
  color: var(--text-secondary);
}

.dark-section .method-band .button-secondary {
  color: var(--text);
  border-color: var(--border-strong);
}

.dark-section .method-band .button-secondary:hover {
  color: var(--surface);
  background: var(--text);
  border-color: var(--text);
}

.method-band h2 {
  margin-bottom: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
}

.cv-grid {
  display: grid;
  grid-template-columns: 3fr 9fr;
  gap: clamp(2rem, 7vw, 7rem);
}

.cv-sidebar {
  align-self: start;
}

.cv-section {
  padding-block: var(--space-12);
  border-top: 1px solid var(--border);
}

.cv-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.cv-section h2 {
  margin-bottom: var(--space-8);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.7rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
}

.timeline-item {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: var(--space-6);
  padding: var(--space-6) 0;
  border-top: 1px solid var(--border);
}

.timeline-item:first-child {
  border-top-color: var(--border-strong);
}

.timeline-date {
  color: var(--text-tertiary);
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.timeline-item h3 {
  margin-bottom: var(--space-1);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
}

.timeline-item p {
  margin-bottom: 0;
  color: var(--text-secondary);
}

.contact-panel {
  display: grid;
  grid-template-columns: 8fr 4fr;
  gap: var(--space-12);
  align-items: end;
  padding: clamp(2rem, 6vw, 5rem);
  border-radius: 1.25rem;
  background: var(--accent);
  color: var(--text-on-dark);
}

.contact-panel h2 {
  max-width: 13ch;
  margin-bottom: var(--space-6);
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.5vw, 6rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.94;
}

.contact-panel h2 em {
  color: var(--highlight);
  font-style: italic;
}

.contact-panel p {
  max-width: 56ch;
  color: var(--accent-soft);
}

.contact-panel .button {
  border-color: var(--text-on-dark);
  background: var(--text-on-dark);
  color: var(--text);
}

.contact-panel .button:hover {
  border-color: var(--highlight);
  background: var(--highlight);
  color: var(--text);
}

.contact-details {
  display: grid;
  gap: var(--space-3);
  justify-items: start;
}

.footer {
  padding-block: var(--space-12);
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-8);
}

.footer p {
  margin-bottom: 0;
  color: var(--text-tertiary);
  font-size: 0.78rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: var(--space-6);
}

.footer-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--accent);
}

.section-title-reveal,
.content-reveal {
  opacity: 1;
  transform: none;
}

.has-js .section-title-reveal {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.has-js .content-reveal {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 580ms ease, transform 580ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--item-index, 0) * 80ms);
}

.has-js .section-title-reveal.is-visible,
.has-js .content-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: minmax(0, 7fr) minmax(15rem, 5fr);
    gap: var(--space-12);
  }

  .research-card:nth-child(n) {
    grid-column: span 6;
  }

  .research-card:nth-child(3) {
    grid-column-start: 1;
  }
}

@media (max-width: 900px) {
  .brand-field {
    display: none;
  }

  .hero,
  .page-hero-grid,
  .section-heading,
  .thesis-grid,
  .journey-grid,
  .teaching-feature,
  .research-detail,
  .method-band,
  .cv-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    order: 1;
  }

  .hero-portrait {
    width: min(78%, 28rem);
    margin-left: auto;
    order: 2;
  }

  .section-heading {
    align-items: start;
  }

  .section-intro {
    max-width: 56ch;
  }

  .thesis-note {
    margin-left: 0;
  }

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

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

  .journey-heading .section-title {
    max-width: 13ch;
  }

  .cv-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
  }

  .contact-panel {
    align-items: start;
  }
}

@media (max-width: 760px) {
  .container,
  .narrow {
    width: min(100% - 2rem, 42rem);
  }

  .nav-inner {
    min-height: 68px;
  }

  .menu-button {
    display: grid;
  }

  .nav-links {
    position: fixed;
    inset: 68px 0 auto;
    max-height: calc(100vh - 68px);
    display: grid;
    gap: 0;
    padding: var(--space-4) var(--space-4) var(--space-8);
    overflow-y: auto;
    border-bottom: 1px solid var(--border);
    background: var(--bg);
    box-shadow: 0 18px 44px rgba(var(--text-rgb), 0.1);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-0.75rem);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
  }

  .nav-links.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .nav-link {
    min-height: 56px;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
  }

  .nav-link[aria-current='page'] {
    border-bottom-color: var(--accent);
  }

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

  .hero-title {
    font-size: clamp(3.7rem, 17vw, 5.6rem);
  }

  .page-title {
    font-size: clamp(3.1rem, 13.5vw, 5rem);
  }

  .page-title .hero-emphasis {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-portrait {
    width: calc(100% - 2.5rem);
  }

  .portrait-caption {
    right: -0.5rem;
  }

  .journey-copy {
    padding-left: var(--space-4);
  }

  .emphasis-rail {
    grid-template-columns: 1fr;
  }

  .emphasis-item {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .emphasis-item:last-child {
    border-bottom: 0;
  }

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

  .research-card:nth-child(n) {
    min-height: 23rem;
    grid-column: 1;
  }

  .publication {
    grid-template-columns: 1fr auto;
    padding-inline: 0;
  }

  .publication-status {
    grid-column: 1 / -1;
  }

  .publication-content {
    min-width: 0;
  }

  .publication-actions {
    flex-direction: column;
  }

  .evidence-grid,
  .cv-sidebar {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
    gap: var(--space-4);
  }

  .research-field {
    animation: none;
  }
}

@media (max-width: 420px) {
  .brand {
    gap: 0;
  }

  .button {
    width: 100%;
  }

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

  .publication-actions {
    flex-direction: row;
  }

  .contact-panel {
    padding-inline: var(--space-6);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-word,
  .section-title-reveal,
  .content-reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-emphasis::after {
    width: 100%;
  }

  .research-field {
    animation: none;
  }
}

@media print {
  .site-nav,
  .scroll-progress,
  .hero-actions,
  .contact-panel,
  .footer-links,
  .icon-button {
    display: none !important;
  }

  body {
    background: var(--surface);
    color: var(--text);
  }

  .section,
  .section-tight,
  .page-hero {
    padding-block: 2rem;
  }
}
