/* ==========================================================================
   Kelly & Associates — shared stylesheet
   One file for the whole site. Sections, in order:
     1. Design tokens      5. Buttons & links
     2. Base & reset       6. Forms
     3. Layout shell       7. Home page
     4. Header & footer    8. Responsive
   ========================================================================== */

/* 1. Design tokens ======================================================== */

:root {
  /* Brand */
  --green: #1B7F34;
  --green-dark: #0C3B20;
  --green-deep: #08240F;        /* foot of the dark page gradient */
  --panel: #F6F9F3;
  --panel-alt: #F3F8F1;
  --border: #D3E2CF;
  --mint: #9BE07A;
  --bright: #4CBB17;
  --pale: #DDF5CF;

  /* Text */
  --ink: #17261D;               /* body copy on light panels */
  --ink-soft: #24352A;
  --white: #FFFFFF;

  /* Translucent whites, used throughout the dark pages */
  --w-92: rgba(255, 255, 255, 0.92);
  --w-90: rgba(255, 255, 255, 0.90);
  --w-84: rgba(255, 255, 255, 0.84);
  --w-62: rgba(255, 255, 255, 0.62);
  --w-30: rgba(255, 255, 255, 0.30);
  --w-28: rgba(255, 255, 255, 0.28);
  --w-22: rgba(255, 255, 255, 0.22);
  --w-20: rgba(255, 255, 255, 0.20);
  --w-18: rgba(255, 255, 255, 0.18);
  --w-12: rgba(255, 255, 255, 0.12);
  --w-10: rgba(255, 255, 255, 0.10);
  --w-08: rgba(255, 255, 255, 0.08);

  /* Type */
  --font-head: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;

  /* Layout */
  --wrap: 1360px;
  --pad-x: 40px;

  /* The dark page background, used on every page */
  --page-bg:
    radial-gradient(900px 520px at 15% 0%, rgba(76, 187, 23, 0.22), transparent 60%),
    linear-gradient(180deg, var(--green-dark) 0%, var(--green-deep) 100%);
}

/* 2. Base & reset ========================================================= */

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--page-bg);
  background-attachment: fixed;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

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

a { color: var(--white); }
a:hover { color: #CFEEC0; }

/* Keyboard users must always be able to see where they are. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Light panels flip the link and focus colours so contrast still passes. */
.light a { color: var(--green); }
.light a:hover { color: var(--green-dark); }
.light a:focus-visible,
.light button:focus-visible,
.light input:focus-visible,
.light textarea:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

/* Visible only to screen readers. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Lets keyboard users jump straight past the nav. */
.skip-link {
  position: absolute;
  left: 50%;
  top: 8px;
  transform: translate(-50%, -200%);
  z-index: 100;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--white);
  color: var(--green);
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease;
}
.skip-link:focus { transform: translate(-50%, 0); }

/* 3. Layout shell ========================================================= */

.shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 28px var(--pad-x) 56px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
}

main.wrap {
  display: flex;
  flex-direction: column;
  gap: 96px;
  padding: 80px 0 72px;
}

/* Small capitalised label that sits above a heading. */
.eyebrow {
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.eyebrow--mint { color: var(--mint); }
.eyebrow--green { color: var(--green); }

/* 4. Header & footer ====================================================== */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
}
.brand:hover { color: var(--white); }
.brand__mark { flex-shrink: 0; width: 46px; height: 46px; }
.brand__text { display: flex; flex-direction: column; gap: 5px; }
.brand__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 21px;
  line-height: 1;
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.brand__tag {
  font-weight: 600;
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.28em;
  white-space: nowrap;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border-radius: 40px;
  background: var(--w-10);
  border: 1px solid var(--w-18);
}
.nav__link {
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 16px;
  white-space: nowrap;
  transition: background 0.15s ease;
}
.nav__link:hover { background: var(--w-12); color: var(--white); }
.nav__link[aria-current="page"] { background: var(--w-20); }

