/* The Hero Journey */

:root {
  --bg-void: #050508; --bg-deep: #0a0a0f; --bg-card: #12121a;
  --gold: #d4af37; --gold-soft: #e8d48a; --text-primary: #e8e4dc; --text-muted: #9a9588;
  --border: rgba(212, 175, 55, 0.15); --white-gold: #f5eed8;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
.skip-link { position: absolute; top: -100px; left: 1rem; padding: 0.5rem 1rem; background: var(--gold); color: var(--bg-deep); text-decoration: none; z-index: 200; }
.skip-link:focus { top: 1rem; }
html { scroll-behavior: smooth; scroll-padding-top: 4rem; }
body { font-family: 'Crimson Pro', 'Cormorant Garamond', serif; background: var(--bg-deep); color: var(--text-primary); line-height: 1.75; min-height: 100vh; }
.ambient-bg { position: fixed; inset: 0; background: radial-gradient(ellipse 100% 80% at 50% -20%, rgba(74, 63, 122, 0.15) 0%, transparent 50%), var(--bg-deep); pointer-events: none; z-index: -2; }
.particle-field { position: fixed; inset: 0; background-image: radial-gradient(1px 1px at 20% 30%, rgba(212, 175, 55, 0.3), transparent), radial-gradient(1px 1px at 60% 70%, rgba(212, 175, 55, 0.2), transparent); background-size: 200% 200%; animation: particle-drift 30s ease-in-out infinite; pointer-events: none; z-index: -1; opacity: 0.6; }
@keyframes particle-drift { 0%, 100% { background-position: 0% 0%; } 50% { background-position: 100% 100%; } }
.header { position: fixed; top: 0; left: 0; right: 0; padding: 1rem 2rem; background: rgba(5, 5, 8, 0.85); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); z-index: 100; }
.header-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.2rem; font-weight: 600; color: var(--gold); text-decoration: none; }
.nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.nav a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; }
.nav a:hover { color: var(--gold-soft); }
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 8rem 2rem 4rem; }
.hero-content { text-align: center; max-width: 750px; }
.hero-image-wrapper { margin-bottom: 2rem; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); }
.hero-img { width: 100%; max-width: 700px; height: auto; display: block; cursor: pointer; }
.hero h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.75rem, 6vw, 4.5rem); font-weight: 600; margin-bottom: 0.5rem; color: var(--gold); }
.tagline { font-size: 1.25rem; color: var(--text-muted); margin-bottom: 2rem; }
.opening-quote { margin: 2rem 0; padding: 1.5rem 2rem; border-left: 3px solid var(--gold); background: rgba(212, 175, 55, 0.04); text-align: left; }
.opening-quote p { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; font-style: italic; color: var(--white-gold); }
.opening-quote cite { display: block; margin-top: 0.5rem; font-size: 0.95rem; color: var(--text-muted); }
.hero-intro { margin-top: 1.5rem; font-size: 1.05rem; color: var(--text-muted); }
.hero-intro strong { color: var(--gold); }
.section { padding: 5rem 2rem; opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s ease; }
.section.revealed { opacity: 1; transform: translateY(0); }
.section.dark { background: linear-gradient(180deg, rgba(18, 18, 26, 0.5) 0%, rgba(10, 10, 15, 0.3) 100%); }
.container { max-width: 900px; margin: 0 auto; }
.section h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.85rem, 3.5vw, 2.5rem); margin-bottom: 1rem; color: var(--gold); font-weight: 600; }
.lead { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 1.5rem; font-style: italic; }
.section p { margin-bottom: 1rem; }
.content-with-image { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; margin: 2rem 0; }
.content-with-image.reverse { direction: rtl; }
.content-with-image.reverse > * { direction: ltr; }
.diagram-block { margin: 2rem 0; text-align: center; }
.diagram-block img { max-width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--border); cursor: pointer; }
.diagram-block figcaption { font-size: 0.9rem; color: var(--text-muted); margin-top: 0.75rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.25rem; margin: 2.5rem 0; }
.gallery-grid figure { margin: 0; background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.gallery-grid figure:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3); }
.gallery-grid img { width: 100%; height: 160px; object-fit: cover; cursor: pointer; }
.gallery-grid figcaption { padding: 0.75rem; font-size: 0.85rem; color: var(--text-muted); }
.coda { padding-bottom: 4rem; }
.coda-image { margin-bottom: 2rem; text-align: center; }
.coda-image img { max-width: 100%; border-radius: 10px; border: 1px solid var(--border); cursor: pointer; }
.coda blockquote.closing { margin-top: 2.5rem; padding: 2rem 2.5rem; border-left: 4px solid var(--gold); background: rgba(212, 175, 55, 0.06); font-style: italic; font-size: 1.15rem; }
.closing p { color: var(--white-gold); }
.footer { padding: 3rem 2rem; text-align: center; border-top: 1px solid var(--border); }
.footer p { font-size: 0.95rem; color: var(--text-muted); }
.footer .fine { font-size: 0.85rem; margin-top: 0.5rem; opacity: 0.85; }
.footer .back-link { display: inline-block; margin-right: 1rem; color: var(--gold); }
.footer .back-to-top { display: inline-block; margin-top: 1rem; color: var(--gold); text-decoration: none; }
@media (max-width: 900px) { .content-with-image, .content-with-image.reverse { grid-template-columns: 1fr; direction: ltr; } }
@media (max-width: 600px) { .hero { padding: 6rem 1rem 3rem; } .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
