/* Type, self-hosted (SIL Open Font License, see assets/fonts/). Load this after every other stylesheet.
   Archivo at full width for headlines, Inter for text, Geist Mono for labels, Instrument Serif for italic accents. */
@font-face { font-family: "Archivo"; src: url(assets/fonts/archivo.woff2) format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Inter"; src: url(assets/fonts/inter.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url(assets/fonts/geist-mono.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url(assets/fonts/instrument-serif.woff2) format("woff2"); font-style: italic; font-weight: 400; font-display: swap; }

:root {
  --sans: "Inter", system-ui, sans-serif;
  --display: "Archivo", "Inter", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --serif: "Instrument Serif", Georgia, serif;
}

/* headlines: wide Archivo. Wider letters need slightly smaller sizes than before. */
h1, h2, h3, .wm9, .logo, .ticket .price, .mega-t, .tagline { font-family: var(--display); font-stretch: 125%; }
h1, h2 { font-weight: 700; letter-spacing: -0.025em; }
h3 { font-stretch: 112%; letter-spacing: -0.01em; }
h2 { font-size: clamp(32px, 4.4vw, 56px); max-width: 19ch; }
.wm9 { font-weight: 700; letter-spacing: -0.035em; font-size: clamp(50px, 9.6vw, 146px); }
.apx-copy h2 { font-size: clamp(36px, 4.6vw, 64px); max-width: none; }
.studio h2 { font-size: clamp(36px, 5.4vw, 76px); max-width: none; }
.cta-box h2 { font-size: clamp(36px, 5.4vw, 76px); max-width: 15ch; }
.narrow h1 { font-size: clamp(36px, 5.6vw, 60px); }
.solo-head h1 { font-size: clamp(38px, 5vw, 70px); overflow-wrap: anywhere; }
.solo-page h2 { font-size: clamp(26px, 3vw, 36px); }
.studio h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.14em; letter-spacing: -0.015em; }

/* the "studio nine" wordmark keeps its original rounded font stack, wherever it appears */
:root { --wordmark: ui-rounded, "SF Pro Rounded", "Varela Round", Nunito, "Segoe UI", system-ui, sans-serif; }
.wm9, .nav .logo, .lbar b.stk, .mega-t { font-family: var(--wordmark); font-stretch: normal; }
.wm9 { font-weight: 600; letter-spacing: -0.055em; }
