/* ============================================================
   JOURNAL LAYER (Nov 2026). Visual-only polish for the blog posts,
   the guides index and the area guides, so they match the rebuilt
   pages. Loaded last in <head>, after each page's own <style>.
   It changes no words and no document structure (SEO/GEO safe).
   Tokens only: no :root, no brand hex values.
   ============================================================ */

/* ---------- title band: breadcrumb + heading on navy, full bleed ---------- */
section:has(> .wrap > .crumb){padding-top:0 !important}
.crumb,
.crumb + .post-head,
.crumb + .sec-head{
  background:var(--navy);
  box-shadow:0 0 0 100vmax var(--navy);
  clip-path:inset(0 -100vmax);
}
.crumb{margin:0 !important;padding-top:44px;font-size:14px;color:var(--stone) !important}
.crumb:has(+ .post-head){margin:0 auto !important}
.crumb a{color:var(--stone) !important;text-decoration:none;border-bottom:1px solid color-mix(in srgb,var(--stone) 40%,transparent)}
.crumb a:hover{color:var(--gold) !important}
.crumb + .post-head,
.crumb + .sec-head{margin-bottom:0 !important;padding:18px 0 56px}
.crumb + .post-head h1,
.crumb + .sec-head h1{color:var(--ivory) !important}
.crumb + .post-head h1 em,
.crumb + .sec-head h1 em{color:var(--gold) !important}
.crumb + .sec-head p{color:var(--stone) !important}
.crumb + .sec-head .eyebrow,
.post-meta .cat{color:var(--gold) !important}
.post-meta{color:var(--stone) !important}
.crumb + .sec-head .eyebrow::before{background:var(--gold) !important}
/* the area guides set their hero as two columns; the band reads better as one */
.hero:has(.crumb){padding-top:0 !important}
.hero:has(.crumb) > .wrap{display:block !important}

/* ---------- one centred reading column ---------- */
.crumb:has(+ .post-head),
.post-head,
article.post,
.post-cta,
.related{max-width:720px;margin-left:auto;margin-right:auto}
.crumb + .post-head{max-width:720px}
.post-head + article.post{padding-top:44px}
.post figure.hero-shot{margin:0 0 40px}

/* ---------- reading type ---------- */
article.post p,
article.post ul.ticks li{font-size:18px;line-height:1.72}
article.post .lede-p{font-size:21px;line-height:1.55;color:var(--ink)}
article.post h2{position:relative;padding-top:22px;margin-top:56px}
article.post h2::before{content:"";position:absolute;top:0;left:0;width:44px;height:2px;background:var(--gold)}
article.post a{color:var(--gold-text);text-underline-offset:3px}
article.post a:hover{color:var(--navy)}
article.post blockquote{margin:32px 0;padding:6px 0 6px 22px;border-left:3px solid var(--gold);font-family:var(--display);font-style:italic;font-size:22px;line-height:1.45;color:var(--ink)}
article.post h3.faq-q{margin-top:0;padding-top:20px;border-top:1px solid var(--rule-strong);font-size:21px}
article.post h3.faq-q + p{margin-top:8px}
.post-sources{margin-top:40px;padding-top:18px;border-top:1px solid var(--rule);font-size:15px !important;color:var(--steel) !important}

/* tables */
.table-wrap{margin:30px 0;border:1px solid var(--rule);background:var(--surface);overflow-x:auto}
.table-wrap table{width:100%;border-collapse:collapse}
.table-wrap caption{text-align:left;padding:14px 16px 0;font-family:var(--display);font-weight:600;color:var(--ink)}
.table-wrap th{background:var(--navy);color:var(--ivory);font-weight:600;text-align:left}
.table-wrap th,.table-wrap td{padding:12px 16px;border-bottom:1px solid var(--rule);font-size:16px}

/* ---------- closing call to action: the navy card from the main pages ---------- */
.post-cta{margin-top:64px;padding:40px 36px;background:var(--navy) !important;border-top:3px solid var(--gold) !important;color:var(--stone)}
.post-cta h3{color:var(--ivory) !important}
.post-cta p{color:var(--stone) !important}

/* keep reading */
.related{margin-top:44px;padding-bottom:24px}
.related h4{font-size:14px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--gold-text)}
.related ul{list-style:none;margin-top:10px;padding:0;border-top:1px solid var(--rule-strong)}
.related li{border-bottom:1px solid var(--rule-strong)}
.related a{display:block;position:relative;padding:16px 36px 16px 0;font-family:var(--display);font-weight:600;font-size:20px;line-height:1.3;color:var(--ink);text-decoration:none}
.related a::after{content:"→";position:absolute;right:4px;top:50%;transform:translateY(-50%);color:var(--gold-text);transition:transform .2s ease}
.related a:hover{color:var(--gold-text)}
.related a:hover::after{transform:translate(4px,-50%)}

/* ---------- guides index ---------- */
.postlist{margin-top:44px}
.postlist article h2 a{text-decoration:none}
.postlist article h2 a:hover{color:var(--gold-text)}
.postlist .cat{color:var(--gold-text) !important}

/* ---------- a thin gold reading-progress line on posts (no JavaScript) ---------- */
@supports (animation-timeline: scroll()){
  body:has(article.post)::before{
    content:"";position:fixed;top:0;left:0;right:0;height:3px;z-index:100;
    background:var(--gold);transform-origin:0 50%;transform:scaleX(0);
    animation:nb-read linear both;animation-timeline:scroll(root);
  }
  @keyframes nb-read{to{transform:scaleX(1)}}
}
@media (prefers-reduced-motion:reduce){
  body:has(article.post)::before{display:none}
  .related a::after{transition:none}
}

@media (max-width:700px){
  .crumb{padding-top:32px}
  .crumb + .post-head,.crumb + .sec-head{padding-bottom:40px}
  article.post p,article.post ul.ticks li{font-size:17.5px}
  article.post .lede-p{font-size:19px}
  .post-cta{padding:30px 22px}
}

/* ---------- phone contact bar (built by /site.js; phones only) ---------- */
.mbar{display:none}
@media (max-width:759.98px){
  .mbar{display:grid;grid-template-columns:1fr 1fr;gap:10px;position:fixed;left:0;right:0;bottom:0;z-index:90;
    padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:var(--navy);border-top:1px solid var(--gold);
    transform:translateY(110%);transition:transform .25s ease}
  .mbar.on{transform:none}
  .mbar a{display:flex;align-items:center;justify-content:center;min-height:46px;font-family:var(--body);font-weight:600;font-size:16px;text-decoration:none}
  .mbar-text{border:1px solid var(--gold);color:var(--ivory)}
  .mbar-talk{background:var(--action);color:#fff}
  body.has-mbar footer{padding-bottom:90px}
}
@media (prefers-reduced-motion:reduce){.mbar{transition:none}}
.foot-brokerage a{color:inherit;text-decoration:none;border-bottom:1px solid color-mix(in srgb,currentColor 40%,transparent)}
.foot-brokerage a:hover{color:var(--gold)}
