/* ================================================================
   KINNIK GRID — Landing page
   Design system esteso dal Brand Book (mirror-k).
   ================================================================ */

:root {
  --ink:        #14130f;
  --ink-soft:   rgba(20, 19, 15, .72);
  --ink-dim:    rgba(20, 19, 15, .52);
  --ink-faint:  rgba(20, 19, 15, .18);
  --paper:      #fafaf5;
  --paper-warm: #f3efe2;
  --rule:       rgba(20, 19, 15, .10);
  --accent:     #b0421d;
  --accent-soft:#c4683f;

  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', 'Helvetica Neue', Arial, sans-serif;
  --mono:  'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;

  --gutter:  clamp(20px, 4vw, 64px);
  --content: 1240px;
  --content-narrow: 920px;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 36px;
  --space-5: 56px;
  --space-6: 80px;
  --space-7: clamp(72px, 9vw, 128px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

::selection { background: var(--accent); color: #fff; }

/* ---------- Typography utilities ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 1px;
}

.h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.022em;
  margin: 0;
  text-wrap: balance;
}
.h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.018em;
  margin: 0 0 16px;
  text-wrap: balance;
}
.h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.005em;
  margin: 0 0 8px;
}
.lede {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0;
  text-wrap: pretty;
}
.p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 14px;
  max-width: 64ch;
  text-wrap: pretty;
}
.p--lg { font-size: 16.5px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  transition: transform .18s ease, background .18s ease, color .18s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); background: #000; }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.btn--accent:hover { background: #94371a; border-color: #94371a; }
.btn__arrow {
  display: inline-block;
  transition: transform .18s ease;
}
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ---------- Layout primitives ---------- */
.wrap {
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.wrap--narrow { max-width: var(--content-narrow); }

.section {
  padding: var(--space-7) 0;
  border-top: 1px solid var(--rule);
}
.section--paper { background: var(--paper); }
.section--paper-warm { background: var(--paper-warm); }
.section--ink {
  background: var(--ink);
  color: #ece9df;
  border-color: rgba(255,255,255,.08);
}
.section--ink .eyebrow { color: rgba(236,233,223,.55); }
.section--ink .h2 { color: #ece9df; }
.section--ink .lede { color: rgba(236,233,223,.78); }
.section--ink .p { color: rgba(236,233,223,.72); }

.section__head {
  max-width: 760px;
  margin-bottom: var(--space-5);
}
.section__head .eyebrow { margin-bottom: 18px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 245, .82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--rule);
}
.site-header__inner {
  max-width: var(--content);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.brand__mark { width: 30px; height: 30px; }
.brand__name {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .28em;
  color: var(--ink);
}
.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color .15s ease;
}
.nav a:hover { color: var(--ink); }
.nav__cta {
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper) !important;
  font-weight: 600;
}
.nav__cta:hover { background: #000; color: var(--paper) !important; }
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--rule);
  background: transparent;
  padding: 0;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 10px; right: 10px;
  height: 1.5px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 24px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    flex-direction: column;
    align-items: stretch;
    padding: 20px var(--gutter);
    gap: 0;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform .2s ease, opacity .2s ease;
  }
  .nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--rule); }
  .nav__cta { margin-top: 14px; text-align: center; border-bottom: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(40px, 6vw, 80px) var(--gutter) clamp(56px, 7vw, 96px);
  overflow: hidden;
}
.hero__inner {
  max-width: var(--content);
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(32px, 4vw, 48px);
}
.hero__dotted {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .5;
  background-image: radial-gradient(rgba(20,19,15,.07) 1px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 90%);
          mask-image: linear-gradient(180deg, #000 30%, transparent 90%);
}
.hero__topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.hero__location {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.hero__mark {
  display: grid;
  place-items: center;
  margin: clamp(16px, 3vw, 32px) 0 clamp(8px, 1vw, 16px);
}
.hero__mark svg { width: clamp(120px, 14vw, 200px); height: auto; }
.hero__wordmark {
  text-align: center;
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(38px, 7vw, 92px);
  letter-spacing: clamp(.18em, .8vw, .34em);
  line-height: 1;
  color: var(--ink);
  margin: 0 0 18px;
}
.hero__tagline {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(17px, 1.7vw, 22px);
  color: var(--ink-soft);
}
.hero__rule {
  display: inline-block;
  height: 1px;
  width: clamp(40px, 8vw, 110px);
  background: currentColor;
  opacity: .35;
}
.hero__sub {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.5;
  color: var(--ink-soft);
}
.hero__cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
}
.hero__meta {
  margin-top: clamp(40px, 5vw, 72px);
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.hero__meta-cell { font-size: 13px; }
.hero__meta-cell .eyebrow { margin-bottom: 6px; font-size: 10px; letter-spacing: .18em; }
.hero__meta-cell .v {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.3;
  color: var(--ink);
}
@media (max-width: 720px) {
  .hero__meta { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Manifesto ---------- */
.manifesto {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.manifesto__big {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
.manifesto__big em {
  font-style: italic;
  color: var(--accent);
}
.manifesto__col p { color: var(--ink-soft); }
@media (max-width: 880px) {
  .manifesto { grid-template-columns: 1fr; }
}

/* ---------- Puzzle library showcase ---------- */
.puzzles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08);
}
@media (max-width: 980px) { .puzzles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .puzzles { grid-template-columns: 1fr; } }

.puzzle {
  background: var(--ink);
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  transition: background .25s ease;
}
.puzzle:hover { background: #1d1c17; }
.puzzle--feature {
  grid-column: span 2;
  grid-row: span 2;
  background: #18170f;
  border: 1px solid rgba(176, 66, 29, .35);
}
.puzzle--feature .puzzle__demo {
  aspect-ratio: 1 / 1;
}
.puzzle--feature .puzzle__name {
  font-size: 34px;
  letter-spacing: -0.015em;
}
.puzzle--feature .puzzle__desc {
  font-size: 15.5px;
  max-width: 52ch;
}
.puzzle__flag {
  position: absolute;
  top: 18px; right: 18px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 5px 9px;
  border: 1px solid rgba(176, 66, 29, .55);
  background: rgba(176, 66, 29, .08);
}
@media (max-width: 980px) {
  .puzzle--feature { grid-column: span 2; grid-row: span 2; }
}
@media (max-width: 600px) {
  .puzzle--feature { grid-column: span 1; grid-row: span 1; }
}
.puzzle__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.puzzle__num {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  color: rgba(236,233,223,.45);
}
.puzzle__diff {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(236,233,223,.55);
  border: 1px solid rgba(236,233,223,.18);
  padding: 4px 8px;
}
.puzzle__demo {
  background: var(--paper);
  aspect-ratio: 5 / 3.6;
  display: grid;
  place-items: center;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.06);
}
.puzzle__demo svg { width: 100%; height: 100%; }
.puzzle__name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.15;
  color: #ece9df;
  margin: 0;
  letter-spacing: -0.01em;
}
.puzzle__desc {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(236,233,223,.72);
  margin: 0;
}
.puzzle__tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(236,233,223,.55);
  padding-top: 10px;
  border-top: 1px solid rgba(236,233,223,.12);
  margin-top: auto;
}

/* ---------- Imprints (collane) ---------- */
.imprints {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 980px) { .imprints { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .imprints { grid-template-columns: 1fr; } }
.imprint {
  display: flex;
  flex-direction: column;
  padding: 32px 28px 28px;
  border: 1px solid var(--rule);
  background: var(--paper);
  min-height: 260px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.imprint:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px -16px rgba(20,19,15,.18);
}
.imprint__chip {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 6px 10px;
  border: 1px solid var(--rule);
  margin-bottom: 22px;
}
.imprint__swatch {
  width: 10px; height: 10px; border-radius: 50%;
}
.imprint__name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.012em;
  margin: 0 0 10px;
  color: var(--ink);
}
.imprint__desc {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 18px;
}
.imprint__meta {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

/* ---------- Flywheel KDP + Free Downloads ---------- */
.flywheel {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
@media (max-width: 880px) { .flywheel { grid-template-columns: 1fr; } }
.flywheel__steps {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  counter-reset: step;
}
.flywheel__steps li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--rule);
  align-items: start;
}
.flywheel__steps li:last-child { border-bottom: 1px solid var(--rule); }
.flywheel__steps li::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--accent);
  padding-top: 2px;
}
.flywheel__steps strong {
  display: block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 4px;
}
.flywheel__steps span {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.flywheel__art {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.flywheel__art-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.flywheel__card {
  background: #fff;
  border: 1px solid var(--rule);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 160px;
}
.flywheel__card svg { flex: 1; width: 100%; height: 100%; }
.flywheel__card-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.flywheel__arrow {
  position: absolute;
  inset: auto 0 0 0;
  margin: 0 32px 14px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-dim);
  display: flex;
  justify-content: space-between;
}

/* ---------- Downloads preview ---------- */
.downloads {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: var(--space-4);
}
@media (max-width: 880px) { .downloads { grid-template-columns: 1fr; } }
.dl-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 24px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dl-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.dl-card__title {
  font-family: var(--serif);
  font-size: 22px;
  margin: 0;
  letter-spacing: -0.01em;
}
.dl-card__size {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  color: var(--ink-dim);
  text-transform: uppercase;
}
.dl-card__desc {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0;
}
.dl-card__cta {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ---------- Newsletter ---------- */
.newsletter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 880px) { .newsletter { grid-template-columns: 1fr; } }
.newsletter__form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.newsletter__form input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 16px 18px;
  font: inherit;
  font-size: 15px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.2);
  color: #ece9df;
  outline: none;
  transition: border-color .2s ease;
}
.newsletter__form input[type="email"]::placeholder { color: rgba(236,233,223,.45); }
.newsletter__form input[type="email"]:focus { border-color: var(--accent-soft); }
.newsletter__note {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(236,233,223,.5);
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 56px var(--gutter) 32px;
  background: var(--paper);
  border-top: 1px solid var(--rule);
}
.site-footer__inner {
  max-width: var(--content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 760px) { .site-footer__inner { grid-template-columns: 1fr; } }
.site-footer__col h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin: 0 0 14px;
}
.site-footer__col ul {
  list-style: none;
  margin: 0; padding: 0;
}
.site-footer__col li { margin-bottom: 10px; font-size: 14px; }
.site-footer__col a { color: var(--ink-soft); }
.site-footer__col a:hover { color: var(--ink); }
.site-footer__brand .brand { margin-bottom: 16px; }
.site-footer__brand p { font-size: 14px; color: var(--ink-soft); max-width: 32ch; margin: 0; }
.site-footer__legal {
  max-width: var(--content);
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.site-footer__legal a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.site-footer__legal a:hover { color: var(--accent); }

/* ---------- Glimpse (teaser) ---------- */
.glimpse {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(36px, 5vw, 56px);
}
.glimpse__line {
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.25;
  color: var(--ink);
  margin: 0;
  max-width: 36ch;
  text-wrap: balance;
}
.glimpse__line em {
  font-style: italic;
  color: var(--ink-soft);
}
.glimpse__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.4vw, 32px);
  width: 100%;
  max-width: 720px;
}
@media (max-width: 640px) {
  .glimpse__row { grid-template-columns: 1fr; max-width: 320px; }
}
.glimpse__tile {
  margin: 0;
  aspect-ratio: 1 / 1;
  background: #fff;
  border: 1px solid var(--rule);
  padding: 14px;
  display: grid;
  place-items: center;
  transition: transform .25s ease, box-shadow .25s ease;
}
.glimpse__tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -18px rgba(20,19,15,.18);
}
.glimpse__tile svg { width: 100%; height: 100%; }

