/* ── FONTS ─────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&display=swap');

@font-face {
  font-family: 'French Free Demo';
  src: url('../fonts/french-typeface/French-FreeDemo-BF674ee644817f6.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ── TOKENS ───────────────────────────────────────────────── */
:root {
  --navy:       #0B1929;
  --navy-mid:   #112240;
  --navy-light: #1A3155;
  --gold:       #B8975A;
  --gold-light: #D4AF7A;
  --gold-dim:   #8B6E3F;
  --cream:      #F5F0E8;
  --white:      #FFFFFF;
  --text-muted: #8899AA;
  --border:     rgba(184,151,90,.22);
  --navy-deep:  #071422;
  --sheet-bg:   #0D1F35;

  --ff-display: 'French Free Demo', Georgia, serif;
  --ff-heading: 'Playfair Display', Georgia, serif;
  --ff-display-alt: 'Cormorant Garamond', Georgia, serif;
  --ff-body:    'Inter', system-ui, sans-serif;
  --ff-mono:    'DM Mono', monospace;

  --ease-out: cubic-bezier(.16,1,.3,1);
}

/* ── LIGHT MODE TOKENS ────────────────────────────────────── */
html.light-mode {
  --navy:       #F5F0E8;
  --navy-mid:   #FFFFFF;
  --navy-light: #E8E0D4;
  --gold:       #8B6E3F;
  --gold-light: #A6854E;
  --gold-dim:   #B8975A;
  --cream:      #0D0D0D;
  --white:      #0B1929;
  --text-muted: #4A5568;
  --border:     rgba(139,110,63,.25);
  --navy-deep:  #EDE7DB;
  --sheet-bg:   #FFFFFF;
}
html.light-mode body {
  background: var(--navy);
  color: var(--cream);
  font-size: 17px;
}
html.light-mode #nav.scrolled {
  background: rgba(245,240,232,.92);
  border-color: var(--border);
}
html.light-mode .nav-links a { color: var(--text-muted); }
html.light-mode .hero-grid-lines { opacity: .03; }
html.light-mode .hero-orbit { border-color: rgba(139,110,63,.15); }
html.light-mode .orbit-dot { background: var(--gold); }
html.light-mode .africa-emblem { filter: brightness(.75); }
html.light-mode .card-thumb { background: var(--navy-light); }
html.light-mode .portrait-placeholder { background: linear-gradient(160deg, var(--navy-light) 0%, var(--navy-mid) 100%); }
html.light-mode .form-input { background: rgba(0,0,0,.04); color: var(--cream); }
html.light-mode .form-input:focus { border-color: var(--gold); }
html.light-mode .constellation-star { fill: var(--gold); }
html.light-mode .constellation-line { stroke: rgba(139,110,63,.12); }
html.light-mode .sheet-backdrop { background: rgba(245,240,232,.7); }
html.light-mode .sheet { background: var(--sheet-bg); border-top-color: var(--border); }
html.light-mode .sheet-body::-webkit-scrollbar-thumb { background: var(--gold-dim); }
html.light-mode .testimonial-avatar { background: var(--navy-light); border-color: var(--border); }
html.light-mode .testimonials-nav { background: rgba(245,240,232,.6); }
html.light-mode .testimonial-dot { border-color: var(--border); }
html.light-mode .testimonial-dot.active { background: var(--gold); border-color: var(--gold); }
html.light-mode .testimonial-quote::before { color: var(--gold); }
html.light-mode .event-date-box { border-color: var(--border); }
html.light-mode .sheet-event-item { border-bottom-color: var(--border); }
html.light-mode .sheet-exp-item { border-bottom-color: var(--border); }
html.light-mode .sheet-book-detail { border-bottom-color: var(--border); }
html.light-mode .sheet-subtabs { border-bottom-color: var(--border); }
html.light-mode .sheet-subtab.active { border-bottom-color: var(--gold); }
html.light-mode .sheet-close { border-color: var(--border); color: var(--text-muted); }
html.light-mode .sheet-close:hover { border-color: var(--gold); color: var(--gold); }
html.light-mode .space-planet .planet-body { background: radial-gradient(circle at 35% 35%, rgba(139,110,63,.15), rgba(139,110,63,.04)); border-color: rgba(139,110,63,.1); }
html.light-mode .space-planet .planet-ring { border-color: rgba(139,110,63,.08); }
html.light-mode .space-moon { background: var(--gold-dim); box-shadow: 0 0 6px rgba(139,110,63,.15); }
html.light-mode .space-satellite::before,
html.light-mode .space-satellite::after { background: var(--gold-dim); }
html.light-mode .card-overlay { mix-blend-mode: multiply; }
html.light-mode ::-webkit-scrollbar-track { background: var(--navy); }
html.light-mode ::-webkit-scrollbar-thumb { background: var(--gold-dim); }

/* Light-mode text overrides (hardcoded rgba → readable) */
html.light-mode .hero-bio { color: rgba(13,13,13,.88); }
html.light-mode .about-text p { color: rgba(13,13,13,.85); }
html.light-mode .tl-desc { color: rgba(13,13,13,.88); }
html.light-mode .contact-info p { color: rgba(13,13,13,.88); }
html.light-mode .sheet-exp-desc { color: rgba(13,13,13,.88); }
html.light-mode .sheet-book-desc { color: rgba(13,13,13,.88); }
html.light-mode .text-muted-dark { color: rgba(13,13,13,.88) !important; }

