@import url("https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@400;700&family=Public+Sans:wght@400;600;700;800&display=swap");

:root {
  --ink: #102033;
  --navy: #132a40;
  --blue: #28506e;
  --paper: #f8f7f2;
  --white: #ffffff;
  --line: #d8d2c3;
  --muted: #5f6872;
  --red: #9f3539;
  --sage: #5f7866;
  --gold: #b58a48;
  --shadow: 0 24px 60px rgba(10, 24, 38, 0.16);
  --font-sans: "Public Sans", "Source Sans 3", "Source Sans Pro", Arial, sans-serif;
  --font-serif: "Libre Baskerville", "Merriweather", Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
}

button,
input,
select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 20;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 18px 40px;
  color: var(--white);
  background: linear-gradient(180deg, rgba(11, 25, 40, 0.74), rgba(11, 25, 40, 0));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 800;
}

.brand-mark {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  font-family: var(--font-serif);
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.88rem;
  font-weight: 700;
}

.site-nav a {
  opacity: 0.86;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 84svh;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  background-image: url("assets/united-america-flag-hero-v2.jpg");
  background-position: 60% 50%;
  background-size: cover;
  transform: scale(1.01);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(9, 22, 36, 0.94) 0%, rgba(9, 22, 36, 0.76) 42%, rgba(9, 22, 36, 0.22) 100%),
    linear-gradient(180deg, rgba(9, 22, 36, 0.55) 0%, rgba(9, 22, 36, 0.08) 48%, rgba(9, 22, 36, 0.84) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 84svh;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 132px 0 44px;
  flex-direction: column;
  justify-content: end;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--font-serif);
  font-weight: 700;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: 5.4rem;
  line-height: 0.95;
}

h2 {
  margin-bottom: 22px;
  font-size: 3.15rem;
  line-height: 1.05;
}

h3 {
  margin-bottom: 12px;
  font-weight: 800;
  font-size: 1.22rem;
}

.hero-lede {
  max-width: 720px;
  margin-bottom: 16px;
  font-size: 1.35rem;
  line-height: 1.45;
}

.hero-line {
  max-width: 680px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.02rem;
  line-height: 1.6;
}

.signup-form {
  width: 100%;
}

.hero-form {
  max-width: 960px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.form-heading {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  font-weight: 700;
}

.form-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(200px, 0.8fr) auto;
  gap: 12px;
  align-items: end;
}

/* Hero form: balanced 2x2 grid — Email | Name over Role | Join updates. */
.hero-form .form-row {
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-row.stacked {
  grid-template-columns: 1fr;
}

label {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: inherit;
  font-size: 0.8rem;
  font-weight: 800;
}

input,
select {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 6px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.11);
  outline: none;
}

select {
  color: var(--ink);
  background: var(--white);
}

input::placeholder {
  color: rgba(255, 255, 255, 0.62);
}

input:focus,
select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(181, 138, 72, 0.25);
}

button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  min-width: 160px;
  padding: 0 20px;
  border: 0;
  border-radius: 6px;
  color: var(--white);
  background: var(--red);
  font-weight: 800;
  cursor: pointer;
}

button:hover,
button:focus-visible {
  background: #873034;
}

button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.form-status {
  min-height: 24px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.section {
  padding: 92px 0;
}

.section-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.manifesto {
  background: var(--paper);
}

.manifesto-grid,
.service-grid,
.closing-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: start;
}

.manifesto-copy {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.manifesto-copy .city-line {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.2rem;
  line-height: 1.55;
}

.manifesto-copy p:last-child,
.section-heading p:last-child,
.closing p:last-child {
  margin-bottom: 0;
}

.pillars {
  background: var(--white);
}

.section-heading {
  max-width: 680px;
  margin-bottom: 46px;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.7;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.pillar-grid article {
  padding-top: 22px;
  border-top: 3px solid var(--line);
}

.pillar-grid article:nth-child(1) {
  border-color: var(--red);
}

.pillar-grid article:nth-child(2) {
  border-color: var(--blue);
}

.pillar-grid article:nth-child(3) {
  border-color: var(--sage);
}

.number {
  display: block;
  margin-bottom: 28px;
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 2rem;
}

.pillar-grid p,
.timeline p,
.closing p {
  color: var(--muted);
  line-height: 1.65;
}

.service-year {
  background:
    linear-gradient(90deg, rgba(19, 42, 64, 0.96), rgba(19, 42, 64, 0.9)),
    var(--navy);
  color: var(--white);
}

.service-year .section-heading p,
.service-year .timeline p {
  color: rgba(255, 255, 255, 0.76);
}

.timeline {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.timeline li {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.timeline span {
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 1.45rem;
}

.timeline p {
  margin: 0;
}

.closing {
  background: var(--paper);
}

.closing-form {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.closing-form label {
  color: var(--ink);
}

.closing-form input,
.closing-form select {
  border-color: var(--line);
  color: var(--ink);
  background: var(--paper);
}

.closing-form input::placeholder {
  color: #87909a;
}

.closing-form .form-status {
  color: var(--muted);
}

.site-footer {
  padding: 28px 0;
  color: rgba(255, 255, 255, 0.76);
  background: #0e1d2c;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner span:first-child {
  color: var(--white);
  font-weight: 800;
}

@media (max-width: 900px) {
  .site-header {
    padding: 16px 24px;
  }

  .site-nav {
    display: none;
  }

  .hero,
  .hero-inner {
    min-height: 86svh;
  }

  .hero-inner {
    width: min(100% - 32px, 680px);
    padding-top: 112px;
  }

  h1 {
    font-size: 3.55rem;
    line-height: 1;
  }

  h2 {
    font-size: 2.25rem;
  }

  .hero-lede {
    font-size: 1.12rem;
  }

  .form-row,
  .hero-form .form-row,
  .manifesto-grid,
  .service-grid,
  .closing-grid,
  .pillar-grid {
    grid-template-columns: 1fr;
  }

  .manifesto-grid,
  .service-grid,
  .closing-grid {
    gap: 38px;
  }

  .section {
    padding: 68px 0;
  }

  .section-inner {
    width: min(100% - 32px, 680px);
  }

  button {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .brand span:last-child {
    display: none;
  }

  .hero,
  .hero-inner {
    min-height: auto;
  }

  .hero-inner {
    padding: 110px 0 34px;
  }

  .hero-image {
    background-position: 68% 50%;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(9, 22, 36, 0.96) 0%, rgba(9, 22, 36, 0.78) 100%),
      linear-gradient(180deg, rgba(9, 22, 36, 0.42) 0%, rgba(9, 22, 36, 0.88) 100%);
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2rem;
  }

  .timeline li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .closing-form {
    padding: 20px;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 560px) and (max-height: 720px) {
  .hero-inner {
    padding-top: 88px;
    padding-bottom: 24px;
  }

  .eyebrow {
    margin-bottom: 8px;
    font-size: 0.72rem;
  }

  h1 {
    margin-bottom: 14px;
    font-size: 2.65rem;
  }

  .hero-lede {
    margin-bottom: 12px;
    font-size: 1rem;
    line-height: 1.4;
  }

  .hero-line {
    display: none;
  }

  .hero-form {
    padding-top: 14px;
  }

  .form-heading {
    margin-bottom: 8px;
  }

  .hero-form label:nth-of-type(2) {
    display: none;
  }

  input,
  select,
  button {
    min-height: 46px;
  }
}
