/* Reset + typography */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ab-ink);
  background: var(--grad-page);
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, video, svg { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
a { color: var(--ab-ink); text-decoration: none; transition: color var(--dur-fast) var(--ease-out); }
a:hover { color: var(--ab-pink-deep); }

/* Display headings */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ab-ink);
  margin: 0 0 var(--sp-4);
}
h1 { font-size: clamp(2.25rem, 4.2vw, 3.75rem); line-height: 1.08; font-weight: 400; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.15; }
h3 { font-size: 1.5rem; line-height: 1.2; }
h4 { font-size: 1.15rem; line-height: 1.25; font-weight: 500; }
.italic, em { font-style: italic; }

.display-italic {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ab-ink-soft);
}

.muted { color: var(--ab-ink-soft); }
.faint { color: var(--ab-ink-faint); }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

.stack > * + * { margin-top: var(--sp-4); }
.row { display: flex; gap: var(--sp-4); align-items: center; }
.row-between { display: flex; gap: var(--sp-4); align-items: center; justify-content: space-between; }
.grid { display: grid; gap: var(--sp-6); }

.brand-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Focus ring — gold-ish glass */
:focus-visible {
  outline: 2px solid var(--ab-pink);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Utility */
.hidden { display: none !important; }
[hidden] { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
