/* ============================================================
   WHO'S DRINKING THE KOOL-AID? — wdtkbook.com
   Dark theme · both-pitchers discipline · big readable type
   ============================================================ */

:root {
  --ink: #0d0d12;            /* near-black background */
  --ink-2: #14141b;          /* raised panels */
  --ink-3: #1c1c26;          /* cards */
  --red: #c11a1a;            /* cover title red */
  --red-deep: #8e1010;
  --blue: #3f6fa8;           /* cold crowd blue */
  --blue-deep: #2a4d78;
  --bone: #ece6da;           /* body text */
  --bone-dim: #b9b2a4;       /* secondary text */
  --parchment: #e9dcc0;      /* certificate cream accent */
  --line: #2a2a36;
  --max: 1100px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--bone);
  font-family: Georgia, "Source Serif 4", "Times New Roman", serif;
  font-size: 19px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--parchment); }
a:hover { color: #fff; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 760px; margin: 0 auto; }

h1, h2, h3, .display {
  font-family: "Arial Narrow", "Helvetica Neue Condensed", Impact, "Arial Black", sans-serif;
  font-weight: 800;
  letter-spacing: .5px;
  line-height: 1.08;
  text-transform: uppercase;
  color: #fff;
}
.font-loaded h1, .font-loaded h2, .font-loaded h3, .font-loaded .display {
  font-family: "Anton", Impact, sans-serif;
  font-weight: 400;
  letter-spacing: 1px;
}

h1 { font-size: clamp(2.2rem, 6vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 4.5vw, 2.5rem); margin-bottom: .6em; }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); margin-bottom: .5em; }

p { margin-bottom: 1.1em; }

.kicker {
  display: inline-block;
  font-family: Verdana, sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  border-bottom: 2px solid var(--red);
  padding-bottom: 6px;
  margin-bottom: 18px;
}
.kicker.blue { color: var(--blue); border-color: var(--blue); }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13,13,18,.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px; max-width: var(--max); margin: 0 auto;
}
.brand {
  font-family: Impact, "Arial Black", sans-serif;
  text-decoration: none; color: #fff;
  font-size: 1.15rem; letter-spacing: .5px; text-transform: uppercase;
  line-height: 1.1;
}
.font-loaded .brand { font-family: "Anton", Impact, sans-serif; }
.brand .red { color: var(--red); }
.brand small { display: block; font-family: Verdana, sans-serif; font-size: .58rem; letter-spacing: 2.5px; color: var(--bone-dim); font-weight: 400; }

.nav-links { display: flex; gap: 26px; align-items: center; list-style: none; }
.nav-links a {
  font-family: Verdana, sans-serif; font-size: .82rem; font-weight: 700;
  letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--bone-dim); text-decoration: none;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; }
.nav-links a.nav-cta {
  background: var(--red); color: #fff; padding: 10px 18px; border-radius: 3px;
}
.nav-links a.nav-cta:hover { background: var(--red-deep); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line);
  color: var(--bone); font-size: 1.4rem; padding: 4px 12px; border-radius: 4px; cursor: pointer;
}

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--ink-2);
    border-bottom: 2px solid var(--red); padding: 10px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a { display: block; padding: 14px; font-size: .95rem; }
  .nav-links a.nav-cta { margin: 10px 22px; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 70px 0 60px;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(42,77,120,.28), transparent 55%),
    radial-gradient(ellipse at 80% 15%, rgba(142,16,16,.30), transparent 55%),
    var(--ink);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center;
}
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }

.hero h1 .red { color: var(--red); }
.hero .sub { font-size: 1.2rem; color: var(--bone-dim); margin: 20px 0 30px; max-width: 34em; }

.book-3d { perspective: 1200px; display: flex; justify-content: center; }
.book-3d img {
  width: min(340px, 78vw);
  border-radius: 3px 8px 8px 3px;
  transform: rotateY(-14deg);
  box-shadow: -18px 24px 50px rgba(0,0,0,.75), 0 0 0 1px rgba(255,255,255,.05);
  transition: transform .5s ease;
}
.book-3d img:hover { transform: rotateY(-6deg) scale(1.02); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; text-align: center;
  font-family: Verdana, sans-serif; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; font-size: .95rem;
  padding: 17px 34px; border-radius: 4px; cursor: pointer; border: none;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-deep); color: #fff; }
.btn-ghost {
  background: transparent; color: var(--bone);
  border: 2px solid var(--line);
}
.btn-ghost:hover { border-color: var(--bone-dim); color: #fff; }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }
.btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }

/* ---------- countdown ---------- */
.countdown-band {
  display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap;
  margin-top: 26px; font-family: Verdana, sans-serif;
}
.countdown-band .label { font-size: .78rem; letter-spacing: 2px; text-transform: uppercase; color: var(--bone-dim); }
.countdown { display: flex; gap: 14px; }
.countdown .unit { text-align: center; }
.countdown .num { font-size: 1.6rem; font-weight: 700; color: var(--parchment); }
.countdown .lbl { font-size: .65rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--bone-dim); }
.live-only { display: none; }
body.mode-live .live-only { display: revert; }
body.mode-live .preorder-only { display: none; }