/* ---------- Notify ---------- */
.notify { text-align: center; }
.notify .h2 { margin-top: 14px; }
.notify .lede {
  margin: 0 auto 28px;
  max-width: 48ch;
  text-align: center;
}
.notify .newsletter__form {
  margin: 0 auto;
  max-width: 520px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.notify .newsletter__note {
  margin-top: 16px;
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(236,233,223,.5);
}

/* ---------- Footer (minimal variant) ---------- */
.site-footer--minimal { padding: 40px var(--gutter) 28px; }
.site-footer__inner--minimal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.site-footer__tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0;
}
.site-footer__legal {
  justify-content: center;
}

/* ---------- The books (catalogue + unlock) ---------- */
.books { display: grid; gap: 24px; }
.books__loading {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.book {
  display: grid;
  grid-template-columns: 248px 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
  border: 1px solid var(--rule);
  background: var(--paper);
  padding: clamp(22px, 3vw, 40px);
  position: relative;
}
/* Lift the whole card above its neighbours while a cover is magnified, so the
   popped-out image is never painted under the next book. */
.book:hover { z-index: 60; }
@media (max-width: 760px) { .book { grid-template-columns: 1fr; } }

/* Cover = a positioning context only; the frame (border + shadow) lives on the
   image itself so it can lift out of the card cleanly. No clipping here. */
.book__cover {
  position: relative;
  z-index: 1;
}
.book__cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 680 / 886;
  object-fit: cover;
  border: 1px solid var(--rule);
  box-shadow: 0 22px 44px -24px rgba(20, 19, 15, .55);
  transform: scale(1);
  /* Anchor the left edge so the cover grows rightward over the description and
     never spills off the left of the page. */
  transform-origin: left center;
  transition: transform .55s cubic-bezier(.2, .7, .2, 1), box-shadow .55s ease;
  will-change: transform;
  cursor: zoom-in;
  position: relative;
  z-index: 1;
}
/* True 2× pop-out magnification: the rectangle itself enlarges and lifts above
   the page, revealing the cover's detail. */
