:root {
  --bg: #09141c;
  --bg-soft: #f4f1ea;
  --ink: #14202a;
  --muted: #5c6770;
  --white: #ffffff;
  --navy: #0e2538;
  --gold: #c8a24a;
  --red: #9c2f2f;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  background: var(--white);
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(9, 20, 28, 0.96);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  justify-content: flex-end;
  font-size: 0.9rem;
}

.site-nav a,
.mega-menu summary {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

.nav-link,
.mega-menu summary {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.55rem;
  border-radius: 6px;
  font-weight: 800;
}

.site-nav a:hover,
.mega-menu summary:hover,
.petition-dropdown summary:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.petition-dropdown,
.mega-menu {
  position: relative;
}

.petition-dropdown summary,
.mega-menu summary {
  cursor: pointer;
  list-style: none;
}

.petition-dropdown summary::-webkit-details-marker,
.mega-menu summary::-webkit-details-marker {
  display: none;
}

.petition-dropdown summary::after,
.mega-menu summary::after {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  margin-left: 0.45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
}

.petition-dropdown-panel {
  position: absolute;
  top: calc(100% + 0.7rem);
  left: 0;
  z-index: 10;
  width: min(88vw, 360px);
  display: grid;
  gap: 0.35rem;
  padding: 0.85rem;
  border: 1px solid rgba(20, 32, 42, 0.15);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 18px 44px rgba(7, 16, 24, 0.28);
}

.petition-dropdown-panel a {
  display: grid;
  gap: 0.15rem;
  color: var(--ink);
  line-height: 1.2;
}

.petition-dropdown-panel a:hover {
  color: var(--red);
  background: var(--bg-soft);
}

.petition-dropdown-panel span {
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mega-panel {
  position: absolute;
  top: calc(100% + 0.7rem);
  right: 0;
  width: min(92vw, 820px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.1rem;
  border: 1px solid rgba(20, 32, 42, 0.15);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 18px 44px rgba(7, 16, 24, 0.28);
}

.mega-column {
  display: grid;
  align-content: start;
  gap: 0.45rem;
}

.mega-column h2 {
  color: var(--red);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.mega-column a {
  color: var(--ink);
  font-weight: 800;
  line-height: 1.25;
}

.mega-column a:hover {
  color: var(--red);
  background: transparent;
}

.nav-privacy-notice {
  grid-column: 1 / -1;
  margin: 0;
  padding: 0.85rem 0.95rem;
  border-left: 4px solid var(--gold);
  border-radius: 6px;
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.4;
}

.hero {
  min-height: 78vh;
  display: grid;
  align-items: center;
  padding: clamp(4rem, 10vw, 7rem) clamp(1rem, 5vw, 4rem);
  background:
    linear-gradient(90deg, rgba(9, 20, 28, 0.95) 0%, rgba(9, 20, 28, 0.78) 42%, rgba(9, 20, 28, 0.28) 72%),
    url("../images/hero-brown-water-veterans.png") center / cover no-repeat;
  color: var(--white);
}

.hero-copy {
  width: min(100%, 680px);
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 0.65rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  line-height: 1.05;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.9rem);
  max-width: 880px;
}

h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.8rem);
}

.hero p,
.section p {
  font-size: 1.08rem;
}

.hero p {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.88);
}

