/* ══════════════════════════════════════════════════════
   Dr. James E. Lyons, Sr.
   Aesthetic: commencement gravitas — a two-voice type
   system standing in for the book itself. Rokkitt (slab,
   monumental) carries titles and institutional facts, the
   way his book jacket sets PROJECTS / PRESIDENCIES in bold
   block capitals. Source Serif italic carries his own words
   — narrative, quotes, transitions. Oxblood, rust and gold
   are sampled directly from the jacket, not chosen blind.
   ══════════════════════════════════════════════════════ */

:root {
  /* Ink & paper — aged ivory, not the generic AI cream */
  --ink:        #1c1410;
  --ink-soft:   #4a3f37;
  --ink-faint:  #8a7d71;
  --paper:      #f6f0df;
  --paper-deep: #ebe0c5;
  --rule:       rgba(28, 20, 16, 0.16);

  /* Pigment — drawn from the book jacket */
  --oxblood:    #5e2415;
  --rust:       #8a3a22;
  --ember:      #b34a2b;
  --gold:       #c69540;
  --gold-lit:   #e2bd74;
  --gold-ink:   #8a6420;   /* accessible gold for small text on cream */

  /* Type — two voices: inscriptional caps (carved, monumental)
     answered by an italic serif (his own words, narrative). */
  --display: "Cinzel", Georgia, serif;
  --text:         "Source Serif 4", Georgia, serif;

  --shell: 1240px;
  --gutter: clamp(20px, 5vw, 64px);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 18px;
  line-height: 1.72;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 600; line-height: 1.04; }
p { margin: 0 0 1.15em; }
ol, ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
::selection { background: var(--gold); color: var(--oxblood); }

:focus-visible {
  outline: 2px solid var(--gold-ink);
  outline-offset: 3px;
  border-radius: 2px;
}

.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--oxblood); color: var(--paper);
  padding: 12px 20px; font-size: 14px;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ── Paper grain ───────────────────────────────────── */
.grain { position: relative; isolation: isolate; }
.grain::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 3;
  opacity: 0.32;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Shared type ───────────────────────────────────── */
.eyebrow {
  margin: 0 0 22px;
  font-family: var(--text);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.eyebrow-gold { color: var(--gold-lit); }
.eyebrow::after {
  content: "";
  display: block;
  width: 46px; height: 1px;
  margin-top: 14px;
  background: currentColor;
  opacity: 0.5;
}
.center .eyebrow::after { margin-inline: auto; }

.section-head { margin-bottom: clamp(48px, 6vw, 84px); max-width: 920px; }
.section-head.wide { max-width: none; }
.section-head.center { max-width: 620px; margin-inline: auto; text-align: center; }
.section-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(30px, 4.6vw, 54px);
  line-height: 1.16;
  letter-spacing: 0.002em;
}
.section-title em {
  font-family: var(--text);
  font-style: italic;
  font-weight: 600;
  color: var(--rust);
}
.section-title.light { color: var(--paper); }
.section-title.light em { color: var(--gold-lit); }

section { padding-block: clamp(90px, 12vw, 168px); }

