/* ============================================
   Meghan Scanlon — Coaching Archive
   Design tokens pulled directly from the live site's computed styles
   ============================================ */

:root {
  --ink: #363636;
  --text: #4D4D4D;
  --coral: #FF616B;
  --slate: #37505C;
  --blush: #F8EFEF;
  --pink-light: #F1D0D0;
  --blue-band: #BDD5EA;
  --white: #FFFFFF;
  --border-light: #E5DEDE;

  --font-display: 'Merriweather', Georgia, serif;
  --font-body: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;

  --max-content: 700px;
  --max-wide: 1280px;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
}

* { box-sizing: border-box; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 var(--space-2);
  color: var(--ink);
}

h1 { font-size: clamp(1.9rem, 4vw, 2.4rem); font-weight: 500; }
h2 { font-size: clamp(1.6rem, 3vw, 1.875rem); }
h3 { font-size: 1.5rem; font-weight: 600; }

p { margin: 0 0 var(--space-3); font-size: 1.125rem; line-height: 1.78; }

a { color: var(--coral); text-decoration: none; }
a:hover { text-decoration: underline; }

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

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

.eyebrow {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--coral);
  margin-bottom: var(--space-1);
  display: inline-block;
}

.wrap { max-width: var(--max-wide); margin: 0 auto; padding: 0 var(--space-3); }
.prose { max-width: var(--max-content); margin: 0 auto; padding: 0 var(--space-3); }

section { padding: var(--space-5) var(--space-2); }
@media (max-width: 640px) { section { padding: var(--space-4) var(--space-2); } }

.section-alt { background: var(--blush); }

/* ============ Header / Nav ============ */

header.site-header {
  background: var(--white);
  padding: 30px 0;
}

.header-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 var(--space-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.header-left {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.brand img { height: 66px; width: auto; }

nav.site-nav ul {
  list-style: none;
  display: flex;
  gap: var(--space-4);
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

nav.site-nav a {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
nav.site-nav a:hover,
nav.site-nav a[aria-current="page"] { color: var(--coral); text-decoration: none; }

.btn-pill {
  display: inline-block;
  background: var(--slate);
  color: #fff !important;
  font-family: var(--font-display);
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.125rem;
  transition: background 0.15s ease;
}
.btn-pill:hover { background: #2c3f48; text-decoration: none; }
.btn-pill.coral { background: var(--coral); }
.btn-pill.coral:hover { background: #e8515a; }

@media (max-width: 720px) {
  .header-inner { flex-direction: column; justify-content: center; text-align: center; }
  .header-left { flex-direction: column; }
  nav.site-nav ul { justify-content: center; gap: var(--space-3); }
}

/* ============ Hero ============ */

.hero {
  position: relative;
  overflow: hidden;
}

.hero-bg {
  max-width: var(--max-wide);
  margin: 0 auto;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  aspect-ratio: 1280 / 626;
}

.hero-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 var(--space-3);
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-inner > div { max-width: 720px; }

.hero.hero-simple .hero-bg { aspect-ratio: 1280 / 380; }

.hero h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.5rem);
  margin: 0;
}
.hero h1 .line {
  background: rgba(255,255,255,0.88);
  display: inline-block;
  padding: 0.15em 0.4em;
  margin-bottom: 0.15em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.hero .lede {
  background: rgba(255,255,255,0.88);
  display: inline-block;
  padding: 0.5em 0.7em;
  font-size: 1rem;
  color: var(--text);
  margin-top: var(--space-2);
  font-weight: 700;
}

@media (max-width: 800px) {
  .hero-bg { aspect-ratio: auto; }
  .hero-inner { padding: var(--space-4) var(--space-3); }
}

/* ============ Content blocks ============ */

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--space-4);
  align-items: center;
}
.split.reverse { grid-template-columns: 1.15fr 0.85fr; }
.split.reverse .split-media { order: 2; }

.split-media img { width: 100%; }

@media (max-width: 800px) {
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .split-media { max-width: 340px; margin: 0 auto; }
}

/* ============ Highlighted pull-quote (flowers section) ============ */

.pull-quote-section {
  background-size: cover;
  background-position: center;
  padding: var(--space-5) var(--space-2);
  min-height: 340px;
  display: flex;
  align-items: flex-end;
}
.pull-quote-section .prose { margin: 0; padding-left: var(--space-3); }
.pull-quote-section h2 {
  font-weight: 400;
  font-size: clamp(1.6rem, 3.2vw, 2.1rem);
}
.pull-quote-section h2 .line {
  background: rgba(245,242,237,0.92);
  display: inline-block;
  padding: 0.15em 0.4em;
  margin-bottom: 0.15em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* ============ Lists ============ */

ul.plain-list {
  padding-left: 1.2rem;
  margin: 0 0 var(--space-3);
}
ul.plain-list li { margin-bottom: var(--space-2); color: var(--text); }

.callout-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.callout-list li {
  background: var(--white);
  border-left: 3px solid var(--coral);
  padding: var(--space-2) var(--space-3);
  margin-bottom: var(--space-2);
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  color: var(--text);
}

/* ============ Testimonials ============ */

.testimonial {
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--pink-light);
}
.testimonial:last-child { border-bottom: none; }
.testimonial p { color: var(--text); }
.testimonial cite { font-style: normal; font-weight: 700; color: var(--ink); }

/* ============ CTA band ============ */

.cta-band { background: var(--blue-band); }
.cta-card {
  background: var(--slate);
  color: var(--white);
  border-radius: 6px;
  padding: var(--space-4);
  max-width: var(--max-wide);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
}
.cta-card h2 { color: #fff; font-weight: 400; margin-bottom: 0.4rem; }
.cta-card p { color: rgba(255,255,255,0.85); max-width: 44ch; margin: 0; }
.cta-card-text { flex: 1 1 420px; }

/* ============ Archive notice (contact page) ============ */

.archive-notice { max-width: var(--max-content); }
.archive-notice h2 { font-weight: 400; }
.archive-notice p { color: var(--text); }

/* ============ Footer ============ */

footer.site-footer {
  background: var(--slate);
  color: var(--white);
  padding: var(--space-4) 0;
  text-align: center;
}
footer.site-footer nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: var(--space-3);
  margin: 0 0 var(--space-3);
  padding: 0;
  flex-wrap: wrap;
}
footer.site-footer a { color: var(--coral); font-size: 1rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.03em; }
footer.site-footer a:hover { color: #fff; }
.footer-copy { font-size: 0.75rem; color: rgba(255,255,255,0.75); }
.footer-copy a { color: rgba(255,255,255,0.85); text-decoration: underline; font-weight: 400; text-transform: none; }
