:root {
  --bg: #120e12;
  --bg-deep: #0a080a;
  --ink: #f6efe6;
  --muted: rgba(246, 239, 230, 0.68);
  --gold: #c9a278;
  --gold-soft: rgba(201, 162, 120, 0.35);
  --line: rgba(246, 239, 230, 0.14);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  background: var(--bg-deep);
  overflow-x: hidden;
}

/* Kill browser default blue links everywhere */
a,
a:link,
a:visited,
a:hover,
a:active,
a:-webkit-any-link {
  color: #f6efe6 !important;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(201, 162, 120, 0.22), transparent 55%),
    radial-gradient(circle at 80% 60%, rgba(90, 40, 60, 0.35), transparent 45%),
    radial-gradient(circle at 15% 80%, rgba(40, 30, 50, 0.5), transparent 40%),
    linear-gradient(180deg, #1a1218 0%, var(--bg-deep) 55%, #080608 100%);
  animation: drift 18s ease-in-out infinite alternate;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.07;
  pointer-events: none;
  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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@keyframes drift {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to { transform: scale(1.04) translate3d(0, -1.5%, 0); }
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem clamp(1.25rem, 4vw, 3rem);
  animation: rise 0.9s ease both;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}

nav {
  display: flex;
  gap: 1.25rem;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

nav a:hover { color: var(--gold); }

.hero {
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(1.25rem, 3vh, 2rem) clamp(1.25rem, 5vw, 4.5rem) clamp(2.5rem, 6vh, 4rem);
  max-width: 52rem;
}

.brand-lockup {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 11vw, 7.5rem);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 0.95;
  margin-bottom: 1.5rem;
  background: linear-gradient(120deg, #f6efe6 10%, var(--gold) 55%, #f0d7b8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rise 1s 0.1s ease both;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.2vw, 2.75rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.2;
  max-width: 18ch;
  margin-bottom: 1rem;
  animation: rise 1s 0.2s ease both;
}

.lede {
  color: var(--muted);
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  line-height: 1.55;
  max-width: 34rem;
  margin-bottom: 2rem;
  animation: rise 1s 0.3s ease both;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  animation: rise 1s 0.4s ease both;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.35rem;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: 999px;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.cta:hover { transform: translateY(-2px); }

.cta.primary {
  background: var(--gold);
  color: #1a1210;
}

.cta.ghost {
  border: 1px solid var(--line);
  color: #f6efe6;
  background: rgba(255, 255, 255, 0.03);
}

.cta.primary,
.cta.primary:link,
.cta.primary:visited,
.cta.primary:hover,
.cta.primary:active,
.cta.primary:-webkit-any-link {
  color: #1a1210 !important;
}

.cta.ghost,
.cta.ghost:link,
.cta.ghost:visited,
.cta.ghost:hover,
.cta.ghost:active,
.cta.ghost:-webkit-any-link {
  color: #f6efe6 !important;
}

.inline-link,
.inline-link:link,
.inline-link:visited,
.inline-link:hover,
.inline-link:active,
.inline-link:-webkit-any-link {
  color: #f6efe6 !important;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  font-weight: 500;
}

.visit {
  border-top: 1px solid var(--line);
  padding: clamp(3rem, 8vh, 5rem) clamp(1.25rem, 5vw, 4.5rem);
  max-width: 56rem;
}

.visit h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.visit-copy {
  color: var(--muted);
  max-width: 36rem;
  line-height: 1.55;
  margin-bottom: 2rem;
}

.visit-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}

.visit-grid dt {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.visit-grid dd {
  color: var(--muted);
  line-height: 1.45;
}

.inline-link:hover {
  opacity: 0.85;
}

.visit-grid code {
  font-size: 0.8em;
  color: var(--ink);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.5rem clamp(1.25rem, 5vw, 4.5rem) 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

.faint { opacity: 0.7; letter-spacing: 0.08em; }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  .brand-lockup { letter-spacing: 0.12em; }
}
