/* ============================================================
   Dr. Sanjay Arora · design system
   Premium editorial dark · warm gold accent
   ============================================================ */

:root {
  /* Ivory light mode · deep indigo type · warm coral accent */
  --bg: #f5efe2;
  --bg-2: #ece4d2;
  --bg-3: #e0d6bf;
  --ink: #1e1b4b;
  --ink-2: #44416b;
  --ink-3: #8a85b0;
  --line: rgba(30, 27, 75, 0.14);
  --accent: #e87a47;
  --accent-2: #ff9466;
  --accent-deep: #b85a2f;
  --indigo-soft: #6b6aa8;
  --maxw: 1440px;
  --gutter: clamp(20px, 4vw, 64px);

  --font-display: "Fraunces", "Playfair Display", Georgia, serif;
  --font-sans: "Inter", "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html {
  scroll-behavior: auto;
  background: var(--bg);
}

html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }
.lenis.lenis-smooth iframe { pointer-events: none; }
.lenis.lenis-smooth iframe.lenis-iframe-active { pointer-events: auto; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  cursor: none;
}

@media (hover: none) {
  body { cursor: auto; }
}

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

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

::selection {
  background: var(--accent);
  color: var(--bg);
}

/* ---------- Custom cursor ---------- */

.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), background 0.3s;
}
.cursor.cursor--hover {
  width: 56px; height: 56px;
  background: var(--accent-2);
}
.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 36px; height: 36px;
  border: 1px solid var(--ink-2);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  opacity: 0.5;
}
@media (hover: none) {
  .cursor, .cursor-ring { display: none; }
}

/* ---------- Page transition mask ---------- */

.page-mask {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9000;
  transform: scaleY(1);
  transform-origin: top;
  pointer-events: none;
}

/* ---------- Loader ---------- */

.loader {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 9500;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  gap: 20px;
}
.loader__name {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(40px, 8vw, 110px);
  font-style: italic;
  letter-spacing: -0.03em;
  overflow: hidden;
}
.loader__name span {
  display: inline-block;
  transform: translateY(110%);
}
.loader__bar {
  width: min(280px, 60vw);
  height: 1px;
  background: var(--line);
  overflow: hidden;
}
.loader__bar::before {
  content: "";
  display: block;
  width: 0%;
  height: 100%;
  background: var(--accent);
  animation: loaderFill 1.4s var(--ease-out) forwards;
}
@keyframes loaderFill {
  to { width: 100%; }
}

/* ---------- Navigation ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 24px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  transition: background 0.4s var(--ease-out), backdrop-filter 0.4s;
}
.nav.is-scrolled {
  background: rgba(245, 239, 226, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(18px);
}
.nav > * { pointer-events: auto; }

.nav__brand {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 20px;
  font-style: italic;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav__brand-mark {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  color: var(--bg);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 13px;
  font-style: normal;
}

.nav__menu {
  display: flex;
  gap: 36px;
  list-style: none;
  font-size: 13.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav__menu a {
  position: relative;
  padding: 6px 0;
  color: var(--ink-2);
  transition: color 0.3s;
}
.nav__menu a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.4s var(--ease-out);
}
.nav__menu a:hover,
.nav__menu a.is-active {
  color: var(--ink);
}
.nav__menu a:hover::after,
.nav__menu a.is-active::after {
  width: 100%;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.nav__cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}
.nav__cta::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  transition: background 0.3s;
}
.nav__cta:hover::before { background: var(--bg); }

.nav__burger {
  display: none;
  width: 38px; height: 38px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.nav__burger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--ink);
  margin-left: auto;
  transition: transform 0.3s, opacity 0.3s, width 0.3s;
}
.nav__burger span:nth-child(2) { width: 16px; }

@media (max-width: 820px) {
  .nav__menu, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav.is-menu-open .nav__burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); width: 22px; }
  .nav.is-menu-open .nav__burger span:nth-child(2) { opacity: 0; }
  .nav.is-menu-open .nav__burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); width: 22px; }
}

.nav__mobile {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 99;
  padding: 120px var(--gutter) 60px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 300;
  font-style: italic;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-20px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.nav__mobile.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.nav__mobile a {
  color: var(--ink-2);
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
  transition: color 0.3s, padding-left 0.3s;
}
.nav__mobile a:hover {
  color: var(--accent);
  padding-left: 12px;
}

/* ---------- Layout primitives ---------- */

.section {
  position: relative;
  padding: clamp(80px, 12vw, 180px) var(--gutter);
}
.section--tight { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(40px, 6vw, 80px); }
.section--flush { padding-left: 0; padding-right: 0; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px; height: 1px;
  background: var(--accent);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1;
}

