:root {
  color-scheme: light;
  --ink: #19262e;
  --midnight: #14232c;
  --deep: #101b22;
  --paper: #f5f2e9;
  --parchment: #e4d2af;
  --bronze: #786044;
  --gold: #ddb687;
  --mist: #c4cbca;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Avenir Next", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--deep);
  color: var(--ink);
  font: 1rem/1.65 var(--sans);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .22em; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}
button { font: inherit; }
[hidden] { display: none !important; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; }
h2 { font-size: clamp(2.3rem, 5vw, 4.4rem); letter-spacing: -.045em; line-height: 1.02; }
p + p { margin-top: .9rem; }
.skip {
  position: absolute;
  z-index: 5;
  top: .6rem;
  left: .6rem;
  transform: translateY(-200%);
  color: var(--deep);
  background: var(--paper);
  padding: .6rem .9rem;
}
.skip:focus { transform: none; }
.wrap { width: min(100% - 5.5rem, 72rem); margin-inline: auto; }
.eyebrow {
  color: var(--bronze);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .135em;
  line-height: 1.45;
  text-transform: uppercase;
}
.eyebrow a { text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }

.site-header {
  position: relative;
  z-index: 2;
  color: var(--paper);
  background: var(--deep);
  border-bottom: 1px solid #cba27638;
}
.header-row, .footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.header-row { min-height: 5.3rem; }
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  font: .81rem/1.02 var(--serif);
  letter-spacing: .15em;
  text-transform: uppercase;
  text-decoration: none;
}
.wordmark strong {
  display: block;
  margin-top: .2rem;
  color: var(--parchment);
  font-size: 1.07rem;
  font-weight: 400;
  letter-spacing: .11em;
}
.compass-mark {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  color: var(--gold);
  border: 1px solid #ddb68770;
  border-radius: 50%;
  font: 1.85rem/1 var(--serif);
  letter-spacing: 0;
}
.site-header nav { display: flex; align-items: center; gap: clamp(1.25rem, 3vw, 2.7rem); }
.site-header nav a, .footer-row a {
  font-size: .9rem;
  padding-block: .4rem;
  text-decoration: none;
}
.site-header nav a:hover, .footer-row a:hover { color: var(--gold); text-decoration: underline; }
.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: .45rem .7rem;
  color: var(--paper);
  background: transparent;
  border: 1px solid #ddb68770;
  cursor: pointer;
}
.menu-icon { width: .9rem; height: .57rem; border-block: 1px solid; }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: clamp(31rem, 43vw, 40rem);
  align-items: center;
  overflow: hidden;
  color: var(--paper);
  background: var(--midnight);
}
.hero-art, .hero::after, .hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-art { z-index: -2; }
.hero-art img { object-fit: cover; object-position: 65% center; }
.hero::after {
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, #101b22 1%, #101b22f7 17%, #101b22c9 32%, #101b2220 63%, #101b2208 100%),
    linear-gradient(0deg, #101b22b8, transparent 30%, transparent 85%, #101b2240);
}
.hero-inner { padding-block: 4.75rem; }
.hero .eyebrow, .series .eyebrow { color: var(--gold); }
.hero h1 {
  margin-block: .75rem 1.1rem;
  font-size: clamp(4rem, 8.2vw, 7.9rem);
  line-height: .92;
  letter-spacing: -.065em;
}
.hero h1 em { color: var(--parchment); font-weight: 400; }
.hero-copy > p:not(.eyebrow) {
  max-width: 24rem;
  margin-bottom: 1.75rem;
  color: #e8e4da;
  font-size: clamp(1rem, 1.6vw, 1.22rem);
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 3rem;
  padding: .7rem 1.18rem;
  border: 1px solid transparent;
  font-size: .9rem;
  font-weight: 650;
  line-height: 1.35;
  text-decoration: none;
}
.button-gold { color: var(--deep); background: var(--gold); }
.button-gold:hover { background: #edc79b; }
.button-gold:focus-visible { outline-color: var(--gold); }
.button-ink { color: var(--paper); background: var(--midnight); }
.button-ink:hover { background: #30454e; }
.button-ink:focus-visible { outline-color: var(--ink); }
.text-link { font-weight: 650; }
.text-link:hover { color: var(--bronze); }

.feature {
  padding-block: clamp(4rem, 8vw, 7.2rem);
  background: radial-gradient(ellipse at 18% 45%, #e9dfc9, transparent 47%), var(--paper);
}
.feature-grid {
  display: grid;
  grid-template-columns: minmax(15rem, .74fr) minmax(0, 1.14fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 6.7rem);
}
.cover-figure {
  justify-self: center;
  width: min(100%, 22rem);
  overflow: hidden;
  border-radius: 2px 5px 5px 2px;
  box-shadow: 13px 15px 38px #19262e42, 2px 3px 5px #19262e55;
}
.feature h2, .about h2 { margin-block: .65rem 1.1rem; }
.book-hook { margin-bottom: 1.2rem; font: italic 1.25rem/1.4 var(--serif); color: #634a32; }
.feature-copy > p:not(.eyebrow, .book-hook, .availability), .about-copy > p:not(.eyebrow) { max-width: 57ch; }
.book-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.35rem; margin-top: 1.6rem; }
.availability { margin-top: .85rem; color: #53534b; font-size: .9rem; }
.excerpt { grid-column: 1 / -1; display: none; }
.excerpt[open], .excerpt:target { display: block; }
.excerpt summary {
  display: list-item;
  padding: 1rem 0;
  border-block: 1px solid #78604470;
  font-weight: 650;
  cursor: pointer;
}
.excerpt:not([open]) summary:hover { color: var(--bronze); }
.reading { width: min(100%, 41rem); margin: 2.2rem auto 0; }
.reading h3 { font-size: clamp(1.85rem, 4vw, 2.7rem); margin: .2rem 0 1.2rem; line-height: 1.12; }
.reading > p:not(.eyebrow, .excerpt-end) {
  margin-bottom: .85rem;
  font: 1.16rem/1.72 var(--serif);
}
.excerpt-end { padding-top: .7rem; color: var(--bronze); font-size: .875rem; }

.series {
  color: var(--paper);
  padding-block: clamp(4rem, 7vw, 6.3rem);
  background: linear-gradient(115deg, var(--midnight), #263c44 140%);
}
.series-intro {
  display: grid;
  grid-template-columns: 1fr .8fr;
  align-items: end;
  gap: 1.5rem 3rem;
}
.series h2 { margin-top: .65rem; }
.series-intro > p, .crew p { color: var(--mist); }
.book-list { margin: 2.3rem 0 0; padding: 0; list-style: none; border-top: 1px solid #e4d2af48; }
.book-list li {
  display: grid;
  grid-template-columns: 1fr .8fr;
  align-items: baseline;
  gap: .25rem 3rem;
  padding: .86rem 0;
  border-bottom: 1px solid #e4d2af48;
}
.book-list cite { font: 1.27rem/1.35 var(--serif); }
.book-list a:hover { color: var(--gold); }
.book-list li > span { color: var(--mist); font-size: .9rem; }
.crew-title { margin-top: 2.55rem; font-size: 1.65rem; color: var(--parchment); }
.crew { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem 2.5rem; margin-top: .85rem; }
.crew article { border-top: 1px solid #e4d2af48; padding-top: .85rem; }
.crew h4 { font-size: 1.25rem; margin-bottom: .35rem; }

.about { background: var(--paper); padding-block: clamp(3.8rem, 7vw, 6.3rem); }
.about-grid { display: grid; grid-template-columns: .62fr 1fr; gap: clamp(2rem, 7vw, 6rem); align-items: center; }
.emblem { width: min(100%, 19rem); justify-self: center; border-radius: 4px; box-shadow: 7px 10px 25px #19262e36; }
.about-copy .text-link { display: inline-block; margin-top: 1.2rem; }

.contact { background: var(--parchment); padding-block: 2.1rem; }
.contact-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .8rem 2rem; }
.contact h2 { font-size: clamp(1.9rem, 3.8vw, 2.6rem); letter-spacing: -.035em; margin-bottom: .35rem; }
.email-link { font-weight: 650; overflow-wrap: anywhere; }
.email-link:hover { color: #624b34; }
.site-footer { color: var(--mist); padding-block: 1rem; background: var(--deep); }

@media (max-width: 900px) {
  .wrap { width: min(100% - 3rem, 72rem); }
  .series-intro, .book-list li { grid-template-columns: 1fr 1fr; gap: .5rem 1.4rem; }
  .crew { gap: 1.2rem; }
}
@media (max-width: 700px) {
  .wrap { width: min(100% - 2.5rem, 36rem); }
  .header-row { min-height: 4.5rem; flex-wrap: wrap; gap: 0; }
  .wordmark { padding-block: .75rem; }
  .site-header nav { flex: 1 0 100%; flex-wrap: wrap; column-gap: 1.25rem; row-gap: 0; padding-bottom: .55rem; }
  .js .site-header nav { flex-direction: column; align-items: stretch; padding-bottom: .85rem; }
  .js .site-header nav a { padding: .6rem 0; border-top: 1px solid #ddb68736; }
  .hero { align-items: end; min-height: 33rem; }
  .hero-art img { object-position: 55% top; }
  .hero::after { background: linear-gradient(0deg, #101b22 2%, #101b22f4 23%, #101b22a6 58%, #101b2220 100%); }
  .hero-inner { padding-block: 11rem 2.85rem; }
  .hero h1 { font-size: clamp(3.7rem, 13vw, 5.7rem); }
  .feature-grid, .series-intro, .about-grid { grid-template-columns: 1fr; gap: 1.85rem; }
  .cover-figure { width: min(67%, 16.25rem); }
  .book-list li, .crew { grid-template-columns: 1fr; }
  .emblem { width: min(68%, 15rem); }
  .about-copy { grid-row: 1; }
}
@media (max-width: 360px) {
  .header-row { width: calc(100% - 2rem); }
  .menu-toggle { font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
