/* ============================================================================
   SOULS FOR SALE II — WILL JONES
   ----------------------------------------------------------------------------
   Palette is lifted from the book's own cover art: the cold teal of Ashley's
   hood and the rain, the amber of the lanterns behind her, on black.
   Two accents, two jobs, and they never touch:
       FLARE (amber) = people, warmth, anything you can act on.
       COLD  (teal)  = records, times, institutions, the part that's wrong.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400;0,6..96,500;1,6..96,400&family=Archivo:wght@400;500;600&family=DM+Mono:wght@400;500&display=swap');

:root{
  --void:   #08090B;
  --slab:   #0F1216;
  --slab-2: #14181D;
  --bone:   #E9E7E3;
  --ash:    #878C92;
  --ash-dim:#787F86;

  --flare:  #D4762A;   /* lantern amber — actions, warmth, people */
  --flare-b:#E4913F;
  --cold:   #5C9BA6;   /* fluorescent teal — records, times, institutions */
  --cold-d: #2A4A50;

  --hair:   rgba(233,231,227,0.11);
  --hair-2: rgba(233,231,227,0.20);

  --display: 'Bodoni Moda', Georgia, serif;
  --text:    'Archivo', -apple-system, BlinkMacSystemFont, sans-serif;
  --data:    'DM Mono', ui-monospace, monospace;

  --measure: 1240px;
  --gut: 32px;
}

*, *::before, *::after{ box-sizing: border-box; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.001ms !important; animation-iteration-count:1 !important;
     transition-duration:.001ms !important; scroll-behavior:auto !important; }
  /* Never hide content from someone who has asked for less movement. */
  .up{ opacity: 1 !important; transform: none !important; }
  .hero-bg img{ animation: none !important; transform: scale(1.04) !important; }
}

html{ scroll-behavior: smooth; background: var(--void); overflow-x: hidden; }

