/* pages-g5.css: page-only styles for group g5 (/about/, /resources/ + 2 guides, /contact/, /thanks/*, /privacy/,
   /accessibility/, 404). Builder kit classes from site.css do the heavy lifting; this file adds only what those pages
   need. Lime / black / white only (tokens from site.css). No shared part is copied here. 2026-09-29. */

/* ---------- shared bits for these pages ---------- */
.g5-ico { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--lime); color: var(--ink); }
.g5-ico svg { width: 22px; height: 22px; }
.g5-head { display: grid; gap: var(--s4); max-width: 46rem; margin-bottom: var(--s10); }
.g5-head .h2 { max-width: 22ch; }
.g5-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.g5-head--flush { margin-bottom: 0; }
.g5-story__body .h2 { color: var(--ink); margin-bottom: var(--s2); }
.g5-close__note { color: var(--on-ink-2); }
.g5-close__note .textlink { color: var(--on-dark); display: inline-flex; align-items: center; min-height: 44px; }
.g5-meta { display: flex; flex-wrap: wrap; gap: 4px var(--s4); font-size: var(--fs-small); color: var(--text-2); }
.g5-meta time { font-weight: 600; color: var(--ink); }
.g5-note { font-size: var(--fs-small); color: var(--text-2); line-height: 1.5; }
.g5-sep { border: 0; border-top: 1px solid var(--hairline); margin: 0; }

/* door cards: icon tile + title in one row, then the words, then the link (matches the home boxes) */
.g5-door .g5-door__top { display: flex; align-items: center; gap: var(--s3); }
.g5-door .card__title { font-size: 1.3125rem; }
.g5-door .card__text { font-size: 1.0625rem; }
/* tablet: three doors in a 2-column grid would orphan the third; it takes the full row instead */
@media (min-width: 48rem) and (max-width: 63.99rem) { .grid-3 > .g5-door:nth-child(3):last-child { grid-column: 1 / -1; } }

/* ---------- photo card hero (X15: the home card, shorter; words on ink, photo graded into it) ---------- */
.g5-hero { padding: var(--s2) var(--inset) 0; }
.g5-hero__card { position: relative; display: grid; overflow: hidden; border-radius: var(--r-hero); background: var(--ink); color: var(--on-dark); }
.g5-hero__media { position: relative; margin: 0; }
.g5-hero__media img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.g5-hero__text { display: grid; gap: var(--s5); align-content: center; padding: var(--s8) var(--s5) var(--s10); }
.g5-hero__h1 { font-size: clamp(2.5rem, 1.8rem + 2.6vw, 4rem); line-height: var(--lh-tight); letter-spacing: -0.02em; font-weight: 500; max-width: 15ch; }
.g5-hero__sub { font-size: var(--fs-lead); line-height: 1.55; color: var(--on-dark); max-width: 36rem; }
.g5-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s6); }
.g5-hero__actions .textlink { color: var(--on-dark); display: inline-flex; align-items: center; min-height: 44px; }
.g5-hero__proof { font-size: var(--fs-small); color: var(--on-ink-2); font-weight: 600; }
.g5-hero__proof .g5-dot { margin: 0 8px; color: var(--lime); }
.g5-nw { white-space: nowrap; }
.g5-hero .accent { color: var(--lime); }
.g5-hero :where(a, button):focus-visible { box-shadow: 0 0 0 3px var(--ink), 0 0 0 6px var(--lime); }
@media (max-width: 47.99rem) {
  .g5-hero__actions { flex-direction: column; align-items: stretch; }
  .g5-hero__actions .btn { width: 100%; }
}
@media (min-width: 64rem) {
  .g5-hero__card { grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); min-height: 540px; }
  .g5-hero__text { grid-column: 1; grid-row: 1; position: relative; z-index: 2;
    padding: var(--s16) var(--s8) var(--s16) max(var(--s16), calc((100vw - var(--container)) / 2 - var(--inset))); }
  .g5-hero__media { grid-column: 1 / -1; grid-row: 1; position: absolute; inset: 0 0 0 44%; z-index: 0; }
  .g5-hero__media img { height: 100%; aspect-ratio: auto; }
  /* the grade: ink under the words, clearing to the photo on the right */
  .g5-hero__media::before { content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(90deg, var(--ink) 0%, var(--ink) 12%, rgb(18 19 17 / 0.78) 32%, rgb(18 19 17 / 0.2) 64%, rgb(18 19 17 / 0) 86%); }
}
@media (min-width: 90rem) { .g5-hero__card { min-height: 560px; } }

