/* Yellow Boots. The book's palette: cover red, title yellow, ink black, on warm paper.
   Jimmy Stockton's greyscale art is drawn on white; mix-blend-mode: multiply lets the
   paper show through it instead of a white box. */
:root {
  --red: #b3261e;
  --red-deep: #7d1712;
  --yellow: #f2c230;
  --gold: #e0bf5c;          /* the old site's accent, kept */
  --ink: #17120f;
  --ink-soft: #4a403a;
  --paper: #f5eedf;
  --paper-2: #ebe1cc;
  --rule: #d6c8ab;
  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --display: 'Playfair Display', Georgia, serif;
  --comic: 'Bangers', 'Impact', sans-serif;
  --measure: 38rem;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.125rem/1.65 var(--serif);
  font-optical-sizing: auto;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--red-deep); }

/* masthead */
.masthead {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: .6rem clamp(1rem, 4vw, 2.5rem);
  background: var(--red); color: var(--paper);
  box-shadow: 0 2px 0 var(--red-deep);
}
.wordmark {
  font: 900 1.5rem/1 var(--display); letter-spacing: .02em; text-transform: uppercase;
  color: var(--yellow); text-decoration: none;
}
.wordmark span { color: var(--ink); }
.masthead nav { display: flex; gap: 1.1rem; flex-wrap: wrap; font-size: .95rem; }
.masthead nav a { color: var(--paper); text-decoration: none; }
.masthead nav a:hover { color: var(--yellow); }
.masthead nav a.buy { color: var(--ink); background: var(--yellow); padding: .1rem .6rem; border-radius: 3px; font-weight: 600; }

/* hero */
.hero {
  display: grid; grid-template-columns: 1.15fr 1fr; align-items: center;
  background: var(--red); color: var(--paper);
  border-bottom: 6px solid var(--ink);
}
.hero-art { order: 2; width: 100%; height: 100%; max-height: 88vh; object-fit: cover; object-position: center top; border-left: 6px solid var(--ink); }
.hero-text { padding: 3rem clamp(1rem, 5vw, 4rem); max-width: 44rem; justify-self: end; }
.hero h1 {
  margin: .2rem 0 1rem; font: 900 clamp(3.6rem, 8.5vw, 8.5rem)/.85 var(--display); text-transform: uppercase;
  color: var(--yellow); text-shadow: 4px 4px 0 var(--ink);
}
.eyebrow { font-style: italic; font-size: 1.05rem; margin: 0; max-width: 34rem; }
.lede { font-size: 1.2rem; max-width: 36rem; }
.btn {
  display: inline-block; background: var(--yellow); color: var(--ink); text-decoration: none;
  font-weight: 600; padding: .55rem 1.1rem; border-radius: 3px; border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink); margin: 0 .4rem .5rem 0;
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); color: var(--ink); }
.btn.ghost { background: transparent; color: var(--paper); border-color: var(--paper); box-shadow: none; }

/* see hear feel */
.senses { max-width: 56rem; margin: 0 auto; padding: 3rem clamp(1rem, 4vw, 2rem) 1rem; text-align: center; }
.senses > p:first-child { font-size: 1.25rem; }
.senses ul { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .6rem; }
.senses li { font-size: 1.1rem; }
.senses li b {
  font: 400 1.9rem/1 var(--comic); letter-spacing: .04em; color: var(--red);
  text-transform: uppercase; margin-right: .4rem; -webkit-text-stroke: .5px var(--ink);
}
.small { font-size: .95rem; color: var(--ink-soft); }

/* columns index */
.columns { max-width: 72rem; margin: 0 auto; padding: 1rem clamp(1rem, 4vw, 2rem) 3rem; }
.section-intro { text-align: center; margin: 2rem auto 1rem; max-width: 40rem; }
.section-intro h2, .features h2, .book h2 { font: 900 clamp(2rem, 6vw, 3rem)/1.1 var(--display); margin: 0 0 .5rem; }
.era { margin: 3rem 0; }
.era-head { position: relative; }
.era-head .map { margin: 0; }
.era-head .map img { width: 100%; }
.era-head h2 {
  position: absolute; left: 0; bottom: 0; margin: 0; padding: .4rem 1rem .5rem;
  background: var(--red); color: var(--yellow); font: 900 clamp(1.6rem, 5vw, 2.6rem)/1 var(--display);
  box-shadow: 4px 4px 0 var(--ink);
}
.era-head h2 small { display: block; font: 600 .8rem/1.4 var(--serif); color: var(--paper); letter-spacing: .08em; text-transform: uppercase; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1.4rem; margin-top: 1.6rem; }
.card {
  display: flex; flex-direction: column; gap: .2rem; text-decoration: none; color: var(--ink);
  background: #fffaf0; border: 2px solid var(--ink); border-radius: 4px; padding: .8rem;
  box-shadow: 4px 4px 0 var(--ink); transition: transform .12s, box-shadow .12s;
}
.card:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--red); color: var(--ink); }
.card .thumb { aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; margin-bottom: .5rem; background: #fffaf0; }
.card .thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.card .no-art { font: 900 3rem/1 var(--display); color: var(--rule); }
.card small { color: var(--red); font-weight: 600; font-size: .8rem; letter-spacing: .05em; text-transform: uppercase; }
.card b { font: 700 1.25rem/1.2 var(--display); }
.card span { font-size: .95rem; color: var(--ink-soft); font-style: italic; line-height: 1.4; }

.features { margin-top: 4rem; text-align: center; }
.feature-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.4rem; text-align: left; margin-top: 1rem; }
.feature { display: block; padding: 1.2rem; background: var(--ink); color: var(--paper); text-decoration: none; border-radius: 4px; box-shadow: 4px 4px 0 var(--red); }
.feature b { display: block; font: 900 1.6rem/1.1 var(--display); color: var(--yellow); }
.feature span { font-style: italic; }
.feature:hover { color: var(--paper); transform: translate(-2px, -2px); }

