/* Pre-Align: the book's own look (yellow, ink, paper, Barlow Condensed) inside the site's dark system.
   Used by the Pre-Align band on the home page and by the Pre-Align page. No shadows anywhere. */

:root {
  --pa-yellow: #efc116;
  --pa-yellow-deep: #e2b20c;
  --pa-ink: #111111;
  --pa-ink-2: #2b2a26;
  --pa-paper: #f6f0e7;
  --pa-line: rgba(17, 17, 17, 0.16);
  --pa-font: "Barlow Condensed", "Arial Narrow", sans-serif;
  --pa-serif: "Instrument Serif", Georgia, serif;
}

/* ---------- shared atoms ---------- */
.pa-word { font-family: var(--pa-font); font-weight: 900; text-transform: uppercase; letter-spacing: -0.005em; line-height: 0.86; }
.pa-label { font-family: var(--pa-font); font-weight: 700; font-size: 0.8125rem; letter-spacing: 0.22em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 0.75rem; }
.pa-label::before { content: ""; width: 36px; height: 4px; background: currentColor; }
.pa-rule { width: 56px; height: 4px; background: var(--pa-ink); border: 0; margin: 0; }

.pa-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; height: 52px; padding: 0 1.5rem; border-radius: 6px;
  font-family: var(--font-sans); font-weight: 600; font-size: 0.9375rem; text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: background var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out); }
.pa-btn:active { transform: translateY(1px) scale(0.985); }
.pa-btn:focus-visible { outline: 2px solid var(--pa-ink); outline-offset: 3px; }
.pa-btn .icon { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform var(--t-base) var(--ease-out); }
.pa-btn:hover .icon { transform: translateX(3px); }
.pa-btn--ink { background: var(--pa-ink); color: var(--pa-yellow); }
.pa-btn--ink:hover { background: #000; color: #fff; }
.pa-btn--line { border-color: var(--pa-ink); color: var(--pa-ink); background: transparent; }
.pa-btn--line:hover { background: rgba(17, 17, 17, 0.08); }
.pa-btn--yellow { background: var(--pa-yellow); color: var(--pa-ink); }
.pa-btn--yellow:hover { background: #ffd23a; }
.pa-btn--ghost { border-color: var(--line-strong); color: var(--text); }
.pa-btn--ghost:hover { border-color: var(--text-3); background: rgba(236, 232, 224, 0.06); }
.pa-btn__price { padding-left: 0.75rem; margin-left: 0.15rem; border-left: 1px solid currentColor; opacity: 0.85; }

.pa-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; font-family: var(--pa-font); font-weight: 700; font-size: 0.9375rem; letter-spacing: 0.12em; text-transform: uppercase; }
.pa-meta span { display: inline-flex; align-items: center; gap: 1.25rem; }
.pa-meta span + span::before { content: ""; width: 5px; height: 5px; background: currentColor; }

/* the fan of five covers, as on the Whop banner, with paper edges instead of shadows */
.pa-fan { position: relative; aspect-ratio: 1.25 / 1; width: 100%; }
.pa-fan img { position: absolute; top: 4%; left: 6%; width: 52%; aspect-ratio: 3 / 4; object-fit: cover; border: 3px solid var(--pa-paper); border-radius: 2px;
  transform-origin: 50% 100%; }
.pa-fan img:nth-child(1) { z-index: 5; transform: translateX(0) rotate(0deg); }
.pa-fan img:nth-child(2) { z-index: 4; transform: translateX(14%) rotate(3deg); }
.pa-fan img:nth-child(3) { z-index: 3; transform: translateX(28%) rotate(6deg); }
.pa-fan img:nth-child(4) { z-index: 2; transform: translateX(42%) rotate(9deg); }
.pa-fan img:nth-child(5) { z-index: 1; transform: translateX(56%) rotate(12deg); }

/* ---------- home: the Pre-Align band right under the hero ---------- */
.pa-band { background: var(--pa-yellow); color: var(--pa-ink); overflow: hidden; }
.pa-band__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 6rem); align-items: center; padding-block: clamp(4rem, 3rem + 5vw, 8rem); }
.pa-band__copy { display: grid; gap: 1.5rem; justify-items: start; }
.pa-band__title { font-size: clamp(4.5rem, 2rem + 9vw, 10.5rem); margin: 0; }
.pa-band__line { font-family: var(--pa-serif); font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.6rem); line-height: 1.12; max-width: 17ch; margin: 0; text-wrap: balance; }
.pa-band__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.5rem; }
.pa-band__small { font-size: var(--fs-small); color: var(--pa-ink-2); margin: 0; }
.pa-band__small a { color: inherit; text-underline-offset: 3px; }
.pa-band__small a:hover { color: #000; }
.pa-new { display: inline-flex; align-items: center; gap: 0.5rem; height: 28px; padding: 0 0.75rem; border-radius: 999px; background: var(--pa-ink); color: var(--pa-yellow);
  font-family: var(--pa-font); font-weight: 700; font-size: 0.8125rem; letter-spacing: 0.16em; text-transform: uppercase; }


/* ---------- Pre-Align page ---------- */
.pa-page { background: var(--bg); }
.pa-hero { background: var(--pa-yellow); color: var(--pa-ink); padding-top: calc(72px + clamp(2.5rem, 2rem + 4vw, 6rem)); padding-bottom: clamp(3rem, 2rem + 5vw, 7rem); overflow: hidden; }
.pa-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 6rem); align-items: center; }
.pa-hero__copy { display: grid; gap: 1.6rem; justify-items: start; }
.pa-hero__title { font-size: clamp(5rem, 2rem + 11vw, 12.5rem); margin: 0; }
.pa-hero__line { font-family: var(--pa-serif); font-size: clamp(1.75rem, 1.1rem + 2.2vw, 3rem); line-height: 1.08; max-width: 16ch; margin: 0; text-wrap: balance; }
.pa-hero__sig { display: flex; align-items: center; gap: 1rem; font-family: var(--pa-font); font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; font-size: 0.9375rem; }
.pa-hero__sig img { height: 30px; width: auto; filter: invert(1); }

