/*styles.css*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --gold: #c9a84c;
  --gold-light: #f0d080;
  --cream: #fdf6e3;
  --dark: #0a0806;
  --deep: #140f07;
  --mid: #2a1f0e;
  --text: #e8dcc8;
  --accent: #8b3a0f;
  --toast-bg: rgba(20, 15, 7, 0.94);
  --scale-boost: 1;
  --aura-opacity: 0.88;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(201, 168, 76, 0.12), transparent 45%),
    linear-gradient(180deg, var(--dark) 0%, rgba(20, 15, 7, var(--aura-opacity)) 100%);
  color: var(--text);
  font-family: "Cormorant Garamond", serif;
  overflow-x: hidden;
  cursor: none;
  transition: background 0.25s linear;
}

body::before {
  content: attr(data-watermark);
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(7rem, 22vw, 18rem);
  letter-spacing: 0.25em;
  color: rgba(240, 208, 128, 0.025);
  text-shadow: 0 0 30px rgba(240, 208, 128, 0.04);
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
  transform: scale(var(--scale-boost));
  transform-origin: center top;
  transition: transform 0.15s linear;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
  z-index: 1000;
}

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

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

.cursor {
  position: fixed;
  width: 12px;
  height: 12px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, background 0.2s ease;
  mix-blend-mode: difference;
  will-change: left, top;
}

.cursor-ring {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: transform 0.18s ease, border-color 0.2s ease;
  opacity: 0.6;
  will-change: left, top;
}

#loadingScreen {
  position: fixed;
  inset: 0;
  background: var(--dark);
  color: var(--gold);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  font-family: "Space Mono", monospace;
  font-size: 1.2rem;
  transition: opacity 1s ease;
}

.spinner {
  margin-top: 2rem;
  width: 40px;
  height: 40px;
  border: 2px solid rgba(201, 168, 76, 0.3);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-left: auto;
  margin-right: auto;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.fixed-panel {
  position: fixed;
  background: rgba(20, 15, 7, 0.8);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: "Space Mono", monospace;
  letter-spacing: 0.2em;
  backdrop-filter: blur(5px);
  z-index: 9000;
}

.worship-btn,
.portal-link,
.back-link,
.hero-cta,
.top-cta,
.footer-link,
.relic-card {
  padding: 1rem 1.2rem;
  line-height: 1.4;
  cursor: none;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.worship-btn:hover,
.portal-link:hover,
.back-link:hover,
.hero-cta:hover,
.top-cta:hover,
.footer-link:hover {
  background: var(--gold);
  color: var(--dark);
  transform: translateY(-5px);
}

.worship-btn {
  right: 2rem;
  bottom: 2rem;
  text-transform: uppercase;
}

.portal-link {
  left: 2rem;
  bottom: 2rem;
  max-width: 260px;
  text-transform: none;
  font-size: 0.82rem;
  text-wrap: balance;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding-inline: 1.5rem;
  border: 1px solid var(--gold);
  background: rgba(20, 15, 7, 0.8);
  color: var(--gold-light);
  font-family: "Space Mono", monospace;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: none;
  backdrop-filter: blur(5px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
  text-align: center;
  text-wrap: balance;
}

.top-cta {
  position: fixed;
  top: 1.35rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9050;
  min-width: min(92vw, 360px);
  padding-inline: 1.5rem;
  background: rgba(20, 15, 7, 0.92);
  color: var(--gold-light);
  text-align: center;
  text-transform: none;
  letter-spacing: 0.1em;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.26);
}

.top-cta:hover {
  transform: translateX(-50%) translateY(-5px);
}

.back-link {
  left: 1.5rem;
  top: 1.5rem;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.jst-clock {
  top: 1.5rem;
  right: 1.5rem;
  padding: 0.85rem 1rem;
  font-size: 0.72rem;
  text-transform: uppercase;
}

[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + 0.75rem);
  right: 0;
  min-width: 240px;
  max-width: 280px;
  padding: 0.75rem 0.9rem;
  background: rgba(10, 8, 6, 0.96);
  border: 1px solid rgba(201, 168, 76, 0.35);
  color: var(--cream);
  font-family: "Space Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

[data-tooltip]:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.worship-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  color: var(--gold);
  z-index: 10001;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.worship-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.worship-overlay h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(3rem, 8vw, 6rem);
  margin-bottom: 0.5rem;
  letter-spacing: 0.1em;
  color: var(--gold-light);
}

.worship-overlay p {
  font-size: 1.5rem;
  font-style: italic;
  color: var(--cream);
  margin-bottom: 2rem;
  opacity: 0.8;
}

#worshipTimer {
  font-family: "Space Mono", monospace;
  font-size: 4rem;
  color: var(--gold);
}

.toast,
.source-warning {
  position: fixed;
  left: 50%;
  transform: translate(-50%, -120%);
  background: var(--toast-bg);
  border: 1px solid rgba(201, 168, 76, 0.35);
  color: var(--cream);
  padding: 0.95rem 1.1rem;
  font-family: "Space Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-align: center;
  z-index: 11000;
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.toast {
  top: 1rem;
}

.source-warning {
  top: 4.8rem;
}

.toast.visible,
.source-warning.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.stars {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.star {
  position: absolute;
  background: var(--gold-light);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  animation: twinkle var(--dur) ease-in-out infinite;
  opacity: 0;
  filter: drop-shadow(0 0 5px rgba(240, 208, 128, 0.7));
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0;
    transform: rotate(var(--rot)) scale(0.45);
  }

  50% {
    opacity: var(--op);
    transform: rotate(var(--rot)) scale(1);
  }
}

.orb {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: left 0.2s ease-out, top 0.2s ease-out;
  will-change: left, top;
}

.bg-lines {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-line {
  position: absolute;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(201, 168, 76, 0.08), transparent);
  top: 0;
  bottom: 0;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem 15rem;
  overflow: hidden;
  z-index: 1;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(201, 168, 76, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-line {
  width: 1px;
  height: 0;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  position: absolute;
  left: 50%;
  top: 0;
  animation: lineDrop 2s ease forwards 0.5s;
}

@keyframes lineDrop {
  to {
    height: 100%;
  }
}

.eyebrow,
.story-kicker {
  font-family: "Space Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  color: var(--gold);
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 1s ease forwards 1s;
}

.eyebrow {
  margin-bottom: 1.5rem;
}

.hero-name,
.story-title {
  font-family: "Bebas Neue", sans-serif;
  line-height: 0.9;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 40%, #7a5a1e 80%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 60px rgba(201, 168, 76, 0.4));
}

.hero-name {
  font-size: clamp(7rem, 22vw, 18rem);
  letter-spacing: -0.02em;
  opacity: 0;
  animation: blastIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards 1.3s;
  position: relative;
  z-index: 2;
}

.story-title {
  font-size: clamp(3.6rem, 10vw, 7.5rem);
  letter-spacing: -0.03em;
  opacity: 0;
  animation: blastIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards 1.25s;
}

@keyframes blastIn {
  from {
    opacity: 0;
    transform: scale(0.6) translateY(40px);
    letter-spacing: -0.15em;
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
    letter-spacing: -0.02em;
  }
}

.hero-subtitle,
.story-intro {
  font-style: italic;
  font-weight: 300;
  color: var(--cream);
  opacity: 0;
  animation: fadeUp 1s ease forwards 2.2s;
  line-height: 1.6;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 3vw, 1.8rem);
  max-width: 600px;
  margin-top: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
  position: relative;
  z-index: 2;
}

.story-intro {
  font-size: clamp(1rem, 2vw, 1.3rem);
  max-width: 540px;
  margin-top: 1.25rem;
}

.hero-divider {
  width: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  margin: 2.5rem auto;
  animation: expandLine 1.5s ease forwards 2.8s;
}

@keyframes expandLine {
  to {
    width: 300px;
  }
}

.scroll-hint {
  font-family: "Space Mono", monospace;
  font-size: 0.55rem;
  letter-spacing: 0.4em;
  color: var(--gold);
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 1s ease forwards 3.5s;
}

.hero .scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}

.story-scroll-hint {
  margin-top: 2rem;
}

.scroll-hint::after {
  content: "";
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  margin: 0.8rem auto 0;
  animation: pulse 2s ease-in-out infinite 4s;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(0.8);
  }

  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ticker-wrap {
  overflow: hidden;
  background: var(--gold);
  padding: 0.9rem 0;
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--gold-light);
  border-bottom: 1px solid var(--gold-light);
}

.ticker {
  display: flex;
  animation: ticker 25s linear infinite;
  white-space: nowrap;
  width: max-content;
}

.ticker-item {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  color: var(--dark);
  padding: 0 2rem;
  display: inline-block;
}

.ticker-item .dot {
  color: var(--accent);
  margin-right: 1.2rem;
  display: inline-block;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

section {
  position: relative;
  z-index: 1;
  padding: 8rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-family: "Space Mono", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.5em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
}

.section-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1;
  color: var(--cream);
  margin-bottom: 3rem;
}

.golden-sep {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  margin: 0;
  opacity: 0.3;
}

.traits-grid,
.experience-grid,
.seen-grid {
  display: grid;
  gap: 1px;
  background: rgba(201, 168, 76, 0.2);
  border: 1px solid rgba(201, 168, 76, 0.15);
}

.traits-grid {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.trait-card,
.experience-card,
.seen-card {
  background: var(--deep);
  padding: 2.5rem 2rem;
  transition: background 0.4s ease, transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.trait-card::before,
.experience-card::before,
.seen-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.08), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.trait-card:hover::before,
.experience-card:hover::before,
.seen-card:hover::before {
  opacity: 1;
}

.trait-card:hover,
.experience-card:hover,
.seen-card:hover {
  transform: translateY(-4px);
  background: var(--mid);
}

.trait-num,
.experience-num,
.seen-num {
  font-family: "Space Mono", monospace;
  font-size: 0.6rem;
  color: var(--gold);
  letter-spacing: 0.3em;
  margin-bottom: 1rem;
  display: block;
  opacity: 0.7;
}

.trait-name,
.experience-name {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.8rem;
  color: var(--gold-light);
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 0.5rem;
}

.trait-desc,
.experience-desc,
.seen-text,
.story-body p,
.body-copy p {
  font-size: 0.9rem;
  font-style: italic;
  color: rgba(232, 220, 200, 0.78);
  line-height: 1.7;
}

.quotes-section {
  background: var(--deep);
  margin: 0;
  max-width: 100%;
  padding: 8rem 2rem;
}

.quotes-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.quote-block {
  border-left: 2px solid var(--gold);
  padding: 2rem 0 2rem 3rem;
  margin-bottom: 4rem;
  position: relative;
}

.quote-text {
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.6;
  color: var(--cream);
  margin-bottom: 1rem;
}

.quote-attr {
  font-family: "Space Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
}

.quote-mark {
  position: absolute;
  top: -1rem;
  left: 2rem;
  font-size: 8rem;
  color: var(--gold);
  opacity: 0.15;
  line-height: 1;
  pointer-events: none;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 2px;
  background: rgba(201, 168, 76, 0.1);
  margin: 4rem 0;
}

.stat-box {
  background: var(--dark);
  padding: 3rem 2rem;
  text-align: center;
  transition: background 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.stat-box:hover {
  background: var(--mid);
}

.stat-num {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(3rem, 7vw, 5rem);
  color: var(--gold-light);
  background: linear-gradient(to bottom, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  line-height: 1;
}

.stat-num.plain-stat {
  background: none;
  color: var(--gold-light);
  -webkit-text-fill-color: currentColor;
  text-shadow: 0 0 18px rgba(240, 208, 128, 0.16);
}

.stat-label {
  font-family: "Space Mono", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: rgba(232, 220, 200, 0.5);
  text-transform: uppercase;
  margin-top: 0.5rem;
  display: block;
}

.stat-subtext {
  font-size: 0.8rem;
  font-style: italic;
  color: var(--gold);
  margin-top: 0.5rem;
  display: block;
  opacity: 0.9;
}

.height-infinity {
  display: inline-block;
  font-family: "Cormorant Garamond", serif;
  color: var(--gold-light);
  -webkit-text-fill-color: var(--gold-light);
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  text-shadow: 0 0 12px rgba(240, 208, 128, 0.3);
}

.star-rating {
  font-size: 2rem;
  line-height: 1.3;
  display: block;
  letter-spacing: 0.12em;
  text-shadow: 0 0 16px rgba(240, 208, 128, 0.35);
}

.manifesto,
.first-person-block {
  background: linear-gradient(135deg, var(--mid) 0%, var(--deep) 50%, rgba(139, 58, 15, 0.1) 100%);
  border: 1px solid rgba(201, 168, 76, 0.2);
  padding: 5rem 4rem;
  margin: 4rem 0;
  position: relative;
  overflow: hidden;
}

.manifesto::before,
.first-person-block::before {
  position: absolute;
  right: -2rem;
  top: -4rem;
  font-family: "Bebas Neue", sans-serif;
  font-size: 25rem;
  color: rgba(201, 168, 76, 0.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.manifesto::before {
  content: "J";
}

.first-person-block::before {
  content: '"';
}

.manifesto p,
.first-person-block p {
  font-size: clamp(1rem, 2vw, 1.3rem);
  line-height: 2;
  font-weight: 300;
  color: var(--cream);
  position: relative;
  z-index: 1;
}

.manifesto p + p,
.body-copy p + p {
  margin-top: 1.5rem;
}

.manifesto p span.gold {
  color: var(--gold-light);
  font-style: italic;
}

.poem-card {
  border: 1px solid rgba(201, 168, 76, 0.2);
  background: linear-gradient(135deg, rgba(42, 31, 14, 0.85), rgba(20, 15, 7, 0.95));
  padding: 4rem 3rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.poem-body {
  font-size: clamp(1.15rem, 2.4vw, 1.65rem);
  line-height: 1.9;
  color: var(--cream);
  white-space: pre-line;
}

.signature {
  display: inline-block;
  margin-top: 2.5rem;
  font-family: "Great Vibes", cursive;
  font-size: clamp(3.2rem, 7vw, 5.4rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--gold-light);
  text-shadow: 0 0 20px rgba(201, 168, 76, 0.16);
  transform: rotate(-5deg);
}

.mirror-section {
  max-width: 100%;
  padding: 8rem 2rem 9rem;
  background:
    linear-gradient(135deg, rgba(253, 246, 227, 0.1), rgba(201, 168, 76, 0.06), rgba(255, 255, 255, 0.12)),
    radial-gradient(circle at 20% 20%, rgba(240, 208, 128, 0.22), transparent 45%),
    linear-gradient(180deg, rgba(10, 8, 6, 0.6), rgba(253, 246, 227, 0.12), rgba(10, 8, 6, 0.7));
  position: relative;
  overflow: hidden;
}

.mirror-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, transparent 15%, rgba(255, 255, 255, 0.22) 35%, transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 30%, rgba(255, 255, 255, 0.08) 60%, transparent 100%);
  mix-blend-mode: screen;
  pointer-events: none;
  animation: sheen 8s linear infinite;
}

@keyframes sheen {
  from {
    transform: translateX(-20%);
  }

  to {
    transform: translateX(20%);
  }
}

.mirror-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 4rem 2.5rem;
  border: 1px solid rgba(253, 246, 227, 0.25);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 40px rgba(255, 255, 255, 0.05), 0 20px 80px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(18px) saturate(150%);
}

.mirror-header {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  margin: 0 0 2rem auto;
  text-align: right;
}

.mirror-header .section-label {
  color: var(--gold-light);
  margin-bottom: 0.8rem;
}

.mirror-header .section-title {
  color: var(--gold-light);
  margin-bottom: 0;
  text-shadow: 0 0 24px rgba(10, 8, 6, 0.35);
}

.mirror-copy {
  max-width: 600px;
  font-size: clamp(1.25rem, 2.6vw, 1.9rem);
  line-height: 1.6;
  color: var(--cream);
}

.mirror-link {
  margin-top: 2rem;
}

footer {
  background: var(--deep);
  border-top: 1px solid rgba(201, 168, 76, 0.15);
  text-align: center;
  padding: 4rem 2rem;
  position: relative;
  z-index: 1;
}

.footer-name {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(3rem, 10vw, 7rem);
  background: linear-gradient(135deg, var(--gold-light), var(--gold), rgba(201, 168, 76, 0.3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  letter-spacing: 0.1em;
}

.footer-tagline {
  font-size: 0.85rem;
  font-style: italic;
  color: rgba(232, 220, 200, 0.5);
  margin-top: 1rem;
  letter-spacing: 0.1em;
  line-height: 1.7;
}

.footer-link {
  display: inline-flex;
  margin-top: 2rem;
  border: 1px solid rgba(201, 168, 76, 0.55);
  color: var(--gold);
  background: rgba(10, 8, 6, 0.34);
  font-family: "Space Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.story-hero {
  position: relative;
  min-height: 100vh;
  padding: 8rem 2rem 6rem;
  display: flex;
  align-items: center;
  z-index: 1;
}

.story-grid {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 3rem;
  align-items: center;
}

.story-copy {
  position: relative;
  z-index: 1;
}

.story-title-wrap {
  max-width: 720px;
}

.hero-portrait-frame {
  position: relative;
  background: linear-gradient(135deg, rgba(42, 31, 14, 0.9), rgba(20, 15, 7, 0.98));
  border: 1px solid rgba(201, 168, 76, 0.28);
  padding: 1rem;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.hero-portrait-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.12), transparent 45%);
  pointer-events: none;
  z-index: 1;
}

.hero-portrait-frame::after {
  content: "Click thrice to consult the bottle";
  position: absolute;
  right: 1rem;
  bottom: 4.8rem;
  left: 1rem;
  padding: 0.6rem 0.7rem;
  background: rgba(10, 8, 6, 0.78);
  border: 1px solid rgba(201, 168, 76, 0.28);
  color: var(--gold-light);
  font-family: "Space Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-align: center;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 2;
}

.hero-portrait-frame:hover::after,
.hero-portrait-frame.revealed::after {
  opacity: 1;
  transform: translateY(0);
}

.hero-portrait-frame.revealed {
  box-shadow: 0 0 0 1px rgba(240, 208, 128, 0.45), 0 0 80px rgba(240, 208, 128, 0.22), 0 30px 90px rgba(0, 0, 0, 0.45);
}

.hero-portrait {
  aspect-ratio: 1120 / 1065;
  width: 100%;
  object-fit: cover;
  border: 1px solid rgba(240, 208, 128, 0.25);
  filter: saturate(0.92) contrast(1.03);
}

.image-caption {
  margin-top: 1rem;
  font-family: "Space Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(232, 220, 200, 0.72);
  line-height: 1.7;
}

.section-shell {
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}

.body-copy {
  max-width: 760px;
}

.body-copy p,
.story-body p {
  font-size: clamp(1rem, 2vw, 1.22rem);
}

.experience-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.experience-name {
  line-height: 1;
}

.experience-desc {
  font-style: normal;
}

.first-person-block blockquote {
  position: relative;
  z-index: 1;
  color: var(--cream);
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  line-height: 1.8;
  font-style: italic;
}

.quote-credit {
  margin-top: 2rem;
  display: inline-block;
  font-family: "Space Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

.seen-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 3rem;
}

.seen-card {
  min-height: 230px;
}

.placeholder-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201, 168, 76, 0.28);
  color: var(--gold);
  padding: 0.4rem 0.6rem;
  font-family: "Space Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.seen-text {
  font-size: 1rem;
  color: var(--cream);
  font-style: italic;
}

.seen-author {
  display: block;
  margin-top: 1.2rem;
  font-family: "Space Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.miracle-grid,
.relic-grid,
.canon-grid,
.apocrypha-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: rgba(201, 168, 76, 0.2);
  border: 1px solid rgba(201, 168, 76, 0.15);
  margin-top: 3rem;
}

.miracle-card,
.relic-card,
.canon-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 230px;
  width: 100%;
  border: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(240, 208, 128, 0.12), transparent 45%),
    var(--deep);
  color: var(--text);
  font: inherit;
  text-align: left;
  overflow: hidden;
  position: relative;
}

.miracle-card,
.relic-card {
  padding: 2.5rem 2rem;
}

.miracle-card:hover,
.relic-card:hover,
.canon-card:hover {
  background:
    radial-gradient(circle at 20% 0%, rgba(240, 208, 128, 0.18), transparent 48%),
    var(--mid);
  transform: translateY(-4px);
}

.relic-index,
.miracle-num,
.canon-num {
  font-family: "Space Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

.miracle-title,
.relic-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 0.95;
  color: var(--gold-light);
  letter-spacing: 0.03em;
}

.miracle-card p,
.relic-copy {
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(232, 220, 200, 0.74);
}

.miracle-card p {
  margin-top: auto;
  color: rgba(232, 220, 200, 0.78);
}

.canon-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.canon-lede {
  max-width: 680px;
  margin-top: 1.5rem;
  color: var(--cream);
  font-size: clamp(1.1rem, 2.4vw, 1.65rem);
  line-height: 1.6;
  font-style: italic;
  opacity: 0;
  animation: fadeUp 1s ease forwards 2.1s;
}

.canon-card {
  padding: 2.2rem;
}

.canon-num {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(3rem, 8vw, 5.8rem);
  line-height: 0.8;
  letter-spacing: 0.04em;
  color: transparent;
  background: linear-gradient(135deg, var(--gold-light), var(--gold), rgba(201, 168, 76, 0.3));
  -webkit-background-clip: text;
  background-clip: text;
}

.canon-card p {
  margin-top: auto;
  color: var(--cream);
  font-size: clamp(1rem, 2vw, 1.3rem);
  line-height: 1.5;
  font-style: italic;
}

.apocrypha-card {
  min-height: 210px;
}

.comparison-hero {
  min-height: 82vh;
}

.comparison-panel {
  border: 1px solid rgba(201, 168, 76, 0.22);
  background:
    radial-gradient(circle at top right, rgba(240, 208, 128, 0.12), transparent 38%),
    linear-gradient(135deg, rgba(42, 31, 14, 0.88), rgba(20, 15, 7, 0.96));
  padding: clamp(2rem, 5vw, 4rem);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
}

.comparison-control {
  max-width: 760px;
  margin: 0 auto 3rem;
}

.comparison-slider {
  width: 100%;
  accent-color: var(--gold);
  cursor: none;
}

.comparison-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.comparison-presets .hero-cta {
  min-height: 44px;
  padding: 0.75rem 1rem;
  font-size: 0.66rem;
}

.comparison-readout {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  color: var(--cream);
}

#comparisonValue {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(3rem, 10vw, 7rem);
  line-height: 0.9;
  color: var(--gold-light);
}

#comparisonVerdict {
  font-family: "Space Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--gold);
  text-transform: uppercase;
}

.comparison-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(201, 168, 76, 0.18);
  border: 1px solid rgba(201, 168, 76, 0.15);
}

.comparison-columns > div {
  min-height: 260px;
  background: rgba(10, 8, 6, 0.72);
  padding: 2rem;
}

.meter {
  height: 18px;
  width: 100%;
  margin: 2rem 0;
  background: rgba(253, 246, 227, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.2);
  overflow: hidden;
}

.meter span {
  display: block;
  height: 100%;
  width: 20%;
  background: linear-gradient(90deg, rgba(253, 246, 227, 0.42), rgba(201, 168, 76, 0.78));
  transition: width 0.22s ease;
}

.meter-gold span {
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--cream));
  box-shadow: 0 0 22px rgba(240, 208, 128, 0.42);
}

.comparison-columns p {
  color: var(--cream);
  font-size: clamp(1rem, 2vw, 1.3rem);
  line-height: 1.6;
  font-style: italic;
}

.comparison-matrix {
  display: grid;
  gap: 1px;
  margin-top: 3rem;
  background: rgba(201, 168, 76, 0.18);
  border: 1px solid rgba(201, 168, 76, 0.15);
}

.axis-row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(160px, 1.4fr) 64px;
  gap: 1.5rem;
  align-items: center;
  padding: 1.4rem;
  background: rgba(10, 8, 6, 0.72);
}

.axis-name,
.axis-score {
  display: block;
  font-family: "Space Mono", monospace;
  color: var(--gold);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.axis-desc {
  display: block;
  margin-top: 0.45rem;
  color: rgba(232, 220, 200, 0.68);
  font-size: 0.95rem;
  line-height: 1.45;
  font-style: italic;
}

.axis-track {
  height: 12px;
  border: 1px solid rgba(201, 168, 76, 0.22);
  background: rgba(253, 246, 227, 0.08);
  overflow: hidden;
}

.axis-track span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--gold), var(--gold-light));
  box-shadow: 0 0 18px rgba(240, 208, 128, 0.24);
  transition: width 0.28s ease;
}

.axis-score {
  text-align: right;
  color: var(--gold-light);
}

.finding-card {
  margin-top: 3rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid rgba(240, 208, 128, 0.28);
  background:
    radial-gradient(circle at top left, rgba(240, 208, 128, 0.14), transparent 42%),
    rgba(10, 8, 6, 0.72);
}

.finding-card p {
  color: var(--cream);
  font-size: clamp(1.25rem, 2.8vw, 2rem);
  line-height: 1.45;
  font-style: italic;
}

.organon-list {
  display: grid;
  gap: 1px;
  background: rgba(201, 168, 76, 0.18);
  border: 1px solid rgba(201, 168, 76, 0.15);
}

.organon-entry {
  min-height: 220px;
  padding: 2.5rem;
  background:
    radial-gradient(circle at top left, rgba(240, 208, 128, 0.1), transparent 42%),
    var(--deep);
}

.organon-entry h3 {
  font-family: "Bebas Neue", sans-serif;
  color: var(--gold-light);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 0.95;
  margin-bottom: 1rem;
}

.organon-entry p {
  color: var(--cream);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.65;
  font-style: italic;
}

.scribe-section {
  display: none;
}

.scribe-section.visible {
  display: block;
}

.scribe-panel {
  border: 1px solid rgba(201, 168, 76, 0.22);
  background: linear-gradient(135deg, rgba(42, 31, 14, 0.88), rgba(10, 8, 6, 0.96));
  padding: clamp(1.5rem, 5vw, 3rem);
}

.scribe-panel label {
  display: block;
  color: var(--gold);
  font-family: "Space Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.scribe-input,
.scribe-textarea {
  width: 100%;
  margin-top: 0.65rem;
  border: 1px solid rgba(201, 168, 76, 0.32);
  background: rgba(10, 8, 6, 0.74);
  color: var(--cream);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.1rem;
  line-height: 1.5;
  padding: 0.9rem 1rem;
  outline: none;
}

.scribe-input:focus,
.scribe-textarea:focus {
  border-color: var(--gold-light);
  box-shadow: 0 0 0 2px rgba(240, 208, 128, 0.1);
}

.export-box {
  margin-top: 2rem;
}

.easter-overlay {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 2rem;
  background:
    radial-gradient(circle at 50% 35%, rgba(240, 208, 128, 0.16), transparent 38%),
    rgba(0, 0, 0, 0.86);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 12000;
}

.easter-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

.easter-panel {
  width: min(760px, 100%);
  border: 1px solid rgba(240, 208, 128, 0.45);
  background: linear-gradient(135deg, rgba(42, 31, 14, 0.95), rgba(10, 8, 6, 0.98));
  padding: clamp(2rem, 6vw, 4rem);
  text-align: center;
  box-shadow: 0 30px 120px rgba(0, 0, 0, 0.55), 0 0 80px rgba(240, 208, 128, 0.12);
}

.easter-panel h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(3rem, 10vw, 6rem);
  line-height: 0.95;
  color: var(--gold-light);
  letter-spacing: 0.03em;
  margin: 1rem 0;
}

.easter-panel p {
  max-width: 560px;
  margin: 0 auto;
  color: var(--cream);
  font-size: clamp(1rem, 2.3vw, 1.35rem);
  line-height: 1.7;
  font-style: italic;
}

.easter-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

body.ascended {
  background:
    radial-gradient(circle at top, rgba(240, 208, 128, 0.22), transparent 45%),
    radial-gradient(circle at bottom left, rgba(139, 58, 15, 0.18), transparent 35%),
    linear-gradient(180deg, var(--dark) 0%, rgba(42, 31, 14, 0.96) 100%);
}

body.ascended .star {
  box-shadow: 0 0 10px rgba(240, 208, 128, 0.8);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .story-grid,
  .section-shell,
  .comparison-columns,
  .axis-row {
    grid-template-columns: 1fr;
  }

  .axis-score {
    text-align: left;
  }

  .story-hero {
    padding-top: 9rem;
  }

  .mirror-header {
    margin-left: 0;
    width: 100%;
    text-align: left;
  }
}

@media (max-width: 760px) {
  .manifesto,
  .poem-card,
  .mirror-inner,
  .first-person-block,
  .easter-panel {
    padding: 3rem 1.5rem;
  }

  .trait-card,
  .experience-card,
  .seen-card,
  .miracle-card,
  .relic-card,
  .canon-card,
  .organon-entry {
    padding: 1.8rem 1.2rem;
  }

  .quote-block {
    padding-left: 1.5rem;
  }

  .jst-clock,
  .back-link {
    top: 1rem;
    font-size: 0.62rem;
  }

  .top-cta {
    top: 4.75rem;
    min-width: min(92vw, 320px);
    font-size: 0.72rem;
  }

  .back-link {
    left: 1rem;
  }

  .jst-clock {
    right: 1rem;
  }

  .portal-link,
  .worship-btn {
    bottom: 1rem;
    font-size: 0.7rem;
  }

  .portal-link {
    left: 1rem;
    max-width: calc(100vw - 8.5rem);
  }

  .worship-btn {
    right: 1rem;
  }

  .easter-actions {
    flex-direction: column;
  }

  .hero {
    padding-bottom: 12rem;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .hero-cta {
    width: min(100%, 320px);
  }
}

@media (pointer: coarse) {
  body {
    cursor: auto;
  }

  .cursor,
  .cursor-ring,
  .orb {
    display: none;
  }

  .worship-btn,
  .portal-link,
  .back-link,
  .footer-link,
  .miracle-card,
  .relic-card,
  .comparison-slider,
  .scribe-input,
  .scribe-textarea,
  .comparison-presets .hero-cta {
    cursor: pointer;
  }
}


.gold-plate {
  position: relative;
  padding: 2.5rem 3rem;
  background:
    linear-gradient(135deg,
      #f5e193 0%,
      #e8c84a 18%,
      #f9efa0 35%,
      #c9a030 52%,
      #f0d87a 68%,
      #b8861e 82%,
      #f5e193 100%
    );
  border: 1px solid rgba(240, 208, 128, 0.6);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -1px 0 rgba(100, 70, 0, 0.35),
    0 8px 32px rgba(0, 0, 0, 0.45),
    0 2px 6px rgba(201, 168, 76, 0.3);
}

.gold-plate::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      100deg,
      transparent 0px,
      rgba(255, 255, 255, 0.07) 1px,
      transparent 2px,
      transparent 6px
    );
  pointer-events: none;
}

.gold-plate p {
  color: #1a1000;
  font-style: italic;
  text-shadow: 0 1px 0 rgba(255, 240, 160, 0.5);
  position: relative;
  z-index: 1;
}

.gold-plate p + p {
  margin-top: 1.25rem;
}