/* ═══════════════════════════════════════════
   TEZETA — Shared Design System
   ═══════════════════════════════════════════ */

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

:root{
  --cream:#EAEBE2;
  --warm-white:#E8E9DF;
  --ochre:#A08040;
  --ochre-light:#B89858;
  --ochre-muted:rgba(160,128,64,0.14);
  --slate:#3A3D35;
  --slate-deep:#2A2D26;
  --slate-light:#6B6E62;
  --earth:#4A4435;
  --earth-light:#7A7462;
  --forest:#556650;
  --forest-muted:rgba(85,102,80,0.1);
  --text-primary:#2C2B24;
  --text-secondary:#5E5D52;
  --text-light:#908E82;
  --border:rgba(44,43,36,0.1);
  --font-display:'Cormorant Garamond',Georgia,'Times New Roman',serif;
  --font-body:'DM Sans',-apple-system,BlinkMacSystemFont,sans-serif;
}

html{scroll-behavior:smooth;font-size:16px}
body{
  background:var(--warm-white);
  color:var(--text-primary);
  font-family:var(--font-body);
  font-weight:300;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

::selection{background:var(--ochre-muted);color:var(--earth)}

/* ═══════════════════════════════════════════
   HAMBURGER NAV
   ═══════════════════════════════════════════ */

.nav-toggle{
  position:fixed;
  top:24px;right:24px;
  z-index:301;
  width:44px;height:44px;
  background:rgba(232,233,223,0.85);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  border:1px solid var(--border);
  border-radius:50%;
  cursor:pointer;
  display:flex;flex-direction:column;
  justify-content:center;align-items:center;
  gap:5px;
  transition:all 0.35s cubic-bezier(0.23,1,0.32,1);
}
.nav-toggle:hover{
  background:rgba(232,233,223,0.95);
  box-shadow:0 2px 12px rgba(0,0,0,0.06);
}
.nav-toggle span{
  display:block;
  width:18px;height:1.5px;
  background:var(--earth);
  border-radius:1px;
  transition:all 0.35s cubic-bezier(0.23,1,0.32,1);
  transform-origin:center;
}
.nav-toggle.open span:nth-child(1){
  transform:rotate(45deg) translate(4.5px,4.5px);
}
.nav-toggle.open span:nth-child(2){opacity:0}
.nav-toggle.open span:nth-child(3){
  transform:rotate(-45deg) translate(4.5px,-4.5px);
}

/* Hero-aware: white button on dark hero */
.nav-toggle.on-hero{
  background:rgba(42,45,38,0.3);
  border-color:rgba(255,255,255,0.15);
}
.nav-toggle.on-hero span{background:#fff}
.nav-toggle.on-hero:hover{
  background:rgba(42,45,38,0.5);
}

.nav-overlay{
  position:fixed;inset:0;
  z-index:300;
  background:var(--warm-white);
  display:flex;flex-direction:column;
  justify-content:center;align-items:center;
  gap:8px;
  opacity:0;pointer-events:none;
  transition:opacity 0.45s cubic-bezier(0.23,1,0.32,1);
}
.nav-overlay.open{opacity:1;pointer-events:auto}

.nav-overlay-links{
  display:flex;flex-direction:column;
  align-items:center;gap:8px;
}
.nav-overlay a{
  font-family:var(--font-display);
  font-size:clamp(26px,4vw,38px);
  font-weight:300;
  color:var(--text-primary);
  text-decoration:none;
  padding:12px 24px;
  transition:color 0.3s ease;
  position:relative;
}
.nav-overlay a:hover{color:var(--ochre)}
.nav-overlay a.active{color:var(--ochre)}
.nav-overlay a.active::before{
  content:'';
  position:absolute;
  left:6px;top:50%;
  width:5px;height:5px;
  border-radius:50%;
  background:var(--ochre);
  transform:translateY(-50%);
}
.nav-overlay-sub{
  font-family:var(--font-body);
  font-size:12px;
  color:var(--text-light);
  letter-spacing:0.15em;
  text-transform:uppercase;
  margin-top:40px;
}

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */

.hero{
  position:relative;
  height:100vh;min-height:600px;
  display:flex;flex-direction:column;
  justify-content:flex-end;
  padding:0 clamp(24px,5vw,80px) clamp(60px,10vh,120px);
  overflow:hidden;
}
.hero::before{
  content:'';position:absolute;inset:0;
  background:
    linear-gradient(180deg,
      rgba(42,45,38,0.05) 0%,
      rgba(42,45,38,0.0) 25%,
      rgba(42,45,38,0.15) 55%,
      rgba(42,45,38,0.6) 80%,
      rgba(42,45,38,0.82) 100%
    );
  z-index:1;
}
.hero-img{
  position:absolute;inset:0;z-index:0;
  background-size:cover;
  background-position:center 20%;
  background-repeat:no-repeat;
}
.hero-grain{
  position:absolute;inset:0;z-index:2;opacity:0.03;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size:128px 128px;
}
.hero-content{position:relative;z-index:3;max-width:680px}
.hero-ge-ez{
  font-family:var(--font-display);
  font-size:clamp(14px,2vw,18px);
  font-weight:300;
  letter-spacing:0.2em;
  color:rgba(255,255,255,0.5);
  margin-bottom:24px;
}
.hero h1{
  font-family:var(--font-display);
  font-size:clamp(42px,7vw,80px);
  font-weight:300;line-height:1.05;
  color:#fff;letter-spacing:-0.01em;
  margin-bottom:24px;
}
.hero h1 em{font-style:italic;font-weight:300;color:var(--ochre-light)}
.hero-sub{
  font-family:var(--font-body);
  font-size:clamp(14px,1.6vw,17px);
  font-weight:300;
  color:rgba(255,255,255,0.6);
  line-height:1.7;max-width:480px;
}
.hero-scroll{
  position:absolute;bottom:32px;left:50%;
  transform:translateX(-50%);z-index:3;
  display:flex;flex-direction:column;align-items:center;gap:8px;
  color:rgba(255,255,255,0.35);
  font-size:11px;letter-spacing:0.15em;
  text-transform:uppercase;
  font-family:var(--font-body);font-weight:400;
}
.scroll-line{
  width:1px;height:40px;
  background:rgba(255,255,255,0.2);
  animation:scrollPulse 2.4s ease-in-out infinite;
}
@keyframes scrollPulse{0%,100%{opacity:0.2;transform:scaleY(0.6)}50%{opacity:0.5;transform:scaleY(1)}}

/* Hero entrance */
.hero-content>*{
  opacity:0;transform:translateY(20px);
  animation:heroIn 1.2s cubic-bezier(0.23,1,0.32,1) forwards;
}
.hero-content>*:nth-child(1){animation-delay:0.3s}
.hero-content>*:nth-child(2){animation-delay:0.6s}
.hero-content>*:nth-child(3){animation-delay:0.9s}
@keyframes heroIn{to{opacity:1;transform:translateY(0)}}

/* ═══════════════════════════════════════════
   INTRO
   ═══════════════════════════════════════════ */

.intro{
  padding:clamp(80px,12vh,160px) clamp(24px,5vw,80px);
  max-width:720px;margin:0 auto;
}
.intro-quote{
  font-family:var(--font-display);
  font-size:clamp(24px,3.5vw,36px);
  font-weight:300;line-height:1.45;
  color:var(--earth);font-style:italic;
  margin-bottom:40px;position:relative;
  padding-left:24px;
  border-left:2px solid var(--ochre-muted);
}
.intro p{
  font-size:15px;
  color:var(--text-secondary);
  margin-bottom:20px;
}

/* ═══════════════════════════════════════════
   DIVIDER
   ═══════════════════════════════════════════ */

.divider{
  display:flex;align-items:center;justify-content:center;
  padding:20px 0;
}
.divider-line{width:clamp(40px,8vw,80px);height:1px;background:var(--border)}
.divider-dot{
  width:5px;height:5px;border-radius:50%;
  background:var(--ochre);opacity:0.4;margin:0 16px;
}

/* ═══════════════════════════════════════════
   PHOTO LAYOUTS
   ═══════════════════════════════════════════ */

.photo-single{
  max-width:560px;
  margin:clamp(40px,6vh,72px) auto;
  padding:0 clamp(24px,5vw,80px);
}
.photo-single img{
  width:100%;height:auto;display:block;
  filter:sepia(0.08) contrast(0.97);
  box-shadow:0 4px 20px rgba(44,43,36,0.12), 0 1px 4px rgba(44,43,36,0.08);
  border-radius:2px;
}
.photo-single figcaption{
  font-family:var(--font-body);
  font-size:12px;color:var(--text-light);
  margin-top:12px;font-weight:300;letter-spacing:0.01em;
}

.photo-pair{
  display:grid;grid-template-columns:1fr 1fr;
  gap:clamp(12px,2vw,24px);
  max-width:820px;
  margin:clamp(48px,8vh,80px) auto;
  padding:0 clamp(24px,5vw,80px);
}
.photo-pair figure{margin:0}
.photo-pair img{
  width:100%;height:100%;
  object-fit:cover;display:block;
  filter:sepia(0.08) contrast(0.97);
  box-shadow:0 4px 20px rgba(44,43,36,0.12), 0 1px 4px rgba(44,43,36,0.08);
  border-radius:2px;
}
.photo-pair figcaption{
  font-family:var(--font-body);
  font-size:12px;color:var(--text-light);
  margin-top:10px;font-weight:300;
}

.photo-wide{
  max-width:900px;
  margin:clamp(48px,8vh,80px) auto;
  padding:0 clamp(24px,5vw,80px);
}
.photo-wide img{
  width:100%;height:auto;display:block;
  filter:sepia(0.08) contrast(0.97);
  box-shadow:0 4px 20px rgba(44,43,36,0.12), 0 1px 4px rgba(44,43,36,0.08);
  border-radius:2px;
}
.photo-wide figcaption{
  font-family:var(--font-body);
  font-size:12px;color:var(--text-light);
  margin-top:12px;font-weight:300;
}

/* Fellowship letter — prominent caption */
.photo-fellowship figcaption{
  font-size:13px;
  color:var(--earth);
  font-weight:400;
  font-style:italic;
  margin-top:14px;
  line-height:1.6;
}

/* ═══════════════════════════════════════════
   IMAGE BAND
   ═══════════════════════════════════════════ */

.image-band{
  width:100%;
  height:clamp(400px,60vh,650px);
  position:relative;overflow:hidden;
}
.image-band::after{
  content:'';position:absolute;inset:0;
  background:linear-gradient(180deg,var(--warm-white) 0%,transparent 12%,transparent 88%,var(--warm-white) 100%);
}
.image-band-inner{
  width:100%;height:100%;
  background-size:cover;background-position:center;
  display:flex;align-items:center;justify-content:center;
}
.image-band-overlay{
  position:absolute;inset:0;
  background:rgba(44,43,36,0.45);
}
.image-band-text{
  position:relative;z-index:1;
  text-align:center;
  color:rgba(255,255,255,0.9);
  font-family:var(--font-display);
  font-size:clamp(16px,2.5vw,22px);
  font-weight:300;font-style:italic;
  letter-spacing:0.02em;
  max-width:480px;padding:0 40px;
}

/* ═══════════════════════════════════════════
   CHAPTERS NAV
   ═══════════════════════════════════════════ */

.chapters{
  padding:clamp(80px,12vh,140px) clamp(24px,5vw,80px);
  max-width:900px;margin:0 auto;
}
.chapters-label{
  font-family:var(--font-body);
  font-size:11px;font-weight:500;
  letter-spacing:0.2em;text-transform:uppercase;
  color:var(--text-light);margin-bottom:48px;
}
.chapter-list{list-style:none;display:flex;flex-direction:column;gap:0}
.chapter-item{
  display:grid;grid-template-columns:48px 1fr;
  gap:0 20px;padding:28px 0;
  border-bottom:1px solid var(--border);
  cursor:pointer;transition:all 0.35s ease;
  text-decoration:none;color:inherit;
}
a.chapter-item{text-decoration:none;color:inherit}
.chapter-item:first-child{border-top:1px solid var(--border)}
.chapter-item:hover{padding-left:8px}
.chapter-item:hover .chapter-title{color:var(--ochre)}
.chapter-num{
  font-family:var(--font-display);
  font-size:28px;font-weight:300;
  color:var(--text-light);line-height:1.2;
}
.chapter-title{
  font-family:var(--font-display);
  font-size:clamp(20px,2.8vw,26px);
  font-weight:400;color:var(--text-primary);
  transition:color 0.35s ease;margin-bottom:6px;
}
.chapter-desc{
  font-size:13px;color:var(--text-light);font-weight:300;
}

/* ═══════════════════════════════════════════
   CONTENT SECTIONS
   ═══════════════════════════════════════════ */

.content-section{
  padding:clamp(60px,10vh,120px) clamp(24px,5vw,80px);
  max-width:720px;margin:0 auto;
}
.section-header{margin-bottom:48px}
.section-label{
  font-family:var(--font-body);
  font-size:11px;font-weight:500;
  letter-spacing:0.2em;text-transform:uppercase;
  color:var(--ochre);margin-bottom:16px;
}
.section-title{
  font-family:var(--font-display);
  font-size:clamp(30px,4.5vw,44px);
  font-weight:300;line-height:1.15;
  color:var(--text-primary);
}
.content-body p{
  font-size:clamp(15px,1.5vw,17px);
  line-height:1.85;
  color:var(--text-secondary);
  margin-bottom:28px;
}
.content-body p:first-of-type::first-letter{
  font-family:var(--font-display);
  font-size:3.4em;float:left;
  line-height:0.8;padding-right:10px;padding-top:6px;
  color:var(--earth);font-weight:400;
}
.pullquote{
  margin:56px 0;
  padding:0 0 0 28px;
  border-left:2px solid var(--ochre);
  font-family:var(--font-display);
  font-size:clamp(22px,3vw,30px);
  font-weight:300;font-style:italic;
  line-height:1.45;color:var(--earth);
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */

.site-footer{
  padding:clamp(80px,12vh,140px) clamp(24px,5vw,80px) 60px;
  text-align:center;
}
.footer-ge-ez{
  font-family:var(--font-display);
  font-size:clamp(36px,6vw,56px);
  font-weight:300;color:var(--ochre);
  opacity:0.25;margin-bottom:32px;
}
.footer-text{
  font-size:13px;color:var(--text-light);
  font-weight:300;line-height:1.8;
  max-width:400px;margin:0 auto 48px;
}
.footer-line{
  width:40px;height:1px;
  background:var(--border);margin:0 auto 24px;
}
.footer-copy{
  font-size:11px;color:var(--text-light);
  letter-spacing:0.05em;
}

/* ═══════════════════════════════════════════
   SCROLL ANIMATIONS
   ═══════════════════════════════════════════ */

.reveal{
  opacity:0;transform:translateY(30px);
  transition:opacity 0.9s cubic-bezier(0.23,1,0.32,1),transform 0.9s cubic-bezier(0.23,1,0.32,1);
}
.reveal.visible{opacity:1;transform:translateY(0)}
.reveal-delay-1{transition-delay:0.15s}
.reveal-delay-2{transition-delay:0.3s}
.reveal-delay-3{transition-delay:0.45s}

/* ═══════════════════════════════════════════
   TIMELINE NAV (Desktop)
   ═══════════════════════════════════════════ */

.timeline-nav{
  position:fixed;left:0;top:0;
  height:100%;z-index:100;
  display:flex;align-items:stretch;
  pointer-events:none;
  opacity:0;transition:opacity 0.6s ease;
}
.timeline-nav.visible{opacity:1}

.tl-track{
  position:absolute;left:10px;top:0;bottom:0;
  width:3px;border-radius:2px;
  background:linear-gradient(180deg,rgba(184,152,88,0.08) 0%,rgba(184,152,88,0.12) 50%,rgba(184,152,88,0.06) 100%);
  box-shadow:0 0 4px rgba(160,128,64,0.06);
}
.tl-progress{
  position:absolute;top:0;left:0;
  width:100%;height:0%;border-radius:2px;
  background:linear-gradient(180deg,#CDAD60 0%,#B89848 40%,#A08040 70%,#8A7038 100%);
  box-shadow:0 0 6px rgba(184,152,88,0.25),0 0 2px rgba(160,128,64,0.3),inset 1px 0 0 rgba(255,255,255,0.15);
  transition:height 0.15s linear;
}

.tl-chapters{
  position:relative;display:flex;flex-direction:column;
  justify-content:space-between;
  padding:15vh 0;width:160px;
  pointer-events:auto;
}

.tl-dot{
  display:flex;align-items:center;gap:10px;
  text-decoration:none;padding:6px 0 6px 4px;
  cursor:pointer;position:relative;
}
.tl-pip{
  width:5px;height:5px;border-radius:50%;
  background:var(--earth-light);opacity:0.3;
  flex-shrink:0;
  transition:all 0.4s cubic-bezier(0.23,1,0.32,1);
  margin-left:6px;
}
.tl-dot.active .tl-pip{
  width:8px;height:8px;
  background:linear-gradient(135deg,#CDAD60,#A08040);
  opacity:1;
  box-shadow:0 0 6px rgba(184,152,88,0.35),0 0 2px rgba(160,128,64,0.4);
}
.tl-label{
  font-family:var(--font-body);
  font-size:11px;font-weight:400;
  letter-spacing:0.02em;color:var(--text-light);
  white-space:nowrap;opacity:0;
  transform:translateX(-4px);
  transition:all 0.35s cubic-bezier(0.23,1,0.32,1);
  pointer-events:none;
}
.tl-dot.active .tl-label{color:var(--earth);font-weight:500}

.timeline-nav:hover .tl-label,
.timeline-nav:focus-within .tl-label{opacity:1;transform:translateX(0)}
.timeline-nav:hover .tl-pip,
.timeline-nav:focus-within .tl-pip{margin-left:6px}
.timeline-nav:hover .tl-track,
.timeline-nav:focus-within .tl-track{
  background:linear-gradient(180deg,rgba(184,152,88,0.12) 0%,rgba(184,152,88,0.18) 50%,rgba(184,152,88,0.1) 100%);
  box-shadow:0 0 6px rgba(160,128,64,0.1);
}
.tl-dot:hover .tl-pip{
  background:linear-gradient(135deg,#CDAD60,#B89848);
  opacity:0.8;width:6px;height:6px;
  box-shadow:0 0 4px rgba(184,152,88,0.25);
}

/* ═══════════════════════════════════════════
   MOBILE STICKY CHAPTER BAR
   ═══════════════════════════════════════════ */

.mobile-chap{display:none}

@media(max-width:600px){
  .mobile-chap{
    display:block;position:fixed;
    top:0;left:0;right:0;z-index:100;
    background:var(--warm-white);
    transform:translateY(-100%);
    transition:transform 0.35s cubic-bezier(0.23,1,0.32,1);
  }
  .mobile-chap.visible{transform:translateY(0)}
  .mobile-chap-bar{
    display:flex;align-items:center;
    padding:12px clamp(16px,4vw,24px);
    gap:12px;cursor:pointer;
    -webkit-tap-highlight-color:transparent;
    user-select:none;
  }
  .mobile-chap-pip{
    width:6px;height:6px;border-radius:50%;
    background:linear-gradient(135deg,#CDAD60,#A08040);
    flex-shrink:0;
    box-shadow:0 0 4px rgba(184,152,88,0.3);
  }
  .mobile-chap-title{
    font-family:var(--font-body);
    font-size:12px;font-weight:500;
    color:var(--earth);letter-spacing:0.02em;
    flex:1;white-space:nowrap;
    overflow:hidden;text-overflow:ellipsis;
  }
  .mobile-chap-arrow{
    font-size:10px;color:var(--text-light);
    transition:transform 0.3s ease;
  }
  .mobile-chap.open .mobile-chap-arrow{transform:rotate(180deg)}
  .mobile-chap-progress{
    height:2px;background:rgba(44,43,36,0.06);
    position:relative;
  }
  .mobile-chap-progress-fill{
    position:absolute;top:0;left:0;
    height:100%;width:0%;
    background:linear-gradient(90deg,#CDAD60,#A08040);
    border-radius:0 1px 1px 0;
    transition:width 0.15s linear;
  }
  .mobile-chap-dropdown{
    max-height:0;overflow:hidden;
    transition:max-height 0.4s cubic-bezier(0.23,1,0.32,1);
    background:var(--warm-white);
    border-top:1px solid var(--border);
  }
  .mobile-chap.open .mobile-chap-dropdown{max-height:500px}
  .mobile-chap-link{
    display:flex;align-items:center;gap:10px;
    padding:14px clamp(16px,4vw,24px);
    text-decoration:none;
    border-bottom:1px solid var(--border);
    transition:background 0.2s ease;
  }
  .mobile-chap-link:active{background:var(--ochre-muted)}
  .mobile-chap-link-pip{
    width:4px;height:4px;border-radius:50%;
    background:var(--text-light);opacity:0.4;flex-shrink:0;
  }
  .mobile-chap-link.active .mobile-chap-link-pip{
    width:5px;height:5px;
    background:var(--ochre);opacity:1;
  }
  .mobile-chap-link-text{
    font-family:var(--font-body);
    font-size:13px;font-weight:300;
    color:var(--text-secondary);
  }
  .mobile-chap-link.active .mobile-chap-link-text{
    color:var(--earth);font-weight:500;
  }
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */

@media(max-width:600px){
  .chapter-item{grid-template-columns:36px 1fr;gap:0 12px}
  .chapter-num{font-size:22px}
  .photo-pair{grid-template-columns:1fr;gap:24px}
  .timeline-nav{display:none}
}

/* ═══════════════════════════════════════════
   PAGE HEADER (non-hero pages)
   ═══════════════════════════════════════════ */

.page-header{
  padding:clamp(100px,15vh,160px) clamp(24px,5vw,80px) clamp(60px,8vh,100px);
  max-width:720px;margin:0 auto;
  text-align:center;
}
.page-header-label{
  font-family:var(--font-body);
  font-size:11px;font-weight:500;
  letter-spacing:0.2em;text-transform:uppercase;
  color:var(--ochre);margin-bottom:20px;
}
.page-header h1{
  font-family:var(--font-display);
  font-size:clamp(36px,6vw,56px);
  font-weight:300;line-height:1.15;
  color:var(--text-primary);margin-bottom:20px;
}
.page-header p{
  font-size:15px;color:var(--text-secondary);
  font-weight:300;line-height:1.7;
  max-width:480px;margin:0 auto;
}

/* ═══════════════════════════════════════════
   HOME BUTTON
   ═══════════════════════════════════════════ */

.home-btn{
  position:fixed;top:20px;left:24px;z-index:900;
  display:inline-flex;align-items:center;gap:8px;
  font-family:var(--font-body);
  font-size:11px;font-weight:500;
  letter-spacing:0.15em;text-transform:uppercase;
  color:var(--text-secondary);
  text-decoration:none;
  padding:8px 14px;
  border:1px solid rgba(44,43,36,0.15);
  border-radius:2px;
  background:rgba(232,233,223,0.88);
  backdrop-filter:blur(6px);
  transition:color 0.2s,border-color 0.2s,background 0.2s;
}
.home-btn svg{
  width:12px;height:12px;
  stroke:currentColor;stroke-width:1.5;
  fill:none;flex-shrink:0;
}
.home-btn:hover{
  color:var(--ochre);
  border-color:var(--ochre);
  background:rgba(232,233,223,0.97);
}

/* ═══════════════════════════════════════════
   GALLERY PAGE
   ═══════════════════════════════════════════ */

.gallery-grid{
  max-width:900px;margin:0 auto;
  padding:0 clamp(24px,5vw,80px) clamp(80px,12vh,140px);
  display:flex;flex-direction:column;
  gap:clamp(48px,8vh,80px);
}
.gallery-item img{
  width:100%;height:auto;display:block;
  filter:sepia(0.08) contrast(0.97);
  box-shadow:0 6px 30px rgba(44,43,36,0.14), 0 2px 8px rgba(44,43,36,0.08);
  border-radius:2px;
}
.gallery-item figcaption{
  font-family:var(--font-body);
  font-size:13px;color:var(--text-secondary);
  margin-top:16px;font-weight:300;
  line-height:1.6;
}
.gallery-item figcaption strong{
  font-weight:500;color:var(--text-primary);
  display:block;margin-bottom:4px;
}

/* ═══════════════════════════════════════════
   LISTEN PAGE
   ═══════════════════════════════════════════ */

.listen-intro{
  max-width:720px;margin:0 auto;
  padding:0 clamp(24px,5vw,80px) clamp(60px,8vh,100px);
}
.listen-intro p{
  font-size:15px;color:var(--text-secondary);
  font-weight:300;line-height:1.8;
  margin-bottom:20px;
}

.recordings-list{
  max-width:720px;margin:0 auto;
  padding:0 clamp(24px,5vw,80px) clamp(80px,12vh,140px);
  display:flex;flex-direction:column;gap:24px;
}
.recording-item{
  border:1px solid var(--border);
  border-radius:4px;padding:28px 32px;
  transition:border-color 0.3s ease;
}
.recording-item:hover{border-color:rgba(160,128,64,0.3)}
.recording-label{
  font-family:var(--font-body);
  font-size:11px;font-weight:500;
  letter-spacing:0.15em;text-transform:uppercase;
  color:var(--ochre);margin-bottom:8px;
}
.recording-title{
  font-family:var(--font-display);
  font-size:clamp(20px,2.5vw,26px);
  font-weight:400;color:var(--text-primary);
  margin-bottom:16px;
}
.recording-item audio{
  width:100%;height:40px;
  margin-top:8px;
}
.recording-placeholder{
  font-size:13px;color:var(--text-light);
  font-style:italic;
}

/* ═══════════════════════════════════════════
   FULL TEXT PAGE
   ═══════════════════════════════════════════ */

.full-text-body{
  max-width:720px;margin:0 auto;
  padding:0 clamp(24px,5vw,80px) clamp(80px,12vh,140px);
}
.full-text-body h2{
  font-family:var(--font-display);
  font-size:clamp(26px,3.5vw,36px);
  font-weight:300;line-height:1.2;
  color:var(--text-primary);
  margin:clamp(48px,8vh,80px) 0 32px;
  padding-top:clamp(24px,4vh,48px);
  border-top:1px solid var(--border);
}
.full-text-body h2:first-of-type{border-top:none;margin-top:0;padding-top:0}
.full-text-body p{
  font-size:clamp(15px,1.5vw,17px);
  line-height:1.85;
  color:var(--text-secondary);
  margin-bottom:24px;
}

/* ═══════════════════════════════════════════
   READING TIME
   ═══════════════════════════════════════════ */

.reading-time{
  font-family:var(--font-body);
  font-size:12px;font-weight:400;
  color:rgba(255,255,255,0.4);
  margin-top:16px;
  letter-spacing:0.05em;
}

/* ═══════════════════════════════════════════
   PRINT
   ═══════════════════════════════════════════ */

@media print{
  .nav-toggle,.nav-overlay,.timeline-nav,.mobile-chap,.hero-scroll{display:none!important}
  .hero{height:auto;min-height:0;padding:40px;background:none}
  .hero::before,.hero-grain{display:none}
  .hero-img{display:none}
  .hero h1{color:var(--text-primary)}
  .hero-ge-ez,.hero-sub{color:var(--text-secondary)}
  .reveal{opacity:1!important;transform:none!important}
  body{font-size:11pt;line-height:1.6}
  .content-section{padding:24pt 0}
  .image-band{display:none}
  img{max-width:100%;box-shadow:none!important;filter:none!important}
}

/* ═══════════════════════════════════════════
   PASSWORD GATE
   ═══════════════════════════════════════════ */

.pw-gate{
  position:fixed;inset:0;z-index:9999;
  background:var(--warm-white);
  display:flex;flex-direction:column;
  justify-content:center;align-items:center;
  padding:24px;
  transition:opacity 0.6s ease;
}
.pw-gate.hidden{opacity:0;pointer-events:none}
.pw-gate-inner{
  text-align:center;max-width:360px;
}
.pw-gate-ge-ez{
  font-family:var(--font-display);
  font-size:clamp(28px,5vw,40px);
  font-weight:300;color:var(--ochre);
  opacity:0.35;margin-bottom:32px;
}
.pw-gate-title{
  font-family:var(--font-display);
  font-size:clamp(22px,3.5vw,30px);
  font-weight:300;color:var(--text-primary);
  margin-bottom:8px;
}
.pw-gate-sub{
  font-size:14px;color:var(--text-light);
  font-weight:300;margin-bottom:32px;
}
.pw-gate-input{
  width:100%;padding:14px 20px;
  font-family:var(--font-body);
  font-size:15px;font-weight:300;
  color:var(--text-primary);
  background:transparent;
  border:1px solid var(--border);
  border-radius:4px;
  text-align:center;
  letter-spacing:0.1em;
  outline:none;
  transition:border-color 0.3s ease;
}
.pw-gate-input:focus{border-color:var(--ochre)}
.pw-gate-input::placeholder{
  color:var(--text-light);letter-spacing:0.05em;
}
.pw-gate-error{
  font-size:13px;color:#9a5a4a;
  margin-top:12px;opacity:0;
  transition:opacity 0.3s ease;
}
.pw-gate-error.show{opacity:1}
