/* Photo-led opening and the six-step system. */
.book-home { --hero-ink: #14161f; }
.book-home .site-header { width: 100%; padding-inline: max(var(--gutter),calc((100% - var(--content)) / 2)); background: var(--hero-ink); color: var(--paper); border-color: var(--light-border); }
.book-home .mobile-menu nav { background: var(--hero-ink); color: var(--paper); }
.book-home .mobile-menu[open] summary { background: var(--navy); }
.book-home .mobile-menu nav a { border-color: var(--light-border); }
.photo-hero { position: relative; isolation: isolate; background: var(--hero-ink); color: var(--paper); }
.hero-portrait { display: block; position: absolute; inset: 0 0 0 auto; width: 60%; z-index: -1; }
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: right center; display: block; }
.hero-portrait::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,var(--hero-ink) 0%,rgb(20 22 31 / 85%) 20%,rgb(20 22 31 / 0%) 57%); }
.photo-hero-inner { width: min(calc(100% - 2 * var(--gutter)),var(--content)); min-height: 620px; margin-inline: auto; display: flex; align-items: center; }
.hero-copy { width: 51%; padding-block: 52px 64px; }
.hero-kicker { color: var(--belt); }
.hero-copy h1 { max-width: 12ch; margin-block: 18px 24px; }
.hero-deck { font-size: var(--lead); line-height: 1.5; color: var(--belt); max-width: 43ch; }
.hero-question { color: var(--paper); font-weight: var(--medium); margin-top: 20px; max-width: 42ch; }
.phone-deck { display: none; }
.hero-book { position: absolute; right: max(var(--gutter),calc((100% - var(--content)) / 2)); bottom: 0; width: 180px; }
.hero-book img { display: block; width: 100%; height: auto; border-radius: var(--radius-cover) var(--radius-cover) 0 0; box-shadow: var(--shadow-cover); }
.hero-book p { display: none; }
.hero-purchase { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 26px; scroll-margin-top: 24px; }
.hero-purchase .button, .system-result .button { background: var(--paper); color: var(--navy); border-color: var(--paper); }
.hero-purchase .outline { background: transparent; color: var(--paper); border-color: var(--light-border); }
.hero-purchase .button:hover, .system-result .button:hover { background: var(--belt); color: var(--navy); }
.hero-purchase .outline:hover { background: var(--navy); color: var(--paper); }
.hero-purchase .extract-link { display: inline-flex; align-items: center; min-height: 44px; }
.hero-purchase .button:focus-visible, .system-result .button:focus-visible { outline-color: var(--paper); }
#system { scroll-margin-top: 24px; }
.system-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 24px; }
.system-heading h2 { max-width: 12ch; margin-top: 10px; }
.system-heading > p { color: var(--muted); max-width: 48ch; }
.system-journey { position: relative; margin-top: 32px; padding-bottom: 16px; }
.system-cards { position: relative; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: repeat(3,auto); grid-auto-flow: column; gap: 18px 32px; }
.system-cards > li { position: relative; z-index: 1; display: flex; min-width: 0; }
.system-card-link { display: flex; flex-direction: column; gap: 12px; width: 100%; padding: 26px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card); text-decoration: none; }
.system-card-link:hover { border-color: var(--sand-text); }
.system-card-link:hover h3 { text-decoration: underline; text-underline-offset: .2em; }
.system-card-meta { display: flex; align-items: center; gap: 12px; }
.system-number { width: 32px; height: 32px; flex: 0 0 32px; display: grid; place-items: center; background: var(--navy); color: var(--paper); border-radius: 50%; font-size: var(--small); font-weight: var(--strong); }
.system-chapter { font-size: var(--small); color: var(--sand-text); }
.system-question { line-height: 1.5; font-weight: var(--medium); }
.phone-question { display: none; }
.system-outcome { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); color: var(--muted); font-size: 15px; }
.system-outcome strong { color: var(--navy); font-weight: var(--medium); }
.system-result { display: flex; justify-content: space-between; align-items: center; gap: 24px; background: var(--navy); color: var(--paper); padding: 28px; border-radius: var(--radius-card); }
.result-title { font-size: var(--card-title); font-weight: var(--strong); line-height: 1.3; }
.result-title strong { color: color-mix(in srgb,var(--red) 60%,var(--paper)); }
.result-deck { color: var(--belt); font-size: 15px; margin-top: 8px; }
.system-result .button { flex-shrink: 0; }
/* Match Trent's selected crop with the original photo; source pixels stay untouched. */
.book-home .meet-trent .author-photo { position: relative; width: min(100%,350px); max-width: 350px; aspect-ratio: 350 / 382; overflow: hidden; border-radius: var(--radius-photo); justify-self: center; margin-inline: auto; }
.book-home .meet-trent .author-photo img { position: absolute; width: 221.4022%; max-width: none; height: auto; aspect-ratio: auto; left: -47.6015%; top: -20.4546%; border-radius: 0; }
@media (min-width: 820px) and (max-width: 1100px) {
 .hero-copy { width: 55%; }
 .hero-copy h1 { font-size: clamp(44px,5.2vw,60px); }
 .hero-book { width: 150px; }
}
@media (max-width: 980px) {
 .system-cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .system-result { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 819px) {
 .hero-portrait { position: relative; inset: auto; width: 100%; height: clamp(230px,32svh,300px); }
 .hero-portrait img { object-position: 85% top; }
 .hero-portrait::after { background: linear-gradient(180deg,rgb(20 22 31 / 0%) 52%,var(--hero-ink) 100%); }
 .photo-hero-inner { min-height: 0; display: block; }
 .hero-copy { position: relative; width: 100%; margin-top: -34px; padding: 0 0 30px; }
 .hero-copy h1 { margin-block: 12px 14px; max-width: 14ch; font-size: clamp(38px,7vw,52px); }
 .hero-deck { font-size: var(--body); line-height: 1.45; max-width: 44ch; }
 .desktop-deck, .hero-question { display: none; }
 .phone-deck { display: block; }
 .hero-book { position: static; width: auto; display: flex; gap: 24px; align-items: center; margin: 16px 0 0; }
 .hero-book img { width: 96px; flex: 0 0 96px; transform: rotate(-3deg); border-radius: var(--radius-cover); }
 .hero-book p { display: block; max-width: 23ch; color: var(--belt); font-size: var(--small); }
 .hero-purchase { margin-top: 18px; gap: 10px; }
 .hero-purchase .button { padding-inline: 20px; }
 .hero-purchase .extract-link { flex-basis: 100%; }
 .system-heading { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 520px) {
 .system-journey { margin-top: 24px; }
 .system-cards { gap: 14px 18px; }
 .system-card-link { padding: 16px 12px; border-radius: 18px; gap: 10px; }
 .system-card-link h3 { font-size: 18px; line-height: 1.25; }
 .system-number { width: 28px; height: 28px; flex-basis: 28px; }
 .system-chapter, .desktop-question, .system-outcome { display: none; }
 .phone-question { display: block; font-size: 14px; line-height: 1.45; font-weight: var(--regular); color: var(--muted); }
 .system-result { padding: 24px; gap: 20px; }
 .hero-purchase .button { padding-inline: 18px; }
}
@media (max-width: 350px) {
 .hero-purchase .button { padding-inline: 14px; }
 .hero-copy h1 { font-size: 38px; }
}

/* Scoped homepage launch fixes, 1 December 2026. */
.hero-availability { color: var(--belt); font-size: var(--small); margin-top: 24px; }
.hero-availability + .hero-purchase { margin-top: 12px; }
.hero-purchase .extract-link { flex-basis: 100%; }
.hero-region { flex-basis: 100%; color: var(--belt); font-size: var(--small); }
.hero-region a { color: inherit; text-underline-offset: .2em; }
.proof-band { background: var(--linen-soft); border-bottom: 1px solid var(--line); }
.proof-inner { width: min(calc(100% - 2 * var(--gutter)),var(--content)); margin-inline: auto; padding-block: 44px 48px; text-align: center; }
.proof-inner figure, .proof-inner blockquote { margin: 0; }
.proof-inner blockquote { max-width: 44ch; margin-inline: auto; font-size: clamp(22px,2.4vw,30px); line-height: 1.4; font-weight: var(--medium); }
.proof-inner figcaption { margin-top: 14px; color: var(--muted); font-size: var(--small); }
.proof-credentials { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); font-size: var(--small); line-height: 1.8; }
@media (max-width: 819px) {
 .hero-availability { display: none; }
 .hero-availability + .hero-purchase { margin-top: 18px; }
 .proof-inner { padding-block: 34px 38px; }
}

/* Green emphasis makes the current step and its connecting pulse clear. */
.system-journey { --pulse-green: #17633f; --pulse-tint: #edf7ef; }
.system-pulse-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.system-pulse-track { fill: none; stroke: var(--pulse-green); stroke-width: 2; opacity: .3; }
.system-pulse-trail { fill: none; stroke: var(--pulse-green); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.system-pulse-dot { fill: var(--pulse-green); }
.system-pulse-halo { fill: var(--pulse-green); opacity: .2; }
.system-number { transition: background-color .2s, box-shadow .2s; }
.system-card-link { transition: background-color .2s, border-color .2s; }
.system-card-link h3 { transition: color .2s; }
.system-card-link.is-current { background: var(--pulse-tint); border-color: var(--pulse-green); }
.system-card-link.is-current .system-number { background: var(--pulse-green); box-shadow: 0 0 0 6px rgb(23 99 63 / 18%); }
.system-card-link.is-current h3 { color: var(--pulse-green); }
.system-motion { display: flex; justify-content: flex-end; margin: 0 0 12px; }
.pulse-toggle { background: none; border: 0; border-radius: 6px; color: var(--muted); padding: 8px; min-height: 44px; font: inherit; font-size: var(--small); cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }
.pulse-toggle[hidden] { display: none; }
.system-action { flex: 0 0 auto; max-width: 29ch; }
.system-action p { margin-top: 10px; color: var(--belt); font-size: var(--small); line-height: 1.5; }
@media (max-width: 350px) {
 .system-cards { column-gap: 16px; }
 .system-card-link { padding: 14px 10px; }
 .system-card-link h3 { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
 .system-number, .system-card-link, .system-card-link h3 { transition: none; }
 .system-pulse-dot, .system-pulse-halo, .system-pulse-trail, .pulse-toggle { display: none; }
}