/* Book covers stay dark — force light text back */
html.light-mode .bc-1,
html.light-mode .bc-2,
html.light-mode .bc-3 { color-scheme: dark; }
html.light-mode .book-cover-title { color: #F5F0E8; }
html.light-mode .book-cover-sub { color: #D4AF7A; }
html.light-mode .book-cover-light-text { color: #F5F0E8 !important; }
html.light-mode .book-cover-image { color-scheme: dark; }

/* Portrait overlay stays dark for badge readability */
html.light-mode .portrait-badge-title { color: var(--gold); }
html.light-mode .portrait-badge-org { color: #F5F0E8; }

/* Photo caption overlay stays dark for readability */
html.light-mode .sheet-photo-caption { color: #B0BEC5; }

/* ── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
html.no-scroll { overflow: hidden; }
body {
  background: var(--navy);
  color: var(--cream);
  font-family: var(--ff-body);
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: .015em;
  overflow-x: hidden;
  transition: background 1.4s var(--ease-out), color 1s var(--ease-out);
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
::selection { background: var(--gold); color: var(--navy); }

/* ── THEME TRANSITION OVERLAY ─────────────────────────── */
.theme-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
}
.theme-overlay.sunrise {
  animation: theme-sunrise 1.4s var(--ease-out) forwards;
}
.theme-overlay.sunset {
  animation: theme-sunset 1.4s var(--ease-out) forwards;
}
@keyframes theme-sunrise {
  0%   { opacity: 1; background: radial-gradient(circle at var(--ox) var(--oy), rgba(184,151,90,.45) 0%, transparent 12%); }
  40%  { opacity: 1; background: radial-gradient(circle at var(--ox) var(--oy), rgba(212,175,122,.25) 0%, rgba(184,151,90,.08) 50%, transparent 70%); }
  100% { opacity: 0; background: radial-gradient(circle at var(--ox) var(--oy), rgba(245,240,232,.12) 0%, rgba(237,231,219,.06) 50%, transparent 100%); }
}
@keyframes theme-sunset {
  0%   { opacity: 1; background: radial-gradient(circle at var(--ox) var(--oy), rgba(7,20,34,.5) 0%, transparent 12%); }
  40%  { opacity: 1; background: radial-gradient(circle at var(--ox) var(--oy), rgba(11,25,41,.3) 0%, rgba(7,20,34,.12) 50%, transparent 70%); }
  100% { opacity: 0; background: radial-gradient(circle at var(--ox) var(--oy), rgba(7,20,34,.08) 0%, rgba(7,20,34,.04) 50%, transparent 100%); }
}

/* ── SCROLLBAR ────────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--gold-dim); }

/* ── NAV ──────────────────────────────────────────────────── */
#nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
  height: 68px;
  border-bottom: 1px solid transparent;
  transition: background .5s, border-color .5s;
}
#nav.scrolled {
  background: rgba(11,25,41,.92);
  border-color: var(--border);
  backdrop-filter: blur(12px);
}
.nav-logo-img {
  height: 44px;
  width: auto;
  display: block;
  transition: opacity .3s;
  mix-blend-mode: multiply;
}
.nav-logo-img:hover { opacity: .8; }
.fal, .fa-light { font-size: inherit; }
.event-info-loc .fal { margin-right: 4px; }
.nav-links {
  display: flex; gap: 36px; list-style: none;
}
.nav-links a {
  font-family: var(--ff-mono);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color .25s;
  cursor: pointer;
}
.nav-links a:hover { color: var(--gold); }

/* ── HERO ─────────────────────────────────────────────────── */
#hero {
  min-height: 95vh;
  display: grid;
  grid-template-columns: 1.3fr 0.8fr;
  position: relative;
  overflow: hidden;
  padding: 96px 80px 64px 80px;
}
.hero-left {
  display: flex; flex-direction: column; justify-content: center;
  padding: 96px 80px 64px 80px;
  position: relative; z-index: 2;
}
.hero-eyebrow {
  font-family: var(--ff-mono);
  font-size: .7rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.hero-name {
  font-family: var(--ff-heading);
  font-size: clamp(4.5rem, 8vw, 8rem);
  font-weight: 500;
  line-height: 1.05;
  color: var(--white);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .9s .1s var(--ease-out), transform .9s .1s var(--ease-out);
}
.hero-name em {
  font-style: normal;
  color: var(--white);
}
.hero-title {
  margin-top: 20px;
  font-size: .95rem;
  color: var(--text-muted);
  letter-spacing: .06em;
  max-width: 400px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .9s .22s var(--ease-out), transform .9s .22s var(--ease-out);
}
.hero-divider {
  width: 60px; height: 1px;
  background: var(--gold);
  margin: 36px 0;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: opacity .8s .35s, transform .8s .35s var(--ease-out);
}
.hero-bio {
  max-width: 420px;
  font-size: .9rem;
  color: rgba(245,240,232,.65);
  line-height: 1.8;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .9s .45s var(--ease-out), transform .9s .45s var(--ease-out);
}
.hero-cta-row {
  display: flex; gap: 16px; margin-top: 44px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .9s .55s var(--ease-out), transform .9s .55s var(--ease-out);
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 34px;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--ff-mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: background .25s, transform .2s;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 34px;
  background: transparent;
  color: var(--cream);
  font-family: var(--ff-mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid var(--border);
  transition: border-color .25s, color .25s, transform .2s;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

.hero-right {
  position: relative;
  z-index: 3;
  overflow: hidden;
}
.hero-portrait {
  width: 100%; height: 100%;
  background: var(--navy-mid);
  position: relative;
}
.portrait-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, var(--navy-light) 0%, var(--navy) 60%);
  display: flex; align-items: flex-end; justify-content: flex-start;
  padding: 48px;
}
.portrait-svg {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
}
/* Silhouette portrait */
.portrait-art {
  width: 88%;
  height: 100%;
  position: relative;
  overflow: hidden;
  z-index: 1;
  margin: 0 auto;
  transform: translateX(-10%);
}
.portrait-art::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(transparent, rgba(11,25,41,.6));
  pointer-events: none;
}
.portrait-badge {
  position: absolute; bottom: 60px; left: 60px;
  border-left: 2px solid var(--gold);
  padding-left: 20px;
  z-index: 3;
}
.portrait-badge-title {
  font-family: var(--ff-mono);
  font-size: .65rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
}
.portrait-badge-org {
  font-family: var(--ff-display-alt);
  font-size: 1.1rem;
  color: var(--white);
  margin-top: 4px;
}
.hero-grid-lines {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  opacity: .04;
  background-image:
    repeating-linear-gradient(0deg, var(--gold) 0, var(--gold) 1px, transparent 1px, transparent 80px),
    repeating-linear-gradient(90deg, var(--gold) 0, var(--gold) 1px, transparent 1px, transparent 80px);
}
.hero-orbit {
  position: absolute;
  border: 1px solid rgba(184,151,90,.12);
  border-radius: 50%;
  animation: rotate 40s linear infinite;
  z-index: 1;
  pointer-events: none;
}
.hero-orbit-1 { width: 640px; height: 640px; top: 10%; left: 38%; margin-left: -320px; }
.hero-orbit-2 { width: 440px; height: 440px; top: 22%; left: 38%; margin-left: -220px; animation-duration: 28s; animation-direction: reverse; }
.orbit-dot {
  position: absolute;
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
  top: -2.5px; left: 50%;
  transform: translateX(-50%);
}
.africa-emblem {
  position: absolute;
  top: calc(22% + 220px);
  left: 38%;
  width: 240px;
  height: auto;
  transform: translate(-50%, -50%);
  opacity: .85;
  z-index: 1;
  pointer-events: none;
}
@keyframes rotate { to { transform: rotate(360deg); } }

/* loaded state */
body.loaded .hero-eyebrow,
body.loaded .hero-name,
body.loaded .hero-title,
body.loaded .hero-bio,
body.loaded .hero-cta-row { opacity: 1; transform: none; }
body.loaded .hero-divider { opacity: 1; transform: scaleX(1); }

/* ── SCROLL REVEAL ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-left {
  opacity: 0; transform: translateX(-30px);
  transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1);
}
.reveal-left.visible { opacity: 1; transform: none; }
.reveal-right {
  opacity: 0; transform: translateX(30px);
  transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1);
}
.reveal-right.visible { opacity: 1; transform: none; }

/* ── SECTION BASE ─────────────────────────────────────────── */
section { padding: 96px 160px 64px 160px; position: relative; }
.section-label {
  font-family: var(--ff-mono);
  font-size: .65rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.section-heading {
  font-family: var(--ff-heading);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
}
.section-heading em { font-style: normal; color: var(--white); }

/* ── ABOUT ────────────────────────────────────────────────── */
#about {
  background: var(--navy-deep);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  border-top: 1px solid var(--border);
  padding: 96px 160px 64px 160px;
}
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}
.stat-card {
  padding: 28px 24px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: border-color .3s;
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 2px; height: 100%;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .4s var(--ease-out);
}
.stat-card:hover::before { transform: scaleY(1); }
.stat-card:hover { border-color: rgba(184,151,90,.5); }
.stat-number {
  font-family: var(--ff-display);
  font-size: 2.8rem;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: .8rem;
  color: var(--text-muted);
  margin-top: 6px;
  letter-spacing: .05em;
}
.about-text p { color: rgba(245,240,232,.7); margin-bottom: 20px; font-size: 1rem; letter-spacing: .02em; }
.about-quote {
  margin-top: 40px;
  padding: 28px 32px;
  border-left: 3px solid var(--gold);
  background: rgba(184,151,90,.06);
  font-family: var(--ff-display-alt);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--cream);
}