.book__cover:hover img,
.book__cover:focus-within img {
  transform: scale(1.6);
  z-index: 70;
  box-shadow: 0 50px 90px -22px rgba(20, 19, 15, .62);
  cursor: zoom-out;
}
/* On narrow screens the cover is full-width; cap the zoom so it stays on screen. */
@media (max-width: 760px) {
  .book__cover img { transform-origin: center center; }
  .book__cover:hover img,
  .book__cover:focus-within img { transform: scale(1.35); }
}
@media (prefers-reduced-motion: reduce) {
  .book__cover img { transition: none; }
}
.book__status {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 2; /* sit above the resting cover image */
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  padding: 4px 8px;
  pointer-events: none; /* don't block the hover/zoom on the cover */
}
.book__subtitle {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin: 0 0 12px;
}
.book__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin: 0 0 6px;
  color: var(--ink);
}
.book__blurb { color: var(--ink-soft); margin: 0 0 22px; max-width: 60ch; }
.book__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.book__soon {
  display: inline-flex;
  align-items: center;
  padding: 13px 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-dim);
  border: 1px dashed var(--ink-faint);
}

/* unlock panel */
.unlock {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px dashed var(--rule);
}
.unlock[hidden] { display: none; }
.unlock__hint {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0 0 14px;
  max-width: 56ch;
}
.unlock__row { display: flex; gap: 10px; flex-wrap: wrap; }
.unlock__key {
  flex: 1;
  min-width: 200px;
  padding: 13px 16px;
  font: inherit;
  font-family: var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  background: #fff;
  border: 1px solid var(--ink-faint);
  color: var(--ink);
  outline: none;
  transition: border-color .2s ease;
}
.unlock__key:focus { border-color: var(--accent); }
.unlock__optin {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--ink-soft);
  cursor: pointer;
}
.unlock__optin input { width: 15px; height: 15px; accent-color: var(--accent); }
.unlock__email {
  margin-top: 10px;
  width: 100%;
  max-width: 360px;
  padding: 12px 15px;
  font: inherit;
  font-size: 14px;
  background: #fff;
  border: 1px solid var(--ink-faint);
  color: var(--ink);
  outline: none;
}
.unlock__email[hidden] { display: none; }
.unlock__email:focus { border-color: var(--accent); }
.unlock__msg {
  margin: 14px 0 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  min-height: 14px;
}
.unlock__msg--ok { color: #2f7d4f; }
.unlock__msg--err { color: var(--accent); }

/* bonus download cards (reuse .downloads/.dl-card grid) */
.unlock__downloads { margin-top: 22px; }
@media (max-width: 880px) { .unlock__downloads.downloads { grid-template-columns: 1fr; } }
.dl-card--locked { opacity: .62; }
.dl-card__cta--btn {
  background: none;
  border: 0;
  padding: 0;
  cursor: default;
}
.dl-card__cta a { color: var(--accent); display: inline-flex; gap: 8px; align-items: center; }
.dl-card.is-unlocked { opacity: 1; border-color: rgba(176, 66, 29, .4); }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Mini-puzzle SVG styles (used inline) ---------- */
.demo-grid line, .demo-grid rect, .demo-grid path {
  stroke: var(--ink);
}
.demo-text {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  fill: var(--ink);
}
.demo-num {
  font-family: var(--mono);
  font-size: 9px;
  fill: var(--ink);
}
.demo-clue {
  font-family: var(--mono);
  font-size: 7px;
  fill: var(--ink-soft);
}
.demo-hl {
  fill: rgba(176, 66, 29, .14);
  stroke: var(--accent);
  stroke-width: 1.2;
}
.demo-fill { fill: var(--ink); }

/* ════════════════════════════════════════════════════════════════
   R181 — SYMMETRY FX: animated puzzle mockups + page-wide symmetry effects
   ════════════════════════════════════════════════════════════════ */

/* Respect user preference: kill all of this if they ask. */
@media (prefers-reduced-motion: reduce) {
  .tile-cw .kw-letter,
  .tile-cw .kw-accent,
  .tile-sd .sd-solve,
  .tile-sd .sd-accent,
  .tile-sd .sd-rays,
  .tile-ws .ws-trail,
  .tile-ws .ws-key,
  .tile-ws .ws-noise,
  .brand__mark > g,
  .hero__mark svg > g {
    animation: none !important;
    transition: none !important;
  }
  /* Show a clean, static state instead of an empty grid. */
  .tile-cw .kw-letter { opacity: 1 !important; }
  .tile-cw .kw-accent { opacity: .12 !important; }
  .tile-sd .sd-solve  { opacity: 1 !important; }
}

/* ──────────────────────────────────────────────────────────────
   TILE 1 — Crossword auto-solving. KINNIK appears letter-by-letter
   along row 1, then again down col 1 from the intersection. A red
   keystone halo pulses on the shared I (it is the symmetry point
   of the whole tile). Loop: 7s.
   ────────────────────────────────────────────────────────────── */
.tile-cw .kw-letter { opacity: 0; transform-box: fill-box; transform-origin: center; }
.tile-cw .kw-accent { opacity: 0; }

/* Each KINNIK word writes itself letter-by-letter. The four words compose
   1→2→3→4 on the way in, then rewind 4→3→2→1 on the way out — a palindrome:
   the last letter to appear is the first to vanish. 20 letters · 11s loop. */
.tile-cw.is-anim .kw-L1  { animation: kw-L1  11s ease-in-out infinite; }
.tile-cw.is-anim .kw-L2  { animation: kw-L2  11s ease-in-out infinite; }
.tile-cw.is-anim .kw-L3  { animation: kw-L3  11s ease-in-out infinite; }
.tile-cw.is-anim .kw-L4  { animation: kw-L4  11s ease-in-out infinite; }
.tile-cw.is-anim .kw-L5  { animation: kw-L5  11s ease-in-out infinite; }
.tile-cw.is-anim .kw-L6  { animation: kw-L6  11s ease-in-out infinite; }
.tile-cw.is-anim .kw-L7  { animation: kw-L7  11s ease-in-out infinite; }
.tile-cw.is-anim .kw-L8  { animation: kw-L8  11s ease-in-out infinite; }
.tile-cw.is-anim .kw-L9  { animation: kw-L9  11s ease-in-out infinite; }
.tile-cw.is-anim .kw-L10 { animation: kw-L10 11s ease-in-out infinite; }
.tile-cw.is-anim .kw-L11 { animation: kw-L11 11s ease-in-out infinite; }
.tile-cw.is-anim .kw-L12 { animation: kw-L12 11s ease-in-out infinite; }
.tile-cw.is-anim .kw-L13 { animation: kw-L13 11s ease-in-out infinite; }
.tile-cw.is-anim .kw-L14 { animation: kw-L14 11s ease-in-out infinite; }
.tile-cw.is-anim .kw-L15 { animation: kw-L15 11s ease-in-out infinite; }
.tile-cw.is-anim .kw-L16 { animation: kw-L16 11s ease-in-out infinite; }
.tile-cw.is-anim .kw-L17 { animation: kw-L17 11s ease-in-out infinite; }
.tile-cw.is-anim .kw-L18 { animation: kw-L18 11s ease-in-out infinite; }
.tile-cw.is-anim .kw-L19 { animation: kw-L19 11s ease-in-out infinite; }
.tile-cw.is-anim .kw-L20 { animation: kw-L20 11s ease-in-out infinite; }
.tile-cw.is-anim .kw-acc-w1 { animation: kw-acc1 11s ease-in-out infinite; }
.tile-cw.is-anim .kw-acc-w2 { animation: kw-acc2 11s ease-in-out infinite; }
.tile-cw.is-anim .kw-acc-w3 { animation: kw-acc3 11s ease-in-out infinite; }
.tile-cw.is-anim .kw-acc-w4 { animation: kw-acc4 11s ease-in-out infinite; }

@keyframes kw-L1  { 0%,1%{opacity:0;transform:translateY(-2px)}  2.5%,93%{opacity:1;transform:translateY(0)} 94.5%,100%{opacity:0} }
@keyframes kw-L2  { 0%,3%{opacity:0;transform:translateY(-2px)}  4.5%,91%{opacity:1;transform:translateY(0)} 92.5%,100%{opacity:0} }
@keyframes kw-L3  { 0%,5%{opacity:0;transform:translateY(-2px)}  6.5%,89%{opacity:1;transform:translateY(0)} 90.5%,100%{opacity:0} }
@keyframes kw-L4  { 0%,7%{opacity:0;transform:translateY(-2px)}  8.5%,87%{opacity:1;transform:translateY(0)} 88.5%,100%{opacity:0} }
@keyframes kw-L5  { 0%,9%{opacity:0;transform:translateY(-2px)}  10.5%,85%{opacity:1;transform:translateY(0)} 86.5%,100%{opacity:0} }
@keyframes kw-L6  { 0%,11%{opacity:0;transform:translateY(-2px)} 12.5%,83%{opacity:1;transform:translateY(0)} 84.5%,100%{opacity:0} }
@keyframes kw-L7  { 0%,13%{opacity:0;transform:translateY(-2px)} 14.5%,81%{opacity:1;transform:translateY(0)} 82.5%,100%{opacity:0} }
@keyframes kw-L8  { 0%,15%{opacity:0;transform:translateY(-2px)} 16.5%,79%{opacity:1;transform:translateY(0)} 80.5%,100%{opacity:0} }
@keyframes kw-L9  { 0%,17%{opacity:0;transform:translateY(-2px)} 18.5%,77%{opacity:1;transform:translateY(0)} 78.5%,100%{opacity:0} }
@keyframes kw-L10 { 0%,19%{opacity:0;transform:translateY(-2px)} 20.5%,75%{opacity:1;transform:translateY(0)} 76.5%,100%{opacity:0} }
@keyframes kw-L11 { 0%,21%{opacity:0;transform:translateY(-2px)} 22.5%,73%{opacity:1;transform:translateY(0)} 74.5%,100%{opacity:0} }
@keyframes kw-L12 { 0%,23%{opacity:0;transform:translateY(-2px)} 24.5%,71%{opacity:1;transform:translateY(0)} 72.5%,100%{opacity:0} }
@keyframes kw-L13 { 0%,25%{opacity:0;transform:translateY(-2px)} 26.5%,69%{opacity:1;transform:translateY(0)} 70.5%,100%{opacity:0} }
@keyframes kw-L14 { 0%,27%{opacity:0;transform:translateY(-2px)} 28.5%,67%{opacity:1;transform:translateY(0)} 68.5%,100%{opacity:0} }
@keyframes kw-L15 { 0%,29%{opacity:0;transform:translateY(-2px)} 30.5%,65%{opacity:1;transform:translateY(0)} 66.5%,100%{opacity:0} }
@keyframes kw-L16 { 0%,31%{opacity:0;transform:translateY(-2px)} 32.5%,63%{opacity:1;transform:translateY(0)} 64.5%,100%{opacity:0} }
@keyframes kw-L17 { 0%,33%{opacity:0;transform:translateY(-2px)} 34.5%,61%{opacity:1;transform:translateY(0)} 62.5%,100%{opacity:0} }
@keyframes kw-L18 { 0%,35%{opacity:0;transform:translateY(-2px)} 36.5%,59%{opacity:1;transform:translateY(0)} 60.5%,100%{opacity:0} }
@keyframes kw-L19 { 0%,37%{opacity:0;transform:translateY(-2px)} 38.5%,57%{opacity:1;transform:translateY(0)} 58.5%,100%{opacity:0} }
@keyframes kw-L20 { 0%,39%{opacity:0;transform:translateY(-2px)} 40.5%,55%{opacity:1;transform:translateY(0)} 56.5%,100%{opacity:0} }

/* Accent bands roughly bound each word's presence window. */
@keyframes kw-acc1 { 0%,1%{opacity:0}  5%,93%{opacity:.14} 96%,100%{opacity:0} }
@keyframes kw-acc2 { 0%,13%{opacity:0} 17%,81%{opacity:.14} 85%,100%{opacity:0} }
@keyframes kw-acc3 { 0%,23%{opacity:0} 27%,71%{opacity:.14} 75%,100%{opacity:0} }
@keyframes kw-acc4 { 0%,33%{opacity:0} 37%,61%{opacity:.14} 65%,100%{opacity:0} }

/* ──────────────────────────────────────────────────────────────
   TILE 2 — Sudoku symmetric solve. The 5 accent cells (centre + 4
   corners — same geometry as the brand mark) write SIMULTANEOUSLY
   so the symmetry is in the ACT not just the layout. Then radial
   axes fire from centre outward. Loop: 6s.
   ────────────────────────────────────────────────────────────── */
.tile-sd .sd-solve  { transform-box: fill-box; transform-origin: center; }
.tile-sd .sd-accent { transform-box: fill-box; transform-origin: center; }
.tile-sd .sd-rays line {
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
}

.tile-sd.is-anim .sd-solve  { animation: sd-write 6s ease-in-out infinite; animation-delay: .8s; }
.tile-sd.is-anim .sd-accent { animation: sd-pulse 6s ease-in-out infinite; animation-delay: .8s; }
.tile-sd.is-anim .sd-rays   { animation: sd-rays-fade 6s ease-out infinite; }
.tile-sd.is-anim .sd-rays line { animation: sd-rays-draw 6s ease-out infinite; }

@keyframes sd-write {
  0%, 5%   { opacity: 0; transform: scale(.6); }
  18%, 70% { opacity: 1; transform: scale(1); }
  90%,100% { opacity: 0; transform: scale(1); }
}
@keyframes sd-pulse {
  0%, 10%  { opacity: .13; transform: scale(1); }
  20%      { opacity: .42; transform: scale(1.08); }
  35%, 70% { opacity: .22; transform: scale(1); }
  90%,100% { opacity: .13; transform: scale(1); }
}
@keyframes sd-rays-fade {
  0%, 22%  { opacity: 0; }
  28%      { opacity: .55; }
  60%      { opacity: 0; }
  100%     { opacity: 0; }
}
@keyframes sd-rays-draw {
  0%, 22%  { stroke-dashoffset: 80; }
  40%      { stroke-dashoffset: 0; }
  60%      { stroke-dashoffset: -80; }
  100%     { stroke-dashoffset: -80; }
}

/* ──────────────────────────────────────────────────────────────
   TILE 3 — Word search diagonal reveal. Noise letters dim, the
   six KINNIK letters spotlight one by one, and the highlighter
   trail draws itself corner-to-corner like a marker. Loop: 7s.
   ────────────────────────────────────────────────────────────── */
.tile-ws .ws-letter { transform-box: fill-box; transform-origin: center; transition: opacity .3s ease; }

.tile-ws.is-anim .ws-noise { animation: ws-dim 7s ease-in-out infinite; }
.tile-ws.is-anim .ws-trail { animation: ws-trail 7s ease-in-out infinite; }

.tile-ws.is-anim .ws-key   { animation: ws-spot 7s ease-out infinite; }
.tile-ws.is-anim .ws-key-1 { animation-delay: 1.0s; }
.tile-ws.is-anim .ws-key-2 { animation-delay: 1.4s; }
.tile-ws.is-anim .ws-key-3 { animation-delay: 1.8s; }
.tile-ws.is-anim .ws-key-4 { animation-delay: 2.2s; }
.tile-ws.is-anim .ws-key-5 { animation-delay: 2.6s; }
.tile-ws.is-anim .ws-key-6 { animation-delay: 3.0s; }

@keyframes ws-trail {
  0%       { stroke-dashoffset: 100; opacity: 0; }
  10%      { opacity: .12; }
  45%      { stroke-dashoffset: 0;   opacity: .32; }
  75%      { stroke-dashoffset: 0;   opacity: .32; }
  92%,100% { stroke-dashoffset: 0;   opacity: 0; }
}
@keyframes ws-dim {
  0%, 9%   { opacity: 1; }
  18%, 70% { opacity: .28; }
  88%,100% { opacity: 1; }
}
@keyframes ws-spot {
  0%   { fill: #14130f; transform: scale(1); }
  10%  { fill: #b0421d; transform: scale(1.35); }
  35%  { fill: #b0421d; transform: scale(1); }
  70%  { fill: #b0421d; transform: scale(1); }
  92%  { fill: #14130f; transform: scale(1); }
}

/* ──────────────────────────────────────────────────────────────
   BRAND MARK — gentle breathing. The radiating five-line mark
   pulses very slowly, like it is alive but in no hurry.
   ────────────────────────────────────────────────────────────── */
.brand__mark > g, .hero__mark svg > g {
  transform-box: fill-box;
  transform-origin: 200px 200px;
  animation: bm-breathe 6.4s ease-in-out infinite;
}
@keyframes bm-breathe {
  0%, 100% { transform: scale(1);    opacity: 1; }
  50%      { transform: scale(1.03); opacity: .92; }
}

/* When the hero wordmark is clicked, the radiating mark FLARES once. */
.hero__mark.is-flaring svg > g { animation: bm-flare .9s ease-out 1; }
@keyframes bm-flare {
  0%   { transform: scale(1)    rotate(0deg);   opacity: 1; }
  35%  { transform: scale(1.18) rotate(72deg);  opacity: .95; }
  100% { transform: scale(1)    rotate(360deg); opacity: 1; }
}

/* ──────────────────────────────────────────────────────────────
   PAGE-WIDE SYMMETRY — vertical mirror axis + ghost cursor that
   mirrors the user across the horizontal centre of the viewport.
   Both subtle; both invisible until the mouse moves.
   ────────────────────────────────────────────────────────────── */
#kg-axis {
  position: fixed;
  top: 0; bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(to bottom,
              rgba(176,66,29,0) 0%,
              rgba(176,66,29,.22) 18%,
              rgba(176,66,29,.22) 82%,
              rgba(176,66,29,0) 100%);
  opacity: 0;
  transform: translateX(-.5px) scaleY(.6);
  transform-origin: center;
  transition: opacity .35s ease, transform .55s cubic-bezier(.2,.7,.2,1);
  z-index: 9998;
  pointer-events: none;
}
body.kg-active-mirror #kg-axis {
  opacity: 1;
  transform: translateX(-.5px) scaleY(1);
}

#kg-ghost {
  position: fixed;
  top: 0; left: 0;
  width: 14px; height: 14px;
  margin: -7px 0 0 -7px;
  border: 1.2px solid var(--accent);
  border-radius: 50%;
  background: transparent;
  opacity: 0;
  pointer-events: none;
  z-index: 9999;
  transition: opacity .25s ease;
  mix-blend-mode: multiply;
  will-change: transform;
}
#kg-ghost::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .55;
}
body.kg-active-mirror #kg-ghost { opacity: .55; }

/* Hover glow on each glimpse tile, centred — hints at the
   mockup's symmetry point. */
@media (hover: hover) {
  .glimpse__tile { position: relative; overflow: hidden; }
  .glimpse__tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 50% 50%,
        rgba(176,66,29,.10) 0%,
        rgba(176,66,29,0) 38%);
    opacity: 0;
    transition: opacity .35s ease;
    pointer-events: none;
  }
  .glimpse__tile:hover::after { opacity: 1; }
}

