﻿:root {
  --ink: #121417;
  --paper: #f2efe8;
  --mist: rgba(242, 239, 232, 0.72);
  --line: rgba(242, 239, 232, 0.18);
  --accent: #c4a574;
  --accent-deep: #9a7b4f;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  color: var(--paper);
  font-family: "Syne", system-ui, sans-serif;
  background: var(--ink);
  overflow-x: hidden;
}

.atmosphere {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 70% 20%, rgba(196, 165, 116, 0.22), transparent 55%),
    radial-gradient(ellipse 70% 60% at 15% 80%, rgba(70, 90, 110, 0.35), transparent 50%),
    linear-gradient(160deg, #0d0f12 0%, #1a1e24 45%, #101318 100%);
  z-index: -2;
}

.atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(242, 239, 232, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 239, 232, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black, transparent 75%);
  animation: drift 28s linear infinite;
}

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

.top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 1.5rem clamp(1.25rem, 4vw, 3rem);
}

.brand {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mist);
}

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.5rem, 5vw, 4rem);
  padding-bottom: clamp(2.5rem, 8vh, 5rem);
  max-width: 42rem;
  animation: rise 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.brand-hero {
  margin: 0 0 0.85rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: clamp(4.5rem, 14vw, 8.5rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.lead {
  margin: 0 0 1.75rem;
  max-width: 28rem;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  line-height: 1.55;
  color: var(--mist);
  animation: rise 900ms cubic-bezier(0.22, 1, 0.36, 1) 120ms both;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  animation: rise 900ms cubic-bezier(0.22, 1, 0.36, 1) 220ms both;
}

.cta,
.ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.35rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.cta {
  background: var(--accent);
  color: var(--ink);
}

.cta:hover {
  background: #d4b88a;
  transform: translateY(-1px);
}

.ghost {
  border: 1px solid var(--line);
  color: var(--paper);
  background: transparent;
}

.ghost:hover {
  border-color: rgba(242, 239, 232, 0.4);
}

.status {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  color: var(--accent);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-36px, -18px, 0);
  }
}

@media (max-width: 640px) {
  .hero {
    justify-content: center;
  }

  .actions {
    width: 100%;
  }

  .cta,
  .ghost {
    width: 100%;
  }
}

.tour-shell {
  position: fixed;
  inset: 0;
  z-index: 20;
  background: #000;
}

.tour-shell iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.exit-tour {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 21;
  min-height: 2.5rem;
  padding: 0 1rem;
  border: 1px solid rgba(242, 239, 232, 0.25);
  border-radius: 999px;
  background: rgba(18, 20, 23, 0.72);
  color: var(--paper);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.exit-tour:hover {
  border-color: rgba(242, 239, 232, 0.5);
}

body.touring .top,
body.touring .atmosphere,
body.touring .grain {
  display: none;
}
