:root {
  --ink: #111820;
  --paper: #f3f0e9;
  --paper-2: #e8e4db;
  --muted: #667078;
  --line: rgba(17, 24, 32, 0.16);
  --accent: #ff5a36;
  --white: #fffdf8;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.site-header {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(24px, 5vw, 76px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 760;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--white);
  background: var(--ink);
  font-size: 14px;
  letter-spacing: -0.04em;
}

.header-contact,
.hero-action {
  text-decoration: none;
  font-weight: 700;
}

.header-contact {
  padding-bottom: 4px;
  border-bottom: 2px solid var(--ink);
}

.hero {
  min-height: min(760px, calc(100vh - 84px));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 80px clamp(24px, 8vw, 130px);
  overflow: hidden;
  position: relative;
}

.hero::after {
  content: "4";
  position: absolute;
  right: -0.03em;
  bottom: -0.29em;
  z-index: -1;
  color: rgba(17, 24, 32, 0.045);
  font-size: clamp(320px, 48vw, 720px);
  font-weight: 850;
  letter-spacing: -0.12em;
  line-height: 1;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 1000px;
  margin-bottom: 34px;
  font-size: clamp(56px, 9vw, 138px);
  font-weight: 780;
  letter-spacing: -0.07em;
  line-height: 0.86;
}

h1 span { color: var(--muted); }

.hero-copy {
  max-width: 660px;
  margin-bottom: 36px;
  color: #485158;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.55;
}

.hero-action {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 15px 22px;
  border-radius: 999px;
  color: var(--white);
  background: var(--ink);
}

.stores {
  padding: 110px clamp(24px, 5vw, 76px) 130px;
  color: var(--white);
  background: var(--ink);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 58px;
}

.section-heading h2,
.about h2 {
  margin-bottom: 0;
  font-size: clamp(42px, 6vw, 82px);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.section-heading > p {
  max-width: 520px;
  margin-bottom: 8px;
  color: #aeb6bb;
  font-size: 18px;
  line-height: 1.55;
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(255,255,255,0.18);
  border-left: 1px solid rgba(255,255,255,0.18);
}

.store-card {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(26px, 4vw, 50px);
  border-right: 1px solid rgba(255,255,255,0.18);
  border-bottom: 1px solid rgba(255,255,255,0.18);
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease;
}

.store-number {
  color: #8d979d;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.store-type {
  display: block;
  margin-bottom: 12px;
  color: #9da7ad;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.store-card h3 {
  margin-bottom: 16px;
  font-size: clamp(34px, 4vw, 58px);
  letter-spacing: -0.055em;
  line-height: 1;
}

.store-card p {
  max-width: 500px;
  margin-bottom: 34px;
  color: #bdc4c8;
  font-size: 16px;
  line-height: 1.6;
}

.visit {
  display: inline-flex;
  gap: 10px;
  font-weight: 800;
}

.store-card:hover,
.store-card:focus-visible {
  color: var(--ink);
  background: var(--paper);
  outline: none;
}

.store-card:hover .store-number,
.store-card:hover .store-type,
.store-card:hover p,
.store-card:focus-visible .store-number,
.store-card:focus-visible .store-type,
.store-card:focus-visible p { color: #515b62; }

.card-ev:hover, .card-ev:focus-visible { background: #d9ef70; }
.card-power:hover, .card-power:focus-visible { background: #ff774f; }
.card-marine:hover, .card-marine:focus-visible { background: #8bd5f3; }
.card-camp:hover, .card-camp:focus-visible { background: #e9d3a7; }

.about {
  padding: 130px clamp(24px, 8vw, 130px);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 80px;
  align-items: start;
}

.about-copy {
  max-width: 610px;
  padding-top: 12px;
  color: #49535a;
  font-size: 18px;
  line-height: 1.7;
}

.about-copy p + p { margin-top: 26px; }
.about-copy a { color: var(--ink); font-weight: 750; }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 34px clamp(24px, 5vw, 76px);
  border-top: 1px solid var(--line);
}

.footer-brand { font-weight: 800; }

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 28px;
  color: #59636a;
  font-size: 14px;
}

.footer-meta a { font-weight: 700; }

@media (max-width: 760px) {
  .site-header { min-height: 72px; }
  .brand-mark { width: 38px; height: 38px; }
  .hero { min-height: 680px; padding-top: 70px; }
  h1 { font-size: clamp(54px, 17vw, 86px); }
  .stores, .about { padding-top: 84px; padding-bottom: 90px; }
  .section-heading, .about-layout { grid-template-columns: 1fr; gap: 34px; }
  .store-grid { grid-template-columns: 1fr; }
  .store-card { min-height: 330px; }
  .site-footer, .footer-meta { flex-direction: column; justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .store-card { transition: none; }
}
