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

:root {
  color-scheme: light;
  --ink: #252922;
  --muted: #55594e;
  --night: #18241e;
  --night-deep: #111a15;
  --ivory: #f7f4eb;
  --paper: #eee9dd;
  --line: #d6cfc0;
  --copper: #c79860;
  --dark-copper: #795028;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --gutter: clamp(1.25rem, 5.9vw, 6rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
body { margin: 0; color: var(--ink); background: var(--ivory); font: 1rem/1.65 var(--sans); }
body, h1, h2, h3, p { margin-block-start: 0; }
a { color: inherit; text-underline-offset: .25em; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 2px solid #a46932; outline-offset: 5px; }
[hidden] { display: none !important; }
.shell { width: min(100%, 94rem); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: fixed; top: .7rem; left: .7rem; z-index: 5; transform: translateY(-160%); padding: .55rem 1rem; color: var(--ink); background: var(--ivory); }
.skip:focus { transform: translateY(0); }
.kicker { margin-bottom: .9rem; color: var(--dark-copper); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .17em; }
.display { font: 400 clamp(3rem, 5.4vw, 5.75rem)/.94 var(--serif); letter-spacing: -.027em; }
.wordmark { display: inline-flex; align-items: center; gap: .83rem; font: 400 1.74rem/.95 var(--serif); white-space: nowrap; text-decoration: none; }
.mark { flex: 0 0 auto; width: 2.1rem; height: 2.1rem; color: var(--copper); }

.site-header { position: relative; z-index: 1; background: var(--night-deep); color: var(--ivory); }
.home-header { background: #111a15f5; }
.header-inner { min-height: 5.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1.6rem; border-bottom: 1px solid #efe0c122; }
.primary-nav { display: flex; align-items: center; gap: clamp(.9rem, 3vw, 2.75rem); }
.primary-nav a { text-decoration: none; font-size: .96rem; font-weight: 500; white-space: nowrap; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: #e7c28f; }
.nav-catalog { border: 1px solid #c7986088; padding: .42rem .92rem; }

.hero { min-height: clamp(30rem, 47vw, 43rem); display: grid; align-items: center; background: #202c21; color: var(--ivory); position: relative; isolation: isolate; overflow: hidden; }
.hero::before, .hero::after { position: absolute; inset: 0; content: ""; z-index: -1; }
.hero::before { background: url('/assets/orchard.webp') center 57% / cover no-repeat; }
.hero::after { background: linear-gradient(90deg, #101a15f0 0%, #121c16c7 37%, #16201654 66%, #16201623 100%), linear-gradient(0deg, #0f171380, transparent 35%); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(14rem, .56fr); gap: clamp(2rem, 7vw, 7rem); align-items: center; padding-block: clamp(3.7rem, 8vw, 7.2rem); }
.hero .kicker { color: #e5b77b; margin-bottom: 1.35rem; }
.hero h1 { margin-bottom: 1.5rem; font-size: clamp(4.4rem, 7.6vw, 8.2rem); }
.hero h1 em { color: #e2b980; font-weight: 400; }
.hero-description { max-width: 34rem; margin-bottom: 2.1rem; color: #f1eadc; font-size: clamp(1rem, 1.3vw, 1.16rem); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .68rem 1.28rem; border: 1px solid transparent; background: var(--night); color: var(--ivory); font-weight: 700; font-size: .91rem; text-decoration: none; transition: background-color .18s ease, border-color .18s ease; }
.button:hover { background: #2d4436; }
.button-copper { color: #211c14; background: #dfb47e; }
.button-copper:hover { background: #f2cc98; }
.button-outline { background: transparent; border-color: #8d8d78; color: var(--ink); }
.button-outline:hover { background: #e9e3d4; }
.hero-feature { justify-self: center; display: grid; justify-items: start; width: min(100%, 13.9rem); text-decoration: none; transform: rotate(4deg); transform-origin: 50% 85%; transition: transform .2s ease; }
.hero-feature:hover, .hero-feature:focus-visible { transform: rotate(1deg) translateY(-4px); }
.hero-feature img { width: 100%; aspect-ratio: 5 / 8; object-fit: cover; box-shadow: 0 18px 44px #050a06bd, -4px 4px 3px #0407069c; border-radius: 2px 4px 4px 2px; }
.hero-feature span { color: #fbf0df; font-size: .86rem; font-weight: 600; margin-top: .85rem; text-shadow: 0 1px 5px #070a06; }

.section { padding-block: clamp(3.55rem, 6.4vw, 6.25rem); }
.section h2 { margin-bottom: .62rem; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.9rem; }
.section-head p:last-child { margin-bottom: 0; color: var(--muted); }
.catalog-tools { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; margin-bottom: 1.7rem; }
.filter { color: var(--ink); border: 1px solid var(--line); background: transparent; min-height: 2.45rem; padding: .36rem .9rem; font-size: .86rem; font-weight: 600; transition: background-color .18s ease; }
.filter:hover { background: #e9e3d4; }
.filter[aria-pressed="true"] { color: var(--ivory); border-color: var(--night); background: var(--night); }
.catalog-result { margin: 0 0 1rem auto; display: block; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

.book-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: clamp(.8rem, 2.25vw, 2.25rem); row-gap: 2.5rem; }
.book-card { min-width: 0; }
.card-cover { display: grid; place-items: center; aspect-ratio: 1 / 1.18; background: var(--mat, #e4dfd2); }
.card-cover img { height: 83%; width: auto; max-width: 77%; object-fit: contain; box-shadow: 4px 8px 15px #2c2a2540; transition: transform .25s ease, box-shadow .25s ease; }
.book-card-link:hover .card-cover img { transform: translateY(-4px); box-shadow: 6px 11px 18px #2c2a254a; }
.card-meta { margin: .9rem 0 .15rem; color: var(--dark-copper); font-size: .76rem; font-weight: 700; letter-spacing: .095em; text-transform: uppercase; }
.book-card h3 { margin: 0 0 .25rem; font: 400 clamp(1.45rem, 2.35vw, 2.15rem)/1.04 var(--serif); }
.book-card-link { display: block; text-decoration: none; }
.book-card-link:hover h3 { text-decoration: underline; }
.byline { margin-bottom: 0; color: var(--muted); font-size: .91rem; }
.byline a { text-decoration: none; }
.byline a:hover { text-decoration: underline; }

.series-section { background: #eae5d8; border-block: 1px solid #ded7c6; }
.series-grid { display: grid; gap: clamp(1rem, 2.7vw, 2.2rem); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.series-tile { min-height: 10.5rem; border-top: 1px solid #92836e; padding-top: 1.25rem; }
.series-tile h3, .author-tile h3, .book-related h2 { margin: 0 0 .5rem; font: 400 clamp(2rem, 3vw, 3rem)/1 var(--serif); }
.series-tile p, .author-tile p { color: var(--muted); margin-bottom: 1rem; }
.text-link { font-size: .9rem; font-weight: 700; text-decoration-thickness: 1px; }
.text-link:hover { color: var(--dark-copper); }
.author-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1.55rem; }
.author-tile { min-width: 0; }
.author-tile-link { display: block; text-decoration: none; }
.author-tile-link:hover h3 { text-decoration: underline; }
.author-portrait { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; background: var(--paper); }
.author-tile .author-portrait { margin-bottom: .9rem; }
.author-tile h3 { font-size: clamp(1.8rem, 2.65vw, 2.55rem); }
.author-tile .kicker { margin-bottom: .55rem; letter-spacing: .1em; }

.crumbs { display: flex; flex-wrap: wrap; gap: .55rem; align-items: center; font-size: .89rem; margin-bottom: clamp(1.7rem, 4vw, 3.15rem); color: var(--muted); }
.crumbs span[aria-hidden] { opacity: .65; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem; }
.share-status { margin: .55rem 0 0; font-size: .87rem; color: var(--muted); }
.share-status:empty { display: none; }
.book-related { padding-top: 2.7rem; margin-top: 3.25rem; border-top: 1px solid var(--line); }
.book-related h2 { margin-bottom: 1.5rem; }
.author-intro, .about-copy { max-width: 47rem; }
.author-profile { display: grid; grid-template-columns: minmax(12rem, 19rem) minmax(0, 1fr); align-items: center; gap: clamp(1.5rem, 5vw, 4.4rem); }
.author-intro h1 { margin-bottom: 1rem; }
.author-intro p:not(.kicker), .about-copy p { max-width: 40rem; font-size: 1.08rem; }
.about-hero { background: #eae5d8; }
.about-copy h1 { margin-bottom: 1.2rem; }
.about-copy .button { margin-top: .3rem; }

.footer { background: var(--night-deep); color: var(--ivory); }
.footer-inner { padding-block: 2rem 1.7rem; display: flex; gap: 1.3rem 2rem; justify-content: space-between; flex-wrap: wrap; align-items: center; }
.footer p { margin: 0; color: #d2cbbb; font-size: .85rem; }
.footer .wordmark { font-size: 1.5rem; }
.footer .mark { width: 1.65rem; height: 1.65rem; }
.footer nav { display: flex; flex-wrap: wrap; gap: .95rem; }
.footer nav a { font-size: .9rem; text-decoration: none; }
.footer nav a:hover { color: #e2b980; }

@media (max-width: 950px) {
  .book-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .author-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 650px) {
  .header-inner { min-height: 4.45rem; gap: .8rem; }
  .wordmark { font-size: 1.43rem; gap: .47rem; }
  .mark { width: 1.55rem; height: 1.55rem; }
  .primary-nav { gap: .63rem; }
  .primary-nav a { font-size: .84rem; }
  .nav-catalog { border: 0; padding: 0; }
  .hero-inner { grid-template-columns: minmax(0,1fr); gap: 0; padding-block: 5rem 4.8rem; }
  .hero h1 { font-size: clamp(4rem, 13vw, 5.6rem); }
  .hero-feature { display: none; }
  .hero::before { background-position: 61% center; }
  .hero::after { background: linear-gradient(90deg, #101a15ef, #121c16a8 70%, #16201672); }
  .series-grid { grid-template-columns: minmax(0,1fr); }
  .series-tile { min-height: 0; }
  .author-profile { grid-template-columns: minmax(0,1fr); }
  .author-profile .author-portrait { max-width: 16rem; }
  .book-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 350px) {
  :root { --gutter: 1rem; }
  .primary-nav { gap: .58rem; }
  .primary-nav a { font-size: .79rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

.mark { display: inline-grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; font: italic 1.35rem/.9 var(--serif); }
.wordmark small { font: 700 .52em/1 var(--sans); text-transform: uppercase; letter-spacing: .18em; vertical-align: .16em; margin-left: .12em; color: #e2b980; }
.catalog-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.about-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.13fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.about-art { width: 100%; }
@media (max-width: 950px) {
  .catalog-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 650px) {
  .catalog-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .about-layout { grid-template-columns: minmax(0,1fr); }
  .mark { font-size: 1.05rem; }
  .header-inner .wordmark small { display: none; }
}

body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
@media (min-width: 651px) {
  .hero { min-height: clamp(30rem, 42vw, 37rem); }
  .hero-inner { padding-block: clamp(3.25rem, 5.7vw, 5.25rem); }
}

.book-feature {
  --book-base: #1a271f;
  --book-accent: #e5bb7f;
  --book-button-ink: #211c14;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fbf3e6;
  background-color: var(--book-base);
}
.book-feature--thirty-one-minutes { --book-base: #48242e; --book-accent: #f0c3bd; --book-button-ink: #341c24; }
.book-feature--south-lift { --book-base: #2c2825; --book-accent: #edc396; --book-button-ink: #312119; }
.book-feature--the-receiving-ground { --book-base: #182629; --book-accent: #c8c8aa; --book-button-ink: #1d2922; }
.book-feature--the-evacuation-that-never-happened { --book-base: #10282f; --book-accent: #b5d9df; --book-button-ink: #172b31; }
.book-feature::before, .book-feature::after { position: absolute; z-index: -1; content: ""; }
.book-feature::before {
  inset: 0 0 0 34%;
  background: var(--book-art) 60% 48% / cover no-repeat;
}
.book-feature::after {
  inset: 0;
  background:
    linear-gradient(90deg, var(--book-base) 20%, color-mix(in srgb, var(--book-base) 94%, transparent) 35%, transparent 95%),
    linear-gradient(0deg, var(--book-base), transparent 31%),
    #101a1426;
}
.book-feature-inner {
  min-height: clamp(28rem, 44vw, 41rem);
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(10rem, .8fr);
  gap: clamp(1.5rem, 6vw, 6rem);
  align-items: center;
  padding-block: clamp(3rem, 6vw, 6.1rem);
}
.book-feature .kicker { color: var(--book-accent); margin-bottom: 1.15rem; }
.book-feature-content h1 {
  max-width: 13ch;
  margin-bottom: 1.15rem;
  font-size: clamp(3.6rem, 6.4vw, 7rem);
  text-wrap: balance;
}
.book-feature-hook { max-width: 30ch; color: var(--book-accent); font: italic 400 clamp(1.55rem, 3vw, 2.45rem)/1.14 var(--serif); margin-bottom: 1.2rem; text-wrap: balance; }
.book-feature-byline { color: #f4edddd9; margin-bottom: 1.55rem; font-size: .95rem; }
.book-purchase-primary { background: var(--book-accent); color: var(--book-button-ink); }
.book-purchase-primary:hover { background: color-mix(in srgb, var(--book-accent), white 21%); }
.book-purchase-outline { background: #0002; border-color: #fbf3e691; }
.book-purchase-outline:hover { background: #fbf3e629; }
.book-feature-cover { justify-self: center; width: clamp(10rem, 23vw, 17.5rem); }
.book-feature-cover img { width: 100%; aspect-ratio: 5 / 8; object-fit: contain; filter: drop-shadow(0 .8rem 1.3rem #06080792); }

.book-page-body { padding-block: clamp(2.7rem, 6vw, 5rem); }
.book-editorial { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.94fr); align-items: start; gap: clamp(2.2rem, 5.8vw, 6.2rem); }
.book-editorial .display { font-size: clamp(2.8rem, 4.6vw, 4.35rem); margin-bottom: 1.35rem; }
.book-synopsis p:not(.share-status) { max-width: 36rem; font-size: clamp(1.03rem, 1.4vw, 1.14rem); margin-bottom: 1.1rem; }
.book-share { margin-top: .3rem; }
.trailer-preview {
  display: grid;
  position: relative;
  isolation: isolate;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--night);
  color: var(--ivory);
  text-decoration: none;
  place-items: end stretch;
}
.trailer-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .3s ease; }
.trailer-preview:hover img { transform: scale(1.04); }
.trailer-preview::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg,#0d1514f1, #10181740 55%,transparent); z-index: -1; }
.trailer-preview-caption { display: flex; align-items: center; gap: .65rem; padding: clamp(.75rem, 2vw, 1.05rem); font-size: .95rem; font-weight: 700; }
.play-icon { width: 2.25rem; height: 2.25rem; flex: none; display: grid; place-items: center; border-radius: 50%; background: #e6bd85; }
.play-icon::after { content: ""; width: .65rem; height: .73rem; margin-left: .1rem; background: #252018; clip-path: polygon(0 0,100% 50%,0 100%); }
.trailer-time { margin-left: auto; color: #f3e0c4; font-size: .83rem; font-weight: 600; }
.trailer-description { margin-top: .65rem; color: var(--muted); font-size: .9rem; }
.trailer-description summary, .press-summary summary { width: fit-content; font-weight: 700; }
.trailer-description p { margin: .5rem 0 0; max-width: 37rem; }
.trailer-player {
  width: min(calc(100% - 1rem), 27rem);
  max-height: calc(100dvh - 1rem);
  border: 1px solid #74644d;
  padding: 0;
  background: #111a18;
  color: #fbf3e6;
  box-shadow: 0 1rem 4rem #000a;
}
.trailer-player::backdrop { background: #080e0de0; }
.trailer-player-head { display: flex; align-items: center; justify-content: space-between; gap: .65rem; padding: .75rem .9rem; }
.trailer-player-head h2 { margin: 0; font: 400 1.35rem/1.13 var(--serif); }
.trailer-close { border: 1px solid #8e8169; background: none; color: inherit; padding: .3rem .62rem; }
.trailer-player video { display: block; width: 100%; max-height: min(78dvh,44rem); aspect-ratio: 9 / 16; height: auto; object-fit: contain; background: #0a1110; }
.trailer-error { padding: .75rem 1rem; margin: 0; font-size: .9rem; }

.reading-route { margin-top: clamp(2.5rem, 6vw, 4.8rem); }
.reading-route-link {
  display: grid;
  grid-template-columns: minmax(5rem, 9rem) minmax(0,1fr);
  gap: clamp(1.05rem, 3.2vw, 3rem);
  align-items: center;
  padding: clamp(.9rem, 2.8vw, 2.2rem);
  background: #eae5d8;
  text-decoration: none;
}
.reading-route-cover { display: grid; place-items: center; padding: .62rem; background: var(--mat, var(--paper)); }
.reading-route-cover img { max-height: 11rem; width: auto; object-fit: contain; box-shadow: 3px 5px 10px #2c2a253d; }
.reading-route-link .kicker { margin-bottom: .48rem; }
.reading-route-link h2 { margin-bottom: .45rem; font-size: clamp(2rem, 4.5vw, 4rem); }
.reading-route-link:hover h2 { text-decoration: underline; }
.reading-route-link p:last-child { margin: 0; color: var(--muted); }

.press-hero { background: var(--night); color: var(--ivory); }
.press-hero-inner { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 1.5rem 2rem; padding-block: clamp(2.8rem, 6.8vw, 6rem); }
.press-hero .kicker { color: #e6bd85; }
.press-hero h1 { margin-bottom: .75rem; }
.press-hero p:last-child { margin-bottom: 0; color: #f3ebde; }
.press-directory { padding-block: clamp(1.6rem, 3.7vw, 3.35rem); }
.press-book { display: grid; grid-template-columns: 5.8rem minmax(0,1fr) max-content; align-items: start; gap: clamp(.9rem, 3vw, 2.3rem); padding-block: 1.6rem; border-bottom: 1px solid var(--line); }
.press-book:last-child { border-bottom: 0; }
.press-cover img { width: 100%; aspect-ratio: 5 / 8; object-fit: contain; box-shadow: 3px 6px 12px #281e2228; }
.press-book-info .kicker { font-size: .73rem; margin-bottom: .35rem; }
.press-book-info h2 { margin: 0 0 .37rem; font: 400 clamp(1.85rem, 3vw, 2.75rem)/1.04 var(--serif); }
.press-book-info h2 a { text-decoration: none; }
.press-book-info h2 a:hover { text-decoration: underline; }
.press-retail { margin: .4rem 0 .65rem; font-size: .9rem; }
.press-summary { font-size: .9rem; }
.press-summary-body { color: var(--muted); max-width: 44rem; margin-top: .65rem; }
.press-summary-body h3 { margin: .8rem 0 .35rem; font-size: 1rem; }
.press-summary-body p { margin-bottom: .65rem; }
.press-book-downloads { display: grid; justify-items: start; align-content: start; gap: .5rem; }

@media (max-width: 650px) {
  .header-inner { gap: .5rem; }
  .wordmark { font-size: 1.3rem; }
  .book-feature-inner { min-height: 0; grid-template-columns: minmax(0,1fr); gap: 2rem; padding-block: 2.7rem 2rem; }
  .book-feature-content h1 { max-width: 11ch; font-size: clamp(3.35rem, 12vw, 5rem); }
  .book-feature .actions .button { padding-inline: .82rem; font-size: .86rem; }
  .book-feature-cover { width: min(46%, 10.15rem); }
  .book-feature::before { inset: 0; background-position: 65% center; }
  .book-feature::after { background: linear-gradient(110deg, var(--book-base) 5%, color-mix(in srgb,var(--book-base) 76%,transparent) 75%), linear-gradient(0deg,var(--book-base),transparent 42%); }
  .book-editorial { grid-template-columns: minmax(0,1fr); }
  .press-book { grid-template-columns: 4.4rem minmax(0,1fr); }
  .press-book-downloads { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
  .press-book-downloads .button { min-height: 2.55rem; padding: .45rem .7rem; font-size: .81rem; }
}
@media (max-width: 360px) {
  .primary-nav { gap: .46rem; }
  .wordmark { font-size: 1.2rem; }
  .primary-nav a { font-size: .77rem; }
}
