/* ============================================================
   Michelle McAtee, PhD, HSP — Marketing Site
   Palette: White #ffffff · Red #ff0000 · Navy #0a2c77
   ============================================================ */

:root {
  --red: #ff0000;
  --red-dark: #d60000;
  --navy: #0a2c77;
  --navy-dark: #071e54;
  --white: #ffffff;
  --ink: #16213e;
  --ink-soft: #4a5578;
  --mist: #f4f6fb;
  --mist-2: #eaeefa;
  --line: #dfe4f2;

  --font-head: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-soft: 0 10px 30px rgba(10, 44, 119, 0.10);
  --shadow-pop: 0 18px 40px rgba(10, 44, 119, 0.16);
  --container: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--red);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: 3px;
  background: var(--red);
  display: inline-block;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(255, 0, 0, 0.28);
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); }

.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--navy);
}
.btn-secondary:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn-ghost:hover { background: rgba(255,255,255,0.14); }

.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 20px;
}
.brand { flex: 0 0 auto; }
.brand img { height: 46px; width: auto; max-width: none; flex-shrink: 0; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--navy);
  padding: 10px 16px;
  border-radius: 999px;
  transition: background 0.18s ease, color 0.18s ease;
}
.nav-links a:hover,
.nav-links a.active {
  background: var(--mist-2);
  color: var(--red);
}

.header-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px 0;
  background: var(--navy);
  border-radius: 3px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 1100px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 10px 24px 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 10px; }
  .nav-toggle { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, var(--navy) 0%, var(--navy-dark) 65%, #05132f 100%);
  color: var(--white);
  padding: 96px 0 110px;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero h1 { color: var(--white); }
.hero .lede {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.86);
  max-width: 46ch;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-badges {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.hero-badges .badge {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.86rem;
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-badges a.badge:hover { text-decoration: underline; }
.hero-badges .badge::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
  display: inline-block;
}
.hero-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-pop);
  color: var(--ink);
}
.hero-card h3 { margin-bottom: 4px; }
.hero-card .sub { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 20px; }
.hero-card ul { list-style: none; margin: 0 0 24px; padding: 0; }
.hero-card li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.hero-card li:last-child { border-bottom: none; }
.hero-card li .dot {
  flex: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--mist-2);
  color: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 800;
  margin-top: 2px;
}

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

/* Page hero (interior pages) */
.page-hero {
  background: linear-gradient(155deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 64px 0 72px;
  position: relative;
  overflow: hidden;
}
.page-hero .eyebrow { color: #ff8383; }
.page-hero .eyebrow::before { background: #ff8383; }
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.85); max-width: 60ch; font-size: 1.05rem; }

/* ---------- Sections ---------- */
section { padding: 88px 0; }
.section-tight { padding: 64px 0; }
.section-alt { background: var(--mist); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy p { color: rgba(255,255,255,0.82); }

.section-head { max-width: 680px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Cards / Grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
@media (max-width: 900px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-pop); }
.card .icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--mist-2);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
  transition: background 0.2s ease, color 0.2s ease;
}
.card .icon svg { width: 26px; height: 26px; }
.card:hover .icon { background: var(--red); color: var(--white); }
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.card ul { padding-left: 1.1em; color: var(--ink-soft); margin: 0; }
.card ul li { margin-bottom: 6px; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--red);
  font-size: 0.92rem;
}

/* Pull quote */
.pull-quote {
  position: relative;
  background: var(--white);
  border-left: 6px solid var(--red);
  border-radius: var(--radius-md);
  padding: 36px 40px;
  box-shadow: var(--shadow-soft);
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: var(--navy);
  font-weight: 500;
}
.pull-quote span { display: block; margin-top: 14px; font-size: 0.9rem; color: var(--ink-soft); font-weight: 600; font-family: var(--font-body); }

/* Inclusivity banner */
.inclusive-banner {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  box-shadow: var(--shadow-soft);
}
.inclusive-banner .mark {
  width: 72px; height: 72px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.inclusive-banner .mark img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
}
@media (max-width: 700px) {
  .inclusive-banner { grid-template-columns: 1fr; text-align: center; }
  .inclusive-banner .mark { margin: 0 auto; }
}

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative;
  padding: 32px 28px 28px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--white);
  background: var(--red);
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}

/* Format tabs */
.formats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .formats { grid-template-columns: 1fr; } }
.format-card {
  border-radius: var(--radius-md);
  padding: 30px;
  background: var(--mist);
  border: 1px solid var(--line);
}
.format-card h3 { display: flex; align-items: center; gap: 10px; }
.format-card .tag {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(255,0,0,0.08);
  padding: 4px 10px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 14px;
}

