:root {
  --black: #080707;

  --black-soft: #111010;

  --burgundy: #3b1017;

  --gold: #c8a45a;

  --gold-light: #e3c982;

  --ivory: #f4eee2;

  --muted: #aaa39a;

  --border: rgba(200, 164, 90, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* =========================================
   GLOBAL SCROLLBAR
========================================= */

html {
  scrollbar-width: thin;
  scrollbar-color: #c8a45a #080707;
}

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #080707;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    #e3c982,
    #c8a45a
  );

  border-radius: 999px;

  border: 2px solid #080707;
}

::-webkit-scrollbar-thumb:hover {
  background: #e3c982;
}

/* Horizontal scrollbar */
::-webkit-scrollbar:horizontal {
  height: 8px;
}

/* Prevent accidental horizontal scrolling */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;

  background:
    radial-gradient(circle at 50% 0%, rgba(75, 18, 27, 0.42), transparent 30%),
    linear-gradient(180deg, #080707 0%, #0d0909 100%);

  color: var(--ivory);

  font-family: "Manrope", sans-serif;

  line-height: 1.7;
  letter-spacing: 0.01em;
}

body::before {
  content: "";

  position: fixed;

  inset: 0;

  pointer-events: none;

  opacity: 0.035;

  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");

  z-index: 999;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.navbar {
  position: fixed;

  top: 0;

  left: 0;

  right: 0;

  z-index: 100;

  height: 82px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  padding: 0 5vw;

  transition:
    background 0.3s,
    backdrop-filter 0.3s;
}

.navbar.scrolled {
  background: rgba(8, 7, 7, 0.88);

  backdrop-filter: blur(16px);

  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;

  flex-direction: column;

  line-height: 0.8;
}

.brand span {
  font-size: 11px;

  letter-spacing: 0.32em;
}

.brand strong {
  color: var(--gold);

  font-family: "Cormorant Garamond", serif;

  font-size: 27px;

  letter-spacing: 0.08em;
}

.navbar nav {
  display: flex;

  gap: 32px;
}

.navbar nav a {
  font-size: 12px;

  text-transform: uppercase;

  letter-spacing: 0.1em;

  color: var(--muted);
}

.navbar nav a:hover {
  color: var(--gold-light);
}

.nav-buy {
  display: inline-block;

  border: 1px solid var(--gold);

  background: transparent;

  color: var(--gold-light);

  padding: 11px 20px;

  cursor: pointer;

  font-size: 11px;

  letter-spacing: 0.12em;

  white-space: nowrap;
}

.hero {
  min-height: 100vh;

  display: grid;

  grid-template-columns: 1.1fr 0.9fr;

  align-items: center;

  gap: 5vw;

  padding: 120px 8vw 80px;

  position: relative;

  overflow: hidden;
}

.hero::before {
  content: "";

  position: absolute;

  width: 650px;

  height: 650px;

  border-radius: 50%;

  background: rgba(105, 24, 37, 0.25);

  filter: blur(100px);

  right: -180px;

  top: 80px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.eyebrow {
  color: var(--gold);

  font-size: 11px;

  font-weight: 700;

  letter-spacing: 0.28em;

  text-transform: uppercase;
}

.hero h1 {
  font-family: "Cormorant Garamond", serif;

  font-size: clamp(58px, 8vw, 120px);

  line-height: 0.82;

  font-weight: 600;

  margin: 25px 0 35px;

  max-width: 900px;
  text-wrap: balance;
}

.hero h1 span {
  color: var(--gold);
}

.hero-description {
  max-width: 610px;

  color: var(--muted);

  font-size: 17px;
}

.hero-description strong {
  color: var(--ivory);
}

/* Author credit in the hero — the book is the product, so the name sits
   directly under the pitch rather than being buried in the author section. */

.hero-byline {
  margin-top: 22px;

  color: var(--gold-light);

  font-family: "Cormorant Garamond", serif;

  font-size: 22px;

  letter-spacing: 0.06em;
}

.hero-actions {
  display: flex;

  align-items: center;

  gap: 30px;

  margin-top: 40px;
}

.gold-button {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  background: linear-gradient(135deg, var(--gold-light), var(--gold));

  color: #17120a;

  border: 0;

  padding: 15px 27px;

  font-weight: 800;

  font-size: 11px;

  letter-spacing: 0.12em;

  cursor: pointer;

  transition:
    transform 0.25s,
    box-shadow 0.25s;
}

.gold-button:hover {
  transform: translateY(-2px);

  box-shadow: 0 15px 40px rgba(200, 164, 90, 0.18);
}

.gold-button:focus-visible,
.text-button:focus-visible,
.nav-buy:focus-visible,
.media-grid a:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

.text-button {
  font-size: 11px;

  color: var(--muted);

  letter-spacing: 0.12em;
}

/* .text-button is also used on a <button> element (free sample trigger) */

button.text-button {
  background: none;

  border: 0;

  padding: 0;

  cursor: pointer;

  font-weight: 400;

  text-transform: uppercase;
}

button.text-button:hover {
  color: var(--gold-light);
}

/* BOOK section purchase actions */

.book-actions {
  display: flex;

  align-items: center;

  flex-wrap: wrap;

  gap: 22px;

  margin-top: 5px;
}

/*
| Edition list inside the book section. Direct store links rather than a
| second modal, so a visitor who is already convinced can leave in one
| click without an extra overlay step.
*/

.edition-list {
  list-style: none;

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 12px;

  margin: 35px 0 0;

  padding: 0;
}

.edition-list a {
  display: block;

  padding: 18px 20px;

  border: 1px solid var(--border);

  transition:
    background 0.25s,
    border-color 0.25s;
}

.edition-list a:hover {
  background: rgba(200, 164, 90, 0.05);

  border-color: rgba(200, 164, 90, 0.4);
}

.edition-list a:focus-visible {
  outline: 2px solid var(--gold-light);

  outline-offset: 3px;
}

.edition-list strong {
  display: block;

  color: var(--gold);

  font-size: 12px;

  font-weight: 500;

  letter-spacing: 0.08em;
}

.edition-list span {
  display: block;

  margin-top: 6px;

  color: var(--muted);

  font-size: 10px;

  letter-spacing: 0.08em;
}

.book-platforms {
  margin-top: 22px;

  color: var(--muted);

  font-size: 11px;

  letter-spacing: 0.08em;
}

.hero-book {
  display: flex;

  justify-content: center;

  perspective: 1400px;

  position: relative;

  z-index: 2;
}

.book {
  width: min(370px, 75vw);

  transform: rotateY(-18deg) rotateX(3deg) rotateZ(2deg);

  box-shadow: -35px 45px 70px rgba(0, 0, 0, 0.7);

  transition: transform 0.5s;
}

.book:hover {
  transform: rotateY(-5deg) rotateX(1deg) rotateZ(0deg) translateY(-10px);
}

.book img {
  width: 100%;

  display: block;
}

.section {
  padding: 130px 8vw;
}

.section-heading {
  max-width: 800px;
}

h2 {
  font-family: "Cormorant Garamond", serif;

  font-size: clamp(45px, 6vw, 82px);

  line-height: 0.95;

  font-weight: 600;

  margin: 18px 0 45px;
}

.story-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 8vw;

  max-width: 1200px;
}

.large-text {
  font-family: "Cormorant Garamond", serif;

  font-size: clamp(30px, 4vw, 52px);

  line-height: 1.05;
}

.story-grid p {
  color: var(--muted);
}

.timeline {
  background: linear-gradient(180deg, #0b0809, #160a0d);
}

.timeline-list {
  border-top: 1px solid var(--border);
}

.timeline-list article {
  display: grid;

  grid-template-columns: 100px 1fr;

  padding: 30px 0;

  border-bottom: 1px solid var(--border);
}

.timeline-list span {
  color: var(--gold);

  font-size: 12px;
}

.timeline-list strong {
  font-family: "Cormorant Garamond", serif;

  font-size: 35px;
}

.timeline-list p {
  margin: 4px 0 0;

  color: var(--muted);
}

.book-section {
  display: grid;

  grid-template-columns: 0.7fr 1fr;

  gap: 9vw;

  align-items: center;
}

.book-image img {
  width: min(420px, 100%);

  display: block;

  margin: auto;

  box-shadow: 0 40px 70px rgba(0, 0, 0, 0.55);
}

.book-subtitle {
  color: var(--gold-light);

  font-family: "Cormorant Garamond", serif;

  font-size: 27px;

  line-height: 1.15;
}

.book-copy > p:not(.eyebrow):not(.book-subtitle) {
  color: var(--muted);

  max-width: 650px;
}

.book-facts {
  display: flex;

  gap: 55px;

  margin: 40px 0;
}

.book-facts div {
  display: flex;

  flex-direction: column;
}

.book-facts strong {
  color: var(--gold);

  font-family: "Cormorant Garamond", serif;

  font-size: 32px;
}

.book-facts span {
  color: var(--muted);

  font-size: 10px;

  text-transform: uppercase;

  letter-spacing: 0.12em;
}

.preview {
  text-align: center;

  background: radial-gradient(circle, rgba(69, 17, 27, 0.65), transparent 65%);
}

.preview p:not(.eyebrow) {
  max-width: 650px;

  margin: 0 auto 35px;

  color: var(--muted);
}

/*
| A single purchase prompt slotted between two
| content bands. Centred and quiet so it reads
| as an invitation rather than a second hero.
*/

.section-cta {
  text-align: center;

  padding: 90px 8vw;

  border-top: 1px solid var(--border);

  border-bottom: 1px solid var(--border);
}

.section-cta p {
  max-width: 560px;

  margin: 0 auto 28px;

  color: var(--muted);

  font-family: "Cormorant Garamond", serif;

  font-size: clamp(22px, 2.6vw, 30px);

  line-height: 1.2;
}

.author {
  display: grid;

  grid-template-columns: 0.7fr 1.3fr;

  gap: 9vw;

  align-items: center;
}

.author-image img {
  width: 100%;

  max-width: 450px;

  display: block;

  margin: auto;

  filter: grayscale(15%);
}

.author-copy h3 {
  color: var(--gold-light);

  font-family: "Cormorant Garamond", serif;

  font-size: 26px;

  font-weight: 500;
}

.author-copy p {
  color: var(--muted);

  max-width: 700px;
}

.author-facts {
  display: flex;

  gap: 50px;

  margin-top: 40px;
}

.author-facts div {
  display: flex;

  flex-direction: column;
}

.author-facts strong {
  color: var(--gold);

  font-family: "Cormorant Garamond", serif;

  font-size: 34px;
}

.author-facts span {
  color: var(--muted);

  font-size: 10px;

  text-transform: uppercase;

  letter-spacing: 0.1em;
}

.review-grid {
  display: grid;

  /* minmax(0, 1fr) stops long words from widening a track — a plain
       1fr has a min-content floor, which is what pushed text out. */

  grid-template-columns: repeat(3, minmax(0, 1fr));

  /* Equal row heights, so every card matches the tallest one. */

  grid-auto-rows: 1fr;

  gap: 20px;
}

.review-card {
  display: flex;

  flex-direction: column;

  min-width: 0;

  border: 1px solid var(--border);

  padding: 32px;

  background: rgba(255, 255, 255, 0.015);
}

.quote-mark {
  display: block;

  color: var(--gold);

  font-family: "Cormorant Garamond", serif;

  font-size: 54px;

  line-height: 1;
}

.review-card blockquote {
  /* flex:1 gives the quote every spare pixel, so longer text fits. */

  flex: 1;

  font-family: "Cormorant Garamond", serif;

  font-size: 20px;

  line-height: 1.5;

  margin: 18px 0 24px;

  overflow-wrap: anywhere;

  word-break: break-word;
}

/* ---- Collapsed long quotes (SHOW MORE toggle) ---- */

.review-card blockquote .quote-full {
  display: none;
}

.review-card blockquote .quote-short {
  color: var(--muted);
}

.review-card blockquote.is-expanded .quote-full {
  display: inline;
}

.review-card blockquote.is-expanded .quote-short {
  display: none;
}

.quote-toggle {
  display: inline-block;

  margin: 10px 0 0;

  padding: 0;

  background: none;

  border: none;

  color: var(--gold);

  font-family: "Poppins", sans-serif;

  font-size: 11px;

  font-weight: 700;

  letter-spacing: 0.16em;

  text-transform: uppercase;

  cursor: pointer;
}

.quote-toggle:hover {
  color: var(--gold-light);
}

.review-author {
  display: flex;

  flex-wrap: wrap;

  flex-direction: row;

  align-items: center;

  gap: 12px;

  /* Pinned to the bottom of the card so authors always line up. */

  margin-top: auto;

  padding-top: 16px;

  border-top: 1px solid rgba(200, 164, 90, 0.12);
}

/* ---- Author avatar (photo or letter initials fallback) ---- */

.review-avatar {
  flex-shrink: 0;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  width: 52px;

  height: 52px;

  border-radius: 50%;

  overflow: hidden;

  border: 1px solid rgba(200, 164, 90, 0.35);

  background: rgba(200, 164, 90, 0.08);
}

.review-avatar img {
  /* Constrain the photo inside the circular avatar frame. */

  width: 100%;

  height: 100%;

  object-fit: cover;

  object-position: center top;

  display: block;
}

.review-avatar-initial {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  width: 100%;

  height: 100%;

  color: var(--gold);

  font-family: "Cormorant Garamond", serif;

  font-size: 22px;

  font-weight: 700;
}

.review-author-meta {
  flex: 1;

  min-width: 0;

  display: flex;

  flex-direction: column;

  gap: 2px;
}

.review-author strong,
.review-author span {
  overflow-wrap: anywhere;

  word-break: break-word;
}

.review-author strong {
  font-size: 13px;
}

.review-author span {
  color: var(--muted);

  font-size: 11px;
}

.review-author a {
  color: var(--gold);

  font-size: 10px;

  margin-top: 10px;
}

.industry {
  text-align: center;

  background: #10090b;
}

.industry-list {
  display: flex;

  flex-wrap: wrap;

  justify-content: center;

  gap: 14px;
}

.industry-list span {
  border: 1px solid var(--border);

  padding: 13px 20px;

  color: var(--muted);
}

.media-grid {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 15px;
}

.media-grid a {
  padding: 30px;

  border: 1px solid var(--border);

  font-family: "Cormorant Garamond", serif;

  font-size: 27px;

  transition:
    background 0.25s,
    color 0.25s;
}

.media-grid a:hover {
  background: var(--burgundy);

  color: var(--gold-light);
}

.final-cta {
  text-align: center;

  padding: 170px 8vw;

  background: radial-gradient(circle at center, #45131d, #0a0708 60%);
}

.final-cta h2 {
  max-width: 950px;

  margin: 20px auto;
}

.final-cta p:not(.eyebrow) {
  color: var(--muted);
}

/*
|--------------------------------------------------------------------------
| FOOTER
|--------------------------------------------------------------------------
| Three stacked rows: wordmark + links, then the preview block, then the
| copyright along the bottom edge.
|
| The previous version was a 3-column grid where the eight footer links
| shared a single column. That column was far taller than the wordmark, so
| the row grew to fit it and left a large empty gap to the right of both
| the wordmark and the copyright. The links are now split across two
| balanced columns and the row is a flex container, which is what keeps the
| top of the footer tight and even.
*/

.footer {
  display: flex;

  flex-direction: column;

  gap: 45px;

  padding: 60px 8vw 32px;

  border-top: 1px solid var(--border);

  color: var(--muted);
}

.footer-top {
  display: grid;

  grid-template-columns: 1.6fr 1fr 1fr;

  gap: 40px;

  align-items: start;
}

.footer-brand p {
  margin-top: 16px;

  font-size: 13px;
}

.footer-links {
  display: flex;

  flex-direction: column;

  align-items: flex-start;

  gap: 11px;

  font-size: 12px;
}

/* Group label above each column of links. */
.footer-heading {
  margin: 0 0 5px;

  color: var(--gold);

  font-family: "Manrope", sans-serif;

  font-size: 10px;

  font-weight: 500;

  letter-spacing: 0.18em;

  text-transform: uppercase;
}

.footer-links a {
  color: var(--muted);

  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--gold-light);
}

.footer-links a:focus-visible {
  outline: 2px solid var(--gold-light);

  outline-offset: 3px;
}

/* Copyright sits on its own row along the bottom edge. */
.copyright {
  margin: 0;

  padding-top: 26px;

  border-top: 1px solid var(--border);

  color: var(--muted);

  font-size: 11px;
}

/*
|--------------------------------------------------------------------------
| EXPLORE THE BOOK (FOOTER)
|--------------------------------------------------------------------------
| The complimentary preview's only home on the page. Deliberately styled
| quieter than the rest of the footer — muted body copy, a plain text link
| for the download and the purchase button as the visual anchor — so a
| visitor who came to buy is never pulled towards a download first.
|
| This block is full width with no max-width, and is itself a two-column
| grid: the copy on the left, the actions on the right. It previously set
| both `grid-column: 1 / -1` and `max-width: 640px`, so the block spanned
| every column but the 640px cap cut the divider and the text short,
| leaving roughly half the footer width visibly empty.
*/

.footer-explore {
  display: grid;

  grid-template-columns: 1fr auto;

  gap: 40px;

  align-items: center;

  padding-top: 40px;

  border-top: 1px solid var(--border);
}

.footer-explore-copy {
  max-width: 620px;
}

.footer-explore-title {
  color: var(--gold);

  font-family: "Cormorant Garamond", serif;

  font-size: 26px;

  font-weight: 500;

  margin: 0 0 14px;
}

.footer-explore p {
  font-size: 12px;

  line-height: 1.7;
}

.footer-explore-note {
  color: var(--muted);

  font-style: italic;

  font-size: 11px;
}

.footer-explore-actions {
  display: flex;

  flex-direction: column;

  align-items: flex-start;

  gap: 16px;
}

.footer-explore-actions .store-picker-link {
  margin-left: 0;
}

/* MODAL */

.modal {
  position: fixed;

  inset: 0;

  z-index: 1000;

  display: none;

  align-items: center;

  justify-content: center;

  padding: 20px;
}

.modal.active {
  display: flex;
}

.modal-overlay {
  position: absolute;

  inset: 0;

  background: rgba(0, 0, 0, 0.82);

  backdrop-filter: blur(8px);
}

.purchase-modal {
  position: relative;

  z-index: 2;

  width: min(560px, 100%);

  max-height: 90vh;

  overflow-y: auto;

  padding: 45px;

  background: #120d0e;

  border: 1px solid var(--border);

  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.8);
}

.modal-close {
  position: absolute;

  top: 15px;

  right: 18px;

  border: 0;

  background: none;

  color: var(--muted);

  font-size: 30px;

  cursor: pointer;
}

.purchase-modal h2 {
  font-size: 48px;

  margin-bottom: 20px;
}

.purchase-modal > div > p:not(.eyebrow) {
  color: var(--muted);
}

.purchase-modal label:not(.checkbox) {
  display: flex;

  flex-direction: column;

  gap: 7px;

  margin: 20px 0;

  font-size: 12px;

  text-transform: uppercase;

  letter-spacing: 0.1em;
}

.purchase-modal input[type="text"],
.purchase-modal input[type="email"] {
  background: #080707;

  border: 1px solid var(--border);

  color: var(--ivory);

  padding: 14px;

  outline: none;
}

.purchase-modal input:focus {
  border-color: var(--gold);
}

.checkbox {
  display: flex;

  gap: 10px;

  color: var(--muted);

  font-size: 11px;
}

.gold-button.full {
  width: 100%;

  margin-top: 20px;
}

.form-message {
  color: #d98989 !important;

  min-height: 20px;
}

.store-option {
  display: flex;

  flex-direction: column;

  gap: 4px;

  padding: 25px;

  border: 1px solid var(--border);

  margin-top: 15px;
}

.store-option:hover {
  background: rgba(200, 164, 90, 0.05);
}

.store-option span {
  color: var(--gold);

  font-size: 11px;

  letter-spacing: 0.15em;
}

.store-option small {
  color: var(--muted);

  font-size: 9px;

  letter-spacing: 0.12em;
}

.store-option strong {
  margin-top: 8px;
}

body.modal-open {
  overflow: hidden;
}

/* STORE CHOOSER MODAL */

/* The picker is a shorter card than the lead form, so it gets a tighter
   headline scale and slightly less padding. */

/* =========================================
   PURCHASE MODAL — EDITION LIST
   The modal now lists five editions rather
   than two stores, so the card is wider, the
   cover is shown, and the options sit in a
   tighter two-column grid on desktop.
   ========================================= */

.store-picker {
  width: min(660px, 100%);

  padding: 40px;
}

.store-picker h2 {
  font-size: 40px;

  margin: 0 0 14px;

  padding-right: 30px;
}

.store-picker-subtitle {
  color: var(--muted);

  max-width: 520px;

  margin: 0 0 28px;
}

.store-picker-cover {
  text-align: center;

  margin-bottom: 28px;
}

.store-picker-cover img {
  width: 150px;

  height: auto;

  display: block;

  margin: 0 auto;

  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.65);
}

