:root {
  --pine: #173d35;
  --sage: #8da99b;
  --mist: #f4f7f4;
  --paper: #fffdf8;
  --clay: #b66a4a;
  --amber: #d69b3a;
  --steel: #52616a;
  --ink: #17201d;
  --muted: #65716c;
  --line: rgba(23, 61, 53, 0.16);
  --shadow: 0 24px 80px rgba(23, 32, 29, 0.18);
  --radius: 8px;
  --display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --body: "IBM Plex Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.55;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 4px;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 14px;
  left: 50%;
  display: flex;
  width: min(calc(100% - 28px), 1180px);
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 12px 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.9);
  box-shadow: 0 14px 48px rgba(23, 32, 29, 0.12);
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border: 3px solid var(--pine);
  border-radius: 50%;
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  content: "";
  background: var(--clay);
}

.brand-mark::before {
  width: 24px;
  height: 3px;
  top: 15px;
  left: 5px;
  transform: rotate(-22deg);
}

.brand-mark::after {
  width: 3px;
  height: 22px;
  top: 5px;
  left: 16px;
  transform: rotate(18deg);
}

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

.brand strong {
  overflow-wrap: anywhere;
  font-family: var(--display);
  font-size: 1.05rem;
  line-height: 1;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a,
.nav-toggle {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--pine);
  font: 700 0.92rem/1 var(--body);
  text-decoration: none;
}

.site-nav a {
  padding: 12px 14px;
}

.site-nav a:hover {
  background: rgba(141, 169, 155, 0.18);
}

.site-nav .nav-cta {
  background: var(--pine);
  color: var(--paper);
}

.nav-toggle {
  display: none;
  padding: 11px 14px;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 86vh;
  overflow: hidden;
  background: var(--pine);
  isolation: isolate;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(8, 23, 20, 0.88) 0%, rgba(8, 23, 20, 0.62) 38%, rgba(8, 23, 20, 0.12) 78%),
    linear-gradient(180deg, rgba(8, 23, 20, 0.08), rgba(8, 23, 20, 0.46));
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-panel {
  display: grid;
  min-height: 86vh;
  width: min(100% - 36px, 1180px);
  margin: 0 auto;
  padding: 132px 0 96px;
  align-content: center;
}

.eyebrow,
.section-kicker,
.result-label,
.control-label {
  margin: 0;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f2c678;
}

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

h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 0.96;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  color: var(--paper);
  font-size: clamp(3rem, 7.4vw, 6.2rem);
}

h2 {
  font-size: clamp(2.1rem, 5vw, 4.6rem);
}

h3 {
  font-size: clamp(1.38rem, 2.5vw, 2rem);
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 30px;
  color: rgba(255, 253, 248, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
}

.hero-actions,
.contact-card {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 13px 18px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

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

.button.primary {
  background: var(--amber);
  color: #23170b;
}

.button.secondary {
  border-color: rgba(255, 253, 248, 0.48);
  background: rgba(255, 253, 248, 0.12);
  color: var(--paper);
}

.contact-card .button.secondary {
  border-color: var(--line);
  background: var(--mist);
  color: var(--pine);
}

.button.wide {
  width: 100%;
}

.hero-note {
  position: absolute;
  right: max(18px, calc((100vw - 1180px) / 2));
  bottom: 28px;
  display: grid;
  width: min(340px, calc(100% - 36px));
  gap: 3px;
  padding: 18px;
  border-left: 5px solid var(--amber);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.9);
  box-shadow: var(--shadow);
}

.hero-note span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-note strong {
  color: var(--pine);
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1;
}

.section,
.choice-lab,
.contact-band,
.site-footer {
  width: min(100% - 36px, 1180px);
  margin: 0 auto;
}

.section {
  padding: 90px 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(260px, 0.88fr);
  gap: clamp(28px, 8vw, 110px);
  align-items: end;
}

.intro p:last-child {
  margin-bottom: 10px;
  color: var(--steel);
  font-size: 1.16rem;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.section-heading h2 {
  max-width: 790px;
  margin-bottom: 0;
}

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

.type-card {
  display: flex;
  min-height: 438px;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--paper);
}

.type-card h3 {
  margin: 54px 0 16px;
}

.type-card p {
  color: var(--steel);
}

.type-card ul {
  display: grid;
  gap: 10px;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}

.type-card li {
  position: relative;
  padding-left: 18px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
}

.type-card li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 8px;
  height: 2px;
  background: var(--clay);
  content: "";
}

