/* Blood and black. One dark ground, one blood red, cream type. Plain scroll. */
:root {
  --black: #08080A;
  --black-2: #111014;
  --cream: #F2ECE0;
  --cream-soft: #BDB4A7;
  --red: #B3001B;
  --red-hi: #E0273C;
  --display: "Bodoni Moda", Didot, "Bodoni 72", Georgia, serif;
  --text: "Source Serif 4", Georgia, serif;
  --label: "Oswald", "Arial Narrow", Impact, sans-serif;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--black); scroll-behavior: smooth; }
body { margin: 0; background: var(--black); color: var(--cream); font: 400 1.08rem/1.65 var(--text); overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--red); color: var(--cream); }
.wrap { max-width: 76rem; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.label { font: 600 .8rem/1 var(--label); letter-spacing: .28em; text-transform: uppercase; color: var(--red-hi); margin: 0 0 1rem; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.01em; text-wrap: balance; margin: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 1.7em;
  font: 600 .95rem/1 var(--label); letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  color: var(--cream); background: var(--red); border: 0; border-radius: 0; cursor: pointer;
  box-shadow: 0 12px 30px -14px rgba(179,0,27,.9);
  transition: background-color .2s, transform .2s;
}
.btn:hover { background: #CC0420; transform: translateY(-1px); }
.btn.ghost { background: transparent; box-shadow: inset 0 0 0 1.5px var(--cream); }
.btn.ghost:hover { background: rgba(242,236,224,.08); }
.btn:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }
.tag { display: inline-block; margin-top: .8rem; font: 600 .7rem/1.2 var(--text); letter-spacing: .08em; text-transform: uppercase; color: #FFD27A; border: 1px dashed #FFD27A; padding: .3em .6em; }

.preview-strip { margin: 0; padding: .45rem 1rem; background: #FFD27A; color: #1A1306;
  font: 600 .78rem/1.35 var(--text); text-align: center; }

/* ---------- top bar ---------- */
.bar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(8,8,10,.86);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(179,0,27,.55); }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand img { width: 38px; height: 38px; border-radius: 50%; }
.brand span { font: 600 1.05rem/1 var(--display); letter-spacing: .22em; text-transform: uppercase; }
.bar nav { display: flex; align-items: center; gap: 1.6rem; }
.bar nav a { font: 500 .82rem/1 var(--label); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: var(--cream-soft); }
.bar nav a:hover { color: var(--cream); }
.bar nav .btn { min-height: 42px; padding: 0 1.1em; font-size: .8rem; color: var(--cream); }

/* ---------- the book ---------- */
.book { background: var(--black); padding: clamp(2rem, 6vh, 5rem) 0; border-top: 6px solid var(--red); }
.book .wrap { display: grid; grid-template-columns: minmax(0, min(24rem, calc((100vh - 12rem) * .625))) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.cover { box-shadow: 0 40px 70px -30px rgba(179,0,27,.55), 0 30px 60px -20px #000; }
.cover img { width: 100%; height: auto; }
.book h2, .book h1 { font-size: clamp(2rem, min(1.2rem + 2.8vw, 7.5vh), 4.4rem); line-height: .95; text-transform: uppercase; font-weight: 700; }
.book h2 .r, .book h1 .r { color: var(--red-hi); }
.ku-note { margin: -.4rem 0 min(1.6rem, 3vh); font-size: .95rem; color: var(--red-hi); font-style: italic; }
.series-line { margin: .8rem 0 min(2rem, 3.5vh); font: 500 .9rem/1.5 var(--label); letter-spacing: .24em; text-transform: uppercase; color: var(--cream-soft); }
.blurb { max-width: 36rem; }
.blurb p { margin: 0 0 min(1rem, 1.6vh); font-size: clamp(.95rem, 2.3vh, 1.12rem); line-height: 1.55; }
.blurb .big { font: 600 clamp(1.2rem, min(1rem + 1.2vw, 3.8vh), 2rem)/1.2 var(--display); margin-bottom: min(1.4rem, 2.2vh); }
.blurb .wife { font: italic 600 clamp(1.2rem, 3.4vh, 1.6rem)/1.2 var(--display); color: var(--red-hi); }
.blurb .close { margin-top: min(1.4rem, 2.2vh); }
.blurb .close em { color: var(--red-hi); }
.book .actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: min(2rem, 3vh); align-items: center; }
.book .actions .btn { min-height: 46px; padding: 0 1.3em; font-size: .85rem; }

/* ---------- bonus band ---------- */
.bonus { background: var(--red); color: #fff; position: relative; overflow: hidden; }
.bonus .wrap { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.bonus .teo { box-shadow: 0 30px 50px -20px rgba(0,0,0,.7); border: 4px solid var(--black); width: 100%; height: auto; }
.bonus .label { color: #FFD9DD; }
.bonus h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem); line-height: 1.02; text-transform: uppercase; font-weight: 700; }
.bonus p { margin: 1rem 0 0; max-width: 40rem; font-size: 1.1rem; color: #FFEDEF; }
.bonus form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .6rem; margin-top: 1.6rem; max-width: 34rem; }
.bonus label { flex: 1 1 15rem; display: flex; flex-direction: column; gap: .4rem; font-size: .9rem; color: #FFEDEF; }
.bonus input[type=email] { width: 100%; min-height: 52px; padding: 0 1rem; font: 400 1rem var(--text); color: var(--black); background: var(--cream); border: 0; border-radius: 0; }
.bonus .btn { background: var(--black); box-shadow: none; }
.bonus .btn:hover { background: #222; }
.bonus .fine { font-size: .85rem; margin-top: .8rem; }
.form-msg { flex: 1 1 100%; margin: 0 !important; min-height: 1.3em; font-size: .9rem !important; color: #FFE7A8 !important; }

/* ---------- first pages ---------- */
.pages { background: var(--black-2); padding: clamp(4rem, 9vw, 8rem) 0; }
.pages .inner { max-width: 40rem; margin: 0 auto; }
.pages h2 { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); text-transform: uppercase; font-weight: 700; }
.pages .pov { margin: .6rem 0 2rem; font: 500 .85rem/1 var(--label); letter-spacing: .3em; text-transform: uppercase; color: var(--cream-soft); }
.pages .setup { font-style: italic; color: var(--cream-soft); margin: 0 0 1.6rem; }
.excerpt p { margin: 0; text-indent: 1.4em; font-size: 1.1rem; line-height: 1.75; color: #E6DFD3; }
.excerpt .fade > p:first-child { text-indent: 0; }
.excerpt summary { list-style: none; cursor: pointer; margin-top: 1.6rem; display: inline-flex; }
.excerpt summary::-webkit-details-marker { display: none; }
.excerpt details[open] summary { display: none; }
.excerpt .fade { position: relative; }
.excerpt .fade::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5rem; background: linear-gradient(to bottom, rgba(17,16,20,0), var(--black-2)); pointer-events: none; }
.excerpt.open .fade::after { display: none; }
.pages .end { margin-top: 2.4rem; padding-top: 1.8rem; border-top: 1px solid rgba(242,236,224,.14); display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; align-items: center; }
.pages .end p { margin: 0; color: var(--cream-soft); }

/* ---------- series ---------- */
.series { background: var(--black); padding: clamp(2rem, 6vh, 5rem) 0; border-top: 1px solid rgba(179,0,27,.5); }
.series h2 { font-size: clamp(2rem, min(1.2rem + 3vw, 8vh), 4.4rem); text-transform: uppercase; font-weight: 700; line-height: .95; }
.series .sub { margin: .6rem 0 min(2.4rem, 4vh); color: var(--cream-soft); font-size: 1.15rem; max-width: 40rem; }
.shelf { display: grid; grid-template-columns: repeat(3, minmax(0, min(22rem, calc((100vh - 26rem) * .625)))); justify-content: start; gap: clamp(1rem, 3vw, 2.5rem); }
.vol { margin: 0; }
.vol .jacket { aspect-ratio: 992 / 1586; max-width: 100%; overflow: hidden; box-shadow: 0 30px 50px -24px #000; }
.vol .jacket img { width: 100%; height: 100%; object-fit: cover; }
.vol.soon .jacket { display: grid; place-items: center; text-align: center; padding: 10%; position: relative;
  background: radial-gradient(ellipse 80% 45% at 50% 100%, rgba(179,0,27,.35), transparent 70%), linear-gradient(#141317, #0A0A0C);
  border: 1px solid rgba(242,236,224,.1); }
.vol.soon .t { font: 700 clamp(1.2rem, .7rem + 1.8vw, 2.3rem)/1 var(--display); text-transform: uppercase; color: rgba(242,236,224,.9); margin: 0; }
.vol.soon .t span { display: block; color: var(--red-hi); }
.vol.soon .when { position: absolute; left: 0; right: 0; bottom: 8%; margin: 0; font: 600 .72rem/1 var(--label); letter-spacing: .3em; text-transform: uppercase; color: var(--cream-soft); }
.vol figcaption { margin-top: 1rem; }
.vol .num { font: 600 .75rem/1 var(--label); letter-spacing: .24em; text-transform: uppercase; color: var(--red-hi); }
.vol h3 { margin: .45rem 0 .25rem; font-size: clamp(1.1rem, .9rem + .8vw, 1.6rem); text-transform: uppercase; }
.vol .what { margin: 0; color: var(--cream-soft); font-size: .95rem; }

/* ---------- about ---------- */
.about { background: linear-gradient(var(--black), #14070A); padding: clamp(4rem, 9vw, 7rem) 0; }
.about .wrap { display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; max-width: 64rem; }
.about img { border-radius: 50%; width: 100%; height: auto; }
.about h2 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.2rem); text-transform: uppercase; font-weight: 700; }
.about p { margin: 1rem 0 0; max-width: 46rem; color: #DCD4C7; }
.about .actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

footer { background: #050506; border-top: 4px solid var(--red); padding: 2rem 0 2.5rem; color: var(--cream-soft); font-size: .9rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; }
footer p { margin: 0; }
footer a { text-decoration: none; }

.toast { position: fixed; z-index: 95; left: 50%; bottom: 1.5rem; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: #1D1A20; color: var(--cream); border: 1px solid rgba(255,210,122,.6); padding: .8rem 1.1rem; font-size: .92rem; max-width: min(92vw, 30rem); text-align: center;
  transition: opacity .25s, transform .25s; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- phone ---------- */
@media (max-width: 760px) {
  .bar nav a:not(.btn) { display: none; }
  .brand span { font-size: .85rem; letter-spacing: .16em; }
  .book .wrap { grid-template-columns: 1fr; }
  .blurb p { font-size: 1.05rem; } .blurb .big { font-size: 1.4rem; }
  .cover { max-width: 16rem; }
  .bonus .wrap { grid-template-columns: 1fr; }
  .bonus .teo { max-width: 11rem; }
  .shelf { grid-template-columns: 1fr 1fr; justify-content: stretch; }
  .shelf .vol:first-child { grid-column: 1 / -1; max-width: 70%; }
  .about .wrap { grid-template-columns: 1fr; }
  .about img { max-width: 9rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .toast { transition: none; } }

/* ---------- home banner: the series, both couples ---------- */
.banner { position: relative; overflow: hidden; background: var(--black); height: calc(100vh - 64px); min-height: 34rem; max-height: 60rem; display: flex; align-items: flex-end; }
.banner-art { position: absolute; inset: 0; display: flex; }
.banner-art img { flex: 1 1 0; min-width: 0; height: 100%; object-fit: cover; object-position: 50% 12%; }
.banner-art img + img { margin-left: -8%; -webkit-mask-image: linear-gradient(to right, transparent, #000 18%); mask-image: linear-gradient(to right, transparent, #000 18%); }
.banner-art::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, var(--black) 0%, rgba(8,8,10,.92) 22%, rgba(8,8,10,.35) 50%, rgba(8,8,10,0) 70%); }
.banner .wrap { position: relative; width: 100%; padding-bottom: clamp(2rem, 6vh, 4rem); text-align: center; }
.wordmark { font: 700 clamp(3rem, min(1.2rem + 7vw, 14vh), 8rem)/.9 var(--display); letter-spacing: -0.01em; text-transform: uppercase; }
.genre { margin: 1rem 0 0; font: 600 clamp(.95rem, .8rem + .8vw, 1.4rem)/1 var(--label); letter-spacing: .55em; text-transform: uppercase; color: var(--red-hi); }
.tagline { margin: 1.2rem auto 0; max-width: 36rem; font: italic 500 clamp(1.15rem, .9rem + 1vw, 1.7rem)/1.3 var(--display); }
.banner .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem 1rem; margin-top: 1.6rem; }

/* ---------- newest release (home) ---------- */
.newest .label { margin-bottom: .6rem; }
.newest .more { margin-top: min(1.6rem, 2.6vh); }
a.jacket-link { display: block; text-decoration: none; }
a.jacket-link:hover .jacket { transform: translateY(-4px); }
.vol .jacket { transition: transform .25s; }
.vol h3 a { text-decoration: none; }
.vol h3 a:hover { color: var(--red-hi); }

/* ---------- book page header ---------- */
.crumbs { margin: 0 0 1rem; font: 500 .8rem/1 var(--label); letter-spacing: .2em; text-transform: uppercase; color: var(--cream-soft); }
.crumbs a { text-decoration: none; color: var(--cream-soft); }
.crumbs a:hover { color: var(--cream); }

@media (max-width: 760px) {
  .banner { height: auto; min-height: 0; flex-direction: column; align-items: stretch; }
  .banner-art { position: relative; height: 56vh; max-height: 30rem; }
  .banner-art img { object-position: 50% 8%; }
  .banner-art::after { background: linear-gradient(to top, var(--black) 0%, rgba(8,8,10,0) 40%); }
  .banner .wrap { margin-top: -4rem; padding-bottom: 2.5rem; }
  .wordmark { font-size: clamp(2.8rem, 14vw, 4rem); }
  .genre { letter-spacing: .4em; }
}

.blurb .tagline-small { font-style: italic; color: var(--cream-soft); font-size: .95rem; margin-top: .4rem; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.bonus button:disabled { opacity: .6; }