/* ══════════════════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════════════════ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background-color .45s var(--ease), border-color .45s var(--ease), backdrop-filter .45s;
  border-bottom: 1px solid transparent;
}
.site-header.stuck {
  background: rgba(246, 240, 223, 0.9);
  backdrop-filter: blur(14px) saturate(150%);
  border-bottom-color: var(--rule);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 84px;
}
.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.32em;
  white-space: nowrap;
}
.wordmark-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--paper);
  transition: color .45s var(--ease);
}
.wordmark-suffix {
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-lit);
  transition: color .45s var(--ease);
}
.site-header.stuck .wordmark-name { color: var(--ink); }
.site-header.stuck .wordmark-suffix { color: var(--rust); }

.nav { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 38px); }
.nav a {
  position: relative;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: rgba(246, 240, 223, 0.85);
  transition: color .35s var(--ease);
}
.site-header.stuck .nav a { color: var(--ink-soft); }
.nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -5px;
  width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav a:not(.nav-cta):hover { color: var(--gold-lit); }
.site-header.stuck .nav a:not(.nav-cta):hover { color: var(--rust); }
.nav a:not(.nav-cta):hover::after { transform: scaleX(1); transform-origin: left; }

.nav-cta {
  padding: 10px 22px;
  border: 1px solid var(--gold-lit);
  background: var(--gold-lit);
  color: var(--oxblood) !important;
  font-size: 13px !important;
  letter-spacing: 0.09em !important;
  text-transform: uppercase;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.nav-cta:hover { background: transparent; color: var(--gold-lit) !important; }
.site-header.stuck .nav-cta { background: var(--oxblood); border-color: var(--oxblood); color: var(--paper) !important; }
.site-header.stuck .nav-cta:hover { background: transparent; color: var(--oxblood) !important; }

.nav-toggle { display: none; width: 44px; height: 44px; margin-right: -10px; }
.nav-toggle span {
  display: block; width: 24px; height: 1.5px; margin: 5px auto;
  background: var(--paper);
  transition: transform .4s var(--ease), opacity .3s, background-color .45s var(--ease);
}
.site-header.stuck .nav-toggle span { background: var(--ink); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* ══════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding-block: 140px 110px;
  background:
    radial-gradient(120% 95% at 78% 8%, rgba(179, 74, 43, .5) 0%, transparent 58%),
    radial-gradient(90% 80% at 12% 92%, rgba(94, 36, 21, .85) 0%, transparent 62%),
    linear-gradient(155deg, #2a1109 0%, #4d1d10 42%, #200d06 100%);
  color: var(--paper);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(75% 60% at 50% 50%, transparent 40%, rgba(0,0,0,.55) 100%);
  z-index: 1;
}
.hero-shell {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.hero-rail {
  position: absolute;
  left: clamp(16px, 2.2vw, 30px);
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-size: 11px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(226, 189, 116, .5);
  z-index: 2;
  white-space: nowrap;
}

.hero-title { margin: 0 0 26px; }
.ht-small, .ht-big { display: block; }
.ht-small {
  font-family: var(--text);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 2.5vw, 31px);
  color: var(--gold-lit);
  letter-spacing: 0.006em;
  margin-left: .12em;
}
.ht-big {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(38px, 6.6vw, 78px);
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--paper);
  margin-block: .06em .12em;
}

.hero-sub {
  margin: 0 0 6px;
  font-size: clamp(15px, 1.5vw, 18px);
  font-style: italic;
  color: rgba(246, 240, 223, .72);
}
.hero-byline {
  margin: 0 0 40px;
  font-family: var(--text);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(226, 189, 116, .85);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-book { position: relative; display: flex; justify-content: center; }
.hero-book::before {
  content: "";
  position: absolute; left: 50%; top: 52%;
  width: 118%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(226,189,116,.19) 0%, transparent 62%);
}
/* The cover render ships with a rust studio backdrop baked in.
   Feathering its edges lets the book float in the ambient
   gradient instead of reading as a pasted rectangle. */
.plate-fade {
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 52%, transparent 86%);
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 52%, transparent 86%);
}

.hero-book img {
  position: relative;
  width: min(100%, 540px);
  transform: rotate(-4.5deg);
  animation: bookFloat 9s ease-in-out infinite;
}
@keyframes bookFloat {
  0%, 100% { transform: rotate(-4.5deg) translateY(0); }
  50%      { transform: rotate(-3.2deg) translateY(-16px); }
}

