/* =========================================
   Unlock America's Truck Parking
   ========================================= */

:root {
  --black: #0E1521;
  --soft-black: #182030;
  --gray-900: #2B3347;
  --gray-700: #5A6478;
  --gray-500: #8A92A2;
  --gray-200: #D5D0C8;
  --white: #F4F0E8;
  --red: #B5432F;
  --blue: #5B7499;
  --blue-dark: #3D5A80;
  --gold: #D4A034;
  --amber: #C28A2A;
  --warm-light: #F7F1E6;

  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-sans: 'Geist', 'GeistSans', 'Helvetica Neue', Helvetica, sans-serif;

  --max-width: 1200px;
  --section-pad-y: 100px;
  --section-pad-x: 40px;

  --ease-out-expo: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---- Reset ---- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
}

.stats-wrapper {
  background: var(--white);
}

.section--problem {
  background: var(--white);
}

.section--why-now {
  background: var(--soft-black);
  color: var(--white);
}

.section--why-now .section__label {
  color: var(--gray-500);
  border-bottom-color: var(--gray-900);
}

.section--why-now .section__headline {
  color: var(--white);
}

.section--coalition {
  background: var(--white);
  border-top: 1px solid var(--gray-200);
}

.section--coalition .supporter__logo {
  background: var(--white);
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

h1, h2, h3 {
  font-weight: 400;
}

/* ---- Utility ---- */
.divider {
  border: none;
  border-top: 1px solid var(--gray-200);
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ---- Reveal animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-child {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}

.reveal-child.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   Navigation
   ========================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background-color 0.35s ease, backdrop-filter 0.35s ease;
}

.nav--solid {
  background: rgba(14, 21, 33, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px var(--section-pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__brand {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
  transition: color 0.35s ease;
}

.nav--solid .nav__brand {
  color: var(--white);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: rgba(244, 240, 232, 0.7);
  transition: color 0.25s ease;
  letter-spacing: 0.01em;
}

.nav__link:hover {
  color: var(--white);
}

.nav--solid .nav__link {
  color: rgba(244, 240, 232, 0.7);
}

.nav--solid .nav__link:hover {
  color: var(--white);
}

.nav__cta {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--white);
  padding: 10px 24px;
  border-radius: 100px;
  border: none;
  transition: background 0.25s ease, transform 0.15s ease, color 0.25s ease;
}

.nav__cta:hover {
  background: #FAF7F1;
  transform: scale(1.03);
}

.nav--solid .nav__cta {
  background: var(--white);
  color: var(--black);
}

.nav--solid .nav__cta:hover {
  background: #FAF7F1;
}

.nav__right-mobile {
  display: none;
  align-items: center;
  gap: 16px;
}

.nav__mobile-bar-cta {
  display: none;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: background 0.35s ease, transform 0.3s ease, opacity 0.3s ease;
}

.nav--solid .nav__toggle span {
  background: var(--white);
}

.nav__toggle.is-open span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.nav__toggle.is-open span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

.nav__mobile {
  display: none;
  flex-direction: column;
  padding: 0 var(--section-pad-x) 24px;
  gap: 0;
  background: rgba(14, 21, 33, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav__mobile.is-open {
  display: flex;
}

.nav__mobile-link {
  font-size: 16px;
  font-weight: 500;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(244, 240, 232, 0.7);
  transition: color 0.2s ease;
}

.nav__mobile-link:hover {
  color: var(--white);
}

.nav__mobile-cta {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--white);
  padding: 14px 24px;
  text-align: center;
  margin-top: 16px;
  border-radius: 100px;
  transition: background 0.25s ease;
}

.nav__mobile-cta:hover {
  background: #FAF7F1;
}

/* =========================================
   Hero (brand-mark style)
   ========================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background: var(--black);
}

.hero__bg {
  position: absolute;
  inset: 0;
  transform: scale(1.04);
  animation: heroScale 1.8s var(--ease-out-expo) forwards;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 40%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(14, 21, 33, 0.25) 0%,
    rgba(14, 21, 33, 0.15) 30%,
    rgba(14, 21, 33, 0.40) 60%,
    rgba(14, 21, 33, 0.85) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 100px var(--section-pad-x) 60px;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
}

.hero__brand {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 20px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s var(--ease-out-expo) 0.2s forwards;
}

.hero__brand-unlock {
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: clamp(48px, 8vw, 100px);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1;
}

.hero__brand-mid {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(40px, 6.5vw, 82px);
  color: var(--white);
  line-height: 1;
}

.hero__brand-truck {
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: clamp(48px, 8vw, 100px);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1;
}

.hero__bottom {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s var(--ease-out-expo) 0.5s forwards;
}

.hero__headline {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3.5vw, 42px);
  line-height: 1.25;
  color: rgba(244, 240, 232, 0.85);
  max-width: 600px;
  margin-bottom: 32px;
}

.hero__cta {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--black);
  background: var(--white);
  padding: 14px 36px;
  border-radius: 100px;
  transition: background 0.25s ease, transform 0.15s ease;
}

.hero__cta:hover {
  background: #FAF7F1;
  transform: scale(1.02);
}

.hero__cta:active {
  transform: scale(0.98);
}

@keyframes heroScale {
  to { transform: scale(1); }
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================
   Stats
   ========================================= */
.stats {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--section-pad-y) var(--section-pad-x);
  position: relative;
}

.stats__label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 32px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-200);
}

.stats__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.stats__item {
  padding: 0 40px;
  border-right: 1px solid var(--gray-200);
}

.stats__item:first-child {
  padding-left: 0;
}

.stats__item:last-child {
  border-right: none;
  padding-right: 0;
}

.stats__number {
  font-family: var(--font-serif);
  font-size: clamp(48px, 6vw, 72px);
  line-height: 1;
  color: var(--black);
  display: block;
  margin-bottom: 16px;
}

.stats__desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--gray-700);
  max-width: 280px;
}

