/* ============================================
   THE GOLD STANDARD — Shared Brand Foundation
   Hannah Goldy · tokens match site/css/style.css
   ============================================ */

:root {
  --navy: #1C2B3A;
  --navy-mid: #2F4259;
  --navy-deep: #16222E;
  --near-black: #111827;
  --gold: #E8C96A;
  --gold-hover: #F0D680;
  --matte-gold: #A8872A;
  --off-white: #F5F4F0;
  --white: #ffffff;

  --text-light: rgba(255,255,255,0.88);
  --text-dim: rgba(255,255,255,0.62);
  --text-dark: #1C2B3A;
  --text-muted: #5B6B7E;

  --border-gold: rgba(232,201,106,0.22);
  --border-light: rgba(255,255,255,0.10);

  --font-display: 'Anton', Impact, sans-serif;
  --font-accent: 'Bebas Neue', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t: 0.3s var(--ease);

  --shadow-lg: 0 24px 60px rgba(0,0,0,0.45);
  --shadow-gold: 0 10px 30px rgba(232,201,106,0.28);

  /* fluid rhythm */
  --gutter: clamp(20px, 5vw, 32px);
  --section-y: clamp(64px, 11vw, 120px);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-light);
  background: var(--navy);
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
img { height: auto; object-fit: cover; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

/* --- Layout --- */
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 680px; }
.section { padding: var(--section-y) 0; }

/* --- Type --- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.02;
}
h1 { font-size: clamp(38px, 10.5vw, 84px); letter-spacing: -0.01em; }
h2 { font-size: clamp(30px, 6.5vw, 54px); }
h3 { font-size: clamp(20px, 4.2vw, 30px); line-height: 1.12; }

.gold { color: var(--gold); }

.eyebrow {
  font-family: var(--font-accent);
  font-size: clamp(12px, 3vw, 14px);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 14px;
}

.lede {
  font-size: clamp(16px, 4vw, 19px);
  line-height: 1.68;
  color: var(--text-light);
  max-width: 56ch;
}

.small { font-size: 14px; line-height: 1.6; color: var(--text-dim); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-accent);
  font-size: clamp(15px, 3.6vw, 17px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 18px 34px;
  min-height: 56px;
  border: 2px solid transparent;
  border-radius: 3px;
  cursor: pointer;
  transition: all var(--t);
  text-align: center;
  width: 100%;
}
@media (min-width: 600px) { .btn { width: auto; } }

.btn--gold { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn--gold:hover { background: var(--gold-hover); transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.btn--ghost { background: transparent; color: var(--gold); border-color: var(--border-gold); }
.btn--ghost:hover { border-color: var(--gold); background: rgba(232,201,106,0.08); }

.btn:focus-visible,
a:focus-visible,
input:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

/* --- Logo mark --- */
.mark { display: inline-flex; align-items: center; gap: 12px; }
.mark__txt {
  font-family: var(--font-accent);
  letter-spacing: 0.2em;
  font-size: 15px;
  text-transform: uppercase;
  color: var(--text-light);
}

/* --- Reveal on scroll --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Components set their own display (.btn, .form, .book__or ...), which beats the
   browser default for [hidden]. Without this, hidden elements stay on screen. */
[hidden] { display: none !important; }
