@import url("./css/tokens.css");

/* ==========================================================================
   JINGBEI Healthcare Solutions — Premium Visual System
   Direction: international private-bank × high-end medical concierge
   Palette: Verdant Meridian — Navy #143A63 · Sage #7FA596 · Gold #C7A76A · Ivory #F8F6F2
   Tokens imported globally above (--jb-*); legacy var names remapped in :root below.
   ========================================================================== */

/* ---- Self-hosted fonts (no external dependency; stable in China) ---- */
@font-face { font-family:"Inter"; font-style:normal; font-weight:400; font-display:swap; src:url("fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family:"Inter"; font-style:normal; font-weight:500; font-display:swap; src:url("fonts/inter-500.woff2") format("woff2"); }
@font-face { font-family:"Inter"; font-style:normal; font-weight:600; font-display:swap; src:url("fonts/inter-600.woff2") format("woff2"); }
@font-face { font-family:"Inter"; font-style:normal; font-weight:700; font-display:swap; src:url("fonts/inter-700.woff2") format("woff2"); }
@font-face { font-family:"Cormorant Garamond"; font-style:normal; font-weight:500; font-display:swap; src:url("fonts/cormorant-500.woff2") format("woff2"); }
@font-face { font-family:"Cormorant Garamond"; font-style:normal; font-weight:600; font-display:swap; src:url("fonts/cormorant-600.woff2") format("woff2"); }
@font-face { font-family:"Cormorant Garamond"; font-style:normal; font-weight:700; font-display:swap; src:url("fonts/cormorant-700.woff2") format("woff2"); }

:root {
  /* Legacy variable names remapped to Verdant Meridian tokens
     (see assets/css/tokens.css for the source-of-truth --jb-* scale).
     Keep these names so existing rules across all pages cascade automatically. */
  --navy:       var(--jb-navy);          /* #143A63 */
  --navy-900:   var(--jb-navy-900);      /* #0A1F38 */
  --navy-700:   var(--jb-navy-600);      /* #1C4C7E */
  --navy-50:    var(--jb-navy-50);
  --green:      var(--jb-sage);          /* sage replaces medical green */
  --green-600:  var(--jb-sage-700);
  --green-50:   var(--jb-sage-50);
  --gold:       var(--jb-gold);          /* #C7A76A */
  --gold-600:   var(--jb-gold-700);
  --gold-50:    var(--jb-gold-50);
  --bg:         var(--jb-ivory-100);     /* warm ivory page */
  --bg-2:       var(--jb-ivory-200);     /* warm panel */
  --surface:    var(--jb-surface);
  --ink:        var(--jb-ink);
  --muted:      var(--jb-muted);
  --line:       var(--jb-line);          /* warm hairline */
  --line-2:     var(--jb-line-2);
  --radius:     var(--jb-r-sm);          /* 8px */
  --radius-lg:  var(--jb-r-lg);          /* 18px — premium card radius */
  --shadow:     var(--jb-shadow-md);
  --shadow-sm:  var(--jb-shadow-sm);
  --maxw:       var(--jb-maxw);          /* 1240px */
  --maxw-md:    960px;
  --maxw-reading: 820px;
  --grad-navy:  var(--jb-grad-navy);
  --font:       var(--jb-font-sans);
  /* Verdant Meridian is sans-only — alias --serif to Inter so legacy
     `font-family: var(--serif)` rules quietly inherit the new direction. */
  --serif:      var(--jb-font-sans);
  --ease:       var(--jb-ease);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  line-height: 1.7; font-size: 16.5px; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green-600); text-decoration: none; transition: color .18s; }
a:hover { color: var(--green); }

h1, h2, h3, h4 { color: var(--navy); margin: 0 0 .5em; }
h1, h2 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: .2px; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
h3 { font-family: var(--font); font-size: 1.18rem; font-weight: 700; line-height: 1.3; letter-spacing: -.1px; }
h4 { font-family: var(--font); }
p  { margin: 0 0 1rem; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
/* layered content widths — scoped to content so header/footer keep full width */
body.w-md .section .container, body.w-md .page-head .container { max-width: var(--maxw-md); }
body.w-reading .section .container, body.w-reading .page-head .container { max-width: var(--maxw-reading); }
.section   { padding: 104px 0; }
.section--soft { background: var(--bg-2); }
.section--navy { background: var(--grad-navy); color: #cdd9e6; }
.section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }

/* Eyebrow with gold hairline */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .76rem; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--gold-600); margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 30px; height: 1px; background: var(--gold); display: inline-block; }
.section--navy .eyebrow { color: var(--gold); }