.pa-section { padding-block: clamp(5rem, 3.5rem + 6vw, 8.5rem); border-top: 1px solid var(--line); }
.pa-section--paper { background: var(--pa-paper); color: var(--pa-ink); border-top: 0; }
.pa-section--yellow { background: var(--pa-yellow); color: var(--pa-ink); border-top: 0; }
.pa-head { display: grid; gap: 1.25rem; max-width: 980px; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.pa-h2 { font-family: var(--pa-font); font-weight: 900; text-transform: uppercase; font-size: clamp(2.6rem, 1.6rem + 3.6vw, 5.25rem); line-height: 0.92; letter-spacing: -0.003em; margin: 0; text-wrap: balance; }
.pa-h2 mark { background: var(--pa-yellow); color: var(--pa-ink); padding: 0 0.12em; }
.pa-section--yellow .pa-h2 mark, .pa-section--paper .pa-h2 mark { background: var(--pa-ink); color: var(--pa-yellow); }
.pa-lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--text-2); max-width: 58ch; margin: 0; text-wrap: pretty; }
.pa-section--paper .pa-lead, .pa-section--yellow .pa-lead { color: var(--pa-ink-2); }

/* the moment: three columns */
.pa-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.pa-three > div { background: var(--bg); padding: clamp(1.5rem, 1rem + 1.5vw, 2.5rem); display: grid; gap: 0.9rem; align-content: start; }
.pa-three__n { font-family: var(--pa-font); font-weight: 900; font-size: 3rem; line-height: 1; color: var(--pa-yellow); }
.pa-three h3 { font-family: var(--pa-font); font-weight: 800; text-transform: uppercase; font-size: 1.6rem; line-height: 1; margin: 0; letter-spacing: 0.01em; }
.pa-three p { margin: 0; color: var(--text-2); line-height: 1.6; }

/* what you get */
.pa-get { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 1rem; }
.pa-card { background: #fff; border: 1.5px solid var(--pa-ink); border-radius: 10px; padding: 1.75rem; display: grid; gap: 1rem; align-content: start;
  transition: transform var(--t-base) var(--ease-out), background var(--t-base) var(--ease-out); }
.pa-card:hover { transform: translateY(-3px); }
.pa-card__big { font-family: var(--pa-font); font-weight: 900; font-size: clamp(3.5rem, 2.5rem + 3vw, 5.5rem); line-height: 0.85; }
.pa-card h3 { font-family: var(--pa-font); font-weight: 800; text-transform: uppercase; font-size: 1.5rem; line-height: 1; margin: 0; }
.pa-card p { margin: 0; color: var(--pa-ink-2); line-height: 1.55; }
.pa-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.4rem; color: var(--pa-ink-2); font-size: 0.9375rem; }
.pa-card li { display: flex; gap: 0.6rem; align-items: baseline; }
.pa-card li::before { content: ""; flex: none; width: 8px; height: 8px; background: var(--pa-yellow); border: 1.5px solid var(--pa-ink); transform: translateY(-1px); }
.pa-card--yellow { background: var(--pa-yellow); }
.pa-card--yellow li::before { background: var(--pa-ink); }

