/* ══════════════════════════════════════════════════════════════
   SHARED STYLES — tristanwerkmeister.com
   All pages link to this single stylesheet.
   ══════════════════════════════════════════════════════════════ */

/* ── SELF-HOSTED FONTS ── */
@font-face {
  font-family: 'Cormorant';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url(fonts/cormorant-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url(fonts/cormorant-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant';
  font-style: italic;
  font-weight: 300 400;
  font-display: swap;
  src: url(fonts/cormorant-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant';
  font-style: italic;
  font-weight: 300 400;
  font-display: swap;
  src: url(fonts/cormorant-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url(fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url(fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

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

:root {
  --bg:      oklch(97.5% 0.005 90);
  --text:    oklch(9.5% 0.005 90);
  --accent:  oklch(37% 0.095 152);
  --muted:   oklch(53% 0.009 90);
  --border:  oklch(89.5% 0.007 90);
  --serif:   'Cormorant', Georgia, serif;
  --sans:    'Inter', system-ui, -apple-system, sans-serif;
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-expo:  cubic-bezier(0.16, 1, 0.3, 1);

  /* Plyr overrides */
  --plyr-color-main: oklch(37% 0.095 152);
  --plyr-font-family: var(--sans);
  --plyr-font-size-base: 13px;
  --plyr-control-radius: 0;
  --plyr-video-control-background-hover: oklch(37% 0.095 152 / 0.85);
  --plyr-range-fill-background: oklch(37% 0.095 152);
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; scrollbar-gutter: stable; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── SKIP LINK ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 200;
  padding: 0.75rem 1.5rem;
  background: var(--text);
  color: var(--bg);
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: top 0.15s ease;
}
.skip-link:focus {
  top: 1rem;
}

/* ── FOCUS VISIBLE ── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
input:focus-visible,
textarea:focus-visible {
  outline: none;
  border-color: var(--accent);
}
.btn:focus-visible {
  outline-offset: 4px;
}

/* ── NAV ── */
@keyframes nav-enter {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.375rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
  animation: nav-enter 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}
nav.scrolled { border-color: var(--border); }

.nav-name {
  font-family: var(--serif);
  font-size: 1.0625rem;
  font-weight: 400;
  letter-spacing: 0.015em;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-name:hover { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after { transform: scaleX(1); }

/* ── MOBILE NAV ── */
.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  flex-direction: column;
  gap: 5px;
  z-index: 101;
  position: relative;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--text);
  transform-origin: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-burger.open span:first-child { transform: translateY(3px) rotate(45deg); }
.nav-burger.open span:last-child  { transform: translateY(-3px) rotate(-45deg); }
.nav-mobile {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.nav-mobile.open { opacity: 1; visibility: visible; }
.nav-mobile ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  width: min(420px, 85vw);
}
.nav-mobile ul li {
  border-top: 1px solid var(--border);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s cubic-bezier(0.22, 1, 0.36, 1), transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-mobile ul li:last-child { border-bottom: 1px solid var(--border); }
.nav-mobile.open ul li { opacity: 1; transform: none; }
.nav-mobile.open ul li:nth-child(1) { transition-delay: 0.06s; }
.nav-mobile.open ul li:nth-child(2) { transition-delay: 0.11s; }
.nav-mobile.open ul li:nth-child(3) { transition-delay: 0.16s; }
.nav-mobile.open ul li:nth-child(4) { transition-delay: 0.21s; }
.nav-mobile.open ul li:nth-child(5) { transition-delay: 0.26s; }
.nav-mobile.open ul li:nth-child(6) { transition-delay: 0.31s; }
.nav-mobile.open ul li:nth-child(7) { transition-delay: 0.36s; }
.nav-mobile.open ul li:nth-child(8) { transition-delay: 0.41s; }
.nav-mobile ul a {
  display: block;
  font-family: var(--serif);
  font-size: 2.125rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
  padding: 0.875rem 0;
  transition: color 0.2s;
}
.nav-mobile ul a:hover { color: var(--accent); }

/* ── SECTION SHARED ── */
.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 5rem 3rem 3.5rem;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 2px;
  height: 14px;
  background: var(--accent);
  flex-shrink: 0;
}

h2 {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
}

h3 {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: -0.008em;
  margin-bottom: 0.75rem;
}

/* ── HERO (index) ── */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 5rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: 10rem 3rem 6rem;
}

h1 {
  font-family: var(--serif);
  font-size: clamp(4rem, 6.5vw, 7rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}
h1 em { font-style: italic; color: var(--accent); }

.hero-tagline {
  font-size: 1rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.8;
  max-width: 40ch;
  margin-bottom: 2.75rem;
}

.btn {
  display: inline-block;
  background: var(--text);
  color: var(--bg);
  padding: 0.9375rem 2.25rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.btn:hover { background: var(--accent); transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(0.97); transition-duration: 0.08s; }

/* External-link arrow icon — used on every link that opens a new tab.
   Anchors to the bottom of the text (baseline-bottom) rather than middle,
   so the square sits flush with the visual bottom of the letters. */
.ext-arrow {
  display: inline-block;
  vertical-align: baseline;
  transform: translateY(1px);
  margin-left: 0.45em;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out-quint);
  will-change: transform;
}
a:hover .ext-arrow,
.btn:hover .ext-arrow,
.speaking-event-card:hover .ext-arrow,
.press-card:hover .ext-arrow {
  transform: translate(2px, -2px);
}

.hero-photo {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  background: oklch(90% 0.022 80);
}

/* Headshot fade-in */
.hero-headshot {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0;
  mix-blend-mode: multiply;
  animation: hero-photo-fadein 1s cubic-bezier(0.22, 1, 0.36, 1) 0.4s forwards;
}
@keyframes hero-photo-fadein {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── HERO BUTTONS ── */
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  transition: border-color 0.2s, color 0.2s, transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn-outline:hover { background: transparent; color: var(--accent); border-color: var(--accent); transform: translateY(-1px); }
.btn-outline:active { transform: translateY(0) scale(0.97); transition-duration: 0.08s; }
.btn-icon { display: inline-flex; align-items: center; gap: 0.5rem; }
.btn-icon svg { width: 15px; height: 15px; fill: currentColor; flex-shrink: 0; }
.btn-linkedin-logo {
  height: 15px;
  width: auto;
  display: block;
  filter: brightness(0);
  transition: filter 0.25s ease;
}
.btn-outline:hover .btn-linkedin-logo { filter: none; }

/* ── CREDIBILITY BAR ── */
.logos {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.logos-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.75rem 3rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.logos-label {
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.logos-divider { width: 1px; height: 1.25rem; background: var(--border); }
.logos-list { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.logos-list img {
  height: 32px;
  width: auto;
  display: block;
  filter: grayscale(1) opacity(0.45);
  transition: filter 0.3s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.logos-list img:hover { filter: grayscale(0) opacity(1); transform: scale(1.06); }
.logos-list img[alt="Reuters"] { height: 48px; }
.logos-list img[alt="AP"] { height: 32px; }
.logos-list img[alt="France 24"] { height: 32px; }
.logos-list img[alt="France Info"] { height: 19px; }
.logos-list img[alt="Nieman Lab"] { height: 22px; }
.logos-list img[alt="Reuters Institute for the Study of Journalism"] { height: 42px; }

/* ── ABOUT ── */
.about-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 5rem;
  align-items: start;
}
.about-left { display: flex; flex-direction: column; }
.about-photo {
  position: relative;
  margin: 0 0 2.5rem 0;
  overflow: hidden;
  background: var(--border);
}
.about-photo picture {
  display: block;
}
.about-photo img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: left center;
  filter: grayscale(100%);
  transition: filter 0.6s var(--ease-out-quint);
}
.about-photo:hover img { filter: grayscale(0%); }
.about-photo-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.5rem 1.25rem 1rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 300;
  line-height: 1.5;
  color: oklch(98% 0 0);
  background: linear-gradient(to top,
    oklch(0% 0 0 / 0.78) 0%,
    oklch(0% 0 0 / 0.4) 55%,
    transparent 100%);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s var(--ease-out-quint), transform 0.35s var(--ease-out-quint);
  pointer-events: none;
}
.about-photo:hover .about-photo-caption,
.about-photo:focus-within .about-photo-caption {
  opacity: 1;
  transform: translateY(0);
}
@media (hover: none) {
  .about-photo-caption { opacity: 1; transform: none; }
}
.about-right h2 { margin-bottom: 2rem; max-width: 22ch; }
.about-right h2 em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}

/* Ghost reveal — "nobody sees" fades in from a faint, blurred state */
.ghost-reveal {
  display: inline-block;
  opacity: 0.14;
  filter: blur(7px);
  letter-spacing: 0.04em;
  transition:
    opacity 1.6s var(--ease-out-quint),
    filter 1.6s var(--ease-out-quint),
    letter-spacing 1.6s var(--ease-out-quint);
  will-change: opacity, filter;
}
.ghost-reveal.is-seen {
  opacity: 1;
  filter: blur(0);
  letter-spacing: normal;
}
@media (prefers-reduced-motion: reduce) {
  .ghost-reveal {
    opacity: 1;
    filter: none;
    letter-spacing: normal;
    transition: none;
  }
}
.about-right p {
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 1.125rem;
  max-width: none;
}
.about-right p:last-of-type { margin-bottom: 0; }
.about-cta {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  margin-top: 2rem;
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--text);
  padding-bottom: 3px;
  transition: gap 0.25s var(--ease-out-quint), color 0.25s ease, border-color 0.25s ease;
}
.about-cta span { transition: transform 0.25s var(--ease-out-quint); }
.about-cta:hover { color: var(--accent); border-bottom-color: var(--accent); }
.about-cta:hover span { transform: translateX(4px); }

/* ── VIDEO SECTION ── */
.video-section {
  background: oklch(9% 0.003 90);
  border-top: 1px solid oklch(14% 0.004 90);
}
.video-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 5rem 3rem 3.5rem;
}
.video-section .section-label { color: var(--accent); }
.video-section h2 { color: oklch(95.5% 0.006 90); margin-bottom: 3rem; }

/* Video card grid */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.video-card {
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease-out-quint), box-shadow 0.35s var(--ease-out-quint);
}
.video-card:hover {
  transform: translateY(-4px);
}

.video-card-player {
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  background: oklch(6% 0.003 90);
}
.video-card-player video,
.video-card-player .plyr {
  width: 100%;
  aspect-ratio: 9 / 16;
  display: block;
}
.video-card-player .plyr__video-wrapper {
  height: 100%;
}

/* Hide bottom controls by default, show on hover — keep centre play button */
.video-card-player .plyr__controls {
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.video-card-player:hover .plyr__controls,
.video-card-player .plyr--playing .plyr__controls {
  opacity: 1;
  pointer-events: auto;
}
.video-card-player .plyr__control--overlaid {
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* Poster scale on hover */
.video-card-player .plyr__poster {
  transition: transform 0.5s var(--ease-out-quint), filter 0.5s var(--ease-out-quint);
}
.video-card:hover .plyr__poster {
  transform: scale(1.03);
  filter: brightness(0.85);
}

/* Staggered card entrance */
.fade-in.visible .video-card {
  opacity: 0;
  transform: translateY(20px);
  animation: video-card-in 0.6s var(--ease-out-quint) both;
}
.fade-in.visible .video-card:nth-child(1) { animation-delay: 0.15s; }
.fade-in.visible .video-card:nth-child(2) { animation-delay: 0.27s; }
.fade-in.visible .video-card:nth-child(3) { animation-delay: 0.39s; }
@keyframes video-card-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.video-card-info {
  padding: 1.25rem 0.25rem 0;
}
.video-card-org {
  display: block;
  font-size: 0.5625rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: oklch(100% 0 0 / 0.4);
  margin-bottom: 0.625rem;
}
.video-card-title {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.008em;
  color: oklch(95% 0.006 90);
  margin-bottom: 0.625rem;
}
.video-card-role {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 300;
  color: oklch(100% 0 0 / 0.45);
  letter-spacing: 0.02em;
}

/* CTA below video grid */
.video-section-cta {
  text-align: center;
  margin-top: 3rem;
}
.video-section-cta .btn {
  background: transparent;
  color: oklch(95% 0.006 90);
  border: 1px solid oklch(100% 0 0 / 0.15);
}
.video-section-cta .btn:hover {
  background: var(--accent);
  color: oklch(98% 0 0);
  border-color: var(--accent);
}

/* ── AI PRODUCTS — editorial catalogue ── */
.ai-wrap {
  background: oklch(96% 0.012 152);
  margin: 0;
}
.ai-wrap .section { padding-top: 5.5rem; padding-bottom: 5.5rem; }

.ai-header { max-width: 56ch; margin-bottom: 4rem; }
.ai-header h2 em {
  font-style: italic;
  color: var(--accent);
}
.ai-standfirst {
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--muted);
  margin-top: 1.5rem;
  max-width: 60ch;
}

/* Two-column layout: Open Source (left) | Proprietary (right) */
.ai-tracks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: start;
}
.ai-track {
  display: flex;
  flex-direction: column;
}

/* Track rule — labels each column */
.ai-track-rule {
  padding-top: 1.125rem;
  border-top: 1px solid oklch(72% 0.03 152);
  margin-bottom: 2.5rem;
}
.ai-track-name {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
}

/* Tool list — used by both columns */
.ai-rows {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.ai-row {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.ai-row-title {
  font-family: var(--serif);
  font-size: 1.625rem;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.008em;
  color: var(--text);
  margin: 0;
}
.ai-row-desc {
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}
.ai-row-cta {
  align-self: flex-start;
  margin-top: 0.5rem;
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  padding-bottom: 0.375rem;
  border-bottom: 1px solid currentColor;
  transition: color 0.2s ease, gap 0.3s var(--ease-out-quint);
}
.ai-row-cta:hover { gap: 0.875rem; color: var(--text); }

/* ── IMPACT / AUDIENCE DEV ── */
#impact {
  background: oklch(95.5% 0.005 90);
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  margin-top: -1px;
}
#impact > .section-label,
#impact > h2,
#impact > .impact-grid {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 3rem;
  padding-right: 3rem;
}

.impact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3.5rem;
  align-items: start;
}

.impact-block {
  border: 1px solid var(--border);
  padding: 3rem 2.75rem;
  transition: border-color 0.3s var(--ease-out-quint);
}
.impact-block:hover {
  border-color: var(--accent);
}

.impact-org {
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.impact-metric {
  font-family: var(--serif);
  font-size: clamp(5rem, 9vw, 9rem);
  font-weight: 300;
  line-height: 0.95;
  color: var(--accent);
  margin-bottom: 0.875rem;
}
.impact-metric-unit {
  font-size: 0.55em;
  font-weight: 300;
  margin-left: 0.05em;
  color: var(--accent);
  vertical-align: baseline;
}
.impact-metric-label {
  font-family: var(--serif);
  font-size: 1.1875rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.impact-metric-detail {
  font-size: 0.8125rem;
  font-weight: 300;
  color: var(--muted);
}

.impact-secondary {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.impact-sub {
  flex: 1;
}
.impact-sub-num {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.3em;
  color: var(--text);
}
.impact-sub-unit {
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 300;
  color: var(--muted);
  flex-shrink: 0;
}
.impact-sub-label {
  font-size: 0.8125rem;
  font-weight: 300;
  color: var(--muted);
}

/* Growth chart */
.chart-wrap {
  margin-top: 1.5rem;
  position: relative;
}
.chart-svg {
  width: 100%;
  height: auto;
  overflow: visible;
}
.chart-line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.chart-area {
  opacity: 0.1;
}
.chart-grid-line {
  stroke: var(--border);
  stroke-width: 1;
  stroke-dasharray: 4 4;
}
.chart-label {
  font-family: var(--sans);
  font-size: 10px;
  fill: var(--muted);
  font-weight: 300;
}
.chart-end-dot {
  fill: var(--accent);
}
.chart-start-dot {
  fill: var(--muted);
}
.chart-label-value {
  font-size: 11px;
  font-weight: 400;
  fill: var(--muted);
}

/* ── TEACHING ── */
.teaching-hero {
  position: relative;
  width: 100%;
  height: 48vh;
  min-height: 320px;
  overflow: hidden;
  content-visibility: auto;
  contain-intrinsic-size: auto 48vh;
}
.teaching-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  display: block;
}
.teaching-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    oklch(9% 0.003 90 / 0.82) 0%,
    oklch(9% 0.003 90 / 0.28) 55%,
    transparent 100%);
  display: flex;
  align-items: flex-end;
}
.teaching-hero-inner {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 2.75rem 3rem;
}
.teaching-hero-inner .section-label { color: oklch(100% 0 0 / 0.6); margin-bottom: 0.75rem; display: block; }
.teaching-hero-inner h2 { color: oklch(95.5% 0.006 90); }
.teaching-body {
  padding-top: 4rem;
  padding-bottom: 2.5rem;
}
.teaching-stat {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  font-style: italic;
  color: var(--accent);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}
.teaching-content {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  margin-bottom: 0;
}
.teaching-hook {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.8;
  max-width: 60ch;
  margin-bottom: 2.5rem;
}
.teaching-sub {
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.course-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 640px;
}
.course-list li {
  font-family: var(--serif);
  font-size: 1.375rem;
  font-weight: 400;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  letter-spacing: -0.005em;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.course-list li:first-child { border-top: 1px solid var(--border); }
.course-title { display: block; }
.course-desc {
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 300;
  color: var(--muted);
  letter-spacing: 0;
  line-height: 1.5;
}
.teaching-audience {
  font-size: 0.8125rem;
  font-weight: 300;
  color: var(--muted);
  margin-top: 1.25rem;
  margin-bottom: 0;
  font-style: italic;
}
.teaching-right {
  position: sticky;
  top: 100px;
}
.teaching-photo {
  position: relative;
  margin: 0 0 2rem;
  overflow: hidden;
}
.teaching-photo img {
  width: 100%;
  height: auto;
  display: block;
}
.teaching-photo-caption {
  margin-top: 0.875rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--muted);
  letter-spacing: 0.02em;
  line-height: 1.5;
}
.teaching-institutions {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.institution-strip {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: nowrap;
  overflow-x: auto;
}
.institution-badge {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.institution-badge:hover { transform: scale(1.06); }
.institution-badge img {
  height: 36px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1) opacity(0.5);
  transition: filter 0.3s ease;
}
.institution-badge img[alt="City St George's, University of London"] { height: 52px; }
.institution-badge img[alt="University of Central Lancashire"] { height: 48px; }
.institution-badge:hover img { filter: grayscale(0) opacity(0.85); }

/* ── SPEAKING EVENTS ── */
.speaking-section-header {
  max-width: 1180px;
  margin: 0 auto;
  padding: 3rem 3rem 2rem;
}
.speaking-photo-strip {
  display: flex;
  gap: 3px;
  height: 380px;
  overflow: hidden;
  contain: layout style paint;
}
.speaking-photo-strip picture {
  flex: 1;
  min-width: 0;
  height: 100%;
  display: flex;
}
.speaking-photo-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: grayscale(1) brightness(0.88);
  transition: filter 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: filter;
}
.speaking-photo-strip picture:nth-child(1) img,
.speaking-photo-strip picture:nth-child(3) img {
  object-position: left 20%;
}
.speaking-photo-strip picture:hover {
  flex: 2;
  transition: flex 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.speaking-photo-strip picture:hover img {
  filter: grayscale(0) brightness(1);
}
.speaking-section-body {
  max-width: 1180px;
  margin: 0 auto;
  padding: 2.5rem 3rem 5rem;
  display: grid;
  grid-template-columns: 45fr 55fr;
  gap: 3rem;
  align-items: start;
}
.speaking-video-col {
  position: sticky;
  top: 100px;
  align-self: start;
}
.speaking-video-poster {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--text);
}
.speaking-video-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55);
}
.speaking-video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.speaking-video-poster--static img {
  filter: brightness(0.82);
}
.speaking-video-caption {
  margin-top: 0.875rem;
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.speaking-blurb {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.8;
}
.speaking-events-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
.speaking-event-card {
  border: 1px solid var(--border);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  transition: border-color 0.2s, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  text-decoration: none;
  color: inherit;
}
.speaking-event-card:hover { border-color: var(--accent); transform: translateY(-3px); border-left: 3px solid var(--accent); }
.speaking-event-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}
.event-logo {
  height: 36px;
  width: auto;
  max-width: 80px;
  object-fit: contain;
  filter: grayscale(1) opacity(0.5);
  flex-shrink: 0;
  transition: filter 0.25s ease;
}
.speaking-event-card:hover .event-logo { filter: grayscale(0) opacity(1); }
.speaking-event-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.event-type {
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.event-location {
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--muted);
  white-space: nowrap;
}
.event-title {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.event-desc {
  font-size: 0.8125rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.7;
}

/* Event card reveal on hover */
.event-reveal {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.speaking-event-card:hover .event-reveal {
  grid-template-rows: 1fr;
}
.event-reveal-inner {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.event-people {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  padding-bottom: 0.625rem;
  border-bottom: 1px solid var(--border);
}
.event-person {
  font-size: 0.8125rem;
  font-weight: 300;
  color: var(--text);
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  align-items: baseline;
}
.event-role {
  font-size: 0.5625rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  flex-shrink: 0;
}
.event-person-group {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  align-items: baseline;
}
.event-person-group .event-role {
  padding-top: 0.125rem;
  align-self: flex-start;
}
.event-names {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}
.event-names li {
  font-size: 0.8125rem;
  font-weight: 300;
  color: var(--text);
  line-height: 1.5;
}
@media (prefers-reduced-motion: reduce) {
  .event-reveal { grid-template-rows: 1fr; }
}

/* ── PRESS ── */
#press {
  background: oklch(96% 0.003 90);
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}
#press > .section-label,
#press > h2,
#press > .press-grid {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 3rem;
  padding-right: 3rem;
}

.press-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.press-card {
  border: 1px solid var(--border);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.press-card:hover { border-color: var(--accent); transform: translateY(-3px); border-left: 3px solid var(--accent); }
.press-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}
.press-card-logo {
  height: 28px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  object-position: left;
  filter: grayscale(1) opacity(0.45);
  transition: filter 0.25s ease;
  display: block;
  align-self: flex-start;
}
.press-card:hover .press-card-logo { filter: grayscale(0) opacity(0.85); }
.press-card-logo--dark { filter: grayscale(1) brightness(0) opacity(0.45); }
.press-card:hover .press-card-logo--dark { filter: grayscale(1) brightness(0) opacity(0.85); }
.press-card-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.375rem;
  flex-shrink: 0;
}
.press-type {
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.press-year {
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--muted);
}
.press-outlet {
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}
h3.press-title {
  font-family: var(--serif);
  font-size: 1.4375rem;
  font-weight: 400;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 0;
}
.press-cta {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-top: auto;
  padding-top: 0.5rem;
}
.press-placeholder {
  border: 1px dashed var(--border);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
}
.press-placeholder p {
  font-size: 0.8125rem;
  font-weight: 300;
  color: var(--muted);
  text-align: center;
  line-height: 1.6;
}

/* ── CONTACT ── */
.contact-section {
  border-top: none;
  background: var(--accent);
  color: oklch(98% 0 0);
}
.contact-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 5rem 3rem 3.5rem;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 7rem;
  align-items: start;
}
.contact-section .section-label {
  color: oklch(100% 0 0 / 0.55);
}
.contact-section .section-label::before {
  background: oklch(100% 0 0 / 0.55);
}
.contact-section h2 {
  color: oklch(98% 0 0);
}
.contact-intro p {
  font-size: 0.9375rem;
  font-weight: 300;
  color: oklch(100% 0 0 / 0.72);
  line-height: 1.85;
  margin-top: 1.5rem;
  max-width: 52ch;
}
.contact-intro p a {
  color: oklch(100% 0 0);
  text-decoration: none;
  font-weight: 400;
  border-bottom: 1px solid oklch(100% 0 0 / 0.35);
  padding-bottom: 1px;
  transition: border-color 0.2s;
}
.contact-intro p a:hover { border-color: oklch(100% 0 0); }
.contact-intro p + p { margin-top: 0.875rem; }
.contact-form-wrap { position: relative; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.contact-section form { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-section .form-group { display: flex; flex-direction: column; gap: 0.625rem; }
.contact-section label {
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: oklch(100% 0 0 / 0.5);
}
.contact-section input,
.contact-section textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid oklch(100% 0 0 / 0.2);
  padding: 0.75rem 0;
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 300;
  color: oklch(98% 0 0);
  outline: none;
  resize: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}
.contact-section input::placeholder,
.contact-section textarea::placeholder { color: oklch(100% 0 0 / 0.35); }
.contact-section input:focus,
.contact-section textarea:focus { border-color: oklch(100% 0 0 / 0.55); }
.contact-section textarea { min-height: 110px; }
.contact-section button[type="submit"] {
  align-self: flex-start;
  background: oklch(98% 0 0);
  color: var(--accent);
}
.contact-section button[type="submit"]:hover {
  background: oklch(100% 0 0);
  transform: translateY(-1px);
}

/* Inline validation — dark background variant */
.contact-section .form-error {
  font-size: 0.75rem;
  font-weight: 300;
  color: oklch(85% 0.12 15);
  min-height: 0;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(-2px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.contact-section .form-error.visible {
  opacity: 1;
  transform: translateY(0);
}
.contact-section input.invalid,
.contact-section textarea.invalid {
  border-color: oklch(75% 0.12 15);
}

/* Success confirmation panel */
.contact-success[hidden] {
  display: none !important;
}
.contact-success:not([hidden]) {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1.25rem;
  padding: 4rem 2rem;
  animation: contact-success-in 0.5s var(--ease-out-quint) both;
}
@keyframes contact-success-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.contact-success-icon {
  opacity: 0.85;
}
.contact-section .contact-success-icon circle {
  stroke: oklch(100% 0 0);
}
.contact-section .contact-success-icon path {
  stroke: oklch(100% 0 0);
}
.contact-success-title {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 0;
  color: oklch(98% 0 0);
}
.contact-success-reset {
  background: none;
  border: none;
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 400;
  color: oklch(100% 0 0 / 0.7);
  cursor: pointer;
  padding: 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.contact-success-reset:hover {
  color: oklch(100% 0 0);
  border-bottom-color: oklch(100% 0 0 / 0.5);
}

/* ── FOOTER ── */
footer { border-top: 1px solid var(--border); }
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 2rem 3rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.footer-name { font-family: var(--serif); font-size: 0.9375rem; font-weight: 400; }
.footer-links { display: flex; gap: 2rem; list-style: none; }
.footer-links a {
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 0.75rem; font-weight: 300; color: var(--muted); text-align: right; }

/* ── FORM SUBMIT STATES ── */
@keyframes btn-confirm {
  0%   { transform: scale(1); }
  45%  { transform: scale(1.05); }
  100% { transform: scale(1); }
}
.btn--sent  { background: var(--accent); animation: btn-confirm 0.35s cubic-bezier(0.22, 1, 0.36, 1); }
.btn--error { background: oklch(35% 0.12 15); }

/* ── HERO ENTRANCE — scroll-reel reveal ── */

/* Clip containers for the reel-swipe reveal */
.hero-reveal-clip {
  display: block;
  overflow: hidden;
}

/* Reel-swipe reveal for "stop the scroll." text */
@media (prefers-reduced-motion: no-preference) {
  .hero-reveal {
    display: block;
    transform: translateY(110%);
    animation: reel-swipe-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.6s forwards;
  }
}
@keyframes reel-swipe-up {
  to { transform: translateY(0); }
}

/* Reduced motion: everything instant, no scroll animation */
@media (prefers-reduced-motion: reduce) {
  .hero-headshot { opacity: 1; transform: none; animation: none; }
  .hero-reveal { transform: none !important; animation: none !important; }
}

/* ── SCROLL CUE ── */
.scroll-cue {
  position: fixed;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  opacity: 0;
  animation: scroll-cue-fadein 1s ease 1.8s forwards;
  transition: opacity 0.4s ease;
}
.scroll-cue.hidden { opacity: 0 !important; animation: none; }
@media (prefers-reduced-motion: reduce) {
  .scroll-cue { opacity: 0.45; animation: none; }
  .scroll-cue-arrow { animation: bounce-arrow 1.4s ease-in-out infinite; }
}
@keyframes scroll-cue-fadein {
  to { opacity: 0.45; }
}
.scroll-cue-arrow {
  display: block;
  animation: bounce-arrow 1.4s ease-in-out 1.8s infinite;
}
.scroll-cue-arrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg);
}
@keyframes bounce-arrow {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}

/* ── FADE IN ── */
.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease-out-quint), transform 0.7s var(--ease-out-quint);
}
.fade-in.visible { opacity: 1; transform: none; }

/* Staggered children within visible sections */
.fade-in.visible .section-label { animation: stagger-in 0.5s var(--ease-out-quint) 0.05s both; }
.fade-in.visible h2 { animation: stagger-in 0.5s var(--ease-out-quint) 0.12s both; }
.fade-in.visible .about-layout,
.fade-in.visible .impact-grid,
.fade-in.visible .ai-tracks,
.fade-in.visible .teaching-content,
.fade-in.visible .speaking-section-body,
.fade-in.visible .press-grid,
.fade-in.visible .video-grid,
.fade-in.visible .contact-inner { animation: stagger-in 0.6s var(--ease-out-quint) 0.22s both; }

@keyframes stagger-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── OVERDRIVE A: SCROLL-DRIVEN NAV PROGRESS ── */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll()) {
    nav::after {
      content: '';
      position: absolute;
      inset: auto 0 -1px 0;
      height: 1px;
      background: var(--accent);
      transform: scaleX(0);
      transform-origin: left;
      animation: nav-scroll-progress linear both;
      animation-timeline: scroll(root block);
    }
    @keyframes nav-scroll-progress {
      from { transform: scaleX(0); }
      to   { transform: scaleX(1); }
    }
  }
}