/* ──────────────────────────────────────────────────────────────
   GLOBAL MIRROR FLIP — triggered by clicking the hero wordmark or
   completing the KINNIK keyboard sequence. The whole page reflects
   horizontally for ~850ms then settles back.
   ────────────────────────────────────────────────────────────── */
body.kg-mirror-flip {
  transform-origin: center top;
  animation: kg-flip .85s cubic-bezier(.7,0,.2,1) 1;
}
@keyframes kg-flip {
  0%   { transform: scaleX(1);  filter: none; }
  35%  { transform: scaleX(-1); filter: contrast(1.05); }
  65%  { transform: scaleX(-1); filter: contrast(1.05); }
  100% { transform: scaleX(1);  filter: none; }
}

/* SYMMETRY PULSE — single accent ring grows from page centre and
   dissolves. Fired by the konami sequence and by the mirror flip. */
#kg-pulse {
  position: fixed;
  top: 50%; left: 50%;
  width: 30px; height: 30px;
  margin: -15px 0 0 -15px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  opacity: 0;
  z-index: 10000;
  pointer-events: none;
}
#kg-pulse.is-firing { animation: kg-pulse 1.1s ease-out 1; }
@keyframes kg-pulse {
  0%   { transform: scale(.4); opacity: .85; }
  100% { transform: scale(28); opacity: 0; }
}

