
/* ═══════════════════════════════════════════════════════════════════
   UNRETIRED · COACHING SITE · DESIGN LAYER v28
   Sits on top of the v27.6 baseline. No copy is changed.
   1 grid · 2 colour · 3 type · 4 touch · 5 focus · 6 chrome · 7 motion · 8 print
   ═══════════════════════════════════════════════════════════════════ */
:root{
  --u-c:1120px;            /* one container for the whole site */
  --u-g:40px;              /* gutter */
  --u-measure:680px;       /* reading width */
  --u-green:#2E7D61;       /* emphasis colour on light backgrounds (4.5:1 on ivory) */
  --u-edge:max(var(--u-g), calc((100% - var(--u-c)) / 2 + var(--u-g)));
}
html{scroll-behavior:auto;}
body{font-size:18px;line-height:1.7;text-rendering:optimizeLegibility;-webkit-text-size-adjust:100%;}
img{max-width:100%;height:auto;}

/* ── 1 · GRID ───────────────────────────────────────────────────────
   Before: three different left edges (680 centred, 760 centred, 1080 centred).
   After: one container. Text keeps a comfortable reading width, left-aligned
   to the same edge as the logo and the headings. */
.w,.ww{max-width:var(--u-c);padding-left:var(--u-g);padding-right:var(--u-g);}
.w > *{max-width:var(--u-measure);}
.w > .editorial-quote,.w > blockquote{max-width:var(--u-measure);}
.ww > .body-t,.ww > p,.ww .editorial-note,.ww .soft-note,.ww > .ed-intro{max-width:720px;margin-left:0;margin-right:auto;}
#nav{padding-left:var(--u-edge);padding-right:var(--u-edge);}
.sec,.sec-md{padding-top:104px;padding-bottom:104px;}
.sec.content-sec{padding-top:96px!important;padding-bottom:96px!important;}