.display {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(56px, 11vw, 180px);
  line-height: 0.95;
  letter-spacing: -0.04em;
}
.display em {
  font-style: italic;
  color: var(--accent);
  font-weight: 300;
}

.h2 {
  font-size: clamp(36px, 6vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.025em;
}
.h2 em { font-style: italic; color: var(--accent); }

.h3 {
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.15;
}

.kicker {
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.lead {
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 60ch;
}

p { color: var(--ink-2); }
p + p { margin-top: 1em; }

/* Reveal animation utility — used by JS */
.reveal {
  opacity: 0;
  transform: translateY(40px);
}
.reveal-line {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.reveal-line > span {
  display: inline-block;
  transform: translateY(110%);
}

/* ---------- Hero (Home) ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  padding: 140px var(--gutter) 80px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 60% at 80% 20%, rgba(232, 122, 71, 0.18), transparent 70%),
    radial-gradient(40% 40% at 20% 80%, rgba(232, 122, 71, 0.08), transparent 70%),
    var(--bg);
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.4;
  mask-image: radial-gradient(circle at 50% 50%, black, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black, transparent 80%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 80px);
  align-items: end;
  max-width: var(--maxw);
  margin: 0 auto;
  width: 100%;
}
.hero__left {
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 5vw, 64px);
  min-width: 0;
}
.hero__right {
  position: relative;
  min-width: 0;
}
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .hero__right { order: -1; }
}

.hero__name {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(48px, 7.5vw, 124px);
  line-height: 0.88;
  letter-spacing: -0.045em;
  overflow-wrap: break-word;
  word-break: break-word;
}
.hero__name em {
  font-style: italic;
  color: var(--accent);
  font-weight: 300;
}
.hero__name .line { display: block; overflow: hidden; }
.hero__name .line > span { display: inline-block; }

.hero__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 32px;
  max-width: 560px;
  font-size: 13.5px;
  color: var(--ink-2);
}
@media (max-width: 560px) {
  .hero__meta { grid-template-columns: 1fr; gap: 14px; }
}
.hero__meta-row {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.hero__meta-row strong {
  display: block;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 4px;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.18em;
}

.hero__scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.hero__scroll::after {
  content: "";
  width: 1px; height: 40px;
  background: linear-gradient(var(--accent), transparent);
  animation: scrollPulse 2s var(--ease-in-out) infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.5); transform-origin: top; }
  50%      { transform: scaleY(1);   transform-origin: top; }
}

/* ---------- Marquee ---------- */

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding: 28px 0;
  background: var(--bg);
  white-space: nowrap;
}
.marquee__track {
  display: inline-flex;
  gap: 60px;
  animation: marquee 30s linear infinite;
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 64px);
  font-weight: 200;
  font-style: italic;
  letter-spacing: -0.02em;
}
.marquee__track span { display: inline-block; }
.marquee__track .dot {
  color: var(--accent);
  font-style: normal;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.stats__item {
  padding: 48px 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background 0.4s;
}
.stats__item:hover { background: rgba(232, 122, 71, 0.04); }
.stats__item:nth-child(4n) { border-right: none; }
.stats__num {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 200;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 10px;
}
.stats__num em { font-style: italic; color: var(--accent); }
.stats__label {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats__item:nth-child(4n) { border-right: 1px solid var(--line); }
  .stats__item:nth-child(2n) { border-right: none; }
}

/* ---------- Two-column rows ---------- */

.row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
@media (max-width: 900px) { .row2 { grid-template-columns: 1fr; } }

/* ---------- Cards / videos / IG ---------- */

.video-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.5s var(--ease-out), border-color 0.4s;
}
.video-card:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 122, 71, 0.4);
}
.video-card__frame {
  aspect-ratio: 16 / 9;
  background: #000;
  position: relative;
}
.video-card__frame iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: none;
}
.video-card__body {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.video-card__show {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.video-card__title {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.6vw, 26px);
  font-weight: 300;
  line-height: 1.2;
  color: var(--ink);
}
.video-card__meta {
  font-size: 13px;
  color: var(--ink-3);
}

.video-hero {
  position: relative;
  margin: 0 calc(var(--gutter) * -1);
  background: #000;
}
.video-hero iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  display: block;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 1100px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Instagram embeds ---------- */

.ig-hero {
  display: grid;
  grid-template-columns: minmax(0, 540px) 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
@media (max-width: 900px) { .ig-hero { grid-template-columns: 1fr; } }

.ig-embed {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  position: relative;
  isolation: isolate;
}
.ig-embed iframe {
  width: 100%;
  border: none;
  display: block;
  background: #fff;
}
.ig-embed--large iframe { min-height: 760px; }
.ig-embed--card iframe { min-height: 560px; }

.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .ig-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ig-grid { grid-template-columns: 1fr; } }

.ig-tag {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 2;
  background: var(--accent);
  color: var(--bg);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 600;
}

/* ---------- Pillars / topics ---------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.pillar {
  background: var(--bg);
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: background 0.4s;
  min-height: 320px;
  justify-content: space-between;
}
.pillar:hover { background: var(--bg-2); }
.pillar__num {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent);
  font-size: 28px;
  font-weight: 300;
}
.pillar__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 1.8vw, 30px);
  font-weight: 300;
  line-height: 1.15;
}
.pillar__body {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.6;
}
@media (max-width: 700px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- Press logos ---------- */

.press {
  display: flex;
  flex-wrap: wrap;
  gap: 36px 60px;
  align-items: center;
  justify-content: center;
  padding-block: 32px;
  border-block: 1px solid var(--line);
}
.press__item {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: 22px;
  color: var(--ink-3);
  letter-spacing: -0.02em;
  transition: color 0.3s;
}
.press__item:hover { color: var(--ink); }

/* ---------- Pinned timeline ---------- */

.timeline {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding-block: 32px;
  border-bottom: 1px solid var(--line);
}
.timeline__year {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 28px;
  color: var(--accent);
  font-weight: 300;
}
.timeline__body h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 300;
  margin-bottom: 6px;
}
.timeline__body p {
  font-size: 14.5px;
  color: var(--ink-2);
}