/* HERO wordmark hover hint that it is interactive. */
.hero__wordmark {
  cursor: pointer;
  transition: letter-spacing .4s cubic-bezier(.2,.7,.2,1),
              text-shadow .4s ease;
}
.hero__wordmark:hover {
  letter-spacing: .025em;
  text-shadow: 0 0 .1em rgba(176,66,29,.18);
}

/* Reveal — symmetric clip-path open for section heads. */
.reveal.kg-mirror-reveal {
  clip-path: inset(0 50% 0 50%);
  transition: clip-path .9s cubic-bezier(.2,.7,.2,1), opacity .6s ease;
}
.reveal.kg-mirror-reveal.is-visible {
  clip-path: inset(0 0 0 0);
}

/* Honeypot anti-spam field — visually & semantically hidden from humans,
   still present in the DOM so naive bots fill it. Not display:none (some
   bots skip those). */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ════════════════════════════════════════════════════════════════
   R310 — SYMMETRY FX 2
   1 · Palindrome proof (the KINNIK letters swap symmetrically and
       the word survives — the brand thesis, animated)
   2 · Unlock celebration (secret word composes as crossword cells,
       download cards flip in like revealed squares)
   3 · Ghost cursor v2 (the reflection clicks too; paired tiles
       mirror each other's hover)
   4 · Converging scroll progress (the page meets in the middle) +
       mirrored tap ripple on touch
   5 · Cover reflection (books rest on a polished table)
   6 · Scroll-driven grid dividers (crossword rows that blacken in
       180°-symmetric pairs as you travel the page)
   8 · Konami solve (typing KINNIK solves every mockup at once)
   Vanilla CSS. Everything honours prefers-reduced-motion below.
   ════════════════════════════════════════════════════════════════ */

/* ── 1 · PALINDROME PROOF ────────────────────────────────────── */
.hero__wordmark { position: relative; }
.hero__wordmark .kg-pl {
  display: inline-block;
  will-change: transform;
}
.hero__wordmark .kg-pl--lit {
  color: var(--accent);
  transition: color .4s ease;
}
.kg-pl-axis {
  position: absolute;
  width: 1px;
  background: linear-gradient(to bottom,
              rgba(176,66,29,0) 0%,
              rgba(176,66,29,.6) 30%,
              rgba(176,66,29,.6) 70%,
              rgba(176,66,29,0) 100%);
  transform: scaleY(0);
  transform-origin: center;
  pointer-events: none;
}
.kg-pl-axis.is-on {
  transform: scaleY(1);
  transition: transform .4s cubic-bezier(.2,.7,.2,1);
}
.kg-pl-axis.is-off {
  opacity: 0;
  transition: opacity .55s ease .15s;
}
.hero__tagline { cursor: pointer; }
.hero__tagline:focus-visible { outline: 1px dashed var(--accent); outline-offset: 6px; }

/* ── 2 · UNLOCK CELEBRATION ──────────────────────────────────── */
.kg-trophy {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 20px 0 4px;
  perspective: 600px;
}
.kg-trophy__cell {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  opacity: 0;
}
.kg-trophy__cell.is-in { animation: kg-cellflip .5s cubic-bezier(.2,.7,.2,1) both; }
@keyframes kg-cellflip {
  0%   { opacity: 0; transform: rotateX(90deg) translateY(-6px); }
  60%  { opacity: 1; transform: rotateX(-14deg); }
  100% { opacity: 1; transform: rotateX(0); }
}
.kg-trophy__cell.is-lit {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transition: background .25s ease, border-color .25s ease, color .25s ease;
}
.dl-card.kg-flip-in {
  animation: kg-dlflip .6s cubic-bezier(.2,.7,.2,1) both;
  transform-origin: top center;
}
@keyframes kg-dlflip {
  0%   { opacity: 0; transform: perspective(700px) rotateX(-58deg); }
  100% { opacity: 1; transform: perspective(700px) rotateX(0); }
}
.kg-localpulse {
  position: absolute;
  width: 26px;
  height: 26px;
  margin: -13px 0 0 -13px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 5;
  animation: kg-localpulse 1s ease-out 1 both;
}
@keyframes kg-localpulse {
  0%   { transform: scale(.4); opacity: .8; }
  100% { transform: scale(14); opacity: 0; }
}

/* ── 3 · GHOST CURSOR v2 ─────────────────────────────────────── */
.kg-ripple {
  position: fixed;
  top: 0; left: 0;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  animation: kg-ripple .55s ease-out both;
}
@keyframes kg-ripple {
  0%   { transform: scale(.5); opacity: .7; }
  100% { transform: scale(3.2); opacity: 0; }
}
#kg-ghost::after { transition: transform .15s ease; }
body.kg-ghost-press #kg-ghost::after { transform: scale(.55); }
/* the two outer tiles are mirror twins: hovering one lifts the other */
.glimpse__tile.kg-mirror-hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -18px rgba(20,19,15,.18);
}
/* the sudoku tile is its own mirror — it answers to itself */
.tile-sd.kg-selfmirror {
  box-shadow: 0 14px 30px -18px rgba(20,19,15,.18),
              inset 0 0 0 1px rgba(176,66,29,.35);
}