.store-picker-heading {
  border-top: 1px solid var(--border);

  padding-top: 24px;

  color: var(--gold);

  font-size: 10px;

  letter-spacing: 0.18em;
}

/*
| Two store cards stacked rather than side by side. Each card is a
| single decision, so a full-width row reads more clearly than a
| two-up grid and leaves room for the longer store names.
*/

.store-picker-list {
  display: block;

  margin-top: 6px;
}

.store-picker-list .store-option {
  display: block;

  margin-top: 0;

  padding: 18px 20px;
}

.store-picker-list .store-option + .store-option {
  margin-top: 12px;
}

.store-picker-list .store-option-name {
  display: block;

  font-size: 12px;

  letter-spacing: 0.08em;
}

.store-picker-list .store-option small {
  display: block;

  margin-top: 6px;
}

.store-picker-list .store-option strong {
  display: block;

  margin-top: 10px;

  font-size: 13px;
}

/* Highlight the recommended store the same way the coupon cards do. */

.store-option.recommended {
  border-color: rgba(200, 164, 90, 0.55);
}

/* Closing line under the edition list. */

.store-picker-note {
  margin-top: 24px;

  font-size: 11px;

  letter-spacing: 0.1em;

  text-transform: uppercase;
}

.store-picker-link {
  background: none;

  border: 0;

  padding: 0;

  margin-left: 6px;

  color: var(--gold);

  font-size: 11px;

  letter-spacing: 0.1em;

  text-transform: uppercase;

  text-decoration: underline;

  text-underline-offset: 3px;

  cursor: pointer;
}