/* Home hero: left-aligned to the grid. The brand mark sits at the lower right, beside the paragraph and button, clear of the headline. */
.hero{min-height:min(100svh,820px);padding:112px 0 88px;position:relative;overflow:hidden;}
.hero__inner{max-width:var(--u-c);width:100%;padding:0 var(--u-g);position:relative;z-index:1;}
.hero__inner > *{max-width:640px;}
.hero__inner > .disp{max-width:860px;}
.hero__sub{line-height:1.65;color:#3F4A56;max-width:600px;margin-top:28px;}
.hero__mark{position:absolute;right:var(--u-edge);bottom:88px;width:min(300px,24vw);height:auto;z-index:0;pointer-events:none;}
@media (max-width:1100px){.hero__mark{display:none;}}   /* no room beside the text below this width */

/* Inner page heroes: same edge as everything else; no orphaned word on line two */
.page-hero{text-align:left;padding:128px var(--u-edge) 84px;}
.page-hero .phl{margin-left:0;margin-right:0;max-width:880px;text-wrap:balance;}
.page-hero .page-hero__sub{margin-left:0;margin-right:0;max-width:640px;}
.page-hero .hero__acts{justify-content:flex-start!important;}
.page-hero.gd{padding-left:var(--u-edge);padding-right:var(--u-edge);}

/* Cards and grids: never narrower than the container, never wider than text needs */
.editorial-grid,.entry-grid,.offering-cards,.q-grid,.success-grid{max-width:100%;}

/* header logo: wordmark only on navy (the white square read as a blank block at 39px) */
.site-logo--header{height:30px;width:auto;}
@media (max-width:900px){.site-logo--header{height:26px;}}

/* ── 2 · COLOUR ─────────────────────────────────────────────────────
   Brand rule: gold is never text on a light background (2.1–2.3 : 1).
   Emphasis on light = Evergreen. Gold stays on navy and as a short accent rule. */
.ey,.tcard__cat,.tc__pill,.offer-number,.reader-ey{color:var(--u-green);}
.ey{display:flex;align-items:center;gap:12px;}
.ey::before{content:"";flex:none;width:28px;height:2px;background:var(--gold);}
.em,.disp .em,.hl .em,.entry__feel em{color:var(--u-green);}
/* …and gold returns wherever the background is navy */
.ey.od,.od .ey,.page-hero .ey,.cost .ey,.cta-sec .ey,.bridge-strip .ey,.offer-wrap .ey,footer .ey{color:var(--gold);}
.hl.od .em,.phl .em,.cost__hl .em,.cta-sec .em,.offer-left__hl em,.bridge-strip .em,.page-hero .em{color:var(--gold);}
.page-hero.gd .phl .em{color:var(--u-green);}
.hero__note,.editorial-note,.soft-note,.small-fact{color:#3F4A56;}

/* ── 3 · TYPE ───────────────────────────────────────────────────────
   Nothing under 12px. Labels 12–12.5px. Reading text 17–18px at 1.7. */
.ey{font-size:12.5px;letter-spacing:.18em;margin-bottom:22px;}
.ey.od{font-size:12.5px;}
.ed-card__meta{font-size:12px!important;letter-spacing:.06em;}
.offer-number,.reader-ey{font-size:12.5px;letter-spacing:.14em;}
.entry__leads,.cost-gl,.fact__label,.offer-delivs__label,.stage__lbl,.session__meta,.bridge-label{font-size:12px;}
.fcard__title,.fcard-row__lbl{font-size:12px;}
.fcard-row__val{font-size:14px;}
.hl{line-height:1.12;text-wrap:balance;margin-bottom:28px;}
.disp,.phl{text-wrap:balance;}
.lead{line-height:1.65;}
.body-t{line-height:1.75;}
.body-t p+p{margin-top:18px;}
.question-list li{line-height:1.5;}
.editorial-note,.soft-note,.small-fact{font-size:15.5px;line-height:1.65;}
p,li{text-wrap:pretty;}

/* ── 4 · TOUCH ──────────────────────────────────────────────────────
   Text links keep their look but get a 44px tall target. */
.btn-gh{display:inline-flex;align-items:center;min-height:44px;padding:0 0 4px;border-bottom:0;position:relative;line-height:1.4;}
.btn-gh::after{content:"";position:absolute;left:0;right:0;bottom:8px;height:1.5px;background:rgba(31,58,95,.28);transition:background 200ms ease;}
.btn-gh:hover::after{background:var(--gold);}
.btn-gh.od::after{background:rgba(255,255,255,.35);}
.linkline a,.editorial-note a,.soft-note a{display:inline-block;padding:10px 0;}
.ed-filter,.tfil{min-height:44px;padding-left:18px;padding-right:18px;}
.ed-card__link,.reader-back,.fin-coach-post-source a{display:inline-flex;align-items:center;min-height:44px;}
.reader-article{max-width:760px;}
.coaching-original-post{font-size:18px;line-height:1.75;max-width:680px;}
.ed-filterbar{gap:10px;}
.faq__q{min-height:52px;padding-top:14px;padding-bottom:14px;}

/* ── 5 · FOCUS ──────────────────────────────────────────────────────
   The baseline ring was gold on ivory (invisible). Two-tone ring works on any background. */
:focus-visible{outline:3px solid #1F3A5F;outline-offset:3px;box-shadow:0 0 0 2px #fff;border-radius:4px;}
#nav :focus-visible,.page-hero :focus-visible,.cost :focus-visible,.cta-sec :focus-visible,.bridge-strip :focus-visible,.offer-wrap :focus-visible,footer :focus-visible,.fcard :focus-visible{outline-color:var(--gold);box-shadow:none;}
.u-skip{position:fixed;left:16px;top:-120px;z-index:500;background:#fff;color:#1F3A5F;padding:14px 20px;border-radius:8px;font-weight:600;text-decoration:none;box-shadow:0 8px 30px rgba(0,0,0,.25);transition:top 150ms ease;}
.u-skip:focus{top:14px;}
.pg > :first-child h1:focus,.pg h1:focus{outline:none;box-shadow:none;}

/* ── 6 · CHROME ─────────────────────────────────────────────────────
   Navigation: current page is marked; the bar steps aside while reading on small screens. */
#nav{transition:transform 260ms ease,box-shadow 200ms ease;}
.nav-ul > li > a{position:relative;}
.nav-ul > li > a:not(.nav-cta)::after{content:"";position:absolute;left:14px;right:14px;bottom:14px;height:2px;background:var(--gold);transform:scaleX(0);transform-origin:left;transition:transform 220ms ease;}
.nav-ul > li > a:not(.nav-cta):hover::after,.nav-ul > li > a[aria-current="page"]::after{transform:scaleX(1);}
.nav-ul > li > a[aria-current="page"]{color:#fff;}
#nav.u-hide{transform:translateY(-100%);}
.nav-tog{min-width:48px;min-height:48px;align-items:center;justify-content:center;}
@media (max-width:900px){
  :root{--u-g:24px;}
  .hero{min-height:0;padding:104px 0 64px;}
  .page-hero{padding:104px var(--u-g) 60px;}
  .sec.content-sec{padding-top:64px!important;padding-bottom:64px!important;}
  .sec,.sec-md{padding-top:64px;padding-bottom:64px;}
  .site-logo--header{height:26px;}
}
/* The baseline only collapsed the menu at 660px, so between 660 and ~1100px the menu ran off the screen.
   v28 collapses it below 1180px, the width at which logo + seven links + button no longer fit. */
@media (max-width:1180px){
  .nav-tog{display:flex;}
  .nav-ul{display:none;}
  .nav-ul.open{display:flex;flex-direction:column;align-items:stretch;position:fixed;top:64px;left:0;right:0;background:var(--navy);padding:12px var(--u-g) 20px;gap:0;border-top:1px solid rgba(255,255,255,.08);z-index:199;max-height:calc(100vh - 64px);overflow-y:auto;}
  .nav-ul > li{display:block;}
  .nav-ul.open > li > a{padding:15px 4px;font-size:16px;text-align:left;border-bottom:1px solid rgba(255,255,255,.07);}
  .nav-ul > li > a::after{display:none!important;}
  .nav-ul > li > a[aria-current="page"]{color:var(--gold);}
  .nav-ul.open > li > a.nav-cta{display:block;text-align:center;margin:14px 0 4px;padding:15px 18px;font-size:16px!important;border-bottom:0;}
}
@media (min-width:1181px){
  .nav-ul > li > a{padding-left:10px;padding-right:10px;}
  .nav-ul > li > a:not(.nav-cta)::after{left:10px;right:10px;}
  .nav-cta{margin-left:8px;}
  #nav{gap:20px;}
}
}

/* the call-to-action in the bar floats inside it instead of filling it edge to edge */
.nav-ul > li{display:flex;align-items:center;}
.nav-ul > li > a.nav-cta{padding:11px 20px;line-height:1.2;border-radius:6px;}

/* reading aids */
#u-progress{position:fixed;left:0;top:0;height:3px;width:0;background:var(--gold);z-index:300;pointer-events:none;transition:width 80ms linear;}
#u-top{position:fixed;right:20px;bottom:20px;z-index:150;width:48px;height:48px;border-radius:50%;border:1px solid rgba(31,58,95,.25);background:#fff;color:#1F3A5F;font-size:20px;line-height:1;cursor:pointer;box-shadow:0 6px 20px rgba(31,58,95,.16);opacity:0;pointer-events:none;transform:translateY(8px);transition:opacity 200ms ease,transform 200ms ease;}
#u-top.show{opacity:1;pointer-events:auto;transform:none;}
#u-live{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;}

/* ── 7 · MOTION ───────────────────────────────────────────────────── */
@keyframes u-in{from{opacity:0;transform:translateY(10px);}to{opacity:1;transform:none;}}
.pg.on{animation:u-in 320ms ease both;}
@media (prefers-reduced-motion:reduce){
  .pg.on{animation:none;}
  #nav,#u-top,#u-progress,.u-skip{transition:none!important;}
  html{scroll-behavior:auto!important;}
}

/* ── 8 · PRINT ────────────────────────────────────────────────────── */
@media print{
  #nav,.nav-tog,#u-progress,#u-top,.u-skip,.cta-sec,.bridge-strip{display:none!important;}
  .pg{display:none!important;}.pg.on{display:block!important;animation:none!important;}
  body{font-size:12pt;color:#000;background:#fff;}
  .page-hero,.hero{background:#fff!important;color:#000!important;padding:12pt 0!important;min-height:0!important;}
  .page-hero .phl,.page-hero .page-hero__sub,.hero .disp{color:#1F3A5F!important;}
  a{color:#000!important;text-decoration:underline;}
  .fi{opacity:1!important;transform:none!important;}
}