body{
  margin: 0;
  background: var(--void);
  color: var(--bone);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
::selection{ background: var(--flare); color: var(--void); }
:focus-visible{ outline: 2px solid var(--flare); outline-offset: 3px; }

p{ margin: 0 0 1.1em; color: var(--ash); }
p:last-child{ margin-bottom: 0; }
strong{ color: var(--bone); font-weight: 600; }

/* ---------- scroll record line ------------------------------------------- */

.grain{
  position: fixed; inset: -120px; z-index: 250; pointer-events: none; opacity: .30;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
  animation: grain-drift 7s steps(6) infinite;
  mix-blend-mode: overlay;
}
@keyframes grain-drift{
  0%{transform:translate(0,0)} 20%{transform:translate(-14px,8px)}
  40%{transform:translate(10px,-12px)} 60%{transform:translate(-8px,-6px)}
  80%{transform:translate(12px,10px)} 100%{transform:translate(0,0)}
}
@media (prefers-reduced-motion: reduce){ .grain{ animation: none; } }

.recline{
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  background: var(--cold); z-index: 300; transition: width .1s linear;
}

/* ---------- shell --------------------------------------------------------- */

.shell{ max-width: var(--measure); margin: 0 auto; padding: 0 var(--gut); }
.narrow{ max-width: 660px; }
.mid{ max-width: 860px; }

/* ---------- type ---------------------------------------------------------- */

h1,h2,h3{ margin:0; font-family: var(--display); font-weight: 400; color: var(--bone); }

.d1{ font-size: clamp(46px, 8.4vw, 118px); line-height: .94; letter-spacing: -.022em; }
.d2{ font-size: clamp(34px, 5.2vw, 68px);  line-height: 1.0;  letter-spacing: -.016em; }
.d3{ font-size: clamp(25px, 3.1vw, 40px);  line-height: 1.1;  letter-spacing: -.01em; }
.d4{ font-family: var(--text); font-size: 20px; font-weight: 600; line-height: 1.3;
     letter-spacing: -.005em; }
.d1 em,.d2 em,.d3 em{ font-style: italic; }

.tag{
  font-family: var(--data); font-size: 11px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; color: var(--flare);
  display: block;
}
.tag--cold{ color: var(--cold); }
.tag--ash{ color: var(--ash-dim); }

.lede{ font-size: clamp(18px, 2vw, 21px); line-height: 1.55; color: var(--bone); }

/* ---------- buttons ------------------------------------------------------- */

.btn{
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--text); font-size: 14px; font-weight: 600;
  letter-spacing: .04em; padding: 15px 26px; border: 1px solid transparent;
  transition: background .22s ease, border-color .22s ease, color .22s ease, transform .22s ease;
  cursor: pointer; text-align: center;
}
.btn--go{ background: var(--flare); color: #100C08; border-color: var(--flare); }
.btn--go:hover{ background: var(--flare-b); border-color: var(--flare-b); transform: translateY(-1px); }
.btn--line{ background: transparent; color: var(--bone); border-color: var(--hair-2); }
.btn--line:hover{ border-color: var(--bone); }
.btns{ display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.price{ font-family: var(--data); font-size: 13px; color: var(--ash); }
.price b{ color: var(--flare); font-weight: 500; }

/* ---------- header -------------------------------------------------------- */

.top{
  position: sticky; top: 0; z-index: 200;
  background: rgba(8,9,11,.9); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hair);
}
.top-in{
  max-width: var(--measure); margin: 0 auto; padding: 16px var(--gut);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.mark{
  font-family: var(--display); font-size: 17px; letter-spacing: .01em;
  white-space: nowrap; flex: 0 0 auto;
}
.mark i{ font-style: italic; }
.mark span{
  font-family: var(--data); font-size: 9px; letter-spacing: .18em;
  color: var(--cold); display: block; margin-top: 1px;
}
.nav{ display: flex; align-items: center; gap: 20px; min-width: 0; }
.nav a{
  font-size: 13px; font-weight: 500; letter-spacing: .02em; color: var(--ash);
  white-space: nowrap; transition: color .2s ease;
}
.nav a:hover, .nav a.on{ color: var(--bone); }
.nav a.on{ box-shadow: 0 6px 0 -5px var(--flare); }
.nav a.btn{ padding: 10px 20px; font-size: 12.5px; }
.nav a.btn--go{ color: #100C08; }
.nav a.btn--go:hover{ color: #100C08; }
.burger{
  display: none; background: none; border: 1px solid var(--hair-2);
  color: var(--bone); font-size: 17px; line-height: 1; padding: 9px 13px; cursor: pointer;
}
@media (max-width: 820px){ .foot-top{ grid-template-columns: 1fr; gap: 40px; } .foot-cols{ gap: 40px; } }

/* Raised from 1080px when "More Books" became the eighth item — eight links
   plus the Buy button no longer fit on one line below this width. */
@media (max-width: 1180px){
  .nav{
    position: fixed; top: 0; right: 0; bottom: auto; left: auto;
    width: min(320px, 84vw); height: 100vh; height: 100dvh;
    background: var(--slab); border-left: 1px solid var(--hair);
    overflow-y: auto;
    flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 22px; padding: 40px 34px; transform: translateX(100%);
    visibility: hidden;
    transition: transform .35s cubic-bezier(.2,.7,.2,1), visibility 0s linear .35s;
  }
  .nav.open{ transform: translateX(0); visibility: visible; transition-delay: 0s; }
  .nav a{ font-size: 17px; }
  .burger{ display: block; position: relative; z-index: 210; }
}

/* ---------- free-story ribbon -------------------------------------------- */

.ribbon{
  display: flex; align-items: center; justify-content: center; gap: 13px;
  padding: 10px 22px; background: var(--slab);
  border-bottom: 1px solid var(--hair);
  font-family: var(--data); font-size: 12px; color: var(--ash);
  text-align: center; transition: background .25s ease;
}
.ribbon:hover{ background: var(--slab-2); }
.ribbon b{ color: var(--bone); font-weight: 500; }
.ribbon .chip{
  font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase;
  background: var(--flare); color: #14100C; padding: 4px 8px; font-weight: 500;
}
.ribbon .go{ color: var(--flare); white-space: nowrap; }
.ribbon .short{ display: none; }
@media (max-width: 660px){
  .ribbon{ font-size: 11px; gap: 9px; padding: 9px 14px; flex-wrap: nowrap; }
  .ribbon .full, .ribbon .go{ display: none; }
  .ribbon .short{ display: inline; }
}

/* ---------- reveal -------------------------------------------------------- */

.up{ opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.up.in{ opacity: 1; transform: none; }

/* ---------- hero ---------------------------------------------------------- */

.hero{ position: relative; min-height: 92vh; display: flex; align-items: flex-end;
       overflow: hidden; border-bottom: 1px solid var(--hair); }
.hero-bg{ position: absolute; inset: 0; }
.hero-bg img{
  width: 100%; height: 100%; object-fit: cover; opacity: .62;
  filter: grayscale(30%) contrast(1.05);
  transform: scale(1.06); animation: drift 26s ease-in-out infinite alternate;
}
@keyframes drift{ to{ transform: scale(1.14) translateY(-1.4%); } }
.hero-bg::after{
  content:""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,9,11,.58) 0%, rgba(8,9,11,.26) 34%, rgba(8,9,11,.93) 86%);
}
.hero-in{ position: relative; width: 100%; padding: 108px 0 60px; }
.hero-grid{ display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 48px; align-items: end; }

.clockline{ display: flex; align-items: baseline; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.clockline .t{
  font-family: var(--data); font-size: 13px; letter-spacing: .12em; color: var(--cold);
}
.clockline .bar{ flex: 1 1 40px; height: 1px; background: var(--cold-d); min-width: 24px; }

.hero-title{ margin-bottom: 26px; font-size: clamp(34px, 5.1vw, 76px); line-height: .98; }
.hero-sub{ max-width: 46ch; font-size: 18px; color: var(--bone); }
.hero-meta{
  font-family: var(--data); font-size: 11.5px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ash-dim); margin: 26px 0 30px;
}

/* The cover, standing in the street rather than pasted beside it. The phone
   leans against it because that is how the news actually arrives. */
.hero-art{ position: relative; width: 330px; flex: 0 0 auto; }
.hero-art .cover{
  width: 100%; border: 1px solid var(--hair-2);
  box-shadow: 0 44px 96px rgba(0,0,0,.82), 0 0 70px rgba(212,118,42,.09);
  transform: rotate(-1.5deg);
}
.hero-art .phone{
  position: absolute; width: 118px; left: -74px; bottom: -46px;
  border: 1px solid var(--hair-2); box-shadow: 0 26px 56px rgba(0,0,0,.8);
  transform: rotate(4.5deg);
}
.hero-art figcaption{
  font-family: var(--data); font-size: 10px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ash-dim); margin-top: 20px; text-align: right;
}
@media (max-width: 640px){
  .clockline{ gap: 6px 14px; margin-bottom: 20px; }
  .clockline .bar{ display: none; }
  .clockline .t{ font-size: 11px; letter-spacing: .1em; }
}

@media (max-width: 1120px){ .hero-art{ width: 260px; } .hero-art .phone{ width: 108px; left: -40px; } }
@media (max-width: 900px){
  .hero-grid{ grid-template-columns: 1fr; gap: 40px; }
  .hero-art{ width: 200px; margin-left: 0; }
  .hero-art .phone{ display: none; }
  .hero-art figcaption{ text-align: left; }
  .hero{ min-height: auto; }
  .hero-in{ padding: 76px 0 58px; }
}

/* ---------- sections ------------------------------------------------------ */

.band{ padding: 116px 0; }
.band--tight{ padding: 74px 0; }
.band--slab{ background: var(--slab); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.head{ margin-bottom: 46px; }
.head .tag{ margin-bottom: 14px; }
.head p{ margin-top: 18px; max-width: 60ch; }

@media (max-width: 760px){
  .band{ padding: 78px 0; }
  .band--tight{ padding: 56px 0; }
}

/* ---------- the sixteen minutes (signature) ------------------------------ */

.sixteen{
  position: relative; background: var(--void);
  border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair);
  padding: 0;
}
.sixteen-track{ height: 175vh; position: relative; }
.sixteen-stick{
  position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0; overflow: hidden;
}
.sixteen-stick::before{
  content:""; position: absolute; inset: 0;
  background: radial-gradient(58% 46% at 50% 46%, rgba(92,155,166,.10), transparent 70%);
  pointer-events: none;
}
.sixteen-label{
  font-family: var(--data); font-size: 11.5px; letter-spacing: .24em;
  text-transform: uppercase; color: var(--cold); margin-bottom: 26px; text-align: center;
  min-height: 1.4em; padding: 0 20px;
}
.sixteen-clock{
  font-family: var(--display); font-size: clamp(84px, 20vw, 250px); line-height: .86;
  letter-spacing: -.03em; color: var(--bone); font-variant-numeric: tabular-nums;
  transition: color .4s ease;
}
.sixteen-clock.gone{ color: var(--cold); }
.sixteen-clock.gone{ letter-spacing: .02em; animation: cut-in .5s ease both; }
@keyframes cut-in{ from{ opacity:.15; } to{ opacity:1; } }
.sixteen-note{
  font-family: var(--text); font-size: 15px; color: var(--ash);
  margin-top: 30px; text-align: center; max-width: 40ch; padding: 0 20px;
  min-height: 3em;
}
.sixteen-rail{
  width: min(560px, 74vw); height: 1px; background: var(--cold-d);
  margin-top: 40px; position: relative;
}
.sixteen-rail i{ position: absolute; inset: 0 auto 0 0; background: var(--cold); width: 0%; display: block; }
.sixteen-ends{
  width: min(560px, 74vw); display: flex; justify-content: space-between;
  font-family: var(--data); font-size: 10.5px; letter-spacing: .14em;
  color: var(--ash-dim); margin-top: 12px;
}

/* ---------- full-bleed photo breaks -------------------------------------- */

.plate{ position: relative; height: min(78vh, 760px); overflow: hidden; }
.plate img{ width: 100%; height: 100%; object-fit: cover; filter: grayscale(20%); }
.plate::after{
  content:""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,9,11,.66), rgba(8,9,11,.30) 45%, rgba(8,9,11,.90));
}
.plate-copy{
  position: absolute; inset: auto 0 0 0; padding: 0 0 66px;
  z-index: 2;
}
.plate-copy .shell{ max-width: var(--measure); }
.plate-copy p{ max-width: 46ch; margin-top: 16px; color: var(--bone); }
@media (max-width: 760px){ .plate{ height: 66vh; } .plate-copy{ padding-bottom: 44px; } }