/* =========================================
   Sections (shared)
   ========================================= */
.section {
  padding: var(--section-pad-y) 0;
}

.section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--section-pad-x);
}

.section__label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-200);
}

.section__headline {
  font-family: var(--font-serif);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

.section__headline em {
  font-style: italic;
}

.section__body {
  font-size: 18px;
  line-height: 1.7;
  color: var(--gray-700);
  max-width: 640px;
  margin-bottom: 60px;
}

/* =========================================
   The Problem — Barrier Cards
   ========================================= */
.barriers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--gray-200);
}

.barrier-card {
  padding: 44px;
  background: var(--white);
  transition: background 0.35s var(--ease-out-expo);
}

.barrier-card:hover {
  background: #EFEBE3;
}

.barrier-card__number {
  font-family: var(--font-serif);
  font-size: 42px;
  line-height: 1;
  color: var(--red);
  display: block;
  margin-bottom: 20px;
}

.barrier-card__title {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--black);
}

.barrier-card__desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--gray-700);
}

/* =========================================
   Photo Breaks
   ========================================= */
.photo-break {
  position: relative;
  height: 50vh;
  max-height: 560px;
  min-height: 320px;
  overflow: hidden;
}

.photo-break::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(14, 21, 33, 0.15) 0%,
    rgba(14, 21, 33, 0.05) 40%,
    rgba(14, 21, 33, 0.25) 100%
  );
  pointer-events: none;
}

.photo-break__bg {
  position: absolute;
  inset: -60px 0;
  background-size: cover;
  background-position: center 50%;
  background-repeat: no-repeat;
  will-change: background-position;
}

.photo-break__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
  display: block;
}

#photoBreak2 .photo-break__bg {
  background-position: center 20%;
}

.photo-break__caption {
  position: absolute;
  bottom: 24px;
  right: 32px;
  font-size: 13px;
  color: rgba(244, 240, 232, 0.6);
  font-weight: 500;
  letter-spacing: 0.02em;
  z-index: 1;
}

/* =========================================
   The Solution (dark)
   ========================================= */
.section--solution {
  background: var(--black);
  color: var(--white);
}

.section--solution .section__label {
  color: var(--gray-500);
  border-bottom-color: var(--gray-900);
}

.section--solution .section__headline {
  color: var(--white);
}

.section--solution .section__body {
  color: rgba(244, 240, 232, 0.65);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gray-900);
}

.pillar-card {
  padding: 44px;
  background: var(--black);
}

.pillar-card:last-child {
  border-right: none;
}

.pillar-card__number {
  font-family: var(--font-serif);
  font-size: 42px;
  line-height: 1;
  color: var(--blue);
  display: block;
  margin-bottom: 20px;
}

.pillar-card__title {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--white);
}

.pillar-card__desc {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(244, 240, 232, 0.55);
}

/* =========================================
   Why Now
   ========================================= */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--gray-900);
}

.why-card {
  padding: 44px;
  background: var(--soft-black);
}

.why-card__title {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--white);
}

.why-card__desc {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(244, 240, 232, 0.55);
}

/* =========================================
   Coalition / Supporters
   ========================================= */