/* the five modules: one row each, opens to the chapters */
.pa-mods { display: grid; gap: 0.75rem; }
.pa-mod { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-raised); overflow: hidden; transition: border-color var(--t-base) var(--ease-out), background var(--t-base) var(--ease-out); }
.pa-mod:hover { border-color: var(--line-strong); }
.pa-mod[open] { border-color: rgba(239, 193, 22, 0.55); background: var(--surface); }
.pa-mod summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: clamp(1rem, 2vw, 2.5rem); align-items: center; padding: 1rem clamp(1rem, 2vw, 1.75rem) 1rem 1rem; }
.pa-mod summary::-webkit-details-marker { display: none; }
.pa-mod summary:focus-visible { outline: 2px solid var(--pa-yellow); outline-offset: -2px; border-radius: var(--r-lg); }
.pa-mod__art { width: 120px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 4px; display: block; }
.pa-mod__k { font-family: var(--pa-font); font-weight: 700; font-size: 0.8125rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--pa-yellow); }
.pa-mod__name { font-family: var(--pa-font); font-weight: 900; text-transform: uppercase; font-size: clamp(2rem, 1.4rem + 2vw, 3.4rem); line-height: 0.95; margin: 0.35rem 0 0.5rem; }
.pa-mod__line { color: var(--text-2); margin: 0; max-width: 60ch; line-height: 1.5; }
.pa-mod__side { display: grid; justify-items: end; gap: 0.75rem; }
.pa-mod__pages { font-family: var(--pa-font); font-weight: 800; font-size: 1.25rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text); white-space: nowrap; }
.pa-mod__toggle { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: transform var(--t-base) var(--ease-out), background var(--t-base) var(--ease-out), border-color var(--t-base); }
.pa-mod__toggle svg { width: 14px; height: 14px; stroke: var(--text); fill: none; stroke-width: 1.8; }
.pa-mod[open] .pa-mod__toggle { transform: rotate(45deg); background: var(--pa-yellow); border-color: var(--pa-yellow); }
.pa-mod[open] .pa-mod__toggle svg { stroke: var(--pa-ink); }
.pa-mod__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 3rem); padding: 0.5rem clamp(1rem, 2vw, 1.75rem) 1.75rem calc(120px + clamp(1rem, 2vw, 2.5rem) + 1rem); }
.pa-mod__body h4 { font-family: var(--pa-font); font-weight: 700; font-size: 0.8125rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-3); margin: 0 0 0.75rem; }
.pa-mod__body ol, .pa-mod__body ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.55rem; }
.pa-mod__body li { display: flex; gap: 0.75rem; color: var(--text-2); line-height: 1.5; }
.pa-mod__body ol li span { flex: none; font-family: var(--pa-font); font-weight: 800; color: var(--pa-yellow); min-width: 1.6rem; }
.pa-mod__body ul li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 0.55em; background: var(--pa-yellow); }

/* look inside: a strip of real pages */
.pa-strip-wrap { position: relative; }
.pa-strip { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 22vw, 320px); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0.25rem var(--gutter) 1.25rem; scrollbar-width: thin; scrollbar-color: var(--pa-ink) transparent; }
.pa-strip figure { margin: 0; scroll-snap-align: start; display: grid; gap: 0.75rem; }
.pa-strip img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 3px; border: 1px solid var(--pa-line); background: #fff; display: block; transition: transform var(--t-base) var(--ease-out); }
.pa-strip figure:hover img { transform: translateY(-4px); }
.pa-strip figcaption { font-family: var(--pa-font); font-weight: 700; font-size: 0.875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pa-ink-2); }
.pa-strip-nav { display: flex; gap: 0.5rem; }
.pa-round { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--pa-ink); background: transparent; color: var(--pa-ink); display: grid; place-items: center; cursor: pointer; transition: background var(--t-fast); }
.pa-round:hover { background: var(--pa-ink); color: var(--pa-paper); }
.pa-round svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.pa-head--row { display: flex; justify-content: space-between; align-items: end; gap: 2rem; max-width: none; }

