/* ============================================
   Diana Wolfe, PhD — Design System v5
   Rorschach × Neural × Wabi-Sabi × Dark Synth
   ============================================ */

:root {
  /* Dark palette */
  --dark: #1A1917;
  --dark-mid: #242220;
  --dark-light: #2E2B28;

  /* Light palette */
  --cream: #F5F2ED;
  --cream-mid: #EBE6DF;
  --cream-dark: #E2DCD4;

  /* Text */
  --text-on-light: #1A1917;
  --text-on-light-secondary: #6B6560;
  --text-on-light-muted: #9B9590;
  --text-on-dark: #E8E3DC;
  --text-on-dark-secondary: #9B9590;
  --text-on-dark-muted: #6B6560;

  /* Accent */
  --sage: #5A6E54;
  --sage-light: #8BA383;
  --sage-hover: #3D4D38;

  /* Borders */
  --border-light: rgba(0, 0, 0, 0.06);
  --border-dark: rgba(255, 255, 255, 0.08);
}

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

/* --- Reset --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-on-light);
  background: var(--cream);
}

/* Grain overlay — wabi-sabi texture */
body::after {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

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

a {
  color: var(--sage);
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover { color: var(--sage-hover); }

ul, ol { list-style: none; }

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

h1 { font-size: 40px; }
h2 { font-size: 32px; margin-bottom: 20px; }
h3 { font-size: 22px; margin-bottom: 14px; }
h4 { font-size: 18px; font-weight: 500; }

p { margin-bottom: 14px; }
p:last-child { margin-bottom: 0; }

.text-secondary { color: var(--text-on-light-secondary); }
.text-muted { color: var(--text-on-light-muted); }

.label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 16px;
  display: block;
}
.label--muted { color: var(--text-on-light-muted); }

/* --- Layout --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 60px;
  padding-right: 60px;
}

.section {
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

/* Light sections */
.section--cream { background: var(--cream); }
.section--cream-mid { background: var(--cream-mid); }

/* Dark sections */
.section--dark {
  background: var(--dark);
  color: var(--text-on-dark);
}
.section--dark p { color: var(--text-on-dark); }
.section--dark .text-secondary { color: var(--text-on-dark-secondary); }
.section--dark .text-muted { color: var(--text-on-dark-muted); }
.section--dark .label { color: var(--sage-light); }
.section--dark .label--muted { color: var(--text-on-dark-muted); }

.section--dark-mid {
  background: var(--dark-mid);
  color: var(--text-on-dark);
}
.section--dark-mid p { color: var(--text-on-dark); }
.section--dark-mid .text-secondary { color: var(--text-on-dark-secondary); }
.section--dark-mid .label { color: var(--sage-light); }
.section--dark-mid .label--muted { color: var(--text-on-dark-muted); }

.section--warm { background: var(--cream-mid); }
.section--sage { background: #E8EDE5; }
.section--clay { background: #EDE6DC; }


/* ===================================
   Rorschach Inkblot System
   =================================== */
.inkblot {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  color: currentColor;
}

/* Hero inkblot — large, centered, blooming entrance */
.inkblot--hero {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.7);
  width: 900px;
  height: 900px;
  opacity: 0;
  animation: inkBloom 2.5s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards,
             inkBreathe 8s ease-in-out 3s infinite;
}

@keyframes inkBloom {
  to { opacity: 0.2; transform: translate(-50%, -50%) scale(1); }
}

/* Secondary hero inkblot — offset, different rhythm */
.inkblot--hero-secondary {
  top: 42%;
  left: 58%;
  transform: translate(-50%, -50%) rotate(15deg) scale(0.7);
  width: 550px;
  height: 550px;
  opacity: 0;
  animation: inkBloomSecondary 3s cubic-bezier(0.22, 1, 0.36, 1) 0.8s forwards,
             inkBreathe 12s ease-in-out 4s infinite reverse;
}

@keyframes inkBloomSecondary {
  to { opacity: 0.08; transform: translate(-50%, -50%) rotate(15deg) scale(1); }
}

/* Hidden filter SVG — zero-dimension container */
.hero-filters {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* Section accent inkblots */
.inkblot--left {
  top: -10%;
  left: -5%;
  width: 400px;
  height: 500px;
  opacity: 0.06;
  animation: inkFloat 20s ease-in-out infinite;
}

.inkblot--right {
  bottom: -10%;
  right: -5%;
  width: 350px;
  height: 450px;
  opacity: 0.05;
  animation: inkFloat 24s ease-in-out infinite reverse;
}

.inkblot--center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  opacity: 0.06;
  animation: inkBreathe 10s ease-in-out infinite;
}

/* Dark section inkblots — more visible */
.section--dark .inkblot,
.section--dark-mid .inkblot {
  opacity: 0.12;
}

/* Inkblot animations */
@keyframes inkBreathe {
  0%, 100% { transform: translate(-50%, -50%) scale(1); filter: brightness(1); }
  50% { transform: translate(-50%, -50%) scale(1.05); filter: brightness(1.15); }
}

@keyframes inkFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-12px) rotate(1deg); }
  66% { transform: translateY(8px) rotate(-0.5deg); }
}

