/* =========================================================
   base.css — resets, typography, base elements
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

ul, ol { list-style: none; }

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  font-weight: 400;
  line-height: 1.1;
  color: var(--text);
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  letter-spacing: 0.04em;
  font-weight: 300;
}
h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.02em;
  font-weight: 400;
}
h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
}

p { color: var(--text-muted); }

.eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-block;
}

.container {
  width: min(var(--container), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  position: relative;
}

.section--alt { background: var(--surface); }
.section--dark { background: var(--bg); }

.skip-link {
  position: absolute; left: -9999px; top: auto;
  background: var(--gold); color: #050505;
  padding: 0.5rem 1rem; z-index: 9999;
}
.skip-link:focus { left: 12px; top: 12px; }

::selection { background: var(--gold); color: #050505; }
