/* NMB Leadership Coaching - Matt Beimers
   Editorial Stack: warm paper, book serif display, one committed ocean blue.
   Static site. Functional JS only. */

@font-face {
  font-family: "Source Serif 4";
  src: url("fonts/SourceSerif4-var.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("fonts/SourceSerif4-italic-var.woff2") format("woff2");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("fonts/Jost-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --canvas: #F8F5ED;
  --paper: #F2EDE1;
  --white: #FFFFFF;
  --ink: #282828;
  --muted: #6B6B6B;
  --clay: #BD9B83;
  --ocean: #2C4A57;
  --on-ocean: #F1EDE4;
  --hairline: rgba(40, 40, 40, 0.14);
  --hairline-light: rgba(241, 237, 228, 0.28);
  --measure: 680px;
  --wrap: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }

body {
  background: var(--canvas);
  color: var(--ink);
  font-family: "Jost", "Century Gothic", sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

/* ---------- Type ---------- */

h1, h2, h3 {
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: normal;
  color: var(--ink);
}

h1 { font-size: clamp(34px, 6vw, 50px); }
h2 { font-size: clamp(26px, 4vw, 32px); margin-bottom: 1.1em; }
h3 { font-size: 21px; margin-bottom: 0.4em; }

p { margin-bottom: 1.2em; }
p:last-child { margin-bottom: 0; }

.lead-italic { font-style: italic; }

.kicker {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: normal;
  margin-bottom: 1.4em;
}

.caption {
  font-size: 13px;
  color: var(--muted);
  margin-top: 0.9em;
  letter-spacing: normal;
}

.num { font-variant-numeric: tabular-nums; }

/* ---------- Links and buttons ---------- */

a:not(.btn) {
  color: var(--ocean);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
a:not(.btn):hover { text-decoration-thickness: 2px; }

.btn {
  display: inline-block;
  font-family: "Jost", sans-serif;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: normal;
  text-decoration: none;
  padding: 13px 24px;
  border-radius: 0;
  border: 1px solid var(--clay);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.btn:hover { border-color: var(--ocean); color: var(--ocean); }

.btn--solid {
  background: var(--ocean);
  border-color: var(--ocean);
  color: var(--on-ocean);
}
.btn--solid:hover { background: #243C47; border-color: #243C47; color: var(--on-ocean); }

.btn--light {
  border-color: var(--on-ocean);
  color: var(--on-ocean);
  background: transparent;
}
.btn--light:hover { background: rgba(241, 237, 228, 0.12); color: var(--on-ocean); border-color: var(--on-ocean); }

:focus-visible {
  outline: 2px solid var(--ocean);
  outline-offset: 3px;
}
.band--ocean :focus-visible { outline-color: var(--on-ocean); }

/* ---------- Structure ---------- */

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 32px;
}

.measure { max-width: var(--measure); }

main section { padding: 64px 0; }
main section:first-of-type { padding-top: 56px; }

.band--paper { background: var(--paper); }

.band--ocean {
  background: var(--ocean);
  color: var(--on-ocean);
}
.band--ocean h2, .band--ocean h3 { color: var(--on-ocean); }
.band--ocean .kicker, .band--ocean .caption { color: rgba(241, 237, 228, 0.75); }
.band--ocean a:not(.btn) { color: var(--on-ocean); }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ocean);
  color: var(--on-ocean);
  padding: 10px 18px;
  z-index: 200;
  text-decoration: none;
}
.skip:focus { left: 0; color: var(--on-ocean); }

/* ---------- Header ---------- */

.site-header {
  /* Sticky, matching the Mauldin pattern. NEVER add transform, filter or will-change
     to this element: any of them makes it its own containing block and silently kills
     sticky on iOS. And never override position in a media query, which is what made the
     Maximum header static on every phone. */
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 120;
  background: var(--ocean);
  padding: 26px 0;
  border-bottom: 1px solid rgba(241, 237, 228, 0.16);
  /* stop scroll anchoring reacting to the shrink and fighting the scroll position */
  overflow-anchor: none;
  transition: padding 0.25s ease, box-shadow 0.25s ease;
}
.site-header.shrunk {
  padding: 12px 0;
  box-shadow: 0 2px 10px rgba(40, 40, 40, 0.16);
}
.site-header .wordmark img { transition: width 0.25s ease; }
.site-header.shrunk .wordmark img { width: 164px; }
@media (prefers-reduced-motion: reduce) {
  .site-header, .site-header .wordmark img { transition: none; }
}
.site-header .wrap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
}
.wordmark {
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 300;
  font-size: 23px;
  color: var(--ink);
  text-decoration: none;
}
.site-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}
.site-nav a {
  font-size: 15px;
  font-weight: 400;
  color: var(--on-ocean);
  text-decoration: none;
  padding: 4px 0;
}
.site-nav a:hover { color: #FFFFFF; }
.site-nav a[aria-current="page"] { border-bottom: 1px solid var(--clay); color: #FFFFFF; }

.nav-toggle {
  display: none;
  font-family: "Jost", sans-serif;
  font-size: 15px;
  font-weight: 400;
  background: none;
  border: 1px solid var(--clay);
  border-radius: 0;
  padding: 8px 16px;
  color: var(--on-ocean);
  cursor: pointer;
}

/* ---------- Hero ---------- */

.hero h1 { margin-bottom: 0.55em; }
.hero .hero-line { font-size: 19px; max-width: 34em; margin-bottom: 1.8em; }

/* ---------- Figures ---------- */

.figure { margin: 0; }
.figure--center { margin-left: 0; margin-right: auto; }  /* one shared left edge with .measure (2026-08-13) */
.figure img { width: 100%; height: auto; }

.figure-lead { max-width: 840px; }
.figure-band { max-width: var(--wrap); }
.figure-wide { max-width: 920px; }

/* ---------- Split rows ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

/* ---------- Hairline row lists ---------- */

.rows { border-bottom: 1px solid var(--hairline); }
.rows .row {
  border-top: 1px solid var(--hairline);
  padding: 22px 0;
}
.rows .row p { margin-bottom: 0; }
.row-title {
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 300;
  font-size: 20px;
  line-height: 1.35;
}
.rows .row .row-note { color: var(--muted); font-size: 15px; margin-top: 4px; }

.step-num {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 15px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  display: block;
  margin-bottom: 2px;
}

/* Credential strip: three statements, hairline divided */
.cred-strip .row { padding: 20px 0; }
.cred-strip .row-title { font-size: 19px; }

/* ---------- Quote band ---------- */

.quote-band blockquote {
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 300;
  font-size: clamp(24px, 3.4vw, 30px);
  line-height: 1.45;
  max-width: 22em;
}
.quote-band .quote-by {
  margin-top: 1.2em;
  font-size: 15px;
  color: rgba(241, 237, 228, 0.75);
}

/* ---------- Fees ---------- */

.fee-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
}
.fee-amount {
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 300;
  font-size: 24px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* ---------- Forms ---------- */

.form-card {
  background: var(--white);
  border: 1px solid rgba(40, 40, 40, 0.10);
  padding: 40px;
  max-width: var(--measure);
}
.form-field { margin-bottom: 26px; }
.form-field label {
  display: block;
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 7px;
}
.form-field input,
.form-field textarea {
  width: 100%;
  font-family: "Jost", sans-serif;
  font-weight: 300;
  font-size: 16px;
  color: var(--ink);
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: 0;
  padding: 12px 14px;
}
.form-field textarea { min-height: 150px; resize: vertical; }
.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid var(--ocean);
  outline-offset: 1px;
  border-color: var(--ocean);
}
.form-hidden { display: none; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ocean);
  color: var(--on-ocean);
  padding: 56px 0 44px;
}
.site-footer .wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}
.site-footer .wordmark { color: var(--on-ocean); }
.site-footer p, .site-footer li { font-size: 15px; color: rgba(241, 237, 228, 0.85); }
.site-footer a:not(.btn) { color: var(--on-ocean); }
.footer-nav { list-style: none; }
.footer-nav li { margin-bottom: 8px; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-meta {
  border-top: 1px solid var(--hairline-light);
  margin-top: 40px;
  padding-top: 22px;
  font-size: 13px;
  color: rgba(241, 237, 228, 0.75);
}
.footer-meta a { color: rgba(241, 237, 228, 0.85); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Mobile call bar ---------- */

.callbar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 100;
  background: var(--ocean);
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
  text-align: center;
}
.callbar a {
  color: var(--on-ocean);
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 760px) {
  .wrap { padding: 0 22px; }
  main section { padding: 48px 0; }

  .split { grid-template-columns: 1fr; gap: 36px; }
  .split .split-media { order: -1; }

  html.js .nav-toggle { display: inline-block; }
  html.js .site-nav {
    display: none;
    width: 100%;
    padding-top: 18px;
  }
  html.js .site-nav.is-open { display: block; }
  html.js .site-nav ul { flex-direction: column; gap: 14px; }
  .site-header .wrap { flex-wrap: wrap; }
  /* position is NOT overridden here on purpose, see the note on .site-header */
  .site-header.shrunk { padding: 10px 0; }
  .site-header.shrunk .wordmark img { width: 132px; }
  html.js .site-nav.is-open { max-height: 62vh; overflow-y: auto; }

  .site-footer .wrap { grid-template-columns: 1fr; gap: 32px; }

  .callbar { display: block; }
  body { padding-bottom: 58px; }

  .form-card { padding: 26px 20px; }
  .fee-row { flex-direction: column; gap: 2px; }
}

/* ---------- Podcast embed (About) ---------- */
.podcast-embed {
  max-width: var(--measure);
  margin: 28px 0 24px;
  border: 1px solid var(--hairline);
  background: var(--white);
}
.podcast-embed iframe { display: block; border: 0; }

/* ---------- Header logo (2026-08-13) ---------- */
.site-header .wordmark img { display:block; width:200px; height:auto; }
.site-header .wordmark { color: var(--on-ocean); }
.site-footer .wordmark img { display:block; width:210px; height:auto; }
@media (max-width: 760px){ .site-header .wordmark img { width:158px; } }