@keyframes inkPulse {
  0%, 100% { opacity: 0.04; }
  50% { opacity: 0.07; }
}

/* Ink splatter accents */
.ink-splatter {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.ink-splatter--top-right {
  top: 40px;
  right: 60px;
  width: 120px;
  height: 120px;
  opacity: 0.04;
  animation: splatPulse 6s ease-in-out infinite;
}

.ink-splatter--bottom-left {
  bottom: 40px;
  left: 60px;
  width: 100px;
  height: 100px;
  opacity: 0.03;
  animation: splatPulse 8s ease-in-out infinite reverse;
}

@keyframes splatPulse {
  0%, 100% { transform: scale(1); opacity: 0.04; }
  50% { transform: scale(1.1); opacity: 0.06; }
}


/* ===================================
   Neural Network Canvas
   =================================== */
.neural-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0;
  animation: canvasFadeIn 2.5s ease 0.2s forwards;
}

@keyframes canvasFadeIn {
  to { opacity: 0.95; }
}

/* Secondary neural canvas for other dark sections */
.neural-canvas--section {
  opacity: 0.08;
}


/* ===================================
   Ink Transition Dividers
   =================================== */
.ink-transition {
  position: relative;
  width: 100%;
  height: 100px;
  overflow: visible;
  z-index: 2;
  margin-top: -1px;
}

.ink-transition svg {
  display: block;
}


/* ===================================
   Navigation
   =================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(36, 52, 32, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__brand {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 450;
  letter-spacing: 0.02em;
  color: var(--text-on-dark);
  text-decoration: none;
}

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

.nav__link {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--text-on-dark-secondary);
  text-decoration: none;
  transition: color 0.25s ease;
  position: relative;
}

.nav__link:hover,
.nav__link--active {
  color: var(--text-on-dark);
}

.nav__link--active::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0; right: 0;
  height: 1px;
  background: var(--text-on-dark);
}

.nav__cta {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--dark);
  background: var(--text-on-dark);
  border: none;
  padding: 8px 20px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  border-radius: 1px;
}

.nav__cta:hover {
  background: var(--cream-dark);
  color: var(--dark);
}

/* Mobile toggle */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 24px;
  height: 18px;
  position: relative;
  flex-shrink: 0;
}

.nav__toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--text-on-dark);
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
}

.nav__toggle span:nth-child(1) { top: 0; }
.nav__toggle span:nth-child(2) { top: 8px; }
.nav__toggle span:nth-child(3) { top: 16px; }

.nav__toggle.active span:nth-child(1) { top: 8px; transform: rotate(45deg); }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) { top: 8px; transform: rotate(-45deg); }


/* ===================================
   Buttons
   =================================== */
.btn {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 12px 28px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  border-radius: 1px;
  position: relative;
}

.btn--primary {
  background: var(--text-on-light);
  color: var(--cream);
}
.btn--primary:hover {
  background: var(--sage);
  color: var(--cream);
  transform: translateY(-1px);
}

.section--dark .btn--primary,
.section--dark-mid .btn--primary {
  background: var(--text-on-dark);
  color: var(--dark);
}
.section--dark .btn--primary:hover,
.section--dark-mid .btn--primary:hover {
  background: var(--sage-light);
  color: var(--dark);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--text-on-light);
  border: 1px solid rgba(0, 0, 0, 0.15);
}
.btn--outline:hover {
  border-color: var(--text-on-light);
  background: var(--text-on-light);
  color: var(--cream);
  transform: translateY(-1px);
}

.section--dark .btn--outline,
.section--dark-mid .btn--outline {
  color: var(--text-on-dark);
  border-color: var(--border-dark);
}
.section--dark .btn--outline:hover,
.section--dark-mid .btn--outline:hover {
  border-color: var(--text-on-dark);
  background: var(--text-on-dark);
  color: var(--dark);
}

.btn--small { font-size: 12px; padding: 7px 16px; }

.btn-group { display: flex; gap: 10px; flex-wrap: wrap; }


/* ===================================
   Hero — Dark with Inkblot + Neural
   =================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 56px;
  position: relative;
  overflow: hidden;
  background: var(--dark);
  color: var(--text-on-dark);
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  position: relative;
  z-index: 2;
  padding: 80px 0;
}

/* Hero entrance animation */
.hero__entrance {
  opacity: 0;
  transform: translateY(30px);
  animation: heroContentIn 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.8s forwards;
}

@keyframes heroContentIn {
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  opacity: 0;
  animation: heroContentIn 1s ease 2.5s forwards;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--cream-dark));
  animation: scrollPulse 2.5s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.2; transform: scaleY(0.5); transform-origin: top; }
  50% { opacity: 0.6; transform: scaleY(1); transform-origin: top; }
}