.lead { font-size: 1.18rem; color: var(--muted); max-width: 720px; font-weight: 400; }
.section--navy .lead { color: #aebfd0; }
.center { text-align: center; }
.center .lead, .center .eyebrow { margin-left: auto; margin-right: auto; }
.center .eyebrow::before { display: none; }
.section-head { max-width: 760px; margin-bottom: 60px; }
.section-head.center { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 30px; border-radius: 999px; font-weight: 600; font-size: .96rem;
  font-family: var(--font); cursor: pointer; border: 1.5px solid transparent; transition: all .2s ease;
  letter-spacing: .2px;
}
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-700); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn--gold { background: var(--gold); color: var(--navy-900); }
.btn--gold:hover { background: var(--gold-600); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 30px -14px rgba(200,169,106,.7); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-600); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { color: var(--navy-700); transform: translateY(-2px); }
.btn--outline-gold { background: transparent; color: var(--gold); border-color: rgba(200,169,106,.5); }
.btn--outline-gold:hover { background: var(--gold); color: var(--navy-900); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,250,248,.88); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 82px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-txt { display: flex; flex-direction: column; justify-content: center; line-height: 1; }
.brand img { height: 46px; width: auto; }
.brand .brand-txt b { font-family: var(--serif); color: var(--navy); font-size: 1.32rem; font-weight: 700; letter-spacing: .4px; display: block; line-height: 1; }
.brand .brand-txt span { color: var(--gold-600); font-size: .55rem; letter-spacing: 1.4px; text-transform: uppercase; font-weight: 600; display: block; margin-top: 3px; white-space: nowrap; }

.nav-links { display: flex; align-items: center; gap: 13px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--navy); font-weight: 500; font-size: .83rem; position: relative; padding: 7px 0; letter-spacing: 0; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--gold-600); }
.nav-links a.active::after { content:""; position:absolute; left:0; right:0; bottom:-2px; height:1.5px; background: var(--gold); }

.nav-right { display: flex; align-items: center; gap: 13px; }
.nav-cta { padding: 11px 20px; font-size: .88rem; }
.lang-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; font-size: .8rem; font-weight: 600; }
.lang-toggle button { border: none; background: transparent; padding: 6px 13px; cursor: pointer; color: var(--muted); font-family: var(--font); white-space: nowrap; line-height: 1.4; }
.lang-toggle button.active { background: var(--navy); color: #fff; }
.lang-toggle button:focus { outline: none; }
.lang-toggle button:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.nav-cta { white-space: nowrap; }

.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { display:block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(100deg, rgba(11,32,58,.93) 0%, rgba(14,43,76,.86) 42%, rgba(21,59,102,.55) 72%, rgba(21,59,102,.30) 100%),
    var(--grad-navy);
  background-image:
    linear-gradient(100deg, rgba(11,32,58,.93) 0%, rgba(14,43,76,.84) 42%, rgba(21,59,102,.55) 72%, rgba(21,59,102,.32) 100%),
    url('hero.jpg');
  background-size: cover, cover;
  background-position: center, center right;
  background-repeat: no-repeat, no-repeat;
  color: #e6eef6; position: relative; overflow: hidden; padding: 130px 0 138px;
}
.hero::before {
  content:""; position:absolute; right:-160px; top:-120px; width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(200,169,106,.22), transparent 62%); border-radius: 50%;
}
.hero::after {
  content:""; position:absolute; left:-120px; bottom:-160px; width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(79,174,142,.16), transparent 65%); border-radius: 50%;
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { color: #fff; max-width: 17ch; }
.hero .lead { color: #c4d3e2; font-size: 1.24rem; max-width: 620px; }
.hero .btn-row { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero .tagline { color: var(--gold); font-weight: 600; letter-spacing: 3px; text-transform: uppercase; font-size: .8rem; margin-bottom: 22px; display: inline-flex; align-items:center; gap:12px; }
.hero .tagline::before { content:""; width: 34px; height:1px; background: var(--gold); }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 36px 32px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--line-2); }
.card .ico {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold-50); color: var(--gold-600); margin-bottom: 22px; border: 1px solid rgba(200,169,106,.3);
}
.card .ico svg { width: 25px; height: 25px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; font-size: .99rem; }
.card .num-tag { font-family: var(--serif); font-size: .95rem; color: var(--gold-600); font-weight: 600; letter-spacing: 1px; margin-bottom: 6px; }
.card.card-has-thumb { overflow: hidden; padding-top: 0; }
.card-thumb { display: block; width: calc(100% + 64px); height: 168px; object-fit: cover; margin: 0 -32px 22px; }