/* ── OVERDRIVE A: HERO RECEDE ── */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .hero {
      animation: hero-recede linear both;
      animation-timeline: view();
      animation-range: exit 0% exit 50%;
    }
    @keyframes hero-recede {
      from { opacity: 1; transform: translateY(0); }
      to   { opacity: 0.6; transform: translateY(-24px); }
    }
  }
}

/* ── OVERDRIVE B: VIEW TRANSITIONS ── */
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) {
    animation: 180ms ease both vt-out;
  }
  ::view-transition-new(root) {
    animation: 320ms cubic-bezier(0.16, 1, 0.3, 1) 80ms both vt-in;
  }
  @keyframes vt-out { to { opacity: 0; } }
  @keyframes vt-in  { from { opacity: 0; } }
}

/* ── OVERDRIVE: SCROLL-DRIVEN SECTION REVEALS (disabled — static) ── */

/* ── OVERDRIVE: TEACHING HERO PARALLAX ── */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .teaching-hero-img {
      animation: teaching-parallax linear both;
      animation-timeline: view();
      animation-range: entry 0% exit 100%;
    }
    @keyframes teaching-parallax {
      from { transform: translateY(-60px); }
      to   { transform: translateY(60px); }
    }
  }
}

/* ── OVERDRIVE: CHART DOT PULSE ── */
.chart-pulse-dot {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
  pointer-events: none;
}
.chart-pulse-dot.pulsing {
  animation: chart-pulse 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes chart-pulse {
  0%   { transform: scale(1);   opacity: 0.5; }
  100% { transform: scale(5.5); opacity: 0;   }
}
@media (prefers-reduced-motion: reduce) {
  .chart-pulse-dot { display: none; }
}

/* ══════════════════════════════════════════════════════════════
   BOOK PAGE
   ══════════════════════════════════════════════════════════════ */
.page-body {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
.page-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 7rem 3rem 2rem;
}
.page-tagline {
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.85;
  margin-top: 1.25rem;
  max-width: 52ch;
}
.cal-container {
  flex: 1;
  margin-top: 2.5rem;
  min-height: 600px;
}
#my-cal-inline-call {
  width: 100%;
  height: 100%;
  min-height: 600px;
  overflow: scroll;
}

