/* Dedicated Minimalist Full-Screen Scrollytelling Biography Page (/ahn-life.html)
   Zero circles, zero small kickers, zero boxes, seamless fade from luminous handprint hero into full-bleed photos.
*/
body.page-ahn-life {
  background: #04060A;
  color: #F4F6FA;
}

body.page-ahn-life .site-header {
  background: rgba(4, 6, 10, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

body.page-ahn-life .site-header.is-scrolled {
  background: rgba(4, 6, 10, 0.72);
  border-bottom-color: rgba(255, 255, 255, 0.09);
}

body.page-ahn-life .hdr-stamp {
  mix-blend-mode: screen;
  filter: invert(1) brightness(1.12);
}

body.page-ahn-life .hdr-wordmark {
  color: #FFFFFF;
}

body.page-ahn-life .hdr-nav a:not(.hdr-cta) {
  color: rgba(236, 240, 248, 0.76);
}

body.page-ahn-life .hdr-nav a:not(.hdr-cta):hover,
body.page-ahn-life .hdr-nav a.is-current {
  color: #FFFFFF;
}

/* Opening Pitch-Dark Void with Luminous Glowing Handprint Form */
.life-intro {
  position: relative;
  z-index: 5;
  min-height: 92svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 3.6vh, 38px);
  padding: 96px clamp(22px, 5vw, 64px) 120px;
  overflow: hidden;
  background: #04060A;
}

.life-intro-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 140px;
  background: linear-gradient(to bottom, rgba(4, 6, 10, 0) 0%, #04060A 100%);
  pointer-events: none;
}

.luminous-hand {
  position: relative;
  width: clamp(180px, 24vw, 276px);
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  user-select: none;
  isolation: isolate;
}

.luminous-void-glow {
  position: absolute;
  inset: -44%;
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 48%,
    rgba(226, 236, 255, 0.24) 0%,
    rgba(165, 192, 240, 0.11) 34%,
    rgba(120, 148, 200, 0.03) 58%,
    rgba(4, 6, 10, 0) 76%
  );
  filter: blur(20px);
  animation: handAuraPulse 6s ease-in-out infinite alternate;
}

.hand-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: screen;
}

.hand-halo {
  filter: invert(1) contrast(1.9) brightness(1.35) blur(22px);
  opacity: 0.52;
  animation: handAuraPulse 6s ease-in-out infinite alternate;
}

.hand-corona {
  filter: invert(1) contrast(1.75) brightness(1.45) blur(6px);
  opacity: 0.72;
  animation: handCoronaPulse 6s ease-in-out infinite alternate;
}

.hand-core {
  filter: invert(1) contrast(1.45) brightness(1.18) drop-shadow(0 0 18px rgba(235, 242, 255, 0.65));
  opacity: 0.9;
}

@keyframes handAuraPulse {
  0% { transform: scale(0.97); opacity: 0.44; }
  100% { transform: scale(1.04); opacity: 0.72; }
}

@keyframes handCoronaPulse {
  0% { opacity: 0.6; }
  100% { opacity: 0.88; }
}

.life-intro-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  text-align: center;
}

.life-intro-title {
  margin: 0;
  font-size: clamp(32px, 4.6vw, 56px);
  font-weight: 580;
  line-height: 1.18;
  letter-spacing: -0.044em;
  color: #FFFFFF;
}

.life-intro-desc {
  margin: 18px auto 0;
  max-width: 520px;
  font-size: clamp(15px, 1.28vw, 18px);
  font-weight: 360;
  line-height: 1.72;
  letter-spacing: -0.025em;
  color: rgba(226, 233, 244, 0.76);
  word-break: keep-all;
}

/* Main Pinned Full-Screen Photo Stage Seamlessly Dissolving Out of Hero Void */
.life-stage {
  position: relative;
  width: 100%;
  margin-top: -16svh;
  background: #04060A;
}

/* Smooth Dark Curtain Blending the Top Edge of Photo #1 into the Dark Hero */
.life-stage-top-blend {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 44svh;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    #04060A 0%,
    #04060A 32%,
    rgba(4, 6, 10, 0.74) 60%,
    rgba(4, 6, 10, 0) 100%
  );
}

.life-backdrop-sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100svh;
  overflow: hidden;
  z-index: 1;
}

.life-bg-stack {
  position: absolute;
  inset: 0;
}

/* Generous 1.18x Bleed Scale Guarantees Zero Archival Paper Margins Peek In on Any Photo */
.life-bg-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.24);
  transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1), transform 1.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.life-bg-slide.is-active {
  opacity: 1;
  transform: scale(1.18);
}

.life-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.76) contrast(1.08) brightness(0.66);
}

.life-bg-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(4, 6, 10, 0.52) 0%,
      rgba(4, 6, 10, 0.22) 38%,
      rgba(4, 6, 10, 0.58) 62%,
      rgba(4, 6, 10, 0.82) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(4, 6, 10, 0.62) 0%,
      rgba(4, 6, 10, 0.06) 24%,
      rgba(4, 6, 10, 0.08) 76%,
      rgba(4, 6, 10, 0.78) 100%
    );
}

/* Quiet Pinned Left Era Indicator (No Small Kicker Above) */
.life-pinned-hud {
  position: absolute;
  z-index: 3;
  left: clamp(24px, 5vw, 76px);
  bottom: clamp(34px, 6.5vh, 72px);
  max-width: min(420px, 36vw);
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: auto;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.68);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.life-pinned-hud.is-hidden {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}

.hud-period {
  font-size: clamp(26px, 2.7vw, 40px);
  font-weight: 560;
  line-height: 1.15;
  letter-spacing: -0.036em;
  color: #FFFFFF;
}

