:root {
  color-scheme: dark;
  background: #101310;
  color: #f0eadf;
  font-family: "Inter", system-ui, sans-serif;
  --gutter: clamp(1.25rem, 7vw, 7rem);
  --serif: "Cormorant Garamond", Georgia, serif;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid #d8ad75; outline-offset: 5px; }
.masthead, footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.4rem var(--gutter);
  background: #121611;
}
.masthead { border-bottom: 1px solid #414438; }
.wordmark { font: 600 clamp(1.15rem, 2.2vw, 1.65rem) var(--serif); }
nav { display: flex; gap: clamp(1rem, 3vw, 2rem); font-size: .875rem; }
nav a:hover, footer a:hover { text-decoration: underline; text-underline-offset: .3rem; }
.hero {
  display: grid;
  align-items: center;
  min-height: min(44rem, 82svh);
  padding: clamp(3rem, 5.5vw, 5rem) var(--gutter);
  background: linear-gradient(90deg, #0b0f0cb3, #0b0f0c54 26%, #0b0f0c1a 42%, transparent 62%), url("/assets/trail-police-lights.webp") 63% center / cover no-repeat, #101610;
  border-bottom: 1px solid #44443a;
}
.eyebrow {
  margin: 0 0 1rem;
  color: #e2bd8f;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
h1, h2 { font-family: var(--serif); font-weight: 500; margin: 0; }
h1 { font-size: clamp(3.6rem, 7vw, 7.25rem); letter-spacing: -.055em; line-height: .92; }
h1 span { display: block; }
.byline { color: #e4d9c9; margin: 1rem 0 .6rem; font: 1.32rem var(--serif); }
.release-date { color: #f0d4ac; margin: 0 0 1.15rem; font-size: .85rem; }
.release-date time { margin-left: .35rem; font-weight: 700; white-space: nowrap; }
.button {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  padding: .55rem .75rem;
  background: #eee3d0;
  color: #171a15;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: .87rem;
  font-weight: 700;
  cursor: pointer;
}
.button:hover { background: #d9bc92; }
.release-signup {
  width: min(100%, 25rem);
  padding: .8rem .9rem;
  background: #101610eb;
  border: 1px solid #72634b;
  scroll-margin-top: 1rem;
}
.release-signup h2 { font-size: 1.55rem; }
.release-signup p { margin: .35rem 0 .6rem; color: #e4d9c9; font-size: .9rem; line-height: 1.45; }
.signup-fields { display: flex; flex-wrap: wrap; gap: .45rem; }
.signup-fields input {
  flex: 1 1 9rem;
  min-width: 0;
  min-height: 2.75rem;
  border: 1px solid #9e8a6c;
  border-radius: 0;
  padding: .5rem .65rem;
  background: #171b16;
  color: #f0eadf;
  font: inherit;
}
.signup-fields input::placeholder { color: #c9c1b2; }
.release-signup .signup-status { margin: .9rem 0 0; color: #f2d5ad; }
.social-link { display: inline-block; margin-top: .85rem; font-size: .84rem; text-decoration: underline; text-underline-offset: .24rem; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.author {
  display: grid;
  grid-template-columns: minmax(12rem, .75fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 6rem);
  max-width: 75rem;
  margin: auto;
  padding: clamp(3rem, 7vw, 6rem) var(--gutter);
}
.seal { background: #ede4d2; padding: clamp(1rem, 2.5vw, 2rem); }
.seal img { display: block; width: 100%; height: auto; }
.author .eyebrow { margin-bottom: .75rem; }
h2 { font-size: clamp(2rem, 4.2vw, 3.65rem); line-height: 1.05; }
.author-copy > p:last-child { max-width: 44ch; color: #d0c9bd; line-height: 1.75; margin: 1.2rem 0 0; }
footer { border-top: 1px solid #414438; color: #c9c1b2; font-size: .84rem; }
@media (max-width: 39rem) {
  .masthead { gap: .8rem; padding-block: 1rem; }
  nav { gap: .8rem; font-size: .78rem; }
  .hero { min-height: 35rem; background-position: 55% center; }
  h1 { font-size: clamp(2.65rem, 9.6vw, 4rem); }
  .author { grid-template-columns: 1fr; }
  .seal { max-width: 17rem; }
}

.book-hero {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
}
.book-blurb {
  justify-self: end;
  scroll-margin-top: 1rem;
  width: min(100%, 29rem);
  padding: clamp(1.2rem, 2.8vw, 2.4rem);
  border: 1px solid #b6a17a70;
  background: rgb(11 15 13 / 68%);
  color: #f0eadf;
  line-height: 1.65;
}
.book-blurb p { margin: 0; }
.book-blurb .book-hook {
  margin-top: 1rem;
  color: #f4ddbb;
  font: 500 clamp(1.25rem, 2vw, 1.75rem) / 1.25 var(--serif);
}
@media (max-width: 52rem) {
  .book-hero { grid-template-columns: minmax(0, 1fr); }
  .book-blurb { justify-self: start; }
}