/* one brand, start to finish */
.pa-case { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 6rem); align-items: center; }
.pa-case__pic { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--pa-paper); }
.pa-case__pic img { display: block; width: 100%; }
.pa-steps { margin: 2rem 0 0; padding: 0; list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.pa-steps li { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); color: var(--text-2); line-height: 1.5; }
.pa-steps b { font-family: var(--pa-font); font-weight: 900; font-size: 1.5rem; color: var(--pa-yellow); line-height: 1; }

/* who it is for */
.pa-fit { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.pa-fit > div { border-radius: 10px; padding: 1.75rem; display: grid; gap: 1rem; align-content: start; }
.pa-fit__yes { background: var(--pa-ink); color: var(--pa-paper); }
.pa-fit__no { border: 1.5px solid var(--pa-ink); }
.pa-fit h3 { font-family: var(--pa-font); font-weight: 900; text-transform: uppercase; font-size: 1.9rem; line-height: 1; margin: 0; }
.pa-fit__yes h3 { color: var(--pa-yellow); }
.pa-fit ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.7rem; line-height: 1.5; }
.pa-fit li { display: flex; gap: 0.75rem; }
.pa-fit svg { flex: none; width: 18px; height: 18px; margin-top: 0.2em; stroke: currentColor; fill: none; stroke-width: 2; }
.pa-fit__yes svg { stroke: var(--pa-yellow); }

/* author */
.pa-author { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 6rem); align-items: center; }
.pa-author__pic { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface); }
.pa-author__pic img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(1) contrast(1.05); }
.pa-author ul { margin: 1.5rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.9rem; }
.pa-author li { color: var(--text-2); line-height: 1.6; padding-left: 1.25rem; position: relative; }
.pa-author li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 7px; height: 7px; background: var(--pa-yellow); }
.pa-author__sig { margin-top: 2rem; height: 46px; width: auto; }