/* ---------- sections ---------- */
.section { padding: 72px 0; border-bottom: 1px solid var(--line); }
.section.tint { background: var(--ink-2); }

/* three-panel strip */
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 760px) { .strip { grid-template-columns: 1fr; } }
.strip a.panel {
  background: var(--ink-3); border: 1px solid var(--line); border-radius: 6px;
  padding: 34px 28px; text-decoration: none; color: var(--bone);
  border-top: 4px solid var(--line); transition: transform .2s, border-color .2s;
}
.strip a.panel:hover { transform: translateY(-4px); }
.strip a.panel:nth-child(1) { border-top-color: var(--red); }
.strip a.panel:nth-child(2) { border-top-color: var(--blue); }
.strip a.panel:nth-child(3) { border-top-color: var(--parchment); }
.strip .panel h3 { margin-bottom: 10px; }
.strip .panel p { color: var(--bone-dim); margin: 0; font-size: 1rem; }

/* pull quote */
.pullquote {
  text-align: center; max-width: 800px; margin: 0 auto;
  font-size: clamp(1.4rem, 3.4vw, 2rem); line-height: 1.45;
  font-style: italic; color: var(--parchment);
}
.pullquote footer { font-style: normal; font-size: 1rem; color: var(--bone-dim); margin-top: 18px; font-family: Verdana, sans-serif; letter-spacing: 2px; text-transform: uppercase; }

/* refrain */
.refrain {
  font-family: Impact, "Arial Black", sans-serif; text-transform: uppercase;
  letter-spacing: 1px; color: #fff; text-align: center;
  font-size: clamp(1.5rem, 4vw, 2.4rem); padding: 34px 20px;
  background: linear-gradient(90deg, rgba(142,16,16,.25), rgba(13,13,18,0) 30%, rgba(13,13,18,0) 70%, rgba(42,77,120,.25));
}
.font-loaded .refrain { font-family: "Anton", Impact, sans-serif; }
.refrain .q { color: var(--red); }