/* Hamburger — only shown on narrow screens (see section 8). */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--w-10);
  border: 1px solid var(--w-28);
  color: var(--white);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
.nav-toggle__bars { display: flex; flex-direction: column; gap: 4px; }
.nav-toggle__bars span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  margin-top: auto;
  padding-top: 28px;
  border-top: 1px solid var(--w-20);
  font-size: 15px;
  color: var(--w-84);
}
.site-footer__meta { display: flex; flex-direction: column; gap: 6px; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* Phone numbers always use the sans-serif face. */
.tel { font-family: var(--font-body); font-variant-numeric: tabular-nums; }

/* 5. Buttons & links ====================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn--white { background: var(--white); color: var(--green); }
.btn--white:hover { background: var(--pale); color: var(--green-dark); }

.btn--ghost {
  padding: 16px 30px;
  background: var(--w-12);
  border: 1px solid var(--w-30);
  color: var(--white);
  font-size: 17px;
}
.btn--ghost:hover { background: var(--w-20); color: var(--white); }

.btn--green { background: var(--green); color: var(--white); }
.btn--green:hover { background: var(--green-dark); color: var(--white); }

/* The white phone pill in the hero. */
.call-pill {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 28px 8px 8px;
  border-radius: 999px;
  background: var(--white);
  color: var(--green-dark);
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease;
}
.call-pill:hover { transform: translateY(-2px); color: var(--green-dark); }
.call-pill__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
}
.call-pill__number {
  font-weight: 600;
  font-size: 24px;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--green-dark);
}

/* 6. Forms ================================================================ */

/* Inline pill form — the hero's single-field consultation request. */
.inline-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 620px;
  padding: 8px;
  border-radius: 44px;
  background: var(--w-10);
  border: 1px solid var(--w-28);
}
.inline-form__input {
  flex: 1 1 220px;
  min-width: 0;
  min-height: 50px;
  padding: 0 20px;
  background: transparent;
  border: none;
  color: var(--white);
  font-family: inherit;
  font-size: 18px;
}
.inline-form__input::placeholder { color: rgba(255, 255, 255, 0.72); }
.inline-form .btn { min-height: 54px; padding: 0 28px; font-size: 17px; }

/* Honeypot: a field real people never see, so bots that fill it get caught. */
.hidden-field { position: absolute; left: -9999px; }

/* 7. Home page ============================================================ */

.hero {
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
  align-items: stretch;
}
.hero__copy {
  flex: 1.15 1 480px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
}
.hero__title {
  font-weight: 600;
  font-size: clamp(2.75rem, 6.4vw, 5.75rem);
  line-height: 0.98;
  letter-spacing: -0.015em;
}
.hero__title em { color: var(--mint); font-style: italic; }
.hero__lede {
  max-width: 580px;
  font-size: clamp(1.0625rem, 1.5vw, 1.3125rem);
  line-height: 1.55;
  color: var(--w-90);
}

/* Address chip above the headline. */
.chip {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--w-10);
  border: 1px solid var(--w-20);
  font-size: 15px;
  text-decoration: none;
  color: var(--white);
}
.chip:hover { background: var(--w-18); color: var(--white); }
.chip__dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bright);
}

