:root {
  --ink: #13202a;
  --slate: #4f6069;
  --paper: #f4f7f6;
  --white: #ffffff;
  --rule: #d3dcd9;
  --tint: #e7eeeb;
  --sign: #0b5d45;
  --sign-deep: #07402f;
  --signal: #f4c431;
  --error: #a32020;

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

  --wrap: 72rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(4rem, 9vw, 7.5rem);
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

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 {
  font-family: var(--display);
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.25rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.625rem); font-weight: 800; }
h3 { font-size: 1.1875rem; font-weight: 700; line-height: 1.25; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--sign); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 2px;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--signal);
  color: var(--ink);
  padding: .5rem 1rem;
  z-index: 10;
}
.skip:focus { left: 1rem; top: 1rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(244, 247, 246, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
}
.wordmark {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.wordmark span { font-weight: 600; color: var(--sign); }
.site-header ul {
  display: flex;
  align-items: center;
  gap: clamp(.75rem, 2vw, 1.75rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-header nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: .9375rem;
}
.site-header nav a:hover { color: var(--sign); }
.site-header nav a.nav-cta {
  background: var(--sign);
  color: var(--white);
  padding: .5rem .9rem;
  border-radius: 4px;
}
.site-header nav a.nav-cta:hover { background: var(--sign-deep); color: var(--white); }

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--body);
  font-weight: 600;
  font-size: 1rem;
  padding: .85rem 1.4rem;
  border-radius: 4px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
}
.btn-primary { background: var(--sign); color: var(--white); }
.btn-primary:hover { background: var(--sign-deep); }
.btn-primary[disabled] { opacity: .6; cursor: progress; }
.btn-quiet { color: var(--ink); border-color: var(--ink); }
.btn-quiet:hover { background: var(--ink); color: var(--white); }

/* Hero */
.hero { padding: clamp(3rem, 8vw, 6rem) 0 var(--section); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.hero h1 { max-width: 13ch; }
.lede {
  font-size: clamp(1.125rem, 1.6vw, 1.3125rem);
  color: var(--slate);
  max-width: 36rem;
  margin: 1.5rem 0 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* The wayfinding sign */
.sign { margin: 0; }
.sign-face {
  background: var(--sign);
  color: var(--white);
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 1px 0 var(--sign-deep), 0 24px 40px -24px rgba(7, 64, 47, .55);
  transform: rotate(-1.5deg);
  animation: raise .9s cubic-bezier(.2, .8, .2, 1) both;
}
.sign-row {
  display: grid;
  grid-template-columns: 2.5rem 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.05rem 1.25rem;
  font-family: var(--display);
  border-left: 3px solid var(--white);
  border-right: 3px solid var(--white);
}
.sign-row:first-child { border-top: 3px solid var(--white); border-radius: 8px 8px 0 0; }
.sign-row:last-child { border-bottom: 3px solid var(--white); border-radius: 0 0 8px 8px; }
.sign-row + .sign-row { border-top: 2px solid rgba(255, 255, 255, .35); }
.sign-arrow { width: 2.25rem; height: 2.25rem; fill: var(--white); }
.sign-arrow.r45 { transform: rotate(45deg); }
.sign-arrow.r90 { transform: rotate(90deg); }
.sign-arrow.rn45 { transform: rotate(-45deg); }
.sign-dest { font-size: clamp(1.25rem, 2.2vw, 1.625rem); font-weight: 700; line-height: 1.15; }
.sign-dist {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 700;
  color: var(--signal);
  white-space: nowrap;
}
.sign-posts {
  display: flex;
  justify-content: space-around;
  padding: 0 22%;
  height: 2.75rem;
  transform: rotate(-1.5deg);
  transform-origin: top center;
}
.sign-posts span {
  width: 10px;
  background: linear-gradient(90deg, #8c979c, #c5cdd0 45%, #8c979c);
}
.sign figcaption {
  margin-top: 1rem;
  font-size: .9375rem;
  color: var(--slate);
  max-width: 28rem;
}
@keyframes raise {
  from { transform: translateY(24px) rotate(0deg); opacity: 0; }
  to { transform: translateY(0) rotate(-1.5deg); opacity: 1; }
}

/* Sections */
.section { padding: var(--section) 0; border-top: 1px solid var(--rule); }
.section-tint { background: var(--tint); }
.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section-head p { color: var(--slate); margin-top: 1.25rem; font-size: 1.125rem; }

/* Process */
.phases {
  list-style: none;
  counter-reset: phase;
  margin: 0;
  padding: 0;
  position: relative;
  max-width: 52rem;
}
.phases::before {
  content: "";
  position: absolute;
  left: 1.375rem;
  top: 1.5rem;
  bottom: 1.5rem;
  width: 3px;
  background: var(--rule);
}
.phases li {
  counter-increment: phase;
  position: relative;
  padding: 0 0 2rem 4.5rem;
}
.phases li:last-child { padding-bottom: 0; }
.phases li::before {
  content: counter(phase);
  position: absolute;
  left: 0;
  top: -.2rem;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  background: var(--sign);
  color: var(--white);
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.25rem;
  border-radius: 6px;
  border: 3px solid var(--paper);
  box-shadow: 0 0 0 2px var(--sign);
}
.phases h3 { margin-bottom: .35rem; padding-top: .35rem; }
.phases p { color: var(--slate); }

/* Split layouts */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.split h2 { margin-bottom: 1.25rem; }
.split > div > p { color: var(--slate); font-size: 1.125rem; max-width: 34rem; }

.checks { list-style: none; margin: 0; padding: 0; }
.checks li {
  position: relative;
  padding: 1rem 0 1rem 2.25rem;
  border-bottom: 1px solid var(--rule);
  font-weight: 500;
}
.checks li:first-child { border-top: 1px solid var(--rule); }
.checks li::before {
  content: "";
  position: absolute;
  left: .2rem;
  top: 1.35rem;
  width: .9rem;
  height: .5rem;
  border-left: 3px solid var(--sign);
  border-bottom: 3px solid var(--sign);
  transform: rotate(-45deg);
}

.metrics { margin: 0; }
.metrics > div {
  display: grid;
  grid-template-columns: 10rem 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule);
}
.metrics > div:first-child { border-top: 1px solid var(--rule); }
.metrics dt { font-family: var(--display); font-weight: 700; }
.metrics dd { margin: 0; color: var(--slate); }

/* Team */
.team {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.75rem, 4vw, 3rem);
}
.portrait {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 1.25rem;
  display: block;
}
.portrait.placeholder {
  display: grid;
  place-items: center;
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(11, 93, 69, .06) 14px 28px),
    var(--white);
  border: 2px dashed #a9b8b3;
}
.portrait.placeholder span {
  font-family: var(--display);
  font-weight: 800;
  font-size: 3rem;
  color: #a9b8b3;
}
.team h3 { font-size: 1.375rem; }
.team .role {
  color: var(--sign);
  font-weight: 600;
  margin: .25rem 0 .9rem;
}
.team p:not(.role) { color: var(--slate); font-size: 1rem; }

/* Contact */
.contact { background: var(--white); }
.contact-note { font-size: 1rem !important; }
.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
.field { display: flex; flex-direction: column; gap: .4rem; }
.field-wide { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .9375rem; }
.optional { font-weight: 400; color: var(--slate); }
.field input, .field textarea {
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--rule);
  border-radius: 4px;
  padding: .7rem .8rem;
  width: 100%;
}
.field input:hover, .field textarea:hover { border-color: #aebcb8; }
.field input:focus, .field textarea:focus { border-color: var(--sign); background: var(--white); }
.field textarea { resize: vertical; min-height: 8rem; }
.field [aria-invalid="true"] { border-color: var(--error); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.form-status { margin: 0; font-weight: 500; }
.form-status.ok { color: var(--sign); }
.form-status.err { color: var(--error); }

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, .8);
  padding: 2rem 0;
  font-size: .9375rem;
}
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; }
.site-footer strong { color: var(--white); }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-header li:not(:last-child) { display: none; }
}
@media (max-width: 640px) {
  .team, .form { grid-template-columns: 1fr; }
  .metrics > div { grid-template-columns: 1fr; gap: .25rem; }
  .sign-row { grid-template-columns: 1.75rem 1fr auto; gap: .75rem; padding: .9rem 1rem; }
  .sign-arrow { width: 1.75rem; height: 1.75rem; }
  .portrait { max-width: 12rem; }
  .wordmark { font-size: 1.125rem; }
}