/* ── CARDS GRID (events, photos, experience) ──────────────── */
.cards-section {
  padding: 96px 160px 64px 160px;
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
  position: relative;
}
.cards-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.card {
  position: relative;
  overflow: hidden;
  background: var(--navy-mid);
  cursor: pointer;
  transition: transform .3s var(--ease-out);
}
.card:hover { transform: translateY(-4px); z-index: 2; }
.card-thumb {
  height: 400px;
  background: var(--navy-light);
  overflow: hidden;
  position: relative;
}
.card-thumb-inner {
  width: 100%; height: 100%;
  transition: transform .6s var(--ease-out);
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 2;
}

.card-thumb-icon {
  font-size: 3rem; opacity: .25;
}
.card-thumb-bg {
  position: absolute; inset: 0;
}
.card-body { padding: 28px 28px 32px; }
.card-tag {
  font-family: var(--ff-mono);
  font-size: .62rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.card-title {
  font-family: var(--ff-display-alt);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 10px;
}
.card-desc { font-size: .88rem; color: var(--text-muted); line-height: 1.65; letter-spacing: .015em; }
.card-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 18px;
  font-family: var(--ff-mono);
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  transition: gap .25s;
}
.card:hover .card-arrow { gap: 12px; }
.card-overlay {
  position: absolute; inset: 0;
  background: var(--gold);
  opacity: 0;
  transition: opacity .3s;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.card:hover .card-overlay { opacity: .06; }

/* ── EXPERIENCE TIMELINE ─────────────────────────────────── */
#experience {
  background: var(--navy-deep);
  border-top: 1px solid var(--border);
}
.timeline {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 0 48px;
  margin-top: 64px;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 0; left: 159px;
  width: 1px; height: 100%;
  background: var(--border);
}
.tl-year {
  text-align: right;
  padding-top: 4px;
  padding-right: 0;
}
.tl-year-text {
  font-family: var(--ff-mono);
  font-size: .72rem;
  color: var(--gold);
  letter-spacing: .1em;
}
.tl-content {
  padding: 0 0 56px 48px;
  position: relative;
}
.tl-content::before {
  content: '';
  position: absolute;
  left: -5px; top: 8px;
  width: 9px; height: 9px;
  border: 1px solid var(--gold);
  background: var(--navy-mid);
  transform: rotate(45deg);
}
.tl-role {
  font-family: var(--ff-display-alt);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 4px;
}
.tl-org {
  font-size: .82rem;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 12px;
}
.tl-desc { font-size: .92rem; color: rgba(245,240,232,.6); line-height: 1.75; letter-spacing: .015em; }

