/* ==========================================================================
   Advanced Aesthetics · Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  /* Lenis drives scroll; keep native smooth off so they don't fight */
  scroll-behavior: auto;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  background: var(--aa-forest);
  color: var(--aa-cream);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

img, picture, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--aa-gold); outline-offset: 3px; border-radius: 4px; }

/* ---- ambient background (fixed, GPU-cheap) ---- */
.ambient {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(900px 620px at 100% -8%, rgba(200,169,104,0.06), transparent 60%),
    radial-gradient(820px 640px at -8% 14%, rgba(255,255,255,0.02), transparent 62%);
}

/* ============================ TYPOGRAPHY ============================ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--fg);
  overflow-wrap: break-word;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: 0; }
p  { color: var(--fg-2); }
em { font-style: italic; color: var(--accent); }
strong { font-weight: 700; color: var(--fg); }

.display { font-family: var(--font-display); font-weight: 400; }
.lead {
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--fg-2);
  max-width: 60ch;
}
.muted { color: var(--fg-muted); }
.accent-text { color: var(--accent); }
.serif-accent { font-family: var(--font-display); font-style: italic; }

/* Cinzel all-caps tracked accent (eyebrows, kickers, labels) */
.eyebrow {
  font-family: var(--font-accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-size: var(--fs-eyebrow);
  color: var(--accent);
  display: inline-flex; align-items: center; gap: 14px;
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px;
  background: var(--accent); opacity: 0.6; flex: 0 0 auto;
}
.eyebrow.no-rule::before { display: none; }
.kicker {
  font-family: var(--font-accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 11px;
  color: var(--accent);
}

/* ============================ LAYOUT ============================ */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-text { max-width: var(--maxw-text); }
section { position: relative; }
.section { padding-block: var(--section-y); position: relative; }
.section-sm { padding-block: clamp(48px, 7vw, 90px); }
.divider { height: 1px; background: var(--hairline-2); border: 0; }

.surface { background: var(--bg); color: var(--fg); }
.surface-forest { background: var(--aa-forest); color: var(--aa-cream); }
.surface-forest-2 { background: var(--aa-forest-2); color: var(--aa-cream); }

.grid { display: grid; gap: clamp(18px, 3vw, 32px); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.flow > * + * { margin-top: 1.1em; }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }

.stack-sm { display: flex; flex-direction: column; gap: 12px; }
.row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.row-between { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }

@media (max-width: 880px) {
  .cols-2, .cols-3 { grid-template-columns: 1fr; }
}

/* visually-hidden (a11y) */
.vh {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 200;
  background: var(--aa-gold); color: var(--aa-forest);
  padding: 10px 18px; border-radius: 8px; font-family: var(--font-accent);
  letter-spacing: 0.12em; text-transform: uppercase; font-size: 12px;
  transition: top 0.2s var(--ease-out);
}
.skip-link:focus { top: 16px; }
