/* ============================================================
   Amplitude Elite — Web Design & Management — Shared Styles
   ============================================================ */

/* ---------- Reset & Tokens ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:     #080608;
  --dark:      #0E0C10;
  --deep-gold: #6B5A18;
  --rich-gold: #9B8425;
  --gold:      #C9A96A;
  --bright-gold: #D4B872;
  --off-white: #F0ECE2;
  --cream:     #D8D0C4;
  --muted:     #8A817A;
  --accent:    #C9A96A;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Outfit', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--off-white);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

/* ---------- Custom Cursor ---------- */
.cursor {
  position: fixed; width: 8px; height: 8px;
  background: var(--gold); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease;
}
.cursor-ring {
  position: fixed; width: 32px; height: 32px;
  border: 1px solid rgba(201, 169, 106, 0.5);
  border-radius: 50%; pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
  transition: all 0.12s ease;
}
@media (hover: none), (pointer: coarse) {
  body { cursor: auto; }
  .cursor, .cursor-ring { display: none !important; }
}

/* ---------- Navigation ---------- */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 56px; height: 76px;
  background: rgba(8, 6, 8, 0.90);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201, 169, 106, 0.12);
}
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 54px; width: auto; max-width: 260px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
  font-size: 11px; font-weight: 400;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--cream); text-decoration: none; transition: color 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-cta {
  background: var(--gold) !important; color: var(--black) !important;
  padding: 10px 24px; font-size: 10px !important;
  font-weight: 600 !important; letter-spacing: 0.18em !important;
  transition: background 0.3s !important;
}
.nav-cta:hover { background: var(--bright-gold) !important; }

.nav-toggle {
  display: none; background: none; border: none;
  width: 28px; height: 20px; position: relative;
  z-index: 101; padding: 0; cursor: none;
}
.nav-toggle span {
  display: block; width: 100%; height: 1.5px;
  background: var(--cream); position: absolute; left: 0;
  transition: all 0.3s ease;
}
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 9px; }
.nav-toggle span:nth-child(3) { top: 18px; }
.nav-toggle.open span:nth-child(1) { top: 9px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 9px; transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-block; background: var(--gold); color: var(--black);
  font-family: var(--sans); font-size: 11px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  text-decoration: none; padding: 17px 40px;
  transition: background 0.3s, transform 0.2s;
}
.btn-primary:hover { background: var(--bright-gold); transform: translateY(-2px); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 400;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--cream); text-decoration: none; transition: color 0.3s;
}
.btn-ghost:hover { color: var(--off-white); }
.btn-ghost svg { transition: transform 0.3s; }
.btn-ghost:hover svg { transform: translateX(4px); }

.btn-white {
  display: inline-block; background: #fff; color: var(--deep-gold);
  font-family: var(--sans); font-size: 11px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  text-decoration: none; padding: 18px 48px;
  position: relative; transition: background 0.3s, transform 0.2s;
}
.btn-white:hover { background: var(--off-white); transform: translateY(-2px); }

/* ---------- Section Primitives ---------- */
.section-label { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.section-label-line { width: 28px; height: 1px; background: var(--gold); }
.section-label-text {
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.42em; text-transform: uppercase; color: var(--gold);
}
.section-title {
  font-family: var(--serif); font-size: clamp(34px, 4vw, 52px);
  font-weight: 300; color: var(--off-white); line-height: 1.1;
  margin-bottom: 64px; max-width: 580px;
}
.section-title em { font-style: italic; color: var(--gold); }

.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.eyebrow-line { width: 28px; height: 1px; background: var(--gold); }
.eyebrow-text {
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.42em; text-transform: uppercase; color: var(--gold);
}

/* ---------- Page Hero ---------- */
.page-hero {
  min-height: 55vh; padding-top: 76px;
  display: flex; flex-direction: column; justify-content: flex-end;
  position: relative; overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 30%;
  filter: brightness(0.14) saturate(0.5);
}
.page-hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,6,8,1) 0%, rgba(8,6,8,0.3) 60%, transparent 100%);
}
.hero-word {
  position: absolute; bottom: -20px; right: 40px;
  font-family: var(--serif); font-size: clamp(110px, 16vw, 220px);
  font-weight: 600; color: rgba(201, 169, 106, 0.04);
  line-height: 1; pointer-events: none; user-select: none;
}
.page-hero-content { padding: 0 72px 80px; position: relative; z-index: 2; }
.page-hero h1 {
  font-family: var(--serif); font-size: clamp(46px, 7vw, 90px);
  font-weight: 300; line-height: 1.0; color: var(--off-white);
}
.page-hero h1 em { font-style: italic; color: var(--gold); }

/* ---------- Footer ---------- */
footer {
  background: var(--black); padding: 72px 72px 44px;
  border-top: 1px solid rgba(201, 169, 106, 0.13);
}
.footer-top {
  display: grid; grid-template-columns: 1.4fr 0.8fr 1.2fr 0.8fr;
  gap: 40px; margin-bottom: 60px;
}
.footer-logo { display: flex; align-items: center; margin-bottom: 18px; }
.footer-logo img { height: 44px; width: auto; max-width: 240px; object-fit: contain; }
.footer-tagline { font-size: 12px; line-height: 1.75; color: var(--muted); max-width: 240px; }
.footer-col-title {
  font-size: 9px; font-weight: 600;
  letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 12px; color: var(--muted); text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: var(--off-white); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.05); padding-top: 28px;
}
.footer-copy { font-size: 11px; color: var(--muted); }
.footer-ig {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; transition: color 0.3s;
}
.footer-ig:hover { color: var(--gold); }

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }

/* ---------- Shared Responsive ---------- */
@media (max-width: 960px) {
  nav { padding: 0 24px; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: fixed; top: 76px; left: 0; right: 0;
    background: rgba(8, 6, 8, 0.97); backdrop-filter: blur(20px);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 0 28px;
    border-bottom: 1px solid rgba(201, 169, 106, 0.15); z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
  .nav-links a { display: block; padding: 18px 24px; font-size: 12px; }
  .nav-links .nav-cta { margin: 20px 24px 4px; text-align: center; display: block; }
  .nav-logo img { height: 44px; }
  .page-hero-content { padding: 0 24px 60px; }
  footer { padding: 48px 24px 32px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; }
}