/* ---------- two-up (photo + words), alternating -------------------------- */

.duo{ display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.duo--flip .duo-fig{ order: 2; }
.duo-fig{ position: relative; }
.duo-fig img{ width: 100%; aspect-ratio: 4/5; object-fit: cover; filter: grayscale(18%); }
.duo-fig figcaption{
  font-family: var(--data); font-size: 10.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ash-dim); margin-top: 12px;
}
.duo h3{ margin-bottom: 16px; }
@media (max-width: 860px){
  .duo{ grid-template-columns: 1fr; gap: 32px; }
  .duo--flip .duo-fig{ order: 0; }
  .duo-fig img{ aspect-ratio: 3/2; }
}

/* ---------- the record ledger (facts, not cards) ------------------------- */

.ledger{ border-top: 1px solid var(--hair); }
.ledger-row{
  display: grid; grid-template-columns: 120px 1fr auto; gap: 26px;
  padding: 26px 4px; border-bottom: 1px solid var(--hair); align-items: baseline;
}
.ledger-row .when{ font-family: var(--data); font-size: 15px; color: var(--cold); letter-spacing: .04em; }
.ledger-row .what{ font-size: 17px; color: var(--bone); }
.ledger-row .who{ font-family: var(--data); font-size: 11px; letter-spacing: .14em;
                  text-transform: uppercase; color: var(--ash-dim); }
