/* Amy Booker - redesign. Warm stage-black, ivory type, copper from the feather artwork,
   one accent per series taken from its covers. */
:root {
  --ink: #0d0b0a;
  --ink-2: #15120f;
  --ink-3: #1e1915;
  --line: rgba(239, 232, 223, 0.10);
  --line-strong: rgba(239, 232, 223, 0.18);
  --paper: #efe8df;
  --muted: #a99f94;
  --copper: #c9946b;
  --copper-hi: #e6b98f;

  --near-miss: #6cc9b0;
  --rhapsody: #b98cf2;
  --chaos-fuel: #cfc8bf;
  --incendiary: #ff6d93;
  --vegas: #e3b65a;

  --display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius: 14px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font: 400 17px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--copper-hi); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.05; margin: 0; letter-spacing: 0.005em; }
h2 { font-size: clamp(40px, 5vw, 60px); }
h3 { font-size: 30px; }
p { margin: 0 0 1em; }

.eyebrow {
  font: 700 12px/1.4 var(--sans);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent, var(--copper));
  margin: 0 0 14px;
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px clamp(20px, 4vw, 48px);
  background: rgba(13, 11, 10, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 40px; height: 40px; mix-blend-mode: screen; }
.brand span { font: 600 22px/1 var(--display); letter-spacing: 0.04em; }
.site-header nav { display: flex; gap: clamp(14px, 2.4vw, 32px); }
.site-header nav a {
  text-decoration: none; font-size: 14px; font-weight: 500; color: var(--muted);
  padding: 6px 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s;
}
.site-header nav a:hover { color: var(--paper); border-color: var(--copper); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 40px;
  min-height: calc(100vh - 69px);
  padding: 72px clamp(20px, 6vw, 96px) 96px;
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: url("media/feathers.jpg") center / cover no-repeat;
  opacity: 0.28; filter: saturate(0.8);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 78% 45%, rgba(201, 148, 107, 0.22), transparent 70%),
    linear-gradient(90deg, var(--ink) 18%, rgba(13, 11, 10, 0.55) 60%, rgba(13, 11, 10, 0.85)),
    linear-gradient(180deg, transparent 70%, var(--ink));
}
.hero h1 {
  font-size: clamp(68px, 10vw, 148px);
  line-height: 0.88; letter-spacing: -0.01em; margin-bottom: 18px;
}
.tagline { font: italic 500 clamp(26px, 2.6vw, 34px)/1.2 var(--display); color: var(--copper-hi); margin-bottom: 22px; }
.lede { max-width: 30em; color: #d8d0c6; font-size: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 28px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 26px; border-radius: 999px;
  font: 600 15px/1 var(--sans); letter-spacing: 0.02em; text-decoration: none;
  transition: transform .2s, background .2s, border-color .2s, color .2s;
}
.btn-primary { background: var(--copper); color: #1a120c; }
.btn-primary:hover { background: var(--copper-hi); transform: translateY(-1px); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--paper); }
.btn-ghost:hover { border-color: var(--copper); color: var(--copper-hi); }

.fan { position: relative; height: min(64vh, 560px); }
.fan img {
  position: absolute; left: 50%; top: 50%;
  width: min(15vw, 210px); height: auto; aspect-ratio: 5 / 8; object-fit: cover;
  border-radius: 6px;
  transform: translate(calc(-50% + var(--x) * 2.2), -50%) rotate(var(--r));
  z-index: var(--z);
  box-shadow: 0 30px 60px -18px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.06);
  transition: transform .35s ease;
}
.fan img:nth-child(3) { width: min(18vw, 250px); }
.fan:hover img { transform: translate(calc(-50% + var(--x) * 2.6), -52%) rotate(calc(var(--r) * 1.25)); }

