/* =========================================================
   DS&P — The Distinguished Parent & Student Coalition
   v1 — single-page demo
   Palette: navy / blue / white (editorial, financial-site polish)
   ========================================================= */

:root {
  /* Black / red / white system */
  --navy-900: #0a0a0a;   /* (legacy var name kept; now black) */
  --navy-800: #1a1a1a;
  --navy-700: #262626;
  --blue-600: #b00020;   /* (legacy var name kept; now deep red) */
  --blue-500: #c8102e;   /* brand red */
  --blue-400: #e0264a;   /* hover red */
  --blue-50:  #fef2f2;   /* faint red tint */
  --ice:      #f7f7f7;   /* off-white section bg */
  --line:     #e6e6e6;
  --ink:      #0f0f0f;
  --ink-2:    #1a1a1a;
  --mute:     #5a5a5a;
  --white:    #ffffff;
  --radius:   4px;
  --radius-lg: 8px;
  --maxw:     1240px;
  --pad:      clamp(20px, 4vw, 56px);
  --shadow:   0 1px 2px rgba(0, 0, 0, 0.06), 0 6px 24px rgba(0, 0, 0, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; }
body { min-width: 320px; }

/* Respect users with reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* Visually hidden but available to AT */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Skip-to-content for keyboard users */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: #fff;
  color: #0a0a0a;
  padding: 12px 18px;
  font-weight: 600;
  font-size: 14px;
  border: 2px solid #0a0a0a;
  border-radius: 0 0 4px 0;
  z-index: 100;
  transition: top .15s ease;
}
.skip-link:focus { top: 0; outline: none; }

/* Visible keyboard focus ring on every interactive element */
:focus-visible {
  outline: 2px solid #c8102e;
  outline-offset: 2px;
  border-radius: 2px;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--blue-500); }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 0.5em;
}
.serif { font-family: 'Newsreader', Georgia, serif; font-weight: 500; letter-spacing: -0.01em; }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 1px;
  background: var(--blue-600);
  vertical-align: middle;
  margin-right: 10px;
  transform: translateY(-2px);
}