/* ── 4 · CONVERGING SCROLL PROGRESS ──────────────────────────── */
#kg-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 60;
  pointer-events: none;
}
#kg-progress .kg-progress__half {
  position: absolute;
  top: 0; bottom: 0;
  width: 50%;
  background: var(--ink);
  transform: scaleX(0);
  will-change: transform;
}
#kg-progress .kg-progress__half--l { left: 0;  transform-origin: left center; }
#kg-progress .kg-progress__half--r { right: 0; transform-origin: right center; }
#kg-progress .kg-progress__meet {
  position: absolute;
  top: -2.5px;
  left: 50%;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0;
}
#kg-progress.is-met .kg-progress__meet { animation: kg-meet .7s ease-out 1; }
@keyframes kg-meet {
  0%   { opacity: 0; transform: scale(.3); }
  35%  { opacity: 1; transform: scale(1.3); }
  100% { opacity: 0; transform: scale(.6); }
}

/* ── 5 · COVER REFLECTION (Chromium/Safari; Firefox no-ops) ──── */
@media (min-width: 761px) {
  .book__cover img {
    -webkit-box-reflect: below 3px
      linear-gradient(to bottom, rgba(0,0,0,0) 72%, rgba(0,0,0,.16) 100%);
  }
}

/* ── 6 · SCROLL-DRIVEN GRID DIVIDERS ─────────────────────────── */
.section { position: relative; }
.kg-divrow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  pointer-events: none;
}
.kg-divcell {
  width: clamp(14px, 2.4vw, 22px);
  height: clamp(7px, 1.2vw, 11px);
  border: 1px solid var(--ink-faint);
  border-left-width: 0;
  background: var(--paper);
  transition: background .4s ease, border-color .4s ease;
}
.kg-divcell:first-child { border-left-width: 1px; }
.kg-divcell.is-filled { background: var(--ink); border-color: var(--ink); }
.kg-divcell.is-centre.is-filled { background: var(--accent); border-color: var(--accent); }