/* Typewriter */
.hero__slogan {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 42px;
  font-weight: 300;
  font-style: italic;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--text-on-dark);
  margin-bottom: 36px;
  min-height: 1.2em;
}

.typewriter__cursor {
  font-weight: 200;
  color: var(--sage-light);
  animation: blink 0.8s step-end infinite;
}

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

.hero__descriptors {
  font-size: 12px;
  color: var(--text-on-dark-secondary);
  letter-spacing: 0.04em;
}

.hero__descriptors span + span::before {
  content: ' · ';
  color: var(--text-on-dark-muted);
}


/* ===================================
   Page Hero (subpages)
   =================================== */
.page-hero {
  padding-top: 128px;
  padding-bottom: 56px;
  position: relative;
}

.page-hero h1 {
  font-size: 40px;
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 15px;
  color: var(--text-on-light-secondary);
  max-width: 560px;
  line-height: 1.7;
}

.page-hero--dark {
  background: var(--dark);
  color: var(--text-on-dark);
}
.page-hero--dark p { color: var(--text-on-dark-secondary); }
.page-hero--dark .label { color: var(--sage-light); }


/* ===================================
   Cards
   =================================== */
.card {
  background: var(--cream);
  border: 1px solid var(--border-light);
  padding: 28px;
  transition: all 0.4s ease;
}
.card:hover {
  border-color: var(--sage);
  transform: translateY(-2px);
}

.section--dark .card,
.section--dark-mid .card {
  background: var(--dark-light);
  border-color: var(--border-dark);
}
.section--dark .card:hover,
.section--dark-mid .card:hover {
  border-color: var(--sage-light);
  transform: translateY(-2px);
}
.section--dark .card__title { color: var(--text-on-dark); }
.section--dark .card__desc { color: var(--text-on-dark-secondary); }

.card__number {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-on-light-muted);
  margin-bottom: 14px;
  display: block;
}

.card__title {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  color: var(--text-on-light);
}

.card__desc {
  font-size: 13px;
  color: var(--text-on-light-secondary);
  margin-bottom: 14px;
  line-height: 1.65;
}

.card__arrow {
  font-size: 16px;
  color: var(--text-on-light-muted);
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}
.card:hover .card__arrow {
  color: var(--sage);
  transform: translateX(3px);
}


/* ===================================
   Grids
   =================================== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-3x2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }


/* ===================================
   Vision / Statement
   =================================== */
.vision {
  max-width: 720px;
  position: relative;
  z-index: 1;
}

.vision p {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 18px;
  font-weight: 400;
}


/* ===================================
   Latest Cards
   =================================== */
.latest-card {
  background: var(--dark-light);
  border: 1px solid var(--border-dark);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}
.latest-card:hover {
  border-color: var(--sage-light);
  transform: translateY(-3px);
}

.latest-card__type {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-light);
  margin-bottom: 10px;
}

.latest-card__title {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-on-dark);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.latest-card__excerpt {
  font-size: 13px;
  color: var(--text-on-dark-secondary);
  line-height: 1.65;
  margin-bottom: 14px;
  flex-grow: 1;
}

.latest-card__date {
  font-size: 11px;
  color: var(--text-on-dark-muted);
}


/* ===================================
   Podcast Subscribe Strip
   =================================== */
.subscribe-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.subscribe-strip__title {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.subscribe-strip__buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}


/* ===================================
   Principles
   =================================== */
.principle {
  padding: 24px 0;
  border-bottom: 1px solid var(--border-light);
}
.principle:last-child { border-bottom: none; }

.principle__title {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.principle__desc {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 17px;
  color: var(--text-on-light-secondary);
  font-style: italic;
  line-height: 1.55;
}


/* ===================================
   Logos
   =================================== */
.logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.logos__item {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-on-light-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}


/* ===================================
   Research Intro + Tiles
   =================================== */
.research-intro {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-on-dark);
  max-width: 780px;
  margin-bottom: 0;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

.research-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
  position: relative;
  z-index: 1;
}

.research-tile {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 28px;
  color: var(--text-on-dark);
}

.research-tile__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 19px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.35;
  letter-spacing: 0;
  color: var(--text-on-dark);
  margin-bottom: 14px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

.research-tile__body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-on-dark-secondary);
  margin-bottom: 0;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}


/* ===================================
   CTA Section
   =================================== */
.cta-section {
  text-align: center;
  position: relative;
  z-index: 1;
}
.cta-section h2 { font-size: 36px; margin-bottom: 24px; }


/* ===================================
   Tags / Filters
   =================================== */
.filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.filter-btn {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 6px 16px;
  border: 1px solid var(--border-light);
  background: transparent;
  color: var(--text-on-light-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 1px;
}
.filter-btn:hover { border-color: var(--text-on-light); color: var(--text-on-light); }
.filter-btn.active { background: var(--text-on-light); color: var(--cream); border-color: var(--text-on-light); }

.tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--sage);
  background: #EDF1EB;
  padding: 3px 9px;
  display: inline-block;
  margin-right: 3px;
  margin-bottom: 3px;
}