.ledger-row.blank .when, .ledger-row.blank .what{ color: var(--cold); }
@media (max-width: 660px){
  .ledger-row{ grid-template-columns: 88px 1fr; gap: 14px; }
  .ledger-row .who{ grid-column: 2; }
}

/* ---------- people -------------------------------------------------------- */

.people{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.people--two{ grid-template-columns: repeat(2, 1fr); }
.people--two .person img{ aspect-ratio: 5/4; object-position: 50% 24%; }
.person{ position: relative; overflow: hidden; background: var(--slab); }
.person img{
  width: 100%; aspect-ratio: 3/4; object-fit: cover;
  filter: grayscale(58%) brightness(.78); transition: filter .55s ease, transform .9s cubic-bezier(.2,.7,.2,1);
}
.person:hover img{ filter: grayscale(0%) brightness(.94); transform: scale(1.045); }
.person-cap{ position: absolute; inset: auto 0 0 0; padding: 24px 22px 22px; z-index: 2;
  background: linear-gradient(rgba(8,9,11,0), rgba(8,9,11,.80) 34%, rgba(8,9,11,.97)); }
.person-cap .tag{ margin-bottom: 5px; font-size: 10px; }
.person-cap h3{ font-family: var(--text); font-size: 19px; font-weight: 600; }
.person-cap p{ font-size: 14px; margin: 9px 0 0; line-height: 1.55; color: #B6BABE; }
@media (max-width: 900px){ .people{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .people{ grid-template-columns: 1fr; } }

/* ---------- free story ---------------------------------------------------- */

.gift{ position: relative; overflow: hidden; }
.gift-grid{ display: grid; grid-template-columns: 340px 1fr; gap: 62px; align-items: center; }
.gift-cover{ position: relative; }
.gift-cover img{ width: 100%; border: 1px solid var(--hair-2); box-shadow: 0 34px 80px rgba(0,0,0,.7); }
.gift-cover .chip{
  position: absolute; top: -12px; left: -12px;
  font-family: var(--data); font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  background: var(--flare); color: #14100C; padding: 7px 12px; font-weight: 500;
}
.facts{ display: flex; border: 1px solid var(--hair); margin: 30px 0; }
.fact{ flex: 1 1 0; padding: 15px 18px; border-left: 1px solid var(--hair); }
.fact:first-child{ border-left: 0; }
.fact b{ display: block; font-family: var(--display); font-size: 25px; font-weight: 400;
         color: var(--bone); line-height: 1; margin-bottom: 7px; }
.fact span{ font-family: var(--data); font-size: 10px; letter-spacing: .14em;
            text-transform: uppercase; color: var(--ash-dim); }
@media (max-width: 900px){ .gift-grid{ grid-template-columns: 1fr; gap: 38px; }
  .gift-cover{ max-width: 300px; } }
@media (max-width: 560px){
  .facts{ display: grid; grid-template-columns: 1fr 1fr; }
  .fact:nth-child(odd){ border-left: 0; }
  .fact:nth-child(n+3){ border-top: 1px solid var(--hair); }
}

/* ---------- claim panel --------------------------------------------------- */

.claim{ border: 1px solid var(--hair-2); background: var(--slab); padding: 40px 38px; max-width: 620px; }
.claim h3{ margin: 10px 0 12px; }
.claim-form{ display: grid; gap: 12px; margin-top: 24px; }
.claim-two{ display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.claim-form input{
  width: 100%; background: var(--void); border: 1px solid var(--hair-2); color: var(--bone);
  font-family: var(--text); font-size: 15px; padding: 15px 15px; border-radius: 0;
  transition: border-color .22s ease;
}
.claim-form input::placeholder{ color: var(--ash-dim); }
.claim-form input:focus{ outline: none; border-color: var(--flare); }
.claim-form button{ width: 100%; }
.claim-form button[disabled]{ opacity: .6; cursor: wait; }
.fine{ font-family: var(--data); font-size: 11px; line-height: 1.7; color: var(--ash-dim); margin-top: 16px; }
.fine a{ color: var(--ash); text-decoration: underline; text-underline-offset: 2px; }
.skip{ margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--hair);
       font-family: var(--data); font-size: 11.5px; color: var(--ash-dim); }
.skip a{ color: var(--flare); text-decoration: underline; text-underline-offset: 3px; }
.err{ font-family: var(--data); font-size: 12px; color: var(--flare); margin-top: 12px; display: none; }
.err.show{ display: block; }
.claim-done{ display: none; }
.claim.done .claim-start{ display: none; }
.claim.done .claim-done{ display: block; }
@media (max-width: 560px){ .claim{ padding: 28px 22px; } .claim-two{ grid-template-columns: 1fr; } }

/* ---------- excerpt ------------------------------------------------------- */

.excerpt{ max-width: 60ch; margin: 0 auto; }
.excerpt p{
  font-family: var(--display); font-size: 18px; line-height: 1.74;
  color: #C9C6C1; margin-bottom: 1.1em;
}
.excerpt p:first-of-type::first-letter{
  font-size: 3.2em; line-height: .8; float: left; padding: 8px 12px 0 0; color: var(--flare);
}
.excerpt .stop{
  font-family: var(--data); font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ash-dim); margin-top: 8px;
}

/* ---------- pull quote ---------------------------------------------------- */

.pull{ text-align: center; padding: 96px 0; }
.pull blockquote{
  margin: 0 auto; max-width: 24ch; font-family: var(--display); font-style: italic;
  font-size: clamp(24px, 3.6vw, 42px); line-height: 1.34; color: var(--bone);
}
.pull cite{
  display: block; margin-top: 24px; font-family: var(--data); font-style: normal;
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ash-dim);
}

/* ---------- map ----------------------------------------------------------- */

.mapwrap{ position: relative; border: 1px solid var(--hair); max-width: 720px; margin: 0 auto; cursor: zoom-in; }
.mapwrap figcaption{ font-family: var(--data); font-size: 10.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ash-dim); margin-top: 12px; text-align: center; }
.mapwrap img{ width: 100%; }
.pin{
  position: absolute; width: 13px; height: 13px; border-radius: 50%;
  background: var(--flare); border: 0; padding: 0; cursor: pointer;
  transform: translate(-50%,-50%); box-shadow: 0 0 0 5px rgba(212,118,42,.22);
  transition: transform .25s ease, box-shadow .25s ease;
}
.pin:hover, .pin:focus-visible{ transform: translate(-50%,-50%) scale(1.35); box-shadow: 0 0 0 9px rgba(212,118,42,.18); }
.pin span{
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  background: var(--void); border: 1px solid var(--hair-2); color: var(--bone);
  font-family: var(--data); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 10px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .22s ease;
}
.pin:hover span, .pin:focus-visible span{ opacity: 1; }