/* ── 8 · KONAMI SOLVE — every mockup snaps to its solved state ── */
.glimpse__tile.kg-solved { border-color: rgba(176,66,29,.45); }
.glimpse__tile.kg-solved .kw-letter,
.glimpse__tile.kg-solved .sd-solve  { animation: none !important; opacity: 1 !important; }
.glimpse__tile.kg-solved .kw-accent { animation: none !important; opacity: .14 !important; }
.glimpse__tile.kg-solved .sd-accent { animation: none !important; opacity: .3 !important; }
.glimpse__tile.kg-solved .sd-rays   { animation: none !important; opacity: .5 !important; }
.glimpse__tile.kg-solved .sd-rays line { animation: none !important; stroke-dashoffset: 0 !important; }
.glimpse__tile.kg-solved .ws-noise  { animation: none !important; opacity: .28 !important; }
.glimpse__tile.kg-solved .ws-key    { animation: none !important; fill: var(--accent) !important; }
.glimpse__tile.kg-solved .ws-trail  { animation: none !important; stroke-dashoffset: 0 !important; opacity: .32 !important; }

/* ════════════════════════════════════════════════════════════════
   R311 — THE PLAYABLE SPECIMEN
   In-page crossword player. The grid borrows the book aesthetic:
   ink lines, paper cells, accent for the active word. Solved state
   radiates square rings from the centre — the brand mark geometry.
   ════════════════════════════════════════════════════════════════ */
.cw__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.cw__spec {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 8px;
}
.cw__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -0.012em;
  margin: 0;
}
.cw__note {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14.5px;
  color: var(--ink-soft);
  margin: 8px 0 0;
  max-width: 52ch;
}
.cw__controls {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cw__archive {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.cw__archive-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.cw__select {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--ink-faint);
  padding: 9px 10px;
  outline: none;
  cursor: pointer;
}
.cw__select:focus { border-color: var(--accent); }
.cw__timer {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--ink);
  min-width: 46px;
  text-align: right;
}

.cw__layout {
  display: grid;
  grid-template-columns: minmax(0, 600px) minmax(260px, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
@media (max-width: 940px) { .cw__layout { grid-template-columns: 1fr; } }

.cw__board { position: relative; }
.cw__grid {
  display: grid;
  gap: 1px;
  background: var(--ink);
  border: 2px solid var(--ink);
  width: 100%;
  max-width: 600px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}
.cw-cell {
  position: relative;
  aspect-ratio: 1;
  background: #fff;
  border: 0;
  padding: 0;
  display: grid;
  place-items: center;
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(11px, 2.4vw, 20px);
  color: var(--ink);
  text-transform: uppercase;
  cursor: pointer;
  transition: background .12s ease;
}
.cw-cell--block { background: var(--ink); cursor: default; }
.cw-cell__num {
  position: absolute;
  top: 1px;
  left: 2px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: clamp(6px, 1.1vw, 9px);
  line-height: 1;
  color: var(--ink-dim);
  pointer-events: none;
}
.cw-cell__letter { pointer-events: none; }
/* solid blends (the grid's ink background sits behind the 1px gaps —
   transparent fills would let it bleed through the whole cell) */
.cw-cell.is-word { background: #f8eeeb; }
.cw-cell.is-sel  { background: #e9cac0; }
.cw-cell:focus-visible { outline: 1.5px dashed var(--accent); outline-offset: -3px; }
.cw-cell.is-wrong::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top right,
              transparent 46%, rgba(176,66,29,.8) 48%,
              rgba(176,66,29,.8) 52%, transparent 54%);
  pointer-events: none;
}
.cw-cell.is-reveal .cw-cell__letter { color: var(--accent); }
.cw-cell.is-flash {
  background: var(--accent);
  color: #fff;
  transition: background .3s ease, color .3s ease;
}
.cw-cell.is-flash .cw-cell__letter { color: #fff; }

.cw__clue-bar {
  margin-top: 12px;
  padding: 11px 14px;
  background: var(--paper-warm);
  border: 1px solid var(--rule);
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--ink);
  display: flex;
  gap: 12px;
  align-items: baseline;
  min-height: 44px;
  max-width: 600px;
}
.cw__clue-bar b {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--accent);
  white-space: nowrap;
}

.cw__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  max-width: 600px;
}
.cw__tool {
  background: transparent;
  border: 1px solid var(--ink-faint);
  padding: 8px 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease;
}
.cw__tool:hover { border-color: var(--ink); color: var(--ink); }
.cw__tooldiv { width: 1px; height: 18px; background: var(--rule); }

.cw__status {
  margin: 12px 0 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-dim);
  min-height: 16px;
  max-width: 600px;
}
.cw__status.is-ok { color: #2f7d4f; }
.cw__status.is-warn { color: var(--accent); }

.cw__kbd {
  position: fixed;
  top: 0; left: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  border: 0;
  padding: 0;
  pointer-events: none;
}

.cw__clues {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.cw__cluecol h3 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--rule);
}
.cw__cluelist {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 540px;
  overflow: auto;
}
.cw__clue {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 8px;
  padding: 7px 8px;
  font-size: 13.8px;
  line-height: 1.4;
  color: var(--ink-soft);
  cursor: pointer;
  border-left: 2px solid transparent;
  transition: background .12s ease;
}
.cw__clue:hover { background: rgba(20,19,15,.045); }
.cw__clue.is-active {
  background: rgba(176,66,29,.08);
  border-left-color: var(--accent);
  color: var(--ink);
}
.cw__clue.is-done { opacity: .45; }
.cw__clue b.num {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-dim);
  text-align: right;
  padding-top: 1px;
}
.cw__clue--theme { font-weight: 600; color: var(--ink); }
.cw__clue-pin { color: var(--accent); }
.cw__clue-len {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-dim);
  white-space: nowrap;
}

@media (max-width: 940px) {
  .cw__cluelist { max-height: 300px; }
}

/* ── R312 · unique-solver counter + closing reward ────────────── */
.cw__solvers { color: var(--accent); }