/* ---------- sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) clamp(20px, 6vw, 96px); }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-sub { color: var(--muted); margin-top: 16px; }

/* reading order */
.order { background: linear-gradient(180deg, var(--ink), var(--ink-2)); padding-bottom: clamp(56px, 7vw, 88px); }
.timeline {
  list-style: none; margin: 0 auto; padding: 0; max-width: var(--max);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px;
}
.band {
  position: relative; padding: 28px 24px 24px;
  background: var(--ink-3); border: 1px solid var(--line); border-radius: var(--radius);
  border-top: 3px solid var(--accent);
}
.band-logo { width: 72px; height: 72px; object-fit: contain; mix-blend-mode: screen; margin-bottom: 14px; }
.band-name { font: 600 13px/1.3 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin: 0; }
.band-series { font: 500 28px/1.15 var(--display); margin: 4px 0 18px; }
.steps { margin: 0; padding: 0; list-style: none; }
.steps li { counter-increment: step; display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; padding: 9px 0; border-top: 1px solid var(--line); }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  font: 600 12px/1 var(--sans); color: var(--accent); min-width: 22px; font-variant-numeric: tabular-nums;
}
.steps a { text-decoration: none; font-weight: 600; }
.steps a:hover { color: var(--accent); }
.note { font-size: 12px; color: var(--muted); letter-spacing: 0.04em; }
.aside { max-width: var(--max); margin: 28px auto 0; text-align: center; color: var(--muted); font-size: 15px; }
.aside a { color: var(--vegas); }

/* series */
.books-anchor { position: relative; top: -84px; }
.series { position: relative; border-top: 1px solid var(--line); }
.series::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 420px; pointer-events: none;
  background: radial-gradient(50% 100% at 15% 0%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%);
}
.series-head {
  position: relative; max-width: var(--max); margin: 0 auto 48px;
  display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 32px; align-items: center;
}
.series-logo { width: 120px; height: 120px; object-fit: contain; mix-blend-mode: screen; }
.series-intro { color: #d8d0c6; max-width: 46em; margin: 16px 0 0; font-size: 18px; }

.book-grid {
  position: relative; max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px;
}
.book {
  display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px;
  padding: 22px; background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .25s, transform .25s;
}
.book-grid > .book:last-child:nth-child(odd) { grid-column: 1 / -1; }
.book:hover { border-color: color-mix(in srgb, var(--accent) 45%, transparent); transform: translateY(-2px); }
.book > img {
  width: 150px; height: auto; aspect-ratio: 5 / 8; object-fit: cover; border-radius: 5px;
  box-shadow: 0 18px 34px -14px rgba(0, 0, 0, 0.9);
}
.book-body { display: flex; flex-direction: column; min-width: 0; }
.book-num { font: 700 11px/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.book h3 { margin-bottom: 12px; }
.book-body > p:not(.book-num) { font-size: 15.5px; line-height: 1.65; color: #cfc6bb; }
.book-foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-top: 6px; }
.buy {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent) 60%, transparent); color: var(--paper);
  font: 600 14px/1 var(--sans); text-decoration: none; transition: background .2s, color .2s;
}
.buy::after { content: "\2192"; margin-left: 10px; }
.buy:hover { background: var(--accent); color: #120e0b; }
.tag { font: 600 11px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line-strong); border-radius: 999px; padding: 7px 10px; }
.soon { font: italic 500 20px/1 var(--display); color: var(--accent); }

.collection {
  position: relative; max-width: var(--max); margin: 22px auto 0;
  display: flex; align-items: center; gap: 22px;
  padding: 16px 22px; border-radius: var(--radius); text-decoration: none;
  border: 1px dashed color-mix(in srgb, var(--accent) 40%, transparent);
  background: color-mix(in srgb, var(--accent) 6%, transparent);
}
.collection img { width: 56px; height: auto; aspect-ratio: 5 / 8; object-fit: cover; border-radius: 3px; }
.collection span { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; color: var(--muted); font-size: 15px; }
.collection strong { font: 500 24px/1.1 var(--display); color: var(--paper); }
.collection em { font-style: normal; font-weight: 600; color: var(--accent); }
.collection em::after { content: " \2192"; }
.collection:hover strong { color: var(--accent); }

