/* Greenlight Initiative
   Palette and type borrow from the road: highway-sign green, asphalt,
   lane-marking amber, and Overpass (drawn from US highway-sign lettering). */

@font-face {
  font-family: "Overpass";
  src: url("assets/fonts/overpass-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("assets/fonts/public-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("assets/fonts/public-sans-latin-wght-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --paper: #f4f6f1;
  --paper-tint: #e8ede4;
  --ink: #15211c;
  --ink-soft: #47554e;
  --sign: #00674a;
  --sign-deep: #00523b;
  --go: #1fb35f;
  --asphalt: #25292c;
  --amber: #ffc933;
  --white: #ffffff;
  --rule: rgba(21, 33, 28, 0.16);

  --display: "Overpass", "Arial Narrow", system-ui, sans-serif;
  --body: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --maxw: 1120px;
  --pad: clamp(20px, 5vw, 48px);
  --rail: 0px;
  --header-h: 64px;
}

@media (min-width: 1000px) {
  :root { --rail: 72px; }
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }

a { color: var(--sign); text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
a:hover { color: var(--sign-deep); text-decoration-thickness: 0.14em; }

:focus-visible {
  outline: 3px solid var(--focus, var(--ink));
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(var(--maxw), 100% - 2 * var(--pad));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--white);
  border-radius: 8px;
  font-weight: 600;
}
.skip-link:focus { top: 12px; }
.skip-link:focus,
.skip-link:hover { color: var(--white); }

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  column-gap: 24px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-block: 8px;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1;
  text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand span { padding-top: 0.12em; }

.brand__mark { flex: none; }
.mark-housing { fill: var(--ink); }
.mark-dim { fill: #5b6a63; }
.mark-go { fill: #2fd27a; }

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  column-gap: clamp(16px, 2.2vw, 30px);
}
.site-nav a {
  display: inline-block;
  padding-block: 10px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}
.site-nav a:hover { color: var(--sign); text-decoration: underline; text-decoration-thickness: 2px; }

.nav-toggle { display: none; }

@media (max-width: 899px) {
  .js .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 8px 14px;
    border: 2px solid var(--ink);
    border-radius: 10px;
    background: transparent;
    color: var(--ink);
    font: 600 0.95rem/1 var(--body);
    cursor: pointer;
  }
  .nav-toggle__bars {
    width: 16px;
    height: 2px;
    background: currentColor;
    box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor;
  }
  .js .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 18px 30px -18px rgba(21, 33, 28, 0.35);
  }
  .js .site-nav.is-open { display: block; }
  .js .site-nav ul {
    display: block;
    width: min(var(--maxw), 100% - 2 * var(--pad));
    margin-inline: auto;
    padding-block: 6px 14px;
  }
  .js .site-nav li + li { border-top: 1px solid var(--rule); }
  .js .site-nav a { display: block; padding-block: 14px; font-size: 1.05rem; }
}

/* Page progress (phones and tablets) */

.progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 3px;
  overflow: hidden;
}
.progress__bar {
  height: 100%;
  background: var(--go);
  transform: scaleX(0);
  transform-origin: left;
}
@media (min-width: 1000px) {
  .progress { display: none; }
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: 10px;
  font: 700 1rem/1.2 var(--body);
  text-align: center;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn--light { background: var(--white); color: var(--sign-deep); }
.btn--light:hover { background: #dff1e7; color: var(--sign-deep); }
.btn--outline { border-color: rgba(255, 255, 255, 0.9); color: var(--white); }
.btn--outline:hover { background: rgba(255, 255, 255, 0.14); color: var(--white); }
.btn--green { background: var(--sign); color: var(--white); }
.btn--green:hover { background: var(--sign-deep); color: var(--white); }
.btn--ghost { border-color: var(--sign); color: var(--sign-deep); }
.btn--ghost:hover { background: #dff1e7; color: var(--sign-deep); }

/* Hero: a highway guide sign */

.hero { padding: clamp(10px, 1.6vw, 20px) clamp(10px, 1.6vw, 20px) 0; }

.hero__sign {
  --focus: var(--amber);
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: var(--sign);
  color: var(--white);
}
.hero__sign::after {
  content: "";
  position: absolute;
  inset: 9px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 14px;
  pointer-events: none;
}

.hero__road {
  position: absolute;
  top: 11px;
  right: 11px;
  width: min(44%, 540px);
  height: calc(100% - 22px);
  border-radius: 0 12px 12px 0;
}
.hero__road path { fill: none; }
.road-edge { stroke: rgba(255, 255, 255, 0.34); stroke-width: 134; }
.road-bed { stroke: #005c42; stroke-width: 128; }
.road-centre { stroke: rgba(255, 255, 255, 0.5); stroke-width: 4; stroke-dasharray: 22 22; }
@media (max-width: 859px) {
  .hero__road { display: none; }
}

.hero__inner {
  position: relative;
  padding-block: clamp(72px, 11vw, 148px) clamp(64px, 10vw, 132px);
}

h1 {
  max-width: 9em;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.9rem, 8.2vw, 6.5rem);
  line-height: 0.98;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.hero__lede {
  max-width: 34em;
  margin-top: clamp(20px, 2.6vw, 32px);
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  line-height: 1.5;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(28px, 3.4vw, 40px);
}

/* Sections */

.section {
  --bg: var(--paper);
  --dot-ring: #9aa59f;
  padding-block: clamp(72px, 9vw, 124px);
  background: var(--bg);
}
.section--tint { --bg: var(--paper-tint); }
.section--asphalt {
  --bg: var(--asphalt);
  --dot-ring: #7b858a;
  --focus: var(--amber);
  color: #f1f3f0;
}

.journey { position: relative; }
.journey .container { padding-left: var(--rail); }
.journey > .section:first-of-type { margin-top: clamp(10px, 1.6vw, 20px); }

h2 {
  position: relative;
  max-width: 17em;
  margin-bottom: clamp(32px, 4.6vw, 56px);
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 4.3vw, 3.2rem);
  line-height: 1.07;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

h3 {
  margin-bottom: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1.2;
}

/* Route line: a lane marking that fills in as you scroll (desktop) */

.route { display: none; }

@media (min-width: 1000px) {
  .route {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc((100% - min(var(--maxw), 100% - 2 * var(--pad))) / 2 + 10px);
    width: 3px;
    background: repeating-linear-gradient(
      to bottom,
      rgba(128, 140, 134, 0.5) 0 12px,
      transparent 12px 26px
    );
    pointer-events: none;
  }
  .route__fill {
    height: 100%;
    background: var(--go);
    transform: scaleY(0);
    transform-origin: top;
  }
  .journey h2::before {
    content: "";
    position: absolute;
    top: calc(0.5em - 8px);
    left: calc(3.5px - var(--rail));
    width: 16px;
    height: 16px;
    border: 3px solid var(--dot-ring);
    border-radius: 50%;
    background: var(--bg);
    box-shadow: 0 0 0 5px var(--bg);
    transition: background-color 0.35s ease, border-color 0.35s ease;
  }
  .journey .is-reached h2::before {
    border-color: var(--go);
    background: var(--go);
  }
}

/* Why it matters */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: clamp(28px, 3.4vw, 44px) clamp(28px, 4vw, 56px);
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 20px;
  border-top: 2px solid rgba(255, 255, 255, 0.28);
  font-size: 1.125rem;
  line-height: 1.5;
}
.stat strong {
  color: var(--amber);
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.22em;
  line-height: 1.1;
}
.stat__source {
  margin-top: auto;
  color: #b9c1bc;
  font-size: 0.875rem;
}
.section--asphalt a { color: #f1f3f0; }
.section--asphalt a:hover { color: var(--amber); }

.good-news {
  max-width: 36em;
  margin-top: clamp(44px, 6vw, 72px);
  padding-top: 24px;
  border-top: 2px solid var(--go);
  font-size: clamp(1.2rem, 1.9vw, 1.45rem);
  line-height: 1.45;
}

/* What we do, Get involved */

.ways,
.involve {
  display: grid;
  gap: clamp(28px, 3.4vw, 44px) clamp(28px, 4vw, 56px);
}
.ways { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.involve { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }

.way {
  padding-top: 20px;
  border-top: 3px solid var(--ink);
}
.way p { max-width: 34em; color: var(--ink-soft); }

.aside {
  margin-top: clamp(36px, 5vw, 56px);
  font-size: 1.1rem;
}

/* Resources */

.resources {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(36px, 5vw, 72px);
}

.resource h3 { margin-bottom: 18px; }

.checklist li,
.linklist li {
  padding-block: 12px;
  border-top: 1px solid var(--rule);
}
.checklist li {
  position: relative;
  padding-left: 30px;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: calc(12px + 0.8em - 6px);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--go);
}

.roadwise {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  margin-top: clamp(40px, 5vw, 64px);
  padding: clamp(24px, 3.6vw, 40px);
  border: 1px solid var(--rule);
  border-radius: 16px;
  background: var(--white);
}
.roadwise p { max-width: 38em; }
.roadwise .fineprint { margin-top: 14px; }
/* Action column: the App Store QR tile stacked over the buttons, same width */
.roadwise__actions {
  display: grid;
  gap: 12px;
  justify-self: start;
}

.app-qr {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 14px 16px 12px;
  border: 1px solid var(--rule);
  border-radius: 10px;
  margin-bottom: 4px;
}
.app-qr img { display: block; width: 148px; height: 148px; }
.app-qr__link {
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
}

@media (min-width: 860px) {
  .roadwise { grid-template-columns: 1fr auto; column-gap: 48px; }
  .roadwise__actions { justify-self: end; }
}

.fineprint {
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* About */

.prose { max-width: 40em; }
.prose p + p { margin-top: 1.1em; }
.prose__lede {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.4;
  font-weight: 500;
}
@media (min-width: 1000px) {
  .prose {
    display: grid;
    grid-template-columns: 5fr 7fr;
    column-gap: clamp(40px, 6vw, 88px);
    max-width: none;
  }
  .prose__lede { grid-row: 1 / span 2; }
  .prose p:not(.prose__lede) { grid-column: 2; max-width: 36em; }
  .prose .prose__lede + p { margin-top: 0; }
}

/* Email call to action: a second, smaller sign */

.cta-sign {
  --focus: var(--amber);
  position: relative;
  display: grid;
  gap: 24px;
  align-items: center;
  margin-top: clamp(44px, 6vw, 72px);
  padding: clamp(32px, 4.4vw, 52px);
  border-radius: 20px;
  background: var(--sign);
  color: var(--white);
}
.cta-sign::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 13px;
  pointer-events: none;
}
.cta-sign p {
  max-width: 30em;
  font-size: clamp(1.15rem, 1.7vw, 1.35rem);
  line-height: 1.45;
}
.cta-sign p a { color: var(--white); overflow-wrap: anywhere; }
.cta-sign p a:hover { color: var(--amber); }
.cta-sign .btn { justify-self: start; }
@media (min-width: 860px) {
  .cta-sign { grid-template-columns: 1fr auto; column-gap: 48px; }
}

/* Footer */

.site-footer {
  --focus: var(--amber);
  padding-block: clamp(64px, 8vw, 104px) 40px;
  background: var(--asphalt);
  color: #f1f3f0;
}
.site-footer h2 {
  max-width: none;
  font-size: clamp(1.7rem, 3.3vw, 2.5rem);
}
.site-footer a { color: #f1f3f0; overflow-wrap: anywhere; }
.site-footer a:hover { color: var(--amber); }

.contact-list li {
  display: grid;
  gap: 2px 24px;
  padding-block: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 1.1rem;
}
.contact-list li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.2); }
.contact-list__label { color: #b9c1bc; font-size: 0.95rem; }
@media (min-width: 700px) {
  .contact-list li { grid-template-columns: 15em 1fr; align-items: baseline; }
}

.site-footer__base {
  display: grid;
  gap: 18px;
  margin-top: clamp(40px, 5vw, 64px);
}
.site-footer__brand {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.site-footer__brand strong {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.15rem;
}
.site-footer .mark-housing { fill: #f1f3f0; }
.site-footer .mark-dim { fill: #9aa59f; }
.site-footer .mark-go { fill: var(--go); }
.keep { display: inline-block; }
.site-footer .fineprint { max-width: 62em; color: #b9c1bc; }

/* Motion: only when the visitor hasn't asked for less */

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  .motion .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .motion .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .progress { display: none; }
  .route__fill { transform: none; }
  .journey h2::before {
    border-color: var(--go);
    background: var(--go);
    transition: none;
  }
  .btn { transition: none; }
}