/* questions */
.pa-faq { display: grid; gap: 0; border-top: 1px solid var(--line); max-width: 980px; }
.pa-faq details { border-bottom: 1px solid var(--line); }
.pa-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.4rem 0; font-size: 1.125rem; font-weight: 500; transition: color var(--t-fast); }
.pa-faq summary::-webkit-details-marker { display: none; }
.pa-faq summary:hover { color: #fff; }
.pa-faq summary:focus-visible { outline: 2px solid var(--pa-yellow); outline-offset: 4px; }
.pa-faq summary svg { flex: none; width: 16px; height: 16px; stroke: var(--text-2); fill: none; stroke-width: 1.8; transition: transform var(--t-base) var(--ease-out); }
.pa-faq details[open] summary svg { transform: rotate(45deg); stroke: var(--pa-yellow); }
.pa-faq p { margin: 0 0 1.4rem; color: var(--text-2); line-height: 1.65; max-width: 70ch; }

/* closing band */
.pa-end { text-align: center; display: grid; justify-items: center; gap: 1.5rem; }
.pa-end .pa-hero__title { font-size: clamp(4rem, 2rem + 8vw, 9rem); }
.pa-price { font-family: var(--pa-font); font-weight: 900; font-size: clamp(3rem, 2rem + 3vw, 4.5rem); line-height: 1; }
.pa-price small { font-family: var(--font-sans); font-weight: 500; font-size: 1rem; letter-spacing: 0; display: block; margin-top: 0.5rem; color: var(--pa-ink-2); }

/* the slim bar that follows once the hero is gone */
.pa-buybar { position: fixed; left: 50%; bottom: 16px; z-index: 60; transform: translate(-50%, 140%); transition: transform var(--t-slow) var(--ease-out);
  display: flex; align-items: center; gap: 1rem; padding: 8px 8px 8px 18px; border-radius: 10px; background: var(--pa-yellow); color: var(--pa-ink); border: 1.5px solid var(--pa-ink); width: max-content; max-width: calc(100% - 32px); }
.pa-buybar.is-on { transform: translate(-50%, 0); }
.pa-buybar b { font-family: var(--pa-font); font-weight: 900; font-size: 1.35rem; text-transform: uppercase; letter-spacing: 0.01em; }
.pa-buybar span { font-size: var(--fs-small); color: var(--pa-ink-2); }
.pa-buybar .pa-btn { height: 42px; }

@media (prefers-reduced-motion: reduce) {
  .pa-fan img, .pa-card, .pa-strip img, .pa-buybar { transition: none; }
}

/* ---------- tablet and phone ---------- */
@media (max-width: 960px) {
  .pa-band__inner, .pa-hero__grid, .pa-case, .pa-author { grid-template-columns: 1fr; }
  .pa-fan { max-width: 560px; }
  .pa-get { grid-template-columns: 1fr; }
  .pa-three { grid-template-columns: 1fr; }
  .pa-mod__body { grid-template-columns: 1fr; padding-left: clamp(1rem, 2vw, 1.75rem); }
  .pa-author__pic { max-width: 420px; }
}
@media (max-width: 640px) {
  .pa-mod summary { grid-template-columns: 72px minmax(0, 1fr); padding: 0.75rem; }
  .pa-mod__art { width: 72px; }
  .pa-mod__side { grid-column: 1 / -1; grid-auto-flow: column; justify-content: space-between; align-items: center; }
  .pa-mod__name { font-size: 1.8rem; }
  .pa-fit { grid-template-columns: 1fr; }
  .pa-head--row { flex-direction: column; align-items: start; }
  .pa-btn { width: 100%; }
  .pa-band__actions { width: 100%; }
  .pa-buybar span { display: none; }
  .pa-buybar .pa-btn { width: auto; }
}

/* helpers used by the page */
.pa-label--y { color: var(--pa-yellow); }
[data-gap] { margin-top: 1.25rem; }
.pa-head__text { display: grid; gap: 1.25rem; }
.pa-hero__line--wide { max-width: 20ch; }
.pa-band__actions--center { justify-content: center; }
.nav--solid .nav__bar, .nav--solid.is-scrolled .nav__bar { background: var(--bg); border-color: var(--line); }
/* the width and height attributes must not fix the drawn height */
.pa-fan img, .pa-mod__art, .pa-strip img, .pa-case__pic img { height: auto; }
.pa-hero__title, .pa-band__title { white-space: nowrap; }
.pa-hero__title { font-size: clamp(4rem, 1.2rem + 8.2vw, 10.5rem); }
.pa-band__title { font-size: clamp(4rem, 1.2rem + 7.6vw, 9.5rem); }
.pa-mod__art { object-position: 50% 100%; aspect-ratio: 1 / 1; }

/* still rows of pages and covers, as in the free sample images (no sliding, no motion) */
.pa-serif-h { font-family: var(--pa-serif); font-weight: 400; font-size: clamp(2.4rem, 1.6rem + 2.8vw, 4.25rem); line-height: 1.04; margin: 0; letter-spacing: -0.005em; text-wrap: balance; }
.pa-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(0.75rem, 1.6vw, 1.75rem); }
.pa-row figure { margin: 0; display: grid; gap: 0.85rem; align-content: start; }
.pa-row img { width: 100%; height: auto; aspect-ratio: 824 / 1084; object-fit: cover; display: block; border: 1px solid var(--pa-line); background: #fff; }
.pa-row figcaption { font-family: var(--pa-serif); font-size: 1.125rem; line-height: 1.2; color: var(--pa-ink); }
.pa-row figcaption b { display: block; font-family: var(--pa-font); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.2em; color: var(--pa-ink-2); margin-bottom: 0.25rem; }
.pa-row--covers img { border: 0; }

/* the signature, twice the old size, with the name under it, as in an email signature */
.pa-sign { display: grid; justify-items: start; gap: 0.35rem; margin-top: 0.5rem; }
.pa-sign img { height: 60px; width: auto; filter: invert(1); }
.pa-sign span { font-family: var(--pa-font); font-weight: 700; font-size: 0.9375rem; letter-spacing: 0.22em; text-transform: uppercase; padding-left: 4px; }

@media (max-width: 960px) { .pa-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .pa-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* headings with a highlight: room between lines so the marks never overlap */
.pa-h2 { line-height: 1.06; }
.pa-h2 mark { padding: 0 0.1em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.pa-sign--light img { filter: none; }
.pa-sign--light span { color: var(--text); }
.pa-author__sign { margin-top: 2rem; }
@media (max-width: 640px) { .pa-fan { width: 74%; } }
@media (max-width: 640px) { .pa-meta { gap: 0.4rem 1rem; } .pa-meta span + span::before { display: none; } }

/* the name under the signature: Montserrat, as under the signature on the home page */
.pa-sign span { font-family: var(--font-sans); font-weight: 500; font-size: clamp(0.8125rem, 0.78rem + 0.2vw, 0.9375rem); line-height: 1.2; letter-spacing: 0.34em; padding-left: 6px; }

/* one column (tablet and phone): the covers sit centred straight under the dash, before the counts, buttons and name */
@media (max-width: 960px) {
  .pa-band__inner, .pa-hero__grid { display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .pa-band__copy, .pa-hero__copy { display: contents; }
  .pa-band__copy > *, .pa-hero__copy > * { order: 0; }
  .pa-band__inner > .pa-fan, .pa-hero__grid > .pa-fan { order: 1; align-self: center; margin: 0.5rem 0 1rem; }
  .pa-band__copy > .pa-rule ~ *, .pa-hero__copy > .pa-rule ~ * { order: 2; }
}

/* copy v2: the hero paragraph, the problem text, the sample line, the author text */
.pa-hero__text { margin: 0; max-width: 54ch; font-size: var(--fs-lead); line-height: 1.6; color: var(--pa-ink-2); text-wrap: pretty; }
.pa-prose { display: grid; gap: 1.25rem; max-width: 64ch; }
.pa-prose p { margin: 0; font-size: var(--fs-lead); line-height: 1.65; color: var(--text-2); text-wrap: pretty; }
.pa-sample { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: clamp(2rem, 1.5rem + 2vw, 3.5rem); padding-top: 1.75rem; border-top: 1.5px solid var(--pa-ink); }
.pa-sample p { margin: 0; font-family: var(--pa-serif); font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); line-height: 1.2; color: var(--pa-ink); }
.pa-author__text > p:not(.pa-lead) { color: var(--text-2); line-height: 1.7; margin: 1.1rem 0 0; max-width: 62ch; text-wrap: pretty; }
.pa-faq p a { color: var(--text); text-underline-offset: 3px; text-decoration-color: var(--pa-yellow); }
.pa-faq p a:hover { color: var(--pa-yellow); }
.pa-mod__side { align-self: center; }
.pa-nw { white-space: nowrap; }
@media (max-width: 640px) {
  .pa-mod summary { grid-template-rows: auto 1fr; align-items: start; }
  .pa-mod summary > div:not(.pa-mod__side) { grid-column: 2; grid-row: 1 / 3; }
  .pa-mod__side { grid-column: 1; grid-row: 2; justify-self: center; align-self: start; }
}

/* copy v3: cards titled by what they help with, the tools card holds the list */
.pa-get--help { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); grid-template-rows: auto 1fr; }
.pa-get--help .pa-card--book { grid-column: 1; grid-row: 1; }
.pa-get--help .pa-card--price { grid-column: 1; grid-row: 2; }
.pa-get--help .pa-card--tools { grid-column: 2; grid-row: 1 / 3; }
.pa-get--help h3 { font-size: clamp(1.5rem, 1.2rem + 0.9vw, 2rem); line-height: 1.02; max-width: 20ch; text-wrap: balance; }
.pa-get--help .pa-card--tools ul { gap: 0.7rem; font-size: 1rem; line-height: 1.5; }
.pa-get--help .pa-card--tools li::before { transform: translateY(1px); }
.pa-end__small { margin: 0; max-width: 46ch; color: var(--pa-ink-2); font-size: 0.9375rem; line-height: 1.5; text-wrap: balance; }
@media (max-width: 960px) {
  .pa-get--help { grid-template-columns: 1fr; grid-template-rows: none; }
  .pa-get--help .pa-card--book, .pa-get--help .pa-card--tools, .pa-get--help .pa-card--price { grid-column: 1; grid-row: auto; }
}

/* the questions and the bio sit in the middle of the page */
.pa-head--center { text-align: center; justify-items: center; margin-inline: auto; }
.pa-faq { max-width: 760px; margin-inline: auto; }
.pa-author { max-width: none; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
.pa-author__text > p, .pa-author__text > p:not(.pa-lead) { max-width: none; }
@media (max-width: 960px) {
  .pa-author { grid-template-columns: 1fr; max-width: 560px; }
  .pa-author__pic { margin-inline: auto; width: 100%; }
}

/* phones: the small line and the signature sit in the middle under the buttons */
@media (max-width: 960px) {
  .pa-band__copy > .pa-band__small, .pa-hero__copy > .pa-band__small { align-self: center; text-align: center; }
  .pa-band__copy > .pa-sign, .pa-hero__copy > .pa-sign { align-self: center; justify-items: center; }
}

/* trimmed module list (2026-11-17) */
.pa-mod__body--one { grid-template-columns: minmax(0, 1fr); }
.pa-mod__body--one ul { max-width: 62ch; }
.pa-card__more { margin: 1rem 0 0; color: var(--text-3); font-size: 0.95rem; line-height: 1.5; }
.pa-mod__line { text-wrap: balance; }
.pa-mod__body li, .pa-card__more { text-wrap: pretty; }
