:root {
  --ink: #161514;
  --grey: #5f5b55;
  --paper: #ffffff;
  --stone: #efece6;
  --kf: #b04d24;        /* burnt orange from the Kayfabe cover */
  --kf-deep: #3a1309;
  --kf-cream: #f6e6c9;
  --sp: #12161f;        /* the Sea People cover's ink */
  --sp-gold: #d2ad64;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --condensed: "Anton", "Arial Narrow", sans-serif;
  --body: "Literata", Georgia, serif;
  --pad: clamp(1.25rem, 4vw, 3.5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-optical-sizing: auto; font-weight: 380;
  font-size: clamp(1.05rem, .98rem + .3vw, 1.18rem); line-height: 1.65;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
p { margin: 0 0 1em; }

/* newsletter strip */
.strip {
  display: block; text-align: center; text-decoration: none;
  background: var(--ink); color: #fff; padding: .6rem 1rem;
  font-family: var(--display); font-size: .92rem; font-weight: 500;
}
.strip span { margin-left: .5rem; text-decoration: underline; text-underline-offset: .2em; }

/* masthead: the name is the loud thing */
.top { padding: 1.1rem var(--pad) 0; overflow: hidden; }
.nav {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem 2rem;
  font-family: var(--display); font-weight: 600; font-size: .98rem;
}
.nav { position: relative; z-index: 2; }
.name span { display: inline-block; }
.nav a { text-decoration: none; padding: .35rem 0; display: inline-block; }
.nav a:hover { text-decoration: underline; }
.name {
  font-family: var(--condensed);
   font-weight: 400;
  text-transform: uppercase; text-align: center;
  font-size: clamp(2.6rem, 14.6vw, 17rem); line-height: .9; letter-spacing: 0;
  margin: clamp(1rem, 3vw, 2rem) 0 clamp(1.2rem, 3vw, 2.4rem);
  white-space: nowrap;
  pointer-events: none;
  position: relative; z-index: 1;
}

/* book bands */
.band { padding: clamp(3rem, 7vw, 6.5rem) var(--pad); }
.band-inner {
  max-width: 72rem; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 6vw, 5.5rem); align-items: center;
}
.cover img { width: 100%; max-width: 27rem; margin: 0 auto; }
.pitch { max-width: 36rem; }
.kicker { font-family: var(--display); font-weight: 700; font-size: 1rem; margin-bottom: .8rem; }
.pitch h2 {
  font-family: var(--condensed);
   font-weight: 400; text-transform: uppercase;
  font-size: clamp(3.2rem, 2rem + 5vw, 6.4rem); line-height: .98; letter-spacing: -.005em;
  margin: 0 0 1.4rem;
}
.hook { font-size: 1.32em; line-height: 1.38; font-weight: 500; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.3rem; margin: 2rem 0 1.4rem; }
.formats { font-size: .9em; opacity: .85; }
.btn {
  display: inline-block; cursor: pointer; border: 0; border-radius: 3px;
  font-family: var(--display); font-weight: 800; font-size: 1.05rem;
  padding: .95rem 1.7rem; text-decoration: none;
}
.more summary {
  cursor: pointer; display: inline-block; list-style: none;
  font-family: var(--display); font-weight: 700; font-size: 1rem;
  border-bottom: 2px solid currentColor; padding-bottom: .1rem;
}
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: " +"; }
.more[open] summary::after { content: " \2212"; }
.more[open] summary { margin-bottom: 1.2rem; }
.note { font-size: .9em; opacity: .85; }

.band-kf { background: var(--kf); color: var(--kf-cream); }
.band-kf .cover img { box-shadow: 0 2rem 3.5rem rgba(40,10,0,.55); transform: rotate(-1.5deg); }
.band-kf h2 { color: #fff3dc; text-shadow: .06em .06em 0 var(--kf-deep); }
.band-kf .btn { background: var(--kf-deep); color: #fff3dc; }
.band-kf .btn:hover { background: #000; }

.band-sp { background: var(--sp); color: #e4dccb; }
.band-sp .band-inner { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.band-sp .cover { order: 2; }
.band-sp .cover img { box-shadow: 0 2rem 3.5rem rgba(0,0,0,.7), 0 0 0 1px rgba(210,173,100,.25); }
.band-sp h2, .band-sp .kicker { color: var(--sp-gold); }
.band-sp .btn { background: var(--sp-gold); color: var(--sp); }
.band-sp .btn:hover { background: #e8c57c; }

/* about */
.about {
  max-width: 72rem; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 1rem clamp(2rem, 6vw, 5.5rem);
  padding: clamp(3.5rem, 8vw, 7rem) var(--pad);
}
.about h2 {
  font-family: var(--condensed);  font-weight: 400;
  text-transform: uppercase; font-size: clamp(2.8rem, 2rem + 3vw, 4.6rem); line-height: .95; margin: 0;
}
.about { align-items: center; }
.about-photo img { width: 100%; max-width: 28rem; margin: 0 auto; border-radius: 3px; }
.about-text { max-width: 36rem; }
.about-text h2 { margin-bottom: 1.4rem; }

/* newsletter */
.newsletter { background: var(--stone); padding: clamp(3.5rem, 7vw, 6rem) var(--pad); text-align: center; }
.nl-inner { max-width: 40rem; margin: 0 auto; }
.newsletter h2 {
  font-family: var(--condensed); font-weight: 400; 
  text-transform: uppercase; font-size: clamp(2.4rem, 1.8rem + 2.6vw, 3.8rem); line-height: .92; margin: 0 0 1rem;
}
.signup { display: flex; flex-wrap: wrap; gap: .8rem; align-items: flex-end; margin-top: 1.8rem; text-align: left; }
.signup label { display: flex; flex-direction: column; gap: .3rem; flex: 1 1 11rem; font-family: var(--display); font-weight: 600; font-size: .9rem; }
.signup input {
  font: inherit; font-family: var(--body); font-weight: 400; font-size: 1.05rem; color: var(--ink);
  padding: .78rem .85rem; border: 1px solid #a9a49b; border-radius: 3px; background: #fff;
}
.signup .btn { background: var(--ink); color: #fff; }
.signup .btn:hover { background: var(--kf); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* footer */
.footer {
  background: var(--ink); color: #bdb7ac; text-align: center;
  padding: 2.5rem var(--pad); font-size: .92rem;
}
.footer p { margin: .2rem 0; }
.footer-name {
  font-family: var(--condensed);  font-weight: 400;
  text-transform: uppercase; font-size: 2rem; color: #fff; line-height: 1;
}

/* thanks + 404 */
.simple-main { max-width: 36rem; margin: 18vh auto; padding: 0 1.5rem; text-align: center; }
.simple-main h1 { font-weight: 500; font-size: 2.6rem; letter-spacing: -.02em; line-height: 1.1; margin: 0 0 1rem; }

@media (max-width: 860px) {
  .band-inner, .band-sp .band-inner, .about { grid-template-columns: 1fr; }
  .band-sp .cover { order: 0; }
  .cover img { max-width: 17rem; }
  .about-photo img { max-width: 20rem; margin: 0; }
  .nav { gap: .3rem 1.2rem; font-size: .92rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
