/* 
  Brooklyn Wildcats AAU static site styles
  This file controls the layout, colors, spacing, and mobile behavior.
*/

:root {
  --black: #08090b;
  --charcoal: #102033;
  --dark-gray: #1d3148;
  --blue: #007ACC;
  --blue-dark: #0062A3;
  --blue-light: #2f9be8;
  --blue-ice: #EAF4FF;
  --blue-border: #B9D8F2;
  --white: #ffffff;
  --light: #F8FBFF;
  --muted: #c9d5e2;
  --text: #20232a;
  --border: rgba(255, 255, 255, 0.18);
  --soft-border: #d8e6f3;
  --shadow: 0 18px 46px rgba(0, 98, 163, 0.12);
  --shadow-dark: 0 22px 60px rgba(0, 36, 70, 0.24);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background:
    linear-gradient(90deg, rgba(0, 122, 204, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(0, 122, 204, 0.035) 1px, transparent 1px),
    var(--white);
  background-size: 72px 72px;
  line-height: 1.6;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

/* Reusable helper classes keep the HTML easier to scan. */
.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 108px 0;
}

.section-dark {
  color: var(--white);
  background:
    linear-gradient(135deg, #0a1624, #13253a);
}

.section-blue {
  color: var(--white);
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.2), transparent 28%),
    linear-gradient(135deg, var(--blue-dark), var(--blue) 72%, #2f9be8);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section-dark .eyebrow,
.section-blue .eyebrow {
  color: #ffffff;
}

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

h1,
h2 {
  font-family: "Anton", Impact, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
}

h1 {
  max-width: 900px;
  font-size: 6.2rem;
}

h2 {
  max-width: 900px;
  font-size: 4.2rem;
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 20;
  padding: 10px 14px;
  color: var(--black);
  background: var(--white);
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 16px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(7, 24, 39, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--white);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: var(--blue);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 8px solid var(--blue);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center 36%;
  filter: saturate(1.04) contrast(1.08);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(0, 65, 108, 0.92), rgba(7, 24, 39, 0.76) 48%, rgba(7, 24, 39, 0.2)),
    linear-gradient(0deg, rgba(0, 40, 68, 0.82), rgba(7, 24, 39, 0.04) 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 96px 0 44px;
}

.hero-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 380px);
  gap: 38px;
  align-items: end;
}

.hero-subtitle {
  max-width: 720px;
  margin-top: 20px;
  color: #e8edf3;
  font-size: 1.28rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 64px;
  background: rgba(255, 255, 255, 0.24);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-proof span {
  padding: 18px;
  color: #edf2f7;
  background: rgba(4, 40, 66, 0.74);
}

.hero-proof strong {
  display: block;
  color: var(--white);
  font-size: 1.4rem;
  line-height: 1.1;
}

.hero-panel {
  padding: 26px;
  color: var(--white);
  background: rgba(0, 98, 163, 0.72);
  border: 1px solid rgba(234, 244, 255, 0.58);
  border-radius: var(--radius);
  box-shadow: var(--shadow-dark);
  backdrop-filter: blur(14px);
}

.hero-panel span {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 6px 10px;
  color: var(--blue-dark);
  background: var(--blue-ice);
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-panel strong {
  display: block;
  margin-bottom: 14px;
  font-size: 1.65rem;
  line-height: 1.08;
}

.hero-panel p {
  color: #dce8ff;
}

.hero-event-meter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-top: 18px;
  padding: 4px;
  background: rgba(234, 244, 255, 0.16);
  border: 1px solid rgba(234, 244, 255, 0.42);
  border-radius: var(--radius);
}

.hero-event-meter div {
  padding: 12px;
  background: rgba(0, 98, 163, 0.32);
  border-radius: calc(var(--radius) - 2px);
}

.hero-event-meter b,
.hero-event-meter small {
  display: block;
}

.hero-event-meter b {
  color: var(--white);
  font-family: "Anton", Impact, sans-serif;
  font-size: 1.9rem;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.hero-event-meter small {
  color: #dceeff;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-panel a {
  display: inline-flex;
  margin-top: 20px;
  color: var(--white);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.45);
  text-underline-offset: 6px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(0, 98, 163, 0.2);
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--blue);
}