/* Fee table */
.fee-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-soft);
}
.fee-box .amount {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--red);
}
.fee-box .label { color: var(--ink-soft); font-size: 0.9rem; }

/* About layout */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
.about-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(155deg, var(--navy), var(--navy-dark));
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: var(--shadow-pop);
}
.about-photo img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 20%;
  flex-shrink: 0;
}
.about-photo .chip {
  position: absolute;
  bottom: 22px;
  left: 22px;
  right: 22px;
  background: rgba(10,44,119,0.55);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--white);
  font-size: 0.85rem;
  font-family: var(--font-head);
  font-weight: 600;
}

/* Resource crisis banner */
.crisis-banner {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.crisis-banner h2, .crisis-banner h3 { color: var(--white); }
.crisis-banner p { color: rgba(255,255,255,0.92); }
.crisis-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
@media (max-width: 900px) { .crisis-grid { grid-template-columns: 1fr; } }
.crisis-item {
  display: block;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.22);
  border-left: 4px solid var(--red);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  color: inherit;
  cursor: pointer;
  transition: background 0.18s ease, border-left-color 0.18s ease, transform 0.18s ease;
}
.crisis-item:hover,
.crisis-item:focus-visible {
  background: rgba(255,255,255,0.16);
  border-left-color: #ff8383;
  transform: translateY(-2px);
}
.crisis-item:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }
.crisis-item .num { font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; color: var(--white); display: block; margin-bottom: 4px; }

/* Crisis modal (site-wide, JS-injected) */
body.modal-open { overflow: hidden; }
.crisis-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 19, 47, 0.72);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 1000;
}
.crisis-modal {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-pop);
  color: var(--white);
}
.crisis-modal h2 { color: var(--white); margin-bottom: 8px; }
.crisis-modal p { color: rgba(255,255,255,0.9); }
.crisis-modal-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 22px 0 26px;
}
.crisis-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.14);
  color: var(--white);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease;
}
.crisis-modal-close:hover { background: rgba(255,255,255,0.28); }

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 3fr 7fr;
  gap: 40px;
  align-items: stretch;
}
.contact-grid > * { min-width: 0; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  min-height: 340px;
}
.map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
  display: block;
}

.office-details-strip {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-soft);
}
.office-details-cols {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
  margin-top: 24px;
}
@media (max-width: 900px) {
  .office-details-cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .office-details-cols { grid-template-columns: 1fr; }
}
.detail-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.detail-col .icn {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--mist-2);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.detail-col .icn svg { width: 20px; height: 20px; }
.detail-col .label {
  font-size: 0.8rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-head);
  font-weight: 600;
}
.detail-col a, .detail-col span { color: var(--navy); font-weight: 600; }
.detail-col a:hover { color: var(--red); }

.contact-info-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-soft);
}
.contact-row {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.contact-row:last-child { border-bottom: none; }
.contact-row .icn {
  flex: none;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--mist-2);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  transition: background 0.2s ease, color 0.2s ease;
}
.contact-row .icn svg { width: 20px; height: 20px; }
.contact-row a { color: var(--navy); font-weight: 600; }
.contact-row a:hover { color: var(--red); }
.contact-row .label { font-size: 0.8rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.05em; font-family: var(--font-head); font-weight: 600; }

.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--ink);
  background: var(--mist);
  resize: vertical;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--navy);
  background: var(--white);
}
.form-note { font-size: 0.82rem; color: var(--ink-soft); margin-top: 10px; }

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); margin-bottom: 6px; }
.cta-band p { color: rgba(255,255,255,0.9); margin: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.78);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo {
  display: inline-block;
  background: var(--white);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
}
.footer-logo img { height: 32px; width: auto; max-width: none; margin: 0; display: block; }
.footer-grid h4 {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; font-size: 0.94rem; }
.footer-grid a:hover { color: var(--red); }
.footer-grid p { color: rgba(255,255,255,0.7); font-size: 0.92rem; }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}
.footer-bottom .legal {
  max-width: 230px;
  line-height: 1.5;
  text-align: center;
}
.footer-bottom .powered-by {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
}
.footer-bottom .powered-by img {
  height: 58px;
  width: auto;
  max-width: none;
  flex-shrink: 0;
}
@media (max-width: 700px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer-bottom > .legal:first-child { order: 1; }
  .footer-bottom > .legal:last-child { order: 2; }
  .footer-bottom > .powered-by { order: 3; }
}

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.list-check { list-style: none; padding: 0; margin: 0; }
.list-check li { display: flex; gap: 10px; padding: 6px 0; }
.list-check li::before { content: "✓"; color: var(--red); font-weight: 800; flex: none; }