/* ===================================
   Blog Post
   =================================== */
.post {
  padding: 32px 0;
  border-bottom: 1px solid var(--border-light);
}
.post:first-child { padding-top: 0; }

.post__date { font-size: 11px; color: var(--text-on-light-muted); margin-bottom: 6px; letter-spacing: 0.02em; }
.post__date:empty { display: none; }

.post__title {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.post__title a { color: var(--text-on-light); }
.post__title a:hover { color: var(--sage); }

.post__excerpt { font-size: 14px; color: var(--text-on-light-secondary); line-height: 1.7; margin-bottom: 10px; }

/* Blog Post Page */
.blog-post { max-width: 720px; }
.blog-post__lede {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-on-light);
  margin-bottom: 32px;
}
.blog-post__hypothesis {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 18px;
  font-style: italic;
  line-height: 1.7;
  color: var(--text-on-light-secondary);
  border-left: 2px solid var(--sage);
  padding-left: 20px;
  margin-bottom: 40px;
}
.blog-post h2 {
  font-size: 22px;
  font-weight: 600;
  margin-top: 48px;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.blog-post p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-on-light);
  margin-bottom: 20px;
}
.blog-post__references {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-on-light-secondary);
}
.blog-post__references p {
  font-size: 13px;
  color: var(--text-on-light-secondary);
  margin-bottom: 8px;
}
.blog-post__back {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--sage);
  margin-bottom: 24px;
}
.blog-post__back:hover { color: var(--sage-hover); }
.blog-post a { color: var(--sage); }
.blog-post a:hover { color: var(--sage-hover); }

.blog-post__cta {
  background: #E8EDE5;
  border-left: 3px solid var(--sage);
  padding: 24px 28px;
  border-radius: 0 6px 6px 0;
  margin: 40px 0;
}
.blog-post__cta .label {
  display: block;
  margin-bottom: 10px;
}
.blog-post__cta p {
  margin: 0;
  color: var(--text-on-light);
}

/* Coming Soon */
.coming-soon {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--border-light);
}
.coming-soon > .label {
  margin-bottom: 24px;
  display: block;
}
.post--coming-soon {
  opacity: 0.55;
  position: relative;
}
.post--coming-soon .post__title {
  color: var(--text-on-light-secondary);
}
.coming-soon__badge {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  border: 1px solid var(--sage);
  padding: 2px 8px;
  display: inline-block;
  margin-bottom: 8px;
}


/* ===================================
   Publications
   =================================== */
.publication {
  padding: 24px 0;
  border-bottom: 1px solid var(--border-light);
}

.publication__title {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.publication__meta { font-size: 12px; color: var(--text-on-light-muted); margin-bottom: 10px; }
.publication__summary { font-size: 13px; color: var(--text-on-light-secondary); line-height: 1.65; }


/* ===================================
   Spotlight
   =================================== */
.spotlight {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 56px;
  align-items: center;
}

.spotlight__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-on-light-muted);
  font-size: 12px;
}


/* ===================================
   Experiment Cards
   =================================== */
.experiment-card {
  background: var(--cream);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}
.experiment-card:hover {
  border-color: var(--sage);
  transform: translateY(-2px);
}

.experiment-card__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-on-light-muted);
  font-size: 12px;
  position: relative;
  flex-shrink: 0;
}

.experiment-card__status {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

.experiment-card__status--active {
  background: rgba(74, 120, 100, 0.88);
  color: #fff;
}

.experiment-card__status--shipped {
  background: rgba(90, 84, 79, 0.72);
  color: #fff;
}

.experiment-card__status--in-progress {
  background: rgba(175, 130, 45, 0.85);
  color: #fff;
}

.experiment-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.experiment-card__types {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
  flex-shrink: 0;
}

.experiment-card__title {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.experiment-card__desc {
  font-size: 13px;
  color: var(--text-on-light-secondary);
  line-height: 1.65;
  margin-bottom: 14px;
  flex: 1;
}

.experiment-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
  flex-shrink: 0;
}

.experiment-card__progress {
  margin-bottom: 16px;
  flex-shrink: 0;
}

.experiment-card__progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-on-light-muted);
  margin-bottom: 6px;
}

.experiment-card__progress-track {
  width: 100%;
  height: 4px;
  background: var(--cream-dark);
  border-radius: 2px;
  overflow: hidden;
}

.experiment-card__progress-fill {
  height: 100%;
  background: var(--sage);
  border-radius: 2px;
  transition: width 0.6s ease;
}

.experiment-card__progress-fill--active {
  background: rgba(74, 120, 100, 0.88);
}

.experiment-card__progress-fill--shipped {
  background: rgba(90, 84, 79, 0.72);
}

.experiment-card__progress-fill--in-progress {
  background: rgba(175, 130, 45, 0.85);
}

.experiment-card__actions {
  flex-shrink: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}