/* ── HONOURS ─────────────────────────────────────────────── */
#honours {
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
}
.honours-marquee {
  overflow: hidden;
  margin-top: 56px;
  padding: 8px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.honours-marquee-track {
  display: flex;
  width: max-content;
  animation: honours-marquee 45s linear infinite;
}
.honours-marquee:hover .honours-marquee-track {
  animation-play-state: paused;
}
.honours-marquee-group {
  display: flex;
  gap: 24px;
  padding-right: 24px;
}
@keyframes honours-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.honour-card {
  width: 340px;
  min-height: 240px;
  flex-shrink: 0;
  background: linear-gradient(160deg, #D4AF7A 0%, #B8975A 100%);
  border: 1px solid #8B6E3F;
  border-radius: 0;
  padding: 40px 36px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 10px 30px rgba(184,151,90,.18);
  transition: transform .45s var(--ease-out), border-color .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.honour-card:hover {
  transform: translateY(-6px);
  border-color: #D4AF7A;
  box-shadow: 0 20px 46px rgba(184,151,90,.32);
}
.honour-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.honour-medal {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px solid #071422;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #071422;
  font-size: 1.35rem;
  transition: transform .45s var(--ease-out), background .45s var(--ease-out), color .45s var(--ease-out);
}
.honour-card:hover .honour-medal {
  transform: scale(1.08) rotate(-5deg);
  background: #071422;
  color: #D4AF7A;
}
.honour-year {
  font-family: var(--ff-mono);
  font-size: .72rem;
  letter-spacing: .2em;
  color: #071422;
  border: 1px solid rgba(7,20,34,.45);
  padding: 4px 12px;
  border-radius: 0;
}
.honour-title {
  font-family: var(--ff-display-alt);
  font-size: 1.9rem;
  font-weight: 500;
  color: #071422;
  line-height: 1.3;
}

/* ── BOOKS ───────────────────────────────────────────────── */
#books {
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
}
.books-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 96px;
  margin-top: 64px;
}
.book-card {
  cursor: pointer;
  position: relative;
  transition: transform .3s var(--ease-out);
}
.book-card:hover { transform: translateY(-6px); }
/* Index page only — full-width covers (book sheet untouched) */
#books .book-cover {
  width: 100%;
  margin: 0 0 20px;
  height: 250px;
}
#books .book-cover-image img {
  display: block;
  width: 100%;
  height: auto;
}
#books .book-cover-inner { padding: 26px; }
#books .book-cover-title { font-size: 1.05rem; }
.book-cover {
  height: 280px;
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
}
.book-cover-inner {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  position: relative;
}
.book-cover-title {
  font-family: var(--ff-heading);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1.2;
  position: relative; z-index: 2;
}
.book-cover-sub {
  font-family: var(--ff-mono);
  font-size: .65rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-top: 6px;
  position: relative; z-index: 2;
}
.book-spine {
  position: absolute;
  left: 0; top: 0;
  width: 16px; height: 100%;
  background: var(--gold-dim);
}
.book-meta { padding: 0 4px; }
.book-status {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(184,151,90,.15);
  border: 1px solid var(--border);
  font-family: var(--ff-mono);
  font-size: .6rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.book-meta-title {
  font-family: var(--ff-display-alt);
  font-size: 1rem;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 8px;
}
.book-meta-desc { font-size: .88rem; color: var(--text-muted); line-height: 1.6; letter-spacing: .015em; }

/* Truncated description on index page */
.book-meta-desc.truncated {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.book-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 8px 16px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--gold);
  font-family: var(--ff-mono);
  font-size: .6rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s, border-color .25s, color .25s;
}
.book-read-more:hover {
  background: rgba(184,151,90,.1);
  border-color: var(--gold);
  color: var(--gold-light);
}

/* Sheet book description with proper formatting */
.sheet-book-desc {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.8;
  letter-spacing: .015em;
  white-space: pre-wrap;
  margin-bottom: 16px;
}

.book-buy-btn {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 16px;
  padding: 10px 20px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--gold);
  font-family: var(--ff-mono);
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s, border-color .25s;
}
.book-buy-btn:hover { background: rgba(184,151,90,.1); border-color: var(--gold); }
.book-cover-image {
  height: auto !important;
  overflow: visible;
}
.book-cover-image img {
  display: block;
  width: 100%;
  height: auto;
}
.book-cover-image .book-cover-inner {
  position: absolute;
  inset: 0;
}

/* ── TESTIMONIALS ──────────────────────────────────────────── */
#testimonials {
  background: var(--navy-deep);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: visible;
}
.testimonials-header {
  margin-bottom: 56px;
}
.testimonials-carousel {
  position: relative;
  width: 100%;
}
.testimonials-track {
  overflow: hidden;
  position: relative;
  min-height: 360px;
}
.testimonial-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 36px;
  justify-content: center;
  will-change: transform, opacity, filter;
}
.testimonial-slide.active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
}
.testimonial-content {
  flex: 1;
  max-width: 800px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.testimonial-quote {
  font-family: var(--ff-display-alt);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--cream);
  line-height: 1.7;
  margin-bottom: 32px;
  position: relative;
  padding-left: 32px;
  max-height: 15.5rem;
  overflow: hidden;
  transition: max-height .65s cubic-bezier(.22,1,.36,1);
}
.testimonial-quote::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4rem;
  background: linear-gradient(to top, var(--navy-deep), transparent);
  pointer-events: none;
  opacity: 1;
  transition: opacity .5s ease;
}
.testimonial-slide:hover .testimonial-quote {
  max-height: 80rem;
}
.testimonial-slide:hover .testimonial-quote::after {
  opacity: 0;
}
.testimonial-quote::before {
  content: '\201C';
  position: absolute;
  left: -8px;
  top: -16px;
  font-family: var(--ff-heading);
  font-size: 4rem;
  color: var(--gold);
  opacity: .3;
  line-height: 1;
}
.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 32px;
}
.testimonial-avatar {
  width: 240px;
  height: 320px;
  border-radius: 6px;
  background: var(--navy-light);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-size: 1.6rem;
  color: var(--gold);
  flex-shrink: 0;
  overflow: hidden;
}
.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 6px;
}
.testimonial-name {
  font-family: var(--ff-display-alt);
  font-size: .95rem;
  font-weight: 500;
  color: var(--white);
}
.testimonial-role {
  font-size: .78rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}