.h-display {
  font-size: clamp(36px, 5.2vw, 66px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.h-section {
  font-size: clamp(30px, 4.2vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.025em;
}
.h-sub {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 600;
}
.lede {
  font-size: clamp(17px, 1.55vw, 21px);
  color: var(--ink-2);
  line-height: 1.55;
  max-width: 62ch;
}

/* ========== NAV ========== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--pad);
  max-width: var(--maxw);
  margin: 0 auto;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  line-height: 1;
}
.brand__icon {
  flex: none;
  width: 52px;
  height: 28px;
  color: var(--blue-500); /* brand red */
}
.brand__icon svg { display: block; width: 100%; height: 100%; }
.brand__name {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
  line-height: 1.1;
}
.footer .brand__name { color: #fff; }
.footer .brand__icon { color: var(--blue-500); }
@media (max-width: 880px) {
  .brand__name { display: none; }
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav__links a {
  color: var(--ink-2);
  font-weight: 500;
  font-size: 15px;
}
.nav__links a:hover { color: var(--navy-900); }
.nav__cta {
  background: var(--navy-900);
  color: #fff !important;
  padding: 10px 18px;
  border-radius: var(--radius);
  font-weight: 600 !important;
  font-size: 14px !important;
}
.nav__cta:hover { background: var(--blue-600); }

.nav__burger {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  padding: 8px 10px;
  cursor: pointer;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .18s ease;
}
.btn--primary {
  background: var(--navy-900);
  color: #fff;
}
.btn--primary:hover { background: var(--blue-600); color: #fff; }
.btn--ghost {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--navy-900);
}
.btn--ghost:hover { background: var(--navy-900); color: #fff; }
.btn--white {
  background: #fff;
  color: var(--navy-900);
}
.btn--white:hover { background: var(--blue-50); }
.btn .arrow {
  display: inline-block;
  transition: transform .18s ease;
}
.btn:hover .arrow { transform: translateX(3px); }

/* ========== HERO ========== */
.hero {
  position: relative;
  background: var(--navy-900);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
/* Industry-relevant hero: bridge photo (mirrors brand motif) with dark overlay */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: var(--navy-900);
  background-image:
    linear-gradient(100deg,
      rgba(10,10,10,0.92) 0%,
      rgba(10,10,10,0.78) 40%,
      rgba(10,10,10,0.55) 100%),
    url('https://images.unsplash.com/photo-1505578183806-1fb94ddf0e00?auto=format&fit=crop&w=2200&q=75');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* subtle red accent glow bottom-right */
.hero__bg::after {
  content: "";
  position: absolute;
  right: -180px;
  bottom: -180px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,16,46,0.28) 0%, rgba(200,16,46,0) 65%);
  pointer-events: none;
}
.hero__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(60px, 8vw, 100px) var(--pad) clamp(56px, 7vw, 88px);
  position: relative;
}
.hero h1 {
  color: #fff;
  max-width: 14ch;
}
.hero p {
  color: #e6e6e6;
  font-size: clamp(18px, 1.6vw, 22px);
  max-width: 52ch;
  margin: 28px 0 40px;
  font-weight: 400;
}
.hero__eyebrow {
  color: var(--blue-500);
}
.hero__eyebrow::before { background: var(--blue-500); }

.hero__cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__stats {
  margin-top: clamp(40px, 5vw, 60px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.18);
  padding-top: 24px;
}
.hero__stats > div { padding: 6px 0; }
.hero__stats > div + div { border-left: 1px solid rgba(255,255,255,0.18); padding-left: 32px; }
.hero__stats .num {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
}
.hero__stats .lbl {
  font-size: 13px;
  color: #9a9a9a;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ========== SECTION SHELL ========== */
section { padding: clamp(80px, 10vw, 130px) 0; }
.section--alt { background: var(--ice); }
.section--dark { background: var(--navy-900); color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .eyebrow { color: var(--blue-500); }
.section--dark .eyebrow::before { background: var(--blue-500); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 60px;
  align-items: end;
  margin-bottom: 64px;
}
.section-head__lede { color: var(--mute); font-size: 18px; max-width: 56ch; }
.section--dark .section-head__lede { color: #cccccc; }

/* ========== ABOUT / MISSION ========== */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.about__media {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 50%),
    linear-gradient(160deg, #262626 0%, #1a1a1a 55%, #0a0a0a 100%);
}
.about__media svg { width: 100%; height: 100%; display: block; }

.mission-quote {
  font-family: 'Newsreader', Georgia, serif;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.32;
  color: var(--navy-900);
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 0 0 36px;
  padding-left: 22px;
  border-left: 3px solid var(--blue-500);
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 80px;
  border-top: 1px solid var(--line);
}
.offer-grid > div {
  padding: 36px 36px;
  border-right: 1px solid var(--line);
}
.offer-grid > div:first-child { padding-left: 0; }
.offer-grid > div:last-child { border-right: 0; padding-right: 0; }
.offer-grid h4 {
  font-size: 19px;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 14px;
}
.offer-grid p { color: var(--mute); font-size: 15.5px; margin: 0; }
.offer-grid .num {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-600);
  letter-spacing: 0.1em;
  margin-bottom: 18px;
  display: block;
}

/* ========== PROGRAMS ========== */
.programs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.program {
  padding: clamp(40px, 5vw, 72px) clamp(28px, 4vw, 56px);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.program:last-child { border-right: 0; }
.program__num {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 14px;
  color: var(--blue-600);
  font-weight: 600;
  letter-spacing: 0.12em;
  margin-bottom: 28px;
}
.program h3 {
  font-size: clamp(24px, 2.2vw, 30px);
  margin-bottom: 18px;
}
.program__desc {
  color: var(--mute);
  font-size: 16px;
  margin: 0 0 32px;
}
.program ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.program li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.program li::after {
  content: "→";
  color: var(--blue-500);
  opacity: 0.5;
  font-weight: 400;
}

/* ========== EVENTS ========== */
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.event {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.event:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.event__img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.event__img svg { width: 100%; height: 100%; display: block; }
.event__img--a { background: linear-gradient(140deg, #c8102e 0%, #b00020 100%); }
.event__img--b { background: linear-gradient(140deg, #0a0a0a 0%, #262626 100%); }
.event__img--c { background: linear-gradient(140deg, #e0264a 0%, #b00020 100%); }
.event__body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.event__date {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--blue-600);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.event h4 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--navy-900);
}
.event__meta {
  font-size: 13.5px;
  color: var(--mute);
  margin-bottom: 16px;
}
.event__desc {
  font-size: 15px;
  color: var(--mute);
  margin: 0 0 24px;
  flex: 1;
}
.event__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-900);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.event__link:hover { color: var(--blue-600); }

/* ========== TESTIMONIALS ========== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  align-items: start;
}
.t-card blockquote p { margin: 0 0 14px; }
.t-card blockquote p:last-child { margin-bottom: 0; }
.t-card blockquote strong { font-weight: 700; color: var(--ink); }
.t-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
}
.t-card blockquote {
  margin: 0 0 22px;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink-2);
}
.t-card cite {
  font-style: normal;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-600);
}

/* ========== PARTNERSHIPS ========== */
.partners {
  text-align: center;
}
.partners__logos {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
}
.partners__logos > div {
  padding: 34px 14px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-weight: 600;
  font-size: 12px;
  color: var(--mute);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
  transition: background .18s ease, color .18s ease;
  text-align: center;
}
.partners__logos > div:hover { background: var(--blue-50); color: var(--ink); }
.partners__logos > div:hover .partner-icon { color: var(--blue-500); }
.partners__logos > div:nth-child(6n) { border-right: 0; }
.partners__logos > div:nth-last-child(-n+6) { border-bottom: 0; }
.partner-icon {
  width: 34px;
  height: 34px;
  color: var(--ink);
  flex: none;
  transition: color .18s ease;
}
.partner-icon svg { width: 100%; height: 100%; display: block; }

/* ========== FAQ / CONTACT ========== */
.faq-contact {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.faq__item {
  border-top: 1px solid var(--line);
  padding: 24px 0;
}
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--navy-900);
}
.faq__item p { margin: 0; color: var(--mute); font-size: 15.5px; }

.contact-card {
  background: var(--navy-900);
  color: #fff;
  padding: clamp(36px, 4vw, 56px);
  border-radius: var(--radius-lg);
}
.contact-card h3 { color: #fff; font-size: 28px; margin-bottom: 14px; }
.contact-card p { color: #cccccc; font-size: 16px; margin: 0 0 32px; }
.contact-card .email {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  color: #fff;
  font-weight: 500;
  font-size: 15px;
  margin-bottom: 18px;
  width: 100%;
  word-break: break-all;
}
.contact-card .email:hover { background: rgba(255,255,255,0.06); color: #fff; }

/* ========== NEWSLETTER ========== */
.newsletter-wrap {
  background: var(--ice);
  border-top: 1px solid var(--line);
  padding: clamp(70px, 9vw, 110px) 0;
}
.newsletter {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.newsletter h2 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 14px; }
.newsletter p { color: var(--mute); font-size: 17px; margin: 0; max-width: 50ch; }
.newsletter__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.newsletter__form input {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  outline: none;
  transition: border-color .15s ease;
}
.newsletter__form input:focus { border-color: var(--blue-500); }
.newsletter__form button {
  grid-column: 1 / -1;
  padding: 16px 20px;
  background: var(--navy-900);
  color: #fff;
  border: 0;
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .15s ease;
}
.newsletter__form button:hover { background: var(--blue-600); }
.newsletter__fineprint { font-size: 12.5px; color: var(--mute); margin-top: 14px !important; }

/* ========== FOOTER ========== */
footer.footer {
  background: var(--navy-900);
  color: #cccccc;
  padding: 64px 0 28px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer .brand { color: #fff; margin-bottom: 18px; }
.footer__tagline { color: #b0b0b0; font-size: 14px; max-width: 32ch; }
.footer h5 {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin: 0 0 18px;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 10px; }
.footer a { color: #cccccc; font-size: 14.5px; }
.footer a:hover { color: #fff; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: #777777;
}
.footer__social { display: flex; gap: 16px; }
.footer__social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #cccccc;
}
.footer__social a:hover { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }
.footer__social svg { width: 16px; height: 16px; }

/* ========== RESPONSIVE ========== */
@media (max-width: 980px) {
  .section-head { grid-template-columns: 1fr; gap: 18px; }
  .about, .faq-contact, .newsletter { grid-template-columns: 1fr; }
  .about__media { aspect-ratio: 4/3; }
  .programs { grid-template-columns: 1fr; }
  .program { border-right: 0; border-bottom: 1px solid var(--line); }
  .program:last-child { border-bottom: 0; }
  .events-grid { grid-template-columns: 1fr 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .partners__logos { grid-template-columns: repeat(3, 1fr); }
  .partners__logos > div { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .partners__logos > div:nth-child(3n) { border-right: 0; }
  .partners__logos > div:nth-last-child(-n+3) { border-bottom: 0; }
  .offer-grid { grid-template-columns: 1fr; }
  .offer-grid > div,
  .offer-grid > div:first-child,
  .offer-grid > div:last-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 28px 0;
  }
  .offer-grid > div:last-child { border-bottom: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  /* Collapse nav to a burger — matches wordmark-hide breakpoint so nothing feels cramped */
  .nav__links { display: none; }
  .nav__burger { display: inline-flex; }
  .nav--open .nav__links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 20px var(--pad) 24px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }
}
@media (max-width: 640px) {
  section { padding: 72px 0; }
  .hero__stats { grid-template-columns: 1fr; gap: 24px; padding-top: 24px; }
  .hero__stats > div + div { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255,255,255,0.18); padding-top: 24px; }
  .hero__cta-row { flex-direction: column; align-items: stretch; }
  .hero__cta-row .btn { justify-content: center; }
  .events-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }

  /* Partners: 2 columns, keep icon+label stacked cleanly */
  .partners__logos { grid-template-columns: repeat(2, 1fr); }
  .partners__logos > div { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 10px 22px; }
  .partners__logos > div:nth-child(3n) { border-right: 1px solid var(--line); }
  .partners__logos > div:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .partners__logos > div:nth-child(2n) { border-right: 0; }
  .partners__logos > div:nth-last-child(-n+2) { border-bottom: 0; }

  /* Newsletter form: stack name + email */
  .newsletter__form { grid-template-columns: 1fr; }

  /* Testimonials: keep tighter padding on very narrow screens */
  .t-card { padding: 26px 22px; }

  /* Programs: tighter padding on very narrow screens */
  .program { padding: 40px 24px; }

  /* Contact card email button — allow wrapping and cap font-size */
  .contact-card .email { font-size: 14px; padding: 14px 16px; }
  .contact-card .email svg { flex: none; }

  /* Section head padding on small screens */
  .section-head { margin-bottom: 40px; }

  /* Reduce hero stat number size on mobile */
  .hero__stats .num { font-size: 32px; }
}
@media (max-width: 380px) {
  .partners__logos { grid-template-columns: 1fr; }
  .partners__logos > div,
  .partners__logos > div:nth-child(n) { border-right: 0; border-bottom: 1px solid var(--line); }
  .partners__logos > div:last-child { border-bottom: 0; }
}