/* ══════════════════════════════════════════════════════════════
   SCRIPTWIZARD PAGE
   ══════════════════════════════════════════════════════════════ */

/* ScriptWizard nav overrides */
.sw-nav {
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
}
.sw-nav .nav-back { justify-self: start; }
.sw-nav .nav-brand { justify-self: center; }
.sw-nav > span:last-child { justify-self: end; }
.nav-back {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s;
}
.nav-back:hover { color: var(--text); }
.nav-brand {
  font-family: var(--serif);
  font-size: 1.0625rem;
  font-weight: 400;
  letter-spacing: 0.015em;
  color: var(--text);
  text-decoration: none;
}
.nav-github {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-github:hover { color: var(--text); }

/* ScriptWizard hero */
.sw-hero {
  max-width: 860px;
  margin: 0 auto;
  padding: 9rem 3rem 6rem;
}

/* Staggered hero entrance for SW page */
@media (prefers-reduced-motion: no-preference) {
  .sw-stagger {
    opacity: 0;
    transform: translateY(18px);
    animation: sw-stagger-in 0.7s var(--ease-out-quint) both;
    animation-delay: calc(0.3s + var(--stagger, 0) * 0.14s);
  }
  @keyframes sw-stagger-in {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
  }
}
@media (prefers-reduced-motion: reduce) {
  .sw-stagger { opacity: 1; transform: none; }
}

/* Staggered children in SW fade-in sections */
.sw-section.fade-in.visible .steps { animation: stagger-in 0.6s var(--ease-out-quint) 0.22s both; }
.sw-section.fade-in.visible .command-list { animation: stagger-in 0.6s var(--ease-out-quint) 0.22s both; }
.sw-section.fade-in.visible .limit-list { animation: stagger-in 0.6s var(--ease-out-quint) 0.22s both; }
.disclaimer-section.fade-in.visible .disclaimer-grid { animation: stagger-in 0.6s var(--ease-out-quint) 0.22s both; }
.sw-hero h1 {
  font-size: clamp(2.75rem, 5vw, 4.5rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin-bottom: 1.75rem;
}
.hero-badges {
  display: flex;
  gap: 0.625rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.badge {
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.3125rem 0.75rem;
  border: 1px solid var(--border);
  color: var(--muted);
}
.badge-accent {
  border-color: var(--accent);
  color: var(--accent);
}
.hero-lead {
  font-size: 1.0625rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.8;
  max-width: 56ch;
  margin-bottom: 2.75rem;
}

/* ScriptWizard sections */
.sw-section {
  max-width: 860px;
  margin: 0 auto;
  padding: 6rem 3rem;
}
.sw-section + .sw-section { padding-top: 0; }
.sw-section h2 {
  font-size: clamp(1.875rem, 3vw, 2.625rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 3rem;
}

.divider { border: none; border-top: 1px solid var(--border); }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.step-num {
  font-family: var(--serif);
  font-size: 0.875rem;
  font-style: italic;
  color: var(--muted);
  margin-bottom: 1rem;
}
.step h3 {
  font-size: 1.5rem;
  letter-spacing: -0.005em;
  margin-bottom: 0.875rem;
}
.step-desc {
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.step-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.step-list li {
  font-size: 0.8125rem;
  font-weight: 300;
  color: var(--muted);
  padding-left: 1rem;
  position: relative;
}
.step-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.75rem;
}

/* Commands */
.command-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.command-item {
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}
.command-item:first-child { border-top: 1px solid var(--border); }
.command-code {
  font-family: 'Courier New', monospace;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--accent);
  background: oklch(37% 0.095 152 / 0.06);
  padding: 0.375rem 0.75rem;
  display: inline-block;
  line-height: 1.5;
}
.command-desc {
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.8;
}

/* Limitations */
.limit-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.limit-item {
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}
.limit-item:first-child { border-top: 1px solid var(--border); }
.limit-title {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 0.625rem;
}
.limit-desc {
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.8;
  max-width: 64ch;
}

/* Disclaimer */
.disclaimer-section { border-top: 1px solid var(--border); }
.disclaimer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 0;
}
.disclaimer-item {
  padding: 2rem;
  border: 1px solid var(--border);
}
.disclaimer-item-title {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.disclaimer-item-text {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.8;
}

/* ScriptWizard footer */
.sw-footer .footer-inner {
  max-width: 860px;
}

/* ══════════════════════════════════════════════════════════════
   ARTICLE PAGES
   ══════════════════════════════════════════════════════════════ */
.article-page {
  max-width: 740px;
  margin: 0 auto;
  padding: 8rem 3rem 4rem;
}
.article-header {
  margin-bottom: 2.5rem;
}
.article-category {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 0.25rem 0.75rem;
  margin-bottom: 1.5rem;
}
.article-page h1 {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 1rem;
}
.article-date {
  display: block;
  font-size: 0.8125rem;
  font-weight: 300;
  color: var(--muted);
}
.article-hero {
  margin: 0 0 2.5rem;
}
.article-hero img {
  width: 100%;
  height: auto;
  display: block;
}
.article-body {
  font-size: 1.0625rem;
  font-weight: 300;
  color: var(--text);
  line-height: 1.85;
}
.article-body p {
  margin-bottom: 1.5rem;
}
.article-body img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 2rem auto;
}
.article-body figure {
  margin: 2rem 0;
}
.article-body figcaption {
  font-size: 0.8125rem;
  font-weight: 300;
  color: var(--muted);
  text-align: center;
  margin-top: 0.75rem;
  line-height: 1.5;
}
.article-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.article-body a:hover {
  color: var(--text);
}
.article-body blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--muted);
}
.article-body h2, .article-body h3 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