.scroll-cue {
  position: absolute; left: 50%; bottom: 34px;
  transform: translateX(-50%);
  z-index: 4;
  display: block; padding: 10px;
}
.scroll-line {
  display: block; width: 1px; height: 58px;
  background: linear-gradient(to bottom, transparent, rgba(226,189,116,.75));
  position: relative; overflow: hidden;
}
.scroll-line::after {
  content: ""; position: absolute; inset: 0;
  background: var(--gold-lit);
  animation: cue 2.6s var(--ease) infinite;
}
@keyframes cue {
  0%   { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}

/* ── Plates (buttons) ──────────────────────────────────
   Visibly buttons at rest — a soft fill plus a solid
   border, not just an outline that only reads as
   interactive on hover. ─────────────────────────────── */
.plate {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 30px;
  border: 1px solid var(--gold-lit);
  background: rgba(226, 189, 116, .16);
  color: var(--gold-lit);
  font-family: var(--text);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  overflow: hidden;
  transition: color .45s var(--ease), border-color .45s var(--ease);
}
.plate span { position: relative; z-index: 2; }
.plate::before {
  content: ""; position: absolute; inset: 0;
  background: var(--gold-lit);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .45s var(--ease);
}
.plate:hover { color: var(--oxblood); border-color: var(--gold-lit); }
.plate:hover::before { transform: scaleY(1); }
.plate-quiet { border-color: rgba(246, 240, 223, .6); background: rgba(246, 240, 223, .1); color: rgba(246, 240, 223, .96); }
.plate-quiet::before { background: rgba(246, 240, 223, .96); }
.plate-quiet:hover { color: var(--oxblood); border-color: rgba(246, 240, 223, .96); }
.plate-solid {
  width: 100%;
  border-color: var(--oxblood);
  background: var(--oxblood);
  color: var(--paper);
  padding-block: 18px;
}
.plate-solid::before { background: var(--ember); }
.plate-solid:hover { color: var(--paper); border-color: var(--ember); }

/* ══════════════════════════════════════════════════════
   HONOR ROLL — six presidencies
   ══════════════════════════════════════════════════════ */
.roll { background: var(--paper-deep); }
.roll-list { border-top: 1px solid var(--rule); }
.roll-item {
  display: grid;
  grid-template-columns: clamp(60px, 8vw, 116px) 1fr;
  align-items: baseline;
  gap: clamp(12px, 3vw, 40px);
  padding-block: clamp(22px, 3.1vw, 40px);
  border-bottom: 1px solid var(--rule);
  transition: background-color .5s var(--ease), padding-left .5s var(--ease);
}
.roll-item:hover { background: rgba(198, 149, 64, .085); padding-left: 14px; }
.roll-num {
  font-family: var(--text);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gold-ink);
  font-variant-numeric: tabular-nums;
}
.roll-name {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(19px, 2.8vw, 34px);
  line-height: 1.2;
  letter-spacing: 0.004em;
  transition: color .45s var(--ease);
}
.roll-item:hover .roll-name { color: var(--rust); }

/* ══════════════════════════════════════════════════════
   THE BOOK — editorial spreads
   ══════════════════════════════════════════════════════ */
.book { background: var(--paper); }
.spread {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
  margin-bottom: clamp(64px, 9vw, 130px);
}
.spread:last-child { margin-bottom: 0; }
.spread-flip { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); }
.spread-text p { color: var(--ink-soft); }
.spread-text em { color: var(--ink); font-style: italic; }