.button {
  display: inline-flex;
  margin-top: 1rem;
  padding: 0.85rem 1.1rem;
  border-radius: 6px;
  background: var(--red);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.button-row .button {
  max-width: 100%;
  justify-content: center;
  text-align: center;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.button.secondary.on-light {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.section {
  padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 5vw, 4rem);
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-inner.narrow {
  max-width: 820px;
}

.page-hero {
  padding: clamp(4rem, 8vw, 6rem) clamp(1rem, 5vw, 4rem);
  background: var(--navy);
  color: var(--white);
}

.page-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.1rem;
}

.video-section {
  background: var(--navy);
  color: var(--white);
}

.video-frame {
  position: relative;
  width: 100%;
  margin-top: 1.5rem;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  overflow: hidden;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-link {
  color: rgba(255, 255, 255, 0.75);
  overflow-wrap: anywhere;
}

.video-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.video-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid rgba(20, 32, 42, 0.14);
  border-radius: 8px;
  background: var(--white);
}

.thumbnail-link {
  display: block;
  aspect-ratio: 16 / 9;
  background: #101820;
}

.thumbnail-link img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.video-card div {
  padding: 1rem;
}

.video-card h3 {
  margin: 0.25rem 0 0;
  font-size: 1.02rem;
  line-height: 1.25;
}

.video-card h3 a {
  text-decoration: none;
}

.video-meta {
  margin: 0;
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 800;
}

.muted {
  background: var(--bg-soft);
}

.resource-list {
  display: grid;
  gap: 0.8rem;
  padding-left: 1.2rem;
  font-size: 1.05rem;
}

.resource-list a {
  color: var(--navy);
  font-weight: 800;
}

.feature-grid,
.resource-grid,
.site-map-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.resource-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.resource-card,
.action-item,
.site-map-card {
  border: 1px solid rgba(20, 32, 42, 0.14);
  border-radius: 8px;
  padding: 1.2rem;
  background: var(--white);
}

.card h3,
.resource-card h2,
.action-item h2,
.site-map-card h3 {
  margin: 0;
  line-height: 1.16;
}

.card h3 {
  font-size: 1.18rem;
}

.card p,
.resource-card p,
.action-item p,
.site-map-card p {
  color: var(--muted);
  font-size: 1rem;
}

.site-map-card h3 a {
  color: var(--navy);
  text-decoration: none;
}

.site-map-card h3 a:hover {
  color: var(--red);
}

.text-link {
  color: var(--red);
  font-weight: 800;
}

.action-list {
  display: grid;
  gap: 1rem;
}

.petition-topic-menu {
  margin-bottom: 1.25rem;
  border: 1px solid rgba(20, 32, 42, 0.14);
  border-radius: 8px;
  background: var(--white);
}

.petition-topic-menu summary {
  cursor: pointer;
  padding: 1rem 1.1rem;
  color: var(--navy);
  font-weight: 800;
}

.petition-topic-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0 1.1rem 1.1rem;
}

.petition-topic-links a {
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(20, 32, 42, 0.14);
  border-radius: 6px;
  background: var(--bg-soft);
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
}

.petition-topic-links a:hover {
  color: var(--red);
}

.petition-catalog .card {
  scroll-margin-top: 1.5rem;
}

.signup-form {
  display: grid;
  gap: 0.75rem;
  padding: 1.2rem;
  border: 1px solid rgba(20, 32, 42, 0.14);
  border-radius: 8px;
  background: var(--bg-soft);
}

.signup-form label {
  font-weight: 800;
}

.signup-form input,
.signup-form select,
.signup-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(20, 32, 42, 0.22);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.signup-form textarea {
  min-height: 118px;
  resize: vertical;
}

.form-button {
  width: fit-content;
  border: 0;
  cursor: pointer;
}

.form-status {
  min-height: 1.4rem;
  margin: 0.25rem 0 0;
  color: var(--red);
  font-weight: 800;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.checkbox-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
  font-weight: 800;
}

.checkbox-row input {
  width: auto;
  min-height: auto;
  margin-top: 0.32rem;
}

.form-warning,
.notice-box p,
.share-box p {
  color: var(--muted);
}

.form-warning {
  margin: 0;
  padding: 0.75rem;
  border-left: 4px solid var(--gold);
  border-radius: 6px;
  background: rgba(200, 162, 74, 0.12);
  font-size: 0.94rem;
  font-weight: 800;
}

.featured-card {
  grid-column: span 2;
}

.featured-card h2 {
  font-size: clamp(1.55rem, 2.4vw, 2.2rem);
}

.featured-card h2 a {
  color: var(--ink);
  text-decoration: none;
}

.featured-card h2 a:hover {
  color: var(--red);
}

.notice-box,
.share-box,
.petition-panel {
  border: 1px solid rgba(20, 32, 42, 0.14);
  border-radius: 8px;
  background: var(--white);
}

.notice-box,
.share-box {
  margin-top: 1.4rem;
  padding: 1.1rem;
}

.notice-box h2,
.notice-box h3,
.share-box h3 {
  margin: 0;
  line-height: 1.18;
}

.share-box code {
  display: block;
  margin-top: 0.75rem;
  padding: 0.75rem;
  border-radius: 6px;
  background: var(--bg-soft);
  color: var(--navy);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.petition-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: clamp(1.5rem, 5vw, 3rem);
  align-items: start;
}

.petition-panel {
  position: sticky;
  top: 6.5rem;
  padding: 1.2rem;
}

.petition-panel h2 {
  font-size: clamp(1.65rem, 2.6vw, 2.4rem);
}

.petition-form {
  margin-top: 1rem;
  padding: 0;
  border: 0;
  background: transparent;
}

.petition-form .button {
  width: 100%;
  justify-content: center;
  border: 0;
  cursor: pointer;
}

.petition-form .button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.signature-list {
  display: grid;
  gap: 0.75rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.signature-list li {
  padding: 1rem;
  border: 1px solid rgba(20, 32, 42, 0.14);
  border-radius: 8px;
  background: var(--white);
}

.signature-list strong {
  color: var(--navy);
}

.signature-list span {
  color: var(--muted);
}

.signature-list p {
  margin: 0.5rem 0 0;
  color: var(--ink);
}

.disclaimer {
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer {
  display: block;
  padding: clamp(2rem, 5vw, 3.2rem) clamp(1rem, 4vw, 2.5rem);
  background: #071018;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 4vw, 2rem);
  max-width: var(--max);
  margin: 0 auto;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 0.35rem;
}

.footer-column h2 {
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.site-footer a {
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--gold);
}

.footer-privacy-note {
  max-width: var(--max);
  margin: 1.7rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.gpt-widget {
  position: fixed;
  right: clamp(0.8rem, 3vw, 1.5rem);
  bottom: clamp(0.8rem, 3vw, 1.5rem);
  z-index: 30;
  font-family: Arial, Helvetica, sans-serif;
}

.gpt-widget-launcher,
.gpt-widget-primary,
.gpt-widget-secondary,
.gpt-widget-close {
  min-height: 44px;
  border: 0;
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
}

.gpt-widget-launcher {
  padding: 0.8rem 1rem;
  background: var(--red);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(7, 16, 24, 0.3);
}

.gpt-widget-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.75rem);
  width: min(92vw, 390px);
  max-height: min(78vh, 690px);
  overflow: auto;
  padding: 1rem;
  border: 1px solid rgba(20, 32, 42, 0.18);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 18px 44px rgba(7, 16, 24, 0.28);
}

.gpt-widget-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.gpt-widget-header h2 {
  font-size: 1.3rem;
}

.gpt-widget-close,
.gpt-widget-secondary {
  padding: 0.55rem 0.75rem;
  background: var(--bg-soft);
  color: var(--ink);
}

.gpt-widget-intro,
.gpt-widget-note,
.gpt-widget-status {
  margin: 0.7rem 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.gpt-widget-options {
  display: grid;
  gap: 0.55rem;
  margin: 0.7rem 0;
  padding: 0;
  border: 0;
}

.gpt-widget-options legend,
.gpt-widget-label {
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
  font-weight: 800;
}

.gpt-widget-option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
  padding: 0.75rem;
  border: 1px solid rgba(20, 32, 42, 0.16);
  border-radius: 8px;
  cursor: pointer;
}

.gpt-widget-option small {
  display: block;
  color: var(--muted);
}

.gpt-widget-textarea {
  width: 100%;
  min-height: 118px;
  resize: vertical;
  padding: 0.75rem;
  border: 1px solid rgba(20, 32, 42, 0.22);
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
}

.gpt-widget-primary {
  width: 100%;
  margin-top: 0.7rem;
  padding: 0.8rem 0.9rem;
  background: var(--navy);
  color: var(--white);
}

.gpt-widget-secondary {
  width: 100%;
  margin-top: 0.6rem;
}

.gpt-widget-open {
  display: block;
  margin-top: 0.65rem;
  color: var(--red);
  font-weight: 800;
}

.gpt-widget-status {
  min-height: 1.2rem;
  color: var(--red);
  font-weight: 800;
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 342px;
    justify-content: flex-start;
  }

  .site-nav .nav-link {
    width: 100%;
    justify-content: flex-start;
  }

  .petition-dropdown,
  .mega-menu {
    grid-column: 1 / -1;
    width: 100%;
  }

  .petition-dropdown summary,
  .mega-menu summary {
    width: 100%;
    justify-content: space-between;
  }

  .petition-dropdown-panel,
  .mega-panel {
    position: static;
    width: 100%;
    margin-top: 0.45rem;
    box-shadow: none;
  }

  .mega-panel {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .resource-grid,
  .site-map-grid,
  .video-card-grid {
    grid-template-columns: 1fr;
  }

  .featured-card,
  .petition-layout {
    grid-column: auto;
  }

  .petition-layout {
    grid-template-columns: 1fr;
  }

  .petition-panel {
    position: static;
  }

  .hero {
    min-height: 72vh;
    background:
      linear-gradient(180deg, rgba(9, 20, 28, 0.96) 0%, rgba(9, 20, 28, 0.8) 62%, rgba(9, 20, 28, 0.46) 100%),
      url("../images/hero-brown-water-veterans.png") center / cover no-repeat;
  }

  .hero-copy {
    width: min(100%, 342px);
  }

  .hero h1 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .button-row {
    display: grid;
    width: min(100%, 342px);
  }

  .button-row .button {
    width: 100%;
  }

  .site-footer {
    padding-bottom: 6rem;
  }

  .gpt-widget {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .gpt-widget {
    right: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
  }

  .gpt-widget-launcher {
    width: 100%;
  }

  .gpt-widget-panel {
    right: 0;
    left: 0;
    width: 100%;
  }
}

@media (min-width: 761px) and (max-width: 1040px) {
  .feature-grid,
  .site-map-grid,
  .video-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .petition-layout {
    grid-template-columns: 1fr;
  }

  .petition-panel {
    position: static;
  }
}

/* Article pages (added 2026-07-22) */
.article-body h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  margin: 2.2rem 0 0.6rem;
}

.article-body h3 {
  font-size: 1.15rem;
  margin: 1.6rem 0 0.4rem;
}

.article-body h4 {
  margin: 1.2rem 0 0.3rem;
}

.article-body p {
  margin: 0.6rem 0;
}

.article-body ul {
  margin: 0.6rem 0 1rem;
  padding-left: 1.25rem;
}

.article-body li {
  margin: 0.5rem 0;
}

.article-body a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
  word-break: break-word;
}

.article-body img {
  border-radius: 8px;
  margin: 0.5rem 0;
}

.article-body hr {
  border: 0;
  border-top: 1px solid rgba(9, 20, 28, 0.15);
  margin: 1.8rem 0;
}
