/* =====================================================================
   Home institucional — inspirado no pacote "Melhorar site institucional"
   ===================================================================== */
:root {
  --portal-bg: #f6f3ec;
  --portal-paper: #fffdf9;
  --portal-ink: #26332c;
  --portal-muted: #5d6b61;
  --portal-line: rgba(15, 46, 28, 0.12);
  --portal-green: #143a24;
  --portal-green-2: #0f2e1c;
  --portal-accent: #c0526a;
  --portal-gold: #c0892a;
  --portal-radius: 8px;
  --portal-serif: "Lora", Georgia, serif;
  --portal-sans: "Libre Franklin", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.portal-home {
  margin: 0;
  min-height: 100vh;
  background: var(--portal-bg);
  color: var(--portal-ink);
  font-family: var(--portal-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.portal-home ::selection { background: var(--portal-green); color: #fff; }
body.portal-home a { color: inherit; text-decoration: none; }
.portal-container { width: min(100% - 48px, 1180px); margin: 0 auto; }

.utility-bar {
  background: var(--portal-green-2);
  color: #cdd9cf;
  font-size: 12.5px;
  letter-spacing: 0.02em;
}
.utility-inner {
  min-height: 40px;
  padding: 6px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
}
.utility-left, .utility-right { display: inline-flex; align-items: center; gap: 20px; min-width: 0; }
.utility-left { overflow: hidden; }
.utility-left > span:not(.mobile-only) { overflow: hidden; text-overflow: ellipsis; }
.utility-inner i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--portal-accent);
  display: inline-block;
  flex: 0 0 auto;
}
.utility-inner a { color: #dbe5dd; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: color 0.18s ease; }
.utility-inner a:hover { color: #fff; }
.util-restrito { color: #b9c8bd; }
.util-ig svg, .util-restrito svg { opacity: 0.85; flex: 0 0 auto; }

.portal-nav {
  position: sticky;
  top: 0;
  left: auto;
  transform: none;
  width: 100%;
  z-index: 50;
  border-radius: 0;
  background: rgba(255, 253, 249, 0.92);
  border-bottom: 1px solid var(--portal-line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: none;
}
.portal-nav.scrolled { top: 0; box-shadow: 0 14px 40px rgba(15, 46, 28, 0.08); }
.portal-nav .nav-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0;
}
.portal-brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.portal-brand .brand-mark {
  width: 48px;
  height: 48px;
  padding: 3px;
  border-radius: 50%;
  background: #fffdf9;
  object-fit: contain;
  border: 1px solid var(--portal-line);
  box-shadow: 0 8px 18px rgba(15, 46, 28, 0.12), inset 0 0 0 2px #fff;
}
.portal-brand span { display: flex; flex-direction: column; line-height: 1.12; min-width: 0; }
.portal-brand strong {
  font-family: var(--portal-serif);
  color: var(--portal-green);
  font-size: 21px;
  font-weight: 600;
}
.portal-brand small {
  margin-top: 2px;
  color: #8a7d72;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.portal-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.portal-nav .nav-links a {
  color: #2a3a30;
  font-size: 14.5px;
  font-weight: 500;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.portal-nav .nav-links .mobile-nav-only { display: none; }
.portal-nav .nav-links a:hover { color: var(--portal-green); border-bottom-color: var(--portal-accent); }
.portal-nav .nav-links a.is-active { color: var(--portal-green); border-bottom-color: var(--portal-accent); }
.portal-nav .nav-actions { display: flex; align-items: center; gap: 14px; }
.portal-nav .nav-cta { gap: 8px; box-shadow: 0 8px 20px rgba(15, 46, 28, 0.16); }
.portal-nav .nav-cta svg { flex: 0 0 auto; }
.portal-nav.scrolled .nav-inner { min-height: 64px; }
.portal-nav .nav-inner { transition: min-height 0.3s var(--ease, ease); }
body.portal-home a.portal-link { color: var(--portal-green); font-size: 14.5px; font-weight: 600; }
.portal-link { color: var(--portal-green); font-size: 14.5px; font-weight: 600; }
body.portal-home a.portal-link:hover,
.portal-link:hover { color: var(--portal-accent); }
.portal-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 4px;
  background: var(--portal-green);
  color: #fff;
  border: 1px solid var(--portal-green);
  font-weight: 700;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
body.portal-home a.portal-button { color: #fff; }
.portal-button:hover { background: var(--portal-green-2); transform: translateY(-1px); }
.portal-button-lg { min-height: 52px; padding-inline: 28px; }
.portal-button-ghost { background: transparent; color: var(--portal-green); border-color: rgba(15,46,28,.26); }
body.portal-home a.portal-button-ghost { color: var(--portal-green); }
.portal-button-ghost:hover { background: rgba(15,46,28,.05); }
.portal-nav .nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 6px;
  border: 1px solid rgba(15,46,28,.2);
  background: transparent;
}
.portal-nav .nav-toggle span { background: var(--portal-green); }

.portal-hero { padding: clamp(28px, 4vw, 52px) 0 clamp(36px, 4vw, 60px); }
.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: clamp(48px, 6vw, 80px);
  align-items: center;
}
.kicker {
  margin: 0 0 20px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--portal-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.kicker span { width: 30px; height: 1px; background: currentColor; display: inline-block; }
.hero-copy h1,
.portal-section h2 {
  font-family: var(--portal-serif);
  color: #11331f;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.08;
}
.hero-copy h1 { margin: 0 0 16px; font-size: clamp(2.1rem, 3.4vw, 3rem); }
.hero-lead {
  max-width: 31em;
  margin: 0 0 12px;
  color: #3a4a40;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
}
.hero-note { max-width: 34em; margin: 0 0 22px; color: var(--portal-muted); font-size: 14.5px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-visual { position: relative; width: 100%; max-width: 430px; margin-inline: auto; }
.hero-photo {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--portal-radius);
  border: 1px solid var(--portal-line);
  background: repeating-linear-gradient(135deg, #e8e3d6, #e8e3d6 11px, #efeae0 11px, #efeae0 22px);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-photo.logo-showcase {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(32px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.4);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6), 0 24px 60px rgba(31, 77, 46, 0.08);
}
.hero-photo.logo-showcase img {
  object-fit: contain;
  filter: drop-shadow(0 24px 44px rgba(15, 46, 28, 0.16));
  transform: scale(1.05);
}
.quote-card {
  position: absolute;
  left: -14px;
  bottom: -18px;
  width: min(82%, 300px);
  padding: 22px 24px;
  border-radius: var(--portal-radius);
  border: 1px solid var(--portal-line);
  background: rgba(255, 253, 249, 0.86);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 44px rgba(15,46,28,.14);
}
.quote-card img { width: auto; height: 38px; margin-bottom: 12px; }
.quote-card .quote-signature {
  width: min(100%, 176px);
  height: auto;
  display: block;
  border-radius: 6px;
}
.quote-card p { margin: 0; color: #1f3326; font-family: var(--portal-serif); font-size: 15px; font-style: italic; line-height: 1.5; }

.portal-section {
  padding: clamp(80px, 10vw, 128px) 0;
  scroll-margin-top: 96px;
}
.section-cream {
  background: var(--portal-paper);
  border-top: 1px solid var(--portal-line);
  border-bottom: 1px solid var(--portal-line);
}
.split-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(48px, 6vw, 80px);
  align-items: start;
}
.portal-section h2 { margin: 0 0 28px; font-size: clamp(1.9rem, 3vw, 2.7rem); }
.portal-section p { color: #46554a; font-size: 16px; margin: 0 0 20px; line-height: 1.7; }
.text-action {
  display: inline-flex;
  margin-top: 10px;
  color: var(--portal-green);
  font-weight: 700;
  border-bottom: 2px solid var(--portal-accent);
  padding-bottom: 3px;
}
body.portal-home a.text-action { color: var(--portal-green); }
body.portal-home a.text-action:hover { color: var(--portal-accent); }
.mission-stack { display: grid; gap: 20px; }
.mission-stack article,
.focus-card,
.news-card,
.support-card {
  border-radius: var(--portal-radius);
  border: 1px solid var(--portal-line);
  background: var(--portal-paper);
}
.mission-stack article { padding: 28px 30px; background: var(--portal-bg); }
.mission-stack h3,
.focus-card h3,
.news-card h3 {
  font-family: var(--portal-serif);
  color: var(--portal-green);
  font-weight: 600;
  letter-spacing: 0;
}
.mission-stack h3 { margin: 0 0 8px; font-size: 18px; }
.mission-stack p { margin: 0; color: var(--portal-muted); font-size: 14.5px; }
.section-head { max-width: 660px; margin-bottom: 56px; }
.section-head.row {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}
.focus-grid,
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 24px;
}
.focus-card { padding: 36px 32px; border-radius: 16px; background: var(--glass-bg-strong); transition: box-shadow 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease); border: 1px solid var(--glass-border); }
.focus-card:hover { border-color: var(--verde-400); transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.focus-card span {
  font-family: var(--portal-serif);
  font-weight: 700;
  color: var(--portal-accent);
}
.focus-card h3 { margin: 14px 0 10px; font-size: 20px; }
.focus-card p { margin: 0; color: var(--portal-muted); font-size: 14.5px; }
.news-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 300px)); justify-content: start; gap: 24px; }
.news-card { overflow: hidden; border-radius: 16px; background: var(--glass-bg-strong); border: 1px solid var(--glass-border); transition: box-shadow 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease); }
.news-card[href] { color: inherit; text-decoration: none; }
.news-card:hover { border-color: var(--verde-400); transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.news-image {
  aspect-ratio: 16 / 9;
  background-color: #e9efe6;
  background-image: var(--g, repeating-linear-gradient(135deg, #e3ddd0, #e3ddd0 10px, #ebe5da 10px, #ebe5da 20px));
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.news-card div:last-child { padding: 24px 24px 28px; }
.news-card p {
  margin: 0 0 12px;
  color: var(--portal-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.news-card h3 { margin: 0 0 10px; font-size: 18px; line-height: 1.3; }
.news-card span { color: var(--portal-muted); font-size: 14px; }
.news-empty {
  grid-column: 1 / -1;
  padding: 28px 30px;
  border-radius: 16px;
  border: 1px dashed rgba(31, 77, 46, 0.24);
  background: rgba(255, 255, 255, 0.48);
}
.news-empty h3 { margin: 0 0 8px; font-family: var(--portal-serif); color: var(--portal-green); font-size: 20px; letter-spacing: 0; }
.news-empty p { margin: 0; color: var(--portal-muted); }
.support-card {
  padding: clamp(36px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
}
.support-card h2 { margin-bottom: 18px; }
.contact-email { margin: 22px 0 0; font-weight: 700; }
body.portal-home .contact-email a { color: var(--portal-green); border-bottom: 2px solid var(--portal-accent); }
.contact-instagram { margin: 10px 0 0; font-weight: 700; }
body.portal-home .contact-instagram a { display: inline-flex; align-items: center; color: var(--portal-green); }
body.portal-home .contact-instagram a:hover { color: var(--portal-accent); }
/* CTA "Doar" no menu — leve destaque (cor da marca), consistente em todas as páginas */
.portal-nav .nav-links a[data-donate-link] { color: var(--portal-green); font-weight: 700; }
.portal-nav .nav-links a[data-donate-link]:hover { color: var(--portal-accent); }
.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--portal-line);
  border-radius: var(--portal-radius);
  background: rgba(255, 253, 249, 0.78);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--portal-green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(15,46,28,.16);
  border-radius: 6px;
  background: #fff;
  color: var(--portal-ink);
  font: 500 15px/1.5 var(--portal-sans);
  padding: 12px 13px;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.contact-form textarea { resize: vertical; min-height: 132px; }
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--portal-green);
  box-shadow: 0 0 0 3px rgba(20,58,36,.1);
}
.contact-form .portal-button { border: 0; cursor: pointer; font: 700 15px/1.2 var(--portal-sans); }
.contact-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.contact-status {
  min-height: 1.4em;
  margin: 0;
  color: var(--portal-muted);
  font-size: 14px;
}
.contact-status.ok { color: var(--portal-green); font-weight: 700; }
.contact-status.err { color: var(--portal-accent); font-weight: 700; }
.logo-panel {
  aspect-ratio: 1;
  border-radius: 10px;
  border: 1px solid var(--portal-line);
  background: #f1ede4;
  display: grid;
  place-items: center;
}
.logo-panel img { width: min(78%, 420px); height: auto; }
.transparency-section {
  background: var(--portal-green-2);
  color: #e7eee8;
}
.transparency-section .kicker { color: #e7a9b6; }
.transparency-section h2 { color: #fff; }
.transparency-section p { color: #bccdc0; }
.registry-card {
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.05);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.registry-card header {
  padding: 18px 26px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  color: #9fb4a4;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.registry-card dl { margin: 0; }
.registry-card div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 26px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.registry-card div:last-child { border-bottom: 0; }
.registry-card dt { color: #9fb4a4; font-size: 14px; }
.registry-card dd { margin: 0; color: #fff; font-size: 14px; font-weight: 600; text-align: right; }
.portal-footer {
  background: var(--portal-green-2);
  color: #bccdc0;
}
.footer-grid {
  padding: clamp(48px, 6vw, 72px) 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 40px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { width: auto; height: 42px; opacity: .95; }
.footer-brand .footer-lockup {
  height: 180px;
  max-width: min(100%, 300px);
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease, filter 0.3s ease;
}
.footer-brand .footer-lockup:hover { transform: translateY(-3px); }
.footer-brand strong { color: #fff; font-family: var(--portal-serif); font-size: 18px; }
.portal-footer p { margin: 0; color: #9fb4a4; font-size: 14px; }
.portal-footer nav { display: flex; flex-direction: column; gap: 12px; }
.portal-footer nav strong {
  margin-bottom: 4px;
  color: #7e9485;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.portal-footer a,
.portal-footer span { color: #cdd9cf; font-size: 14.5px; }
.portal-footer a:hover { color: #fff; }
.portal-footer .footer-bottom {
  margin-top: 40px;
  padding: 22px 0 28px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  justify-content: space-between;
  gap: 10px 24px;
  flex-wrap: wrap;
  color: #8aa092;
  font-size: 12.5px;
}

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.portal-hero .reveal { opacity: 1; transform: none; }

/* ---------- RESPONSIVO (home) ---------- */
@media (max-width: 980px) {
  /* Utility-bar aparece no mobile APENAS na homepage */
  body:not(.portal-home) .utility-bar { display: none; }
  body.portal-home .utility-bar { display: block; font-size: 11px; overflow-x: auto; white-space: nowrap; }
  body.portal-home .utility-inner { flex-wrap: nowrap; }
  .portal-nav .nav-inner {
    min-height: 68px;
    flex-wrap: wrap;
    gap: 12px;
    padding: 10px 0;
  }
  .portal-brand { order: 1; flex-shrink: 0; }
  .portal-nav .nav-toggle { order: 2; margin-left: auto; flex-shrink: 0; }
  
  body.portal-home .portal-brand small { display: block; }

  /* TODAS as páginas (inclusive a home) usam o MESMO menu hambúrguer no mobile.
     A navegação inline fica escondida; ao tocar no hambúrguer os links aparecem
     EMPILHADOS embaixo — sem linha rolável que cortava os botões. */
  .portal-nav .nav-links,
  .portal-nav .nav-actions { display: none; }
  .portal-nav .nav-toggle { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }

  .portal-nav.open .nav-links {
    order: 3;
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 0 0;
    margin-top: 10px;
    border-top: 1px solid var(--portal-line);
  }
  .portal-nav.open .nav-links a {
    padding: 13px 2px;
    font-size: 15px;
    white-space: normal;
    border-bottom: 1px solid rgba(15, 46, 28, 0.08);
  }
  .portal-nav.open .nav-links .mobile-nav-only { display: block; }
  /* Mantém as ações ocultas no menu aberto (Doar/Entrar já vêm como itens de texto);
     sobrepõe o .navbar.open .nav-actions{display:grid} do layout.css. */
  .portal-nav.open .nav-actions { display: none; }
}

@media (max-width: 640px) {
  .portal-container { width: min(100% - 24px, 1180px); }
  .portal-brand { gap: 9px; }
  .portal-brand .brand-mark { width: 36px; height: 36px; }
  .portal-brand strong { font-size: 15.5px; line-height: 1.05; }
  /* Removido o display:none do small para manter o visual desktop */
  .hero-actions { align-items: stretch; flex-direction: column; }
  .contact-grid { grid-template-columns: 1fr; }
  .portal-button { width: 100%; }
  .portal-button-lg { min-height: 46px; padding-inline: 18px; }
  .quote-card {
    position: relative;
    left: auto;
    bottom: auto;
    margin: -18px 12px 0;
    width: auto;
    padding: 16px;
  }
  .quote-card img { height: 30px; margin-bottom: 8px; }
  .quote-card .quote-signature { width: min(100%, 150px); height: auto; }
  .quote-card p { font-size: 13.5px; }
  .section-head.row { align-items: start; flex-direction: column; }
  .registry-card div { flex-direction: column; gap: 4px; }
  .registry-card dd { text-align: left; }
  .contact-form input,
  .contact-form textarea {
    font-size: 16px;
    padding: 10px 11px;
  }
  .contact-form textarea { min-height: 112px; }
}

@media (max-width: 760px) {
  .portal-section { padding: 36px 0; }
  .portal-hero { padding: 26px 0 36px; }
  .hero-grid,
  .section-grid,
  .about-grid {
    gap: 22px;
  }
  .kicker {
    margin-bottom: 13px;
    gap: 9px;
    font-size: 10.5px;
    letter-spacing: 0.1em;
  }
  .kicker span { width: 24px; }
  .hero-copy h1 {
    margin-bottom: 15px;
    font-size: clamp(1.72rem, 8.7vw, 2.18rem);
    line-height: 1.03;
    overflow-wrap: anywhere;
  }
  .hero-copy .lead,
  .hero-lead {
    font-size: 0.95rem;
    line-height: 1.52;
    max-width: 100%;
  }
  .hero-note {
    margin-bottom: 22px;
    font-size: 0.9rem;
    line-height: 1.55;
  }
  .hero-visual {
    width: min(100%, 430px);
    margin: 0 auto;
  }
  .hero-photo { aspect-ratio: 1 / 1; }
  .portal-section h2 {
    margin-bottom: 14px;
    font-size: clamp(1.45rem, 7vw, 1.9rem);
  }
  .portal-section p { font-size: 0.94rem; line-height: 1.56; }
  .section-head { margin-bottom: 26px; }
  .support-card,
  .contact-form,
  .focus-card,
  .mission-stack article {
    padding: 18px 16px;
  }
  .support-card { gap: 22px; }
  .focus-grid,
  .news-grid { gap: 16px; }
  .focus-card h3 { margin: 10px 0 8px; font-size: 17px; }
  .news-card div:last-child { padding: 22px 20px; }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .contact-panel { min-width: 0; }
  .portal-footer .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-brand .footer-lockup {
    height: 72px;
    max-width: 150px;
  }
}

@media (max-width: 420px) {
  .portal-container { width: min(100% - 20px, 1180px); }
  .portal-brand .brand-mark { width: 34px; height: 34px; }
  .portal-nav .nav-inner { min-height: 56px; padding-block: 8px; }
  .portal-nav .nav-toggle { width: 38px; height: 38px; border-radius: 5px; }
  .portal-nav.open .nav-links a { padding: 12px 0; }
  .hero-copy h1 { font-size: clamp(1.62rem, 8.6vw, 2.05rem); }
  .kicker { letter-spacing: 0.1em; font-size: 11px; }
  .portal-section h2 { font-size: clamp(1.38rem, 6.8vw, 1.75rem); }
  .quote-card { margin-inline: 8px; padding: 14px; }
  .footer-brand .footer-lockup { height: 120px; max-width: 240px; }
  .impact-strip {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .registry-card header,
  .registry-card div {
    padding-inline: 18px;
  }
}