/* ---------- CTA band ---------- */

.cta-band {
  padding: clamp(80px, 12vw, 180px) var(--gutter);
  background: var(--bg);
  border-top: 1px solid var(--line);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 50% at 50% 100%, rgba(232, 122, 71, 0.15), transparent 70%);
  pointer-events: none;
}
.cta-band__title {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(48px, 9vw, 140px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  position: relative;
}
.cta-band__title em { font-style: italic; color: var(--accent); }
.cta-band__sub {
  color: var(--ink-2);
  margin-top: 24px;
  font-size: 17px;
  position: relative;
}
.cta-band__btn-wrap {
  margin-top: 48px;
  position: relative;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 20px 36px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.3s, transform 0.3s, box-shadow 0.4s;
  border: none;
  cursor: none;
}
.btn:hover {
  background: var(--accent-2);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(232, 122, 71, 0.35);
}
.btn--ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}
.btn--ghost:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.btn__arrow {
  display: inline-block;
  width: 14px; height: 14px;
  position: relative;
}
.btn__arrow::before,
.btn__arrow::after {
  content: "";
  position: absolute;
  background: currentColor;
}
.btn__arrow::before {
  left: 0; top: 50%;
  width: 14px; height: 1.5px;
  transform: translateY(-50%);
}
.btn__arrow::after {
  right: 0; top: 50%;
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  background: transparent;
  transform: translateY(-50%) rotate(45deg);
}

/* ---------- Page header (interior pages) ---------- */

.page-header {
  padding: 160px var(--gutter) 80px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-header__title {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(56px, 12vw, 180px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  max-width: 1200px;
}
.page-header__title em { font-style: italic; color: var(--accent); }
.page-header__sub {
  margin-top: 28px;
  max-width: 720px;
  font-size: clamp(16px, 1.3vw, 19px);
  color: var(--ink-2);
}

.page-header__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.5;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(232, 122, 71, 0.16), transparent 70%);
}

/* ---------- About page ---------- */

.bio-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
@media (max-width: 900px) { .bio-grid { grid-template-columns: 1fr; } }

.bio-aside {
  position: sticky;
  top: 120px;
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.bio-aside__block {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.bio-aside__block strong {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
  font-weight: 500;
}
.bio-aside__block p { font-size: 14px; color: var(--ink); }

.bio-content p {
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.65;
  color: var(--ink-2);
  margin-bottom: 1.4em;
}
.bio-content h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 300;
  letter-spacing: -0.02em;
  margin: 1.8em 0 0.6em;
  line-height: 1.1;
}
.bio-content h2:first-child { margin-top: 0; }
.bio-content em { color: var(--ink); font-style: italic; }

.list-bare {
  list-style: none;
  display: flex;
  flex-direction: column;
}
.list-bare li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 15px;
  color: var(--ink);
}
.list-bare li:last-child { border-bottom: none; }
.list-bare li span:last-child { color: var(--ink-3); text-align: right; flex-shrink: 0; }

/* ---------- Speaking page ---------- */

.talk-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px 40px;
}
@media (max-width: 900px) { .talk-list { grid-template-columns: 1fr; } }

.talk-orgs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.talk-orgs span {
  background: var(--bg);
  padding: 40px 24px;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 24px;
  color: var(--ink-2);
  font-weight: 300;
  transition: background 0.3s, color 0.3s;
}
.talk-orgs span:hover { background: var(--bg-2); color: var(--accent); }