/* ===================================
   F&D Lab Feature (Podcast Page)
   =================================== */
.fd-lab-feature {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
}


/* ===================================
   Comic Reader (About Page)
   =================================== */
.comic-reader {
  outline: none;
}

.comic-reader__viewport {
  position: relative;
  width: 100%;
  height: 65vh;
  height: 65dvh;
  overflow: hidden;
  background: var(--cream-mid);
  border: 1px solid var(--border-light);
}

.comic-reader__track {
  display: flex;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.comic-reader__track img {
  min-width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  flex-shrink: 0;
}

.comic-reader__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: var(--dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  border-radius: 1px;
}

.comic-reader__arrow:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(0, 0, 0, 0.2);
}

.comic-reader__arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

.comic-reader__arrow--prev { left: 12px; }
.comic-reader__arrow--next { right: 12px; }

.comic-reader__controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 16px;
}

.comic-reader__counter {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--text-on-light-secondary);
  letter-spacing: 0.02em;
}

.comic-reader__fullscreen {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: var(--dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  border-radius: 1px;
}
.comic-reader__fullscreen:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(0, 0, 0, 0.2);
}

/* Fullscreen state */
.comic-reader:fullscreen,
.comic-reader:-webkit-full-screen {
  background: var(--dark);
  display: flex;
  flex-direction: column;
}
.comic-reader:fullscreen .comic-reader__viewport,
.comic-reader:-webkit-full-screen .comic-reader__viewport {
  flex: 1;
  height: auto;
  border: none;
  background: var(--dark);
}
.comic-reader:fullscreen .comic-reader__track img,
.comic-reader:-webkit-full-screen .comic-reader__track img {
  object-fit: contain;
}
.comic-reader:fullscreen .comic-reader__controls,
.comic-reader:-webkit-full-screen .comic-reader__controls {
  padding: 12px 0 20px;
}
.comic-reader:fullscreen .comic-reader__counter,
.comic-reader:-webkit-full-screen .comic-reader__counter {
  color: var(--text-on-dark-secondary);
}
.comic-reader:fullscreen .comic-reader__dot,
.comic-reader:-webkit-full-screen .comic-reader__dot {
  background: var(--dark-light);
}
.comic-reader:fullscreen .comic-reader__dot--active,
.comic-reader:-webkit-full-screen .comic-reader__dot--active {
  background: var(--sage-light);
}
.comic-reader:fullscreen .comic-reader__fullscreen,
.comic-reader:-webkit-full-screen .comic-reader__fullscreen {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-on-dark);
}
.comic-reader:fullscreen .comic-reader__fullscreen:hover,
.comic-reader:-webkit-full-screen .comic-reader__fullscreen:hover {
  background: rgba(255, 255, 255, 0.15);
}
.comic-reader:fullscreen .comic-reader__fs-expand,
.comic-reader:-webkit-full-screen .comic-reader__fs-expand { display: none !important; }
.comic-reader:fullscreen .comic-reader__fs-collapse,
.comic-reader:-webkit-full-screen .comic-reader__fs-collapse { display: block !important; }

.comic-reader__dots {
  display: flex;
  gap: 6px;
}

.comic-reader__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cream-dark);
  transition: background 0.25s ease;
}

.comic-reader__dot--active {
  background: var(--sage);
}

@media (max-width: 768px) {
  .comic-reader__viewport { height: 50vh; height: 50dvh; }
  .comic-reader__arrow { width: 44px; height: 44px; }
  .comic-reader__arrow--prev { left: 8px; }
  .comic-reader__arrow--next { right: 8px; }
}

@media (max-width: 480px) {
  .comic-reader__viewport { height: 40vh; height: 40dvh; }
}


/* ===================================
   About Page
   =================================== */
.bio-section {
  display: grid;
  grid-template-columns: 5fr 3fr;
  gap: 72px;
  align-items: start;
}

.bio-section__photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-on-light-muted);
  font-size: 12px;
  position: sticky;
  top: 96px;
}

.bio-section__text p { font-size: 15px; line-height: 1.8; margin-bottom: 18px; }

/* Events */
.event {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
  gap: 20px;
}

.event__name { font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 500; }
.event__detail { font-size: 12px; color: var(--text-on-light-secondary); white-space: nowrap; }


/* ===================================
   Forms
   =================================== */
.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 5px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px 13px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: var(--cream);
  font-size: 14px;
  color: var(--text-on-light);
  transition: border-color 0.3s ease;
  outline: none;
  border-radius: 1px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--sage); }
.form-group textarea { min-height: 110px; resize: vertical; }


/* ===================================
   Episode Cards
   =================================== */
.episode-card {
  padding: 24px;
  border: 1px solid var(--border-light);
  background: var(--cream);
  transition: all 0.4s ease;
}
.episode-card:hover {
  border-color: var(--sage);
  transform: translateY(-2px);
}

