/* Studio 77 — Base element defaults.
   Light-touch resets + brand typography applied to raw elements. */

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--surface-page);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: var(--text-body-base);
  line-height: var(--lh-body);
  font-weight: var(--weight-regular);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-strong);
  font-weight: var(--weight-medium);
  margin: 0 0 var(--space-md);
  text-wrap: balance;
}

h1 { font-size: var(--text-h1);  line-height: var(--lh-h1); }
h2 { font-size: var(--text-h2);  line-height: var(--lh-h2); }
h3 { font-size: var(--text-h3);  line-height: var(--lh-h3); }

p { margin: 0 0 var(--space-md); text-wrap: pretty; }

a {
  color: var(--text-link);
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}
a:hover { color: var(--text-link-hover); }

hr {
  border: 0;
  border-top: var(--border-width) solid var(--border-hairline);
  margin: var(--space-2xl) 0;
}

/* The letter-spaced caps motif used for overlines / eyebrows. */
.s77-overline {
  font-family: var(--font-body);
  font-size: var(--text-overline);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-overline);
  text-transform: uppercase;
  color: var(--text-muted);
}

::selection { background: var(--sienna-200); color: var(--espresso); }
