/* CritiKiL author website — book.critikil.org
   White theme matching the original site design (mockup).
   No external resources: everything on this site is served
   from these files alone. No JavaScript. */

/* Poppins — the original site's display font (headlines, wordmark),
   self-hosted (latin subset) so the site still has no external
   dependencies. */
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-900.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --ink: #111111;
  --muted: #444444;
  --faint: #666666;
  --grey-bg: #e9e9e9;
  --grey-panel: #f4f4f4;
  --border: #dddddd;
  --dark: #0b0b0b;
  --star: #f0a500;
  --sans: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  background: var(--bg);
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: #0b5cad; }
a:hover, a:focus-visible { color: #000; }
:focus-visible { outline: 2px solid #111; outline-offset: 3px; }

h1, h2, h3 {
  font-family: var(--sans);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 0.6em;
}

p { margin: 0 0 1em; }

/* ---------- layout ---------- */

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #111;
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0);
  overflow: hidden;
  white-space: nowrap;
}

/* ---------- buttons (outlined, like the mockup) ---------- */

.btn {
  display: inline-block;
  border: 2px solid #111;
  background: transparent;
  color: #111;
  text-decoration: none;
  font-weight: 600;
  padding: 0.7rem 1.7rem;
  border-radius: 6px;
  font-size: 1rem;
  line-height: 1.4;
  cursor: pointer;
}
a.btn:hover, a.btn:focus-visible, button.btn:hover { background: #111; color: #fff; }

/* "Coming Soon" is not a link: same shape, muted, no hover change */
.btn-soon {
  border-color: #888;
  color: #555;
  cursor: default;
}
.btn-soon:hover { background: transparent; color: #555; }

.btn-sm { padding: 0.45rem 1.1rem; font-size: 0.95rem; }

/* buttons on dark sections */
.btn-light { border-color: #fff; color: #fff; }
a.btn-light:hover, a.btn-light:focus-visible { background: #fff; color: #000; }
.btn-solid-light { background: #111; color: #fff; border-color: #fff; }
/* colors reversed at Joseph's call (2026-11-28): normally BLACK with light
   text on the dark section; on hover it goes white with dark text. The
   white border stays so the button keeps its shape on the dark section */
a.btn-solid-light:hover, a.btn-solid-light:focus-visible { background: #fff; border-color: #fff; color: #000; }
.btn-soon-light { border-color: #aaa; color: #ddd; cursor: default; }
.btn-soon-light:hover { background: transparent; color: #ddd; }

/* "Try My Supplements" hero button: runs INVERSE to the other hero buttons
   (Joseph's design, 2026-11-26) — black with white text while the
   supplements are coming soon, so it draws the eye. On hover/click it
   "goes the opposite" — flips to white with black text under the finger.
   AT LAUNCH: flip the resting state to white with black text
   (background: #fff; color: #111; border-color: #111) so the button itself
   announces the supplements are live. */
.btn-supps { background: #111; color: #fff; border-color: #111; }
a.btn-supps:hover, a.btn-supps:focus-visible, a.btn-supps:active { background: #fff; color: #111; }

.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.75rem; }

.badge {
  display: inline-block;
  border: 1px solid #111;
  color: #111;
  border-radius: 999px;
  padding: 0.3rem 1rem;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  margin: 0.5rem 0.25rem;
}

/* ---------- header / nav ---------- */

.site-header {
  border-bottom: 1px solid #eee;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
}

.wordmark {
  font-family: var(--sans);
  font-weight: 900;
  font-size: 1.6rem;
  letter-spacing: -0.01em;
  color: #111;
  text-decoration: none;
  white-space: nowrap;
}
.wordmark:hover, .wordmark:focus-visible { color: #444; }

/* mobile menu: pure CSS checkbox toggle, no JavaScript */
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-toggle-label {
  display: none;
  cursor: pointer;
  padding: 0.6rem 0.4rem;
  line-height: 1;
  color: #111;
  font-size: 1.6rem;
  user-select: none;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
}
.site-nav a {
  display: block;
  padding: 0.55rem 0.8rem;
  color: #333;
  text-decoration: none;
  font-size: 0.98rem;
  border-radius: 4px;
}
/* every tab hovers like the site's buttons: dark pill + white text */
.site-nav a:hover, .site-nav a:focus-visible { color: #fff; background: #111; }
.site-nav a[aria-current="page"] { color: #000; font-weight: 700; }
/* the current-page tab must still show white text on hover: its active-page
   color ties the hover rule in specificity and comes later, so without this
   the text stays black on the dark pill */
.site-nav a[aria-current="page"]:hover, .site-nav a[aria-current="page"]:focus-visible { color: #fff; background: #111; }

/* Books dropdown: pure CSS (checkbox toggle + hover), no JavaScript */
.nav-drop { position: relative; }
.drop-toggle { position: absolute; opacity: 0; pointer-events: none; }
.drop-label {
  display: block;
  padding: 0.55rem 0.8rem;
  color: #333;
  font-size: 0.98rem;
  border-radius: 4px;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}
/* Books tab hovers like the site's buttons: dark pill + white text while
   hovered or while its menu is open (checked) */
.drop-label:hover, .drop-toggle:checked ~ .drop-label, .drop-toggle:focus-visible ~ .drop-label { color: #fff; background: #111; }
.drop-caret { font-size: 0.7em; }
.site-nav .drop-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 17rem;
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0.4rem 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  z-index: 20;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0;
}
.drop-toggle:checked ~ .drop-menu,
.nav-drop:focus-within .drop-menu { display: block; }
/* hover opens the menu only on devices with a real mouse/trackpad —
   on touch screens a tap leaves a sticky :hover that kept the menu
   pinned open after a selection was made */
@media (hover: hover) and (pointer: fine) {
  .nav-drop:hover .drop-menu { display: block; }
}
.site-nav .drop-menu a { padding: 0.6rem 1rem; font-size: 0.95rem; white-space: nowrap; }
/* books with no page yet: listed by name, not clickable, muted so they read as coming entries */
.site-nav .drop-menu .drop-item {
  display: block;
  padding: 0.6rem 1rem;
  font-size: 0.95rem;
  white-space: nowrap;
  color: #999;
  cursor: default;
}

/* ---------- book page (Little CritiKiL) ---------- */

.book-hero {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 2.5rem;
  align-items: start;
  padding: 3rem 0 2rem;
}
.book-hero .cover-frame {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--grey-panel);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.book-hero .cover-frame img { width: 100%; }
.book-hero h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; }
.book-hero .book-subtitle {
  font-style: italic;
  font-size: 1.3rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.book-hero .about-inline { margin-top: 1.5rem; }
.book-hero .about-inline h2 { font-size: 1.3rem; margin: 0 0 0.5rem; }
.book-hero .about-inline p { margin: 0; }
.page-note { margin: 1.5rem 0 2rem; }
.book-page-line { text-align: center; margin: 0 0 2rem; }
.nova-meaning { text-transform: uppercase; letter-spacing: 0.08em; font-weight: 800; font-size: min(3.1cqw, 1.7rem); white-space: nowrap; color: #4377BC; -webkit-text-stroke: 0.5px #000; margin: 0.35rem 0 0.9rem; }
.nova-hero-text { container-type: inline-size; }
.nova-meaning .nova-dot { color: #000; -webkit-text-stroke: 0; }
.book-hero .true-story {
  color: var(--faint);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
}
.book-body { max-width: none; }
.book-body h2 { font-size: 1.6rem; margin-top: 1.8em; }
.book-body h2:first-child { margin-top: 0; }

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin: 2rem 0;
}
.gallery figure {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}
.gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.gallery figcaption {
  padding: 0.5rem 0.6rem;
  font-size: 0.82rem;
  color: var(--faint);
  background: var(--grey-panel);
}

.memorial {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--grey-panel);
  padding: 2rem 1.5rem;
  text-align: center;
  margin: 2.5rem 0;
}
.memorial .quote {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 0.8rem;
}
.memorial p { color: var(--muted); margin: 0; }

.voice-banner {
  position: relative;
  border: 2px solid #f2b04a;
  border-bottom: none;
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  margin: -0.75rem 0 0;
  line-height: 0;
}
.voice-banner img { width: 100%; height: auto; display: block; }
.voice-banner-text {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2.6rem 1.5rem 1.1rem;
  background: linear-gradient(to top, rgba(10,8,4,0.78) 0%, rgba(10,8,4,0.35) 55%, rgba(10,8,4,0) 100%);
  text-align: left; line-height: 1.2;
}
.voice-banner-text .vb-kicker {
  display: block; color: #f2b04a; font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 0.3rem;
}
.voice-banner-text .vb-title {
  display: block; color: #fff; font-weight: 800; font-size: clamp(1.5rem, 4vw, 2.1rem);
  text-shadow: 0 2px 10px rgba(0,0,0,0.45);
}
.vivian-voice {
  border: 2px solid #f2b04a;
  border-top: none;
  border-radius: 0 0 14px 14px;
  background: #fff;
  padding: 1.5rem 1.5rem 1.75rem;
  text-align: center;
  margin: 0 0 2.5rem;
}
.vivian-voice p { color: var(--muted); max-width: 34rem; margin: 0 auto 1.1rem; }
.vivian-voice audio { width: 100%; max-width: 26rem; }
.vivian-voice .voice-reflection {
  border-top: 1px solid #eee3c8;
  padding-top: 1.1rem;
  margin: 1.25rem auto 0;
  font-style: italic;
  color: #555;
}

/* ---------- Little CritiKiL page: get the book ---------- */

.book-get { padding: 1rem 0 3rem; }
.book-get h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 900; margin-bottom: 0.5rem; }
.book-get .book-get-sub { color: var(--muted); font-size: 1.1rem; margin: 0 0 0.5rem; }
.book-get .merch-list { padding: 0; }
.book-get .merch-item { padding-top: 1.5rem; }
.audio-sample { margin-top: 1.25rem; }
.audio-sample .audio-label { font-weight: 700; margin-bottom: 0.35rem; }
.audio-sample audio { width: 100%; max-width: 22rem; display: block; }

/* ---------- about page ---------- */

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 2.5rem;
  align-items: start;
  padding: 3rem 0 2rem;
}
.about-hero .photo-frame {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--grey-panel);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  position: relative;
  aspect-ratio: 1080 / 1920;
}
/* the two top-left photos take turns, switching every 5 seconds */
.about-hero .photo-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: about-photo-swap 10s infinite;
}
.about-hero .photo-frame img.alt { animation-delay: -5s; }
@keyframes about-photo-swap {
  0%, 40% { opacity: 1; }
  50%, 90% { opacity: 0; }
  100% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .about-hero .photo-frame img { animation: none; }
  .about-hero .photo-frame img.alt { opacity: 0; }
}
.about-hero h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; }
.about-hero .roles {
  color: var(--muted);
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 1rem;
}
.about-hero .motto {
  font-style: italic;
  font-size: 1.35rem;
  margin-bottom: 1.2rem;
}
.flatlay {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin: 2rem 0;
}

/* ---------- about page: FAQ ---------- */

.faq { padding: 2rem 0 1rem; }
.faq h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 900; margin-bottom: 1rem; }
.faq-item { padding: 1.25rem 0; border-top: 1px solid var(--border); }
.faq-item h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.5rem; }
.faq-item p { margin: 0; color: var(--muted); }
body.dark-page .faq-item { border-top-color: #222; }
body.dark-page .faq-item p { color: #bbb; }

/* ---------- about page: photo feature ---------- */

.about-photos { padding: 1rem 0 0.5rem; }
.feature-photo {
  max-width: 28rem;
  margin: 0 auto 1.25rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}
.feature-photo img { width: 100%; }
.photo-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.photo-row img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 8px;
}

/* ---------- dark page (About the Author, Merchandise) ---------- */

body.dark-page {
  background: #000;
  color: #f2f2f2;
  color-scheme: dark;
}
/* ONE menu bar everywhere (Joseph's rule, amended 2026-11-28): the bar
   itself - same tabs, same order - is identical on every page, but its
   dress follows the page: white bar on light pages, BLACK bar on black
   pages. */
body.dark-page .site-header { background: #000; border-bottom: 1px solid #222; }
body.dark-page .wordmark { color: #fff; }
body.dark-page .wordmark:hover { color: #ccc; }
body.dark-page .nav-toggle-label { color: #fff; }
body.dark-page .site-nav { background: #000; }
body.dark-page .site-nav a { color: #eee; }
body.dark-page .site-nav a:hover,
body.dark-page .site-nav a:focus-visible { color: #000; background: #fff; }
body.dark-page .site-nav a[aria-current="page"] { color: #fff; }
body.dark-page .site-nav a[aria-current="page"]:hover,
body.dark-page .site-nav a[aria-current="page"]:focus-visible { color: #000; background: #fff; }
body.dark-page .drop-label { color: #eee; }
body.dark-page .drop-label:hover,
body.dark-page .drop-toggle:checked ~ .drop-label,
body.dark-page .drop-toggle:focus-visible ~ .drop-label { color: #000; background: #fff; }
/* the desktop dropdown panel stays a white card under the black bar, so
   its links stay dark; on phones the menu flows inside the black panel,
   so there its links go light */
body.dark-page .site-nav .drop-menu a { color: #333; }
body.dark-page .site-nav .drop-menu a:hover { color: #fff; background: #111; }
body.dark-page .site-nav .drop-menu a[aria-current="page"] { color: #000; }
body.dark-page .site-nav .drop-menu a[aria-current="page"]:hover,
body.dark-page .site-nav .drop-menu a[aria-current="page"]:focus-visible { color: #fff; background: #111; }
@media (max-width: 640px) {
  body.dark-page .site-nav .drop-menu { background: transparent; border-left-color: #333; }
  body.dark-page .site-nav .drop-menu a { color: #eee; }
  body.dark-page .site-nav .drop-menu a:hover { color: #000; background: #fff; }
  body.dark-page .site-nav .drop-menu a[aria-current="page"] { color: #fff; }
  body.dark-page .site-nav .drop-menu a[aria-current="page"]:hover,
  body.dark-page .site-nav .drop-menu a[aria-current="page"]:focus-visible { color: #000; background: #fff; }
}
body.dark-page .site-header .btn { border-color: #fff; color: #fff; }
body.dark-page .site-header a.btn:hover,
body.dark-page .site-header a.btn:focus-visible { background: #fff; color: #000; }
body.dark-page .btn {
  border-color: #fff;
  color: #fff;
}
body.dark-page a.btn:hover,
body.dark-page a.btn:focus-visible { background: #fff; color: #000; }
body.dark-page a { color: #9ecbff; }
body.dark-page a:hover,
body.dark-page a:focus-visible { color: #fff; }
body.dark-page :focus-visible { outline-color: #fff; }
body.dark-page .about-hero .roles { color: #bbb; }
body.dark-page .about-hero .photo-frame,
body.dark-page .flatlay {
  border-color: #222;
  background: #111;
}
body.dark-page .contact-strip { border-top: 1px solid #222; }
body.dark-page .contact-strip .phone { color: #fff; }
body.dark-page .contact-strip .phone:hover { color: #bbb; }
body.dark-page .contact-strip .social { color: #bbb; }
body.dark-page .contact-strip .social a { color: #fff; }
body.dark-page .contact-strip .website a { color: #9ecbff; }

/* ---------- Silently Screaming: hero ---------- */
/* The hero matches the original home page: the grey digital-city
   background (built from the book's Chapter 19 image, as in the
   original), the smoothed portrait blending into it, and the
   original's type sizes and weights, measured from the mockup. */

.ss-hero {
  background-color: var(--grey-bg);
  /* The hero is the original hero image itself (see .ss-hero-original):
     title, body, tagline, portrait and city all baked in, exactly as the
     original. No composite, no cutout — the image IS the original. */
}
/* The original hero image, full width; its own height sets the hero's.
   The buttons sit below it, lined up with the text column's left edge,
   as in the original. */
.ss-hero-original { display: block; }
.ss-hero-original img { display: block; width: 100%; height: auto; }
.ss-hero-buttons {
  margin-top: 0;
  padding: 1.75rem 1rem 3rem clamp(1.25rem, 11.5vw, 13.75rem);
}
/* The HTML text + portrait column is only used on the stacked mobile
   layout (900px and under); on desktop the original image is the hero. */
.ss-hero-grid {
  display: none;
  grid-template-columns: 1.04fr 0.96fr;
  min-height: clamp(420px, 52vw, 1000px);
}
.ss-hero-text {
  padding: 4.5rem 1rem 4rem clamp(1.25rem, 11.5vw, 13.75rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/* Hero title at the original's scale and weights: SILENTLY in Bold,
   SUCCESS and MASTERING in Black. Sizes are the original's, measured
   from the mockup at 1920px wide (3.2vw / 9.6vw / 2.9vw). */
/* The MASTERING line breaks after BEING (hand-placed <br> in the HTML),
   as in the original. The title gets extra width so the first line fits
   whole at every viewport; the <br> keeps the break exact. */
.ss-hero-title { margin-bottom: 1.25rem; text-transform: uppercase; width: 112%; }
.ss-hero-title .line-1 {
  display: block;
  font-size: clamp(1.4rem, 3.2vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.05;
}
.ss-hero-title .line-big {
  display: block;
  font-size: clamp(3.4rem, 9.6vw, 11.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 0.95;
}
.ss-hero-title .line-2 {
  display: block;
  font-size: clamp(1.3rem, 2.9vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-top: 0.35em;
}
/* Hero body copy and tagline are the site's own font (Poppins), all the
   same, at the original's smaller sizes: body 1.37vw, tagline 0.85vw.
   The hero buttons use the site's standard .btn, like every other page. */
.ss-hero-text p {
  color: #222;
  font-weight: 400;
  font-size: clamp(0.85rem, 1.37vw, 1.65rem);
  line-height: 1.5;
}
/* Body paragraph wraps at the original's width (four lines). */
.ss-hero-text p:first-of-type { max-width: 42vw; }
.ss-hero-text .ss-tagline {
  font-size: clamp(0.7rem, 0.85vw, 1.05rem);
  font-weight: 400;
}
/* The portrait is baked into the hero background on desktop; the
   separate portrait column is only used on the stacked mobile layout. */
.ss-hero-img { display: none; }
.ss-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  /* Feather the portrait's left edge so it dissolves into the city
     background, as in the original. The fade stops short of the face. */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 14%);
  mask-image: linear-gradient(to right, transparent 0, #000 14%);
}

/* ---------- Silently Screaming: about the book ---------- */

.ss-section { padding: 4.5rem 0; }
.ss-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: center;
}
.ss-split h2 { font-size: 1.9rem; color: #333; }
/* subhead matches the original: semibold, one line (it may run slightly
   past the text column into the white gap, as in the original) */
.ss-split .ss-subhead { font-size: 1.05rem; font-weight: 600; line-height: 1.3; margin-bottom: 1rem; white-space: nowrap; }
/* About the Book: matches the original's sizing, tight heading gap, and
   hand-placed line breaks (the original's breaks are manual, not wrapped) */
#about-book h2 { margin-bottom: 1rem; }
#about-book .ss-split .ss-subhead { margin-bottom: 0.75rem; }
#about-book .ss-split p:not(.ss-subhead) { font-size: 13.5px; line-height: 1.4; }
/* text flows tight against the slanted book, as in the original */
#about-book .ss-split { gap: 0.75rem; }
#about-book .render-panel img { max-width: 100%; }

/* 3D renders from the original page (upgraded cover) — white backgrounds
   that blend with the page, soft shadows baked into the images */
.render-panel { text-align: center; }
.render-panel img {
  width: 100%;
  max-width: 555px;
  margin: 0 auto;
}
.render-panel img.tall { max-width: 470px; }

/* ---------- dark sections (author / testimonials) ---------- */

/* The dark sections use the jet photo itself, heavily blurred and darkened,
   as their background — the mockup's look. The overlay keeps white text
   fully readable over it. */
.dark-section {
  background:
    linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
    url("../images/ss-author-bg.jpg") center / cover,
    #0b0b0b;
  color: #fff;
  padding: 4.5rem 0;
}
.dark-section h2 { color: #fff; }
.dark-section a { color: #fff; }
/* the "Read More" buttons are normally black (Joseph, 2026-11-28): light
   text at rest, reversing to a white button with black text on hover */
.dark-section a.btn-solid-light { color: #fff; }
.dark-section a.btn-solid-light:hover,
.dark-section a.btn-solid-light:focus-visible { background: #fff; border-color: #fff; color: #000; }

.ss-author-photo {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  /* the real jet photo is a tall portrait: cap the width so it balances
     the text column instead of towering over it; the full photo shows */
  max-width: 21rem;
  margin: 0 auto;
}
.ss-author-photo img {
  width: 100%;
  height: auto;
  display: block;
}
.ss-author-text .roles {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 1rem;
  /* the roles stay on one line; "World Traveler" never splits */
  white-space: nowrap;
}
.ss-author-text .motto {
  font-size: 1.05rem;
  font-weight: 700;
  font-style: italic;
  line-height: 1.4;
  margin-bottom: 1.25rem;
}
.ss-author-text p { color: #eee; }

/* ---------- Silently Screaming: coming soon ---------- */

.ss-coming-title { margin-bottom: 1rem; text-transform: uppercase; }
.ss-coming-title .line-1 {
  display: block;
  font-size: clamp(1.5rem, 3.6vw, 2.5rem);
  font-weight: 900;
  line-height: 1.05;
}
.ss-coming-title .line-big {
  display: block;
  font-size: clamp(3.8rem, 10vw, 7rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 0.95;
}
.ss-avail-label {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 500;
  color: #555;
  margin: 0.5rem 0 1.25rem;
}
.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 34rem;
}
.btn-store {
  display: inline-block;
  border: 2px solid #333;
  border-radius: 4px;
  background: #fff;
  color: #333;
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.3;
  padding: 0.7rem 1.5rem;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
/* the store buttons are links now: they hover like the site's other buttons */
a.btn-store:hover, a.btn-store:focus-visible { background: #111; border-color: #111; color: #fff; }

/* ---------- testimonials ---------- */

.t-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: 3rem;
  align-items: center;
}
.t-intro h2 { font-size: 1.75rem; }
.t-intro .t-sub {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1.75rem;
}
.t-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.t-card {
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 20px;
  padding: 1.25rem 1.5rem;
  background: rgba(0, 0, 0, 0.25);
}
.t-card blockquote { margin: 0 0 1rem; font-size: 0.92rem; line-height: 1.55; color: #f2f2f2; }
.t-card .stars { color: var(--star); letter-spacing: 0.2em; font-size: 0.95rem; margin-bottom: 0.35rem; }
.t-card cite { font-style: normal; font-size: 0.95rem; color: #fff; }

/* "View all" reveal: pure CSS checkbox toggle, no JavaScript */
.togg-all { position: absolute; opacity: 0; pointer-events: none; }
.t-card.extra { display: none; }
.togg-all:checked ~ .t-grid .t-card.extra { display: block; }
.togg-all:checked ~ .t-grid .when-closed { display: none; }
.togg-all:not(:checked) ~ .t-grid .when-open { display: none; }

/* ---------- connect ---------- */

.ss-connect { padding: 4.5rem 0; text-align: center; }
.ss-connect h2 { font-size: 1.9rem; color: #333; }
.ss-connect .connect-sub {
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  font-weight: 700;
  line-height: 1.35;
  max-width: 44rem;
  margin: 0 auto 2.5rem;
}
.connect-box {
  border: 2px solid #111;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: left;
  max-width: 1000px;
  margin: 0 auto;
}
.connect-cell {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.75rem 1.5rem;
}
.connect-cell + .connect-cell { border-left: 1px solid #111; }
.connect-cell .c-icon { flex: 0 0 auto; width: 44px; height: 44px; color: #111; }
.connect-cell .c-icon svg { width: 100%; height: 100%; }
.connect-cell .c-label { font-weight: 700; font-size: 1rem; line-height: 1.3; }
.connect-cell .c-value { color: var(--muted); font-size: 1rem; line-height: 1.4; word-break: break-word; }
.connect-cell .c-value a { color: var(--muted); text-decoration: none; }
.connect-cell .c-value a:hover { color: #000; text-decoration: underline; }
.connect-social { margin-top: 1.75rem; color: var(--muted); }
.connect-social a { color: #111; font-weight: 600; }

/* Social icons: clickable brand icons with a small caption under each.
   The two Facebook icons are told apart by their captions — Facebook is
   the personal profile, KiL, Inc. the business page. The icons inherit
   the link colour, so they read on light pages and dark pages alike. */
.social-icons { display: flex; justify-content: center; gap: 1.5rem; }
.social-icons a {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  text-decoration: none;
}
.social-icons a svg { width: 28px; height: 28px; }
.social-icons a:hover { opacity: 0.6; }

/* ---------- contact strip (home / book / about pages) ---------- */

.contact-strip {
  text-align: center;
  padding: 2.5rem 1.25rem;
  border-top: 1px solid var(--border);
}
.contact-strip h2 { font-size: 1.6rem; }
.contact-strip .phone {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}
.contact-strip .phone:hover { color: var(--faint); }
.contact-strip .website { margin-top: 0.5rem; font-size: 1.1rem; }
.contact-strip .social { color: var(--muted); margin-top: 0.75rem; }
.contact-strip .social a { color: #111; font-weight: 600; }

/* ---------- footer ---------- */

.site-footer {
  background: #000;
  color: #fff;
  padding: 3.5rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
}
.footer-brand .wordmark {
  color: #fff;
  font-size: 2.4rem;
  display: block;
  margin-bottom: 0.75rem;
}
.footer-brand .wordmark:hover { color: #ccc; }
.footer-brand .footer-book {
  color: #fff;
  font-size: 1.05rem;
  margin: 0 0 0.75rem;
}
.footer-brand .tagline {
  color: #ddd;
  max-width: 20rem;
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}
.site-footer h3 { font-size: 1.1rem; margin-bottom: 1rem; color: #fff; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 0.55rem; }
.footer-links a {
  color: #ddd;
  text-decoration: none;
  font-size: 0.98rem;
}
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-links .f-mark { color: #fff; margin-right: 0.5rem; font-size: 0.85rem; }
.footer-info p { margin-bottom: 1rem; }
.footer-info a { color: #ddd; text-decoration: none; }
.footer-info a:hover { color: #fff; text-decoration: underline; }
.footer-info .f-icon {
  display: inline-block;
  width: 1.15em;
  height: 1.15em;
  vertical-align: -0.2em;
  margin-right: 0.6rem;
  color: #fff;
}
.footer-info .f-icon svg { width: 100%; height: 100%; display: block; }
.footer-bottom {
  border-top: 1px solid #333;
  text-align: center;
  padding: 1.5rem 0;
  color: #ccc;
  font-size: 0.92rem;
}
.footer-bottom p { margin: 0; }

/* ---------- merchandise ---------- */

.merch-hero { padding: 4rem 0 1rem; }
.merch-hero h1 { font-size: 2.5rem; margin-bottom: 0.5rem; }
.merch-hero .merch-sub { font-size: 1.15rem; color: var(--muted); max-width: 42rem; }
.merch-hero .merch-note {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--grey-panel);
  border-radius: 8px;
  font-size: 0.98rem;
  color: var(--muted);
  max-width: 42rem;
}
.merch-hero .merch-note p { margin: 0; }

.merch-list { padding: 1rem 0 4.5rem; }
.merch-item {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2.5rem;
  padding: 2.75rem 0;
  border-top: 1px solid var(--border);
  align-items: start;
}
.merch-photo, .merch-details { min-width: 0; }
.merch-photo img { border-radius: 8px; }
.merch-details h2, .merch-details h3 { font-size: 1.6rem; margin-bottom: 0.35rem; }
.merch-color { color: var(--faint); font-size: 0.95rem; margin-bottom: 0.75rem; }
.merch-design { margin: 1.25rem 0 0; }
.merch-design img { max-width: 190px; border: 1px solid var(--border); border-radius: 6px; }
.merch-design.wide img { max-width: 100%; height: auto; }
.merch-design figcaption { font-size: 0.85rem; color: var(--faint); margin-top: 0.4rem; }
.merch-price { font-size: 1.5rem; font-weight: 700; margin: 1.25rem 0 0.25rem; }
.merch-sizes { font-size: 0.95rem; color: var(--faint); margin-bottom: 1.25rem; }

/* merchandise on a dark page (like About the Author) */
body.dark-page .merch-hero .merch-sub { color: #bbb; }
body.dark-page .merch-hero .merch-note { background: #111; color: #bbb; }
body.dark-page .merch-item { border-top-color: #222; }
body.dark-page .merch-color,
body.dark-page .merch-sizes,
body.dark-page .merch-design figcaption { color: #bbb; }
body.dark-page .merch-design img { border-color: #333; }

/* ---------- responsive ---------- */

/* The author section stays side-by-side (photo on the left of the text)
   down to the 900px mobile breakpoint. In the narrow desktop range the
   photo column narrows and the roles line shrinks slightly so it still
   fits on one line. */
@media (max-width: 1100px) {
  #about-author .ss-split { grid-template-columns: 0.75fr 1.25fr; gap: 2rem; }
  .ss-author-text .roles { font-size: 0.92rem; }
}

@media (max-width: 900px) {
  .ss-hero { background-image: url("../images/hero-city-bg.jpg"); background-size: cover; background-position: left center; }
  /* on phones the original image hides and the HTML text + portrait
     take over, so the words stay readable */
  .ss-hero-original { display: none; }
  .ss-hero-grid { display: grid; grid-template-columns: 1fr; min-height: 0; }
  .ss-hero-text { max-width: none; margin: 0; padding: 3rem 1.25rem 2.5rem; }
  .ss-hero-text p:first-of-type { max-width: none; }
  .ss-hero-title { width: auto; }
  /* the cut-out portrait (transparent background) shows the full goatee;
     its box matches the image's shape so nothing is cropped off, and it
     caps at 480px wide so it never gets too tall on tablets */
  .ss-hero-img { display: block; min-height: 0; height: auto; aspect-ratio: 880 / 1240; max-width: 480px; margin: 0 auto; }
  .ss-split { grid-template-columns: 1fr; gap: 2rem; }
  /* the author section stacks on mobile too (overrides the 1100px rule) */
  #about-author .ss-split { grid-template-columns: 1fr; }
  /* stacked layout: natural wrapping, readable size */
  #about-book br.lb { display: none; }
  #about-book .ss-split p:not(.ss-subhead) { font-size: 1rem; line-height: 1.6; }
  .t-grid { grid-template-columns: 1fr; gap: 2rem; }
  .connect-box { grid-template-columns: 1fr; }
  .connect-cell + .connect-cell { border-left: none; border-top: 1px solid #111; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 820px) {
  .book-hero, .about-hero { grid-template-columns: 1fr; gap: 1.5rem; }
  .book-hero .cover-frame, .about-hero .photo-frame { max-width: 26rem; margin: 0 auto; width: 100%; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .merch-item { grid-template-columns: 1fr; gap: 1.5rem; }
  .merch-photo { max-width: 26rem; margin: 0 auto; width: 100%; }
}

@media (max-width: 640px) {
  .nav-toggle-label { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  }
  .nav-toggle:checked ~ .site-nav { display: block; }
  .site-nav ul { flex-direction: column; padding: 0.5rem 1rem 1rem; }
  .site-nav a { padding: 0.7rem 0.5rem; font-size: 1.05rem; }
  .drop-label { padding: 0.7rem 0.5rem; font-size: 1.05rem; }
  /* on phones the Books menu flows in place, indented, instead of overlaying */
  .nav-drop { position: static; }
  .site-nav .drop-menu {
    position: static;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--border);
    border-radius: 0;
    margin: 0 0 0 0.5rem;
    padding: 0;
    min-width: 0;
  }
  .site-header { position: relative; }
  .ss-section, .dark-section, .ss-connect { padding: 3rem 0; }
  .ss-split .ss-subhead { white-space: normal; }
  /* on phones the roles line wraps (World Traveler still never splits) */
  .ss-author-text .roles { white-space: normal; }
  .t-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .photo-row { grid-template-columns: 1fr; }
  .photo-row img { max-width: 26rem; margin: 0 auto; }
}

/* Memory Game nav tab + book-page play section */
.site-nav a.nav-game { background: #e0654f; color: #fff; border-radius: 999px; padding: 6px 14px; font-weight: 700; }
.site-nav a.nav-game:hover { background: #c95340; color: #fff; }
.play-game { text-align: center; }
.play-game h2 { font-size: 2rem; }
.play-game .game-art { width: min(420px, 100%); border-radius: 16px; box-shadow: 0 6px 24px rgba(0,0,0,.18); margin: 6px auto 14px; display: block; }
.play-game .btn { font-size: 1.1rem; padding: 14px 28px; }

/* Games dropdown: the coral pill as a dropdown label (matches the old Games link) */
.site-nav label.nav-game { background: #e0654f; color: #fff; border-radius: 999px; padding: 6px 14px; font-weight: 700; }
.site-nav label.nav-game:hover,
.site-nav .drop-toggle:checked ~ label.nav-game,
.site-nav .drop-toggle:focus-visible ~ label.nav-game { background: #c95340; color: #fff; }
body.dark-page .site-nav label.nav-game:hover,
body.dark-page .site-nav .drop-toggle:checked ~ label.nav-game { background: #c95340; color: #fff; }

/* Language choice inside each edition card */
.merch-details .lang-label { margin: 16px 0 0; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8fb8d8; }

/* Format guide box above the editions (same gold style as the game rules boxes) */
.format-guide { background: #111; border: 2px solid #f2b04a; border-radius: 14px; padding: 16px 20px; max-width: 760px; margin: 26px auto 0; font-size: 15px; line-height: 1.55; color: #e6e6e6; text-align: left; }
.format-guide h2 { margin: 0 0 8px; font-size: 17px; color: #fff; }
.format-guide p { margin: 4px 0; }
.format-guide strong { color: #fff; }
.format-guide.light { background: #fff; color: #444; margin: 18px auto 26px; }
.format-guide.light h2, .format-guide.light strong { color: #111; }
/* "Get the App" strip (Joseph's ask, 2026-11-26): the signpost from the
   website pages to the installable app (app.html). Gold frame like the
   format guides; black button. */
.app-strip { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; background: #fff; border: 2px solid #f2b04a; border-radius: 14px; padding: 16px 20px; max-width: 860px; margin: 30px auto; text-align: left; }
.app-strip .app-strip-text { flex: 1 1 320px; }
.app-strip h2 { margin: 0 0 4px; font-size: 18px; color: #111; }
.app-strip p { margin: 0; font-size: 15px; line-height: 1.55; color: #444; }
.app-strip .btn { background: #111; color: #fff; border-color: #111; }
.app-strip .btn:hover, .app-strip .btn:focus-visible { background: #fff; color: #111; }
/* Mobile App feature section on the home page, directly under the hero
   buttons (Joseph's design, 2026-11-26 — mirrors the old Clan site: an
   app section + get-it button on the front page, never a nav tab). */
.app-feature .app-kicker { font-size: 13px; font-weight: 700; letter-spacing: 2.5px; color: #b57a1e; text-transform: uppercase; margin: 0 0 6px; }
.app-feature .app-sub { font-size: 21px; font-weight: 700; margin: 2px 0 12px; }
.app-feature .app-slogan { font-weight: 700; letter-spacing: 1.2px; color: #111; text-transform: uppercase; font-size: 14px; margin: 14px 0 18px; font-style: italic; }
.app-feature .btn { background: #111; color: #fff; border-color: #111; }
.app-feature .btn:hover, .app-feature .btn:focus-visible { background: #fff; color: #111; }
.app-feature .btn-watch { background: #fff; color: #111; border-color: #111; }
.app-feature .btn-watch:hover, .app-feature .btn-watch:focus-visible { background: #111; color: #fff; }
.app-feature .app-phone { text-align: center; align-self: center; }
.app-feature .app-phone img { max-height: 665px; width: auto; max-width: 100%; margin: 0 auto; }

/* Meet Nova */
.book-hero .cover-frame video { width: 100%; display: block; }
.nova-files { font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; font-size: 14px; font-style: italic; margin: 14px 0 18px; }
.nova-voice { margin-top: 1.4rem; }
.nova-voice p { font-weight: 600; margin: 0 0 0.6rem; }
.nova-voice audio { width: 100%; max-width: 26rem; }
.nova-chat-frame { width: 100%; height: 560px; border: 1px solid var(--border); border-radius: 12px; background: var(--grey-panel); }
.app-feature .app-phone video { max-height: 665px; width: auto; max-width: 100%; margin: 0 auto; display: block; border-radius: 18px; }

/* Nova homepage strip — a presence, not a section */
.nova-strip { padding: 2rem 0; }
.nova-strip-inner { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.nova-strip img { width: 84px; height: 84px; object-fit: cover; border-radius: 50%; flex: 0 0 auto; }
.nova-strip-text { flex: 1 1 15rem; }
.nova-strip-text h2 { margin: 0 0 0.25rem; font-size: 1.35rem; }
.nova-strip-text p { margin: 0; color: var(--muted); }
.nova-strip-listen { flex: 0 1 20rem; }
.nova-strip-listen span { display: block; font-weight: 600; font-size: 0.9rem; margin: 0 0 0.35rem; }
.nova-strip-listen audio { width: 100%; max-width: 20rem; }
.nova-band { background: #0b0d10; color: #fff; text-align: center; padding: 0.9rem 1.25rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.95rem; }
.nova-band .nb-name { color: #f2b04a; }
.book-hero .book-stack { max-width: 560px; width: 100%; justify-self: center; }

/* Reviews page (reviews.html) */
.rv-hero h1 { color: #fff; margin: 0 0 0.6rem; }
.rv-lede { color: #d8d8d8; max-width: 44rem; margin: 0; line-height: 1.6; }
.rv-book { padding: 2.75rem 0 0.5rem; }
.rv-book h2 { margin: 0 0 0.3rem; }
.rv-sub { color: #555; margin: 0 0 1.4rem; max-width: 44rem; line-height: 1.55; }
.rv-get { background: #111; color: #fff; }
.rv-get-row { text-align: center; margin: 0; }
.rv-cover-col { display: flex; flex-direction: column; align-items: center; gap: 0.9rem; flex: none; }
.rv-get-row a.rv-get:hover, .rv-get-row a.rv-get:focus-visible, .rv-get-row button.rv-get:hover, .rv-get-row button.rv-get:focus-visible { background: #fff; color: #111; }
.rv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; margin-bottom: 1.5rem; }
.rv-card { background: #fff; border: 1px solid #e3e3e3; border-radius: 12px; padding: 1.3rem 1.4rem; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.rv-card blockquote { margin: 0 0 0.9rem; font-size: 0.95rem; line-height: 1.6; color: #222; }
.rv-stars { color: var(--star); letter-spacing: 0.2em; font-size: 0.95rem; margin: 0 0 0.35rem; }
.rv-card cite { font-style: normal; font-weight: 600; font-size: 0.95rem; color: #111; }
.rv-empty { color: #777; font-style: italic; border: 1px dashed #cfcfcf; border-radius: 12px; padding: 1.1rem 1.4rem; margin: 0 0 1.5rem; max-width: 44rem; }
@media (max-width: 700px) { .rv-grid { grid-template-columns: 1fr; } }
.rv-head { display: flex; gap: 1.5rem; align-items: flex-start; margin-bottom: 1.4rem; }
.rv-head .rv-sub { margin-bottom: 0; }
.rv-cover { height: 240px; width: auto; max-width: 46%; object-fit: contain; border-radius: 6px; filter: drop-shadow(0 10px 18px rgba(0,0,0,0.28)); flex: none; }
@media (max-width: 700px) { .rv-head { flex-direction: column; } .rv-cover { height: 210px; max-width: 100%; } }