.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background .3s, border-color .3s;
}
.testimonial-dot.active {
  background: var(--gold);
  border-color: var(--gold);
}
.testimonial-dot:hover {
  border-color: var(--gold);
}
.testimonials-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  background: rgba(11,25,41,.6);
  backdrop-filter: blur(6px);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: .9rem;
  transition: border-color .25s, color .25s;
  z-index: 2;
}
.testimonials-nav:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.testimonials-prev { left: -96px; }
.testimonials-next { right: -96px; }

/* ── CONTACT / FOOTER ─────────────────────────────────────── */
#contact {
  background: var(--navy);
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  padding: 96px 160px 64px 160px;
}
.contact-info p { color: rgba(245,240,232,.6); font-size: .95rem; margin-bottom: 32px; max-width: 380px; letter-spacing: .015em; }
.contact-links { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.contact-link {
  display: flex; align-items: center; gap: 14px;
  font-size: .88rem; color: var(--text-muted);
  transition: color .25s;
}
.contact-link:hover { color: var(--gold); }
.contact-link-icon {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem;
  flex-shrink: 0;
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-label {
  font-family: var(--ff-mono);
  font-size: .65rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-input {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  color: var(--cream);
  padding: 14px 16px;
  font-family: var(--ff-body);
  font-size: .88rem;
  outline: none;
  transition: border-color .25s;
}
.form-input:focus { border-color: var(--gold); }
.form-textarea { min-height: 120px; resize: vertical; }
footer {
  padding: 96px 160px 64px 160px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--ff-mono);
  font-size: .62rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
footer span { color: var(--gold); }

/* ── SHEET (full-page overlay) ────────────────────────────── */
.sheet-backdrop {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(6,14,24,.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none;
  transition: opacity .5s ease;
}
.sheet-backdrop.open { opacity: 1; pointer-events: all; }
.sheet {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100%;
  max-height: 100dvh;
  height: 100%;
  background: var(--sheet-bg);
  border-top: 1px solid var(--border);
  z-index: 2001;
  transform: translateY(100%);
  transition: transform .65s cubic-bezier(.22,1,.36,1);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.sheet.open { transform: translateY(0); }
.sheet-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px 160px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.sheet-header-label {
  font-family: var(--ff-mono);
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}
.sheet-close {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  cursor: pointer;
  color: var(--text-muted);
  font-size: 1.2rem;
  transition: border-color .25s, color .25s;
  background: transparent;
}
.sheet-close:hover { border-color: var(--gold); color: var(--gold); }
.sheet-body {
  flex: 1;
  overflow-y: auto;
  padding: 96px 160px 64px 160px;
}
.sheet-body::-webkit-scrollbar { width: 3px; }
.sheet-body::-webkit-scrollbar-thumb { background: var(--gold-dim); }
.sheet-title {
  font-family: var(--ff-heading);
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 8px;
}
.sheet-subtitle {
  font-family: var(--ff-mono);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
}
.sheet-divider {
  width: 48px; height: 1px;
  background: var(--gold);
  margin-bottom: 32px;
}

/* Sheet photo grid — masonry layout */
.sheet-photo-grid {
  display: flex;
  gap: 10px;
  margin-bottom: 40px;
  align-items: flex-start;
}
.sheet-photo-grid .masonry-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sheet-photo {
  background: var(--navy-light);
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}
.sheet-photo a { display: block; overflow: hidden; }
.sheet-photo a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.sheet-photo img {
  display: block;
  width: 100%;
  height: auto;
}
.sheet-photo:hover img { transform: scale(1.05); transition: transform .4s cubic-bezier(.22,1,.36,1); }
.sheet-photo-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 10px 14px;
  background: linear-gradient(transparent, rgba(11,25,41,.92));
  font-size: .72rem; color: var(--text-muted);
  line-height: 1.3;
}

/* GLightbox theming */
.glightbox-container .goverlay { background: rgba(2, 8, 16, .95); }
.glightbox-container .glightbox-clean .gprev,
.glightbox-container .glightbox-clean .gnext,
.glightbox-container .glightbox-clean .gclose {
  background: rgba(7, 20, 34, .6);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--gold);
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.glightbox-container .glightbox-clean .gprev:hover,
.glightbox-container .glightbox-clean .gnext:hover,
.glightbox-container .glightbox-clean .gclose:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
}
.glightbox-container .gslide-image img { border-radius: 4px; box-shadow: 0 30px 80px rgba(0,0,0,.55); }
.glightbox-container .gslide-description .gdesc-inner { background: transparent; }
.glightbox-container .gslide-title {
  color: var(--gold);
  font-family: var(--ff-display-alt);
  font-size: 1rem;
  letter-spacing: .02em;
}
.glightbox-container .gslide-desc { color: var(--text-muted); font-size: .85rem; }

/* Sheet event list */
.sheet-event-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
}
.event-date-box {
  text-align: center;
  padding: 12px;
  border: 1px solid var(--border);
}
.event-day {
  font-family: var(--ff-display);
  font-size: 2rem;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
}
.event-month {
  font-family: var(--ff-mono);
  font-size: .6rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
}
.event-info-title {
  font-family: var(--ff-display-alt);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 4px;
}
.event-info-loc {
  font-size: .8rem;
  color: var(--gold);
  margin-bottom: 8px;
}
.event-info-desc { font-size: .88rem; color: var(--text-muted); line-height: 1.6; letter-spacing: .015em; }

/* Sheet experience */
.sheet-exp-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.sheet-exp-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.sheet-exp-role {
  font-family: var(--ff-display-alt);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--white);
}
.sheet-exp-org {
  font-size: .82rem;
  color: var(--gold);
  font-weight: 500;
  margin-top: 3px;
}
.sheet-exp-years {
  font-family: var(--ff-mono);
  font-size: .68rem;
  color: var(--text-muted);
  letter-spacing: .1em;
  white-space: nowrap;
}
.sheet-exp-desc { font-size: .92rem; color: rgba(245,240,232,.6); line-height: 1.75; letter-spacing: .015em; }

/* Sheet book */
.sheet-book-detail {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 32px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.sheet-book-cover {
  height: 260px;
  background: var(--navy-light);
  position: relative;
  overflow: hidden;
  align-self: start;
}
.sheet-book-cover.book-cover-image {
  height: auto !important;
  overflow: visible;
}
.sheet-book-cover.book-cover-image img {
  display: block;
  width: 100%;
  height: auto;
}
.sheet-book-cover.book-cover-image .book-cover-inner {
  position: absolute;
  inset: 0;
}
.sheet-book-buy {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--ff-mono);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  margin-top: 20px;
  transition: background .25s;
}
.sheet-book-buy:hover { background: var(--gold-light); }

.related-book-card .book-cover { height: 200px; }
.related-book-card .book-meta-title { font-size: .82rem; }

.book-review-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.book-review-item:last-child { border-bottom: none; }
.book-review-name {
  font-family: var(--ff-mono);
  font-size: .75rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.book-review-stars {
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 6px;
  letter-spacing: 2px;
}
.book-review-text {
  font-size: .85rem;
  color: var(--cream);
  line-height: 1.6;
}
.book-review-empty {
  font-size: .85rem;
  color: var(--text-muted);
  padding: 12px 0;
}
.review-input:focus { outline: none; border-color: var(--gold); }

.sheet-book-layout {
  display: grid;
  grid-template-columns: 9fr 3fr;
  gap: 40px;
  align-items: start;
}
.sheet-book-review-col {
  border-left: 1px solid var(--border);
  padding-left: 32px;
}

/* ── Sheet sub-tabs ───────────────────────────────────────── */
.sheet-subtabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  padding: 0 160px;
  flex-shrink: 0;
}
.sheet-subtab {
  padding: 14px 28px;
  background: transparent;
  border: none;
  border-bottom: 1px solid transparent;
  color: var(--text-muted);
  font-family: var(--ff-mono);
  font-size: .65rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .25s, border-color .25s;
  margin-bottom: -1px;
}
.sheet-subtab:hover { color: var(--gold); }
.sheet-subtab.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
.subtab-panel { display: none; }
.subtab-panel.active { display: block; }
.subtab-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
  text-align: center;
}
.subtab-placeholder-icon {
  font-size: 2.5rem;
  color: var(--gold-dim);
  margin-bottom: 20px;
  opacity: .5;
}
.subtab-placeholder-text {
  font-family: var(--ff-mono);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── Sheet media portfolio ─────────────────────────────────── */
.sheet-media-item {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 32px;
  padding: 30px 0;
  border-bottom: 1px solid var(--border);
}
.sheet-media-item:last-child { border-bottom: none; }
.sheet-media-lead {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding-top: 4px;
}
.sheet-media-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 10px;
  transition: border-color .25s, color .25s, background .25s;
}
.sheet-media-item:hover .sheet-media-icon {
  background: rgba(184,151,90,.1);
  border-color: var(--gold);
  color: var(--gold-light);
}
.sheet-media-thumb {
  display: block;
  width: 190px;
  max-width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--navy-light);
  margin-bottom: 14px;
  text-decoration: none;
  transition: border-color .25s;
}
.sheet-media-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s cubic-bezier(.22,1,.36,1);
}
.sheet-media-thumb:hover { border-color: var(--gold); }
.sheet-media-item:hover .sheet-media-thumb img { transform: scale(1.05); }
.sheet-media-source {
  font-family: var(--ff-mono);
  font-size: .62rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1.6;
}
.sheet-media-date {
  font-family: var(--ff-mono);
  font-size: .62rem;
  letter-spacing: .1em;
  color: var(--text-muted);
}
.sheet-media-type {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(184,151,90,.15);
  border: 1px solid var(--border);
  font-family: var(--ff-mono);
  font-size: .6rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.sheet-media-title {
  font-family: var(--ff-display-alt);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--white);
  margin-bottom: 10px;
}
.sheet-media-excerpt {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.7;
  letter-spacing: .015em;
  max-width: 720px;
}
.sheet-media-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 10px 18px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--gold);
  font-family: var(--ff-mono);
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background .25s, border-color .25s, color .25s;
}
.sheet-media-link:hover {
  background: rgba(184,151,90,.1);
  border-color: var(--gold);
  color: var(--gold-light);
}