/* ---------- /about/ ---------- */
.g5-about-facts { display: grid; gap: var(--s10); }
.g5-rows { display: grid; gap: 0; border-top: 1px solid var(--hairline); }
.g5-rows > li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: var(--s4); padding: var(--s5) 0; border-bottom: 1px solid var(--hairline); }
.g5-rows__title { font-weight: 600; font-size: 1.1875rem; line-height: 1.3; }
.g5-rows__text { color: var(--text-2); line-height: 1.55; margin-top: 4px; }
.g5-rows .g5-ico { width: 44px; height: 44px; }

/* growth: real proportions (1,000 / 5,000 / 20,000 sq ft) as bars on an ink card */
.g5-growth { display: grid; gap: var(--s6); padding: var(--s8) var(--s6); border-radius: var(--r-card); background: var(--ink); color: var(--on-dark); }
.g5-growth__h { font-size: var(--fs-h3); line-height: 1.25; font-weight: 500; max-width: 20ch; }
.g5-growth__list { display: grid; gap: var(--s5); }
.g5-growth__row { display: grid; gap: 8px; }
.g5-growth__label { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); }
.g5-growth__year { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--on-ink-2); }
.g5-growth__size { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.g5-growth__size small { font-size: 0.55em; font-weight: 600; color: var(--on-ink-2); letter-spacing: 0; }
.g5-growth__bar { height: 12px; border-radius: 6px; background: rgb(255 255 255 / 0.1); overflow: hidden; }
.g5-growth__bar span { display: block; height: 100%; border-radius: 6px; background: var(--lime); }
.g5-growth__cap { color: var(--on-ink-2); line-height: 1.5; }
@media (min-width: 48rem) { .g5-growth { padding: var(--s12); } }

.g5-story { display: grid; gap: var(--s10); }
.g5-story__body { display: grid; gap: var(--s4); font-size: 1.0625rem; line-height: 1.65; max-width: 40rem; color: var(--text-2); }
.g5-story__body .answer { color: var(--ink); }
.g5-story__side { display: grid; gap: var(--s5); align-content: start; }
.g5-story__side .stat__label { max-width: 20rem; }
.g5-leader { display: flex; gap: var(--s4); align-items: center; padding: var(--s5) var(--s6); border-radius: 24px; box-shadow: inset 0 0 0 1px var(--hairline); background: var(--paper); }
.g5-leader__mark { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--floor); color: var(--ink); font-weight: 700; font-size: 1.125rem; }
.g5-leader__name { font-weight: 700; }
.g5-leader__role { color: var(--text-2); font-size: var(--fs-small); line-height: 1.4; }
@media (min-width: 64rem) {
  .g5-story { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s16); align-items: start; }
  .g5-story__side { position: sticky; top: calc(var(--header-h) + var(--s8)); }
}

.g5-awards__logos { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s6) var(--s10); padding: var(--s6) 0 var(--s8); }
.g5-awards__logos img { height: 64px; width: auto; }
.g5-awards__list { display: grid; gap: 0; border-top: 1px solid var(--hairline); }
.g5-awards__list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s4); align-items: baseline; padding: var(--s4) 0; border-bottom: 1px solid var(--hairline); }
.g5-awards__name { font-weight: 600; }
.g5-awards__year { color: var(--text-2); font-variant-numeric: tabular-nums; text-align: right; }
@media (min-width: 64rem) {
  .g5-awards__list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s16); }
}

