/* ==========================================================================
   Let Me Hear — LetMeHear.org
   Global stylesheet
   Palette: deep navy, teal, warm coral, soft sand
   ========================================================================== */

:root {
  --navy-900: #0B1F33;
  --navy-800: #10263F;
  --navy-700: #16334F;
  --teal-700: #0E6E6B;
  --teal-600: #12807C;
  --teal-100: #E1F1F0;
  --coral-500: #F2664B;
  --coral-600: #D9543B;
  --coral-100: #FDEAE5;
  --amber-300: #F7C873;
  --sand-100: #FBF6EC;
  --ink: #1D2B36;
  --muted: #51616D;
  --line: #E3E8EC;
  --white: #FFFFFF;
  --shadow: 0 2px 10px rgba(16, 38, 63, 0.07);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Reset & base ---------- */

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

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

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

h1, h2, h3, h4 {
  line-height: 1.2;
  margin: 0 0 0.75rem;
  color: var(--navy-800);
  text-wrap: balance;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.375rem); font-weight: 800; letter-spacing: -0.015em; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

ul { padding-left: 1.25rem; margin: 0 0 1rem; }
li { margin-bottom: 0.4rem; }

a { color: var(--teal-700); }
a:hover { color: var(--teal-600); }

:focus-visible {
  outline: 3px solid var(--amber-300);
  outline-offset: 2px;
  border-radius: 0;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.narrow { max-width: 46rem; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  background: var(--navy-800);
  color: #fff;
  padding: 0.65rem 1.1rem;
  border-radius: 0;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 0; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  border-radius: 0;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.btn:hover { transform: translateY(-1px); }

.btn-coral { background: var(--coral-500); color: #fff; }
.btn-coral:hover { background: var(--coral-600); color: #fff; }

.btn-primary { background: var(--teal-600); color: #fff; }
.btn-primary:hover { background: var(--teal-700); color: #fff; }

.btn-outline-light { border-color: rgba(255, 255, 255, 0.75); color: #fff; background: transparent; }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

.btn-outline-dark { border-color: var(--teal-700); color: var(--teal-700); background: transparent; }
.btn-outline-dark:hover { background: var(--teal-100); color: var(--teal-700); }

.btn-lg { padding: 1rem 2rem; font-size: 1.075rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.5rem; }

/* ---------- Header & navigation ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s;
}
.site-header.scrolled { box-shadow: 0 4px 18px rgba(16, 38, 63, 0.09); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  margin-right: auto;
}
.brand-mark { flex: 0 0 auto; }
.brand-mark .arc-1 { stroke: var(--teal-600); }
.brand-mark .arc-2 { stroke: var(--teal-600); opacity: 0.75; }
.brand-mark .arc-3 { stroke: var(--teal-600); opacity: 0.5; }
.brand-mark .dot { fill: var(--coral-500); }

.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 1.22rem; font-weight: 800; color: var(--navy-800); letter-spacing: -0.01em; white-space: nowrap; }
.brand-text small { font-size: 0.74rem; color: var(--muted); letter-spacing: 0.09em; text-transform: uppercase; }

.site-nav { display: flex; align-items: center; gap: 0.25rem; }
.site-nav a {
  padding: 0.5rem 0.85rem;
  border-radius: 0;
  font-weight: 600;
  color: var(--navy-800);
  text-decoration: none;
  font-size: 0.97rem;
}
.site-nav a:hover { background: var(--teal-100); color: var(--teal-700); }
.site-nav a.active { color: var(--teal-700); background: var(--teal-100); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.9rem;
  border: 2px solid var(--navy-800);
  border-radius: 0;
  background: transparent;
  color: var(--navy-800);
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
}

.header-cta { flex: 0 0 auto; }
.header-cta .btn { padding: 0.6rem 1.25rem; font-size: 0.95rem; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    background: #fff;
    padding: 0.9rem 1.25rem 1.2rem;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 28px rgba(16, 38, 63, 0.1);
  }
  .site-nav a { padding: 0.7rem 0.85rem; font-size: 1.05rem; }
  body.nav-open .site-nav { display: flex; }
  .header-inner { flex-wrap: nowrap; }
}

@media (max-width: 480px) {
  .header-cta .btn { padding: 0.5rem 0.9rem; font-size: 0.88rem; }
  .brand-text strong { font-size: 1.05rem; }
}

/* ---------- Hero (home) ---------- */

.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 55%, var(--teal-700) 100%);
  color: #fff;
  overflow: hidden;
}
.hero-inner {
  position: relative;
  padding-block: 4.5rem 5rem;
  max-width: 46rem;
}
.hero-visual {
  position: absolute;
  top: 50%;
  right: -4rem;
  transform: translateY(-50%);
  width: min(34rem, 48vw);
  opacity: 0.5;
  pointer-events: none;
}
@media (max-width: 820px) { .hero-visual { display: none; } }

.hero h1 { color: #fff; }
.hero .lede { color: rgba(255, 255, 255, 0.88); font-size: 1.2rem; max-width: 36rem; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 1rem;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.hero .badge { margin-bottom: 1.4rem; }

/* ---------- Page hero (subpages) ---------- */

.page-hero {
  background: linear-gradient(120deg, var(--navy-900) 0%, var(--navy-700) 70%, var(--teal-700) 100%);
  color: #fff;
}
.page-hero-inner { padding-block: 3.4rem 3.6rem; max-width: 44rem; }
.page-hero h1 { color: #fff; margin-bottom: 0.9rem; }
.page-hero .lede { color: rgba(255, 255, 255, 0.88); font-size: 1.15rem; }

.eyebrow {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-700);
  margin-bottom: 0.7rem;
}
.hero .eyebrow, .page-hero .eyebrow, .section-navy .eyebrow, .cta-panel .eyebrow { color: var(--amber-300); }

.lede { font-size: 1.15rem; }

/* ---------- Sections ---------- */

.section { padding-block: 4.5rem; }
.section-sand { background: var(--sand-100); }
.section-navy {
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
  color: #fff;
}
.section-navy h2, .section-navy h3, .section-navy h4 { color: #fff; }
.section-navy p { color: rgba(255, 255, 255, 0.85); }

.section-head { max-width: 40rem; margin: 0 auto 2.75rem; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin-top: 0.75rem; }
.section-head .eyebrow { margin-bottom: 0.4rem; }
.section-navy .section-head p { color: rgba(255, 255, 255, 0.8); }

.section-head-left { margin-left: 0; text-align: left; }

/* ---------- Cards & grids ---------- */

.grid { display: grid; gap: 1.4rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 1.8rem;
  box-shadow: var(--shadow);
}
.section-sand .card { border-color: #EDE4D2; }

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 0;
  background: var(--teal-100);
  color: var(--teal-700);
  margin-bottom: 1.05rem;
}
.icon-badge.coral { background: var(--coral-100); color: var(--coral-600); }
.icon-badge.amber { background: #FBEBD0; color: #9A6A1F; }
.section-navy .icon-badge { background: rgba(255, 255, 255, 0.12); color: var(--amber-300); }

.card p { color: var(--muted); }
.card .btn-row { margin-top: 1.25rem; }
.card h3 a { text-decoration: none; color: inherit; }

.link-more { font-weight: 700; text-decoration: none; display: inline-block; margin-top: 0.5rem; }
.link-more::after { content: " →"; }

/* ---------- Steps ---------- */

.steps { display: grid; gap: 1.4rem; }
.step { display: flex; gap: 1.1rem; align-items: flex-start; }
.step-num {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 0;
  background: var(--teal-600);
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.section-navy .step-num { background: var(--coral-500); }
.step h3 { font-size: 1.15rem; margin-bottom: 0.35rem; }
.step p { color: var(--muted); margin: 0; }
.section-navy .step p { color: rgba(255, 255, 255, 0.85); }

@media (min-width: 860px) {
  .steps.grid-3 { display: grid; }
}

/* ---------- Program blocks ---------- */

.program {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.4rem;
  padding: 1.9rem 0;
  border-bottom: 1px solid var(--line);
}
.program:last-child { border-bottom: none; }
.program-icon {
  width: 64px;
  height: 64px;
  border-radius: 0;
  background: var(--teal-100);
  color: var(--teal-700);
  display: flex;
  align-items: center;
  justify-content: center;
}
.program h2 { font-size: 1.45rem; margin-bottom: 0.5rem; }
.program p { color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.9rem; }
.chip {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  border-radius: 0;
  background: var(--teal-100);
  color: var(--teal-700);
  font-size: 0.82rem;
  font-weight: 700;
}
.chips-label { font-size: 0.85rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 1.1rem; margin-bottom: 0.1rem; }

@media (max-width: 600px) {
  .program { grid-template-columns: 1fr; gap: 0.6rem; }
}

/* ---------- Notices ---------- */

.notice {
  background: #FFF6E3;
  border: 1px solid var(--amber-300);
  border-radius: 0;
  padding: 1.1rem 1.3rem;
  font-size: 0.95rem;
  color: #5C4A22;
  margin: 1.25rem 0;
}
.notice strong { color: #4A3B18; }

.notice-teal {
  background: var(--teal-100);
  border-color: var(--teal-600);
  color: #0C4F4D;
}
.notice-teal strong { color: #0A4340; }

/* ---------- FAQ ---------- */

.faq { max-width: 46rem; margin-inline: auto; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 0.2rem 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 1rem 0.2rem;
  list-style: none;
  position: relative;
  color: var(--navy-800);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0.4rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--teal-600);
}
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding: 0 0.2rem 1rem; margin: 0; }

/* ---------- Forms ---------- */

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: var(--shadow);
  padding: 2.1rem;
}
.section-navy .form-card { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.18); }

.field { margin-bottom: 1.15rem; }
.field label { display: block; font-weight: 700; font-size: 0.93rem; margin-bottom: 0.35rem; }
.field .req { color: var(--coral-600); }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--ink);
  padding: 0.7rem 0.9rem;
  border: 1.5px solid #C9D4DC;
  border-radius: 0;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal-600);
  box-shadow: 0 0 0 3px rgba(18, 128, 124, 0.15);
}
.field textarea { min-height: 130px; resize: vertical; }
.field .hint { font-size: 0.82rem; color: var(--muted); margin-top: 0.3rem; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.15rem; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.form-note {
  display: none;
  margin-top: 1rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--teal-700);
}
.form-note.visible { display: block; }

.checkbox-row { display: flex; align-items: flex-start; gap: 0.6rem; }
.checkbox-row input { width: auto; margin-top: 0.3rem; }

/* ---------- Contact cards ---------- */

.contact-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 1.3rem 1.5rem;
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
}
.contact-card .icon-badge { width: 46px; height: 46px; margin: 0; flex: 0 0 auto; border-radius: 0; }
.contact-card h3 { font-size: 1.05rem; margin-bottom: 0.15rem; }
.contact-card p, .contact-card a { margin: 0; font-size: 0.98rem; }
.contact-card a { font-weight: 700; text-decoration: none; color: var(--teal-700); }

/* ---------- CTA panel ---------- */

.cta-panel {
  position: relative;
  background: linear-gradient(120deg, var(--navy-900), var(--teal-700));
  border-radius: 0;
  padding: 3rem 2.4rem;
  color: #fff;
  overflow: hidden;
  text-align: center;
}
.cta-panel h2 { color: #fff; }
.cta-panel p { color: rgba(255, 255, 255, 0.88); max-width: 36rem; margin-inline: auto; }
.cta-panel .btn-row { justify-content: center; }
.cta-panel .badge { margin-bottom: 1rem; }
.cta-visual { position: absolute; right: -2rem; bottom: -3rem; width: 20rem; opacity: 0.28; pointer-events: none; }

/* ---------- Lists ---------- */

.list-check { list-style: none; padding: 0; }
.list-check li { position: relative; padding-left: 1.9rem; margin-bottom: 0.6rem; }
.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 0;
  background: var(--teal-100);
  box-shadow: inset 0 0 0 2px var(--teal-600);
}
.section-navy .list-check li::before { background: rgba(255, 255, 255, 0.15); box-shadow: inset 0 0 0 2px var(--amber-300); }

/* ---------- Footer ---------- */

.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, 0.82); padding-top: 3.6rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.4fr;
  gap: 2.2rem;
  padding-bottom: 2.6rem;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.site-footer h4 {
  color: #fff;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.55rem; }
.site-footer a { color: rgba(255, 255, 255, 0.82); text-decoration: none; font-size: 0.96rem; }
.site-footer a:hover { color: var(--amber-300); }

.footer-brand { display: inline-flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem; }
.footer-brand strong { font-size: 1.15rem; color: #fff; font-weight: 800; }
.footer-brand .brand-mark .arc-1, .footer-brand .brand-mark .arc-2, .footer-brand .brand-mark .arc-3 { stroke: var(--amber-300); }

.footer-status {
  margin-top: 0.9rem;
  padding: 0.7rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-block: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}
.footer-bottom p { margin: 0.3rem 0; }
.footer-bottom .links { display: flex; gap: 1.1rem; flex-wrap: wrap; }
.footer-bottom a { font-size: 0.85rem; }

/* ---------- Utilities ---------- */

.muted { color: var(--muted); }
.text-center { text-align: center; }

.divider { border: none; border-top: 1px solid var(--line); margin: 0; }

.two-col { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 2.2rem; } }

.contact-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 2.6rem; align-items: start; }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }

.quote {
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--navy-800);
  border-left: 4px solid var(--coral-500);
  padding-left: 1.4rem;
  margin: 0;
}
.quote cite { display: block; margin-top: 0.9rem; font-size: 0.95rem; font-style: normal; color: var(--muted); font-weight: 600; }
