/* Option 10 — Warm Lantern Spotlight */
:root {
  --navy:      #0F1E2A;
  --gold:      #C6A46A;
  --champagne: #E8E1D6;
  --taupe:     #B8ADA1;
  --ivory:     #F7F5F2;
  --mx: 50%;
  --my: 50%;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }

body {
  background: var(--navy);
  color: var(--ivory);
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
  cursor: none;
}

/* ---- Film grain ---- */
.grain {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  pointer-events: none;
  mix-blend-mode: screen;
}

/* ---- Custom cursor ---- */
.cursor-dot {
  position: fixed;
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 200;
  transform: translate(-50%, -50%);
  opacity: 0.9;
  transition: opacity 0.3s;
}

.cursor-ring {
  position: fixed;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(198, 164, 106, 0.35);
  border-radius: 50%;
  pointer-events: none;
  z-index: 200;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
}

.is-touch .cursor-dot,
.is-touch .cursor-ring { display: none; }

/* ---- Background image ---- */
.bg-image {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: url('background_image.webp');
  background-size: cover;
  background-position: center;
  filter: saturate(0.6) brightness(0.52);
  animation: bgFadeIn 1.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes bgFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ---- Spotlight — warm amber lantern ---- */
.spotlight {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(
    circle 340px at var(--mx) var(--my),
    rgba(15, 30, 42, 0.00)  0%,
    rgba(198,164,106,0.05) 12%,
    rgba(15, 30, 42, 0.28) 32%,
    rgba(15, 30, 42, 0.78) 56%,
    rgba(15, 30, 42, 0.97) 76%,
    rgba(15, 30, 42, 1.00) 100%
  );
  transition: opacity 0.4s;
}

/* Idle: breathing pulse on the spotlight radius */
@keyframes breathe {
  0%, 100% { --spotlight-scale: 1; opacity: 1; }
  50%       { opacity: 0.97; }
}

body.is-idle .spotlight {
  animation: breathe 4s ease-in-out infinite;
}

/* Mobile: static gradient reveal */
.is-touch .spotlight {
  background: linear-gradient(
    to bottom,
    rgba(15, 30, 42, 0.45) 0%,
    rgba(15, 30, 42, 0.88) 100%
  );
}

/* ---- Permanent corner vignette ---- */
.vignette {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(
    ellipse 90% 85% at 50% 50%,
    transparent 55%,
    rgba(8, 16, 22, 0.55) 100%
  );
}

/* ---- UI layer ---- */
.page {
  position: relative;
  z-index: 3;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px 36px;
}

/* ---- Nav ---- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  animation: fadeUp 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.5em;
  color: var(--gold);
}

.nav-link {
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: rgba(184, 173, 161, 0.38);
  text-decoration: none;
  transition: color 0.25s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: rgba(198, 164, 106, 0.7);
}
.nav-link:hover::after { width: 100%; }

/* ---- Explore hint ---- */
.explore-hint {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(184, 173, 161, 0.35);
  pointer-events: none;
  transition: opacity 0.8s ease;
  animation: fadeIn 2s ease 1s both;
  white-space: nowrap;
}

.hint-rule {
  width: 28px;
  height: 1px;
  background: rgba(184, 173, 161, 0.25);
}

.explore-hint span {
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.35em;
  text-transform: uppercase;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.hint--gone {
  opacity: 0 !important;
  transition: opacity 0.5s ease;
}

/* ---- Footer ---- */
.footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  animation: fadeUp 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-monogram {
  font-family: 'Cormorant Garamond', serif;
  font-size: 52px;
  font-weight: 300;
  color: var(--gold);
  opacity: 0.65;
  line-height: 1;
}

.footer-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.48em;
  color: var(--ivory);
  opacity: 0.75;
}

.footer-divider {
  width: 20px;
  height: 1px;
  background: var(--gold);
  opacity: 0.3;
}

.footer-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  font-weight: 300;
  font-style: italic;
  color: var(--taupe);
  opacity: 0.55;
  letter-spacing: 0.04em;
}

.footer-copy {
  font-size: 10px;
  font-weight: 200;
  color: rgba(184, 173, 161, 0.2);
  letter-spacing: 0.1em;
}

/* ---- Entry animation ---- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- Mobile ---- */
@media (max-width: 600px) {
  body { overflow: auto; cursor: auto; }
  .footer { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-copy { align-self: flex-end; }
}
