/* DW Design - one stylesheet for every page.
   Change colors and fonts in the :root block below. */

@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500&family=Instrument+Serif&display=swap");

:root {
  --bg: #171c1b;
  --panel: #222a27;
  --text: #e8e4dc;
  --muted: #a7b0a8;
  --gold: #c9a55c;
  --line: #2c3532;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--muted);
  font: 18px/1.6 "DM Sans", sans-serif;
}

h1, h2, h3 {
  margin: 0 0 16px;
  color: var(--text);
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  line-height: 1.1;
}
h1 { font-size: 56px; }
h2 { font-size: 40px; }
h3 { font-size: 28px; }
p  { margin: 0 0 16px; }
a  { color: inherit; }

img { display: block; max-width: 100%; border-radius: 12px; }

/* Layout: every section is a full-width band with a centered .wrap inside */
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 28px; }
section { padding: 64px 0; border-top: 1px solid var(--line); }
.panel { background: var(--panel); }

/* Header and menu */
header .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 28px;
  padding-bottom: 28px;
}
.logo {
  color: var(--text);
  font-family: "Instrument Serif", serif;
  font-size: 28px;
  letter-spacing: 0.12em;
  text-decoration: none;
}
nav a { margin-left: 28px; text-decoration: none; }
nav a:hover, nav a[aria-current] { color: var(--text); }

/* Layout helpers:
   .split = two columns (photo + text)
   .cols  = three columns (each: photo, heading, text)
   .row   = photo on the left, text on the right (Drivers page) */
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.split > * { flex: 1 1 320px; }

.cols { display: flex; flex-wrap: wrap; gap: 32px; }
.cols > * { flex: 1 1 240px; }
.cols img { margin-bottom: 20px; }

.row { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; margin-bottom: 48px; }
.row:last-child { margin-bottom: 0; }
.row img { flex: 1 1 260px; min-width: 0; }
.row div { flex: 2 1 320px; }

/* Gold headings (used on the Our approach page) */
.gold h3 { color: var(--gold); }

/* Buttons */
.btn {
  display: inline-block;
  margin: 8px 12px 0 0;
  padding: 14px 32px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--text);
  text-decoration: none;
}
.btn.light { background: var(--text); border-color: var(--text); color: var(--bg); }

/* Footer */
footer { border-top: 1px solid var(--line); font-size: 16px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 24px; padding-bottom: 24px; }
