/* ───────────────────────────────────────────────────────────────────────────
   Caviar Maison — base reset + typography primitives
   ─────────────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: var(--body);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: inherit; text-decoration: none; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* sharp corners everywhere — on brand */
* { border-radius: 0 !important; }

/* Headlines default to the serif display family */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }

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

/* shared eyebrow / label utility */
.eyebrow {
  font-family: var(--sans);
  font-size: var(--label);
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--gold);
}

/* a generic full-width section wrapper with the page gutter */
.m-section { padding-left: var(--gutter); padding-right: var(--gutter); }

/* visually-hidden, still accessible */
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}

/* focus ring — gold, keyboard only */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

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