/* closing band: inset ink panel, words left, reach-us right */
.g5-close { padding-block: var(--section-y); }
.section + .g5-close { padding-top: 0; }
.g5-close__panel { display: grid; gap: var(--s8); padding: var(--s10) var(--s6); border-radius: var(--r-card); background: var(--ink); color: var(--on-dark); }
.g5-close__main { display: grid; gap: var(--s4); align-content: start; }
.g5-close__main .h2 { max-width: 18ch; }
.g5-close__sub { font-size: var(--fs-lead); color: var(--on-ink-2); max-width: 32rem; }
.g5-close__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s6); margin-top: var(--s2); }
.g5-close__actions .textlink { color: var(--on-dark); display: inline-flex; align-items: center; min-height: 44px; }
.g5-close__reach { display: grid; gap: var(--s2); align-content: center; padding-top: var(--s6); border-top: 1px solid var(--hairline-dark); }
.g5-close__reach-h { color: var(--on-ink-2); font-weight: 600; }
.g5-close__phone a { display: inline-flex; align-items: center; min-height: 48px; font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem); font-weight: 500; color: var(--lime); text-decoration: none; letter-spacing: -0.01em; }
.g5-close__phone a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.g5-close__email a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.g5-close__addr { font-size: var(--fs-small); color: var(--on-ink-2); }
@media (max-width: 47.99rem) { .g5-close__actions { flex-direction: column; align-items: stretch; } .g5-close__actions .btn { width: 100%; } }
@media (min-width: 48rem) { .g5-close__panel { padding: var(--s16); } }
@media (min-width: 64rem) {
  .g5-close__panel { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--s16); }
  .g5-close__reach { padding-top: 0; padding-left: var(--s10); border-top: 0; border-left: 1px solid var(--hairline-dark); }
}

/* ---------- /resources/ hub ---------- */
.g5-guides { display: grid; gap: var(--s6); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 48rem) { .g5-guides { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.g5-guide { padding: 0; overflow: hidden; gap: 0; }
.g5-guide__media { margin: 0; background: var(--ink); }
.g5-guide__media img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.g5-guide__body { display: flex; flex-direction: column; gap: var(--s3); padding: var(--s6); flex: 1; }
@media (min-width: 48rem) { .g5-guide__body { padding: var(--s8); } }
.g5-guide__type { font-size: var(--fs-small); font-weight: 700; color: var(--green-text); }
.g5-guide .card__title { font-size: 1.375rem; }
/* 10-05 (wireframe P12 FEATURED SLOT): one large Featured card leads the grid, holding the current campaign guide.
   Lime-tint surface sets it apart from the white retire cards; photo and words side by side from 48rem, photo the
   larger share from 64rem; stacked on phones. Swap the card's content to feature a different guide later. */
.g5-guide--featured { grid-column: 1 / -1; background: var(--floor); box-shadow: none; margin-bottom: var(--s4); }
.g5-guide--featured .g5-guide__media img { aspect-ratio: 4 / 3; }
.g5-guide--featured .card__title { font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); line-height: 1.15; font-weight: 600;
  letter-spacing: -0.02em; max-width: 22ch; text-wrap: balance; }
.g5-guide--featured .card__text { font-size: var(--fs-lead); line-height: 1.5; max-width: 34rem; }
.g5-guide--featured .card__link { font-size: var(--fs-lead); align-self: flex-start; }
@media (min-width: 48rem) {
  .g5-guide--featured { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .g5-guide--featured .g5-guide__media img { height: 100%; aspect-ratio: auto; min-height: 22rem; }
  .g5-guide--featured .g5-guide__body { justify-content: center; gap: var(--s4); padding: var(--s10); }
  .g5-guide--featured .card__link { margin-top: var(--s4); }
}
@media (min-width: 64rem) {
  .g5-guide--featured { grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); }
  .g5-guide--featured .g5-guide__media img { min-height: 28rem; }
  .g5-guide--featured .g5-guide__body { padding: var(--s12) var(--s10); }
}
.g5-alsobuy { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s6); margin-top: var(--s10); padding: var(--s6); border-radius: 24px; background: var(--floor); }
.g5-alsobuy p { font-weight: 600; }

/* ---------- guides (articles) ---------- */
.g5-article .hero__h1 { font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem); line-height: 1.08; }
.g5-article .hero--inner .hero__text { display: grid; gap: var(--s4); }
.g5-answerbox { padding: var(--s5) var(--s6); border-radius: 24px; background: var(--floor); font-size: var(--fs-lead); line-height: 1.55; }
.g5-answerbox strong { color: var(--ink); }
.g5-doorline { color: var(--text-2); }
.g5-doorline .textlink { color: var(--ink); }
.g5-print { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); }
.g5-print .btn { min-height: 44px; font-size: 1rem; }
.g5-print svg { width: 18px; height: 18px; }

/* finish review 10-07 (for family E's guides): an implicit auto track grows to its widest child's min-content (the
   comparison table), which pushed the guide body past 390. One explicit shrinkable track is the root fix. */