.button-primary:hover,
.button-primary:focus {
  background: var(--blue-dark);
}

.button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border);
  box-shadow: none;
}

.button-light {
  color: var(--blue-dark);
  background: var(--white);
}

/* Content sections */
.two-column,
.contact-layout,
.founder-layout,
.funding-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 52px;
  align-items: start;
}

.founder-layout,
.funding-layout {
  align-items: center;
}

.section-copy {
  display: grid;
  gap: 18px;
  color: #3d4550;
  font-size: 1.1rem;
}

.lead-copy {
  padding: 22px 0 22px 24px;
  color: var(--blue-dark);
  border-left: 5px solid var(--blue);
  font-size: 1.22rem;
  font-weight: 800;
  line-height: 1.5;
}

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

.section-heading p:not(.eyebrow) {
  margin-top: 14px;
  color: #47515e;
  font-size: 1.06rem;
}

.section-dark .section-heading p:not(.eyebrow) {
  color: #d7e3ee;
}

.card-grid,
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.info-card,
.tier-card,
.commitment-image,
.sponsor-form {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.info-card {
  position: relative;
  min-height: 280px;
  padding: 30px;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(234, 244, 255, 0.92), transparent 44%),
    var(--white);
  border: 1px solid var(--blue-border);
  overflow: hidden;
}

.info-card::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -70px;
  width: 150px;
  height: 150px;
  border: 22px solid rgba(0, 122, 204, 0.18);
  border-radius: 50%;
}

.card-number {
  display: inline-block;
  margin-bottom: 46px;
  color: var(--blue-light);
  font-weight: 900;
}

.info-card p,
.tier-card li {
  color: #42576c;
}

.info-card h3 {
  margin-bottom: 12px;
}

/* Founder and impact sections */
.founder {
  background:
    linear-gradient(90deg, transparent 0 62%, var(--blue-ice) 62% 100%),
    var(--white);
}

.founder-card,
.funding-card {
  overflow: hidden;
  color: var(--white);
  background: #102033;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.founder-card {
  transform: translateY(34px);
}

.founder-card img {
  height: 390px;
  object-fit: cover;
}

.founder-card div {
  padding: 24px;
  border-top: 5px solid var(--blue);
}

.founder-card strong,
.funding-card span {
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
  font-weight: 900;
  text-transform: uppercase;
}

