/* ============================================================================
   PROJECT HEAR ME OUT! — v8 CSS
   Every CTA is centred by a dedicated wrapper;
   every section shares one container width and one vertical rhythm.
   ============================================================================ */

:root {
  --navy:    #1E2A4A;
  --cream:   #FFF7E3;
  --yellow:  #FFD23F;
  --teal:    #2EC4B6;
  --coral:   #FF6B6B;
  --blue:    #7EC8E3;
  --grey:    #4F5870;
  --soft:    #FFFCF1;
  --deep:    #143A7A;
  --shadow:  0 6px 22px rgba(20, 58, 122, 0.08);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  color: var(--grey);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: 'Patrick Hand', 'Comic Sans MS', cursive;
  color: var(--navy);
  letter-spacing: 0.4px;
  margin: 0 0 10px;
  line-height: 1.15;
}
h1 { font-size: clamp(34px, 5vw, 54px); }
h2 { font-size: clamp(26px, 3.2vw, 36px); }
h3 { font-size: 20px; line-height: 1.25; }
h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 1.5px; }
p  { font-size: 16px; margin: 0 0 12px; }

a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: #000; }

.skip-link {
  position: absolute; left: -9999px;
  background: var(--yellow); color: var(--navy);
  padding: 8px 14px; border-radius: 6px;
}
.skip-link:focus { left: 16px; top: 16px; z-index: 999; }

/* ============================================================
   LAYOUT PRIMITIVES — ONE container width, ONE rhythm
   ============================================================ */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 56px 0; }
