/* Spicy Planet -- same look as the PDF guides: forest green, paper cream,
   chili red, a fine display serif over a clean sans. */
:root {
  --green: #2c3a2b;
  --green-2: #3a4b38;
  --paper: #f7f2e6;
  --sand: #e6dbc8;
  --ink: #23271f;
  --muted: #5f6458;
  --chili: #c4202f;
  --chili-dark: #9e1724;
  --line: #d8ccb6;
  --display: "Gilda Display", "Libre Caslon Text", Georgia, serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font: 16px/1.65 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--chili); }
.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 20px; }

/* top bar */
.bar { background: var(--green); color: var(--paper); }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.logo { font: 400 22px var(--display); color: var(--paper); text-decoration: none; letter-spacing: 0.01em; }
.logo b { color: #ff5a4f; font-weight: 400; }
.bar nav { display: flex; gap: 18px; font-size: 14px; }
.bar nav a { color: var(--paper); text-decoration: none; opacity: 0.85; }
.bar nav a:hover { opacity: 1; }

/* eyebrow labels, as in the guide */
.eyebrow { font: 700 11px var(--body); letter-spacing: 0.24em; text-transform: uppercase; color: var(--chili); }
.on-green .eyebrow { color: #ff7a6f; }
.flag { display: inline-block; width: 18px; height: 12px; vertical-align: -1px; margin-right: 8px;
  background: linear-gradient(#ae1c28 33.3%, #fff 33.3% 66.6%, #21468b 66.6%); }
.peppers { color: var(--chili); letter-spacing: 2px; }

h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); text-transform: uppercase; letter-spacing: 0.01em; }
h1 em { font-style: normal; color: var(--chili); }
.on-green h1 em { color: #ff5a4f; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.35rem; }

/* sections */
.on-green { background: var(--green); color: var(--paper); }
.section { padding-block: 72px; }
.lead { font-size: 1.12rem; max-width: 60ch; color: inherit; opacity: 0.92; }

/* hero */
.hero { position: relative; color: var(--paper); background: var(--green); overflow: hidden; }
.hero .photo { position: absolute; inset: 0; background: center / cover no-repeat; opacity: 0.55; }
.hero::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(44, 58, 43, 0.2), rgba(44, 58, 43, 0.92) 78%); }
.hero .wrap { position: relative; z-index: 1; padding-block: 110px 64px; display: grid; gap: 18px; }

/* buttons */
.buy { display: inline-flex; align-items: center; gap: 12px; padding: 15px 26px; border-radius: 999px;
  background: var(--chili); color: #fff; font: 700 16px var(--body); text-decoration: none; border: 0; cursor: pointer;
  transition: background 0.15s; }
.buy:hover { background: var(--chili-dark); }
.buy .price { font-weight: 800; padding-left: 12px; border-left: 1px solid rgba(255, 255, 255, 0.45); }
.ghost { display: inline-block; padding: 14px 22px; border-radius: 999px; border: 1px solid currentColor;
  color: inherit; text-decoration: none; font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 10px; }
.fine { font-size: 13px; opacity: 0.75; }

/* guide card */
.guide { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 40px; align-items: center; }
.guide .cover { box-shadow: 0 18px 40px rgba(20, 28, 18, 0.35); border-radius: 4px; }
.guide ul { list-style: none; display: grid; gap: 6px; margin: 18px 0 22px; }
.guide li::before { content: "🌶️"; margin-right: 10px; }

.soon { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-top: 26px; }
.soon div { border: 1px solid var(--line); border-radius: 6px; padding: 16px 18px; background: #fbf8f0; }
.soon b { font: 400 1.3rem var(--display); display: block; }
.soon span { font-size: 13px; color: var(--muted); }

/* spice scale table */
.scale { width: 100%; border-collapse: collapse; margin-top: 26px; font-size: 15px; }
.scale th { background: var(--green); color: var(--paper); text-align: left; font: 700 11px var(--body);
  letter-spacing: 0.2em; text-transform: uppercase; padding: 10px 14px; }
.scale td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.scale td:first-child { white-space: nowrap; font-weight: 700; }
.table-wrap { overflow-x: auto; }

/* previews */
.previews { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; margin-top: 28px; }
.previews figure { background: #fff; border-radius: 4px; box-shadow: 0 8px 24px rgba(20, 28, 18, 0.14); overflow: hidden; }
.previews figcaption { font-size: 13px; color: var(--muted); padding: 10px 12px; }

.inside { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; margin-top: 28px; }
.inside div { border-top: 2px solid var(--chili); padding-top: 12px; }
.inside p { color: var(--muted); font-size: 15px; margin-top: 6px; }

.note { background: var(--sand); border-left: 3px solid var(--chili); padding: 20px 24px; margin-top: 28px; max-width: 70ch; }
.faq { display: grid; gap: 12px; margin-top: 24px; max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { margin-top: 8px; color: var(--muted); }

footer { background: var(--green); color: var(--paper); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; padding-block: 28px; }
footer a { color: var(--paper); }

.banner { background: #fff3cd; color: #5c4400; padding: 12px 20px; text-align: center; font-size: 15px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--chili); outline-offset: 3px; }

@media (max-width: 720px) {
  .guide { grid-template-columns: 1fr; }
  .guide .cover { max-width: 240px; }
  .section { padding-block: 52px; }
  .bar nav { gap: 12px; }
}

/* ---- 2026-10-02 redesign: guide shelf, the 2026 book, email forms ---- */
.eyebrow.light { color: #ff7a6f; }
.lead.dark { color: var(--muted); opacity: 1; margin-top: 14px; }
.fine.dark { opacity: 1; color: var(--muted); }
.ghost.dark { color: var(--green); }
.tint { background: #efe7d6; }
.on-green .scale { color: var(--paper); }
.bar nav a.nav-book { border: 1px solid rgba(247, 242, 230, 0.5); border-radius: 999px; padding: 2px 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hp { position: absolute; left: -9999px; }

.hero-split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero-copy { display: grid; gap: 18px; }
.hero-cover { width: min(330px, 100%); justify-self: center; border-radius: 4px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
  transform: rotate(3deg); }

/* fanned covers on the home hero */
.fan-wrap { position: relative; aspect-ratio: 1 / 0.86; max-width: 520px; width: 100%; justify-self: center; }
.fan { position: absolute; width: 44%; top: 8%; left: 50%; border-radius: 4px; box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.fan-0 { transform: translateX(-95%) rotate(-9deg); }
.fan-1 { transform: translateX(-50%) translateY(-18px); z-index: 2; }
.fan-2 { transform: translateX(-5%) rotate(9deg); }
.fan-wrap:hover .fan-0 { transform: translateX(-110%) rotate(-12deg); }
.fan-wrap:hover .fan-2 { transform: translateX(10%) rotate(12deg); }

/* the shelf of guides */
.shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 28px; margin-top: 30px; }
.shelf.small { grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); margin-top: 14px; }
.book-card { display: grid; gap: 4px; text-decoration: none; color: var(--ink); }
.book-card img { border-radius: 4px; box-shadow: 0 14px 30px rgba(20, 28, 18, 0.22); margin-bottom: 10px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s; }
.book-card:hover img { transform: translateY(-6px) rotate(-1deg); box-shadow: 0 22px 40px rgba(20, 28, 18, 0.3); }
.book-card b { font: 400 1.3rem var(--display); }
.book-card span { font-size: 14px; color: var(--muted); }
.mini-cover { aspect-ratio: 1075 / 1521; border-radius: 4px; margin-bottom: 10px; background: var(--chili); color: var(--paper);
  display: grid; place-content: center; text-align: center; font: 400 1.5rem/1.05 var(--display); padding: 12px;
  box-shadow: 0 14px 30px rgba(20, 28, 18, 0.22); }
.mini-cover span { font: 700 10px var(--body); letter-spacing: 0.3em; text-transform: uppercase; }
.mini-cover em { font-style: normal; font-size: 1rem; margin-top: 6px; }

/* the 2026 book, drawn in CSS until there's a real cover */
.book-cover { position: relative; aspect-ratio: 2 / 3; width: min(320px, 100%); justify-self: center; display: grid;
  align-content: center; justify-items: center; text-align: center; gap: 6px; padding: 28px 22px;
  background: radial-gradient(circle at 30% 20%, #3c5039, var(--green) 60%); color: var(--paper);
  border-radius: 3px 8px 8px 3px; box-shadow: inset 10px 0 14px -8px rgba(0, 0, 0, 0.6), 0 30px 60px rgba(20, 28, 18, 0.4);
  border-left: 6px solid #1c261b; }
.book-cover.big { width: min(360px, 100%); transform: rotate(-3deg); }
.bc-top { position: absolute; top: 22px; font: 700 10px var(--body); letter-spacing: 0.32em; text-transform: uppercase; opacity: 0.8; }
.bc-the { font: 700 11px var(--body); letter-spacing: 0.4em; text-transform: uppercase; color: #ff7a6f; }
.bc-title { font: 400 clamp(2.4rem, 5vw, 3.2rem)/0.95 var(--display); text-transform: uppercase; }
.bc-year { font: 400 1.6rem var(--display); color: #ff5a4f; }
.bc-pepper { font-size: 2rem; margin-top: 4px; }
.bc-cities { position: absolute; bottom: 22px; left: 16px; right: 16px; font-size: 11px; letter-spacing: 0.08em; opacity: 0.85; }
.book-feature, .get, .about { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 56px; align-items: center; }
.get .cover { width: min(260px, 100%); justify-self: center; border-radius: 4px; box-shadow: 0 18px 40px rgba(20, 28, 18, 0.3); }
.about img { border-radius: 10px; }
.book-hero { padding-block: 0; }
.book-hero .wrap { padding-block: 90px 70px; }

/* email form */
.notify { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; max-width: 520px; }
.notify input[type=email] { flex: 1 1 240px; min-width: 0; font: 16px var(--body); padding: 14px 18px; border-radius: 999px;
  border: 1px solid var(--line); background: #fffdf8; color: var(--ink); }
.on-green .notify input[type=email], .hero .notify input[type=email] { border-color: transparent; }
.notify button { font: 700 16px var(--body); padding: 14px 24px; border-radius: 999px; border: 0; background: var(--chili);
  color: #fff; cursor: pointer; }
.notify button:hover { background: var(--chili-dark); }
.notify button:disabled { opacity: 0.6; cursor: wait; }
.form-note { flex-basis: 100%; font-size: 13px; opacity: 0.8; }
.notify.done .form-note { font-weight: 700; opacity: 1; }
.notify input:focus-visible { outline: 2px solid var(--chili); outline-offset: 2px; }

@media (max-width: 820px) {
  .hero-split, .book-feature, .get, .about { grid-template-columns: 1fr; gap: 36px; }
  .fan-wrap { max-width: 400px; }
  .hero-cover { width: 220px; }
  .bar nav { flex-wrap: wrap; justify-content: flex-end; }
}
@media (prefers-reduced-motion: reduce) { .fan, .book-card img { transition: none; } }
