@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("vve-plus-jakarta-sans.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #11221d;
  --green: #173f35;
  --deep-green: #0b2d27;
  --muted: #40554d;
  --paper: #f3f0e8;
  --surface: #fcfbf7;
  --line: #d7ddd2;
  --light: #fffdf5;
  --accent: #e5ce9e;
  --content-width: 77rem;
  --page-gutter: 3rem;
  --column-gap: clamp(1rem, 2.25vw, 1.8rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 400 1rem/1.65 "Plus Jakarta Sans", system-ui, sans-serif;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.24em; }
a:focus-visible { outline: 3px solid #bf9653; outline-offset: 5px; }
[id] { scroll-margin-top: 1.5rem; }
h1, h2, h3, p { margin: 0; }
.keep-together { white-space: nowrap; }

.shell {
  width: min(calc(100% - 2 * var(--page-gutter)), var(--content-width));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.6rem;
  left: 0.6rem;
  padding: 0.65rem 1rem;
  color: var(--ink);
  background: var(--light);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 1.5rem;
}
.brand { width: min(13.5rem, 45vw); flex: none; }
.brand img { width: 100%; height: auto; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  max-width: 100%;
  padding: 0.7rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 0.2rem;
  font-size: 0.94rem;
  font-weight: 750;
  line-height: 1.3;
  text-decoration: none;
  text-align: center;
}
.button-primary { color: var(--deep-green); background: var(--accent); }
.button-primary:hover { background: #f0deb8; }

.hero { color: var(--light); background: var(--deep-green); }
.hero-inner {
  --content-half: min(calc(50% - var(--page-gutter)), calc(var(--content-width) / 2));
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--content-half) var(--content-half) minmax(0, 1fr);
  max-width: 112rem;
  margin-inline: auto;
}
.hero-copy {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-block: clamp(2.8rem, 4.6vw, 4.6rem);
  padding-inline-end: clamp(1.5rem, 3.8vw, 3.75rem);
}
.eyebrow {
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 750;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}
.hero h1 {
  min-block-size: 3lh;
  margin-top: 0.8rem;
  font-size: clamp(2.3rem, 4.2vw, 4.55rem);
  line-height: 1.04;
  font-weight: 750;
  letter-spacing: -0.03em;
  word-spacing: 0.035em;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.hero-intro {
  min-block-size: 4lh;
  max-width: 30rem;
  margin-top: 1.05rem;
  color: #e3ece3;
  font-size: clamp(1rem, 1.4vw, 1.13rem);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1.3rem;
  margin-top: auto;
  padding-top: 1.5rem;
}
.hero-link { font-size: 0.94rem; font-weight: 650; }
.hero-link:hover { color: var(--accent); }
.hero-image {
  position: absolute;
  inset: 0 0 0 50%;
  width: 50%;
  height: 100%;
  object-fit: cover;
  object-position: var(--image-position, 66% 52%);
}

.topics { padding-block: clamp(2.8rem, 5vw, 4.75rem); }
.section-head {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 1rem var(--column-gap);
  margin-bottom: 1.5rem;
}
.section-head h2 {
  min-block-size: 2lh;
  font-size: clamp(1.85rem, 2.85vw, 2.5rem);
}
h2 {
  font-size: clamp(2rem, 3.1vw, 3.2rem);
  line-height: 1.12;
  font-weight: 750;
  letter-spacing: -0.023em;
  word-spacing: 0.03em;
  overflow-wrap: anywhere;
  hyphens: auto;
  text-wrap: balance;
}
.topic-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-items: start;
  align-items: start;
  gap: 0.15rem 1rem;
}
.topic-nav a {
  padding-block: 0.3rem;
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.topic-nav a:hover { color: #6f5019; }
.topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--column-gap);
}
.topic {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 0.32rem;
  background: var(--surface);
  overflow: hidden;
}
.topic:target { outline: 2px solid #567768; outline-offset: 4px; }
.topic-image {
  width: 100%;
  height: auto;
  aspect-ratio: 2.22;
  object-fit: cover;
  object-position: var(--image-position, 50% 50%);
}
.topic-image-charging { object-position: 88% 54%; }
.topic-image-quote { object-position: 50% 43%; }
.topic-image-subsidy { object-position: 50% 45%; }
.topic-image-financing { object-position: 50% 46%; }
.topic-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.25rem, 2.5vw, 2rem);
}
.topic-content h3 {
  font-size: clamp(1.36rem, 2.2vw, 1.92rem);
  line-height: 1.18;
  letter-spacing: -0.021em;
  font-weight: 750;
  overflow-wrap: anywhere;
}
.topic-content p { margin-top: 0.7rem; color: var(--muted); }
.topic-content a { margin-top: auto; color: var(--green); font-weight: 750; }
.topic-content p:has(+ a) { margin-bottom: 1.3rem; }
.topic-content a:hover { color: #6f5019; }

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.5rem, 4.7vw, 4rem);
  color: var(--light);
  background: var(--green);
  border-radius: 0.32rem;
}
.contact-panel > div { min-width: 0; max-width: 100%; }
.contact-panel h2 { max-width: 22ch; }
.contact-panel p { max-width: 37rem; margin-top: 0.8rem; color: #e3ece3; }
.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  flex: none;
}
.contact-address { font-size: 0.91rem; }
.contact-address:hover { color: var(--accent); }

.site-footer { margin-top: 3rem; border-top: 1px solid var(--line); }
.footer-inner { min-height: 6rem; gap: 0.5rem 1.5rem; }
.footer-inner .brand { width: 11rem; }
.footer-inner p, .footer-inner > a:not(.brand) {
  color: var(--muted);
  font-size: 0.875rem;
}
.footer-inner > a:not(.brand) { justify-self: end; text-align: end; }

@media (min-width: 48.001rem) {
  .topic-content h3 { min-block-size: 2lh; }
}

@supports (grid-template-rows: subgrid) {
  @media (min-width: 48.001rem) {
    .topic {
      display: grid;
      grid-row: span 4;
      grid-template-rows: subgrid;
      row-gap: 0;
    }
    .topic-content {
      display: grid;
      grid-row: span 3;
      grid-template-rows: subgrid;
      align-items: start;
      row-gap: 0;
    }
    .topic-content h3 { grid-row: 1; min-block-size: 0; }
    .topic-content p { grid-row: 2; }
    .topic-content a { grid-row: 3; }
  }
}

@media (max-width: 70rem) {
  :root { --page-gutter: 1.75rem; }
}

@media (max-width: 62rem) {
  :root { --page-gutter: 1rem; }
  .section-head { grid-template-columns: minmax(0, 1fr); }
  .section-head h2 { min-block-size: 0; }
}

@media (max-width: 48rem) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { grid-column: 1; padding: 2.15rem var(--page-gutter) 2.3rem; }
  .eyebrow { font-size: 0.8rem; letter-spacing: 0.05em; }
  .hero h1 {
    min-block-size: 0;
    font-size: clamp(2.15rem, 8.4vw, 3.15rem);
  }
  .hero-intro { min-block-size: 0; }
  .hero-image { position: static; width: 100%; height: auto; aspect-ratio: 16 / 9; }
  .topic-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-panel { align-items: flex-start; flex-direction: column; gap: 1.25rem; }
  .site-footer { margin-top: 2rem; }
  .footer-inner { min-height: 0; padding-block: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner .brand { grid-column: 1 / -1; }
  .footer-inner .brand img { width: 10.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