/* ---------- neighbourhood strip ------------------------------------------ */

.strip{ display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; }
.strip figure{ margin: 0; position: relative; overflow: hidden; }
.strip img{
  width: 100%; aspect-ratio: 3/4; object-fit: cover;
  filter: grayscale(52%) brightness(.8); transition: filter .55s ease, transform .9s cubic-bezier(.2,.7,.2,1);
}
.strip figure:hover img{ filter: grayscale(0%) brightness(.95); transform: scale(1.05); }
.strip figcaption{
  position: absolute; inset: auto 0 0 0; padding: 16px 14px;
  background: linear-gradient(transparent, rgba(8,9,11,.92));
  font-family: var(--data); font-size: 10px; letter-spacing: .13em;
  text-transform: uppercase; color: var(--bone);
}
@media (max-width: 900px){ .strip{ grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px){ .strip{ grid-template-columns: repeat(2, 1fr); } }

/* ---------- place index --------------------------------------------------- */

.places{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--hair); border: 1px solid var(--hair); }
.place{ background: var(--void); padding: 22px 20px; transition: background .25s ease; }
.place:hover{ background: var(--slab); }
.place b{ display: block; font-family: var(--data); font-size: 11px; color: var(--cold);
          letter-spacing: .14em; margin-bottom: 9px; font-weight: 400; }
