/* assets/site.css — shared by / and /approach/ (NOT /labs/ or courses) */
:root {
  --bg: #F7F3EC;
  --ink: #1C1A17;
  --body: #3D3A34;
  --muted: #6B655C;
  --accent: #D94F30;
  --accent-hover: #B63E23;
  --rule: rgba(28, 26, 23, 0.15);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.65;
}

/* nav */
.nav {
  display: flex; justify-content: space-between; align-items: baseline;
  max-width: 720px; margin: 0 auto; padding: 1.5rem 1.5rem 0 1.5rem;
}
.wordmark {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-weight: 800; font-size: 1.15rem; color: var(--ink); text-decoration: none;
}
.nav-links { font-size: 0.9rem; }
.nav-links a { color: var(--muted); text-decoration: none; margin-left: 1.4rem; }
.nav-links a:hover { color: var(--accent-hover); }

/* beats */
.beat { max-width: 720px; margin: 0 auto; padding: 4.5rem 1.5rem; }
.beat + .beat { border-top: 1px solid var(--rule); }
.beat-hero { padding-top: 7rem; padding-bottom: 7rem; }
.beat-hero-tight { padding-bottom: 4rem; }
.beat-hero .quiet { margin-top: 1.4em; }
h1 {
  font-family: 'Fraunces', serif; font-weight: 600;
  font-size: clamp(2rem, 5.5vw, 3.1rem); line-height: 1.15;
  margin: 0; letter-spacing: -0.01em;
}
h1 .turn { font-style: italic; }
.kicker {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-weight: 600; font-size: 0.78rem; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 1.1rem 0;
}
.beat p { color: var(--body); margin: 0.7em 0; max-width: 58ch; }
.beat .quiet { color: var(--muted); }
.beat a { color: var(--accent); }
.beat a:hover { color: var(--accent-hover); }

/* CTA */
.cta {
  display: inline-block; margin-top: 1.2rem; padding: 0.65rem 1.6rem;
  border-radius: 99px; text-decoration: none; font-weight: 500; font-size: 0.95rem;
}
.cta-solid { background: var(--accent); color: #fff !important; }
.cta-solid:hover { background: var(--accent-hover); color: #fff !important; }
.cta-line { border: 1.5px solid var(--ink); color: var(--ink) !important; }
.cta-line:hover { border-color: var(--accent-hover); color: var(--accent-hover) !important; }
.beat-book { text-align: center; }
.beat-book h2 {
  font-family: 'Fraunces', serif; font-weight: 600;
  font-size: 1.6rem; line-height: 1.15; margin: 0; letter-spacing: -0.01em;
}

/* keyboard focus */
.nav-links a:focus-visible, .beat a:focus-visible, .cta:focus-visible, .foot a:focus-visible {
  outline: 2px solid var(--accent-hover);
  outline-offset: 3px;
}

/* footer */
.foot {
  display: flex; justify-content: space-between;
  max-width: 720px; margin: 0 auto; padding: 1.2rem 1.5rem 2rem 1.5rem;
  font-size: 0.78rem; color: var(--muted);
}
.foot a { color: var(--muted); text-decoration: none; }

@media (max-width: 600px) {
  .beat, .beat-hero { padding-top: 3rem; padding-bottom: 3rem; }
  .nav-links a { padding: 0.5rem 0; display: inline-block; }
}