.founder-card p {
  color: var(--muted);
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.numbers-grid article {
  min-height: 210px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.numbers-grid strong {
  display: block;
  margin-bottom: 18px;
  color: var(--white);
  font-family: "Anton", Impact, sans-serif;
  font-size: 4.1rem;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.numbers-grid span {
  color: #e4edff;
  font-weight: 700;
}

/* Program updates */
.program-updates {
  overflow: hidden;
  background:
    linear-gradient(90deg, var(--blue-ice) 0 42%, var(--white) 42% 100%);
}

.program-updates::before {
  content: "";
  position: absolute;
  top: 60px;
  right: -140px;
  width: 360px;
  height: 360px;
  border: 42px solid rgba(0, 122, 204, 0.08);
  border-radius: 50%;
}

.updates-header {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.72fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 46px;
}

.updates-header p {
  color: #3d4550;
  font-size: 1.1rem;
}

.updates-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) repeat(2, minmax(0, 0.925fr));
  gap: 18px;
}

.update-card {
  display: flex;
  flex-direction: column;
  min-height: 420px;
  padding: 28px;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.update-card-featured {
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 45%),
    linear-gradient(135deg, var(--blue-dark), var(--blue));
  border-color: rgba(234, 244, 255, 0.7);
}

.update-label {
  width: fit-content;
  margin-bottom: 26px;
  padding: 7px 10px;
  color: var(--blue-dark);
  background: var(--blue-ice);
  border-radius: var(--radius);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.update-card-featured .update-label {
  color: var(--blue-dark);
  background: var(--white);
}

.update-card h3 {
  margin-bottom: 22px;
  font-family: "Anton", Impact, sans-serif;
  font-size: 2.1rem;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.update-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 0 0 22px;
  background: var(--blue-border);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.update-card-featured .update-details {
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.26);
}

.update-details div {
  padding: 14px;
  background: #F8FBFF;
}

.update-card-featured .update-details div {
  background: rgba(0, 98, 163, 0.48);
}

.update-details dt,
.update-details dd {
  margin: 0;
}

.update-details dt {
  color: var(--blue-dark);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.update-card-featured .update-details dt {
  color: #dceeff;
}

.update-details dd {
  margin-top: 3px;
  color: #25364a;
  font-weight: 900;
}

.update-card-featured .update-details dd {
  color: var(--white);
}

.update-card p {
  color: #42576c;
}

.update-card-featured p {
  color: #e4f2ff;
}

.update-card-featured .button-primary {
  color: var(--blue-dark);
  background: var(--white);
}

.update-card small {
  display: block;
  margin-top: auto;
  padding-top: 24px;
  color: var(--blue-dark);
  font-weight: 900;
}

.player-update figure {
  margin: auto 0 0;
  padding-top: 24px;
}

.player-update img {
  height: 170px;
  object-fit: cover;
  object-position: center 32%;
  border: 1px solid var(--blue-border);
  border-radius: var(--radius);
}

.section-light {
  background:
    linear-gradient(135deg, rgba(0, 122, 204, 0.12), transparent 32%),
    var(--light);
}

.funding p {
  margin-top: 18px;
  color: #3d4550;
}

.funding-card {
  display: grid;
  gap: 18px;
  padding: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 38%),
    linear-gradient(180deg, var(--blue), var(--blue-dark));
  box-shadow: 0 20px 50px rgba(0, 98, 163, 0.2);
}

.funding[data-event-state="eventDay"] .funding-card,
.funding[data-event-state="resultsPosted"] .funding-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 38%),
    linear-gradient(180deg, var(--blue-light), var(--blue-dark));
}

.funding[data-event-state="afterEventWaiting"] .funding-card,
.funding[data-event-state="noUrgentEvent"] .funding-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 38%),
    linear-gradient(180deg, #1d7fb8, #12314d);
}

.funding-card span {
  color: #dbe7ff;
}

.funding-card strong {
  display: block;
  color: var(--white);
  font-size: 3rem;
  line-height: 1.05;
}

.funding-card p {
  margin: 0;
  color: #e4edff;
}

.funding-breakout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  overflow: hidden;
}

.funding-breakout div {
  padding: 16px;
  background: rgba(0, 98, 163, 0.5);
}

.funding-breakout b,
.funding-breakout small {
  display: block;
}

.funding-breakout b {
  font-size: 1.35rem;
  line-height: 1.1;
}

.funding-breakout small {
  margin-top: 6px;
  color: #dbe7ff;
  line-height: 1.4;
}

.where-money-goes {
  background: var(--white);
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.gallery-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #071827;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.gallery-card-large {
  grid-column: span 3;
  grid-row: span 2;
}

.gallery-card:nth-child(2),
.gallery-card:nth-child(3) {
  grid-column: span 3;
}

.gallery-card:nth-child(n + 4) {
  grid-column: span 2;
}

.gallery-card img {
  height: 270px;
  object-fit: cover;
  transition: transform 260ms ease;
}

.gallery-card-large img {
  height: 556px;
}

.gallery-card:hover img {
  transform: scale(1.04);
}

.gallery-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 84px;
  padding: 40px 16px 16px;
  color: #edf2f7;
  background: linear-gradient(0deg, rgba(2, 7, 18, 0.92), transparent);
  font-size: 0.92rem;
  line-height: 1.45;
}

/* Sponsor tiers */
.tiers {
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(0, 122, 204, 0.12), transparent 38%),
    linear-gradient(180deg, var(--white), var(--blue-ice)),
    var(--blue-ice);
}