.spread-figure { margin: 0; position: relative; }
.spread-figure::before {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid var(--gold);
  opacity: .5;
  z-index: 0;
}
.spread-figure img {
  position: relative; z-index: 1;
  width: 100%;
  filter: grayscale(.14) contrast(1.03);
  transition: filter .7s var(--ease);
}
.spread-figure:hover img { filter: grayscale(0) contrast(1); }
.spread-figure figcaption {
  position: relative; z-index: 1;
  margin-top: 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

.dropcap::first-letter {
  float: left;
  font-family: var(--display);
  font-weight: 700;
  font-size: 3.9em;
  line-height: .82;
  margin: .06em .1em 0 0;
  color: var(--rust);
}

/* ══════════════════════════════════════════════════════
   PULL QUOTE
   ══════════════════════════════════════════════════════ */
.quote {
  background:
    radial-gradient(100% 90% at 20% 0%, rgba(138, 58, 34, .55) 0%, transparent 60%),
    linear-gradient(165deg, #24100a 0%, #150903 100%);
  color: var(--paper);
  position: relative;
}
.quote-shell { position: relative; z-index: 2; max-width: 900px; }
.quote-mark {
  position: absolute;
  top: -.4em; left: -.05em;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(150px, 22vw, 290px);
  line-height: 1;
  color: rgba(226, 189, 116, .13);
  pointer-events: none;
  z-index: -1;
}
.quote blockquote { margin: 0; }
.quote blockquote p {
  font-family: var(--text);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(19px, 2.15vw, 27px);
  line-height: 1.58;
  letter-spacing: -0.004em;
  color: rgba(246, 240, 223, .93);
}
.quote blockquote p em { font-style: italic; font-weight: 600; color: var(--gold-lit); }
.quote footer { margin-top: 36px; }
.quote cite {
  font-family: var(--text);
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-lit);
}
.quote cite::before {
  content: ""; display: block;
  width: 54px; height: 1px; margin-bottom: 18px;
  background: var(--gold);
}

/* ══════════════════════════════════════════════════════
   AUTHOR
   ══════════════════════════════════════════════════════ */
.author { background: var(--paper); }
.author-grid {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}
.author-portrait { margin: 0; position: relative; position: sticky; top: 120px; }
.author-portrait::before {
  content: "";
  position: absolute;
  inset: -16px 16px 16px -16px;
  border: 1px solid var(--gold);
  opacity: .55;
  z-index: 0;
}
.author-portrait img {
  position: relative; z-index: 1;
  width: 100%;
  filter: grayscale(.1) contrast(1.02);
  transition: filter .7s var(--ease);
}
.author-portrait:hover img { filter: none; }
.author-body p { color: var(--ink-soft); }
.author-col .section-head { margin-bottom: 40px; }

/* ══════════════════════════════════════════════════════
   GALLERY — archival mosaic
   ══════════════════════════════════════════════════════ */
.gallery { background: var(--paper-deep); }
.mosaic {
  columns: 3;
  column-gap: clamp(12px, 1.6vw, 22px);
}
.tile {
  position: relative;
  display: block;
  width: 100%;
  margin-bottom: clamp(12px, 1.6vw, 22px);
  break-inside: avoid;
  overflow: hidden;
  background: #ddd3c4;
  cursor: pointer;
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.tile.in { opacity: 1; transform: none; }
.tile img {
  width: 100%;
  filter: grayscale(.2) contrast(1.02);
  transition: transform .85s var(--ease), filter .7s var(--ease);
}
.tile::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(94, 36, 21, .5), transparent 55%);
  opacity: 0;
  transition: opacity .55s var(--ease);
}
.tile:hover img, .tile:focus-visible img { transform: scale(1.055); filter: grayscale(0) contrast(1); }
.tile:hover::after, .tile:focus-visible::after { opacity: 1; }

/* ══════════════════════════════════════════════════════
   ACQUIRE
   ══════════════════════════════════════════════════════ */