/* book */
.book {
  display: grid; grid-template-columns: minmax(10rem, 18rem) 1fr minmax(8rem, 14rem); gap: 2rem; align-items: start;
  max-width: 72rem; margin: 0 auto 4rem; padding: 2.5rem clamp(1rem, 4vw, 2rem);
  background: var(--paper-2); border-top: 4px solid var(--red);
}
.book-cover img { box-shadow: 6px 6px 0 var(--ink); }
.book h3 { font: 700 1.4rem/1.2 var(--display); margin: 2rem 0 .8rem; }
.praise { display: grid; gap: 1rem; }
.praise blockquote { margin: 0; padding-left: 1rem; border-left: 4px solid var(--gold); }
.praise p { margin: 0; font-style: italic; }
.praise cite { display: block; font-style: normal; font-weight: 600; font-size: .9rem; text-transform: uppercase; letter-spacing: .05em; }
.praise cite small { display: block; text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--ink-soft); font-style: italic; }
.praise-art { margin: 0; }
.praise-art img { mix-blend-mode: multiply; }

/* article */
.article { max-width: 46rem; margin: 0 auto; padding: 2.5rem clamp(1rem, 4vw, 2rem) 3rem; }
.kicker { margin: 0; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); }
.kicker b { color: var(--red); }
.kicker span { margin-left: .6rem; }
.article h1 { font: 900 clamp(2.2rem, 7vw, 3.6rem)/1.05 var(--display); margin: .4rem 0 .6rem; }
.standfirst { font-size: 1.3rem; font-style: italic; color: var(--ink-soft); margin: 0 0 1.5rem; line-height: 1.4; }
.lead { margin: 0 auto 2rem; }
.lead img { margin: 0 auto; max-height: 70vh; width: auto; mix-blend-mode: multiply; }
.lead.wide img { max-height: none; width: 100%; mix-blend-mode: normal; border: 2px solid var(--ink); }
.prose { max-width: var(--measure); margin: 0 auto; }
.prose > p:first-child::first-letter {
  float: left; font: 900 4.2rem/.8 var(--display); color: var(--red); padding: .35rem .5rem 0 0;
}
.prose p { margin: 0 0 1.1em; hyphens: auto; }
.column-art { margin: 2rem 0; }
.column-art img { margin: 0 auto; max-height: 60vh; width: auto; border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); }
figcaption { font-size: .85rem; color: var(--ink-soft); text-align: center; margin-top: .6rem; font-style: italic; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 2px solid var(--ink); }
.pager a { text-decoration: none; font: 700 1.15rem/1.25 var(--display); color: var(--ink); }
.pager a:hover { color: var(--red); }
.pager small { display: block; font: 600 .75rem/1.6 var(--serif); letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.pager .next { text-align: right; }

/* gallery */
.gallery-page { max-width: 80rem; margin: 0 auto; padding: 2.5rem clamp(1rem, 4vw, 2rem) 3rem; }
.gallery-page h1 { font: 900 clamp(2.2rem, 7vw, 3.6rem)/1.05 var(--display); margin: 0 0 .5rem; }
.gallery { columns: 18rem; column-gap: 1.4rem; }
.gallery figure { break-inside: avoid; margin: 0 0 1.4rem; background: #fffaf0; border: 2px solid var(--ink); padding: .6rem; box-shadow: 4px 4px 0 var(--ink); }
.gallery img { mix-blend-mode: multiply; width: 100%; }

/* footer */
.foot { background: var(--ink); color: var(--paper-2); padding: 2rem clamp(1rem, 4vw, 2.5rem); font-size: .95rem; }
.foot p { margin: .3rem 0; }
.foot a { color: var(--yellow); }

@media (max-width: 760px) {
  .hero h1 { font-size: clamp(3.4rem, 19vw, 6rem); }
  .book { grid-template-columns: 1fr; }
  .book-cover { max-width: 14rem; }
  .praise-art { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-art { order: 0; max-height: 60vh; border-left: 0; border-bottom: 6px solid var(--ink); }
  .hero-text { padding: 2rem 1rem 2.5rem; justify-self: start; }
  .era-head h2 { position: static; }
  .masthead nav { font-size: .88rem; gap: .8rem; }
}
