/* AudioCap — base
   Resets, body type, link defaults, layout primitives.
   Aligned with the audicap2 design package: Geist on white. */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  font-size: var(--t-body);
  line-height: 1.5;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
  overflow-x: hidden;
  min-height: 100vh;
}

img, svg, video { display: block; max-width: 100%; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--ink-2); }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; font-family: var(--sans); }
input, textarea, select { font: inherit; color: inherit; font-family: var(--sans); }

::selection { background: var(--ink); color: #fff; }

/* Lock the page when a takeover sheet / modal is open */
body.is-sheet-open { overflow: hidden; }

/* Visually-hidden but available to screen readers */
.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;
}

/* === TYPE HELPERS ===
   Italic emphasis inside any heading flips to Instrument Serif —
   this is the visual signature of the design system. */
.t-display { font-family: var(--sans); font-size: var(--t-display); font-weight: 500; letter-spacing: -0.035em; line-height: 0.95; text-wrap: balance; margin: 0; }
.t-h1      { font-family: var(--sans); font-size: var(--t-h1);      font-weight: 500; letter-spacing: -0.035em; line-height: 0.98; text-wrap: balance; margin: 0; }
.t-h2      { font-family: var(--sans); font-size: var(--t-h2);      font-weight: 500; letter-spacing: -0.03em;  line-height: 1; margin: 0; }
.t-h3      { font-family: var(--sans); font-size: var(--t-h3);      font-weight: 500; letter-spacing: -0.025em; line-height: 1.05; margin: 0; }
.t-h4      { font-family: var(--sans); font-size: var(--t-h4);      font-weight: 600; letter-spacing: -0.015em; line-height: 1.1;  margin: 0; }

.t-display em, .t-h1 em, .t-h2 em, .t-h3 em, .t-h4 em,
h1 em, h2 em, h3 em, h4 em,
.headline em, .pricing-head h2 em, .gal-head h2 em, .studio-head h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.t-lead    { color: var(--muted); font-size: var(--t-lead); line-height: 1.5; letter-spacing: -0.005em; }
.t-meta    { font-family: var(--mono); font-size: var(--t-label); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.t-num     { font-family: var(--mono); font-size: var(--t-meta); color: var(--ink); }
.t-italic  { font-family: var(--serif); font-style: italic; font-weight: 400; }

/* === LAYOUT PRIMITIVES === */
.page        { display: flex; flex-direction: column; min-height: 100vh; }
.wrap        { max-width: var(--maxw);        margin: 0 auto; padding: 0 var(--pad-x); }
.wrap-narrow { max-width: var(--maxw-narrow); margin: 0 auto; padding: 0 var(--pad-x); }
.section-y   { padding-top: 88px; padding-bottom: 88px; }

.row     { display: flex; gap: 16px; align-items: center; }
.row-end { display: flex; gap: 16px; align-items: flex-end; justify-content: space-between; }
.between { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.stack   { display: flex; flex-direction: column; gap: 16px; }

hr.rule { border: 0; height: 1px; background: var(--line); margin: 0; }

/* skip link for a11y */
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: var(--r-pill); z-index: 1000; }

@media (max-width: 768px) {
  .section-y { padding-top: 56px; padding-bottom: 56px; }
}