.store-picker-link:hover {
  color: var(--gold-light);
}


/* =========================================
   COMPLIMENTARY PREVIEW MODAL
   ========================================= */

.preview-picker {
  width: min(560px, 100%);
}

.preview-picker p:not(.eyebrow) {
  color: var(--muted);
}

.preview-disclaimer {
  border-left: 2px solid var(--gold);

  padding-left: 16px;

  font-size: 12px;

  font-style: italic;
}

.preview-picker .store-picker-note {
  text-align: center;
}

.preview-picker .store-picker-note .store-picker-link {
  margin-left: 0;
}

@media (max-width: 900px) {
  .navbar nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;

    text-align: center;
  }

  .hero-description {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  /* Two store cards read better as a full-width row on tablet. */

  .edition-list {
    grid-template-columns: 1fr;
  }

  .hero-book {
    margin-top: 30px;
  }

  .story-grid,
  .book-section,
  .author {
    grid-template-columns: 1fr;
  }

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

  /* Wordmark takes its own row, the two link columns sit side by side. */

  .footer-top {
    grid-template-columns: 1fr 1fr;

    gap: 30px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .navbar {
    height: 70px;

    padding: 0 20px;
  }

  .nav-buy {
    padding: 9px 12px;
  }

  .hero {
    padding: 110px 22px 70px;
  }

  .section {
    padding: 80px 22px;
  }

  .hero h1 {
    font-size: clamp(55px, 17vw, 85px);
  }

  .hero-actions {
    flex-direction: column;
  }

  .book-actions {
    flex-direction: column;

    align-items: flex-start;
  }

  .story-grid,
  .book-section,
  .author {
    gap: 45px;
  }

  .timeline-list article {
    grid-template-columns: 45px 1fr;
  }

  .book-facts,
  .author-facts {
    flex-wrap: wrap;

    gap: 25px;
  }

  .review-grid,
  .media-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .review-card {
    padding: 26px;
  }

  .review-card blockquote {
    font-size: 19px;
  }

  .purchase-modal {
    padding: 30px 22px;
  }

  .store-picker h2 {
    font-size: 30px;
  }

  .store-picker-cover img {
    width: 115px;
  }

  /* The preview copy and its actions stack, and both go full width so
     neither the download link nor the purchase button is a small,
     easy-to-miss target on a phone. */

  .footer-explore {
    grid-template-columns: 1fr;

    gap: 26px;
  }

  .footer-explore-copy {
    max-width: none;
  }

  .footer-explore-actions {
    width: 100%;
  }

  .footer-explore-actions .gold-button {
    width: 100%;

    justify-content: center;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }
}


/* =========================================
   STANDALONE PAGES
   Shared by /book, /buy, /author, /reviews,
   /press and /overview. Reuses the existing
   section, heading and button styles so the
   pages feel like the same site.
   ========================================= */

.page-hero {
  padding-top: 90px;

  padding-bottom: 90px;
}

.page-hero h1 {
  max-width: 900px;
}

.page-hero-grid {
  display: grid;

  grid-template-columns: 0.6fr 1fr;

  gap: 7vw;

  align-items: center;

  max-width: 1150px;
}

.page-hero .book-image img {
  width: min(320px, 100%);

  margin: 0 auto;

  box-shadow: 0 40px 70px rgba(0, 0, 0, 0.55);
}

.page-lede {
  max-width: 720px;

  color: var(--muted);

  font-size: 17px;

  line-height: 1.65;
}

.page-byline {
  margin-top: 18px;

  color: var(--gold);

  font-size: 12px;

  letter-spacing: 0.12em;

  text-transform: uppercase;
}

.page-note {
  max-width: 640px;

  margin-top: 30px;

  color: var(--muted);

  font-size: 13px;
}

/* Two-column body copy, matching the homepage's story block. */

.page-two-col {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 7vw;

  max-width: 1100px;
}

.page-two-col p {
  color: var(--muted);
}

/*
| The "this is not the whole book" callout. Deliberately the most
| prominent element on /overview, because that distinction is the whole
| point of the page.
*/

.page-callout {
  max-width: 700px;

  margin: 34px 0;

  border-left: 2px solid var(--gold);

  padding: 18px 24px;

  background: rgba(200, 164, 90, 0.06);

  color: var(--ivory);

  font-style: italic;

  font-size: 15px;

  line-height: 1.6;
}

/* Store cards on /buy, reusing the modal's card styling. */

.page-stores .page-store-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 18px;

  max-width: 900px;

  margin-top: 40px;
}

