/* Hallmark · shape: Catalogue (the three books, then the two packs and the consultation) · genre: playful · theme: Hum (deal 1/3, seed free-major-discovery-quiz-indonesian-6af8·6c9a8536·2026-11-17·r0) in KDLY's locked palette and Montserrat · job: buy · draw: eda674
 * hero: Banner (short head, the books start above the fold) · nav: edge-aligned, the KDLY wordmark with its name line and one action · footer: statement · imagery: the three real book covers · signature: the real covers set large on the paper, each with its price and a straight-to-checkout button
 * axes: light/geometric-sans/chromatic-yellow · posture: full-palette (yellow the actions, blue links and focus) · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P3 H4 E4 S5 R5 V3 · weakest: P, a price page argues little; the packs are set as the better buy beside the single books */
/* Hallmark · waive 59 · the short banner head runs straight into the book covers · a price page where the covers are the reason to come */
/* Hallmark · waive 80 · the consultation is drawn in the same style as the home page illustrations, asked for by Arif (2026-11-18) · KDLY's brand is drawn, not photographed */
/* Hallmark · dismissed 58 · three books each carry a one-line explanation, asked for by Arif; just over 80 words across three columns */
/* Hallmark · dismissed 77 · a three-book price page is a thin prompt by nature: head, the books, the packs, the footer */
/* Hallmark · dismissed F4 · the plain .btn is every book and pack; the one filled primary is the consultation (Unslop audit, Arif 2026-11-19) */

@import url("./tokens.css");
@import url("./base.css");
@import url("./site.css");

.top { padding-block: var(--space-2xl) var(--space-3xl); }
.top .container { display: grid; gap: var(--space-lg); }
.top h1 { font-size: var(--text-display-s); max-width: 18ch; }
.top .lead { max-width: 44ch; color: var(--color-ink-2); }

.books { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2xl); margin: 0; padding: 0; list-style: none; }
.book { display: grid; grid-row: span 5; grid-template-rows: subgrid; gap: var(--space-md); align-content: start; }
.book .price { align-self: end; }
.book img { width: 100%; max-width: 240px; aspect-ratio: 720 / 990; object-fit: contain; filter: var(--shadow-paper); margin-bottom: var(--space-md); }
.book .desc { color: var(--color-ink-2); max-width: 34ch; }
.book h3 { font-size: var(--text-title); max-width: 22ch; }
.price { font-weight: 800; font-size: var(--text-lg); font-variant-numeric: tabular-nums; color: var(--color-ink); }
.book .btn { justify-self: start; margin-top: var(--space-xs); }

.packs { padding-block: var(--section-gap-l) 0; }
.packs h2 { margin-bottom: var(--space-2xl); }
.pack { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) auto; gap: var(--space-2xl); align-items: center; padding-block: var(--space-xl); border-top: var(--rule-hair) solid var(--color-rule); }
.pack:last-child { border-bottom: var(--rule-hair) solid var(--color-rule); }
.pack h3 { font-size: var(--text-title); }
.pack p { margin-top: var(--space-xs); color: var(--color-muted); }
.pack .price { font-size: var(--text-xl); font-variant-numeric: tabular-nums; }
.pending { font-size: var(--text-sm); color: var(--color-muted); }

.footer { margin-top: var(--section-gap-l); border-top: var(--rule-hair) solid var(--color-rule); padding-block: var(--section-gap) var(--space-2xl); }

@media (max-width: 60rem) {
  .books { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pack { grid-template-columns: minmax(0, 1fr); gap: var(--space-sm); }
}

/* consultation: its picture beside the offer */
.consult { padding-block: var(--section-gap-l) 0; }
.consult .container { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-2xl); align-items: center; }
.consult__pic { width: 100%; height: auto; }
.consult__body { display: grid; gap: var(--space-md); justify-items: start; }
.consult .desc { color: var(--color-ink-2); max-width: 36ch; font-size: var(--text-lead); }

@media (max-width: 40rem) {
  .top { padding-block: var(--space-xl) var(--space-xl); }
  .top .container { gap: var(--space-sm); }
  .top h1 { font-size: var(--text-3xl); }
  .top .lead { font-size: var(--text-md); }
  /* books as store rows: a small cover beside its words */
  .books { grid-template-columns: minmax(0, 1fr); gap: var(--space-sm); }
  .book { grid-row: auto; grid-template-rows: none; grid-template-columns: 96px minmax(0, 1fr); column-gap: var(--space-md); row-gap: var(--space-2xs); padding: var(--space-md); border-radius: var(--radius-card); background: var(--grain), var(--color-paper-2); }
  .book img { grid-row: span 4; max-width: none; margin: 0; }
  .book h3 { font-size: var(--text-md); line-height: 1.3; }
  .book .desc { font-size: var(--text-sm); line-height: 1.45; }
  .book .price { font-size: var(--text-md); }
  .book .btn { grid-column: 1 / -1; justify-self: stretch; margin-top: var(--space-sm); }
  .packs, .consult { padding-top: var(--section-gap); }
  .packs h2, .consult h2 { font-size: var(--text-2xl); }
  .packs h2 { margin-bottom: var(--space-lg); }
  .pack { gap: var(--space-xs); padding: var(--space-lg) var(--space-md); margin-bottom: var(--space-sm); border: 0; border-radius: var(--radius-card); background: var(--grain), var(--color-paper-2); }
  .pack:last-child { border: 0; }
  .pack h3 { font-size: var(--text-lg); }
  .pack p { font-size: var(--text-sm); }
  .pack .price { font-size: var(--text-lg); }
  .pack .btn { justify-self: stretch; margin-top: var(--space-xs); }
  .consult .container { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
  .consult .desc { font-size: var(--text-md); }
  .consult .btn { justify-self: stretch; }
  .footer { margin-top: var(--section-gap); }
}