/* Sheet video grid */
.sheet-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.sheet-video-card {
  display: block;
  text-decoration: none;
  background: var(--navy-light);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color .25s, transform .35s cubic-bezier(.22,1,.36,1);
}
.sheet-video-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}
.sheet-video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--navy-deep);
}
.sheet-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s cubic-bezier(.22,1,.36,1);
}
.sheet-video-card:hover .sheet-video-thumb img { transform: scale(1.06); }
.sheet-video-thumb-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--gold-dim);
}
.sheet-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(11,25,41,.55);
  border: 1px solid rgba(245,240,232,.6);
  color: var(--cream);
  font-size: .9rem;
  backdrop-filter: blur(4px);
  transition: background .25s, border-color .25s, color .25s;
}
.sheet-video-card:hover .sheet-video-play {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
}
.sheet-video-body { padding: 16px 18px 20px; }
.sheet-video-source {
  font-family: var(--ff-mono);
  font-size: .6rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.sheet-video-title {
  font-family: var(--ff-display-alt);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--cream);
}
.sheet-video-date {
  font-family: var(--ff-mono);
  font-size: .6rem;
  letter-spacing: .1em;
  color: var(--text-muted);
  margin-top: 10px;
}

/* ── COLOR SCHEMES per book ───────────────────────────────── */
.bc-1 { background: linear-gradient(135deg, #1A2744 0%, #0B1929 100%); }
.bc-2 { background: linear-gradient(135deg, #1F2B1A 0%, #0F1A0A 100%); }
.bc-3 { background: linear-gradient(135deg, #2A1F14 0%, #1A0F0A 100%); }

/* ── STAGGERED REVEAL ────────────────────────────────────── */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1);
  transition-delay: calc(var(--i, 0) * 0.12s);
}
.reveal-stagger > *.visible {
  opacity: 1;
  transform: none;
}

/* ── CONSTELLATION BACKGROUNDS ───────────────────────────── */
.constellation-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}
.constellation-bg svg {
  width: 100%;
  height: 100%;
}
.constellation-star {
  fill: var(--gold-light);
  animation: star-blink var(--blink-dur, 3s) ease-in-out infinite alternate;
  animation-delay: var(--blink-delay, 0s);
}
.constellation-line {
  stroke: rgba(184,151,90,.1);
  stroke-width: .5;
  fill: none;
  transition: stroke .6s ease;
}
.constellation-line.active {
  stroke: rgba(184,151,90,.35);
}
.constellation-glow {
  stroke: rgba(184,151,90,.03);
  stroke-width: 4;
  fill: none;
}
@keyframes star-blink {
  0%   { opacity: .15; r: 1.2; }
  50%  { opacity: .7;  r: 2.2; }
  100% { opacity: .3;  r: 1.5; }
}

/* ── SUBTLE CONSTELLATION (hero-orbit style) ────────────── */
.constellation-subtle .constellation-star {
  fill: var(--gold);
  animation: star-blink-subtle var(--blink-dur, 4s) ease-in-out infinite;
  animation-delay: var(--blink-delay, 0s);
}
.constellation-subtle .constellation-line {
  stroke: rgba(184,151,90,.3);
  stroke-width: .5;
  fill: none;
  stroke-dasharray: var(--path-length, 200);
  stroke-dashoffset: var(--path-length, 200);
  animation: trace-path 6s cubic-bezier(.22,1,.36,1) infinite;
  animation-delay: var(--trace-delay, 0s);
}
.constellation-subtle .constellation-glow {
  stroke: rgba(184,151,90,.06);
  stroke-width: 4;
  fill: none;
}
@keyframes star-blink-subtle {
  0%   { opacity: .1;  r: .6; }
  40%  { opacity: .6;  r: 1.2; }
  100% { opacity: .15; r: .7; }
}
@keyframes trace-path {
  0%   { stroke-dashoffset: var(--path-length, 200); }
  40%  { stroke-dashoffset: 0; }
  60%  { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: var(--path-length, 200); }
}

/* ── PLANET & SATELLITE BACKGROUND ELEMENTS ──────────────── */
.space-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}
.space-planet {
  position: absolute;
  border-radius: 50%;
}
.space-planet .planet-body {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(184,151,90,.2), rgba(184,151,90,.05));
  border: 1px solid rgba(184,151,90,.12);
}
.space-planet .planet-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(184,151,90,.08);
  border-radius: 50%;
  pointer-events: none;
}
.space-moon {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--gold-dim);
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(184,151,90,.2);
  animation: moon-orbit var(--orbit-dur, 6s) linear infinite;
}
@keyframes moon-orbit {
  to { transform: rotate(360deg); }
}
.space-satellite {
  position: absolute;
  width: 14px;
  height: 14px;
  animation: sat-drift var(--drift-dur, 30s) linear infinite;
  opacity: .25;
}
.space-satellite::before,
.space-satellite::after {
  content: '';
  position: absolute;
  background: var(--gold-dim);
}
.space-satellite::before {
  width: 1px;
  height: 100%;
  left: 50%;
  transform: translateX(-50%);
}
.space-satellite::after {
  width: 100%;
  height: 1px;
  top: 50%;
  transform: translateY(-50%);
}
@keyframes sat-drift {
  0%   { transform: translate(0, 0) rotate(0deg); opacity: 0; }
  5%   { opacity: .25; }
  90%  { opacity: .25; }
  100% { transform: translate(calc(var(--drift-x, 200px)), calc(var(--drift-y, -100px))) rotate(15deg); opacity: 0; }
}