.page-stores .store-option {
  margin-top: 0;

  padding: 30px;

  display: block;
}

.page-stores .store-option-name {
  display: block;

  font-size: 13px;

  letter-spacing: 0.1em;
}

.page-stores .store-option small {
  display: block;

  margin-top: 8px;
}

.page-stores .store-option strong {
  display: block;

  margin-top: 14px;
}

.page-stores .gold-button {
  margin-top: 40px;
}

/* Cross-page link band, used at the foot of several pages. */

.page-link-band {
  border-top: 1px solid var(--border);

  background: linear-gradient(180deg, #0b0809, #160a0d);
}

.page-link-grid {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 15px;

  max-width: 1000px;

  margin-top: 40px;
}

.page-link-grid a {
  display: block;

  padding: 28px;

  border: 1px solid var(--border);

  transition:
    background 0.25s,
    border-color 0.25s;
}

.page-link-grid a:hover {
  background: var(--burgundy);

  border-color: rgba(200, 164, 90, 0.4);
}

.page-link-grid a:focus-visible {
  outline: 2px solid var(--gold-light);

  outline-offset: 3px;
}

.page-link-grid strong {
  display: block;

  color: var(--gold);

  font-family: "Cormorant Garamond", serif;

  font-size: 25px;

  font-weight: 500;
}

.page-link-grid span {
  display: block;

  margin-top: 8px;

  color: var(--muted);

  font-size: 12px;

  line-height: 1.6;
}

/* Breadcrumbs */

.breadcrumbs {
  padding: 30px 8vw 0;

  border-bottom: 1px solid var(--border);
}

.breadcrumbs ol {
  display: flex;

  flex-wrap: wrap;

  align-items: center;

  gap: 10px;

  list-style: none;

  margin: 0;

  padding: 0 0 22px;
}

.breadcrumbs li {
  display: flex;

  align-items: center;

  gap: 10px;

  color: var(--muted);

  font-size: 10px;

  letter-spacing: 0.14em;

  text-transform: uppercase;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";

  color: var(--border);
}

.breadcrumbs a {
  color: var(--muted);
}

.breadcrumbs a:hover {
  color: var(--gold);
}

.breadcrumbs [aria-current="page"] {
  color: var(--gold);
}

/* Press grid entries now carry a topic line under the outlet name. */

.media-grid a strong {
  display: block;

  font-weight: 500;
}

.media-grid a span {
  display: block;

  margin-top: 8px;

  font-family: "Manrope", sans-serif;

  font-size: 11px;

  letter-spacing: 0.06em;

  opacity: 0.65;
}

@media (max-width: 900px) {
  .page-hero-grid,
  .page-two-col,
  .page-stores .page-store-grid,
  .page-link-grid {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding-top: 60px;
  }
}



/* =========================================
   NOTION PRESS DISCOUNT COUPONS
========================================= */

.coupons {
  background: linear-gradient(180deg, #0b0809, #160a0d);
}

.coupons-lede {
  max-width: 620px;

  margin: -25px 0 0;

  color: var(--muted);
}

.coupon-grid {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));

  gap: 20px;
}