.section--narrow { padding: 36px 0; }
.section--cream { background: var(--cream); }
.section--yellow {
  background: linear-gradient(180deg, var(--cream) 0%, #FFE9B5 100%);
}
.section--navy   { background: var(--navy); color: #fff; }

.section-head { max-width: 760px; margin: 0 auto 28px; text-align: center; }
.section-head--left { max-width: 760px; margin: 0 0 24px; text-align: left; }
.kicker {
  display: inline-block;
  font-size: 12px; text-transform: uppercase; letter-spacing: 2px;
  color: var(--coral); font-weight: 700; margin-bottom: 8px;
}

/* ============================================================
   HEADER + NAV
   ============================================================ */
.site-header { background: var(--navy); color: #fff; }
.header-bar {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 24px; flex-wrap: wrap;
}
.logo-wrap img {
  width: 52px; height: 52px; border-radius: 50%;
  background: #fff; padding: 3px; flex-shrink: 0;
}
.brand-block .brand-name {
  font-family: 'Patrick Hand', cursive;
  font-size: 15px; letter-spacing: 1.2px; line-height: 1.1;
}
.brand-block .brand-tag { font-size: 11px; color: var(--yellow); margin-top: 2px; }
.menu-toggle {
  background: var(--yellow); color: var(--navy); border: 0;
  padding: 8px 14px; border-radius: 999px; font-weight: 700;
  display: none; margin-left: auto; cursor: pointer;
}
.primary { margin-left: auto; display: flex; gap: 4px; flex-wrap: nowrap; }
.primary a {
  color: #fff; padding: 6px 11px; border-radius: 999px;
  font-size: 13px; font-weight: 600; text-decoration: none;
  white-space: nowrap;
}
.primary a.active, .primary a:hover { background: var(--yellow); color: var(--navy); }

@media (max-width: 760px) {
  .menu-toggle { display: inline-block; }
  .primary {
    display: none; flex-basis: 100%; flex-direction: column;
    gap: 6px; margin-top: 10px; flex-wrap: wrap;
  }
  .primary.open { display: flex; }
  .primary a { padding: 10px 14px; background: rgba(255,255,255,0.06); }
}

/* ============================================================
   HERO — single column, all CTAs centred, logo on a portrait card
   ============================================================ */
.hero { padding: 56px 0 48px; }
.hero-grid {
  display: grid; grid-template-columns: 1.2fr 0.8fr;
  gap: 40px; align-items: center;
}
.hero-grid--centered {
  display: grid; grid-template-columns: 1fr; gap: 28px;
  text-align: center;
}
.eyebrow {
  display: inline-block; font-size: 12px;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--coral); font-weight: 700; margin-bottom: 10px;
}
.hero h1 { max-width: 18ch; margin: 0 auto 14px; }
.hero .tagline { font-size: 17px; color: var(--navy); margin: 0 auto 18px; max-width: 56ch; }

/* This is the one rule that centres ALL hero buttons */
.hero-actions {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
  margin-top: 20px;
}
.hero-art img {
  width: 100%; max-width: 280px; border-radius: 18px;
  background: var(--navy); padding: 14px; margin: 0 auto;
}
.hero-art--centered { display: flex; justify-content: center; }

@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art   { display: flex; justify-content: center; }
}

/* ============================================================
   BUTTONS — consistent radius / weight / size
   ============================================================ */
.btn {
  display: inline-block;
  padding: 12px 24px; border-radius: 999px;
  font-weight: 700; font-size: 15px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-primary    { background: var(--yellow); color: var(--navy); }
.btn-primary:hover { background: var(--navy); color: var(--yellow); }
.btn-secondary  { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: #fff; }
.btn-ghost      { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }

/* The single source of truth for centring any CTA */
.cta-row {
  display: flex; justify-content: center;
  flex-wrap: wrap; gap: 12px;
  margin: 24px auto 8px;
  text-align: center;
}
.cta-row--single { display: block; text-align: center; }
.cta-row--single .btn { margin: 0 auto; }

/* ============================================================
   CARDS
   ============================================================ */
.cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.card {
  background: var(--soft);
  padding: 24px 22px;
  border-radius: 14px;
  border: 2px solid #fff;
  box-shadow: var(--shadow);
  position: relative;
  display: flex; flex-direction: column;
}
.card h3 { color: var(--navy); margin-top: 6px; }
.card p.subtitle { font-size: 13px; color: var(--coral); font-weight: 600; margin: 4px 0 12px; }
.card ul { padding-left: 18px; margin: 10px 0; }
.card ul li { margin-bottom: 8px; line-height: 1.45; }
.card .cta-row { margin-top: auto; padding-top: 12px; }

/* border-top accent — single rule */
.pill {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase;
  background: var(--teal); color: #fff;
}
.pill-teal   { border-top: 4px solid var(--teal); }
.pill-coral  { border-top: 4px solid var(--coral); }
.pill-blue   { border-top: 4px solid var(--blue); }
.pill-yellow { border-top: 4px solid var(--yellow); }
.pill-navy   { border-top: 4px solid var(--navy); }

.vacant-badge {
  display: inline-block; background: var(--coral); color: #fff;
  padding: 3px 10px; border-radius: 999px;
  font-size: 10px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 6px;
}

/* ============================================================
   QUOTE STRIP
   ============================================================ */
.quote-strip { background: var(--navy); color: #fff; padding: 48px 0; }
.quote-strip blockquote {
  max-width: 880px; margin: 0 auto; padding: 0;
  font-family: 'Patrick Hand', cursive; font-size: 26px;
  line-height: 1.4; border: 0;
}
.quote-strip cite {
  display: block; text-align: center;
  font-size: 11px; color: var(--yellow);
  letter-spacing: 2px; text-transform: uppercase;
  margin-top: 12px; font-style: normal;
}

/* ============================================================
   TABLES (kept minimal — current v8 does not render any)
   ============================================================ */
table {
  width: 100%; border-collapse: collapse; margin: 14px 0;
  background: var(--soft); border-radius: 10px; overflow: hidden;
}
th, td {
  padding: 12px 14px; text-align: left;
  border-bottom: 1px solid #efe6c6;
}
th { background: var(--yellow); color: var(--navy); font-family: 'Patrick Hand', cursive; }

/* ============================================================
   STICKY-BOTTOM APPLY BAR — single place navigation surfaces
   the Apply button at the bottom of every CTA-relevant page
   ============================================================ */
.apply-bar {
  background: var(--navy);
  color: #fff;
  padding: 28px 0;
  text-align: center;
}
.apply-bar h3 {
  color: var(--yellow);
  font-family: 'Patrick Hand', cursive;
  margin-bottom: 4px;
}
.apply-bar p { color: rgba(255,255,255,0.85); margin-bottom: 14px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--deep); color: #fff; padding: 48px 0 16px; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px;
}
.footer-grid h4 { color: var(--yellow); }
.footer-grid ul { list-style: none; padding: 0; }
.footer-grid ul li { margin-bottom: 6px; font-size: 14px; }
.footer-grid a { color: var(--yellow); text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; }
.copyright {
  margin: 28px 0 0; padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 12px; color: rgba(255,255,255,0.7);
  text-align: center;
}

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   CTA SECTION (used for the bottom "Apply" call on Get Involved)
   ============================================================ */
.cta-final {
  padding: 56px 0;
  background: linear-gradient(180deg, var(--cream) 0%, #FFE9B5 100%);
  text-align: center;
}
.cta-final h2, .cta-final p { text-align: center; }
.cta-final p { max-width: 56ch; margin: 0 auto 22px; }
.cta-final .btn { margin: 0 auto; }