.tiers .eyebrow {
  color: var(--blue);
}

.tiers .section-heading p:not(.eyebrow) {
  color: #47515e;
}

.tier-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 440px;
  padding: 34px;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(234, 244, 255, 0.92), transparent 48%),
    var(--white);
  border: 1px solid var(--blue-border);
  overflow: hidden;
}

.tier-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--blue);
}

.tier-featured {
  border-color: rgba(234, 244, 255, 0.72);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 42%),
    linear-gradient(180deg, var(--blue), #12314d);
  color: var(--white);
  box-shadow: 0 24px 60px rgba(0, 98, 163, 0.24);
  transform: translateY(-18px);
}

.tier-featured::before {
  background: var(--white);
}

.tier-card h3 {
  font-size: 1.45rem;
}

.tier-featured li {
  color: #e4f2ff;
}

.tier-label {
  width: fit-content;
  padding: 6px 10px;
  color: var(--white);
  background: var(--blue);
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.tier-price {
  color: var(--blue-dark);
  font-family: "Anton", Impact, sans-serif;
  font-size: 3.35rem;
  font-weight: 400;
  line-height: 1;
}

.tier-support-label {
  width: fit-content;
  margin-top: -10px;
  margin-bottom: 4px;
  padding: 7px 10px;
  color: var(--blue-dark);
  background: var(--blue-ice);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.tier-featured .tier-price {
  color: var(--white);
}

.tier-featured .tier-support-label {
  color: var(--blue-dark);
  background: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}

.tier-card .button-secondary {
  color: var(--blue-dark);
  background: var(--white);
  border-color: var(--blue-border);
  box-shadow: 0 12px 28px rgba(0, 98, 163, 0.12);
}

.tier-card ul {
  flex: 1;
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid var(--blue-border);
  padding-left: 20px;
}

.tier-featured ul {
  border-top-color: rgba(255, 255, 255, 0.34);
}

.tier-card li + li {
  margin-top: 10px;
}

.custom-support-note {
  max-width: 760px;
  margin: 30px auto 0;
  padding: 18px 20px;
  color: #42576c;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(0, 98, 163, 0.08);
  text-align: center;
}

.custom-support-note strong {
  color: var(--blue-dark);
}

/* Sponsor commitment and final CTA */
.sponsor-commitment {
  background: var(--light);
}

.commitment-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 54px;
  align-items: center;
}

.commitment-image {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #071827;
}

.commitment-image::before {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: calc(var(--radius) - 2px);
  pointer-events: none;
}

.commitment-image img {
  height: 520px;
  object-fit: cover;
}

.commitment-image figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 54px 24px 24px;
  color: var(--white);
  background: linear-gradient(0deg, rgba(0, 15, 45, 0.96), transparent);
}

.sponsor-commitment p {
  margin-top: 16px;
  color: #47515e;
  font-size: 1.08rem;
}

.commitment-list {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.commitment-list div {
  padding: 18px 20px;
  background: var(--white);
  border-left: 5px solid var(--blue);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(0, 98, 163, 0.1);
}

.commitment-list strong,
.commitment-list span {
  display: block;
}

.commitment-list span {
  margin-top: 4px;
  color: #47515e;
}

.final-cta-content {
  max-width: 940px;
  text-align: center;
}

.final-cta-content p:not(.eyebrow) {
  margin: 18px auto 28px;
  max-width: 700px;
  color: #e4edff;
  font-size: 1.12rem;
}

/* Contact form */
.contact {
  padding: 126px 0;
  background:
    linear-gradient(180deg, var(--white), var(--blue-ice));
}

.contact-note {
  display: grid;
  gap: 4px;
  margin-top: 26px;
  padding: 18px;
  background: var(--blue-ice);
  border-left: 4px solid var(--blue);
  border-top: 1px solid var(--blue-border);
  border-right: 1px solid var(--blue-border);
  border-bottom: 1px solid var(--blue-border);
  border-radius: var(--radius);
}

.closing-proof {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.closing-proof div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(0, 98, 163, 0.08);
}

.closing-proof strong,
.closing-proof span {
  display: block;
}

.closing-proof strong {
  color: var(--blue-dark);
  font-size: 1.02rem;
}

.closing-proof span {
  margin-top: 4px;
  color: #47515e;
}

.sponsor-form {
  display: grid;
  gap: 12px;
  padding: 38px;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(234, 244, 255, 0.88), transparent 56%),
    #F8FBFF;
  border: 1px solid var(--blue-border);
  box-shadow: 0 22px 54px rgba(0, 98, 163, 0.14);
}

