/* ---- Reset / base ---- */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --ink: #0e0a0c;             /* near-black satin base            */
  --cream: #ece1cf;           /* soft ivory — primary text        */
  --gold: #d6bd90;            /* champagne — accents & headings   */
  --muted: rgba(236, 225, 207, 0.58);
  --line: rgba(214, 189, 144, 0.35);
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --display: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--cream);
  background: var(--ink);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---- Shader background ---- */
#bg-shader,
.bg-fallback {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  display: block;
}

/* Shown only if WebGL fails; sits furthest back */
.bg-fallback {
  z-index: -3;
  background:
    radial-gradient(90% 80% at 15% 12%, rgba(18, 78, 82, 0.55), transparent 60%),
    radial-gradient(90% 80% at 88% 90%, rgba(66, 12, 30, 0.60), transparent 60%),
    #0c0809;
}

/* Readability veil over the bright shader */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8,5,7,0.45) 0%, rgba(8,5,7,0.10) 26%, rgba(8,5,7,0.62) 100%);
}

/* ---- Layout ---- */
.page {
  position: relative;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

/* ---- Top bar ---- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1.1rem, 3vw, 1.8rem) 0;
}

.brandmark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.25rem, 3.6vw, 1.6rem);
  letter-spacing: 0.3em;
  color: var(--cream);
  text-decoration: none;
  padding-left: 0.3em;
  white-space: nowrap;
}
.brandmark .dot,
.foot-brand .dot { color: var(--gold); }

.nav {
  display: flex;
  gap: clamp(0.9rem, 3vw, 2.2rem);
}
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.25s ease;
  white-space: nowrap;
}
.nav a:hover { color: var(--gold); }

/* ---- Hero ---- */
.hero {
  min-height: calc(100vh - 6rem);
  min-height: calc(100svh - 6rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 2rem 0 4.5rem;
}

/* Soft dark "spotlight" so the logo/text stay readable across all shader
   colors — especially the bright cream phase. */
.hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 44%;
  transform: translate(-50%, -50%);
  width: min(860px, 132%);
  height: min(680px, 94%);
  background: radial-gradient(closest-side, rgba(6, 4, 6, 0.58), rgba(6, 4, 6, 0) 100%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  animation: rise 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.logo {
  max-width: min(360px, 78vw);
  height: auto;
  margin: 0 auto 0.4rem;
  display: block;
  filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.5));
}

.wordmark {
  display: none; /* shown only if the logo image is missing */
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3rem, 13vw, 6rem);
  letter-spacing: 0.14em;
  line-height: 1;
  padding-left: 0.14em;
  margin-bottom: 0.4rem;
  color: var(--gold);
}

/* "Luxe" caption with hairline rules on each side */
.luxe-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 0.82rem;
  letter-spacing: 0.52em;
  text-transform: uppercase;
  margin-bottom: 1.9rem;
  padding-left: 0.52em;
}
.luxe-mark::before,
.luxe-mark::after {
  content: "";
  width: clamp(28px, 8vw, 60px);
  height: 1px;
  background: var(--line);
}

.tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.35rem, 4.2vw, 2rem);
  font-weight: 500;
  color: var(--cream);
  letter-spacing: 0.02em;
  margin: 0 auto 1.4rem;
}

.soon {
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  margin-top: 2.2rem;
}

.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--gold);
  color: #2a1410;
  font-weight: 500;
}
.btn-primary:hover { background: #e7d0a4; }

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--cream);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.scroll-hint {
  position: absolute;
  bottom: 1.1rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  text-decoration: none;
  font-size: 1.2rem;
  animation: bob 2.2s ease-in-out infinite;
}

/* ---- Sections ---- */
.section {
  padding: clamp(4rem, 12vw, 8rem) 0;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 6vw, 2.8rem);
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 1rem;
}
.section > p {
  color: var(--muted);
  font-weight: 300;
  line-height: 1.75;
  max-width: 44ch;
  margin: 0 auto;
}

/* ---- Philosophy / manifesto ---- */
.overline {
  font-family: var(--serif);
  font-size: clamp(0.95rem, 3vw, 1.15rem);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--muted);
  padding-left: 0.42em;
  margin-bottom: 0.6rem;
}
.statement {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.02;
  color: var(--cream);
  text-shadow: 0 6px 34px rgba(0, 0, 0, 0.45);
}
.statement span {
  display: block;
  font-size: clamp(2.6rem, 12vw, 5rem);
  letter-spacing: 0.06em;
}
.statement .is {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.1rem, 4vw, 1.6rem);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0.35rem 0;
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin: 2rem 0 1.6rem;
  color: var(--gold);
}
.divider::before,
.divider::after {
  content: "";
  width: clamp(40px, 12vw, 90px);
  height: 1px;
  background: var(--line);
}
.divider span {
  font-family: var(--display);
  font-size: 2rem;
  line-height: 0;
  transform: translateY(0.35em);
}

.manifesto {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 3.4vw, 1.5rem);
  font-weight: 400;
  line-height: 1.65;
  color: var(--cream);
  max-width: 30ch;
  margin: 0 auto 2.4rem;
}

/* ---- Footer ---- */
.footer { border-top: 1px solid rgba(214, 189, 144, 0.15); }
.foot-brand {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.6rem, 6vw, 2.4rem);
  letter-spacing: 0.3em;
  color: var(--cream);
  padding-left: 0.3em;
  margin-bottom: 0.7rem;
}
.foot-tag {
  font-family: var(--serif);
  font-style: italic;
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 1.6rem;
}
.foot-insta {
  display: inline-block;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.16em;
  font-size: 0.85rem;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line);
  transition: color 0.25s ease, border-color 0.25s ease;
}
.foot-insta:hover { color: var(--cream); border-color: var(--gold); }
.copyright {
  margin-top: 2.4rem;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---- Motion ---- */
@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

/* ---- Mobile ---- */
@media (max-width: 640px) {
  /* Top nav is redundant on mobile — the hero buttons cover the same links. */
  .nav { display: none; }
  .topbar { justify-content: center; padding-top: 1.4rem; }

  .logo { max-width: 74vw; }
  .luxe-mark { letter-spacing: 0.42em; padding-left: 0.42em; margin-bottom: 1.5rem; }
  .tagline { font-size: clamp(1.3rem, 6.5vw, 1.7rem); }
  .soon { letter-spacing: 0.2em; font-size: 0.6rem; line-height: 1.9; }

  .cta-row { gap: 0.7rem; width: 100%; }
  .btn {
    padding: 0.85rem 1.4rem;
    font-size: 0.66rem;
    letter-spacing: 0.16em;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-inner, .scroll-hint { animation: none; }
}