/* ══════════════════════════════════════════════════════════════
   WORK PAGE — TABS
   ══════════════════════════════════════════════════════════════ */
.work-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 3rem;
}
.work-tab {
  background: none;
  border: none;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 1rem 2rem;
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
}
.work-tab:hover { color: var(--text); }
.work-tab.active {
  color: var(--text);
}
.work-tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
}
.work-tab-panel {
  display: none;
}
.work-tab-panel.active {
  display: block;
}

/* Highlights section */
.highlights-section {
  margin-bottom: 3.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.highlight-card {
  position: relative;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.3s var(--ease-out-quint);
}
.highlight-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.highlight-card .article-card-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.highlight-card .article-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}
.highlight-card .article-card-cat {
  font-size: 0.5625rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.highlight-card .article-card-title {
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.008em;
  color: var(--text);
  margin: 0;
}
.highlight-card .article-card-date {
  font-size: 0.6875rem;
  font-weight: 300;
  color: var(--muted);
  margin-top: auto;
  padding-top: 0.375rem;
}
@media (max-width: 899px) {
  .highlights-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .highlights-grid {
    grid-template-columns: 1fr;
  }
}

/* All articles section */
.all-articles-section .section-label {
  margin-top: 0;
}

/* Password gate */
.pw-gate {
  border: 1px dashed var(--border);
  padding: 2.5rem;
  text-align: center;
}
.pw-gate-inner {
  max-width: 400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}
.pw-gate-label {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--muted);
}
.pw-gate-row {
  display: flex;
  gap: 0.5rem;
  width: 100%;
}
.pw-gate-input {
  flex: 1;
  padding: 0.65rem 0.75rem;
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 300;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s;
}
.pw-gate-input:focus {
  border-color: var(--accent);
}
.pw-gate-input.invalid {
  border-color: oklch(55% 0.12 15);
}
.pw-gate-btn {
  padding: 0.65rem 1.5rem;
  font-size: 0.6875rem;
  white-space: nowrap;
}
.pw-gate-error {
  font-size: 0.75rem;
  font-weight: 300;
  color: oklch(55% 0.12 15);
  min-height: 1.2em;
}