.type-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 30px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.type-topline strong {
  border-radius: 999px;
  padding: 6px 9px;
  background: rgba(141, 169, 155, 0.16);
  color: var(--pine);
  white-space: nowrap;
}

.electric {
  border-top: 7px solid var(--sage);
}

.cargo {
  border-top: 7px solid var(--clay);
}

.new {
  border-top: 7px solid var(--steel);
}

.refurbished {
  border-top: 7px solid var(--amber);
}

.choice-lab {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1.14fr);
  gap: clamp(26px, 7vw, 86px);
  align-items: center;
  padding: 76px clamp(18px, 4vw, 44px);
  border-radius: var(--radius);
  background: var(--pine);
  color: var(--paper);
}

.choice-copy p:not(.section-kicker) {
  max-width: 520px;
  color: rgba(255, 253, 248, 0.76);
}

.choice-lab .section-kicker {
  color: #f2c678;
}

.finder {
  display: grid;
  gap: 16px;
}

.control-group,
.result-card {
  border: 1px solid rgba(255, 253, 248, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.08);
}

.control-group {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.control-label {
  color: rgba(255, 253, 248, 0.72);
}

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

.segment {
  min-height: 44px;
  border: 1px solid rgba(255, 253, 248, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.08);
  color: var(--paper);
  cursor: pointer;
  font: 800 0.92rem/1 var(--body);
}

.segment.active,
.segment:hover {
  background: var(--paper);
  color: var(--pine);
}

.result-card {
  min-height: 260px;
  padding: clamp(20px, 4vw, 32px);
}

.result-label {
  color: #f2c678;
}

.result-card h3 {
  margin: 26px 0 14px;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.result-card p {
  color: rgba(255, 253, 248, 0.8);
  font-size: 1.05rem;
}

.text-link {
  display: inline-flex;
  margin-top: 8px;
  color: #f2c678;
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

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

.process-steps article {
  min-height: 250px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.process-steps span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--pine);
  color: var(--paper);
  font-weight: 800;
}

.process-steps h3 {
  margin: 28px 0 10px;
  font-size: 1.45rem;
}

.process-steps p {
  color: var(--steel);
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 390px);
  gap: clamp(28px, 8vw, 96px);
  align-items: center;
  margin-bottom: 28px;
  padding: clamp(32px, 7vw, 72px);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 18px 60px rgba(23, 32, 29, 0.08);
}

.contact-band p:not(.section-kicker) {
  max-width: 620px;
  color: var(--steel);
  font-size: 1.08rem;
}

.contact-card {
  align-content: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.contact-card dl {
  display: grid;
  gap: 14px;
  width: 100%;
  margin: 12px 0 0;
}

.contact-card div {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.contact-card dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-card dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 0 42px;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    display: none;
    width: min(310px, calc(100vw - 28px));
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    border-radius: var(--radius);
  }

  .intro,
  .choice-lab,
  .contact-band {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 680px) {
  .site-header {
    top: 8px;
    width: calc(100% - 16px);
  }

  .brand strong {
    font-size: 0.95rem;
  }

  .brand small {
    display: none;
  }

  .hero,
  .hero-panel {
    min-height: 0;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(8, 23, 20, 0.9) 0%, rgba(8, 23, 20, 0.7) 52%, rgba(8, 23, 20, 0.18) 100%),
      linear-gradient(90deg, rgba(8, 23, 20, 0.2), rgba(8, 23, 20, 0.28));
  }

  .hero-image {
    object-position: 56% center;
  }

  .hero-panel {
    width: min(100% - 28px, 1180px);
    padding-top: 112px;
    align-content: start;
  }

  h1 {
    font-size: clamp(2.78rem, 13.5vw, 4.1rem);
  }

  .hero-note {
    right: 14px;
    bottom: 18px;
  }

  .section {
    padding: 64px 0;
  }

  .section,
  .choice-lab,
  .contact-band,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  .section-heading {
    display: block;
  }

  .type-grid,
  .process-steps,
  .segmented {
    grid-template-columns: 1fr;
  }

  .type-card {
    min-height: auto;
  }

  .type-card h3 {
    margin-top: 36px;
  }

  .choice-lab {
    padding: 32px 16px;
  }

  .result-card {
    min-height: auto;
  }

  .contact-band {
    padding: 28px 16px;
  }

  .site-footer {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