.g5-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s10); padding-block: var(--section-y); }
.g5-toc { display: none; }
@media (min-width: 64rem) {
  .g5-body { grid-template-columns: 15rem minmax(0, 1fr); gap: var(--s16); }
  .g5-toc { display: block; position: sticky; top: calc(var(--header-h) + var(--s8)); align-self: start; }
  .g5-toc__h { font-size: var(--fs-small); font-weight: 700; color: var(--text-2); margin-bottom: var(--s3); }
  .g5-toc ol { display: grid; gap: 2px; border-left: 2px solid var(--hairline); }
  .g5-toc a { display: block; padding: 8px 0 8px var(--s4); margin-left: -2px; border-left: 2px solid transparent; font-size: 0.9375rem; line-height: 1.35; color: var(--text-2); text-decoration: none; }
  .g5-toc a:hover { color: var(--ink); border-left-color: var(--lime); }
}
.g5-prose { font-size: var(--fs-prose); line-height: 1.65; max-width: 66ch; color: var(--text-2); }
.g5-prose > section + section { margin-top: var(--s12); padding-top: var(--s12); border-top: 1px solid var(--hairline); }
.g5-prose h2 { font-size: clamp(1.625rem, 1.4rem + 0.9vw, 2.125rem); line-height: 1.2; color: var(--ink); letter-spacing: -0.015em; margin-bottom: var(--s4); scroll-margin-top: calc(var(--header-h) + var(--s6)); }
.g5-prose h3 { font-size: 1.25rem; line-height: 1.3; color: var(--ink); font-weight: 600; }
.g5-prose p + p, .g5-prose p + ul, .g5-prose ul + p, .g5-prose p + ol, .g5-prose ol + p, .g5-prose p + .g5-table-wrap, .g5-prose .g5-table-wrap + p { margin-top: var(--s4); }
.g5-prose ul.g5-bullets { list-style: disc; padding-left: 1.2em; }
.g5-prose ul.g5-bullets li + li { margin-top: 6px; }
.g5-prose ul.g5-bullets li::marker { color: var(--green-text); }
.g5-prose strong { color: var(--ink); }
.g5-prose .textlink { color: var(--ink); }
.g5-prose .lede { color: var(--ink); font-size: 1.1875rem; }

/* numbered checklist steps: a real <ol>, lime numerals */
.g5-steps { counter-reset: g5step; display: grid; gap: 0; }
.g5-steps > li { counter-increment: g5step; display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: var(--s5); padding: var(--s8) 0; border-top: 1px solid var(--hairline); }
.g5-steps > li:first-child { border-top: 0; padding-top: 0; }
.g5-steps > li::before { content: counter(g5step); width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--ink); font-weight: 700; font-size: 1.25rem; font-variant-numeric: tabular-nums; grid-column: 1; grid-row: 1 / span 12; }
.g5-steps > li > * { grid-column: 2; }
.g5-steps > li > * + * { margin-top: var(--s3); }
.g5-steps h2 { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem); line-height: 1.2; color: var(--ink); margin-bottom: 0; padding-top: 6px; scroll-margin-top: calc(var(--header-h) + var(--s6)); }
@media (max-width: 47.99rem) {
  .g5-steps > li { grid-template-columns: 36px minmax(0, 1fr); column-gap: var(--s3); padding: var(--s6) 0; }
  .g5-steps > li::before { width: 36px; height: 36px; font-size: 1.0625rem; }
  .g5-steps h2 { padding-top: 2px; }
}
.g5-keylist { display: grid; gap: var(--s3); }
.g5-keylist li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; }
.g5-keylist li::before { content: ""; width: 10px; height: 10px; margin: 10px 0 0 6px; border-radius: 50%; background: var(--lime); }
.g5-callout { padding: var(--s5) var(--s6); border-radius: 20px; background: var(--floor); color: var(--ink); font-size: 1.0625rem; line-height: 1.55; }
.g5-callout strong { display: block; margin-bottom: 4px; }

/* comparison table (seo-aeo L3 32: 3+ attributes -> a real table) */
.g5-table-wrap { overflow-x: auto; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--hairline); }
.g5-table { width: 100%; border-collapse: collapse; font-size: 1rem; line-height: 1.45; min-width: 34rem; }
.g5-table caption { text-align: left; padding: var(--s4) var(--s5) 0; font-weight: 700; color: var(--ink); }
.g5-table th, .g5-table td { text-align: left; vertical-align: top; padding: var(--s4) var(--s5); border-top: 1px solid var(--hairline); }
.g5-table thead th { border-top: 0; font-size: var(--fs-small); color: var(--text-2); font-weight: 700; }
.g5-table tbody th { color: var(--ink); font-weight: 600; width: 30%; }
.g5-table td { color: var(--text-2); }
.g5-table .g5-col-reuse { background: var(--floor); color: var(--ink); }

