/* Site review fixes, November 24, 2026 (docs/design-review/2026-11-24-site-review.md).
   Loaded last on every published new-design page, so these rules sit on top of
   style.css, pages.css, site-finish.css, direction.css and each page's own sheet.
   Sections: header, tap targets, footer, strategies close, contact, homepage,
   guides, insights, chat clearance, wide screens. */

/* ---- Header: 60px on phones, 76px on desktop (was 90 / 110) ---- */
:root{--header-space:76px}
header,header.is-compact{height:var(--header-space);padding-block:0}
header .brand img{width:24px;height:42px}
@media(max-width:760px){
  :root{--header-space:60px}
  header,header.is-compact,.home-film header,.home-film header.is-compact{height:60px;padding-block:0}
  header .brand img{width:20px;height:36px}
}
/* Very narrow phones (320-374): brand, Blueprint button and Menu all fit inside the bar. */
@media(max-width:374px){
  header,.home-film header{padding-inline:12px;gap:6px}
  header .brand{gap:7px}
  header .brand span{font-size:7.5px;letter-spacing:.06em}
  header .compact{padding:10px;gap:6px}
  header .menu-summary,.home-film .menu-summary{padding-inline:8px;letter-spacing:.08em}
  header .menu-summary::after{margin-left:5px}
}
/* Desktop nav links: 44px hit height via padding; the hover rule moves up to match. */
header>nav{align-items:center}
header>nav a{display:inline-flex;align-items:center;min-height:44px}
header>nav a:after{bottom:9px}
/* Eight links plus the Blueprint button: tighten spacing before it crowds. */
@media(min-width:761px) and (max-width:1279px){
  header{gap:14px}
  header>nav{gap:14px}
  header>nav a{font-size:11px}
  header .brand span{font-size:9px}
}
header>nav a{white-space:nowrap}
/* 761-979px: eight links no longer fit on one line, so tablets use the same
   Menu drawer as phones (the drawer markup is already in every header). */