/* The three mission cards beside the hero. */
.pillars {
  flex: 1 1 460px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.pillar {
  padding: 28px;
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pillar__title { font-weight: 700; font-size: 32px; line-height: 1.05; }
.pillar__body { font-size: 16px; line-height: 1.5; }

.pillar--wide {
  grid-column: span 2;
  padding: 32px;
  background: var(--green);
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 32px;
}
.pillar--wide .pillar__head {
  flex: 1 1 200px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.pillar--wide .pillar__icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--w-18);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pillar--wide .pillar__label { display: flex; flex-direction: column; gap: 6px; }
.pillar--wide .pillar__title { font-size: 44px; line-height: 1; }
.pillar--wide .pillar__body { flex: 1.3 1 240px; font-size: 18px; line-height: 1.55; }

.pillar--light { background: var(--panel); color: var(--ink); }
.pillar--light .pillar__title { color: var(--green-dark); }

.pillar--outline { background: var(--w-08); border: 1px solid var(--w-28); }
.pillar--outline .pillar__body { color: var(--w-90); }

/* Large pull-quote style statement with a button beside it. */
.statement {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-end;
  justify-content: space-between;
  padding-top: 72px;
  border-top: 1px solid var(--w-20);
}
.statement__text {
  flex: 1 1 640px;
  max-width: 1040px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.875rem, 3.8vw, 3.375rem);
  line-height: 1.12;
  color: var(--w-62);
}
.statement__text strong { color: var(--white); font-weight: 600; }
.statement__text em { color: var(--mint); font-style: normal; }

/* Numbered cards linking to the five main pages. */
.sections { display: flex; flex-wrap: wrap; gap: 20px; }
.section-card {
  flex: 1 1 240px;
  min-height: 220px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-radius: 22px;
  background: var(--w-08);
  border: 1px solid var(--w-22);
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}
.section-card:hover {
  background: var(--w-12);
  transform: translateY(-3px);
  color: var(--white);
}
.section-card__num {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.08em;
  color: var(--mint);
}
.section-card__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.05;
  color: var(--white);
}
.section-card__body { font-size: 16px; line-height: 1.5; color: var(--w-90); }
.section-card__more { margin-top: auto; font-weight: 600; font-size: 16px; color: var(--white); }

/* 8. Responsive =========================================================== */

@media (max-width: 1100px) {
  main.wrap { gap: 72px; padding: 56px 0 56px; }
  .hero { gap: 40px; }
  .statement { padding-top: 56px; }
}

/* Measured: the header row needs 1135px (brand 305 + nav 673 + button 125 +
   gaps). Below ~1215px wide the button wrapped to a second line, so collapse
   the nav into the Menu button under 1240px and leave a little headroom. */
@media (max-width: 1239px) {
  .nav-toggle { display: inline-flex; order: 3; }
  .nav {
    order: 4;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    border-radius: 24px;
  }
  .nav[hidden] { display: none; }
  .nav__link { padding: 14px 20px; }
  .site-header > .btn { order: 2; }
}

@media (max-width: 760px) {
  :root { --pad-x: 20px; }
  .shell { padding: 20px var(--pad-x) 40px; }
  main.wrap { gap: 56px; padding: 40px 0; }
  .brand__name { font-size: 18px; }
  .brand__tag { font-size: 9px; letter-spacing: 0.22em; }
  .pillars { grid-template-columns: minmax(0, 1fr); }
  .pillar--wide { grid-column: span 1; }
  .pillar--wide .pillar__title { font-size: 36px; }
  .statement { padding-top: 40px; gap: 24px; }
  .site-footer { padding-top: 20px; }
  .call-pill__number { font-size: 21px; }
}

@media (max-width: 420px) {
  .inline-form { border-radius: 28px; }
  .inline-form .btn { width: 100%; }
}

/* Respect a reader's preference for less motion. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .btn:hover, .call-pill:hover, .section-card:hover { transform: none; }
}
/* The menu button hides the nav via the hidden attribute; this must beat display:flex. */
.nav[hidden] { display: none; }

/* 9. Page head (every page except Home) ================================== */

.page-head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 820px;
}
.page-head__title {
  font-weight: 600;
  font-size: clamp(2.375rem, 5vw, 4.25rem);
  line-height: 1.02;
}
.page-head__lede {
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  line-height: 1.55;
  color: var(--w-90);
}
.eyebrow--lg { font-size: 14px; letter-spacing: 0.22em; }

/* Header CTA on inner pages: translucent instead of solid white. */
.btn--outline {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: var(--white);
}
.btn--outline:hover { background: var(--w-28); color: var(--white); }