.g5-pullstat { display: grid; gap: var(--s2); margin-top: var(--s6); padding: var(--s6) var(--s8); border-radius: 24px; background: var(--ink); color: var(--on-dark); }
.g5-pullstat__num { font-size: clamp(2.75rem, 2rem + 3vw, 4rem); line-height: 1; font-weight: 600; letter-spacing: -0.03em; color: var(--lime); font-variant-numeric: tabular-nums; }
.g5-pullstat__label { color: var(--on-ink-2); font-size: 1.0625rem; line-height: 1.5; }

/* email-me-this-checklist: one field, inline */
.g5-emailme { display: grid; gap: var(--s3); padding: var(--s6); border-radius: 24px; box-shadow: inset 0 0 0 1px var(--hairline); background: var(--paper); }
.g5-emailme__h { font-weight: 700; font-size: 1.125rem; color: var(--ink); }
.g5-emailme__row { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: flex-end; }
.g5-emailme__row .field { flex: 1 1 16rem; }
.g5-emailme__row .btn { min-height: 48px; }
.g5-emailme .form__status { margin-top: var(--s2); }

/* FAQ spacing inside the article pages */
.g5-faq { padding-block: var(--section-y); border-top: 1px solid var(--hairline); }
.g5-faq .qa__a p { font-size: 1.0625rem; }

/* ---------- /contact/ ---------- */
.g5-contact .closing { padding-top: var(--s8); }
.g5-contact .closing__grid { background: var(--floor); }
.g5-contact .intent { order: -1; }
.g5-helper { font-size: var(--fs-small); color: var(--text-2); line-height: 1.5; margin-top: var(--s3); }
.g5-helper a { color: var(--ink); }
.g5-helper + .g5-helper { margin-top: var(--s2); }
.panel .g5-panel-addr { margin-top: var(--s2); padding-top: var(--s4); border-top: 1px solid var(--hairline-dark); display: grid; gap: 4px; font-size: var(--fs-small); color: var(--on-ink-2); line-height: 1.5; }
.panel .g5-panel-addr a { color: var(--on-dark); font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; }

.g5-side { display: grid; gap: var(--s5); align-content: start; }
.g5-side .panel { position: static; grid-column: auto; grid-row: auto; }
.g5-nextcard { display: grid; gap: var(--s5); padding: var(--s6); border-radius: 32px; background: var(--paper); }
.g5-nextcard__h { font-size: 1.25rem; line-height: 1.3; font-weight: 600; }
.g5-nextcard .steps__title { font-size: 1.0625rem; }
.g5-nextcard .steps { gap: var(--s4); }
@media (min-width: 64rem) {
  .g5-contact .closing__grid > .form { grid-column: 1; grid-row: 1; }
  .g5-contact .g5-side { grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--header-h) + var(--s8)); }
}
.g5-where { padding-block: var(--section-y); }
.g5-where__grid { display: grid; gap: var(--s8); align-items: center; }
.g5-where__photo { margin: 0; }
.g5-where__photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-card); }
.g5-where__photo figcaption { margin-top: var(--s3); font-size: var(--fs-small); color: var(--text-2); }
.g5-where__text { display: grid; gap: var(--s5); align-content: center; }
.g5-nap { display: grid; gap: 2px; font-size: 1.0625rem; line-height: 1.55; }
.g5-nap strong { font-size: 1.1875rem; }
.g5-nap a { font-weight: 600; }
@media (min-width: 64rem) { .g5-where__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s16); } }

