/*
Theme Name: Finance by JK
Theme URI: https://financebyjk.com/
Author: Finance by JK
Description: Finance by JK with editorial category archives, interactive illustrations, a dynamic latest-stories shelf, bundled articles, and an opt-in content importer.
Version: 1.3.2
Requires at least: 6.2
Tested up to: 6.9
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: finance-by-jk
Tags: blog, custom-logo, custom-colors, featured-images, translation-ready, responsive-layout
*/

:root {
  --navy:#0a1c2b; --ink:#101e2b; --cream:#faf8f4; --paper:#fffefa;
  --muted:#53606b; --gold:#b58b47; --light-gold:#e3bc74;
  --serif:Georgia,"Palatino Linotype","Book Antiqua",serif;
  --sans:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:95px}
body{margin:0;background:var(--cream);color:var(--ink);font:16px/1.6 var(--sans)}
a{color:inherit;text-decoration:none}
a:hover{color:#987036} img{max-width:100%;height:auto}
button,input{font:inherit}
.wrap{width:min(1430px,calc(100% - 104px));margin-inline:auto}
.serif{font-family:var(--serif)}
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link{position:absolute;z-index:50;left:12px;top:-90px;background:var(--light-gold);padding:8px 16px}
.skip-link:focus{top:10px}
:where(a,button):focus-visible{outline:2px solid var(--gold);outline-offset:5px}

/* Quiet, balanced masthead. Sticky so the scroll-activated logo remains visible. */
.site-header{background:rgba(255,254,250,.98);position:sticky;top:0;z-index:30;transition:box-shadow .2s}
.site-header.is-scrolled{box-shadow:0 4px 18px rgba(7,24,36,.07)}
.admin-bar .site-header{top:32px}
.header-inner{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:26px}
.brand{display:inline-flex;align-items:center;gap:14px;white-space:nowrap;flex-shrink:0}
.brand-logo{display:flex;align-items:center;justify-content:center;width:62px;height:43px;flex:0 0 62px;transform-origin:center center;will-change:transform}
.brand-logo svg{display:block;width:62px;height:auto;max-height:39px;overflow:visible}
.logo-stroke{fill:none;stroke:var(--gold);stroke-width:5;stroke-linecap:round;stroke-linejoin:round}
.brand-divider{display:none}
.brand-wordmark{display:inline-flex;align-items:baseline;gap:.23em;font:normal clamp(22px,2.1vw,32px)/1 var(--serif);letter-spacing:-.036em}
.brand-finance{letter-spacing:-.038em}
.brand-wordmark em{color:#ab792e;font-weight:normal;font-style:italic;letter-spacing:-.055em}
.brand-logo.is-bouncing{animation:fbjk-logo-bounce .72s cubic-bezier(.22,.69,.23,1) both}
@keyframes fbjk-logo-bounce{
  0%,100%{transform:translateY(0)}
  36%{transform:translateY(-7px)}
  62%{transform:translateY(2px)}
  80%{transform:translateY(-2px)}
}
.main-nav,.fbjk-menu{display:flex;align-items:center;gap:clamp(16px,2.1vw,33px)}
.main-nav a{font-size:13px;font-weight:600;white-space:nowrap;padding:24px 0}
.main-nav a:hover,.main-nav a:focus-visible,.main-nav .is-active,.main-nav .current-menu-item>a,.fbjk-menu .current-menu-item>a{color:#a57734}
.main-nav .is-active:after,.fbjk-menu .current-menu-item>a:after{display:none}
.fbjk-menu{list-style:none;padding:0;margin:0}
.fbjk-menu li{padding:0;margin:0}
.menu-toggle{display:none;border:1px solid #e6dfd4;background:transparent;border-radius:5px;padding:7px 12px;color:var(--ink);cursor:pointer}

/* Calm hero. Heading is an inline flex row to prevent artificial gaps. */
.hero{position:relative;min-height:420px;background:var(--navy);color:#fff;overflow:hidden}
.hero:before{content:"";position:absolute;inset:0;background-image:linear-gradient(90deg,rgba(5,22,35,.98) 0%,rgba(8,27,40,.95) 25%,rgba(9,29,43,.70) 50%,rgba(4,17,28,.11) 85%),url('assets/img/financial-district.webp');background-position:center,center 45%;background-size:cover}
.hero-inner{position:relative;z-index:1;min-height:420px;padding-block:75px 56px;display:flex;align-items:flex-start;justify-content:space-between;gap:32px}
.hero-copy{max-width:850px}
.eyebrow{letter-spacing:.17em;text-transform:uppercase;font-size:11px;font-weight:700;color:var(--light-gold)}
.hero-eyebrow{margin-bottom:13px}
.hero-eyebrow:after,.section-small-heading:after{display:none}
.hero h1{display:flex;align-items:baseline;column-gap:.16em;row-gap:0;flex-wrap:wrap;font:normal clamp(48px,5.2vw,78px)/1.12 var(--serif);letter-spacing:-.05em;margin:0 0 16px}
.hero-title-lead,.hero-title-accent{white-space:nowrap}
.hero h1 em{color:var(--light-gold);font-style:italic}
.hero p{font:clamp(18px,1.5vw,22px)/1.48 var(--serif);max-width:640px;margin:0 0 30px;color:#f3f1ec}
.small-rule{display:none}
.btn{display:inline-flex;align-items:center;justify-content:center;padding:12px 25px;border-radius:5px;border:1px solid #e3bc77;background:linear-gradient(135deg,#e5c27b,#cfa45d);font:700 16px var(--serif);color:var(--navy);cursor:pointer;transition:transform .15s,box-shadow .15s}
.btn:hover{color:var(--navy);transform:translateY(-2px);box-shadow:0 6px 18px #0002}
.hero-note{align-self:flex-end;text-align:right;color:#f9f1e3;letter-spacing:.10em;text-transform:uppercase;font-size:10px;font-weight:700;min-width:190px}
.hero-note span{display:block;margin-top:7px;color:var(--light-gold);letter-spacing:.06em}

/* Three featured stories, no vertical rule clutter. */
.featured{padding:37px 0;background:#fbfaf7}
.feature-row{display:grid;grid-template-columns:130px repeat(3,minmax(0,1fr));gap:28px;align-items:center}
.section-small-heading{font-size:12px;line-height:1.75;letter-spacing:.15em;text-transform:uppercase;font-weight:800}
.feature-tile{display:flex;align-items:center;gap:15px;min-width:0;border:0;padding:0}
.feature-tile:first-of-type{border:0;padding:0}
.feature-tile img{width:118px;height:109px;object-fit:cover;border-radius:4px;flex-shrink:0}
.feature-tile h2{font:normal 23px/1.13 var(--serif);letter-spacing:-.037em;margin:0 0 8px}
.feature-tile p{font:13px/1.5 var(--sans);color:#4c5359;margin:0 0 9px}
.pill{display:inline-block;text-transform:uppercase;letter-spacing:.13em;font-size:10px;font-weight:750;color:#987039}

/* Editorial columns separated by spacing, not decorative lines. */
.main-sections{padding:42px 0 51px;background:#fffefa}
.two-columns{display:grid;grid-template-columns:1fr 1fr;gap:55px}
.editorial-block+.editorial-block{border:0;padding-left:0}
.heading-line{display:block;margin:0 0 9px}
.heading-line h2{font:normal clamp(27px,2.4vw,37px)/1.16 var(--serif);letter-spacing:-.052em;margin:0}
.heading-line span{display:none}
.block-desc{font:15px/1.5 var(--serif);margin:0 0 26px;color:#51565a}
.editorial-body{display:grid;grid-template-columns:43% 1fr;gap:20px;align-items:start}
.editorial-body img{width:100%;height:166px;object-fit:cover;border-radius:5px}
.content-title{font:normal 24px/1.23 var(--serif);letter-spacing:-.038em;margin:0 0 9px}
.content-desc{font-size:13px;color:#59616a;margin:0 0 14px}
.read-label{font-size:10px;letter-spacing:.13em;text-transform:uppercase;font-weight:800;color:#987039}
.fine-line{display:none}

/* Author's note and the Letter live on the same canvas (no separate panel). */
.publication-note{padding:46px 0 57px;background:#faf8f4}
.publication-note-inner{display:grid;grid-template-columns:1.06fr 1fr;gap:74px;align-items:start}
.note-title{font:normal clamp(26px,2.75vw,36px)/1.14 var(--serif);letter-spacing:-.04em;margin:8px 0 12px}
.publication-note p{font-size:14px;line-height:1.65;max-width:550px;color:#53606a;margin:0 0 12px}
.letter-card{display:flex;align-items:flex-start;gap:17px;padding:0;background:transparent;border:0;border-radius:0}
.letter-icon{display:flex;align-items:center;justify-content:center;width:39px;height:42px;flex:none;color:#af8748;margin-top:2px}
.letter-icon svg{width:36px;height:36px}
.letter-card h3{font:normal clamp(26px,2.5vw,34px)/1.17 var(--serif);letter-spacing:-.042em;margin:0 0 9px}
.letter-card p{font-size:14px;line-height:1.65}
.letter-status{margin-top:5px}

/* Footer and standard WordPress article/page templates. */
.site-footer{background:var(--navy);color:#dce1e3;padding:28px 0}
.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:20px}
.footer-inner p{font-size:12px;margin:0;color:#c0c8cb}
.footer-brand{font:normal 22px var(--serif);color:#f9f7f1}
.footer-brand em{color:var(--light-gold)}
.footer-end{font-size:12px;color:#bec6c9}
.footer-end a{color:#f4d69d}
.content-main{min-height:68vh;background:var(--paper);padding:56px 0 80px}
.content-width{max-width:820px;margin-inline:auto}
.content-main h1{font:normal clamp(38px,4.3vw,62px)/1.13 var(--serif);letter-spacing:-.04em}
.content-main h2,.entry-content h2{font-family:var(--serif)}
.content-main .post-card{padding:26px 0;border-bottom:1px solid #e9e6e0}
.post-card h2{font:normal 29px var(--serif);margin:4px 0}
.post-card p{margin:4px 0 10px}
.post-meta{font-size:13px;letter-spacing:.05em;color:#788087}
.entry-content{font:19px/1.8 var(--serif)}
.entry-content p{margin:0 0 1.2em}
.entry-content a{text-decoration:underline;text-underline-offset:3px}
.entry-content img{max-width:100%}
.entry-content blockquote{border-left:3px solid var(--gold);padding-left:24px;color:#48505b}
.entry-content figure{max-width:100%}
.entry-content table{max-width:100%;display:block;overflow:auto}
.post-navigation{display:flex;justify-content:space-between;gap:22px;margin-top:42px;border-top:1px solid #e9e6e0;padding-top:20px}
.error-404{text-align:center;padding:80px 20px}
.wp-block-image img{max-width:100%;height:auto}
.alignwide{max-width:1100px;margin-left:auto;margin-right:auto}
.alignfull{width:100vw;position:relative;left:50%;right:50%;margin-left:-50vw;margin-right:-50vw}

@media(max-width:1240px){
  .wrap{width:min(1280px,calc(100% - 60px))}
  .brand-wordmark{font-size:26px}
  .main-nav,.fbjk-menu{gap:17px}
  .main-nav a{font-size:12px}
  .feature-row{grid-template-columns:106px repeat(3,minmax(0,1fr));gap:18px}
  .feature-tile{gap:12px}
  .feature-tile img{width:90px;height:98px}
  .feature-tile h2{font-size:19px}
  .feature-tile p{font-size:12px}
  .hero h1{font-size:clamp(44px,5vw,66px)}
}
@media(max-width:940px){
  .header-inner{min-height:70px}
  .menu-toggle{display:block}
  .main-nav{display:none;position:absolute;top:100%;left:0;right:0;background:#fffefa;flex-direction:column;align-items:stretch;padding:10px 30px 22px;gap:0;box-shadow:0 9px 15px #091c2b12}
  .main-nav.is-open{display:flex}
  .main-nav a{display:block;padding:13px 0;font-size:14px}
  .fbjk-menu{display:flex;flex-direction:column;gap:0;align-items:stretch}
  .hero-inner{min-height:405px;padding:64px 0 50px}
  .hero-note{display:none}
  .hero h1{font-size:clamp(48px,7vw,70px)}
  .feature-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}
  .section-small-heading{grid-column:1/-1}
  .feature-tile{flex-direction:column;align-items:flex-start}
  .feature-tile img{width:100%;height:130px}
  .feature-tile h2{font-size:21px}
  .two-columns{gap:30px}
  .editorial-body{grid-template-columns:1fr}
  .editorial-body img{height:160px}
  .publication-note-inner{gap:32px}
}
@media(max-width:650px){
  .wrap{width:calc(100% - 36px)}
  .admin-bar .site-header{top:0}
  .brand{gap:8px}
  .brand-logo{width:44px;height:37px;flex-basis:44px}
  .brand-logo svg{width:44px;height:auto}
  .brand-wordmark{gap:.18em;font-size:clamp(19px,5vw,26px)}
  .menu-toggle{font-size:12px;padding:7px 10px}
  .hero{min-height:420px}
  .hero:before{background-image:linear-gradient(90deg,rgba(5,22,35,.98),rgba(6,24,37,.87) 65%,rgba(6,24,37,.53)),url('assets/img/financial-district.webp');background-position:center,57% center}
  .hero-inner{min-height:420px;padding:58px 0 50px}
  .hero h1{font-size:clamp(42px,8.6vw,58px);column-gap:.14em;line-height:1.15}
  .hero p{font-size:18px}
  .hero-eyebrow{font-size:10px}
  .featured{padding:32px 0}
  .feature-row{grid-template-columns:1fr;gap:24px}
  .section-small-heading{grid-column:auto}
  .feature-tile{flex-direction:row;align-items:center;gap:18px}
  .feature-tile img{width:105px;height:107px;flex:none}
  .feature-tile h2{font-size:22px}
  .feature-tile p{font-size:12px}
  .main-sections{padding:40px 0}
  .two-columns{grid-template-columns:1fr;gap:40px}
  .heading-line h2{font-size:30px}
  .editorial-body{grid-template-columns:40% 1fr;gap:16px}
  .editorial-body img{height:152px}
  .publication-note{padding:40px 0}
  .publication-note-inner{grid-template-columns:1fr;gap:39px}
  .letter-card{gap:12px}
  .footer-inner{flex-direction:column;align-items:flex-start;gap:8px}
  .content-main{padding:36px 0 65px}
  .entry-content{font-size:17px}
}
@media(max-width:370px){
  .brand-wordmark{font-size:18px}
  .hero h1{font-size:40px}
  .feature-tile img{width:92px;height:96px}
  .editorial-body{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){
  *,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}
}

/* Finance by JK v1.2: controlled refinement of v1.1, not a new layout. */
.brand-wordmark{letter-spacing:-.035em}
.hero-note span{opacity:.86}
.featured{padding:31px 0;background:#fdfbf8}
.feature-row{grid-template-columns:128px repeat(3,minmax(0,1fr));gap:20px}
.feature-tile{gap:13px;position:relative;align-items:center;border-radius:6px;transition:background .25s;cursor:pointer}
.feature-tile:hover,.feature-tile:focus-visible{color:var(--ink);background:rgba(179,140,77,.045)}
.feature-art{width:120px;height:112px;flex:none;display:block;position:relative;overflow:hidden;border-radius:5px;background:#0b2737;isolation:isolate;box-shadow:0 1px 2px #0b25302a}
.feature-art img{display:block;width:100%;height:100%;object-fit:cover;border-radius:0;transition:transform .85s cubic-bezier(.22,.61,.24,1),filter .8s ease}
.feature-tile img{width:100%;height:100%;flex-shrink:initial}
.feature-copy{display:block;min-width:0}
.feature-heading{font:normal 21px/1.15 var(--serif);letter-spacing:-.035em;display:block;margin-bottom:7px}
.feature-description{display:block;font:12px/1.52 var(--sans);color:#4f5b63}
.feature-link-label{display:inline-block;margin-top:9px;font-size:10px;letter-spacing:.08em;color:#9b6d32;font-weight:750}
.feature-link-label span{font-size:16px;line-height:0;vertical-align:-1px;transition:transform .25s;display:inline-block}
.feature-tile:hover .feature-link-label span{transform:translateX(3px)}
.feature-art:after{content:"";position:absolute;inset:0;pointer-events:none;opacity:0;transition:opacity .7s}
.feature-wealth .feature-art:after{background:radial-gradient(circle at 50% 41%,rgba(37,208,112,.12) 0%,transparent 53%),radial-gradient(ellipse at 51% 77%,rgba(248,199,110,.19),transparent 48%)}
.feature-wealth .wealth-light{position:absolute;inset:0;pointer-events:none;opacity:0;background:linear-gradient(115deg,transparent 37%,rgba(250,223,158,.11) 50%,transparent 64%);transform:translateX(-50%);transition:transform .9s ease,opacity .65s}
.feature-wealth:is(:hover,:focus-visible,.is-peeking) .feature-art img{transform:translateY(-3px) scale(1.025);filter:brightness(1.09) saturate(1.09)}
.feature-wealth:is(:hover,:focus-visible,.is-peeking) .feature-art:after{opacity:1}
.feature-wealth:is(:hover,:focus-visible,.is-peeking) .wealth-light{opacity:1;transform:translateX(65%)}
.feature-overlay{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible}
.graph-line,.graph-glow{fill:none;stroke:#f1ca85;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:240;stroke-dashoffset:240;opacity:0;transition:stroke-dashoffset 1.15s cubic-bezier(.22,.73,.22,1),opacity .22s ease}
.graph-glow{stroke-width:6.5;filter:blur(2.8px)}
.graph-point{fill:#f8dfac;opacity:0;transition:opacity .3s .9s}
.feature-market:is(:hover,:focus-visible,.is-peeking) .graph-line,.feature-market:is(:hover,:focus-visible,.is-peeking) .graph-glow{opacity:1;stroke-dashoffset:0}
.feature-market:is(:hover,:focus-visible,.is-peeking) .graph-glow{opacity:.6}
.feature-market:is(:hover,:focus-visible,.is-peeking) .graph-point{opacity:1}
.feature-market:is(:hover,:focus-visible,.is-peeking) .feature-art img{filter:brightness(1.14)}
.road-glow{fill:none;stroke:#ffe2a8;stroke-width:1.9;stroke-linecap:round;stroke-dasharray:380;stroke-dashoffset:380;opacity:0;filter:drop-shadow(0 0 2px #d8a158);transition:stroke-dashoffset 1.15s cubic-bezier(.22,.73,.22,1),opacity .28s}
.economy-halo{fill:none;stroke:#f7daaa;stroke-width:.85;opacity:0;transition:opacity 1s,transform 1s;transform-origin:50px 32px}
.feature-economy:is(:hover,:focus-visible,.is-peeking) .road-glow{stroke-dashoffset:0;opacity:.75}
.feature-economy:is(:hover,:focus-visible,.is-peeking) .economy-halo{opacity:.8;transform:rotate(4deg)}
.feature-economy:is(:hover,:focus-visible,.is-peeking) .feature-art img{filter:brightness(1.09) saturate(1.03);transform:scale(1.015)}
.editorial-body{color:var(--ink)}
.editorial-body .content-title{display:block}
.editorial-body .content-desc{display:block}
.editorial-body:hover .content-title{color:#987036}
.editorial-body .read-label{display:inline-block;margin-top:5px}
.publication-note{padding:42px 0 48px}
.publication-note .author-hello{font:normal 18px/1.3 var(--serif);color:var(--ink);margin-bottom:9px}
.publication-note-inner{gap:70px}
.publication-note p{font-size:13.5px;line-height:1.65}
.quiet-link{display:inline-flex;align-items:center;gap:6px;color:#976d35;text-transform:uppercase;letter-spacing:.075em;font-size:11px;font-weight:750;margin-top:4px}
.quiet-link:hover{color:#64491e}
.quiet-link span{font-size:19px;line-height:0;transition:transform .18s}
.quiet-link:hover span{transform:translateX(4px)}
.letter-note{display:block;font-size:11px;color:#727d84;letter-spacing:.015em}
/* Category archives and article grids */
.archive-main{padding-top:37px}
.breadcrumbs{display:flex;flex-wrap:wrap;gap:9px;align-items:center;color:#768089;font-size:12px;margin:0 0 28px}
.breadcrumbs a{color:#987039}
.archive-hero{display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:42px;align-items:center;background:#faf8f4;border:1px solid #eee9df;border-radius:9px;padding:34px 40px;margin-bottom:38px}
.archive-hero .eyebrow{color:#a87836;margin-bottom:9px}
.archive-hero h1{font:normal clamp(38px,4vw,58px)/1.16 var(--serif);margin:0 0 11px;letter-spacing:-.04em}
.archive-hero p{max-width:650px;color:#586570;font-size:16px;line-height:1.6;margin:0}
.archive-hero img{width:190px;height:154px;object-fit:cover;border-radius:7px}
.archive-section-kicker{font-size:11px;letter-spacing:.16em;color:#a87d3e;text-transform:uppercase;font-weight:800;margin-bottom:17px}
.article-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;align-items:start}
.fjk-post-card{background:#fffefa;border:1px solid #ece7de;border-radius:9px;overflow:hidden;height:100%;transition:box-shadow .25s,transform .25s}
.fjk-post-card:hover{box-shadow:0 9px 24px #06182712;transform:translateY(-2px)}
.article-cover{display:block;background:#0f2b3a;aspect-ratio:16/10;overflow:hidden}
.article-cover img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .55s}
.fjk-post-card:hover .article-cover img{transform:scale(1.025)}
.fjk-post-card .card-copy{padding:23px 23px 25px}
.card-eyebrow,.article-meta{font-size:11px;letter-spacing:.065em;color:#79818a}
.fjk-post-card h2{font:normal 26px/1.23 var(--serif);letter-spacing:-.04em;margin:11px 0}
.fjk-post-card p{font-size:13px;color:#647078;line-height:1.6;margin:0 0 17px}
.fjk-empty-state{max-width:680px;margin:26px auto 80px;text-align:center;padding:62px 36px;border:1px solid #eee8de;background:#faf8f4;border-radius:10px}
.fjk-empty-state .empty-mark{font:normal 48px/1 var(--serif);color:#b58947;margin-bottom:12px}
.fjk-empty-state h2{font:normal clamp(27px,3vw,38px)/1.2 var(--serif);letter-spacing:-.04em;margin:0 0 14px}
.fjk-empty-state p{color:#66717a;font-size:15px;line-height:1.65;margin:0 auto 23px;max-width:510px}
.fjk-pagination{margin-top:35px}
/* Article styling retains supplied paragraphs, headings, diagrams and source captions. */
.story-main,.page-main{background:#fffefa;padding-top:35px}
.content-main .article-header h1{font:normal clamp(40px,5vw,64px)/1.15 var(--serif);letter-spacing:-.045em;margin:14px 0 16px}
.article-header .eyebrow,.page-main .eyebrow{color:#b18447}
.article-subtitle{font:italic clamp(18px,2vw,24px)/1.5 var(--serif);color:#546170;max-width:760px;margin:0 0 20px}
.article-meta{display:flex;gap:10px;flex-wrap:wrap;border-bottom:1px solid #eae5db;padding-bottom:26px;margin-bottom:30px}
.fjk-article-content{font-size:17px;line-height:1.8;color:#293640;font-family:var(--serif)}
.fjk-article-content p{margin:0 0 1.15em}
.fjk-article-content h2{font:normal 30px/1.23 var(--serif);letter-spacing:-.025em;margin:35px 0 12px;color:var(--ink)}
.fjk-article-content h3{font:600 18px/1.4 var(--sans);margin:24px 0 12px;color:var(--ink)}
.fjk-figure{max-width:100%;margin:30px auto 35px;clear:both;text-align:center}
.fjk-figure img{display:block;margin:0 auto;max-width:100%;width:auto;height:auto;border-radius:6px;object-fit:contain}
.fjk-figure figcaption{font:12px/1.55 var(--sans);color:#7a8287;margin:11px auto 0;max-width:780px}
.fjk-article-content .fjk-source-note{font:12px/1.6 var(--sans);color:#7b858c;margin:13px 0 24px}
.fjk-story-lead{display:grid;grid-template-columns:1.02fr .88fr;gap:27px;align-items:start;background:#faf9f6;padding:22px;border-radius:10px;margin-bottom:34px;border:1px solid #eee9e1}
.fjk-story-lead .fjk-figure{margin:0}
.fjk-story-lead .fjk-figure img{max-height:330px;width:100%;object-fit:contain;object-position:center top}
.fjk-story-lead .fjk-series{font:700 11px/1.5 var(--sans);letter-spacing:.12em;text-transform:uppercase;color:#a37a3e;margin:0 0 9px}
.fjk-story-lead h2{margin:0 0 13px;font-size:29px}
.fjk-story-lead p:not(.fjk-series){font:15px/1.7 var(--serif);color:#4b5862}
.fjk-stat strong{display:block;color:#167c5b;font:600 27px var(--sans)}
.fjk-stat span{font:12px var(--sans);color:#7b838b}
.fjk-inline-chart{font-family:var(--sans);background:#fafbfb;border-radius:8px;border:1px solid #edf1ef;padding:20px 22px;margin:25px 0 30px}
.fjk-inline-chart h3{font:700 16px var(--sans);margin:0 0 17px}
.fjk-chart-row{margin:13px 0}
.fjk-chart-label{display:flex;justify-content:space-between;gap:16px;font:12px var(--sans);color:#44535f;margin-bottom:7px}
.fjk-chart-label strong{font-size:14px;color:#167a57}
.fjk-chart-track{height:17px;background:#e5ebef;border-radius:2px;overflow:hidden}
.fjk-chart-bar{height:100%;background:#1f8a67}
.fjk-chart-row:nth-of-type(2) .fjk-chart-bar{background:#9ab9c6}
.fjk-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:15px 0 11px}
.fjk-metric{padding:18px 12px;background:#f4f6f5;text-align:center;border-radius:4px}
.fjk-metric strong{display:block;font:700 clamp(20px,2.8vw,27px) var(--sans);color:#15354a}
.fjk-metric span{display:block;font:11px/1.55 var(--sans);color:#73808b;margin-top:7px}
.fjk-sources-table table{width:100%;table-layout:fixed;border-collapse:separate;border-spacing:10px 8px;font:12px/1.5 var(--sans)}
.fjk-sources-table td{vertical-align:top;background:#f8faf9;border-radius:4px;padding:11px}
.article-footer{border-top:1px solid #eae6df;padding-top:22px;margin-top:38px;display:flex;justify-content:space-between;gap:20px;align-items:center;flex-wrap:wrap}
.article-taxonomy{color:#798089;font-size:12px}
.article-taxonomy a{color:#a67a3d}
.page-main .entry-content{font:19px/1.85 var(--serif);color:#34434e}
.page-main .entry-content p:first-child{font-size:24px;color:var(--ink)}
@media(max-width:1240px){.feature-row{grid-template-columns:105px repeat(3,minmax(0,1fr));gap:14px}.feature-art{width:100px;height:100px}.feature-heading{font-size:19px}.feature-description{font-size:11px}}
@media(max-width:940px){.feature-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.section-small-heading{grid-column:1/-1}.feature-tile{flex-direction:column;align-items:flex-start}.feature-art{width:100%;height:150px}.feature-heading{font-size:21px}.article-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.publication-note-inner{gap:30px}}
@media(max-width:650px){.feature-row{grid-template-columns:1fr;gap:24px}.section-small-heading{grid-column:auto}.feature-tile{flex-direction:row;gap:16px}.feature-art{width:112px;height:112px}.feature-heading{font-size:21px}.feature-description{font-size:12px}.feature-link-label{margin-top:6px}.archive-hero{grid-template-columns:1fr;padding:26px;gap:17px}.archive-hero img{width:100%;height:145px}.article-grid{grid-template-columns:1fr}.fjk-story-lead{grid-template-columns:1fr}.fjk-story-lead .fjk-figure img{max-height:310px}.fjk-metrics{gap:4px}.fjk-metric{padding:15px 6px}.fjk-metric strong{font-size:18px}.fjk-metric span{font-size:10px}.fjk-article-content{font-size:17px}.fjk-article-content h2{font-size:26px}.fjk-sources-table table,.fjk-sources-table tbody,.fjk-sources-table tr,.fjk-sources-table td{display:block;width:100%;box-sizing:border-box}.article-footer{align-items:flex-start}.page-main .entry-content{font-size:17px}}
@media(prefers-reduced-motion:reduce){.graph-line,.graph-glow,.road-glow{stroke-dashoffset:0}.feature-tile:is(:hover,:focus-visible,.is-peeking) img{transform:none}}
.fjk-references{font:13px/1.95 var(--sans);margin:13px 0 25px;color:#596572}
.fjk-references a,.fjk-sources-table a{color:#276c72;text-decoration:underline;text-decoration-color:#9caeb0;text-underline-offset:3px}
.fjk-references a:hover,.fjk-sources-table a:hover{color:#aa7d3d}
/* Editorial statistics and recreated charts: prefer Aptos, matching the supplied publication files. */
.fjk-inline-chart,.fjk-inline-chart *,.fjk-metrics,.fjk-metrics *,.fjk-stat,.fjk-stat *{font-family:"Aptos","Segoe UI",Arial,sans-serif}

/* ---------- v1.2.1: final three-category interaction system ----------
   The three vector illustrations are self-contained: every moving line or symbol
   uses its artwork's own viewBox, so paths cannot misalign after responsive scaling.
*/
.featured{background:#fdfcf9}
.feature-row{grid-template-columns:120px repeat(3,minmax(0,1fr));column-gap:22px;row-gap:20px;padding-top:26px;padding-bottom:27px}
.feature-tile{display:flex;align-items:center;gap:13px;background:transparent;border:none;border-radius:7px;min-width:0;transform:none;transition:none}
.feature-tile:hover,.feature-tile:focus-visible{background:transparent}
.feature-tile .feature-art{display:block;position:relative;overflow:hidden;isolation:isolate;flex:0 0 150px;width:150px;height:auto;aspect-ratio:520/350;background:#102e3c;border-radius:6px;box-shadow:none;transform:none;transition:box-shadow .3s ease}
.feature-tile .feature-art:after{content:none}
.feature-tile .fjk-visual{width:100%;height:100%;display:block;overflow:hidden}
.feature-tile .feature-heading{font:normal 20px/1.12 var(--serif);letter-spacing:-.035em;margin:0 0 7px}
.feature-tile .feature-description{display:block;font:12px/1.5 var(--sans);color:#52606a;margin:0}
.feature-tile .feature-link-label{font:750 10px/1.4 var(--sans);letter-spacing:.06em;color:#997138;margin-top:8px}
.feature-tile:is(:hover,:focus-visible) .feature-art{box-shadow:0 3px 12px #0722301c}
.fjk-wealth-dollar{transform-box:fill-box;transform-origin:center;transition:transform .7s cubic-bezier(.21,.69,.2,1),filter .7s ease;filter:none}
.fjk-wealth-halo{transition:opacity .65s ease,stroke-width .6s ease}
.fjk-wealth-windows,.fjk-wealth-reflection{transition:opacity .75s ease}
.feature-wealth:is(:hover,:focus-visible,.is-peeking) .fjk-wealth-dollar{transform:translateY(-5px) scale(1.018);filter:drop-shadow(0 0 5px #49c96c60)}
.feature-wealth:is(:hover,:focus-visible,.is-peeking) .fjk-wealth-halo{opacity:.98;stroke-width:2.7}
.feature-wealth:is(:hover,:focus-visible,.is-peeking) .fjk-wealth-windows{opacity:.95}
.feature-wealth:is(:hover,:focus-visible,.is-peeking) .fjk-wealth-reflection{opacity:.9}
.fjk-market-graph-line,.fjk-market-graph-glow{fill:none;stroke:#f1c37b;stroke-width:3.5;stroke-linejoin:round;stroke-linecap:round;stroke-dasharray:750;stroke-dashoffset:750;opacity:0;transition:stroke-dashoffset 1.06s cubic-bezier(.22,.73,.2,1),opacity .2s ease}
.fjk-market-graph-glow{stroke-width:9;filter:blur(4px)}
.fjk-market-graph-point{opacity:0;transition:opacity .25s .87s}
.fjk-market-windows{transition:opacity .7s ease}
.feature-market:is(:hover,:focus-visible,.is-peeking) .fjk-market-graph-line,.feature-market:is(:hover,:focus-visible,.is-peeking) .fjk-market-graph-glow{stroke-dashoffset:0;opacity:1}
.feature-market:is(:hover,:focus-visible,.is-peeking) .fjk-market-graph-glow{opacity:.65}
.feature-market:is(:hover,:focus-visible,.is-peeking) .fjk-market-graph-point{opacity:1}
.feature-market:is(:hover,:focus-visible,.is-peeking) .fjk-market-windows{opacity:.72}
.fjk-economy-roads{stroke-dasharray:780;stroke-dashoffset:780;stroke-linejoin:round;stroke-linecap:round;opacity:0;transition:stroke-dashoffset 1.08s cubic-bezier(.22,.73,.2,1),opacity .2s ease;filter:drop-shadow(0 0 3px #f8c6784d)}
.fjk-economy-globe{transform-box:fill-box;transform-origin:center;transition:transform 1.1s ease,filter .7s ease}
.fjk-economy-symbols{transition:opacity .75s ease}
.feature-economy:is(:hover,:focus-visible,.is-peeking) .fjk-economy-roads{stroke-dashoffset:0;opacity:1}
.feature-economy:is(:hover,:focus-visible,.is-peeking) .fjk-economy-globe{transform:rotate(3deg);filter:brightness(1.16)}
.feature-economy:is(:hover,:focus-visible,.is-peeking) .fjk-economy-symbols{opacity:.94}
.fjk-author-second-link{margin-left:16px}
@media(max-width:1300px){.feature-row{grid-template-columns:116px repeat(3,minmax(0,1fr));column-gap:15px}.feature-tile .feature-art{flex-basis:126px;width:126px}.feature-tile .feature-heading{font-size:19px}.feature-tile{gap:11px}}
@media(max-width:1020px){.feature-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.section-small-heading{grid-column:1/-1}.feature-tile{flex-direction:column;align-items:flex-start;gap:11px}.feature-tile .feature-art{width:100%;flex-basis:auto;max-height:none}.feature-tile .feature-heading{font-size:22px}}
@media(max-width:650px){.feature-row{grid-template-columns:1fr;gap:23px}.section-small-heading{grid-column:auto}.feature-tile{flex-direction:row;align-items:center;gap:16px}.feature-tile .feature-art{flex:0 0 136px;width:136px;height:auto}.feature-tile .feature-heading{font-size:21px}.feature-tile .feature-description{font-size:12px}.fjk-author-second-link{margin-left:12px}}
@media(max-width:370px){.feature-tile .feature-art{flex-basis:115px;width:115px}}
@media(prefers-reduced-motion:reduce){.feature-tile .feature-art,.fjk-wealth-dollar,.fjk-wealth-halo,.fjk-wealth-windows,.fjk-wealth-reflection,.fjk-market-graph-line,.fjk-market-graph-glow,.fjk-market-graph-point,.fjk-market-windows,.fjk-economy-roads,.fjk-economy-globe,.fjk-economy-symbols{transition:none!important;animation:none!important}.feature-wealth:is(:hover,:focus-visible,.is-peeking) .fjk-wealth-dollar,.feature-economy:is(:hover,:focus-visible,.is-peeking) .fjk-economy-globe{transform:none!important}}

/* v1.2.2 — header tools and dark-mode color overrides. Light theme remains unchanged. */
.header-actions{display:flex;align-items:center;gap:6px;flex:none}
.header-icon-button{width:34px;height:36px;display:inline-flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:7px;background:transparent;color:var(--ink);cursor:pointer;transition:background .2s,color .2s,border-color .2s;padding:7px}
.header-icon-button:hover,.header-icon-button:focus-visible{color:var(--gold);background:#b58b4717;border-color:#b58b4739}
.header-icon-button svg{display:block;width:19px;height:19px;flex:none}
.theme-toggle .icon-sun{display:none}
html[data-fbjk-theme="dark"] .theme-toggle .icon-sun{display:block}
html[data-fbjk-theme="dark"] .theme-toggle .icon-moon{display:none}
.header-search-panel{position:absolute;top:100%;left:0;right:0;z-index:35;background:var(--paper);box-shadow:0 12px 25px #07172420;border-top:1px solid #e8e2d9}
.header-search-panel[hidden]{display:none!important}
.header-search-form{display:flex;align-items:center;gap:15px;padding-top:18px;padding-bottom:18px}
.header-search-form label{font:600 12px var(--sans);color:var(--muted);white-space:nowrap}
.header-search-form input{flex:1;min-width:0;border:1px solid #d4d7d5;border-radius:6px;background:var(--paper);color:var(--ink);font:15px var(--sans);padding:11px 13px;outline-offset:2px}
.header-search-form button{background:var(--gold);border:1px solid var(--gold);color:#081e2b;font-weight:700;border-radius:6px;padding:10px 18px;cursor:pointer}
.header-search-form button:hover{filter:brightness(1.08)}
@media(max-width:1170px) and (min-width:941px){.header-inner{gap:14px}.main-nav{gap:12px}.main-nav a{font-size:12px}.brand{gap:9px}.brand-logo{flex-basis:52px;width:52px}.brand-logo svg{width:52px}.brand-wordmark{font-size:23px}.header-actions{gap:0}.header-icon-button{width:30px}}
@media(max-width:940px){.header-actions{margin-left:auto}.menu-toggle{order:3}.header-search-form{flex-wrap:wrap}.header-search-form label{width:100%}.header-search-form input{width:calc(100% - 95px)} }
@media(max-width:420px){.brand-wordmark{font-size:19px}.header-inner{gap:8px}.brand-logo{flex-basis:40px;width:40px}.brand-logo svg{width:40px}.header-icon-button{width:30px;padding:5px}.menu-toggle{padding:6px 7px}.header-search-form button{padding:10px 12px}}
/* Dark colors were chosen for comfortable long-form reading; approved artwork/animations are unmodified. */
html[data-fbjk-theme="dark"]{color-scheme:dark;--cream:#0c1720;--paper:#10212d;--ink:#ecf1f3;--muted:#a8bac2;--gold:#d0aa70;--light-gold:#e1bc7b}
html[data-fbjk-theme="dark"] body{background:var(--cream);color:var(--ink)}
html[data-fbjk-theme="dark"] a:hover{color:#ecc892}
html[data-fbjk-theme="dark"] .site-header{background:rgba(14,29,40,.985)}
html[data-fbjk-theme="dark"] .site-header.is-scrolled{box-shadow:0 4px 22px #0005}
html[data-fbjk-theme="dark"] .brand-wordmark em{color:#e7bb76}
html[data-fbjk-theme="dark"] .menu-toggle{border-color:#384852;color:var(--ink)}
html[data-fbjk-theme="dark"] .main-nav{background:#10212d}
html[data-fbjk-theme="dark"] .main-nav a{color:var(--ink)}
html[data-fbjk-theme="dark"] .main-nav a:hover,html[data-fbjk-theme="dark"] .main-nav .is-active{color:#e4bd80}
html[data-fbjk-theme="dark"] .featured,html[data-fbjk-theme="dark"] .main-sections,html[data-fbjk-theme="dark"] .publication-note,html[data-fbjk-theme="dark"] .content-main,html[data-fbjk-theme="dark"] .story-main,html[data-fbjk-theme="dark"] .page-main{background:var(--paper)}
html[data-fbjk-theme="dark"] .feature-description,html[data-fbjk-theme="dark"] .block-desc,html[data-fbjk-theme="dark"] .content-desc,html[data-fbjk-theme="dark"] .publication-note p,html[data-fbjk-theme="dark"] .letter-card p,html[data-fbjk-theme="dark"] .fjk-article-content,html[data-fbjk-theme="dark"] .page-main .entry-content,html[data-fbjk-theme="dark"] .fjk-article-content h2,html[data-fbjk-theme="dark"] .fjk-article-content h3{color:#d2dce1}
html[data-fbjk-theme="dark"] .page-main .entry-content p:first-child{color:#f0f2f1}
html[data-fbjk-theme="dark"] .fjk-post-card,html[data-fbjk-theme="dark"] .fjk-story-lead,html[data-fbjk-theme="dark"] .fjk-empty-state,html[data-fbjk-theme="dark"] .fjk-inline-chart{background:#162d39;border-color:#344752}
html[data-fbjk-theme="dark"] .fjk-post-card p,html[data-fbjk-theme="dark"] .fjk-empty-state p,html[data-fbjk-theme="dark"] .fjk-story-lead p:not(.fjk-series),html[data-fbjk-theme="dark"] .article-subtitle{color:#c0cdd3}
html[data-fbjk-theme="dark"] .fjk-metric,html[data-fbjk-theme="dark"] .fjk-sources-table td,html[data-fbjk-theme="dark"] .fjk-chart-track{background:#223a46}
html[data-fbjk-theme="dark"] .fjk-metric strong{color:#e0edf2}
html[data-fbjk-theme="dark"] .fjk-metric span,html[data-fbjk-theme="dark"] .fjk-chart-label,html[data-fbjk-theme="dark"] .fjk-references,html[data-fbjk-theme="dark"] .fjk-source-note{color:#b8cbd3}
html[data-fbjk-theme="dark"] .fjk-article-content a,html[data-fbjk-theme="dark"] .fjk-references a{color:#9bd0d0}
html[data-fbjk-theme="dark"] .fjk-figure img{background:#ffffff}
html[data-fbjk-theme="dark"] .article-meta,html[data-fbjk-theme="dark"] .article-footer,html[data-fbjk-theme="dark"] .content-main .post-card,html[data-fbjk-theme="dark"] .post-navigation{border-color:#354852}
html[data-fbjk-theme="dark"] .header-search-panel{border-color:#344752}
html[data-fbjk-theme="dark"] .header-search-form input{border-color:#52616b}
html[data-fbjk-theme="dark"] .post-card p,html[data-fbjk-theme="dark"] .post-meta,html[data-fbjk-theme="dark"] .breadcrumbs{color:#b7c8cd}
html[data-fbjk-theme="dark"] .site-footer{background:#07131c}
html[data-fbjk-theme="dark"] input,html[data-fbjk-theme="dark"] textarea{color:var(--ink);background:var(--paper)}
@media(prefers-reduced-motion:reduce){.header-icon-button{transition:none}}

/* v1.2.3 — dynamic latest-story shelf. Category artwork above continues to link to archives. */
.journal-latest{padding:60px 0 65px;background:#fffefa}
.journal-latest-heading{display:flex;align-items:end;justify-content:space-between;gap:25px;margin:0 0 24px}
.journal-latest-heading .eyebrow{color:#a37a3e}
.journal-latest-heading h2{font:normal clamp(30px,3.2vw,40px)/1.12 var(--serif);letter-spacing:-.045em;margin:6px 0 0}
.journal-latest-heading>p{max-width:360px;color:#657078;font:14px/1.55 var(--serif);margin:0 0 2px}
.journal-latest-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:stretch}
.journal-latest-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;background:#fff;border:1px solid #e9e5dd;border-radius:7px;box-shadow:0 5px 18px rgba(10,28,43,.035);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.journal-latest-card:hover{transform:translateY(-3px);border-color:#d8c9ad;box-shadow:0 12px 27px rgba(10,28,43,.1)}
.journal-latest-cover{display:block;overflow:hidden;aspect-ratio:1.58;background:#102b3b}
.journal-latest-cover img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.journal-latest-card:hover .journal-latest-cover img{transform:scale(1.035)}
.journal-latest-copy{display:flex;flex:1;flex-direction:column;align-items:flex-start;padding:18px 20px 20px}
.journal-latest-meta{display:flex;flex-wrap:wrap;align-items:center;gap:7px;color:#778087;font:10px/1.5 var(--sans);letter-spacing:.025em}
.journal-latest-meta a{color:#936e39;font-weight:750}
.journal-latest-copy h3{font:normal 23px/1.2 var(--serif);letter-spacing:-.035em;margin:11px 0 8px}
.journal-latest-copy h3 a:hover{color:#8d6935}
.journal-latest-copy>p{flex:1;min-height:58px;color:#5f6b73;font:13px/1.58 var(--sans);margin:0 0 13px}
.journal-latest-copy .quiet-link{margin-top:auto}
.journal-latest-empty{display:flex;align-items:center;gap:20px;padding:25px 28px;background:#faf8f4;border:1px solid #ece7de;border-radius:7px}
.journal-latest-empty .empty-mark{display:grid;place-items:center;width:54px;height:54px;flex:none;border-radius:50%;background:#0a1c2b;color:#e3bc74;font:normal 29px/1 var(--serif)}
.journal-latest-empty h3{font:normal 23px/1.2 var(--serif);margin:0 0 5px}
.journal-latest-empty p{font-size:13px;color:#647078;margin:0}
html[data-fbjk-theme="dark"] .journal-latest{background:var(--paper)}
html[data-fbjk-theme="dark"] .journal-latest-card{background:#162d39;border-color:#344752}
html[data-fbjk-theme="dark"] .journal-latest-copy>p{color:#c0cdd3}
html[data-fbjk-theme="dark"] .journal-latest-meta{color:#bac8cd}
html[data-fbjk-theme="dark"] .journal-latest-empty{background:#162d39;border-color:#344752}
html[data-fbjk-theme="dark"] .journal-latest-empty p,html[data-fbjk-theme="dark"] .journal-latest-heading>p{color:#c0cdd3}
@media(max-width:940px){.journal-latest-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}}
@media(max-width:650px){.journal-latest{padding:43px 0 48px}.journal-latest-heading{display:block;margin-bottom:19px}.journal-latest-heading h2{font-size:32px}.journal-latest-heading>p{margin-top:8px;font-size:13px}.journal-latest-grid{grid-template-columns:1fr;gap:14px}.journal-latest-card{display:grid;grid-template-columns:120px 1fr;min-height:158px}.journal-latest-cover{height:100%;min-height:158px;aspect-ratio:auto}.journal-latest-copy{padding:14px}.journal-latest-copy h3{font-size:20px;margin:8px 0 6px}.journal-latest-copy>p{min-height:0;font-size:11px;line-height:1.45;margin-bottom:8px}.journal-latest-meta{font-size:9px;gap:5px}.journal-latest-copy .quiet-link{font-size:9px}.journal-latest-empty{padding:20px;gap:15px}.journal-latest-empty .empty-mark{width:46px;height:46px}}
@media(prefers-reduced-motion:reduce){.journal-latest-card,.journal-latest-cover img{transition:none!important}.journal-latest-card:hover{transform:none}}


/* v1.2.4 — compact category chooser and combined finance insights collection. */
.category-hub{padding:25px 0;background:#fbfaf7}
.category-menu-button{width:100%;min-height:90px;display:flex;align-items:center;gap:18px;padding:14px 21px;text-align:left;color:var(--ink);background:#fffefa;border:1px solid #e8e0d3;border-radius:8px;box-shadow:0 5px 20px rgba(10,28,43,.045);cursor:pointer;transition:border-color .2s,box-shadow .2s,transform .2s}
.category-menu-button:hover{border-color:#c5a36b;box-shadow:0 8px 25px rgba(10,28,43,.09);transform:translateY(-1px)}
.category-menu-mark{width:55px;height:55px;flex:none;display:grid;place-items:center;border-radius:50%;color:#d3aa62;background:#102d3c}
.category-menu-mark svg{width:43px;height:43px}
.category-menu-label{display:flex;flex-direction:column;gap:2px}
.category-menu-label .eyebrow{font-size:9px;color:#a67e42}
.category-menu-label strong{font:normal 24px/1.2 var(--serif);letter-spacing:-.025em}
.category-menu-label small{color:#6b7479;font-size:12px}
.category-menu-chevron{margin-left:auto;color:#9a743c;font-size:29px;line-height:1;transition:transform .2s}
.category-menu-button[aria-expanded="true"] .category-menu-chevron{transform:rotate(180deg)}
.category-menu-panel{margin-top:17px;padding:22px;background:#fffefa;border:1px solid #e9e4da;border-radius:8px;animation:category-panel-in .25s ease both}
.category-menu-panel[hidden]{display:none}
@keyframes category-panel-in{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}
.category-menu-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:23px 28px;align-items:center;padding:0}
.category-menu-grid .feature-tile{padding:4px;border-radius:7px}
.category-menu-grid .feature-art{flex:0 0 150px;width:150px}
.feature-valuation .fjk-valuation-line,.feature-valuation .fjk-valuation-glow{stroke-dasharray:570;stroke-dashoffset:570;transition:stroke-dashoffset 1.15s cubic-bezier(.22,.61,.24,1),opacity .5s ease}
.feature-valuation .fjk-valuation-glow{opacity:.1}
.feature-valuation .fjk-valuation-point{opacity:.42;transition:opacity .45s ease,filter .45s ease}
.feature-valuation .fjk-valuation-bars{transition:opacity .55s ease,filter .55s ease}
.feature-valuation:is(:hover,:focus-visible,.is-peeking) .fjk-valuation-line,.feature-valuation:is(:hover,:focus-visible,.is-peeking) .fjk-valuation-glow{stroke-dashoffset:0;opacity:1}
.feature-valuation:is(:hover,:focus-visible,.is-peeking) .fjk-valuation-glow{opacity:.72}
.feature-valuation:is(:hover,:focus-visible,.is-peeking) .fjk-valuation-point{opacity:1;filter:drop-shadow(0 0 7px #f3cf84)}
.feature-valuation:is(:hover,:focus-visible,.is-peeking) .fjk-valuation-bars{opacity:.98;filter:brightness(1.25)}
.feature-other .feature-art{background:#102d3c}
html[data-fbjk-theme="dark"] .category-hub{background:var(--paper)}
html[data-fbjk-theme="dark"] .category-menu-button,html[data-fbjk-theme="dark"] .category-menu-panel{background:#162d39;border-color:#344752;color:#e6ecef}
html[data-fbjk-theme="dark"] .category-menu-label small{color:#c0cdd3}
html[data-fbjk-theme="dark"] .category-menu-grid .feature-description{color:#c0cdd3}
@media(max-width:650px){.category-hub{padding:18px 0}.category-menu-button{min-height:76px;gap:12px;padding:11px 13px}.category-menu-mark{width:46px;height:46px}.category-menu-mark svg{width:37px;height:37px}.category-menu-label strong{font-size:20px}.category-menu-label small{font-size:11px}.category-menu-chevron{font-size:25px}.category-menu-panel{padding:13px}.category-menu-grid{grid-template-columns:1fr;gap:18px}.category-menu-grid .feature-tile{flex-direction:row;align-items:center}.category-menu-grid .feature-art{flex:0 0 112px;width:112px}}
@media(prefers-reduced-motion:reduce){.category-menu-button,.category-menu-chevron,.feature-valuation .fjk-valuation-line,.feature-valuation .fjk-valuation-glow,.feature-valuation .fjk-valuation-point,.feature-valuation .fjk-valuation-bars{transition:none!important}.category-menu-panel{animation:none}.feature-valuation .fjk-valuation-line,.feature-valuation .fjk-valuation-glow{stroke-dashoffset:0}}


/* v1.2.4 refinement — compact header tools with all links inside Menu. */
.header-inner{position:relative}
.menu-toggle{display:inline-flex;align-items:center;justify-content:center;order:2;margin-left:auto;min-height:38px;padding:8px 15px;border:1px solid #d8d1c4;border-radius:5px;background:transparent;color:var(--ink);font-size:13px;font-weight:650;cursor:pointer}
.menu-toggle:hover{border-color:#b58b47;color:#8d672e}
.main-nav{display:none;position:absolute;z-index:35;top:calc(100% - 1px);right:72px;width:min(330px,calc(100vw - 32px));padding:9px 18px 14px;background:#fffefa;border:1px solid #e7e1d8;border-radius:0 0 7px 7px;box-shadow:0 12px 24px rgba(7,24,36,.14);flex-direction:column;align-items:stretch;gap:0}
.main-nav.is-open{display:flex}
.main-nav a{display:block;padding:11px 4px;border-bottom:1px solid #f0ece5;font-size:14px;white-space:normal}
.main-nav a:last-child{border-bottom:0}
.header-actions{order:3;display:flex;align-items:center;gap:4px}
html[data-fbjk-theme="dark"] .menu-toggle{border-color:#52616b;color:#e2e8ea}
html[data-fbjk-theme="dark"] .menu-toggle:hover{border-color:#c19b59;color:#efce91}
html[data-fbjk-theme="dark"] .main-nav{background:#10212d;border-color:#344752}
html[data-fbjk-theme="dark"] .main-nav a{color:#e2e8ea;border-color:#263c48}
html[data-fbjk-theme="dark"] .main-nav a:hover,html[data-fbjk-theme="dark"] .main-nav .is-active{color:#e4bd80}
.category-menu-mark{border-radius:0;background:transparent;color:#bb914f}
.category-menu-mark svg{width:50px;height:50px;overflow:visible}
.category-infinity{fill:none;stroke:currentColor;stroke-width:2.8;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:940px){.menu-toggle{order:2;margin-left:auto}.main-nav{top:calc(100% - 1px);right:0;width:min(340px,calc(100vw - 24px));padding:8px 18px 14px}.header-actions{order:3;margin-left:0}.main-nav.is-open{display:flex}}
@media(max-width:420px){.menu-toggle{padding:6px 10px;font-size:12px}.header-inner{gap:8px}.header-actions{gap:0}}

/* Icon-only navigation button, matched to the supplied three-line reference. */
.menu-toggle{width:42px;height:42px;min-height:42px;padding:7px;border:0;border-radius:5px;background:transparent;color:#111820}
.menu-toggle svg{display:block;width:30px;height:26px}
.menu-toggle svg path{fill:none;stroke:currentColor;stroke-width:3.5;stroke-linecap:round}
.menu-toggle:hover{border:0;background:rgba(181,139,71,.09);color:#111820}
html[data-fbjk-theme="dark"] .menu-toggle{color:#e2e8ea}
html[data-fbjk-theme="dark"] .menu-toggle:hover{color:#efce91;background:rgba(193,155,89,.12)}
@media(max-width:420px){.menu-toggle{width:38px;height:38px;min-height:38px;padding:6px}.menu-toggle svg{width:27px;height:23px}}


/* v1.2.5 — Header-only refinement from the approved design. Hero/banner and all other layouts are untouched.
   Four consistent, transparent icon controls: Menu, Search, About, Dark mode. */
.site-header{border-bottom:1px solid rgba(170,149,114,.17)}
.header-inner{gap:0}
.menu-toggle,.header-icon-button{
  width:44px;height:44px;min-height:44px;flex:0 0 44px;padding:9px;
  display:inline-flex;align-items:center;justify-content:center;
  border:0;border-radius:6px;background:transparent;color:var(--ink);
  cursor:pointer;line-height:1;transition:color .18s,background-color .18s;
}
.menu-toggle{order:2;margin-left:auto}
.header-actions{order:3;display:flex;align-items:center;gap:13px;margin-left:13px;flex:none}
.menu-toggle svg,.header-icon-button svg{width:25px;height:25px;flex:0 0 25px;display:block;overflow:visible}
.menu-toggle .icon-menu{width:27px;height:25px;flex-basis:27px}
.menu-toggle .icon-menu path{fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round}
.menu-toggle .icon-close{display:none}
.menu-toggle[aria-expanded="true"] .icon-menu{display:none}
.menu-toggle[aria-expanded="true"] .icon-close{display:block}
.menu-toggle:hover,.header-icon-button:hover{
  border:0;background:rgba(181,139,71,.09);color:#9f752f;
}
.menu-toggle:focus-visible,.header-icon-button:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
.about-link{color:var(--ink);text-decoration:none}
.about-link[aria-current="page"]{color:var(--gold)}
/* The menu stays a dropdown rather than adding links back to the masthead. */
.main-nav{top:calc(100% + 1px);right:0;left:auto;width:min(340px,calc(100vw - 36px));z-index:35}
.main-nav a{padding:13px 5px}
/* No border/button-chip look, including the dark theme. */
html[data-fbjk-theme="dark"] .menu-toggle,
html[data-fbjk-theme="dark"] .header-icon-button{border:0;color:#e2e8ea;background:transparent}
html[data-fbjk-theme="dark"] .menu-toggle:hover,
html[data-fbjk-theme="dark"] .header-icon-button:hover{color:#efce91;background:rgba(193,155,89,.12)}
html[data-fbjk-theme="dark"] .about-link[aria-current="page"]{color:#efce91}
@media(max-width:940px){
  .header-actions{margin-left:8px;gap:7px}
  .menu-toggle{order:2;margin-left:auto}
  .main-nav{right:0;left:auto;top:calc(100% + 1px)}
}
@media(max-width:480px){
  .brand{gap:6px}
  .brand-logo{width:38px;flex-basis:38px;height:35px}
  .brand-logo svg{width:38px}
  .brand-wordmark{font-size:18px}
  .menu-toggle,.header-icon-button{width:34px;height:38px;min-height:38px;flex-basis:34px;padding:5px}
  .menu-toggle svg,.header-icon-button svg{width:22px;height:22px;flex-basis:22px}
  .menu-toggle .icon-menu{width:24px;height:22px;flex-basis:24px}
  .header-actions{gap:2px;margin-left:2px}
  .header-inner{min-height:66px}
}
@media(max-width:370px){
  .brand{gap:4px}
  .brand-logo{width:30px;flex-basis:30px;height:30px}
  .brand-logo svg{width:30px}
  .brand-wordmark{font-size:16px;gap:.15em}
  .menu-toggle,.header-icon-button{width:30px;flex-basis:30px}
  .header-actions{gap:0;margin-left:0}
}
@media(prefers-reduced-motion:reduce){.menu-toggle,.header-icon-button{transition:none}}


/* Approved skyline hero for Finance by JK homepage */

.hero.hero-skyline{position:relative;min-height:635px;display:flex;align-items:center;overflow:hidden;color:#fff;background:#061421;cursor:crosshair;isolation:isolate}
.hero.hero-skyline:before{display:none}
.hero-scene{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:61% 54%;z-index:-3;filter:saturate(.78) brightness(.83);transform:scale(1.008);transition:filter .7s ease,transform 1.2s ease}
.hero:hover .hero-scene{filter:saturate(.93) brightness(.91);transform:scale(1.018)}
.hero-shade{position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg, rgba(4,15,25,.98) 0%,rgba(4,15,25,.96) 19%,rgba(4,15,25,.84) 36%,rgba(4,15,25,.47) 58%,rgba(4,15,25,.06) 84%)}
.hero-sheen{position:absolute;inset:0;z-index:-1;opacity:0;pointer-events:none;background:radial-gradient(420px circle at var(--mx,76%) var(--my,45%), rgba(231,171,76,.17),transparent 70%);transition:opacity .35s}
.hero:hover .hero-sheen{opacity:1}
.hero-graph{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:0}
.hero-graph .live{stroke:#f7c777;stroke-width:3.3;fill:none;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke;filter:drop-shadow(0px 0px 4px #f0ae5c) drop-shadow(0px 0px 10px #f4bb6c);opacity:.98}
.hero-graph .point{fill:#ffd28b;stroke:#ffdeb1;stroke-width:2;filter:drop-shadow(0 0 8px #f7bb58)}
.hero-inner{position:relative;z-index:1;min-height:635px;display:flex;align-items:center;padding:90px 0 94px}
.hero-copy{max-width:760px;pointer-events:auto}
.hero-eyebrow{font:650 12px/1.4 var(--sans);letter-spacing:.28em;text-transform:uppercase;color:rgba(255,245,229,.84);margin:0 0 22px}
.hero-eyebrow:after{display:none}
.hero-accent{height:2px;width:55px;background:#c99b50;margin:0 0 29px}
.hero.hero-skyline h1{display:block;font:400 clamp(46px,5.1vw,77px)/1.04 var(--serif);letter-spacing:-.05em;max-width:760px;margin:0 0 30px;text-wrap:balance;text-shadow:0 2px 12px rgba(0,0,0,.08)}
.hero.hero-skyline .hero-title-lead,.hero.hero-skyline .hero-title-accent{display:block;white-space:normal}
.hero.hero-skyline .hero-title-accent{color:#e8bc75;font-style:italic}
.hero-description{font:clamp(18px,1.48vw,22px)/1.5 var(--serif);max-width:615px;color:#f2eadf;margin:0 0 37px}
.hero-cta{display:inline-flex;align-items:center;gap:18px;border-bottom:1px solid #c99b50;padding:10px 1px 12px;color:#f2dab5;font:600 20px/1.2 var(--serif);letter-spacing:-.01em;transition:color .3s ease,gap .3s ease,border-color .3s ease}
.hero-cta:hover{color:#fff;gap:24px;border-color:#e5c48c}
@media(max-width:950px){.hero.hero-skyline{min-height:540px}.hero-shade{background:linear-gradient(90deg,rgba(4,15,25,.95),rgba(4,15,25,.71) 64%,rgba(4,15,25,.12))}.hero-inner{min-height:540px;padding:84px 0}.hero-eyebrow{font-size:10px;letter-spacing:.2em}.hero.hero-skyline h1{max-width:640px;font-size:clamp(44px,6vw,66px)}}
@media(max-width:650px){.hero.hero-skyline{min-height:575px;align-items:flex-end;cursor:default}.hero-scene{object-position:69% center}.hero-shade{background:linear-gradient(180deg,rgba(5,17,28,.17) 0%,rgba(5,17,28,.7) 36%,rgba(5,17,28,.97) 63%,#071523 100%)}.hero-inner{min-height:575px;align-items:flex-end;padding:160px 0 72px}.hero.hero-skyline h1{font-size:42px;letter-spacing:-.036em}.hero-description{font-size:17px;line-height:1.45}.hero-eyebrow{letter-spacing:.16em;margin-bottom:18px}.hero-accent{margin-bottom:22px}.hero-cta{font-size:18px;padding-bottom:11px}}
@media(prefers-reduced-motion:reduce){.hero-scene,.hero-sheen,.hero-cta{transition:none!important}}
