/* ============================================================
   Mark Walker Coach — site styles
   Palette:
     --paper   #FCFCFA  page background
     --ink     #23282B  text
     --spruce  #24463D  primary green (links, buttons, footer)
     --fog     #E6E8E4  hairlines and borders
     --muted   #68716D  secondary text
   Type:
     Display: Newsreader (serif)
     Body/UI: Public Sans
   ============================================================ */

:root {
  --paper: #FCFCFA;
  --ink: #23282B;
  --spruce: #24463D;
  --spruce-dark: #1B362F;
  --fog: #E6E8E4;
  --muted: #68716D;
  --max-prose: 42rem;
  --max-wide: 68rem;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.35rem; }

a { color: var(--spruce); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--spruce-dark); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--spruce);
  outline-offset: 3px;
}

/* ---------- layout ---------- */

.wrap { max-width: var(--max-wide); margin: 0 auto; padding: 0 1.5rem; }
.prose { max-width: var(--max-prose); }
.prose p + p { margin-top: 1.1rem; }

section { padding: 4.5rem 0; }

/* ---------- header / nav ---------- */

header.site {
  border-bottom: 1px solid var(--fog);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  flex-wrap: wrap;
}

.brand {
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.2rem;
  color: var(--ink);
  text-decoration: none;
}

.nav ul {
  display: flex;
  gap: 1.4rem;
  list-style: none;
  flex-wrap: wrap;
}

.nav ul a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
}

.nav ul a:hover,
.nav ul a[aria-current="page"] {
  color: var(--spruce);
  text-decoration: underline;
  text-underline-offset: 5px;
}

/* ---------- the breath line ---------- */

.breath {
  display: block;
  width: 3rem;
  height: 2px;
  background: var(--spruce);
  border: none;
  margin: 0 auto;
  animation: breathe 7s ease-in-out infinite;
}

.breath.left { margin: 0 0 1.6rem 0; }

@keyframes breathe {
  0%, 100% { width: 3rem; opacity: 0.85; }
  50%      { width: 5.5rem; opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .breath { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- hero ---------- */

.hero { padding: 6rem 0 5rem; }

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.hero p.lede {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 36rem;
  margin-top: 1.4rem;
}

.cta-row { display: flex; gap: 1rem; margin-top: 2.2rem; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 3px;
}

.btn.primary { background: var(--spruce); color: #fff; }
.btn.primary:hover { background: var(--spruce-dark); color: #fff; }

.btn.ghost { border: 1px solid var(--spruce); color: var(--spruce); }
.btn.ghost:hover { background: var(--spruce); color: #fff; }

/* ---------- content blocks ---------- */

.section-label {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.9rem;
}

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin-top: 2.5rem; }
@media (max-width: 760px) { .cards { grid-template-columns: 1fr; } }

.cards h3 { margin-bottom: 0.6rem; }
.cards p { color: var(--muted); font-size: 0.98rem; }

blockquote {
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.25rem;
  line-height: 1.5;
  max-width: 38rem;
}

blockquote footer {
  font-family: "Public Sans", sans-serif;
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.8rem;
}

.quote-list { display: grid; gap: 3rem; margin-top: 2.5rem; }

/* ---------- green band (newsletter) ---------- */

.band {
  background: var(--spruce);
  color: #F4F6F3;
  padding: 4.5rem 0;
}

.band h2 { color: #fff; }
.band p { color: #D6DED9; max-width: 34rem; margin-top: 1rem; }
.band .btn.primary { background: #fff; color: var(--spruce); margin-top: 1.8rem; }
.band .btn.primary:hover { background: var(--fog); }

/* ---------- forms ---------- */

form { max-width: 34rem; }
label { display: block; font-size: 0.9rem; margin: 1.2rem 0 0.35rem; }

input, textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  font: inherit;
  border: 1px solid var(--fog);
  border-radius: 3px;
  background: #fff;
  color: var(--ink);
}

textarea { min-height: 9rem; resize: vertical; }

form .btn { margin-top: 1.6rem; border: none; cursor: pointer; font-family: inherit; }

/* ---------- footer ---------- */

footer.site {
  border-top: 1px solid var(--fog);
  padding: 3rem 0;
  font-size: 0.9rem;
  color: var(--muted);
}

footer.site .cols {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

footer.site a { color: var(--muted); }
footer.site a:hover { color: var(--spruce); }
footer.site ul { list-style: none; display: flex; gap: 1.2rem; flex-wrap: wrap; }

/* ---------- utilities ---------- */

.center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.divider-block { padding: 0.5rem 0; }

/* ---------- video embed ---------- */

.video-frame {
  position: relative;
  max-width: 44rem;
  aspect-ratio: 16 / 9;
  margin-top: 2.5rem;
  border-radius: 4px;
  overflow: hidden;
  background: var(--fog);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


/* ---------- photos ---------- */

.photo { display: block; border-radius: 4px; }
.photo.wide { width: 100%; margin: 1.6rem 0 1.8rem; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-portrait {
  width: 100%;
  max-width: 22rem;
  justify-self: end;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-portrait { justify-self: start; max-width: 20rem; }
}