/* ---------- /thanks/* ---------- */
.g5-ty { padding: var(--s12) 0 var(--section-y); }
.g5-ty__grid { display: grid; gap: var(--s10); }
.g5-ty__main { display: grid; gap: var(--s6); align-content: start; }
.g5-ty__h1 { font-size: clamp(2.25rem, 1.7rem + 2.2vw, 3.5rem); line-height: 1.08; letter-spacing: -0.02em; font-weight: 500; max-width: 18ch; }
.g5-ty__who { font-size: var(--fs-lead); line-height: 1.5; color: var(--text-2); max-width: 36rem; }
.g5-ty__who strong { color: var(--ink); }
.g5-ty__steps-h { font-size: var(--fs-h3); line-height: 1.25; font-weight: 500; margin-top: var(--s4); }
.g5-ty__side { display: grid; gap: var(--s5); align-content: start; }
.g5-ty__talk { display: grid; gap: var(--s2); padding: var(--s6); border-radius: 32px; background: var(--ink); color: var(--on-dark); }
.g5-ty__talk-h { font-weight: 500; font-size: var(--fs-h3); line-height: 1.25; }
.g5-ty__talk .panel__phone a { color: var(--lime); }
.g5-ty__talk .gadget { margin-top: var(--s3); padding-top: var(--s4); border-top: 1px solid var(--hairline-dark); }
.g5-ty__talk .gadget__line { color: var(--on-ink-2); font-size: 1.0625rem; }
.g5-ty__talk .gadget img { width: 56px; }
.g5-ty__add { display: grid; gap: var(--s3); padding: var(--s6); border-radius: 32px; background: var(--floor); }
.g5-ty__add .ty__h2 { font-size: 1.125rem; }
.g5-ty__add .ty__form { display: grid; gap: var(--s4); margin-top: var(--s2); }
.g5-ty__add .ty__form .btn { justify-self: start; }
.g5-ty__reads { display: grid; gap: var(--s4); margin-top: var(--s2); }
.g5-ty__reads-h { font-weight: 700; }
@media (min-width: 64rem) {
  .g5-ty__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--s16); }
  .g5-ty__side { position: sticky; top: calc(var(--header-h) + var(--s8)); }
}

/* ---------- legal pages (group-d layout kept; body type up to 16-17px, no gate pills) ---------- */
.d-legal .d-sec__body { font-size: 1.0625rem; line-height: 1.65; }
.d-legal .d-sec__body ul { list-style: disc; padding-left: 1.2em; }
.d-legal .d-sec__body li + li { margin-top: 6px; }
.d-legal .d-sec__body li::marker { color: var(--green-text); }
.g5-gaps { display: grid; gap: var(--s3); }

/* ---------- 404 ---------- */
.g5-nf { padding-bottom: var(--section-y); }
.g5-nf__more { display: flex; flex-wrap: wrap; align-items: center; gap: 4px var(--s5); margin-top: var(--s8); }
.g5-nf__more span { font-weight: 700; }
.g5-nf__more a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
.g5-nf__help { display: grid; gap: var(--s6); margin-top: var(--s10); padding: var(--s6); border-radius: 24px; background: var(--floor); }
.g5-nf__help .gadget img { width: 64px; }
.g5-nf__contact { display: grid; gap: 4px; }
.g5-nf__contact a { font-weight: 600; }
@media (min-width: 64rem) { .g5-nf__help { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: var(--s6) var(--s10); } }

/* print: the checklist prints as a checklist */
@media print {
  .header, .footer, .crumbs, .g5-toc, .g5-print, .g5-emailme, .closing, .g5-faq .faq__more, .skip-link { display: none !important; }
  .g5-body { display: block; padding: 0; }
  .g5-steps > li::before { background: none; box-shadow: inset 0 0 0 2px #000; }
}

/* 10-01 playbook links: a FAQ more-row can hold two links; space them like .pv-how__more. */
.g5-faq .faq__more { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s8); }

/* Plan 4 design run, family D (Opus resume 10-07): /about/ hero now uses the photo plan's own scene (#2 floor overview,
   g4-partners-floor 720/960 in a <picture>) instead of Home's banner. The picture box takes the media's full height so
   the img's height:100% still resolves; the crop keeps the ceiling lights out (photo plan "one place" crop rule). */
.g5-hero__media picture { display: block; height: 100%; }
.g5-hero__media picture img { object-position: 50% 60%; }
@media (min-width: 64rem) { .g5-hero__media picture img { object-position: 50% 92%; } }
/* Tom 10-09 (file_666, "more of his drill and the table"): the About photo is tall, so on desktop it gets a narrower slot (starts at
   58%, not 44%); it scales less and the crop holds face, drill and table together. Only /about/ carries --tall. */
@media (min-width: 64rem) { .g5-hero__media.g5-hero__media--tall { inset: 0 0 0 max(58%, calc(100% - 600px)); } }