/* Article filters — search bar + dropdowns */
.article-filters {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.article-search {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s;
}
.article-search::placeholder {
  color: var(--muted);
}
.article-search:focus {
  border-color: var(--accent);
}
.article-filter-row {
  display: flex;
  gap: 0.75rem;
}
.article-filter-select {
  flex: 1;
  padding: 0.6rem 0.75rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 0;
  cursor: pointer;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23999' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2rem;
}
.article-filter-select:focus {
  border-color: var(--accent);
}
.article-no-results {
  text-align: center;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 300;
  padding: 3rem 0;
}
@media (max-width: 600px) {
  .article-filter-row {
    flex-direction: column;
  }
}

/* Article cards grid */
.article-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}
.article-card {
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.3s var(--ease-out-quint);
  overflow: hidden;
}
.article-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.article-card-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  filter: grayscale(0.3);
  transition: filter 0.3s ease;
}
.article-card:hover .article-card-thumb {
  filter: grayscale(0);
}
.article-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.article-card-cat {
  font-size: 0.5625rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.article-card-title {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.008em;
  color: var(--text);
  margin: 0;
}
.article-card-date {
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--muted);
  margin-top: auto;
  padding-top: 0.5rem;
}

/* ══════════════════════════════════════════════════════════════
   WORK PAGE — VIDEO TAB
   ══════════════════════════════════════════════════════════════ */