/* ── NAV MICRO-INTERACTIONS ──────────────────────────────── */
.nav-links a {
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width .35s cubic-bezier(.22,1,.36,1);
}
.nav-links a:hover::after {
  width: 100%;
}
.nav-links a:hover {
  color: var(--gold);
  transform: translateY(-1px);
}
.nav-links a {
  transition: color .25s, transform .3s cubic-bezier(.22,1,.36,1);
}

/* ── LANGUAGE TOGGLE ─────────────────────────────────────── */
.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ── THEME TOGGLE ─────────────────────────────────────── */
.theme-toggle {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: .85rem;
  cursor: pointer;
  transition: border-color .25s, color .25s;
}
.theme-toggle:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.theme-toggle .theme-icon-light { display: none; }
html.light-mode .theme-toggle .theme-icon-dark { display: none; }
html.light-mode .theme-toggle .theme-icon-light { display: inline; }
.lang-toggle {
  display: flex;
  gap: 0;
  height: 36px;
  border: 1px solid var(--border);
}
.lang-btn {
  padding: 0 12px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--ff-mono);
  font-size: .62rem;
  letter-spacing: .12em;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: background .25s, color .25s;
}
.lang-btn:first-child {
  border-right: 1px solid var(--border);
}
.lang-btn:hover {
  color: var(--gold);
}
.lang-btn.active {
  background: rgba(184,151,90,.15);
  color: var(--gold);
}