/* 10. Plans page ========================================================== */

.plan-list { display: flex; flex-direction: column; gap: 32px; }

.plan {
  scroll-margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  border-radius: 28px;
  overflow: hidden;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
}
/* Alternating panels put the photo on the opposite side. */
.plan--flip { flex-direction: row-reverse; }

.plan__media {
  position: relative;
  flex: 1 1 420px;
  min-height: 360px;
}
.plan__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.plan__media--lower img { object-position: center 45%; }

.plan__body {
  flex: 1.25 1 480px;
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.plan__title {
  font-weight: 700;
  font-size: clamp(2.25rem, 3.6vw, 3.25rem);
  line-height: 1;
  color: var(--green-dark);
}
.plan__body p { font-size: 17px; line-height: 1.6; }
.plan__body p.lede-lg { font-size: 20px; }

/* The plain-English definition of each plan type. */
.plain-terms {
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--panel-alt);
  border-left: 4px solid var(--green);
  font-size: 17px;
  line-height: 1.5;
}
.plain-terms b { color: var(--green-dark); }

/* Small uppercase label inside a light panel. */
.label {
  margin-top: 4px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #33463A;
}

/* Numbered steps. */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
}
.step {
  padding: 18px;
  border-radius: 16px;
  background: var(--panel-alt);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.step__num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
}
.step__name { font-weight: 600; font-size: 17px; color: var(--green-dark); }
.step__body { font-size: 15px; line-height: 1.45; }

/* Pill lists — plain, or with a tick. */
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--panel-alt);
  border: 1px solid var(--border);
  font-size: 16px;
  font-weight: 600;
  color: var(--green-dark);
}
.pill--check {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
}
.pill--check svg { flex-shrink: 0; }

/* Two side-by-side option blocks. */
.duo { display: flex; flex-wrap: wrap; gap: 12px; }
.duo__item {
  flex: 1 1 200px;
  padding: 16px 20px;
  border-radius: 16px;
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 24px;
}
.duo__item--green { background: var(--green); }
.duo__item--dark { background: var(--green-dark); }

/* Closing call-to-action band. */
.cta-band {
  padding: 44px 48px;
  border-radius: 24px;
  background: var(--w-08);
  border: 1px solid var(--w-22);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cta-band__copy { display: flex; flex-direction: column; gap: 8px; max-width: 720px; }
.cta-band__title { font-weight: 600; font-size: clamp(1.75rem, 2.8vw, 2.5rem); line-height: 1.05; }
.cta-band__body { font-size: 18px; line-height: 1.5; color: var(--w-90); }

@media (max-width: 760px) {
  .plan__body { padding: 32px 24px; }
  .plan__media { flex-basis: 100%; min-height: 260px; }
  .cta-band { padding: 28px 24px; }
}

/* 11. Employer Services page ============================================= */

:root { --w-94: rgba(255, 255, 255, 0.94); }

/* A solid white section, used for the main services grid. */
.panel-white {
  padding: 48px;
  border-radius: 28px;
  background: var(--white);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 32px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
}
.panel-white__title {
  font-weight: 700;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.02;
  color: var(--green-dark);
}

/* Section intro on the dark background. */
.section-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 760px;
}
.section-head__title {
  font-weight: 600;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.05;
}

/* Four service categories. */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.svc-card {
  padding: 26px 24px;
  border-radius: 20px;
  background: var(--panel-alt);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.svc-card__icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
}
.svc-card__title {
  font-weight: 700;
  font-size: 26px;
  line-height: 1.1;
  color: var(--green-dark);
}

/* Bulleted list with a small green dot. */
.dot-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--ink);
}
.dot-list li { display: flex; gap: 10px; align-items: baseline; }
.dot-list li::before {
  content: "";
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  transform: translateY(-2px);
}

