:root {
  --navy: #17334a;
  --navy-deep: #112b40;
  --wine: #814253;
  --paper: #f3f1eb;
  --surface: #fbfaf6;
  --ink: #223744;
  --muted: #586a73;
  --line: #d8d8d1;
  --display: 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --sans: 'Avenir Next', Avenir, 'Segoe UI', sans-serif;
  --mono: 'SFMono-Regular', Consolas, monospace;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--paper); }
body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.5 var(--sans);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid #a95d70; outline-offset: 4px; }

.home-main {
  flex: 1;
  position: relative;
  isolation: isolate;
  background-color: var(--paper);
  background-image:
    linear-gradient(180deg, rgb(243 241 235 / 8%) 0%, rgb(243 241 235 / 30%) 28%, rgb(243 241 235 / 82%) 62%, var(--paper) 100%),
    url("/assets/brand/borghman-wagenpark.jpg");
  background-position: center top, center top;
  background-repeat: no-repeat;
  background-size: 100% 100%, 100% auto;
}
.fleet-photo { display: none; }

.home-header {
  flex-shrink: 0;
  min-height: 88px;
  background: var(--navy);
  color: #fff;
}
.home-nav {
  width: min(1120px, calc(100% - 64px));
  min-height: 88px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.home-nav > a {
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.home-logo { display: block; width: 164px; max-width: 100%; height: auto; }
.home-label {
  color: #e4e7e6;
  font-size: 13px;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.choice {
  width: min(1040px, calc(100% - 64px));
  min-height: calc(100dvh - 150px);
  margin: 0 auto;
  padding: 56px 0 40px;
}
.choice-copy { margin-bottom: 37px; }
.eyebrow {
  color: var(--wine);
  font: 11px/1.3 var(--mono);
  letter-spacing: .15em;
  text-transform: uppercase;
}
.choice h1 {
  margin: 14px 0 8px;
  color: var(--navy);
  font: 400 clamp(30px, 3vw, 38px)/1.15 var(--display);
  letter-spacing: -.025em;
}
.choice-copy p { margin: 0; color: var(--muted); font-size: 15px; }
.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.choice-card {
  min-height: 228px;
  padding: 27px 30px 23px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-top: 4px solid var(--navy);
  background: rgb(251 250 246 / 94%);
  box-shadow: 0 4px 18px rgb(23 51 74 / 6%);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.choice-card.drivers { border-top-color: var(--wine); }
.choice-kicker {
  color: var(--muted);
  font: 10px/1.4 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.choice-title {
  margin: 17px 0 0;
  color: var(--navy);
  font: 400 30px/1.15 var(--display);
}
.choice-description {
  max-width: 370px;
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.choice-action {
  width: 100%;
  margin-top: auto;
  min-height: 44px;
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
}
.drivers .choice-action { color: var(--wine); }
.choice-action span { font-size: 20px; line-height: .8; }
.choice-note {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
}
.note-mark { width: 7px; height: 7px; border-radius: 50%; background: var(--wine); }

.home-footer {
  flex-shrink: 0;
  min-height: 62px;
  padding: 14px max(32px, calc((100% - 1120px) / 2));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: var(--navy-deep);
  color: #dce3e2;
}
.home-footer p { margin: 0; font-size: 11px; letter-spacing: .03em; }

@media (hover: hover) and (pointer: fine) {
  .choice-card:hover {
    transform: translateY(-3px);
    border-color: #b8bcb7;
    box-shadow: 0 12px 26px rgb(23 51 74 / 9%);
  }
}

/* Tablet and phone: choices come first; the uncropped fleet row has
   its own space, so neither short screens nor larger text cause overlap. */
@media (max-width: 1099px) {
  .home-main {
    display: flex;
    flex-direction: column;
    background: var(--paper);
  }
  .fleet-photo {
    flex-shrink: 0;
    order: 1;
    display: block;
    width: 100%;
    background: #dce0df;
  }
  .fleet-photo img {
    display: block;
    width: 100%;
    height: auto;
  }
  .home-header,
  .home-nav { min-height: 68px; }
  .home-nav {
    width: min(900px, calc(100% - 48px - env(safe-area-inset-left) - env(safe-area-inset-right)));
  }
  .home-logo { width: 150px; }
  .home-label { font-size: 12px; letter-spacing: .07em; }
  .choice {
    flex: 1 0 auto;
    width: min(900px, calc(100% - 48px - env(safe-area-inset-left) - env(safe-area-inset-right)));
    min-height: 0;
    padding: 26px 0 28px;
  }
  .choice-copy { margin-bottom: 20px; }
  .choice h1 { margin: 9px 0 5px; font-size: 32px; }
  .choice-copy p { font-size: 15px; }
  .choice-grid { gap: 14px; }
  .choice-card { min-height: 190px; padding: 20px 22px 16px; }
  .choice-kicker { font-size: 11px; }
  .choice-title { margin-top: 10px; font-size: 28px; }
  .choice-description { margin-top: 6px; font-size: 14px; }
  .choice-action { padding-top: 10px; font-size: 14px; }
  .choice-note { margin-top: 15px; font-size: 12px; }
  .home-footer {
    min-height: 52px;
    padding-block: 12px calc(12px + env(safe-area-inset-bottom));
    padding-inline: max(24px, env(safe-area-inset-left)) max(24px, env(safe-area-inset-right));
  }
}

@media (max-width: 700px) {
  .home-nav {
    width: calc(100% - 32px - env(safe-area-inset-left) - env(safe-area-inset-right));
  }
  .home-logo { width: 142px; }
  .home-label { font-size: 12px; letter-spacing: .04em; }
  .choice {
    width: calc(100% - 32px - env(safe-area-inset-left) - env(safe-area-inset-right));
    padding: 18px 0 20px;
  }
  .choice-copy { margin-bottom: 14px; }
  .eyebrow { font-size: 11px; }
  .choice h1 { margin: 6px 0 4px; font-size: 29px; line-height: 1.16; }
  .choice-copy p { font-size: 14px; line-height: 1.4; }
  .choice-grid { grid-template-columns: 1fr; gap: 9px; }
  .choice-card {
    min-height: 0;
    padding: 13px 16px 10px;
  }
  .choice-kicker { font-size: 12px; line-height: 1.4; }
  .choice-title { margin-top: 5px; font-size: 25px; line-height: 1.15; }
  .choice-description {
    max-width: none;
    margin-top: 4px;
    font-size: 14px;
    line-height: 1.4;
    overflow-wrap: anywhere;
    hyphens: auto;
  }
  .choice-action {
    padding-top: 7px;
    font-size: 14px;
    line-height: 1.35;
  }
  .choice-note { margin-top: 11px; font-size: 12px; line-height: 1.4; }
  .home-footer {
    padding-block: 10px calc(10px + env(safe-area-inset-bottom));
    padding-inline: max(16px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-right));
  }
}

@media (max-width: 360px) {
  .home-nav { width: calc(100% - 24px - env(safe-area-inset-left) - env(safe-area-inset-right)); }
  .home-logo { width: 132px; }
  .home-label { font-size: 11px; letter-spacing: .025em; }
  .choice { width: calc(100% - 24px - env(safe-area-inset-left) - env(safe-area-inset-right)); }
  .choice-card { padding-inline: 13px; }
  .choice h1 { font-size: 27px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