/* about */
.about {
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: center;
  max-width: calc(var(--max) + 192px); margin: 0 auto; border-top: 1px solid var(--line);
}
.portrait { margin: 0; position: relative; }
.portrait img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; filter: grayscale(1) contrast(1.05); }
.portrait::after {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -1;
  border: 1px solid var(--copper); border-radius: 10px; opacity: 0.6;
}
.about-copy h2 { margin-bottom: 26px; }
.about-copy p { color: #d8d0c6; }
.about-links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 26px; }
.about-links a { color: var(--copper-hi); font-weight: 600; font-size: 15px; text-decoration: none; border-bottom: 1px solid rgba(230, 185, 143, 0.35); }
.about-links a:hover { border-color: var(--copper-hi); }

/* newsletter */
.newsletter {
  text-align: center; border-top: 1px solid var(--line);
  background: radial-gradient(50% 120% at 50% 0%, rgba(201, 148, 107, 0.16), transparent 70%), var(--ink-2);
}
.newsletter h2 { margin-bottom: 14px; }
.newsletter p:not(.eyebrow) { color: var(--muted); margin-bottom: 30px; }

/* letter callout */
.letter-callout { padding-top: 0; background: var(--ink-2); }
.letter-callout a {
  display: grid; justify-items: center; gap: 8px; max-width: 640px; margin: 0 auto; padding: 36px 24px;
  border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; text-align: center;
  transition: border-color .25s;
}
.letter-callout .eyebrow { margin: 0; }
.callout-title { font: italic 500 40px/1 var(--display); }
.callout-sub { color: var(--muted); font-size: 14px; }
.callout-sub::after { content: " \2192"; }
.letter-callout a:hover { border-color: var(--copper); }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px clamp(20px, 6vw, 96px) 40px; }
.footer-cols { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr auto; gap: 32px; }
.footer-cols > div { display: flex; flex-direction: column; gap: 8px; }
.footer-head { font: 700 12px/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--copper); margin-bottom: 8px; }
.footer-cols a { text-decoration: none; color: var(--muted); font-size: 15px; width: fit-content; }
.footer-cols a:hover { color: var(--paper); }
.footer-mark { align-items: flex-end; }
.footer-mark img { width: 72px; height: 72px; mix-blend-mode: screen; opacity: 0.85; }
.footer-mark p { color: var(--muted); font-size: 13px; margin: 6px 0 0; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .book { grid-template-columns: 120px minmax(0, 1fr); }
  .book > img { width: 120px; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 48px; text-align: left; }
  .fan { height: 320px; order: -1; }
  .fan img { width: 120px; }
  .fan img:nth-child(3) { width: 146px; }
  .book-grid { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .portrait { max-width: 380px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .site-header { flex-wrap: wrap; gap: 10px; }
  .site-header nav { width: 100%; overflow-x: auto; gap: 18px; padding-bottom: 4px; scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .site-header nav a { white-space: nowrap; }
  .timeline { grid-template-columns: 1fr; }
  .series-head { grid-template-columns: 1fr; gap: 16px; }
  .series-logo { width: 84px; height: 84px; }
  .book { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 16px; }
  .book > img { width: 96px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-mark { grid-column: 1 / -1; align-items: flex-start; }
  .fan img { width: 92px; }
  .fan img:nth-child(3) { width: 116px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* ---------- letter page ---------- */
.letter-page main { padding: clamp(56px, 9vw, 112px) 20px; }
.letter { max-width: 640px; margin: 0 auto; }
.letter h1 { font-size: clamp(52px, 7vw, 84px); font-style: italic; margin: 6px 0 40px; }
.letter p { font: 400 21px/1.75 var(--display); color: #e2dad0; margin-bottom: 1.15em; }
.letter .eyebrow { font: 700 12px/1.4 var(--sans); letter-spacing: 0.22em; color: var(--copper); margin-bottom: 14px; }
.letter .pull { font: italic 500 clamp(28px, 3.4vw, 36px)/1.3 var(--display); color: var(--copper-hi); margin: 1.4em 0; }
.letter .sign { font: italic 500 30px/1 var(--display); color: var(--copper-hi); margin-top: 1.6em; }
.back { display: inline-block; margin-top: 48px; color: var(--muted); text-decoration: none; font-size: 15px; }
.back::before { content: "\2190  "; }
.back:hover { color: var(--paper); }
