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

:root {
  --void:         #0C0C0B;
  --deep:         #0F0E0C;
  --surface:      #161411;
  --lift:         #1E1B18;
  --ivory:        #F2E9DC;
  --ivory-dim:    rgba(242,233,220,0.28);
  --ivory-glow:   rgba(242,233,220,0.06);
  --ivory-mid:    rgba(242,233,220,0.5);
  --gold:         #B8965A;
  --gold-dim:     rgba(184,150,90,0.3);
  --gold-mid:     rgba(184,150,90,0.5);
  --gold-glow:    rgba(184,150,90,0.07);
  --text:         rgba(255,255,255,0.92);
  --muted:        rgba(255,255,255,0.42);
  --dim:          rgba(255,255,255,0.18);
  --border:       rgba(255,255,255,0.06);
  --border-hi:    rgba(255,255,255,0.12);
  --card-bg:      rgba(255,255,255,0.025);
  --font:         -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui, sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  background: var(--void);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ─── CURSOR GLOW ─── */
#cursor-glow {
  position: fixed;
  width: 440px; height: 440px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle at center, rgba(242,233,220,0.04) 0%, transparent 65%);
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
}

/* ─── NAVIGATION ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: 56px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
  background: rgba(12,12,11,0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 0.5px solid var(--border);
  z-index: 100;
}
.nav-wordmark {
  font-size: 15px; font-weight: 700; letter-spacing: 0.18em;
  text-decoration: none; text-transform: uppercase;
  background: linear-gradient(90deg, #B8965A, #E8D4B0, #B8965A);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: goldShimmer 5s linear infinite;
  display: inline-flex; align-items: center; gap: 10px;
}
.nav-logo-mark {
  flex-shrink: 0;
  -webkit-text-fill-color: initial;
  display: flex; align-items: center;
}
@keyframes goldShimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}
.nav-links {
  display: flex; gap: 36px; list-style: none;
  position: absolute; left: 50%; transform: translateX(-50%);
}
.nav-links a {
  font-size: 12px; font-weight: 500; letter-spacing: 0.06em;
  color: var(--muted); text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-book {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; text-decoration: none;
  padding: 9px 22px; border-radius: 980px;
  border: 0.5px solid var(--ivory-dim);
  color: var(--ivory);
  transition: all 0.25s cubic-bezier(0.16,1,0.3,1);
}
.nav-book:hover {
  background: var(--ivory-glow);
  border-color: var(--ivory-mid);
}

/* ─── TYPOGRAPHY ─── */
h1 { font-size: clamp(52px, 7.5vw, 108px); font-weight: 700; letter-spacing: -3px; line-height: 0.96; }
h2 { font-size: clamp(32px, 4vw, 56px); font-weight: 700; letter-spacing: -1.5px; line-height: 1.08; }
h3 { font-size: clamp(22px, 2.5vw, 32px); font-weight: 700; letter-spacing: -0.6px; }
p  { font-size: 15px; line-height: 1.72; color: var(--muted); }

.eyebrow {
  display: block;
  font-size: 10px; font-weight: 600; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--gold);
}
.eyebrow-ivory { color: var(--ivory-mid); }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 14px 30px;
  border-radius: 980px; text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16,1,0.3,1);
  position: relative; cursor: pointer;
}
.btn-ivory {
  background: var(--ivory); color: #0C0C0B;
  border: none;
}
.btn-ivory:hover { opacity: 0.88; transform: scale(0.975); }

.btn-outline-ivory {
  background: transparent;
  color: var(--ivory);
  border: 0.5px solid var(--ivory-dim);
}
.btn-outline-ivory:hover { background: var(--ivory-glow); border-color: var(--ivory-mid); }

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 0.5px solid var(--gold-mid);
}
.btn-outline:hover { background: var(--gold-glow); border-color: var(--gold); }

/* ─── EXPANDING RING (click explosion) ─── */
.btn-ring {
  position: fixed; pointer-events: none; border-radius: 980px;
  border: 2px solid rgba(242,233,220,0.9);
  box-shadow: 0 0 20px rgba(242,233,220,0.4), 0 0 44px rgba(242,233,220,0.12);
  transform: translate(-50%, -50%) scale(1);
  animation: ringExpand 0.65s cubic-bezier(0.16,1,0.3,1) forwards;
  z-index: 9999;
}
.btn-ring::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: rgba(242,233,220,0.1);
  animation: ringFlash 0.2s ease-out forwards;
}
.btn-ring::after {
  content: ''; position: absolute; inset: -10px; border-radius: inherit;
  border: 1px solid rgba(242,233,220,0.45);
  animation: ringExpand2 0.7s 0.06s cubic-bezier(0.16,1,0.3,1) forwards; opacity: 0;
}
@keyframes ringExpand  { 0%{transform:translate(-50%,-50%) scale(1);opacity:1} 100%{transform:translate(-50%,-50%) scale(2.8);opacity:0} }
@keyframes ringExpand2 { 0%{transform:scale(1);opacity:1} 100%{transform:scale(3.1);opacity:0} }
@keyframes ringFlash   { 0%{opacity:1} 100%{opacity:0} }