.supporters {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.supporter {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s ease;
}

.supporter:hover {
  transform: translateY(-2px);
}

.supporter__logo {
  width: 200px;
  height: 100px;
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  transition: box-shadow 0.35s var(--ease-out-expo), border-color 0.35s ease;
}

.supporter__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: inherit;
}

.supporter:hover .supporter__logo {
  box-shadow: 0 8px 30px rgba(14, 21, 33, 0.1);
  border-color: transparent;
}

.supporter__img {
  max-width: 160px;
  max-height: 70px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.supporter__name {
  font-size: 13px;
  color: var(--gray-500);
  text-align: center;
}

/* =========================================
   Form Section (dark)
   ========================================= */
.section--form {
  background: var(--black);
  color: var(--white);
  padding-bottom: 0;
}

.section--form .section__label {
  color: var(--gray-500);
  border-bottom-color: var(--gray-900);
}

.section--form .section__headline {
  color: var(--white);
}

.section--form .section__body {
  color: rgba(244, 240, 232, 0.65);
  margin-bottom: 0;
}

.form-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.form-layout__copy {
  position: sticky;
  top: 120px;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form__label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(244, 240, 232, 0.5);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.form__label span {
  color: var(--red);
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  background: transparent;
  border: 1px solid var(--gray-900);
  color: var(--white);
  padding: 14px 16px;
  font-size: 16px;
  line-height: 1.5;
  transition: border-color 0.25s ease;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--blue);
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: var(--gray-700);
}

.form__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%238A92A2' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.form__select option {
  background: var(--soft-black);
  color: var(--white);
}

.form__textarea {
  resize: vertical;
  min-height: 100px;
}

.form__input.is-invalid,
.form__select.is-invalid {
  border-color: var(--red);
}

.form__submit {
  width: 100%;
  padding: 16px;
  background: var(--white);
  color: var(--black);
  border: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 100px;
  transition: background 0.25s ease, transform 0.15s ease;
}

.form__submit:hover {
  background: #FAF7F1;
  transform: scale(1.02);
}

.form__submit:active {
  transform: scale(0.985);
}

.form__privacy {
  font-size: 13px;
  color: var(--gray-700);
  text-align: center;
}

.form-success {
  padding: 60px 0;
  text-align: center;
}

.form-success__headline {
  font-family: var(--font-serif);
  font-size: 36px;
  color: var(--white);
  margin-bottom: 16px;
}

.form-success__body {
  font-size: 17px;
  color: rgba(244, 240, 232, 0.6);
}

/* =========================================
   Footer
   ========================================= */
.footer {
  background: var(--black);
  border-top: 1px solid var(--gray-900);
}

.footer__brand {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(244, 240, 232, 0.4);
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 28px var(--section-pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__text {
  font-size: 14px;
  color: var(--gray-500);
}

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 960px) {
  :root {
    --section-pad-y: 80px;
    --section-pad-x: 32px;
  }

  .hero__content {
    padding-top: 80px;
  }

  .stats__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stats__item {
    padding: 0;
    border-right: none;
    border-bottom: 1px solid var(--gray-200);
    padding-bottom: 40px;
  }

  .stats__item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

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

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

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

  .form-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .form-layout__copy {
    position: static;
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad-y: 60px;
    --section-pad-x: 24px;
  }

  .nav__inner {
    padding: 16px var(--section-pad-x);
  }

  .nav__brand {
    font-size: 11px;
    max-width: 140px;
    line-height: 1.3;
  }

  .nav__links {
    display: none;
  }

  .nav__right-mobile {
    display: flex;
    flex-shrink: 0;
  }

  .nav__mobile-bar-cta {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--black);
    background: var(--white);
    padding: 8px 14px;
    border: none;
    border-radius: 100px;
    white-space: nowrap;
    transition: background 0.25s ease, color 0.25s ease;
  }

  .nav--solid .nav__mobile-bar-cta {
    background: var(--white);
    color: var(--black);
  }

  .nav__toggle {
    display: flex;
  }

  .hero {
    min-height: 600px;
  }

  .hero__brand {
    gap: 0 12px;
  }

  .hero__content {
    padding: 100px var(--section-pad-x) 40px;
  }

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

  .supporters {
    gap: 32px;
  }

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

/* =========================================
   Reduced Motion
   ========================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal, .reveal-child {
    opacity: 1;
    transform: none;
  }

  .hero__brand,
  .hero__bottom {
    opacity: 1;
    transform: none;
  }

  .hero__bg {
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }
}