.place span{ font-size: 15.5px; color: var(--bone); }
.place{ min-height: 96px; }
@media (max-width: 900px){ .places{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px){ .places{ grid-template-columns: 1fr; } }

/* ---------- series -------------------------------------------------------- */

.series{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.book{ display: flex; flex-direction: column; gap: 16px; }
.book-face{ border: 1px solid var(--hair); background: var(--slab); aspect-ratio: 2/3; overflow: hidden; }
.book-face img{ width: 100%; height: 100%; object-fit: cover; }
.book-face.blank{ display: flex; align-items: center; justify-content: center; text-align: center;
  font-family: var(--display); font-style: italic; font-size: 21px; color: var(--ash-dim); padding: 20px; }
.book .tag{ font-size: 10px; }
.book h3{ font-family: var(--text); font-size: 18px; font-weight: 600; }
@media (max-width: 760px){ .series{ grid-template-columns: 1fr; gap: 40px; } }

/* ---------- chapters ------------------------------------------------------ */

.chapters{ border-top: 1px solid var(--hair); }
.chapter{
  display: flex; align-items: baseline; gap: 20px; padding: 20px 4px;
  border-bottom: 1px solid var(--hair);
}
.chapter .n{ font-family: var(--data); font-size: 12px; color: var(--cold); letter-spacing: .12em; }
.chapter .nm{ font-family: var(--display); font-size: 24px; flex: 1; }
.chapter .of{ font-family: var(--data); font-size: 11px; color: var(--ash-dim); letter-spacing: .12em; }

/* ---------- next step ----------------------------------------------------- */

.step{
  display: grid; grid-template-columns: 210px 1fr; gap: 46px; align-items: center;
  border: 1px solid var(--hair-2); background: var(--slab); padding: 50px 44px;
}
.step img{ width: 100%; border: 1px solid var(--hair); }
@media (max-width: 760px){ .step{ grid-template-columns: 1fr; padding: 32px 24px; gap: 26px; }
  .step img{ max-width: 190px; } }

/* ---------- closing ------------------------------------------------------- */

.close{ position: relative; overflow: hidden; text-align: center; }
.close-bg{ position: absolute; inset: 0; }
.close-bg img{ width: 100%; height: 100%; object-fit: cover; opacity: .34; filter: grayscale(40%); }
.close-bg::after{ content:""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,9,11,.86), rgba(8,9,11,.72) 50%, var(--void)); }
.close-in{ position: relative; padding: 132px 0; }
.close-in .btns{ justify-content: center; margin-top: 34px; }
.close-in p{ max-width: 44ch; margin: 20px auto 0; }
@media (max-width: 760px){ .close-in{ padding: 88px 0; } }