/* Highlights embedded player */
.video-highlights-player {
  position: relative;
  width: 100%;
  max-width: 800px;
  aspect-ratio: 16 / 9;
  background: oklch(6% 0.003 90);
}
.video-highlights-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Video cards grid */
.video-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
}

/* Individual video card */
.vcard {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.3s var(--ease-out-quint);
}
.vcard:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

/* Thumbnail wrapper with play overlay */
.vcard-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: oklch(10% 0.003 90);
}
.vcard-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.92);
  transition: filter 0.3s ease, transform 0.5s var(--ease-out-quint);
}
.vcard:hover .vcard-thumb {
  filter: brightness(1);
  transform: scale(1.03);
}
.vcard-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 48px;
  height: 48px;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.vcard:hover .vcard-play {
  opacity: 1;
}

/* Card body */
.vcard-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

/* Badge row */
.vcard-badges {
  display: flex;
  gap: 0.375rem;
  flex-wrap: wrap;
}
.vcard-badge {
  font-size: 0.5625rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 0.15rem 0.5rem;
  line-height: 1.4;
}
.vcard-badge--format {
  color: var(--muted);
  border-color: var(--border);
}

/* Title */
.vcard-title {
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.008em;
  color: var(--text);
  margin: 0;
  /* Clamp to 3 lines */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Date */
.vcard-date {
  font-size: 0.6875rem;
  font-weight: 300;
  color: var(--muted);
  margin-top: auto;
  padding-top: 0.375rem;
}

/* ── Audio list ── */
.audio-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.audio-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.audio-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.audio-title {
  font-family: var(--serif);
  font-size: 1.375rem;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.008em;
  color: var(--text);
  margin: 0;
}
.audio-date {
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--muted);
}