/* Programme cards on the dark background. */
.prog-grid { display: flex; flex-wrap: wrap; gap: 24px; }
.prog-card {
  flex: 1 1 520px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-radius: 22px;
  background: var(--w-08);
  border: 1px solid var(--w-22);
}
.prog-card__title { font-weight: 700; font-size: clamp(1.75rem, 2.4vw, 2.125rem); line-height: 1.1; }
.prog-card p { font-size: 17px; line-height: 1.55; color: var(--w-90); }

/* Tick list on the dark background. */
.check-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 17px;
  line-height: 1.5;
  color: var(--w-94);
}
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list svg { flex-shrink: 0; margin-top: 1px; }

/* Green variant of the closing band. */
.cta-band--green { background: var(--green); border: none; }
.cta-band--green .cta-band__body { color: var(--white); }
.cta-band--green .btn--white { color: var(--green-dark); }

@media (max-width: 760px) {
  .panel-white { padding: 28px 22px; }
  .prog-card { padding: 26px 22px; }
}

/* 12. Carriers page ====================================================== */

:root {
  --ink-muted: #4A5C50;
  --ink-muted-2: #5A6B60;
  --border-soft: #E3EEE0;
  --minus: #C9D5C6;
}

/* "17 top carriers" panel with the name pills beside it. */
.count-panel {
  padding: 44px 48px;
  border-radius: 28px;
  background: var(--white);
  color: var(--ink);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px 48px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
}
.count-panel__figure { flex: 0 1 280px; display: flex; flex-direction: column; gap: 10px; }
.count-big {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(5rem, 9vw, 8rem);
  line-height: 0.85;
  color: var(--green);
}
.count-panel__title { font-weight: 700; font-size: 30px; line-height: 1.1; color: var(--green-dark); }
.count-panel__note { font-size: 16px; line-height: 1.5; color: var(--ink-muted); }