/* ---------- footer -------------------------------------------------------- */

.foot{ background: var(--void); border-top: 1px solid var(--hair); padding: 70px 0 40px; }
.foot-top{ display: grid; grid-template-columns: minmax(260px, 1fr) auto; gap: 56px; align-items: start; }
.foot-mark h2{ font-family: var(--display); font-size: 25px; }
.foot-mark p{ margin-top: 12px; max-width: 34ch; font-size: 15px; }
.foot-cols{ display: flex; gap: 56px; flex-wrap: wrap; }
.foot-col h4{ font-family: var(--data); font-size: 10.5px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--cold); margin: 0 0 16px; font-weight: 400; }
.foot-col a{ display: block; font-size: 14.5px; color: var(--ash); margin-bottom: 11px; transition: color .2s ease; }
.foot-col a:hover{ color: var(--bone); }
.foot-end{
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--hair);
  font-family: var(--data); font-size: 11px; color: var(--ash-dim); letter-spacing: .06em;
}
.foot-end i{ font-family: var(--display); font-style: italic; font-size: 14px; color: var(--cold); letter-spacing: 0; }

/* ---------- footer signup ------------------------------------------------ */

.fsignup{ max-width: 340px; margin-top: 38px; padding-top: 30px; border-top: 1px solid var(--hair); }
.fsignup h4{
  font-family: var(--data); font-size: 10.5px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--cold); margin: 0 0 14px; font-weight: 400;
}
.fsignup p{ font-size: 14px; margin-bottom: 16px; }
.fsignup form{ display: flex; gap: 0; border: 1px solid var(--hair-2); }
.fsignup input{
  flex: 1 1 auto; min-width: 0; background: var(--slab); border: 0; color: var(--bone);
  font-family: var(--text); font-size: 14px; padding: 13px 14px; border-radius: 0;
}
.fsignup input::placeholder{ color: var(--ash-dim); }
.fsignup input:focus{ outline: none; background: var(--slab-2); }
.fsignup button{
  flex: 0 0 auto; border: 0; background: var(--flare); color: #100C08; cursor: pointer;
  font-family: var(--text); font-size: 13px; font-weight: 600; padding: 13px 18px;
  transition: background .2s ease;
}
.fsignup button:hover{ background: var(--flare-b); }
.fsignup .msg{ font-family: var(--data); font-size: 11px; color: var(--ash-dim); margin-top: 12px; }
.fsignup .msg.ok{ color: var(--cold); }

/* ---------- lightbox ------------------------------------------------------ */

.lb{ display: none; position: fixed; inset: 0; z-index: 400; background: rgba(4,4,6,.95);
     align-items: center; justify-content: center; padding: 26px; }
.lb.open{ display: flex; }
.lb-in{ max-width: 820px; width: 100%; display: flex; flex-direction: column; align-items: center; }
.lb-in img{ max-width: 100%; max-height: 82vh; width: auto; height: auto; border: 1px solid var(--hair-2); }
.lb:not(.open) img{ display: none; }
.lb-cap{ font-family: var(--data); font-size: 12px; color: var(--ash); margin-top: 14px; text-align: center; letter-spacing: .06em; }
.lb-x{ position: absolute; top: 22px; right: 26px; background: none; border: 1px solid var(--hair-2);
       color: var(--bone); font-size: 20px; line-height: 1; padding: 8px 14px; cursor: pointer; }

/* ---------- page header (interior pages) --------------------------------- */

.phead{ padding: 96px 0 56px; border-bottom: 1px solid var(--hair); }

/* Two-column page headers (cover or portrait beside the words). These need a
   real class, not inline styles, so they can collapse on a phone. */
.phead-duo{ display: grid; grid-template-columns: 1fr 340px; gap: 58px; align-items: center; }
.phead-duo--lead{ grid-template-columns: 320px 1fr; }
@media (max-width: 880px){
  .phead-duo, .phead-duo--lead{ grid-template-columns: 1fr; gap: 34px; }
  .phead-duo > img, .phead-duo .gift-cover{ max-width: 250px; }
  .phead-duo--lead > img{ max-width: 220px; }
}
.phead .tag{ margin-bottom: 16px; }
.phead p{ margin-top: 22px; max-width: 58ch; font-size: 18px; color: var(--bone); }
@media (max-width: 760px){ .phead{ padding: 64px 0 44px; } }