.acquire {
  background:
    radial-gradient(95% 85% at 15% 15%, rgba(179, 74, 43, .45) 0%, transparent 60%),
    linear-gradient(150deg, #2a1109 0%, #4a1c10 55%, #1c0b05 100%);
  color: var(--paper);
}
.acquire-shell {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(38px, 6vw, 90px);
  align-items: center;
}
.acquire-book { margin: 0; }
.acquire-book img {
  width: min(100%, 430px);
  transform: rotate(-3.5deg);
}
.acquire-note {
  max-width: 44ch;
  margin: 22px 0 34px;
  color: rgba(246, 240, 223, .74);
  font-size: 17px;
}

/* ══════════════════════════════════════════════════════
   CONTACT
   ══════════════════════════════════════════════════════ */
.contact { background: var(--paper); }
.contact-shell { max-width: 720px; }
.contact-note {
  margin: 24px auto 0;
  max-width: 46ch;
  color: var(--ink-soft);
  font-size: 17px;
}

.form { margin-top: 8px; }
.field { position: relative; margin-bottom: 30px; }
.field input,
.field textarea {
  width: 100%;
  padding: 14px 2px 12px;
  font-family: var(--text);
  font-size: 17px;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  resize: vertical;
  transition: border-color .45s var(--ease);
}
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold-ink); }
.field label {
  position: absolute; left: 2px; top: 14px;
  font-size: 17px;
  color: var(--ink-faint);
  pointer-events: none;
  transform-origin: left top;
  transition: transform .38s var(--ease), color .38s var(--ease);
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label {
  transform: translateY(-24px) scale(.72);
  color: var(--gold-ink);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.gotcha { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.form-status {
  margin: 18px 0 0;
  min-height: 22px;
  text-align: center;
  font-size: 15px;
}
.form-status.ok  { color: #35663f; }
.form-status.err { color: #a3341f; }

/* ══════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════ */
.site-footer {
  background: #150903;
  color: rgba(246, 240, 223, .55);
  padding-block: 52px;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-name {
  margin: 0;
  font-family: var(--text);
  font-size: 17px;
  font-style: italic;
  color: var(--gold-lit);
}
.footer-legal { margin: 0; font-size: 13px; letter-spacing: .03em; }

/* ══════════════════════════════════════════════════════
   ORDER PAGE (buy.html)
   ══════════════════════════════════════════════════════ */
.order {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding-block: 150px 110px;
  background:
    radial-gradient(110% 90% at 82% 10%, rgba(179, 74, 43, .48) 0%, transparent 58%),
    radial-gradient(90% 80% at 10% 92%, rgba(94, 36, 21, .8) 0%, transparent 62%),
    linear-gradient(155deg, #2a1109 0%, #4d1d10 44%, #1c0b05 100%);
  color: var(--paper);
  overflow: hidden;
}
.order-shell {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.order-book { margin: 0; position: relative; }
.order-book::before {
  content: "";
  position: absolute; left: 50%; top: 50%;
  width: 125%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(226,189,116,.2) 0%, transparent 62%);
}
.order-book img {
  position: relative;
  width: min(100%, 450px);
  transform: rotate(-4deg);
}
.order-note {
  max-width: 46ch;
  margin: 24px 0 46px;
  color: rgba(246, 240, 223, .76);
  font-size: 17px;
}
.order-note em { color: var(--gold-lit); font-style: italic; }

.order-links { border-top: 1px solid rgba(226, 189, 116, .22); }
.retailer {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: center;
  gap: 18px;
  padding-block: 26px;
  border-bottom: 1px solid rgba(226, 189, 116, .22);
  transition: padding-left .5s var(--ease), background-color .5s var(--ease);
}
.retailer:hover { padding-left: 14px; background: rgba(226, 189, 116, .07); }
.retailer-num {
  font-family: var(--text);
  font-size: 12px; font-weight: 600;
  letter-spacing: .2em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.retailer-name {
  font-family: var(--display);
  font-size: clamp(18px, 2.1vw, 25px);
  font-weight: 500;
  letter-spacing: 0.004em;
  transition: color .4s var(--ease);
}
.retailer:hover .retailer-name { color: var(--gold-lit); }
.retailer-arrow {
  font-size: 20px;
  color: var(--gold);
  transition: transform .45s var(--ease);
}
.retailer:hover .retailer-arrow { transform: translate(4px, -4px); }

.order-back {
  display: inline-block;
  margin-top: 42px;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(246, 240, 223, .6);
  transition: color .35s var(--ease);
}
.order-back:hover { color: var(--gold-lit); }

@media (max-width: 900px) {
  .order { min-height: auto; padding-block: 130px 84px; }
  .order-shell { grid-template-columns: 1fr; gap: 42px; }
  .order-book { display: flex; justify-content: center; }
  .order-book img { width: min(80%, 340px); }
}

/* ══════════════════════════════════════════════════════
   LIGHTBOX
   ══════════════════════════════════════════════════════ */
.lightbox {
  position: fixed; inset: 0; z-index: 500;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(20px, 5vw, 64px);
  background: rgba(14, 6, 3, .96);
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox.on { opacity: 1; }
.lb-stage { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.lb-stage img {
  max-width: min(92vw, 1100px);
  max-height: 78vh;
  width: auto;
  box-shadow: 0 30px 70px rgba(0,0,0,.6);
}
.lb-stage figcaption {
  font-family: var(--text);
  font-size: 12px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-lit);
  font-variant-numeric: tabular-nums;
}
.lb-close {
  position: absolute; top: 22px; right: 26px;
  width: 48px; height: 48px;
  font-size: 32px; line-height: 1;
  color: rgba(246, 240, 223, .75);
  transition: color .3s, transform .3s var(--ease);
}
.lb-close:hover { color: var(--gold-lit); transform: rotate(90deg); }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 60px; height: 60px;
  font-size: 44px; line-height: 1;
  color: rgba(246, 240, 223, .6);
  transition: color .3s var(--ease);
}
.lb-nav:hover { color: var(--gold-lit); }
.lb-prev { left: clamp(6px, 2vw, 26px); }
.lb-next { right: clamp(6px, 2vw, 26px); }

/* ══════════════════════════════════════════════════════
   MOTION
   ══════════════════════════════════════════════════════ */
.load {
  opacity: 0;
  transform: translateY(26px);
  animation: rise 1s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes rise { to { opacity: 1; transform: none; } }

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .95s var(--ease), transform .95s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

.roll-item.reveal { transition-delay: calc(var(--i, 0) * 90ms); }

/* ══════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════ */
@media (max-width: 1080px) {
  .mosaic { columns: 2; }
  .hero-rail { display: none; }
}

@media (max-width: 900px) {
  body { font-size: 17px; }

  /* Fixed header stays 84px tall at every breakpoint, so any
     element placed at the very top of a section must clear
     it via normal flow (padding), never via a negative margin
     that pulls content back up underneath the header. */
  .hero { min-height: auto; padding-block: 128px 72px; }
  .hero-shell { grid-template-columns: 1fr; gap: 40px; }
  .hero-book { order: -1; }
  .hero-book img { width: min(82%, 380px); }
  .scroll-cue { display: none; }

  .spread, .spread-flip { grid-template-columns: 1fr; gap: 34px; }
  .spread-figure { order: -1; max-width: 420px; }
  .spread-figure::before { inset: 10px -10px -10px 10px; }

  .author-grid { grid-template-columns: 1fr; gap: 40px; }
  .author-portrait { position: static; max-width: 400px; }
  .author-portrait::before { inset: -12px 12px 12px -12px; }

  .acquire-shell { grid-template-columns: 1fr; gap: 44px; text-align: center; }
  .acquire-book { display: flex; justify-content: center; }
  .acquire-note { margin-inline: auto; }
  .acquire .hero-actions { justify-content: center; }
  .acquire .eyebrow::after { margin-inline: auto; }
  .acquire .section-head { margin-inline: auto; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 84px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 34px;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    transform: translateY(-12px);
    opacity: 0; visibility: hidden;
    transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav a { color: var(--ink) !important; font-size: 17px; padding: 17px 0; border-bottom: 1px solid var(--rule); }
  .nav a::after { display: none; }
  .nav-cta {
    margin-top: 20px;
    padding-block: 16px;
    text-align: center;
    border: none !important;
  }
  .section-head { margin-bottom: 40px; }
  .mosaic { columns: 2; }
  .quote-mark { font-size: 130px; top: -.3em; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 460px) {
  .mosaic { columns: 1; }
  .roll-item { grid-template-columns: 44px 1fr; gap: 12px; }
  .plate { width: 100%; }
}

/* ══════════════════════════════════════════════════════
   REDUCED MOTION
   ══════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .load, .reveal, .tile { opacity: 1 !important; transform: none !important; }
  .hero-book img { animation: none; }
}