/* Carrier names as text only — no carrier logos, for trademark reasons. */
.carrier-list {
  flex: 1 1 560px;
  padding-left: 40px;
  border-left: 2px solid var(--border-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.carrier-list .pill { font-size: 17px; }

/* Big green "every carrier, every option" panel. */
.agnostic {
  padding: 64px 56px;
  border-radius: 32px;
  background: var(--green);
  color: var(--white);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
.agnostic__copy { flex: 1 1 420px; display: flex; flex-direction: column; gap: 22px; }
.agnostic__title {
  font-weight: 600;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
}
.agnostic__title em { font-style: italic; color: var(--pale); }
.agnostic__body { max-width: 540px; font-size: 19px; line-height: 1.6; }

.tag {
  align-self: flex-start;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--w-18);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* Pill variant that sits on the green panel. */
.pill--on-green {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

/* Worked example of a side-by-side carrier comparison. */
.compare {
  flex: 1.15 1 460px;
  margin: 0;
  padding: 28px;
  border-radius: 24px;
  background: var(--white);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.compare__caption {
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted-2);
}
.compare__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.compare__col {
  padding: 18px 16px;
  border-radius: 16px;
  background: var(--panel);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.compare__col--best {
  background: var(--white);
  border: 2px solid var(--green);
  box-shadow: 0 10px 30px rgba(27, 127, 52, 0.18);
}
.compare__name { font-family: var(--font-head); font-weight: 700; font-size: 24px; color: var(--green-dark); }
.compare__row { display: flex; gap: 8px; align-items: flex-start; font-size: 15px; line-height: 1.35; }
.compare__row--con { color: var(--ink-muted); }
.mark {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
}
.mark--plus { background: var(--green); color: var(--white); }
.mark--minus { background: var(--minus); color: var(--ink); line-height: 19px; }
.badge-best {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
}
.compare__note { font-size: 15px; line-height: 1.5; color: var(--ink-muted); }

/* Light "partnerships" section. */
.partners {
  padding: 56px;
  border-radius: 28px;
  background: var(--panel);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.partners__head { display: flex; flex-direction: column; gap: 14px; max-width: 820px; }
.partners__title { font-weight: 600; font-size: clamp(2rem, 3.4vw, 2.875rem); line-height: 1.05; color: var(--green-dark); }
.partners__intro { font-size: 18px; line-height: 1.6; }
.partners__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.partner-card {
  padding: 28px 24px;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.partner-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.partner-card__title { font-weight: 700; font-size: 26px; line-height: 1.1; color: var(--green-dark); }
.partner-card p { font-size: 16px; line-height: 1.55; }

@media (max-width: 900px) {
  .compare__grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
  .count-panel { padding: 28px 22px; }
  .carrier-list { padding-left: 0; border-left: none; }
  .agnostic { padding: 32px 24px; gap: 28px; }
  .compare { padding: 20px; }
  .partners { padding: 28px 22px; }
}

/* 13. Charter Schools page =============================================== */

/* Green quote panel that carries the page's h1. */
.quote-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 56px;
  border-radius: 32px;
  background: linear-gradient(135deg, #1F8A3A 0%, #1B7F34 45%, #0E4A24 100%);
  color: var(--white);
  display: flex;
  flex-wrap: wrap;
  gap: 48px 56px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
/* Oversized decorative quote mark. */
.quote-hero__glyph {
  position: absolute;
  top: -70px;
  right: 24px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 340px;
  line-height: 1;
  color: var(--w-08);
  pointer-events: none;
}
.quote-hero__copy {
  position: relative;
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.quote-hero__title {
  font-weight: 600;
  font-size: clamp(2.5rem, 4.8vw, 3.875rem);
  line-height: 1.02;
}
.quote-hero__title em { font-style: italic; color: var(--pale); }
.quote-hero__lede { font-size: 19px; line-height: 1.55; color: var(--w-92); }
.quote-hero__detail {
  position: relative;
  flex: 1.2 1 460px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.eyebrow--pale { color: var(--pale); }

/* Solid white pill on a green ground. */
.pill--white { background: var(--white); border-color: transparent; color: var(--green-dark); padding: 10px 18px; }
/* White pill with a border, for light grounds. */
.pill--outline-white { background: var(--white); border-color: var(--border); color: var(--green-dark); }

/* The "Advocates of School Choice" block. */
.badge-house {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px 14px 14px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid var(--w-30);
}
.badge-house__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.badge-house__text { display: flex; flex-direction: column; gap: 2px; }
.badge-house__title { font-weight: 600; font-size: 17px; }
.badge-house__sub { font-size: 15px; color: rgba(255, 255, 255, 0.85); }

/* Paragraph group with a mint rule down the left. */
.note-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 22px;
  border-left: 3px solid var(--mint);
}
.note-block p { font-size: 18px; line-height: 1.65; }

/* Slim light strip of benefits. */
.control-strip {
  padding: 22px 28px;
  border-radius: 20px;
  background: var(--panel);
  color: var(--ink);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
}
.control-strip__title { font-weight: 700; font-size: 26px; line-height: 1.1; color: var(--green-dark); }

/* "Who you will work with" row. */
.person-strip {
  padding: 36px 40px;
  border-radius: 22px;
  background: var(--w-08);
  border: 1px solid var(--w-22);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}
.person-strip__mono {
  flex-shrink: 0;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 32px;
}
.person-strip__copy { flex: 1 1 360px; display: flex; flex-direction: column; gap: 6px; }
.person-strip__name { font-family: var(--font-head); font-weight: 700; font-size: 30px; line-height: 1.1; }
.person-strip__role { font-size: 17px; line-height: 1.5; color: var(--w-90); }
.person-strip__link { font-weight: 600; font-size: 17px; text-decoration: none; }

@media (max-width: 760px) {
  .quote-hero { padding: 32px 24px; gap: 32px; }
  .quote-hero__glyph { font-size: 200px; top: -40px; right: 8px; }
  .control-strip { padding: 20px 22px; }
  .person-strip { padding: 26px 22px; }
}

/* 14. Team page ========================================================== */

:root { --border-mid: #C2D6BE; }

.team-grid {
  padding: 56px;
  border-radius: 28px;
  background: var(--panel);
  color: var(--ink);
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.person-card {
  flex: 1 1 340px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-radius: 22px;
  background: var(--white);
  border: 1px solid var(--border);
}
/* Headshots sit in a 120px circle. */
.person-card__photo img {
  display: block;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-mid);
}
.person-card__name { font-weight: 700; font-size: 34px; line-height: 1.1; color: var(--green-dark); }
.person-card__role {
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
}
.person-card p { font-size: 17px; line-height: 1.6; }
.person-card__meta { font-size: 16px; line-height: 1.5; color: var(--ink-muted); }
.person-card__contact {
  margin-top: auto;
  padding-top: 6px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
}
/* Softer treatment where the Kellys still owe us confirmed copy. */
.person-card--draft p,
.person-card--draft .person-card__meta,
.person-card--draft .person-card__contact { color: var(--ink-muted-2); }

@media (max-width: 760px) {
  .team-grid { padding: 24px 20px; }
  .person-card { padding: 26px 22px; }
}

/* 15. Contact page ======================================================= */

:root { --border-input: #B9CDB5; }

.contact-cols { display: flex; flex-wrap: wrap; gap: 28px; align-items: stretch; }

.form-panel {
  flex: 1.5 1 480px;
  padding: 44px;
  border-radius: 28px;
  background: var(--panel);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.field-row { display: flex; flex-wrap: wrap; gap: 20px; }
.field { flex: 1 1 220px; display: flex; flex-direction: column; gap: 8px; }
.field label { font-weight: 600; font-size: 16px; color: var(--green-dark); }
.field input,
.field textarea {
  box-sizing: border-box;
  border-radius: 12px;
  border: 1px solid var(--border-input);
  background: var(--white);
  color: var(--ink);
  font-family: inherit;
  font-size: 17px;
}
.field input { min-height: 52px; padding: 0 16px; }
.field textarea { padding: 14px 16px; line-height: 1.5; resize: vertical; }
.field input:focus,
.field textarea:focus { border-color: var(--green); }

/* Contact details beside the form. */
.contact-aside {
  flex: 1 1 340px;
  padding: 40px;
  border-radius: 28px;
  background: var(--w-08);
  border: 1px solid var(--w-22);
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact-block { display: flex; flex-direction: column; gap: 6px; }
.contact-block--call { gap: 10px; }
.contact-block--divided { padding-top: 24px; border-top: 1px solid var(--w-20); }
.contact-block a { font-weight: 600; text-decoration: none; }
.contact-block a:hover { text-decoration: underline; }
.contact-email { font-size: 18px; word-break: break-word; }
.contact-address { font-size: 18px; line-height: 1.5; }
.contact-maps { font-size: 16px; }
.contact-social { font-size: 17px; }

/* 16. Thank-you and 404 ================================================== */

.simple-page { display: flex; flex-direction: column; gap: 32px; max-width: 760px; }
.simple-page__links { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 760px) {
  .form-panel { padding: 26px 22px; }
  .contact-aside { padding: 26px 22px; }
}

/* 17. Responsive corrections (pass at 375 / 768 / 1280 / 1440) =========== */

/* The carrier pills sit beside the "17" only while there is room for both.
   Once they wrap underneath, the vertical rule points at nothing. */
@media (max-width: 920px) {
  .carrier-list { padding-left: 0; border-left: none; }
}

/* Long email addresses must never force a horizontal scroll. */
.site-footer a,
.contact-email { overflow-wrap: break-word; }

/* Keep "EMPLOYEE BENEFITS CONSULTING" visible on phones — it is the firm's
   positioning, so it should not be the thing that gets dropped. */
@media (max-width: 420px) {
  .brand__tag { display: block; font-size: 9px; letter-spacing: 0.16em; }
  .brand__mark { width: 40px; height: 40px; }
}