.hud-title {
  font-size: clamp(15px, 1.3vw, 18.5px);
  font-weight: 420;
  line-height: 1.45;
  letter-spacing: -0.025em;
  color: rgba(242, 245, 250, 0.84);
  word-break: keep-all;
}

.hud-dots {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.hud-dot {
  appearance: none;
  border: 0;
  padding: 0;
  width: 20px;
  height: 2px;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: width 0.35s ease, background-color 0.35s ease;
}

.hud-dot:hover {
  background: rgba(255, 255, 255, 0.65);
}

.hud-dot.is-active {
  width: 42px;
  background: #FFFFFF;
}

/* Pure Borderless, Dotless Typography Rising Directly Over Pinned Photo */
.life-scroll-shell {
  position: relative;
  z-index: 4;
  margin-top: -86svh;
  width: 100%;
  max-width: 1380px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 clamp(22px, 5vw, 72px);
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
}

.life-timeline-col {
  width: min(520px, 44vw);
  padding: 16vh 0 22vh;
  pointer-events: auto;
}

.life-chapter {
  padding: 14vh 0 22vh;
  scroll-margin-top: 84px;
}

.life-chapter:first-child {
  padding-top: 8vh;
}

.chapter-head {
  margin-bottom: 44px;
  text-shadow: 0 2px 26px rgba(0, 0, 0, 0.68);
}

.chapter-title {
  margin: 0;
  font-size: clamp(26px, 2.5vw, 38px);
  font-weight: 580;
  line-height: 1.26;
  letter-spacing: -0.04em;
  color: #FFFFFF;
  word-break: keep-all;
}

.chapter-summary {
  margin-top: 12px;
  font-size: clamp(14.5px, 1.12vw, 16px);
  font-weight: 380;
  line-height: 1.72;
  letter-spacing: -0.02em;
  color: rgba(234, 239, 248, 0.78);
  word-break: keep-all;
}

.chapter-entries {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 6.2vh, 62px);
}

.life-entry {
  position: relative;
  opacity: 0.28;
  transform: translateY(14px);
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.75);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.life-entry.is-in-focus {
  opacity: 1;
  transform: translateY(0);
}

.entry-date {
  font-size: 13px;
  font-weight: 540;
  letter-spacing: 0.06em;
  color: rgba(226, 235, 248, 0.74);
  margin-bottom: 7px;
}

.entry-heading {
  margin: 0;
  font-size: clamp(18px, 1.45vw, 21.5px);
  font-weight: 580;
  line-height: 1.38;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  word-break: keep-all;
}

.entry-text {
  margin-top: 9px;
  font-size: clamp(14.5px, 1.1vw, 15.8px);
  font-weight: 380;
  line-height: 1.86;
  letter-spacing: -0.018em;
  color: rgba(242, 245, 251, 0.88);
  word-break: keep-all;
}

/* Final Impact Quote Rising Directly Over the Pinned Final Image (Zero Buttons / Zero Box) */
.life-finale {
  position: relative;
  z-index: 5;
  min-height: 92svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(80px, 12vh, 140px) clamp(24px, 6vw, 64px);
  text-align: center;
  background: linear-gradient(
    to bottom,
    rgba(4, 6, 10, 0) 0%,
    rgba(4, 6, 10, 0.42) 32%,
    rgba(4, 6, 10, 0.56) 72%,
    rgba(4, 6, 10, 0.88) 100%
  );
}

.life-finale-inner {
  max-width: 1080px;
  opacity: 0.25;
  transform: translateY(24px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  text-shadow: 0 4px 32px rgba(0, 0, 0, 0.82);
}

.life-finale.is-active .life-finale-inner {
  opacity: 1;
  transform: translateY(0);
}

.life-finale-quote {
  margin: 0 auto;
  font-size: clamp(20px, 2.35vw, 34px);
  font-weight: 560;
  line-height: 1.56;
  letter-spacing: -0.04em;
  color: #FFFFFF;
  word-break: keep-all;
}

.finale-line {
  display: block;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .finale-line {
    white-space: normal;
  }
}

.life-finale-meta {
  margin-top: clamp(20px, 3vh, 30px);
  font-size: clamp(13.5px, 1.15vw, 16px);
  font-weight: 420;
  letter-spacing: -0.02em;
  color: rgba(232, 238, 248, 0.78);
}

/* Mobile & Tablet Responsive Layout */
@media (max-width: 960px) {
  .life-intro { min-height: 86svh; padding-bottom: 96px; }
  .luminous-hand { width: clamp(148px, 44vw, 210px); }

  .life-bg-scrim {
    background: linear-gradient(
      to bottom,
      rgba(4, 6, 10, 0.68) 0%,
      rgba(4, 6, 10, 0.34) 30%,
      rgba(4, 6, 10, 0.68) 68%,
      rgba(4, 6, 10, 0.88) 100%
    );
  }

  .life-pinned-hud {
    top: 68px;
    bottom: auto;
    left: 20px;
    right: 20px;
    max-width: none;
    gap: 3px;
  }

  .hud-period { font-size: 19px; }
  .hud-title { font-size: 13px; }
  .hud-dots { margin-top: 6px; }
  .hud-dot { width: 15px; }
  .hud-dot.is-active { width: 28px; }

  .life-scroll-shell {
    justify-content: center;
    padding: 0 20px;
  }

  .life-timeline-col {
    width: 100%;
    max-width: 560px;
    padding: 24vh 0 20vh;
  }

  .life-chapter {
    padding: 10vh 0 16vh;
  }

  .chapter-entries {
    gap: 36px;
  }

  .life-entry {
    opacity: 0.48;
  }
}