.card--navy { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.card--navy h3 { color:#fff; } .card--navy p { color:#aebfd0; }
.card--navy .ico { background: rgba(200,169,106,.16); color: var(--gold); border-color: rgba(200,169,106,.3); }

/* Stat band */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; text-align: center; }
.stat .num { font-family: var(--serif); font-size: 3rem; font-weight: 600; color: var(--gold); line-height: 1; }
.stat .lbl { color: #b9c8d8; font-size: .92rem; margin-top: 12px; letter-spacing:.3px; }

/* Split feature */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.split .media {
  border-radius: var(--radius-lg); min-height: 380px; background: var(--grad-navy);
  display: grid; place-items: center; position: relative; overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.split .media::before {
  content:""; position:absolute; inset: 18px; border: 1px solid rgba(200,169,106,.45); border-radius: 3px; pointer-events:none;
}
.split .media::after {
  content:""; position:absolute; right:-80px; top:-80px; width: 280px; height:280px;
  background: radial-gradient(circle, rgba(200,169,106,.22), transparent 65%); border-radius:50%;
}
.split .media .badge-logo { background:#fff; padding: 34px 40px; border-radius: 4px; position: relative; z-index:2; box-shadow: 0 20px 50px -20px rgba(0,0,0,.5); }
.split .media .badge-logo img { height: 96px; }
/* photo media panel (set background-image inline) — selector must beat `.split .media` */
.split .media--photo { background-size: cover; background-position: center; background-repeat: no-repeat; }
.split .media--photo::after { display: none; }

/* Lists */
.checklist { list-style: none; padding: 0; margin: 22px 0 0; }
.checklist li { position: relative; padding: 9px 0 9px 34px; color: var(--ink); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 15px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--gold-50); border: 1px solid var(--gold);
}
.checklist li::after {
  content: ""; position: absolute; left: 6px; top: 19px; width: 6px; height: 9px;
  border: solid var(--gold-600); border-width: 0 1.6px 1.6px 0; transform: rotate(42deg);
}
/* checklist on dark sections — light text + contrasting marker */
.section--navy .checklist li { color: #cdd9e6; }
.section--navy .checklist li::before { background: rgba(255,255,255,.10); border-color: var(--gold); }
.section--navy .checklist li::after { border-color: var(--gold); }

/* Process steps */
.steps { display: grid; gap: 0; }
.step {
  display: grid; grid-template-columns: 76px 1fr; gap: 26px; align-items: start;
  padding: 30px 0; border-bottom: 1px solid var(--line);
}
.step:last-child { border-bottom: none; }
.step .n { font-family: var(--serif); font-size: 2.4rem; font-weight: 600; color: var(--gold); line-height: 1; }
.step h3 { margin-bottom: 6px; } .step p { margin: 0; color: var(--muted); }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 26px 4px; font-weight: 600; color: var(--navy);
  font-size: 1.1rem; display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--gold-600); font-size: 1.6rem; font-weight: 300; }
.faq-item[open] summary::after { content: "–"; }
.faq-item .ans { padding: 0 4px 26px; color: var(--muted); }

/* Pills */
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.pill { background: var(--surface); border: 1px solid var(--line); color: var(--navy); border-radius: 999px; padding: 8px 18px; font-size: .88rem; font-weight: 500; }
.pill--gold { background: var(--gold-50); border-color: rgba(200,169,106,.4); color: var(--gold-600); }

/* Page header */
.page-head { background: var(--grad-navy); color:#cdd9e6; padding: 84px 0; position: relative; overflow:hidden; }
.page-head::after { content:""; position:absolute; right:-120px; top:-100px; width:420px; height:420px; background: radial-gradient(circle, rgba(200,169,106,.18), transparent 65%); border-radius:50%; }
/* page-head with background photo (background-image set inline on the element) */
.page-head.has-bg { background-size: cover; background-position: center; background-repeat: no-repeat; padding: 104px 0; }
.page-head.has-bg::after { opacity: .45; }
.page-head .container { position: relative; z-index:2; }
.page-head h1 { color:#fff; margin-bottom: 14px; }
.page-head .lead { color:#c4d3e2; }
.breadcrumb { font-size: .82rem; color: #9fb3c7; margin-bottom: 22px; letter-spacing:.5px; }
.breadcrumb a { color: var(--gold); }

/* Contact form */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .88rem; color: var(--navy); letter-spacing:.2px; }
.field input, .field select, .field textarea {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 13px 15px; font: inherit;
  font-size: .98rem; color: var(--ink); background: var(--surface); transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,169,106,.15); }
.field textarea { resize: vertical; min-height: 140px; }

.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; border-left: 3px solid var(--gold); }
.info-card h3 { margin-bottom: 6px; font-size: 1.08rem; }
.info-card p { color: var(--muted); margin: 0 0 5px; font-size: .96rem; }

/* CTA band — premium navy with gold frame */
.cta-band { background: var(--grad-navy); color:#fff; border-radius: var(--radius-lg); padding: 72px 56px; text-align:center; box-shadow: var(--shadow); position: relative; overflow:hidden; }
.cta-band::before { content:""; position:absolute; inset:16px; border:1px solid rgba(200,169,106,.4); border-radius:4px; pointer-events:none; }
.cta-band > * { position: relative; z-index:2; }
.cta-band h2 { color:#fff; } .cta-band p { color: #c4d3e2; max-width: 620px; margin: 0 auto 28px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #9fb3c7; padding: 78px 0 30px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.1fr; gap: 44px; }
.site-footer h4 { color:#fff; font-size: .8rem; letter-spacing: 2px; margin-bottom: 18px; text-transform: uppercase; font-weight:600; }
.site-footer a { color:#9fb3c7; display:block; padding: 5px 0; font-size:.94rem; }
.site-footer a:hover { color: var(--gold); }
.footer-brand img { height: 46px; margin-bottom: 18px; filter: brightness(0) invert(1); opacity:.95; }
.footer-brand p { max-width: 330px; line-height:1.8; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 52px; padding-top: 26px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .82rem; color:#7e93a8; }
.footer-bottom .links { display:flex; gap: 24px; flex-wrap: wrap; }
.footer-bottom .links a { display:inline; padding:0; }

/* ---------- Long-form article / prose ---------- */
.article-meta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.chip { display: inline-block; font-family: var(--font); font-size: .72rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(200,169,106,.5); border-radius: 999px; padding: 5px 13px; }
.chip--muted { color: #9fb3c7; border-color: rgba(255,255,255,.2); }
.prose { max-width: 768px; margin: 0 auto; }
.prose > p:first-of-type { font-size: 1.18rem; color: var(--ink); }
.prose h2 { font-family: var(--serif); font-weight: 600; font-size: 1.85rem; margin: 2.3em 0 .5em; }
.prose h3 { font-size: 1.18rem; margin: 1.7em 0 .4em; }
.prose p { margin: 0 0 1.15rem; color: #34424f; }
.prose ul, .prose ol { margin: 0 0 1.3rem; padding-left: 0; list-style: none; }
.prose ul li { position: relative; padding: 6px 0 6px 30px; color: #34424f; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 14px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.prose ol { counter-reset: pcount; }
.prose ol li { position: relative; padding: 6px 0 6px 38px; color: #34424f; counter-increment: pcount; }
.prose ol li::before { content: counter(pcount); position: absolute; left: 0; top: 6px; width: 24px; height: 24px; border-radius: 50%; background: var(--navy-50); color: var(--navy); font-family: var(--font); font-size: .8rem; font-weight: 700; display: grid; place-items: center; }
.takeaway { background: var(--gold-50); border: 1px solid rgba(200,169,106,.35); border-left: 3px solid var(--gold); border-radius: 6px; padding: 26px 30px; margin: 0 0 40px; }
.takeaway h4 { font-family: var(--font); font-size: .78rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-600); margin: 0 0 12px; }
.takeaway ul { margin: 0; padding: 0; list-style: none; }
.takeaway li { position: relative; padding: 5px 0 5px 28px; color: var(--ink); }
.takeaway li::before { content: ""; position: absolute; left: 2px; top: 12px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 1px solid var(--gold); }
.takeaway li::after { content: ""; position: absolute; left: 6px; top: 15px; width: 5px; height: 7px; border: solid var(--gold-600); border-width: 0 1.5px 1.5px 0; transform: rotate(42deg); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.related-grid a.card { display: block; }
.related-grid .card h3 { font-size: 1.02rem; margin: 0; }
.related-grid .chip { margin-bottom: 12px; }
.disclaimer { margin-top: 40px; padding: 20px 24px; background: var(--bg-2); border: 1px solid var(--line); border-left: 3px solid var(--muted); border-radius: 6px; }
.disclaimer strong { display: block; font-family: var(--font); font-size: .72rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.disclaimer p { margin: 0; font-size: .86rem; line-height: 1.6; color: var(--muted); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4rem 0; font-size: .96rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 11px 15px; text-align: left; vertical-align: top; }
.prose th { background: var(--navy-50); color: var(--navy); font-family: var(--font); font-weight: 700; }
.prose caption { caption-side: bottom; color: var(--muted); font-size: .82rem; margin-top: 8px; text-align: left; }

/* ---------- Responsive ---------- */
/* Nav collapses to hamburger below 1240px (9 items need room) */
@media (max-width: 1240px) {
  .hamburger { display: block; }
  .nav-links {
    position: fixed; top: 82px; left: 0; right: 0; background: var(--bg); flex-direction: column;
    align-items: flex-start; gap: 0; padding: 8px 28px 22px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); transform: translateY(-140%); transition: transform .25s ease; z-index: 90;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 14px 0; width: 100%; border-bottom: 1px solid var(--line); font-size: .98rem; }
  .nav-cta { display: none; }
}
@media (max-width: 1080px) {
  .grid-3, .grid-4, .related-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 38px; }
  .stats { grid-template-columns: repeat(2,1fr); gap: 34px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .form-grid { grid-template-columns: 1fr; }
  .section { padding: 76px 0; }
  .hero { padding: 96px 0 104px; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4, .grid-2, .related-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 48px 26px; }
  .brand .brand-txt span { display: none; }
}

/* ==========================================================================
   Verdant Meridian — homepage overrides
   Sans-only editorial typography, fluid scale, calm ease, premium radii.
   Scope kept narrow so other pages stay visually compatible.
   ========================================================================== */

/* Type — switch from serif to Inter editorial, fluid scale, tight tracking */
h1, h2, h3, h4 {
  font-family: var(--jb-font-sans);
  font-weight: 600;
  color: var(--jb-navy);
  text-wrap: balance;
}
h1 { font-size: var(--jb-t-h1);  line-height: var(--jb-lh-snug); letter-spacing: -0.015em; }
h2 { font-size: var(--jb-t-h2);  line-height: var(--jb-lh-snug); letter-spacing: -0.012em; }
h3 { font-size: var(--jb-t-h3);  line-height: 1.28; letter-spacing: -0.008em; font-weight: 600; }
h4 { font-size: var(--jb-t-h4);  line-height: 1.4; }
body { font-size: var(--jb-t-body); line-height: var(--jb-lh-body); color: var(--jb-ink-soft); text-wrap: pretty; }
p { color: var(--jb-ink-soft); }
.lead { font-size: var(--jb-t-lead); line-height: 1.6; color: var(--jb-muted); }

/* Eyebrow — 12.5px / 0.22em / gold-700, with sage-gold hairline */
.eyebrow {
  font-size: var(--jb-t-eyebrow);
  letter-spacing: var(--jb-tracking-eyebrow);
  color: var(--jb-gold-700);
  font-weight: 600;
}
.section--navy .eyebrow { color: var(--jb-gold-300); }

/* Hero — display-scale headline + Verdant Meridian navy↔sage duotone photo.
   Layered with pseudo-elements (no HTML change):
     .hero          → charcoal base + blend isolation
     .hero::before  → hero.jpg desaturated, mapped into the navy→sage duotone
     .hero::after   → left + bottom scrim (text legibility) over a faint gold wash
     .hero .container (z-index:2, already set) stays above all of it. */
.hero {
  padding: clamp(96px, 12vw, 148px) 0 clamp(104px, 13vw, 160px);
  background: var(--jb-charcoal);
  background-image: none;
  isolation: isolate;          /* contain blend modes to the hero box */
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  top: 0; right: 0; bottom: 0; left: 0;
  width: auto; height: auto; border-radius: 0;
  z-index: 0;
  background-image: var(--jb-duotone), url('hero.jpg');
  background-size: cover, cover;
  background-position: center, center right;
  background-repeat: no-repeat, no-repeat;
  background-blend-mode: color; /* duotone gradient colorizes the photo's luma */
  filter: grayscale(.5) contrast(1.04) brightness(1.08) saturate(.9);
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  top: 0; right: 0; bottom: 0; left: 0;
  width: auto; height: auto; border-radius: 0;
  z-index: 1; pointer-events: none;
  background:
    linear-gradient(100deg, rgba(10,31,56,.86) 0%, rgba(14,42,72,.62) 42%, rgba(20,58,99,.22) 72%, rgba(20,58,99,0) 100%),
    linear-gradient(to top, rgba(10,31,56,.55), rgba(10,31,56,0) 46%),
    radial-gradient(circle at 86% 16%, rgba(199,167,106,.16), transparent 60%);
}
.hero h1 {
  font-family: var(--jb-font-sans);
  font-size: var(--jb-t-display);
  line-height: var(--jb-lh-tight);
  letter-spacing: var(--jb-tracking-display);
  color: #fff;
  max-width: 18ch;
}
.hero .lead { color: var(--jb-on-navy); font-size: var(--jb-t-lead); }
.hero .tagline {
  font-size: var(--jb-t-eyebrow);
  letter-spacing: var(--jb-tracking-eyebrow);
  color: var(--jb-gold-300);
}

/* Buttons — calm Verdant Meridian easing, sharper hover */
.btn { transition: background-color var(--jb-dur-fast) var(--jb-ease),
                   color var(--jb-dur-fast) var(--jb-ease),
                   border-color var(--jb-dur-fast) var(--jb-ease),
                   box-shadow var(--jb-dur-fast) var(--jb-ease),
                   transform var(--jb-dur-fast) var(--jb-ease); }
.btn--primary:hover { background: var(--jb-navy-600); box-shadow: var(--jb-shadow-sm); }
.btn--gold:hover    { background: var(--jb-gold-600); color: #fff; box-shadow: var(--jb-ring-gold); }
.btn:active         { transform: translateY(0) scale(.99); }
.btn:focus-visible  { outline: none; box-shadow: var(--jb-ring-gold); }

/* Stat band — gold display numerals in Inter (no serif), tighter tracking */
.stat .num {
  font-family: var(--jb-font-sans);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--jb-gold);
}
.stat .lbl { color: var(--jb-on-navy-soft); }

/* Cards — premium radius, soft navy-tinted elevation, calm ease */
.card {
  border-radius: var(--jb-r-lg);
  border-color: var(--jb-line);
  box-shadow: var(--jb-shadow-xs);
  transition: transform var(--jb-dur-fast) var(--jb-ease),
              box-shadow var(--jb-dur-base) var(--jb-ease),
              border-color var(--jb-dur-fast) var(--jb-ease);
}
.card:hover { box-shadow: var(--jb-shadow-md); border-color: var(--jb-sage-300); }
.card .num-tag {
  font-family: var(--jb-font-sans);
  font-size: var(--jb-t-eyebrow);
  letter-spacing: var(--jb-tracking-eyebrow);
  color: var(--jb-gold-700);
  text-transform: uppercase;
}

/* Pills */
.pill { border-radius: var(--jb-r-pill); border-color: var(--jb-line); }
.pill--gold { background: var(--jb-gold-50); border-color: var(--jb-gold-300); color: var(--jb-gold-700); }

/* CTA band — keep navy luxury frame, refresh radius */
.cta-band { border-radius: var(--jb-r-lg); box-shadow: var(--jb-shadow-lg); }
.cta-band p { color: var(--jb-on-navy); }

/* Split media — softer corner, deeper shadow */
.split .media { border-radius: var(--jb-r-lg); box-shadow: var(--jb-shadow-md); }

/* Brand wordmark — sans (no serif), tighter sage sub-label */
.brand .brand-txt b {
  font-family: var(--jb-font-sans);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--jb-navy);
}
.brand .brand-txt span { color: var(--jb-sage-700); }

/* Section spacing — looser editorial rhythm on desktop */
.section { padding: clamp(72px, 9vw, 112px) 0; }

/* Footer — deeper navy + sage accents */
.site-footer { background: var(--jb-navy-900); color: var(--jb-on-charcoal); }
.site-footer a { color: var(--jb-on-navy-soft); }
.site-footer a:hover { color: var(--jb-gold); }
.site-footer h4 { color: #fff; letter-spacing: var(--jb-tracking-eyebrow); font-size: var(--jb-t-eyebrow); }
.footer-bottom { color: var(--jb-muted-2); border-top-color: rgba(255,255,255,.08); }

/* Honor reduced-motion users */
@media (prefers-reduced-motion: reduce) {
  .btn, .card { transition: none; }
  .btn:hover, .card:hover { transform: none; }
}

/* ----- Inner-page hero duotone (.page-head.has-bg) ---------------------------
   Brings inner-page heros into the same navy↔sage duotone family as the
   homepage .hero. Each page sets its photo + a navy scrim gradient INLINE
   (per-page image), so the treatment can't be rebuilt on a pseudo-element
   without editing HTML. Instead two pseudo-elements blend with the element's
   already-painted background:
     ::before → navy→sage duotone, mix-blend-mode:color  (maps photo into palette)
     ::after  → bottom legibility scrim + faint gold wash
   Text lives in .container (z-index:2), painted above both overlays → stays crisp.
   Scoped to .has-bg, so the plain navy .page-head (no photo) is untouched.
   SEO article hero headers share this class and are treated too (intended, per
   the photography guide). Prose images (.prose img) are NOT affected. */
.page-head.has-bg { isolation: isolate; }
.page-head.has-bg::before {
  content: "";
  position: absolute; inset: 0;
  top: 0; right: 0; bottom: 0; left: 0;
  width: auto; height: auto; border-radius: 0;
  z-index: 0; opacity: .85; pointer-events: none;
  background: var(--jb-duotone);
  mix-blend-mode: color;
}
.page-head.has-bg::after {
  content: "";
  position: absolute; inset: 0;
  top: 0; right: 0; bottom: 0; left: 0;
  width: auto; height: auto; border-radius: 0;
  z-index: 1; opacity: 1; pointer-events: none;
  background:
    linear-gradient(to top, rgba(10,31,56,.42), rgba(10,31,56,0) 52%),
    radial-gradient(circle at 86% 16%, rgba(199,167,106,.14), transparent 60%);
}

/* Task 21 GEO:三方角色规范块与来源标注 */
.roles-canonical{list-style:none;padding:0;margin:18px 0 0;display:grid;gap:6px;font-size:.9375rem;color:var(--jb-muted);}
.src{font-size:.8125rem;color:var(--jb-muted-2);margin-top:10px;}
.role-disclaimer{font-size:.8125rem;line-height:1.6;color:var(--jb-muted-2);margin:0 0 18px;max-width:76ch;}