.coupon-card {
  position: relative;

  display: flex;

  flex-direction: column;
  margin: 10px 0;
  padding: 36px;

  background: linear-gradient(155deg,
      rgba(59, 16, 23, 0.6),
      rgba(18, 13, 14, 0.92));

  border: 1px solid var(--border);

  transition:
    transform 0.3s,
    border-color 0.3s;
}

.coupon-card::before {
  content: "";

  position: absolute;

  top: 0;

  left: 0;

  right: 0;

  height: 2px;

  background: linear-gradient(90deg,
      var(--gold),
      transparent);

  pointer-events: none;
}

.coupon-card:hover {
  transform: translateY(-4px);

  border-color: var(--gold);
}

.coupon-top {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 12px;
}

.coupon-format {
  color: var(--gold);

  font-size: 11px;

  font-weight: 700;

  letter-spacing: 0.24em;

  text-transform: uppercase;
}

.coupon-discount {
  padding: 5px 12px;

  background: linear-gradient(135deg,
      var(--gold-light),
      var(--gold));

  color: #17120a;

  font-size: 11px;

  font-weight: 800;

  letter-spacing: 0.12em;
}

.coupon-line {
  margin: 24px 0 0;

  color: var(--muted);
}

.coupon-line strong {
  color: var(--ivory);

  font-family: "Cormorant Garamond", serif;

  font-size: 34px;

  line-height: 1;
}