/* ── Video highlights grid (stacked, matching article highlights) ── */
.video-highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 899px) {
  .video-highlights-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .video-highlights-grid { grid-template-columns: 1fr; }
}

/* ── Video card as button reset ── */
button.vcard {
  background: none;
  border: 1px solid var(--border);
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  padding: 0;
}
button.vcard:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

/* ── Disabled filter options ── */
.article-filter-select option:disabled {
  color: var(--border);
}

/* ── Video modal ── */
.video-modal[hidden] { display: none; }
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: oklch(0% 0 0 / 0.82);
  animation: modal-fade-in 0.25s ease both;
}
@keyframes modal-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.video-modal-content {
  position: relative;
  width: min(90vw, 960px);
  z-index: 1;
  animation: modal-scale-in 0.3s var(--ease-out-quint) both;
}
@keyframes modal-scale-in {
  from { opacity: 0; transform: scale(0.95) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.video-modal-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  background: none;
  border: none;
  color: oklch(90% 0 0);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.5rem;
  line-height: 1;
  transition: color 0.2s;
  z-index: 2;
}
.video-modal-close:hover { color: white; }
.video-modal-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: oklch(6% 0.003 90);
  border-radius: 4px;
  overflow: hidden;
}
.video-modal-player .plyr {
  width: 100%;
  height: 100%;
}
.video-modal-player .plyr__video-wrapper {
  height: 100%;
}