.sponsor-form label {
  color: #183047;
  font-weight: 800;
}

.sponsor-form input,
.sponsor-form select,
.sponsor-form textarea {
  width: 100%;
  min-height: 54px;
  padding: 15px 16px;
  color: #142233;
  background: var(--white);
  border: 1px solid var(--soft-border);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 2px rgba(0, 98, 163, 0.04);
}

.sponsor-form input:focus,
.sponsor-form select:focus,
.sponsor-form textarea:focus {
  outline: 3px solid rgba(0, 122, 204, 0.16);
  border-color: var(--blue);
}

.sponsor-form textarea {
  min-height: 150px;
  resize: vertical;
}

.custom-amount-field {
  display: grid;
  gap: 10px;
}

.custom-amount-field[hidden] {
  display: none;
}

.sponsor-form .button {
  min-height: 58px;
  margin-top: 8px;
  font-size: 1rem;
}

.form-status {
  min-height: 24px;
  color: #4f6378;
  font-size: 0.92rem;
}

/* Footer */
.footer {
  padding: 34px 0;
  color: var(--white);
  background: #071827;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer p {
  max-width: 520px;
  color: var(--muted);
}

.footer a:last-child {
  color: var(--white);
  font-weight: 800;
}

/* Mobile and tablet layout rules */
@media (max-width: 900px) {
  .section {
    padding: 76px 0;
  }

  h1 {
    font-size: 4.6rem;
  }

  h2 {
    font-size: 3.2rem;
  }

  .hero-subtitle {
    font-size: 1.16rem;
  }

  .numbers-grid strong {
    font-size: 3.4rem;
  }

  .funding-card strong {
    font-size: 2.45rem;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 76px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: var(--charcoal);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 12px;
  }

  .hero {
    min-height: auto;
  }

  .hero-overlay {
    background: linear-gradient(0deg, rgba(0, 15, 45, 0.96), rgba(8, 9, 11, 0.7));
  }

  .hero-main,
  .two-column,
  .contact-layout,
  .founder-layout,
  .funding-layout,
  .commitment-layout,
  .updates-header,
  .updates-grid,
  .card-grid,
  .tier-grid,
  .numbers-grid {
    grid-template-columns: 1fr;
  }

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

  .gallery-card-large,
  .gallery-card:nth-child(2),
  .gallery-card:nth-child(3),
  .gallery-card:nth-child(n + 4) {
    grid-column: span 1;
    grid-row: span 1;
  }

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

  .program-updates {
    background: var(--blue-ice);
  }

  .founder-card,
  .tier-featured {
    transform: none;
  }

  .footer-content {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .nav {
    width: min(100% - 28px, 1180px);
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .numbers-grid strong {
    font-size: 3rem;
  }

  .funding-card strong {
    font-size: 2.05rem;
  }

  .hero-content {
    padding: 66px 0 26px;
  }

  .hero-actions,
  .hero-actions .button,
  .tier-card .button,
  .sponsor-form .button {
    width: 100%;
  }

  .hero-proof span {
    width: 100%;
  }

  .hero-proof,
  .hero-event-meter,
  .funding-breakout {
    grid-template-columns: 1fr;
  }

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

  .gallery-card-large {
    grid-column: span 1;
    grid-row: span 1;
  }

  .gallery-card img,
  .gallery-card-large img,
  .commitment-image img {
    height: 300px;
  }

  .lead-copy {
    padding-left: 18px;
    font-size: 1.08rem;
  }
}