/* Godfrey Translation block */
.godfrey {
  background: var(--ink-3); border-left: 5px solid var(--parchment);
  border-radius: 0 6px 6px 0; padding: 28px 32px; margin: 34px 0;
}
.godfrey .gt-label {
  font-family: Verdana, sans-serif; font-weight: 700; font-size: .85rem;
  letter-spacing: 2px; text-transform: uppercase; color: var(--parchment);
  display: block; margin-bottom: 12px;
}
.godfrey p { font-weight: 700; font-size: 1.12rem; margin: 0; color: #fff; }

/* two-cup side-by-side */
.two-cups { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 30px; }
@media (max-width: 800px) { .two-cups { grid-template-columns: 1fr; } }
.cup-card { border-radius: 8px; padding: 34px 30px; border: 1px solid var(--line); background: var(--ink-3); }
.cup-card.red-cup { border-top: 5px solid var(--red); }
.cup-card.blue-cup { border-top: 5px solid var(--blue); }
.cup-card .cup-tag {
  font-family: Verdana, sans-serif; font-size: .72rem; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 14px; display: block;
}
.red-cup .cup-tag { color: var(--red); }
.blue-cup .cup-tag { color: var(--blue); }
.cup-card blockquote { color: var(--bone-dim); font-style: italic; margin: 14px 0 0; }
.cup-card blockquote p { margin-bottom: .7em; }

/* email band */
.email-band {
  background: linear-gradient(135deg, var(--red-deep), #4a0a0a 55%, var(--blue-deep));
  border-radius: 10px; padding: 48px 40px; text-align: center;
}
.email-band h2 { margin-bottom: 8px; }
.email-band p { color: rgba(255,255,255,.85); max-width: 42em; margin: 0 auto 24px; }
.email-form { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.email-form input[type="email"] {
  font-size: 1.05rem; padding: 15px 18px; border-radius: 4px; border: none;
  min-width: min(340px, 80vw); font-family: Georgia, serif;
}
.email-form .btn { background: var(--ink); color: #fff; }
.email-form .btn:hover { background: #000; }
.email-note { font-size: .85rem !important; color: rgba(255,255,255,.6) !important; margin-top: 14px !important; font-family: Verdana, sans-serif; }

/* trilogy teaser */
.trilogy { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 760px) { .trilogy { grid-template-columns: 1fr; } }
.vol {
  background: var(--ink-3); border: 1px solid var(--line); border-radius: 6px; padding: 30px 26px;
}
.vol .vol-num { font-family: Verdana, sans-serif; font-size: .72rem; font-weight: 700; letter-spacing: 2.5px; color: var(--bone-dim); text-transform: uppercase; }
.vol h3 { margin: 10px 0 8px; }
.vol .status { display: inline-block; font-family: Verdana, sans-serif; font-size: .7rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 5px 12px; border-radius: 20px; margin-top: 12px; }
.status.avail { background: var(--red); color: #fff; }
.status.soon { background: var(--ink); border: 1px solid var(--line); color: var(--bone-dim); }

/* ---------- store ---------- */
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
@media (max-width: 800px) { .products { grid-template-columns: 1fr; } }
.product {
  background: var(--ink-3); border: 1px solid var(--line); border-radius: 8px;
  padding: 38px 32px; position: relative;
}
.product.featured { border: 2px solid var(--parchment); }
.product .flag {
  position: absolute; top: -14px; left: 28px; background: var(--parchment); color: var(--ink);
  font-family: Verdana, sans-serif; font-size: .7rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; padding: 6px 14px; border-radius: 3px;
}
.product .price { font-size: 2.1rem; font-family: Impact, sans-serif; color: var(--parchment); margin: 14px 0 4px; }
.font-loaded .product .price { font-family: "Anton", Impact, sans-serif; }
.product ul { list-style: none; margin: 18px 0 26px; }
.product ul li { padding: 7px 0 7px 28px; position: relative; color: var(--bone-dim); font-size: 1.02rem; }
.product ul li::before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 700; }
.product .btn { width: 100%; }
.inventory { font-family: Verdana, sans-serif; font-size: .8rem; letter-spacing: 1px; text-transform: uppercase; color: var(--red); margin-top: 14px; text-align: center; }
.ship-note { font-family: Verdana, sans-serif; font-size: .85rem; color: var(--bone-dim); margin-top: 10px; text-align: center; }

.retail-block { margin-top: 46px; text-align: center; }
.retail-block h3 { color: var(--bone-dim); }
.retail-links { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }

/* ---------- forms ---------- */
.form-grid { display: grid; gap: 18px; }
.form-grid label { font-family: Verdana, sans-serif; font-size: .8rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--bone-dim); display: block; margin-bottom: 7px; }
.form-grid input, .form-grid select, .form-grid textarea {
  width: 100%; font-size: 1.05rem; font-family: Georgia, serif;
  padding: 14px 16px; border-radius: 4px; border: 1px solid var(--line);
  background: var(--ink); color: var(--bone);
}
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { outline: 2px solid var(--blue); }
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-2col { grid-template-columns: 1fr; } }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--bone-dim); }
.consent input { width: auto; margin-top: 5px; }

/* ---------- misc ---------- */
.toc-list { list-style: none; counter-reset: ch; max-width: 760px; }
.toc-list li {
  counter-increment: ch; padding: 16px 0 16px 66px; position: relative;
  border-bottom: 1px solid var(--line); font-size: 1.1rem;
}
.toc-list li::before {
  content: counter(ch, decimal-leading-zero);
  position: absolute; left: 0; top: 12px;
  font-family: Impact, sans-serif; font-size: 1.5rem; color: var(--red); opacity: .85;
}
.font-loaded .toc-list li::before { font-family: "Anton", Impact, sans-serif; }
.toc-list li:nth-child(even)::before { color: var(--blue); }

.placeholder-box {
  border: 2px dashed #4a4a5c; border-radius: 8px; padding: 40px 30px; text-align: center;
  color: var(--bone-dim); background: rgba(255,255,255,.02); margin: 24px 0;
}
.placeholder-box strong { color: var(--parchment); font-family: Verdana, sans-serif; font-size: .8rem; letter-spacing: 2px; text-transform: uppercase; display: block; margin-bottom: 10px; }

.sketch-frame {
  background: var(--parchment); padding: 18px; border-radius: 4px;
  box-shadow: 0 14px 40px rgba(0,0,0,.5);
}
.sketch-frame .placeholder-box { border-color: #a89868; color: #6b5f45; margin: 0; }
.sketch-frame .placeholder-box strong { color: #6b5f45; }

.faq-item { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq-item h3 { color: var(--parchment); }
.faq-item p { color: var(--bone-dim); margin: 0; }

table.press-table { width: 100%; border-collapse: collapse; }
table.press-table td { padding: 14px 10px; border-bottom: 1px solid var(--line); }

/* ---------- footer ---------- */
.site-footer { background: #08080c; padding: 60px 0 40px; }
.footer-cta {
  text-align: center; margin-bottom: 46px;
}
.footer-cta .display { font-size: clamp(1.6rem, 4vw, 2.4rem); }
.footer-cta .display .red { color: var(--red); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-top: 40px; border-top: 1px solid var(--line); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { font-family: Verdana, sans-serif; font-size: .75rem; letter-spacing: 2.5px; text-transform: uppercase; color: var(--bone-dim); margin-bottom: 16px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: var(--bone-dim); text-decoration: none; font-size: .98rem; }
.footer-grid a:hover { color: #fff; }
.footer-grid p { color: var(--bone-dim); font-size: .95rem; }
.legal-line {
  margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line);
  font-family: Verdana, sans-serif; font-size: .78rem; color: #6d6d7d; line-height: 1.8;
}
.legal-line a { color: #8d8d9d; }

/* accessibility */
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--red); color: #fff;
  padding: 12px 20px; z-index: 100; font-family: Verdana, sans-serif;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