/* ---------- Book page ---------- */

.topmate-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-2);
  min-height: 880px;
}
.topmate-wrap iframe {
  width: 100%;
  min-height: 880px;
  border: none;
}
.topmate-fallback {
  padding: 80px 40px;
  text-align: center;
}

.session-types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}
@media (max-width: 900px) { .session-types { grid-template-columns: 1fr; } }

.session {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 32px;
  transition: transform 0.4s var(--ease-out), border-color 0.3s;
}
.session:hover {
  transform: translateY(-6px);
  border-color: rgba(232, 122, 71, 0.4);
}
.session__icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(232, 122, 71, 0.12);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  margin-bottom: 20px;
}
.session__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 22px;
  margin-bottom: 10px;
}
.session__body {
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-block {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.contact-block__label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 10px;
}
.contact-block__value {
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 32px);
  font-weight: 300;
  letter-spacing: -0.01em;
}
.contact-block__value a:hover { color: var(--accent); }

.social-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.social-grid a {
  border: 1px solid var(--line);
  padding: 22px 24px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s, border-color 0.3s;
}
.social-grid a:hover {
  background: var(--bg-2);
  border-color: rgba(232, 122, 71, 0.4);
}
.social-grid a span:first-child {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  font-weight: 300;
}
.social-grid a span:last-child {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  transition: color 0.3s;
}
.social-grid a:hover span:last-child { color: var(--accent); }

/* ---------- Footer ---------- */

.footer {
  padding: 100px var(--gutter) 40px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
}
@media (max-width: 900px) {
  .footer__top { grid-template-columns: 1fr; }
}
.footer__title {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.03em;
}
.footer__title em { font-style: italic; color: var(--accent); }

.footer__col h4 {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
  margin-bottom: 18px;
}
.footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
}
.footer__col a { color: var(--ink-2); transition: color 0.3s; }
.footer__col a:hover { color: var(--accent); }

.footer__base {
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.05em;
  flex-wrap: wrap;
}

/* ---------- Misc ---------- */

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.tag {
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-2);
}

/* ---------- Hero canvas (mesh + particles) ---------- */

canvas.scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* ---------- Hero photo (right of hero name) ---------- */

.hero__photo {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin-left: auto;
  aspect-ratio: 3 / 4;
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(135deg, var(--indigo-soft) 0%, var(--accent) 100%);
  box-shadow:
    0 40px 90px -30px rgba(30, 27, 75, 0.35),
    0 0 0 1px rgba(30, 27, 75, 0.06);
  will-change: transform;
}
.hero__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.02);
}
.hero__photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(30, 27, 75, 0.18) 100%);
  pointer-events: none;
}
@media (max-width: 900px) {
  .hero__photo {
    max-width: 320px;
    margin-left: 0;
  }
}

/* ---------- Portrait split section ---------- */

.portrait-section {
  position: relative;
  overflow: hidden;
}
.portrait-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
@media (max-width: 900px) { .portrait-grid { grid-template-columns: 1fr; } }

.portrait-card {
  aspect-ratio: 4 / 5;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(135deg, var(--indigo-soft) 0%, var(--accent) 100%);
  box-shadow: 0 60px 120px -40px rgba(30, 27, 75, 0.35);
  will-change: transform;
}
.portrait-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.05);
  transition: transform 1.4s var(--ease-out);
}
.portrait-card:hover img { transform: scale(1.1); }
.portrait-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(220deg, transparent 50%, rgba(30, 27, 75, 0.18) 100%);
  pointer-events: none;
}
.portrait-card__tag {
  position: absolute;
  top: 22px; left: 22px;
  z-index: 2;
  background: rgba(245, 239, 226, 0.92);
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 500;
  backdrop-filter: blur(6px);
}

/* ---------- Marquee fades into the bg on light mode ---------- */
.marquee {
  background: var(--bg-2);
  position: relative;
}
.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  pointer-events: none;
  z-index: 2;
}
.marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-2), transparent);
}
.marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg-2), transparent);
}

/* ---------- Slight cursor adjustment for light bg ---------- */
.cursor {
  mix-blend-mode: normal;
  background: var(--accent);
}
.cursor.cursor--hover {
  background: var(--ink);
}
.cursor-ring {
  border-color: var(--ink-3);
}

/* ---------- Light-mode footer base ---------- */
.footer {
  background: var(--bg-2);
}

/* ---------- Loader background (light) ---------- */
.loader { background: var(--bg); }
.loader__name { color: var(--ink); }

/* ---------- Pillar hover (subtler on light) ---------- */
.pillar:hover {
  background: var(--bg-2);
}

/* ---------- Topmate iframe wrap on light bg ---------- */
.topmate-wrap { background: #fff; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  html { scroll-behavior: auto; }
}