.coupon-code-box {
  display: flex;

  align-items: stretch;

  gap: 10px;

  margin: 26px 0 18px;
}

.coupon-code {
  flex: 1;

  display: flex;

  align-items: center;

  justify-content: center;

  padding: 14px;

  border: 1px dashed var(--gold);

  color: var(--gold-light);

  font-size: 18px;

  font-weight: 800;

  letter-spacing: 0.25em;
}

.coupon-copy {
  padding: 14px 18px;

  border: 1px solid var(--border);

  background: transparent;

  color: var(--muted);

  font-size: 10px;

  font-weight: 700;

  letter-spacing: 0.12em;

  cursor: pointer;

  transition:
    border-color 0.25s,
    color 0.25s;
}

.coupon-copy:hover,
.coupon-copy.copied {
  border-color: var(--gold);

  color: var(--gold-light);
}

.coupon-limit {
  margin: 0 0 8px;

  color: var(--gold-light);

  font-size: 11px;

  font-weight: 700;

  letter-spacing: 0.1em;

  text-transform: uppercase;
}

.coupon-note {
  margin: 0 0 26px;

  color: var(--muted);

  font-size: 14px;
}

.coupon-cta {
  margin-top: auto;

  padding-top: 18px;

  border-top: 1px solid var(--border);

  color: var(--ivory);

  font-size: 11px;

  font-weight: 700;

  letter-spacing: 0.14em;
}

.coupon-cta:hover {
  color: var(--gold-light);
}

.coupon-fineprint {
  margin-top: 28px;

  color: var(--muted);

  font-size: 12px;
}

@media (max-width: 600px) {
  .coupon-card {
    padding: 26px 22px;
  }

  .coupon-code {
    font-size: 16px;

    letter-spacing: 0.18em;
  }

  .coupon-code-box {
    flex-direction: column;
  }
}