.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--cream);
  transition: transform .3s, opacity .3s;
}
.nav-toggle.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 900px) {
  section { padding: 120px 24px 48px; }
  .cards-section { padding: 120px 24px 48px; }
  #hero { padding: 0; grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 120px 24px 48px; }
  .hero-right {
    display: block;
    height: 50vh;
    min-height: 280px;
    max-height: 400px;
  }
  .portrait-art {
    width: 100%;
    transform: none;
  }
  .portrait-badge { bottom: 32px; left: 24px; }
  #about { grid-template-columns: 1fr; gap: 40px; padding: 120px 24px 48px; }
  .cards-grid { grid-template-columns: 1fr; }
  .books-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 80px 1fr; gap: 0 24px; }
  .timeline::before { left: 79px; }
  #contact { grid-template-columns: 1fr; gap: 48px; padding: 120px 24px 48px; }
  footer { padding: 120px 24px 48px; flex-direction: column; gap: 12px; text-align: center; }
  #nav { padding: 0 12px; }
  .nav-logo-img { height: 26px; }
  .nav-right { gap: 12px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .sheet-header { padding: 24px 24px; }
  .sheet-subtabs { padding: 0 24px; }
  .sheet-body { padding: 120px 24px 48px; }
  .sheet-photo-grid { flex-direction: column; }
  .sheet-photo-grid .masonry-col { flex: none; width: 100%; }
  .sheet-book-detail { grid-template-columns: 1fr; }
  .sheet-media-item { grid-template-columns: 1fr; gap: 18px; }
  .sheet-media-lead { flex-direction: row; align-items: center; gap: 16px; flex-wrap: wrap; }
  .sheet-media-icon { margin-bottom: 0; }
  .sheet-media-thumb { width: 120px; margin-bottom: 0; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .cards-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .testimonial-slide {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "avatar author"
      "quote  quote";
    align-items: center;
    column-gap: 20px;
    row-gap: 20px;
    justify-content: center;
  }
  .testimonial-content { display: contents; }
  .testimonial-avatar { grid-area: avatar; width: 120px; height: 120px; }
  .testimonial-author {
    grid-area: author;
    padding-left: 0;
    height: 120px;
    justify-content: center;
  }
  .testimonial-name { font-size: 1.15rem; }
  .testimonial-role {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .testimonial-quote {
    grid-area: quote;
    font-size: 1.05rem;
    max-height: 12.5rem;
    margin-bottom: 0;
    padding-left: 24px;
  }
  .testimonials-dots { margin-top: 32px; }
  .testimonials-carousel { position: static; }
  .testimonials-nav {
    position: absolute;
    top: auto;
    bottom: 24px;
    transform: none;
    width: 44px;
    height: 44px;
    z-index: 2;
  }
  .testimonials-prev { left: 24px; }
  .testimonials-next { right: 24px; }
}

@media (max-width: 480px) {
  section { padding: 100px 24px 32px; }
  .cards-section { padding: 100px 24px 32px; }
  #hero { padding: 0; }
  .hero-left { padding: 100px 24px 32px; }
  .hero-name { font-size: clamp(2.8rem, 10vw, 4.5rem); }
  .hero-title { font-size: .85rem; }
  .hero-bio { font-size: .82rem; }
  .hero-cta-row { flex-direction: column; gap: 12px; }
  .hero-cta-row .btn-primary,
  .hero-cta-row .btn-ghost { width: 100%; justify-content: center; }
  .hero-right {
    height: 40vh;
    min-height: 220px;
    max-height: 320px;
  }
  .portrait-badge { bottom: 20px; left: 24px; padding-left: 14px; }
  .portrait-badge-title { font-size: .55rem; }
  .portrait-badge-org { font-size: .9rem; }
  #about { padding: 100px 24px 32px; gap: 32px; }
  .about-stats { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stat-number { font-size: 2rem; }
  .stat-label { font-size: .72rem; }
  .about-quote { padding: 20px 16px; font-size: 1rem; }
  .section-heading { font-size: clamp(1.8rem, 6vw, 2.4rem); }
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline::before { display: none; }
  .tl-year { text-align: left; padding-bottom: 8px; }
  .tl-content { padding: 0 0 40px 0; }
  .tl-content::before { display: none; }
  .tl-role { font-size: 1rem; }
  .tl-desc { font-size: .82rem; }
  .books-grid { gap: 24px; }
  .honour-card { width: 300px; }
  #books .book-cover { height: 210px; }
  #books .book-cover-title { font-size: .95rem; }
  #contact { padding: 100px 24px 32px; gap: 32px; }
  .contact-info p { font-size: .82rem; }
  .sheet-body { padding: 100px 24px 32px; }
  .sheet-title { font-size: 1.8rem; }
  .sheet-event-item { grid-template-columns: 72px 1fr; gap: 16px; }
  .sheet-exp-header { flex-direction: column; gap: 6px; }
  .sheet-exp-years { white-space: normal; }
  .testimonials-nav { width: 40px; height: 40px; }
  .testimonial-avatar { width: 104px; height: 104px; }
  .testimonial-author { height: 104px; }
  .testimonial-name { font-size: 1.05rem; }
  .testimonial-quote { font-size: .98rem; padding-left: 24px; }
  .testimonial-quote::before { font-size: 3rem; left: -4px; top: -12px; }
  .testimonial-author { padding-left: 0; }
  footer { padding: 100px 24px 32px; }
  /* Bigger touch targets for mobile nav */
  .nav-links a {
    font-size: .85rem;
    padding: 12px 0;
  }
}

