/* ─────────────────────────────────────
   ADAM LUSSO · Global Stylesheet
   adamlusso.com
───────────────────────────────────── */

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

:root {
  --gold: #C9A84C;
  --gold-light: #E2C97E;
  --gold-dim: #8A6B2A;
  --black: #0A0A08;
  --near-black: #111109;
  --charcoal: #1C1C18;
  --smoke: #2A2A24;
  --ivory: #F5F0E8;
  --ivory-dim: #C8C2B4;
  --text-muted: #7A7570;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--ivory);
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  letter-spacing: 0.02em;
  overflow-x: hidden;
}

/* Grain overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 999;
}

/* ── NAV ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 4rem;
  background: linear-gradient(to bottom, rgba(10,10,8,0.97), transparent);
  transition: background 0.3s;
}

.site-nav.scrolled {
  background: rgba(10,10,8,0.97);
  border-bottom: 1px solid var(--smoke);
}

.nav-logo img {
  height: 46px;
  width: auto;
  display: block;
  mix-blend-mode: lighten;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--gold); }

.nav-cta {
  font-size: 0.58rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.22em !important;
  color: var(--black) !important;
  background: var(--gold);
  padding: 0.55rem 1.4rem;
  transition: background 0.3s !important;
}

.nav-cta:hover { background: var(--gold-light); color: var(--black) !important; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--ivory);
  transition: all 0.3s;
}

/* ── HERO COMMON ── */
.page-hero {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  padding: 8rem 2rem 5rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 90%, rgba(201,168,76,0.07) 0%, transparent 70%);
}

.hero-eyebrow {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--ivory);
  opacity: 0;
  animation: fadeUp 0.9s 0.4s forwards;
}

.hero-title em { font-style: italic; color: var(--gold-light); }

.hero-subtitle {
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--ivory-dim);
  margin-top: 1.8rem;
  max-width: 38rem;
  line-height: 2;
  opacity: 0;
  animation: fadeUp 0.9s 0.6s forwards;
}

.hero-rule {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  margin: 3rem auto 0;
  opacity: 0;
  animation: fadeUp 0.9s 0.7s forwards;
}

/* ── FOOTER CTA ── */
.footer-cta {
  background: var(--black);
  text-align: center;
  padding: 6rem 2rem;
  border-top: 1px solid var(--smoke);
}

.footer-cta h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--ivory);
  margin-bottom: 1rem;
}

.footer-cta p {
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--ivory-dim);
  margin-bottom: 2.5rem;
  line-height: 2;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.footer-cta a {
  display: inline-block;
  padding: 1rem 3rem;
  background: var(--gold);
  color: var(--black);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s;
}

.footer-cta a:hover { background: var(--gold-light); }

/* ── SITE FOOTER ── */
.site-footer {
  background: var(--black);
  padding: 3rem 4rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  border-top: 1px solid var(--smoke);
}

.footer-logo img { height: 32px; width: auto; opacity: 0.7; }

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-nav a:hover { color: var(--gold); }

.footer-copy {
  font-size: 0.52rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-align: right;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .site-nav { padding: 1.2rem 1.5rem; }

  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10,10,8,0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    z-index: 200;
  }

  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1rem; }
  .nav-toggle { display: flex; z-index: 300; }

  .site-footer {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2.5rem 1.5rem;
    gap: 1.5rem;
  }

  .footer-copy { text-align: center; }
  .footer-logo { display: flex; justify-content: center; }
}