/* Modal info (title + description below player) */
.video-modal-info {
  padding: 1.25rem 0.25rem 0;
  max-height: 30vh;
  overflow-y: auto;
}
.video-modal-title {
  font-family: var(--serif);
  font-size: 1.375rem;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.008em;
  color: oklch(95% 0 0);
  margin: 0 0 0.625rem;
}
.video-modal-desc {
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 300;
  line-height: 1.7;
  color: oklch(70% 0 0);
  margin: 0;
  white-space: pre-line;
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 899px) {
  nav { padding: 1.25rem 1.5rem; }
  .nav-links { gap: 1.75rem; }
  .logos-inner { flex-wrap: wrap; }
  .logos-list { flex-wrap: wrap; gap: 1.25rem; }
  .logos-list img { height: 24px !important; }
  .logos-list img[alt="Reuters"] { height: 36px !important; }

  .hero {
    grid-template-columns: 1fr;
    padding: 7.5rem 1.5rem 4rem;
    min-height: auto;
    gap: 3rem;
  }
  .hero-photo { order: -1; justify-content: center; width: fit-content; margin: 0 auto; }
  .hero-headshot { max-width: 340px; }

  .logos-inner {
    padding: 1.75rem 1.5rem;
    gap: 1.25rem;
    flex-direction: column;
    align-items: flex-start;
  }
  .logos-divider { display: none; }
  .logos-label { width: 100%; }
  .logos-list { flex-wrap: wrap; gap: 1.25rem; }

  .section { padding: 3.5rem 1.5rem 2.5rem; }
  .about-layout { grid-template-columns: 1fr; gap: 3rem; }

  .video-inner { padding: 3.5rem 1.5rem 2.5rem; }
  .video-grid { grid-template-columns: 1fr; gap: 2.5rem; max-width: 320px; margin: 0 auto; }
  .video-card-title { font-size: 1.125rem; }

  .ai-wrap .section { padding-top: 4rem; padding-bottom: 4rem; }
  .ai-header { margin-bottom: 3rem; }
  .ai-standfirst { font-size: 1.0625rem; }

  .ai-tracks {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .ai-track-rule {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.375rem;
    margin-bottom: 1.75rem;
  }
  .ai-row-title { font-size: 1.4375rem; }

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

  .teaching-hero { height: 38vh; min-height: 260px; }
  .teaching-hero-inner { padding: 2rem 1.5rem; }
  .teaching-body { padding-top: 3rem; padding-bottom: 3.5rem; }
  .teaching-stat { font-size: 1.25rem; }
  .teaching-content { grid-template-columns: 1fr; gap: 2rem; }
  .teaching-right { position: static; }
  .institution-strip { padding: 1.25rem 1.5rem; gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
  .institution-badge img { height: 28px; }
  .speaking-section-header { padding: 3.5rem 1.5rem 1.5rem; }
  .speaking-photo-strip { height: 220px; }
  .speaking-section-body { padding: 2rem 1.5rem 3.5rem; grid-template-columns: 1fr; }
  .speaking-events-grid { grid-template-columns: 1fr; }
  .press-grid { grid-template-columns: 1fr; }
  .contact-inner { padding: 3.5rem 1.5rem 2.5rem; grid-template-columns: 1fr; gap: 3.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { padding: 1.75rem 1.5rem; flex-direction: column; gap: 1rem; text-align: center; }
  .footer-links { justify-content: center; }

  /* About photo: colorise on scroll (JS adds .about-photo--colorised) */
  .about-photo img { filter: grayscale(100%); transition: filter 0.8s var(--ease-out-quint); }
  .about-photo--colorised img { filter: grayscale(0%) !important; }

  /* Impact chart: larger text for mobile readability */
  .chart-label { font-size: 20px; }
  .chart-label-value { font-size: 22px; }
  .chart-line { stroke-width: 3.5; }
  .chart-start-dot { r: 6; }
  .chart-end-dot { r: 7; }
  .chart-grid-line { stroke-width: 1.5; }
  .impact-block { padding: 2rem 1.5rem; }
  .chart-wrap { margin-top: 2rem; }

  /* Speaking cards: expand on scroll (JS adds .is-expanded) */
  .speaking-event-card.is-expanded .event-reveal { grid-template-rows: 1fr; }
  .speaking-event-card.is-expanded { border-color: var(--accent); border-left: 3px solid var(--accent); }
  .speaking-event-card.is-expanded .event-logo { filter: grayscale(0) opacity(1); }

  /* Book page */
  .page-wrap { padding: 6.5rem 1.5rem 2rem; }

  /* ScriptWizard page */
  .sw-hero { padding: 7.5rem 1.5rem 4rem; }
  .sw-section { padding: 4rem 1.5rem; }
  .steps { grid-template-columns: 1fr; gap: 2.5rem; }
  .command-item { grid-template-columns: 1fr; gap: 1rem; }
  .disclaimer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  h1 { font-size: 3.25rem; }
  .ctrl-title { display: none; }
}