@font-face {
  font-family: Oxanium;
  src: url('/assets/oxanium-semibold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: Geist;
  src: url('/assets/geist-variable.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #0d0f15;
  --surface: #1a1f27;
  --border: #343b45;
  --text: #f5f2ed;
  --muted: #aeb7c4;
  --accent: #ff5773;
  font: 100% / 1.65 Geist, system-ui, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--text); }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: var(--accent); text-underline-offset: 0.22em; }
a:hover { color: var(--text); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
h1, h2, h3, .brand { font-family: Oxanium, system-ui, sans-serif; line-height: 1.12; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(2.75rem, 5.5vw, 4.8rem); letter-spacing: -0.06em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.045em; }
h3 { font-size: clamp(1.35rem, 3vw, 2rem); letter-spacing: -0.025em; }

.wrap { width: min(100% - 2rem, 74rem); margin-inline: auto; }
.masthead, .footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  padding-block: 1.2rem;
}
.masthead { border-bottom: 1px solid var(--border); }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--text); font-size: 1.65rem; text-decoration: none; }
nav { display: flex; gap: 0.75rem 1.25rem; flex-wrap: wrap; }
nav a { color: var(--text); text-decoration: none; }
nav a:hover { color: var(--accent); }
.skip { position: absolute; top: 0.5rem; left: 1rem; background: var(--background); padding: 0.5rem 1rem; }
.skip:not(:focus) { clip-path: inset(100%); }

.hero { display: grid; align-items: center; gap: 2rem; padding-block: clamp(2.5rem, 7vw, 6rem); }
.eyebrow { font-size: 0.78rem; font-weight: 700; color: var(--accent); letter-spacing: 0.11em; margin-bottom: 0.6rem; }
.lede { color: var(--muted); font-size: 1.09rem; max-width: 42ch; margin-block: 1rem 1.5rem; }
.cta {
  display: inline-flex;
  gap: 1rem;
  min-height: 2.75rem;
  align-items: center;
  border-radius: 0.4rem;
  background: var(--accent);
  color: var(--background);
  padding: 0.45rem 1rem;
  font-weight: 700;
  text-decoration: none;
}
.cta:hover { background: var(--text); color: var(--background); }
.hero-shot { border: 1px solid var(--border); border-radius: 0.7rem; overflow: hidden; }
.hero-shot a:focus-visible { display: block; outline-offset: -4px; }
.hero-shot img { width: 100%; background: var(--surface); }
.hero-shot figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 1rem; padding: 0.6rem 0.8rem; }
.hero-shot span, .footer p { color: var(--muted); }

section + section { border-top: 1px solid var(--border); padding-block: 2.25rem; }
.panel { padding: clamp(1rem, 3vw, 1.75rem); border: 1px solid var(--border); border-radius: 0.7rem; background: var(--surface); }
.panel p { margin-top: 0.55rem; }
.footer p { font-size: 0.9rem; }
[id] { scroll-margin-top: 1rem; }
.frames, .flow { display: grid; gap: 1.1rem; }
.flow { margin: 1.25rem 0 0; padding: 0; list-style-position: inside; }
.flow li::marker { color: var(--accent); font-weight: 700; }
.flow h3 { margin-top: 0.4rem; }
.frames a { display: block; }
.frames img { width: 100%; border-radius: 0.4rem; background: var(--background); }
.frames figcaption { padding-top: 0.7rem; }
.frames h3 { font-size: 1.2rem; }
.footer { border-top: 1px solid var(--border); }

@media (min-width: 48rem) {
  .wrap { width: min(100% - 4rem, 74rem); }
  .hero { grid-template-columns: 1fr 1.15fr; }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .frames { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