/* the photographic negative beat: black and white squares trade places */
.cw__grid.is-negative .cw-cell {
  background: var(--ink);
  color: #fff;
  transition: background .18s ease, color .18s ease;
}
.cw__grid.is-negative .cw-cell__num { color: rgba(255,255,255,.55); }
.cw__grid.is-negative .cw-cell--block { background: #fff; }

/* solver card: a small printed certificate stamped over the board */
.cw-card-wrap {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: grid;
  place-items: center;
  background: rgba(250, 250, 245, .8);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.cw-card {
  background: #fff;
  border: 1.5px solid var(--ink);
  box-shadow: 0 30px 70px -28px rgba(20,19,15,.5);
  padding: 32px 44px 28px;
  text-align: center;
  max-width: 330px;
  opacity: 0;
  transform: scale(1.16) rotate(-3deg);
}
.cw-card.is-in {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  transition: transform .5s cubic-bezier(.2, .9, .25, 1.18), opacity .28s ease;
}
.cw-card__mark svg {
  width: 42px;
  height: 42px;
  margin: 0 auto 14px;
}
.cw-card__head {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.cw-card__title {
  font-family: var(--serif);
  font-size: 21px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.cw-card__n {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 27px;
  letter-spacing: .02em;
  color: var(--ink);
  margin: 12px 0 2px;
}
.cw-card__time {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 20px;
}
.cw-card__close {
  background: var(--ink);
  border: 1px solid var(--ink);
  color: var(--paper);
  padding: 11px 18px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .18s ease;
}
.cw-card__close:hover { background: #000; }

/* ── R313 · the solvers' roll + card signature ────────────────── */
.cw__roll { margin-top: clamp(28px, 4vw, 44px); }
.cw__roll-head {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--rule);
}
.cw__roll-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cw__roll-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 7px 11px;
  border: 1px solid var(--rule);
  background: #fff;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
}
.cw__roll-chip b {
  font-weight: 600;
  color: var(--accent);
}

.cw-card__sign {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.cw-card__name {
  flex: 1;
  min-width: 150px;
  padding: 10px 12px;
  font: inherit;
  font-size: 13.5px;
  border: 1px solid var(--ink-faint);
  background: #fff;
  color: var(--ink);
  outline: none;
  text-align: center;
}
.cw-card__name:focus { border-color: var(--accent); }
.cw-card__signbtn {
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
  padding: 10px 14px;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
}
.cw-card__signbtn:hover { background: var(--ink); color: var(--paper); }
.cw-card__signbtn:disabled { opacity: .55; cursor: default; }
.cw-card__signnote {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin: 0 0 16px;
}
.cw-card__signed {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--accent);
  margin-bottom: 16px;
}

@media (prefers-reduced-motion: reduce) {
  .cw__grid.is-negative .cw-cell { transition: none; }
  .cw-card { opacity: 1; transform: none; }
  .cw-card.is-in { transition: none; }
}

/* ── R310 · reduced-motion: keep the page calm and complete ───── */
@media (prefers-reduced-motion: reduce) {
  .kg-pl-axis,
  #kg-progress,
  .kg-ripple,
  .kg-localpulse { display: none !important; }
  .kg-trophy__cell { animation: none !important; opacity: 1 !important; transform: none !important; }
  .dl-card.kg-flip-in { animation: none !important; }
  .kg-divcell { transition: none; }
}

/* ════════════════════════════════════════════════════════════════
   THE ENGINE — differentiating feature grid (#engine)
   ════════════════════════════════════════════════════════════════ */
.engine {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(20px, 3vw, 40px);
}
.engine__item {
  padding-top: 20px;
  border-top: 2px solid var(--ink);
}
.engine__title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.005em;
  margin: 0 0 10px;
  color: var(--ink);
}
.engine__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ════════════════════════════════════════════════════════════════
   FAQ — accordion (#faq), answers mirrored in FAQPage JSON-LD
   ════════════════════════════════════════════════════════════════ */
.faq {
  border-top: 1px solid var(--rule);
}
.faq__item {
  border-bottom: 1px solid var(--rule);
}
.faq__q {
  position: relative;
  display: block;
  list-style: none;
  cursor: pointer;
  padding: 22px 44px 22px 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: '+';
  position: absolute;
  top: 50%;
  right: 4px;
  transform: translateY(-50%);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 26px;
  line-height: 1;
  color: var(--accent);
  transition: transform .2s ease;
}
.faq__item[open] .faq__q::after {
  content: '\2212';
  transform: translateY(-50%) rotate(180deg);
}
.faq__q:focus-visible { outline: 1.5px dashed var(--accent); outline-offset: 3px; }
.faq__a {
  padding: 0 44px 24px 0;
}
.faq__a p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-soft);
}
@media (prefers-reduced-motion: reduce) {
  .faq__q::after { transition: none; }
}

/* ════════════════════════════════════════════════════════════════
   BOOK PAGES (/books/ and /books/<slug>/)
   ════════════════════════════════════════════════════════════════ */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: clamp(28px, 4vw, 44px);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.crumbs a { color: var(--ink-dim); transition: color .15s ease; }
.crumbs a:hover { color: var(--accent); }
.crumbs__sep { color: var(--ink-faint); }
.crumbs__here { color: var(--ink); }

.bp {
  display: grid;
  grid-template-columns: minmax(0, 360px) 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
@media (max-width: 760px) {
  .bp { grid-template-columns: 1fr; gap: 28px; }
}
.bp__cover {
  position: relative;
  border: 1px solid var(--rule);
  box-shadow: 0 30px 70px -34px rgba(20,19,15,.5);
  background: #fff;
}
.bp__cover img { width: 100%; height: auto; }
.bp__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 6px 11px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--ink);
}
.bp__badge--soon { background: var(--accent); }

.bp__subtitle {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin: 0 0 10px;
}
.bp__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.03;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  text-wrap: balance;
}
.bp__blurb {
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 26px;
  max-width: 60ch;
}
.bp__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 36px;
}
.bp__cta .book__soon {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.bp__families { border-top: 1px solid var(--rule); padding-top: 24px; }
.bp__families-h {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16px;
  margin: 0 0 10px;
}
.bp__families p { margin: 0 0 16px; color: var(--ink-soft); }
.bp__taglist {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.bp__taglist li {
  padding: 6px 11px;
  border: 1px solid var(--rule);
  background: #fff;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.bp__note {
  margin: 26px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-dim);
  max-width: 62ch;
}
.bp__note a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

.bp__more {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin: 0;
}

/* hub cards: make the JS-free book card title a plain link */
.book__title a { color: inherit; }
.book__title a:hover { color: var(--accent); }

/* "Browse the full catalogue" link under a section head */
.section__headlink {
  margin: 16px 0 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.section__headlink a { color: var(--accent); }
.section__headlink a:hover { text-decoration: underline; text-underline-offset: 3px; }