@media(min-width:761px) and (max-width:979px){
  header>nav{display:none!important}
  header .menu-drawer{display:block!important;position:relative;margin-left:auto}
  header .menu-summary{display:flex;align-items:center;min-height:44px;padding:0 13px;font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#141d2e;background:rgba(246,243,237,.6);border:1px solid rgba(20,29,46,.35);border-radius:3px;cursor:pointer;list-style:none}
  header .menu-summary::-webkit-details-marker{display:none}
  header .menu-summary::after{content:"\25be";margin-left:8px;font-size:9px}
  header .menu-drawer[open] .menu-summary::after{content:"\25b4"}
  header .menu-drawer[open] .menu-summary{background:#f6f3ed}
  header .menu-panel{position:absolute;right:0;top:calc(100% + 8px);min-width:250px;z-index:60;background:#f6f3ed;border:1px solid #d9d5cb;box-shadow:0 18px 40px rgba(20,29,46,.18)}
  header .menu-panel nav{display:flex!important;flex-direction:column;gap:0}
  header .menu-panel a{display:flex;align-items:center;min-height:48px;padding:0 20px;font-size:13px;color:#141d2e;text-decoration:none;border-bottom:1px solid #e5e0d6}
  header .menu-panel a:last-child{border-bottom:0;font-weight:600}
  header .menu-panel a:hover,header .menu-panel a:focus-visible{background:#eae6dd}
  header .menu-panel a:after{display:none}
}
@media(min-width:980px) and (max-width:1100px){
  header>nav{gap:11px}
  header>nav a{font-size:10.5px}
}
/* Mobile menu: tap-to-call row */
.menu-panel a.menu-call{font-weight:600;color:var(--navy);background:#efeadf}

/* ---- Tap targets: text links, footer links, guide contents ---- */
/* Text links get 44px of hit height from padding; equal negative margins keep the layout. */
.text-link{padding-block:12px;margin-block:-12px}
.text-link:after{bottom:7px}
footer a{display:flex;align-items:center;min-height:44px;margin-bottom:0;width:fit-content}
footer .footer-services a{min-height:44px}
footer .footer-brand{display:block;min-height:0}
.completion nav.cp-toc li{margin-bottom:0}
.completion nav.cp-toc li a{display:inline-flex;align-items:center;min-height:44px}

/* ---- Footer: contact, address, licence, older sections ---- */
footer .footer-contact{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px 40px;border-top:1px solid #ffffff30;padding-top:30px}
footer .footer-contact .eyebrow{font-size:12px;letter-spacing:.17em;margin:0 0 6px;color:var(--brass)}
footer .footer-phone{font-family:'Libre Caslon Display',Georgia,serif;font-size:28px;line-height:1.2;color:var(--ivory)}
footer .footer-phone:hover,footer .footer-phone:focus-visible{text-decoration:underline;text-decoration-color:var(--brass);text-underline-offset:5px}
footer address{font-style:normal;font-size:15px;line-height:1.6;color:#d9d5cb;margin-top:6px}
footer .footer-more a{font-size:15px;color:var(--ivory)}
footer .footer-licence{grid-column:1/-1;margin:0;font-size:13px;line-height:1.7;color:#d9d5cb;max-width:75ch}
@media(max-width:760px){footer .footer-contact{grid-template-columns:1fr}}

/* Guide pages: the newsletter sign-up lives in the footer as one compact row. */
footer .footer-newsletter{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:18px 48px;align-items:end;padding-bottom:40px;border-bottom:1px solid #ffffff30;margin-bottom:10px}
footer .footer-newsletter .eyebrow{font-size:12px;letter-spacing:.17em;color:var(--brass);margin:0 0 8px}
footer .footer-newsletter-title{font-size:30px;line-height:1.1;color:var(--ivory);margin:0 0 8px}
footer .footer-newsletter-copy p:last-child{margin:0;font-size:15px;line-height:1.6;color:#d9d5cb}
footer .cp-newsletter-form{display:flex;flex-wrap:wrap;gap:12px 18px;align-items:flex-end}
footer .cp-newsletter-form label{flex:1 1 180px;min-width:0;font-size:14px;color:#d9d5cb}
footer .cp-newsletter-form input{display:block;width:100%;height:48px;margin-top:6px;border:1px solid #6d7686;background:transparent;padding:0 14px;font:inherit;font-size:16px;color:var(--ivory);border-radius:2px}
footer .cp-newsletter-form input:focus{outline:none;border-color:var(--brass);box-shadow:0 0 0 1px var(--brass)}
footer .cp-newsletter-form .button{flex:0 0 auto;min-height:48px;padding-block:0;background:var(--ivory);color:var(--navy);font-size:15px}
footer .cp-newsletter-form .button:hover{background:var(--stone)}
footer .cp-newsletter-status{flex:1 1 100%;margin:0;min-height:1em;color:#d9d5cb}
footer .cp-newsletter-status:empty{display:none}
footer .footer-newsletter-note{grid-column:2;margin:0;color:#b6b6b4;font-size:13px}
@media(max-width:900px){footer .footer-newsletter{grid-template-columns:1fr}footer .footer-newsletter-note{grid-column:1}}

/* ---- /strategies closing band: navy, like the /retirement close ---- */
.strategies .st-close.navy{background:var(--navy);color:var(--ivory)}
.strategies .st-close.navy .st-close-cta{background:var(--ivory);color:var(--navy)}
.strategies .st-close.navy .st-close-cta:hover{background:var(--stone);color:var(--navy)}
.strategies .st-close.navy .outcome-secondary a{color:var(--ivory)}

/* ---- /contact: phone near the top ---- */
.contact .contact-direct{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 26px;margin:6px 0 28px;padding:16px 0;border-top:1px solid #d1cbc0;border-bottom:1px solid #d1cbc0}
.contact .contact-direct .eyebrow{flex:1 1 100%;margin:0;font-size:12px}
.contact .contact-phone{display:inline-flex;align-items:center;min-height:44px;font-family:'Libre Caslon Display',Georgia,serif;font-size:clamp(28px,3vw,36px);line-height:1.1;color:var(--navy)}
.contact .contact-phone:hover{text-decoration:underline;text-decoration-color:var(--brass);text-underline-offset:6px}
.contact .contact-direct .contact-message{font-size:15px}

/* ---- Homepage type (body.home): body 17-18px, small text 15px, eyebrows 12-13px ---- */
body.home .opening-glass h1,body.home .opening-title h1{line-height:1.04}
body.home .eyebrow,body.home .opening-glass .eyebrow,body.home .opening-title .eyebrow{font-size:12px}
body.home #founder .eyebrow{font-size:13px}
body.home .opening-glass .opening-bottom>p,body.home .opening-copy .opening-bottom>p{font-size:17px;line-height:1.55}
body.home .opening-glass .button,body.home .opening-copy .button{font-size:15px;padding:15px 20px}
body.home .opening-glass .fine,body.home .opening-glass .text-link,body.home .opening-glass .fine .text-link{font-size:15px}
body.home .faq-grid details p{font-size:17px;line-height:1.65}
body.home #founder .founder-bio{font-size:18px;line-height:1.65}
body.home #founder .founder-byline{font-size:15px}
body.home .text-link{font-size:15px}
body.home main .button,body.home .rz-cta .button,body.home .home-ending-next .button,body.home .completion-trigger{font-size:15px}
body.home .interaction-invitation,body.home .goal-controls button,body.home .fine,body.home #goal-summary,body.home .assembly-status{font-size:15px}
/* These selectors lose to id-scoped rules in direction.css/homepage-film.css, so they are forced. */
body.home .faq-grid>details>p{font-size:17px!important;line-height:1.65!important}
body.home #show-completed,body.home #replay-blueprint{font-size:15px!important}
/* the illustrative Blueprint sheet keeps document-scale labels, raised to eyebrow size */
body.home .paper-mark span,body.home .blueprint-paper>.eyebrow,body.home .paper-step small{font-size:12px}
body.home .paper-footer span{font-size:13px}
/* Phone hero: a taller film so the larger title stays clear of the 60px header. */
@media(max-width:600px){
  body.home .opening.pad{padding-top:clamp(300px,92vw,380px)}
  body.home .opening>.hero-photo{aspect-ratio:auto;height:clamp(300px,92vw,380px)}
  body.home .opening>.hero-photo :is(img,video){width:100%;height:100%;object-fit:cover}
  body.home .opening-title{height:clamp(300px,92vw,380px)}
  /* "What would you like / your future to hold?" reflows instead of stranding "like" */
  body.home .home-ending-next h2 br{display:none}
}

/* ---- Homepage rhythm: founder and FAQ align left like every other section ---- */
body.home #questions .home-ending-faq>*{margin-left:0!important;margin-right:auto!important}
body.home #questions .faq-grid summary{display:flex;justify-content:space-between;align-items:baseline;gap:24px}
body.home #questions .faq-grid summary:after{margin-left:auto;flex:none}
@media(max-width:760px){
  body.home .founder,body.home #founder.dir-founder{justify-items:start;text-align:left}
  body.home .founder>div{max-width:none}
  body.home .founder h2,body.home .founder p,body.home .founder p:last-child,
  body.home .founder .founder-bio,body.home .founder .founder-byline{text-align:left;margin-left:0;margin-right:0}
  body.home .founder .founder-signature img{margin-inline:0}
  body.home #founder .eyebrow,body.home #founder h2,body.home #founder p{text-align:left!important;margin-left:0!important}
}

/* ---- Guides: breathing room between the title and the intro on phones ---- */
@media(max-width:760px){.completion .cp-reading h1+.cp-deck,.completion .cp-hero h1+.cp-deck{margin-top:16px}}

/* ---- Insights list: line drawings at a sensible size on a tinted panel ---- */
.insights .library-card .cp-art-slot,.insights .cp-featured .cp-art-slot{display:flex;align-items:center;justify-content:center;background:var(--stone)}
.insights .library-card .cp-art-slot img{width:auto;height:auto;max-width:min(78%,340px);max-height:82%;object-fit:contain}
.insights .cp-featured .cp-art-slot img{width:auto;height:auto;max-width:min(72%,480px);max-height:82%;object-fit:contain}
@media(max-width:700px){.insights .cp-library .library-card .cp-art-slot img{max-width:100%;max-height:100%}}

/* ---- Chat launcher clearance: the launcher sits in the bottom 80px (24px offset + 56px
   button), so the footer keeps 80px plus a 16px gap below its last line ---- */
body:not(.contact):not(.red-zone)>footer.pad{padding-bottom:calc(16px + 80px)}

/* ---- Wide screens: text scales ~15% by 2560px (style.css --ws steps) ---- */
@media(min-width:1950px){:root{--ws:1.05}}
@media(min-width:2100px){:root{--ws:1.08}}
@media(min-width:2250px){:root{--ws:1.1}}
@media(min-width:2400px){:root{--ws:1.13}}
@media(min-width:2560px){:root{--ws:1.15}}

/* ===== Design review of the merged result (Nov 24, 2026, second pass) ===== */

/* 1. /retirement projection table scrolls inside its own box on phones */
.retirement-landing .rl-calc-grid>*,.retirement-landing .rl-results,.retirement-landing .rl-projection{min-width:0}
.retirement-landing .rl-table-wrap{max-width:100%;overflow-x:auto}

/* 2. Homepage header, footer and hero text use the inner-page column and sizes */
@media(max-width:760px){
  body.home header,body.home header.is-compact{padding:0 24px;gap:12px}
  body.home header .brand{gap:13px}
  body.home header .brand img{width:20px;height:36px}
  body.home header .brand span{font-size:9px}
  body.home .opening-title,body.home .opening-copy{padding-left:26px;padding-right:26px}
}
@media(max-width:374px){
  body.home header,body.home header.is-compact{padding-inline:12px;gap:6px}
  body.home header .brand{gap:7px}
  body.home header .brand span{font-size:7.5px}
}
@media(min-width:851px){body.home .opening-glass{padding-left:max(6vw,40px);padding-right:max(6vw,40px)}}
footer .footer-brand{width:52px;margin-bottom:22px}
footer .footer-brand img{width:100%;height:auto;object-fit:contain}
body.home footer.pad{padding-block:60px}

/* 3. Homepage: no full-height progress line down the left edge */
body.home .journey{display:none}

/* 4. One column edge: sections line up with the header (6vw, then the wide column) */
@media(min-width:1200px){
  .strategies .st-section:not(.st-hero),.retirement-landing .rl-section,.life-legacy .ll-section,.life-insurance .li-section,.completion .cp-section:not(.cp-reading){padding-left:6vw;padding-right:6vw}
  .strategies .st-inner,.retirement-landing .rl-inner,.life-legacy .ll-inner,.life-insurance .li-inner,.completion .cp-inner{max-width:none}
  .strategies .st-hero-copy{padding-left:6vw}
  .strategies .st-jumps{padding-left:6vw;padding-right:6vw}
  .retirement-landing .rl-photo figcaption{padding-inline:6vw}
}
@media(min-width:1650px){
  .strategies .st-section:not(.st-hero),.retirement-landing .rl-section,.life-legacy .ll-section,.life-insurance .li-section,.completion .cp-section:not(.cp-reading),
  .strategies .st-jumps,.retirement-landing .rl-photo figcaption,body.home .opening-glass{padding-left:max(95px,calc((100% - var(--wide-col))/2));padding-right:max(95px,calc((100% - var(--wide-col))/2))}
  .strategies .st-hero-copy{padding-left:max(95px,calc((100vw - var(--wide-col))/2))}
}

/* 5. Guide template: intro clears the H1, byline under the hero on the article column,
      disclaimer separated from the "Keep exploring" cards */
.completion .cp-reading h1+.cp-deck,.completion .cp-hero h1+.cp-deck{margin-top:24px}
@media(max-width:760px){.completion .cp-reading h1+.cp-deck,.completion .cp-hero h1+.cp-deck{margin-top:16px}}
body.completion .cp-byline{max-width:584px;margin-inline:auto;padding:32px 0 26px}
@media(max-width:760px){body.completion .cp-byline{max-width:none;padding:32px 24px 26px}}
.completion .cp-disclaimer{margin-top:32px!important}

/* 6. Footer brand stacks above the tagline on phones on every page. The guide pages'
      newsletter row is the footer's first child, so the link-column rule moves with it. */
@media(max-width:760px){
  footer>.footer-newsletter+div{display:block}
  footer>.footer-newsletter+div+div{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}
}

/* 7. Wide screens: the text scale reaches buttons, links, tables and captions too,
      not only headings and paragraphs (nested matches are skipped so nothing doubles). */
@media(min-width:1650px){
  main :is(h2,h3,h4,p,li,dt,dd,summary,blockquote,label,legend,a,button,table,figcaption,small,span):not(:is(h1,h2,h3,h4,p,li,dt,dd,summary,blockquote,label,legend,a,button,table,figcaption,small,span,svg) *){zoom:var(--ws)}
  /* 8. H1s stay inside clamp(40px,5vw,76px) at every width */
  main h1{zoom:1!important}
}

/* 8. One H1 scale on every static page */
/* forced: page sheets each set their own H1 clamp (64px to 94px maximums) */
main h1{font-size:clamp(40px,5vw,76px)!important}

/* ===== Text floors (Nov 24, 2026, review round 3) =====
   Rendered sizes (font-size x CSS zoom) at 1440: nothing readable or tappable under
   14px, eyebrows and small capitals labels at least 12px, card descriptions at least
   16px. Wide screens still scale these up through the zoom rule above. */
.eyebrow,footer .footer-services .eyebrow,.completed-blueprint .eyebrow,.article .eyebrow,figcaption .eyebrow,
.completion .cp-toc p,.completion .cp-checklist>p,.completion .cp-related-card p:first-child,
.contact .contact-way-index,.selector-index,.chapter-index .chapter-index-no,.strategies .st-jumps.chapter-index .chapter-index-no,
.strategies .st-app-index,.life-legacy .ll-kicker,.life-legacy .ll-caption,.retirement-landing .rl-ages legend,
.retirement-landing .rl-hero-label,.retirement-landing .rl-hero-gap-label,.retirement-landing .rl-table thead th,
body.home .paper-mark span,body.home .blueprint-paper>.eyebrow,body.home .paper-step small{font-size:12px}
body.home #founder .eyebrow{font-size:13px}
.button,.text-link,.fine,.completion .text-link,.completion .fine,.completion .cp-fine,.completion .cp-byline,.completion .cp-disclaimer,
.completion .cp-tools label,.completion .cp-filter-buttons button,.completion .cp-newsletter-form label,.completion .cp-related-card a,
body.home .paper-footer span,body.home .goal-controls button,body.home .assembly-status,body.home .completion-next,
footer .fine,footer .footer-licence,footer .footer-newsletter-note,footer .footer-services a,footer .cp-newsletter-form label,
header .menu-panel a,.mobile-page-nav,.back-link,.contact .contact-way-link,
.retirement-landing .rl-fine,.retirement-landing .rl-caption,.retirement-landing .rl-chart-legend,.retirement-landing .rl-inflation-note,
.retirement-landing .rl-advanced-note,.retirement-landing .rl-form-hint,.retirement-landing .rl-table caption,.retirement-landing .rl-ages label,
.retirement-landing .rl-projection summary,.retirement-landing .rl-form-actions .text-link,
.life-legacy .ll-fine,.life-legacy .ll-helper,.life-legacy .ll-advanced-note,.life-insurance .li-fine,
.life-insurance .li-step-num,.life-insurance .li-need-num,.red-zone .rz-form-fine,.red-zone .rz-consent label,
.completion .cp-portrait figcaption,.strategies .outcome-partner span{font-size:14px}
header .menu-summary,.home-film .menu-summary,.completion .menu-summary,.life-insurance .menu-summary,.life-legacy .menu-summary,
.retirement-landing .menu-summary,.strategies .menu-summary{font-size:14px}
.destination footer .fine,.red-zone .rz-disclosure p,.retirement-landing .rl-field label span,.retirement-landing .rl-ledger dt,
.life-insurance .text-link,.life-insurance .li-quiet-links .text-link,.life-insurance .li-note .text-link,.life-legacy .text-link,
.life-legacy .ll-advanced-actions .text-link,.retirement-landing .text-link,.retirement-landing .rl-hero-actions .text-link,
.retirement-landing .rl-advanced-actions .text-link,.retirement-landing .rl-actions .text-link,.completion .cp-cta .cp-fine,.life-legacy .ll-hero-copy .text-link,.retirement-landing .rl-fine,.retirement-landing .rl-close .rl-fine{font-size:14px}
@media(min-width:1280px){header>nav a,header .compact,header .compact .cta-full{font-size:14px}header .brand span{font-size:12px}}
.insights .library-card>p:not(.eyebrow){font-size:16px}