.episode-card__number { font-size: 11px; color: var(--text-on-light-muted); margin-bottom: 6px; }
.episode-card__title { font-family: 'Inter', sans-serif; font-size: 17px; font-weight: 600; margin-bottom: 6px; letter-spacing: -0.01em; }
.episode-card__guest { font-size: 12px; color: var(--sage); margin-bottom: 6px; }
.episode-card__desc { font-size: 13px; color: var(--text-on-light-secondary); line-height: 1.65; }

.player-placeholder {
  background: var(--cream-dark);
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-on-light-muted);
  font-size: 12px;
  min-height: 100px;
}

.media-kit { background: var(--cream-mid); padding: 32px; text-align: center; }


/* ===================================
   Social Links
   =================================== */
.social-links { display: flex; gap: 20px; }
.social-links a { font-size: 13px; color: var(--text-on-light-secondary); }
.social-links a:hover { color: var(--sage); }


/* ===================================
   Footer — Dark
   =================================== */
.footer {
  border-top: 1px solid var(--border-dark);
  padding: 36px 0;
  background: var(--dark);
  color: var(--text-on-dark);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__brand {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 450;
  letter-spacing: 0.02em;
  color: var(--text-on-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer__logo {
  opacity: 0.75;
  flex-shrink: 0;
}

.footer__links { display: flex; gap: 18px; }
.footer__links a { font-size: 12px; color: var(--text-on-dark-secondary); }
.footer__links a:hover { color: var(--sage-light); }

.footer__copy {
  font-size: 11px;
  color: var(--text-on-dark-muted);
  width: 100%;
  text-align: center;
  margin-top: 16px;
}


/* ===================================
   Rothko accent (subpages)
   =================================== */
.rothko-accent {
  position: relative;
  width: 100%;
  height: 120px;
  margin-bottom: 48px;
  overflow: hidden;
}

.rothko-accent__layer { position: absolute; border-radius: 3px; }

.rothko-accent__layer--a {
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(90deg, var(--cream-dark) 0%, var(--cream-mid) 50%, #DDD5CB 100%);
  filter: blur(30px);
  opacity: 0.4;
}

.rothko-accent__layer--b {
  top: 20px; left: 10%; width: 80%; height: 60%;
  background: linear-gradient(90deg, #8FA387 0%, #A8B9A0 50%, #C4B5A4 100%);
  filter: blur(36px);
  opacity: 0.3;
}


/* ===================================
   Fade & Scroll Animations
   =================================== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Staggered fade for grid children */
.grid-4 .fade-in:nth-child(1) { transition-delay: 0s; }
.grid-4 .fade-in:nth-child(2) { transition-delay: 0.1s; }
.grid-4 .fade-in:nth-child(3) { transition-delay: 0.2s; }
.grid-4 .fade-in:nth-child(4) { transition-delay: 0.3s; }

.research-tiles .fade-in:nth-child(1) { transition-delay: 0s; }
.research-tiles .fade-in:nth-child(2) { transition-delay: 0.12s; }
.research-tiles .fade-in:nth-child(3) { transition-delay: 0.24s; }

.grid-2 .fade-in:nth-child(1) { transition-delay: 0s; }
.grid-2 .fade-in:nth-child(2) { transition-delay: 0.12s; }
.grid-2 .fade-in:nth-child(3) { transition-delay: 0.24s; }
.grid-2 .fade-in:nth-child(4) { transition-delay: 0.36s; }

/* Parallax hint for inkblots */
.parallax-ink {
  will-change: transform;
  transition: transform 0.1s linear;
}


/* ===================================
   Responsive
   =================================== */
@media (max-width: 1024px) {
  .container { padding-left: 40px; padding-right: 40px; }
  .nav__inner { padding: 0 40px; }
  h1 { font-size: 34px; }
  h2 { font-size: 28px; }
  .hero__slogan { font-size: 32px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .spotlight { gap: 36px; }
  .bio-section { gap: 48px; }
  .inkblot--hero { width: 700px; height: 700px; }
  .inkblot--hero-secondary { width: 450px; height: 450px; }
}

@media (max-width: 768px) {
  .container { padding-left: 24px; padding-right: 24px; }
  .nav__inner { padding: 0 24px; }

  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    height: calc(100vh - 56px);
    overflow-y: auto;
    background: rgba(36, 52, 32, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 24px;
    gap: 18px;
  }
  .nav__links.open { display: flex; }
  .nav__toggle { display: block; }

  h1 { font-size: 30px; }
  h2 { font-size: 26px; }
  h3 { font-size: 19px; }
  .section { padding: 60px 0; }

  .hero { min-height: auto; padding-top: 112px; padding-bottom: 56px; }
  .hero__slogan { font-size: 28px; }

  .page-hero { padding-top: 104px; padding-bottom: 36px; }
  .page-hero h1 { font-size: 30px; }

  .grid-2, .grid-3, .grid-3x2, .grid-4 { grid-template-columns: 1fr; }
  .spotlight { grid-template-columns: 1fr; }
  .bio-section { grid-template-columns: 1fr; }
  .bio-section__photo { position: static; max-width: 260px; }

  .subscribe-strip { flex-direction: column; text-align: center; }
  .logos { gap: 24px; }
  .cta-section h2 { font-size: 30px; }
  .event { flex-direction: column; gap: 3px; }
  .footer__inner { flex-direction: column; text-align: center; }
  .vision p { font-size: 17px; }

  .inkblot--hero { width: 500px; height: 500px; }
  .inkblot--hero-secondary { display: none; }
  .inkblot--left, .inkblot--right { display: none; }
  .ink-transition { height: 60px; }
  .ink-splatter--top-right,
  .ink-splatter--bottom-left { display: none; }
  .rothko-accent { height: 80px; }

  /* Touch targets — 44px minimum (WCAG 2.5.5) */
  .nav__toggle {
    width: 44px;
    height: 44px;
  }
  .nav__toggle span {
    width: 24px;
    left: 10px;
  }
  .nav__toggle span:nth-child(1) { top: 13px; }
  .nav__toggle span:nth-child(2) { top: 21px; }
  .nav__toggle span:nth-child(3) { top: 29px; }
  .nav__toggle.active span:nth-child(1) { top: 21px; }
  .nav__toggle.active span:nth-child(3) { top: 21px; }
  .nav__link { padding: 14px 0; }
  .form-group input,
  .form-group textarea,
  .form-group select { min-height: 44px; padding: 12px 13px; }
  .btn--small { min-height: 44px; padding: 12px 16px; }
}

@media (max-width: 480px) {
  h1 { font-size: 26px; }
  .hero__slogan { font-size: 22px; }
  .btn-group { flex-direction: column; }
  .btn-group .btn { text-align: center; }

  .hero__descriptors {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .hero__descriptors span + span::before { display: none; }
  .inkblot--hero { width: 350px; height: 350px; }

  .page-hero { padding-top: 88px; padding-bottom: 28px; }
  .page-hero h1 { font-size: 26px; }
  .post__title { font-size: 19px; }
  .experiment-card__title { font-size: 16px; }
  .grid-2, .grid-3, .grid-3x2, .grid-4 { gap: 12px; }
  .section { padding: 48px 0; }
  .rothko-accent { height: 60px; }
  .fd-lab-feature { gap: 24px; }
}


/* ===================================
   Landing Page — Dark Canvas Layout
   body.body--dark activates fixed
   neural-ink canvas with scroll-over
   content panels.
   =================================== */

/* Base overrides — sage-green "paper" with charcoal ink */
.body--dark {
  background: #4F6B47;
  color: var(--text-on-dark);
}

.body--dark .label {
  color: var(--cream);
  opacity: 0.7;
}

.body--dark .text-secondary {
  color: var(--text-on-dark-secondary);
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--sage);
  color: var(--cream);
  padding: 8px 16px;
  z-index: 2000;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: top 0.3s ease;
  text-decoration: none;
}
.skip-link:focus {
  top: 8px;
  color: var(--cream);
}

/* Fixed full-viewport neural canvas */
.body--dark .neural-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
}

/* Hero — transparent, canvas shows through */
.body--dark .hero {
  background: transparent;
  overflow: visible;
  position: relative;
  z-index: 1;
}

/* Content sections — scrolling panels over canvas */
.content-section {
  position: relative;
  z-index: 1;
  padding: 96px 0;
  background: rgba(30, 29, 27, 0.45);
  color: var(--text-on-dark);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Text-shadow for legibility against moving canvas */
.content-section h2,
.content-section h3,
.content-section p,
.content-section .label {
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

.content-section p {
  color: var(--text-on-dark);
}

.content-section--compact {
  padding: 56px 0;
}

.content-section--centered {
  text-align: center;
}

/* Canvas reveal gaps — transparent windows to neural canvas */
.canvas-reveal {
  position: relative;
  z-index: 0;
  height: 200px;
  pointer-events: none;
}

.canvas-reveal--sm {
  height: 120px;
}

/* Section heading */
.section-title {
  font-size: 32px;
  margin-bottom: 40px;
  color: var(--text-on-dark);
}

/* Vision text on dark */
.body--dark .vision p {
  color: var(--text-on-dark);
}

/* ===================================
   Work List — Editorial Typographic
   =================================== */
.work-list {
  display: flex;
  flex-direction: column;
}

.work-item {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 24px;
  align-items: baseline;
  padding: 28px 0;
  border-top: 1px solid var(--border-dark);
  text-decoration: none;
  color: var(--text-on-dark);
  transition: all 0.35s ease;
}

.work-item:last-child {
  border-bottom: 1px solid var(--border-dark);
}

.work-item:hover {
  background: rgba(255, 255, 255, 0.02);
  padding-left: 16px;
  padding-right: 16px;
  margin-left: -16px;
  margin-right: -16px;
}

.work-item__type {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-dark);
  padding-top: 3px;
}

.work-item__body {
  min-width: 0;
}

.work-item__title {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
  color: var(--text-on-dark);
  line-height: 1.3;
  transition: color 0.3s ease;
}

.work-item:hover .work-item__title {
  color: var(--cream);
}

.work-item__excerpt {
  font-size: 13px;
  color: var(--text-on-dark-secondary);
  line-height: 1.6;
  margin-bottom: 0;
}

.work-item__date {
  font-size: 11px;
  color: var(--text-on-dark-muted);
  text-align: right;
  white-space: nowrap;
  padding-top: 3px;
}

/* ===================================
   Buttons — Dark canvas context
   =================================== */
.body--dark .btn--primary {
  background: var(--text-on-dark);
  color: var(--dark);
}
.body--dark .btn--primary:hover {
  background: var(--cream-dark);
  color: var(--dark);
  transform: translateY(-1px);
}

.body--dark .btn--outline {
  color: var(--text-on-dark-secondary);
  border-color: rgba(255, 255, 255, 0.12);
}
.body--dark .btn--outline:hover {
  border-color: var(--text-on-dark);
  background: var(--text-on-dark);
  color: var(--dark);
  transform: translateY(-1px);
}

/* Subscribe strip on dark */
.body--dark .subscribe-strip__title {
  color: var(--text-on-dark);
}

/* CTA on dark */
.body--dark .cta-section h2 {
  color: var(--text-on-dark);
  font-size: 36px;
  margin-bottom: 28px;
}

/* Footer — transparent glass */
.body--dark .footer {
  position: relative;
  z-index: 1;
  background: rgba(30, 29, 27, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-top-color: rgba(255, 255, 255, 0.08);
}


/* ===================================
   Introduction Section
   =================================== */
.intro-section {
  display: grid;
  grid-template-columns: 196px 1fr;
  gap: 48px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.intro-section__headshot {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.intro-section__headshot img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.intro-section__text {
  padding-top: 4px;
}

.intro-section__name {
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-on-dark);
  margin-bottom: 10px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

.intro-section__credentials {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-on-dark-secondary);
  margin-bottom: 24px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.intro-section__credentials span + span::before {
  content: ' \00B7  ';
}

.intro-section__bio p {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  font-style: normal;
  line-height: 1.75;
  color: var(--cream-dark);
  margin-bottom: 16px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.intro-section__bio p:last-child {
  margin-bottom: 0;
}

.intro-section__quote {
  margin-top: 28px;
}

.intro-section__quote p {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 17px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.5;
  color: var(--cream-dark);
  margin-bottom: 8px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.intro-section__quote cite {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  color: var(--text-on-dark-secondary);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}


/* ===================================
   CTA Headline + Services
   =================================== */
.cta-section__headline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 36px;
  font-weight: 300;
  font-style: italic;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--text-on-dark);
  margin-bottom: 20px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

.cta-section__services {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-on-dark-secondary);
  margin-bottom: 32px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}


/* ===================================
   Landing Page Responsive
   =================================== */
@media (max-width: 1024px) {
  .section-title { font-size: 28px; }

  .work-item__title { font-size: 16px; }
}

@media (max-width: 768px) {
  .content-section { padding: 60px 0; }
  .content-section--compact { padding: 40px 0; }

  .canvas-reveal { height: 140px; }
  .canvas-reveal--sm { height: 90px; }

  .section-title { font-size: 26px; margin-bottom: 28px; }

  .fd-lab-feature { grid-template-columns: 1fr; gap: 28px; }
  .fd-lab-feature > div:first-child { text-align: center; }

  .research-intro { font-size: 15px; }
  .research-tiles {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 36px;
  }

  .work-item {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 20px 0;
  }
  .work-item:hover {
    padding-left: 12px;
    padding-right: 12px;
    margin-left: -12px;
    margin-right: -12px;
  }
  .work-item__date {
    text-align: left;
    order: -1;
  }
  .work-item__type {
    order: -1;
  }

  .body--dark .cta-section h2 { font-size: 28px; }

  .intro-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .intro-section__headshot { max-width: 168px; }
  .intro-section__name { font-size: 24px; }
  .intro-section__bio { text-align: left; }
  .intro-section__bio p { font-size: 14px; }
}

@media (max-width: 480px) {
  .canvas-reveal { height: 100px; }
  .canvas-reveal--sm { height: 60px; }

  .work-item__title { font-size: 16px; }
  .work-item__excerpt { font-size: 12px; }
}


/* ===================================
   Blog Post — Listen Button
   =================================== */
.blog-post__listen {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
}

.listen-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  background: transparent;
  border: 1px solid var(--sage);
  padding: 8px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 2px;
  line-height: 1;
}

.listen-btn:hover {
  background: var(--sage);
  color: var(--cream);
}

.listen-btn:disabled {
  opacity: 0.4;
  cursor: default;
}

.listen-btn--active {
  background: var(--sage);
  color: var(--cream);
}

.listen-btn__icon {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .listen-btn { font-size: 10px; padding: 7px 13px; }
}
