:root {
  --ink: #2b211c;
  --muted: #6f6258;
  --paper: #fbf6ec;
  --paper-deep: #f0e4d1;
  --panel: #fffaf1;
  --line: #dac8ab;
  --charcoal: #191211;
  --cinder: #2f211c;
  --gold: #c99a45;
  --gold-deep: #8d6426;
  --red: #8b3127;
  --sage: #506a5e;
  --white: #ffffff;
  --shadow: 0 14px 30px rgba(31, 21, 17, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--charcoal) url("../images/body-bg.gif") repeat;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.65;
}

body.nav-open {
  overflow: hidden;
}

img,
iframe {
  max-width: 100%;
}

img {
  display: block;
  height: auto;
}

a {
  color: #7d2d24;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover,
a:focus-visible {
  color: #4f6a5e;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.7rem;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.15;
}

h1 {
  font-size: 2.25rem;
}

h2 {
  font-size: 1.75rem;
}

h3 {
  font-size: 1.3rem;
}

h4 {
  font-size: 1.08rem;
}

p {
  margin: 0 0 1rem;
}

ul,
ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

li + li {
  margin-top: 0.35rem;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 0;
  z-index: 20;
  padding: 0.65rem 1rem;
  color: var(--white);
  background: var(--red);
  transform: translateY(-120%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 10;
  color: var(--white);
  background: rgba(25, 18, 17, 0.96);
  border-bottom: 4px solid var(--gold);
}

.header-inner,
.section-inner,
.footer-inner {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 1rem;
}

.brand {
  display: inline-grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--charcoal);
  background: var(--gold);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 700;
}

.brand-title {
  display: block;
  font-size: 1.18rem;
  line-height: 1;
}

.brand-subtitle {
  display: block;
  margin-top: 0.25rem;
  color: #d9c8aa;
  font-size: 0.84rem;
  line-height: 1.2;
}

.nav-toggle {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  padding: 0;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 6px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 7px 0 currentColor, 0 -7px 0 currentColor;
}

.site-nav {
  position: fixed;
  inset: 76px 0 auto;
  display: none;
  padding: 1rem;
  background: rgba(25, 18, 17, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

body.nav-open .site-nav {
  display: block;
}

.site-nav ul {
  display: grid;
  gap: 0.45rem;
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: block;
  min-height: 44px;
  padding: 0.7rem 0.9rem;
  color: #f8ead1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 700;
}

.site-nav a[aria-current="page"],
.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--charcoal);
  background: var(--gold);
  border-color: var(--gold);
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--cinder);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(17, 12, 11, 0.54);
}

.hero-home {
  background-image: url("../images/slide-1.jpg");
  background-position: center;
  background-size: cover;
}

.hero-inner {
  position: relative;
  display: grid;
  gap: 1.5rem;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 2.5rem;
}

.hero-copy {
  max-width: 710px;
}

.kicker {
  margin: 0 0 0.65rem;
  color: #f0d198;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  color: var(--white);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.44);
}

.hero p {
  max-width: 640px;
  color: #f7ead7;
  font-size: 1.05rem;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.15rem;
}

.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.72rem 1rem;
  color: var(--charcoal);
  background: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 6px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button:hover,
.button:focus-visible,
button.button:hover,
button.button:focus-visible {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
}

.button.secondary {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.56);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  color: var(--charcoal);
  background: #f7ead1;
}

.cover-feature {
  align-self: start;
  justify-self: center;
  max-width: 245px;
  filter: drop-shadow(0 18px 18px rgba(0, 0, 0, 0.42));
}

.content-band {
  background: var(--paper);
}

.content-band.alt {
  background: var(--paper-deep);
}

.section-inner {
  padding: 2rem 0;
}

.section-title {
  margin-bottom: 1.25rem;
}

.two-column {
  display: grid;
  gap: 1.5rem;
}

.main-copy {
  min-width: 0;
}

