/* 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);
  /* one content-width source of truth per page (home overrides to 880 in
     home.css). nav, body copy, and footer all read this so their edges
     can never drift apart. */
  --measure: 720px;
  /* modular type scale (~1.2 ratio) for non-display copy. Display headings
     stay on their own fluid clamp()s — different category, left untouched. */
  --fs-xs: 0.78rem;   /* kicker, footer, who-name */
  --fs-sm: 0.9rem;    /* nav links */
  --fs-base: 1rem;    /* body copy, invite */
  --fs-md: 1.125rem;  /* lead copy, list items, inline CTA */
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.65;
}

/* nav */
.nav {
  display: flex; justify-content: space-between; align-items: baseline;
  /* width:100% is load-bearing in the hero: .nav is a flex item in the
     column-flex header, where auto cross-axis margins would otherwise
     shrink it to content instead of filling --measure. */
  width: 100%; max-width: var(--measure); margin: 0 auto; padding: 1.5rem 1.5rem 0 1.5rem;
}
.wordmark {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 800; font-size: 1.15rem; color: var(--ink); text-decoration: none;
}
.nav-links { font-size: var(--fs-sm); }
.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: var(--measure); 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: 'Zodiak', serif; font-weight: 700;
  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: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 600; font-size: var(--fs-xs); 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: 'Zodiak', serif; font-weight: 700;
  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: var(--measure); margin: 0 auto; padding: 1.2rem 1.5rem 2rem 1.5rem;
  font-size: var(--fs-xs); 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; }
}
