/* History for Travelers: series colors from the Series Bible (Covers and Author Brand.md) */
:root {
  --tangerine: #DB5F16;
  --tangerine-dark: #B84D10;
  --navy: #24384F;
  --gold: #F4B942;
  --paper: #FBF7F1;
  --ink: #1F2933;
  --muted: #5B6672;
  --line: #E6DED2;
  --white: #FFFFFF;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Lora", Georgia, "Times New Roman", serif;
  font-size: 1.125rem;
  line-height: 1.65;
}

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

a { color: var(--tangerine-dark); }
a:hover { color: var(--navy); }

h1, h2, h3 {
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }

p { margin: 0 0 1em; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }

/* Top bar, like the navy series bar on the cover */
.site-header {
  background: var(--navy);
  border-bottom: 4px solid var(--gold);
}
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  font-size: 0.95rem;
}
.brand:hover { color: var(--gold); }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.site-nav a {
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--white);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { border-bottom-color: var(--gold); color: var(--white); }

/* Tangerine title band, like the cover */
.band {
  background: var(--tangerine);
  color: var(--white);
  text-align: center;
  padding: 56px 0 48px;
}
.band h1 {
  color: var(--white);
  font-family: "Oswald", "Montserrat", Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  letter-spacing: 0.02em;
  margin-bottom: 0.25em;
}
.band .kicker {
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: clamp(1rem, 2.6vw, 1.4rem);
  margin: 0;
}
.band .tagline {
  font-style: italic;
  font-size: 1.25rem;
  margin: 0.6em 0 0;
}
.band .tagline::before,
.band .tagline::after {
  content: "";
  display: inline-block;
  width: 36px;
  height: 2px;
  background: var(--gold);
  vertical-align: middle;
  margin: 0 14px;
}

section { padding: 56px 0; }
section + section { border-top: 1px solid var(--line); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
@media (max-width: 720px) {
  .split { grid-template-columns: 1fr; }
  .split .cover { max-width: 280px; margin: 0 auto; }
}

.cover {
  box-shadow: 0 10px 30px rgba(36, 56, 79, 0.25);
  border-radius: 2px;
}

.subtitle {
  font-style: italic;
  color: var(--muted);
  font-size: 1.15rem;
}

.button {
  display: inline-block;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  background: var(--tangerine);
  color: var(--white);
  padding: 14px 24px;
  border-radius: 4px;
  border: 0;
  cursor: pointer;
}
.button:hover { background: var(--navy); color: var(--white); }
.button.secondary { background: var(--navy); }
.button.secondary:hover { background: var(--tangerine); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.2em 0; }

.badge {
  display: inline-block;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--navy);
  padding: 6px 12px;
  border-radius: 3px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--tangerine);
  border-radius: 4px;
  padding: 28px;
}

.parts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.parts ol { margin: 0; padding-left: 1.4em; font-size: 1rem; }
.parts li { margin-bottom: 0.4em; }
.parts h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.04em; }

ul.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
ul.ticks li { padding-left: 1.6em; position: relative; margin-bottom: 0.5em; }
ul.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.7em;
  height: 0.7em;
  background: var(--tangerine);
  border-radius: 50%;
}

figure { margin: 0; }
figcaption { font-size: 0.95rem; font-style: italic; color: var(--muted); margin-top: 8px; }

.site-footer {
  background: var(--navy);
  border-top: 4px solid var(--gold);
  color: #D5DCE4;
  font-size: 0.95rem;
  padding: 32px 0;
}
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--gold); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; }
.site-footer p { margin: 0; }