.sidebar {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.panel,
.quote-panel,
.buy-panel,
.story-panel,
.download-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.panel,
.quote-panel,
.buy-panel,
.download-panel {
  padding: 1rem;
}

.quote-panel {
  border-left: 5px solid var(--gold);
}

.quote-panel blockquote {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.quote-panel cite {
  display: block;
  margin-top: 0.8rem;
  color: var(--muted);
  font-style: normal;
  text-align: right;
}

.feature-list {
  display: grid;
  gap: 0.6rem;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  margin: 0;
  padding-left: 1.35rem;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
}

.book-cover {
  width: min(230px, 100%);
  margin: 0 auto 1rem;
}

.meta-list {
  display: grid;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
  text-align: center;
}

.photo-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.photo-strip img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.page-hero {
  background: var(--cinder);
}

.page-hero .hero-inner {
  padding: 1.75rem 0;
}

.page-hero h1 {
  margin-bottom: 0.35rem;
}

.page-hero p {
  margin-bottom: 0;
}

.author-photo {
  width: min(360px, 100%);
  margin: 0 auto 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.story-grid {
  display: grid;
  gap: 1rem;
}

.story-panel {
  overflow: hidden;
}

.story-panel figure {
  margin: 0;
}

.story-panel img {
  width: 100%;
}

.story-panel figcaption,
.story-panel .story-body {
  padding: 1rem;
}

.story-panel figcaption {
  color: var(--muted);
  font-size: 0.95rem;
}

.toc {
  max-height: none;
  padding-left: 1.25rem;
}

.toc li {
  padding-bottom: 0.35rem;
  border-bottom: 1px solid rgba(218, 200, 171, 0.7);
}

.video-frame {
  overflow: hidden;
  background: #0d0b0b;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.video-frame iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
}

.download-grid,
.quote-grid,
.purchase-grid {
  display: grid;
  gap: 1rem;
}

.download-panel img {
  width: 86px;
  margin-bottom: 0.8rem;
}

.contact-block {
  display: grid;
  gap: 1rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
  max-width: 760px;
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field label {
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
}

.field label span {
  color: var(--red);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 0.72rem 0.8rem;
  color: var(--ink);
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
}

.field textarea {
  min-height: 180px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid rgba(201, 154, 69, 0.38);
  border-color: var(--gold-deep);
}

.form-help {
  margin: -0.1rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.alert {
  margin: 0 0 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.alert p:last-child,
.alert ul:last-child {
  margin-bottom: 0;
}

.alert.success {
  color: #223a2f;
  background: #e8f2ec;
  border-color: #9bb8a8;
}

.alert.error {
  color: #5b1e19;
  background: #f8e8e3;
  border-color: #d5a79c;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  color: #efe0c4;
  background: #171010;
  border-top: 4px solid var(--gold);
}

.footer-inner {
  display: grid;
  gap: 1rem;
  padding: 1.5rem 0;
}

.footer-inner h2,
.footer-inner h3 {
  color: var(--white);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: #f7d596;
}

.fine-print {
  color: #c4b394;
  font-size: 0.92rem;
}

@media (min-width: 760px) {
  body {
    font-size: 18px;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2rem;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: block;
    padding: 0;
    background: transparent;
    border: 0;
  }

  .site-nav ul {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.3rem;
  }

  .site-nav a {
    min-height: 40px;
    padding: 0.55rem 0.65rem;
    border-color: transparent;
    font-size: 0.74rem;
  }

  .brand-title {
    font-size: 1.45rem;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr) 280px;
    align-items: center;
    padding: 3.2rem 0;
  }

  .page-hero .hero-inner {
    grid-template-columns: 1fr;
  }

  .two-column {
    grid-template-columns: minmax(0, 1fr) 290px;
    align-items: start;
  }

  .section-inner {
    padding: 2.7rem 0;
  }

  .photo-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .download-grid,
  .quote-grid,
  .purchase-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-block {
    grid-template-columns: minmax(0, 1fr) 280px;
  }
}

@media (min-width: 1040px) {
  .site-nav a {
    padding: 0.65rem 0.85rem;
    font-size: 0.78rem;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr) 330px;
  }

  .cover-feature {
    max-width: 290px;
  }
}