/* ─── SPOTLIGHT CARD ─── */
.card-spotlight { position: relative; }
.card-spotlight::before {
  content: ''; position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(340px circle at var(--mouse-x,-999px) var(--mouse-y,-999px),
    rgba(242,233,220,0.1), transparent 55%);
  pointer-events: none; z-index: 1;
  transition: opacity 0.3s;
}

/* ─── SECTION DIVIDER ─── */
.section-divider {
  position: relative; height: 0.5px;
  margin: 0 48px; overflow: visible;
  background: var(--border);
}
.section-divider::after {
  content: ''; position: absolute;
  left: -100%; top: 0; height: 100%; width: 60%;
  background: linear-gradient(to right, transparent, var(--ivory-dim), transparent);
  transition: none;
}
.section-divider.is-visible::after {
  animation: dividerSweep 1.4s cubic-bezier(0.16,1,0.3,1) forwards;
}
@keyframes dividerSweep {
  from { left: -100%; }
  to   { left: 200%; }
}

/* ─── SCROLL REVEAL ─── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.img-reveal { opacity: 0; transition: opacity 1.1s cubic-bezier(0.16,1,0.3,1); }
.img-reveal.visible { opacity: 1; }
.rd1 { transition-delay: 0.08s; }
.rd2 { transition-delay: 0.16s; }
.rd3 { transition-delay: 0.24s; }
.rd4 { transition-delay: 0.32s; }
.rd5 { transition-delay: 0.40s; }

/* ─── INNER PAGE HERO ─── */
.page-hero {
  min-height: 56vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 72px 76px; position: relative; overflow: hidden;
  margin-top: 56px;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(0.32);
  animation: heroZoom 9s ease forwards;
}
@keyframes heroZoom { from { transform: scale(1.05); } to { transform: scale(1); } }
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.94) 0%, rgba(0,0,0,0.06) 65%);
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero-content .eyebrow { margin-bottom: 16px; }

/* ─── MARQUEE ─── */
.marquee-section {
  padding: 26px 0; overflow: hidden;
  background: var(--deep);
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
}
.marquee-track { display: flex; white-space: nowrap; animation: marqueeScroll 32s linear infinite; }
.marquee-inner { display: flex; align-items: center; gap: 56px; padding-right: 56px; flex-shrink: 0; }
.marquee-item { font-size: 10px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--dim); }
.marquee-gem { color: var(--gold); font-size: 6px; flex-shrink: 0; }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ─── TWO-TIER FOOTER ─── */
.site-footer {
  padding: 64px 72px 48px;
  background: var(--deep);
  border-top: 0.5px solid var(--border);
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 20px;
}
.footer-wordmark {
  font-size: 13px; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold);
}
.footer-tagline {
  font-size: 12px; font-style: italic; color: var(--muted); letter-spacing: 0.02em;
}
.footer-nav {
  display: flex; gap: 32px; flex-wrap: wrap; justify-content: center;
}
.footer-nav a {
  font-size: 11px; font-weight: 500; letter-spacing: 0.08em;
  color: var(--dim); text-decoration: none; transition: color 0.2s;
}
.footer-nav a:hover { color: var(--ivory-mid); }
.footer-copy { font-size: 11px; color: var(--dim); letter-spacing: 0.04em; margin-top: 8px; }

.pm-credit {
  background: rgba(0,0,0,0.5);
  border-top: 0.5px solid var(--border);
  padding: 24px 48px;
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 24px;
}
.pm-credit .back-link {
  font-size: 11px; letter-spacing: 0.06em; color: var(--dim); text-decoration: none;
  transition: color 0.2s;
}
.pm-credit .back-link:hover { color: var(--muted); }
.pm-credit .pm-logo-link { display: flex; align-items: center; justify-content: center; }
.pm-credit img { height: 44px; width: auto; filter: brightness(0) invert(1); opacity: 1; }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  .page-hero { padding: 0 24px 52px; }
  .site-footer { padding: 48px 24px 36px; }
  .pm-credit { padding: 20px 24px; grid-template-columns: 1fr auto 1fr; }
  .section-divider { margin: 0 24px; }
}