/* ============================================================================
   OTHER BOOKS  (books.html)
   ----------------------------------------------------------------------------
   Different shelf, same house. These titles are not part of Bethany, so the
   page borrows the site's furniture but drops the case-file voice — no
   timestamps, no status tags, no evidence framing. Each cover is allowed to
   carry its own colour; the page adds none of its own.
   ========================================================================== */

/* Four covers, 2x2, in the page header. */
.stack4{ display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stack4 img{
  width: 100%; aspect-ratio: 2/3; object-fit: cover;
  border: 1px solid var(--hair-2); background: var(--slab);
  box-shadow: 0 18px 44px rgba(0,0,0,.6);
}

/* A single volume: cover column, then the words. */
.vol{
  display: grid; grid-template-columns: 288px minmax(0,1fr); gap: 58px;
  align-items: start; padding: 66px 0; border-top: 1px solid var(--hair);
}
.vol:first-of-type{ border-top: 0; padding-top: 8px; }
.vol:last-of-type{ padding-bottom: 0; }
/* Reordering alone isn't enough — the narrow column has to move with the
   cover, or the text lands in 288px and the cover gets the rest. */
.vol--flip{ grid-template-columns: minmax(0,1fr) 288px; }
.vol--flip .vol-face{ order: 2; }

.vol-face{ margin: 0; display: flex; flex-direction: column; gap: 22px; }
.vol-face > img{
  width: 100%; aspect-ratio: 2/3; object-fit: cover;
  border: 1px solid var(--hair-2); box-shadow: 0 30px 72px rgba(0,0,0,.66);
}

/* Interior illustration tucked under a cover. */
.vol-plate{ margin: 0; }
.vol-plate img{ width: 100%; border: 1px solid var(--hair); cursor: zoom-in;
  transition: border-color .25s ease; }
.vol-plate img:hover{ border-color: var(--hair-2); }
.vol-plate figcaption{
  font-family: var(--data); font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ash-dim); margin-top: 10px; line-height: 1.6;
}

.vol-body h3{ font-family: var(--display); margin: 13px 0 0; }
.vol-sub{
  font-family: var(--display); font-style: italic; font-size: 20px;
  color: var(--ash); margin: 9px 0 0;
}
.vol-by{
  font-family: var(--data); font-size: 10.5px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--ash-dim); margin: 18px 0 0;
}
/* The name is set as a byline, not a label. Hopkins and Chesnutt wrote these
   books; their names should not be the smallest text in the entry. */
.vol-by b{
  display: block; margin-top: 7px;
  font-family: var(--display); font-size: 19px; font-weight: 400;
  letter-spacing: 0; text-transform: none; color: var(--bone);
}
.vol-body .blurb{ margin: 22px 0 0; max-width: 58ch; }

/* The line the book is actually about. Kept clear of the buy button below it,
   because a sentence like this and a call to action are not the same register. */
.vol-close{
  margin: 26px 0 0; padding-left: 20px; border-left: 1px solid var(--cold-d);
  font-family: var(--display); font-size: 19px; line-height: 1.5;
  color: var(--bone); max-width: 44ch;
}

.vol-foot{ margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--hair); }
.vol-credit{
  font-family: var(--data); font-size: 11px; line-height: 1.75;
  letter-spacing: .04em; color: var(--ash-dim); margin: 0 0 18px; max-width: 72ch;
}
.vol-credit b{ color: var(--ash); font-weight: 400; }

@media (max-width: 900px){
  .vol, .vol--flip{ grid-template-columns: 1fr; gap: 30px; padding: 48px 0; }
  .vol--flip .vol-face{ order: 0; }
  .vol-face{ max-width: 230px; }
  .vol-face--wide{ max-width: 100%; }
  .vol-close{ font-size: 18px; }
}

/* The Reclaimed series header. Deliberately quiet: these are other people's
   books, so nothing here shouts Will's name. */
.reclaim{ border: 1px solid var(--hair); background: var(--slab); padding: 40px 38px; }
.reclaim h3{ font-family: var(--display); font-size: 26px; margin: 12px 0 14px; }
.reclaim p{ max-width: 62ch; }
.reclaim p:last-child{ margin-bottom: 0; }
@media (max-width: 620px){ .reclaim{ padding: 30px 24px; } }
