/* =========================================================================
   Private Wealth Advisory — prototype styles
   Palette: warm off-white base, deep navy, gold accent.
   ========================================================================= */

:root {
  --navy:        #0E1F3A;
  --navy-soft:   #16294a;
  --navy-700:    #1d3454;
  --ink:         #1A2233;
  --muted:       #5A6473;
  --line:        #E7E2D7;
  --paper:       #FBFAF7;
  --paper-2:     #FFFFFF;
  --cream:       #F4F0E7;
  --gold:        #B8924A;
  --gold-soft:   #C9A227;
  --gold-tint:   #F6EFDF;
  --good:        #2E7D5B;
  --bad:         #B4452F;
  --radius:      14px;
  --shadow:      0 1px 2px rgba(14,31,58,.04), 0 12px 32px -16px rgba(14,31,58,.22);
  --shadow-lg:   0 24px 60px -28px rgba(14,31,58,.4);
  --maxw:        1160px;
  --serif: "Playfair Display", "Noto Serif SC", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
           "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

:lang(zh) body, body.lang-zh {
  font-family: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB",
               "Microsoft YaHei", var(--sans);
}

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; color: var(--navy); margin: 0; }
body.lang-zh h1, body.lang-zh h2, body.lang-zh h3 {
  font-family: "Noto Serif SC", var(--serif); font-weight: 700; letter-spacing: .5px;
}

a { color: inherit; }
img { max-width: 100%; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; }

/* =========================================================================
   Header / nav
   ========================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,250,247,.86);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; gap: 24px;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand .mark {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--navy);
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px rgba(184,146,74,.22);
}
.brand .mark .logo-svg { width: auto; height: 25px; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.08; }
.brand .name { font-family: var(--serif); font-size: 18px; color: var(--navy); font-weight: 600; }
.brand .tag { font-family: var(--sans); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-top: 3px; }

.nav-spacer { flex: 1; }

/* primary tabs */
.tabs { display: flex; gap: 4px; background: var(--cream); padding: 4px; border-radius: 999px; border: 1px solid var(--line); }
.tab {
  appearance: none; border: 0; cursor: pointer;
  font: inherit; font-weight: 600; font-size: 14px;
  padding: 8px 18px; border-radius: 999px;
  color: var(--muted); background: transparent;
  transition: all .18s ease;
}
.tab:hover { color: var(--navy); }
.tab[aria-selected="true"] { background: var(--navy); color: #fff; box-shadow: var(--shadow); }

/* language switcher */
.lang { display: flex; align-items: center; gap: 2px; margin-left: 4px; }
.lang button {
  appearance: none; border: 0; background: transparent; cursor: pointer;
  font: inherit; font-size: 13px; font-weight: 600; color: var(--muted);
  padding: 6px 10px; border-radius: 8px; transition: all .15s ease;
}
.lang button:hover { color: var(--navy); background: var(--cream); }
.lang button[aria-pressed="true"] { color: var(--navy); background: var(--gold-tint); }
.lang button:disabled { opacity: .45; cursor: not-allowed; }
.lang .sep { width: 1px; height: 16px; background: var(--line); }

/* mobile nav toggle */
.nav-toggle { display: none; }

/* =========================================================================
   Buttons
   ========================================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  font: inherit; font-weight: 600; font-size: 15px;
  padding: 13px 26px; border-radius: 999px; text-decoration: none;
  border: 1px solid transparent; transition: all .18s ease;
}
.btn-gold { background: var(--gold); color: #fff; box-shadow: 0 10px 24px -12px rgba(184,146,74,.8); }
.btn-gold:hover { background: var(--gold-soft); transform: translateY(-1px); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-outline { background: transparent; border-color: var(--line); color: var(--navy); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn .arrow { transition: transform .18s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* =========================================================================
   Hero
   ========================================================================= */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(184,146,74,.18), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-soft) 55%, #0b1830 100%);
  color: #fff;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(900px 400px at 75% 0%, #000, transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; padding: 92px 24px 88px; }
.hero .eyebrow { color: var(--gold-soft); }
.hero h1 { color: #fff; font-size: clamp(34px, 5.4vw, 62px); max-width: 16ch; }
.hero h1 .accent { color: var(--gold-soft); font-style: italic; }
.hero p.lead { font-size: clamp(16px, 1.7vw, 20px); color: #d8dde7; max-width: 56ch; margin: 22px 0 34px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats { display: flex; flex-wrap: wrap; gap: 38px; margin-top: 58px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.14); }
.hero-stats .stat .n { font-family: var(--serif); font-size: 34px; color: #fff; line-height: 1; }
.hero-stats .stat .n .unit { font-size: 18px; color: var(--gold-soft); }
.hero-stats .stat .l { font-size: 12.5px; color: #aeb6c4; margin-top: 8px; letter-spacing: .04em; max-width: 22ch; }

/* =========================================================================
   Sections
   ========================================================================= */
section.block { padding: 84px 0; }
section.block.alt { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
section.block.dark { background: var(--navy); color: #fff; }
section.block.dark h2, section.block.dark h3 { color: #fff; }
section.block.dark .section-head p { color: #c2c9d6; }

.section-head { max-width: 720px; margin-bottom: 46px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 40px); }
.section-head p { color: var(--muted); font-size: 17px; margin-top: 16px; }

/* tab panels */
.panel { display: none; }
.panel.active { display: block; animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* =========================================================================
   Cards / grids
   ========================================================================= */
.grid { display: grid; gap: 22px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card .num { font-family: var(--serif); font-size: 14px; color: var(--gold); font-weight: 600; }
.card h3 { font-size: 20px; margin: 12px 0 8px; }
.card p { color: var(--muted); font-size: 15px; margin: 0; }
.card .ico { width: 44px; height: 44px; border-radius: 10px; background: var(--gold-tint); display: grid; place-items: center; color: var(--gold); margin-bottom: 16px; font-size: 20px; }

section.block.dark .card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
section.block.dark .card p { color: #b9c0cd; }
section.block.dark .card .ico { background: rgba(184,146,74,.16); }

/* feature list (icon + text rows) */
.feature-list { display: grid; gap: 18px; }
.feature-list .row { display: flex; gap: 16px; align-items: flex-start; }
.feature-list .row .dot { flex: none; width: 30px; height: 30px; border-radius: 8px; background: var(--gold-tint); color: var(--gold); display: grid; place-items: center; font-weight: 700; font-size: 14px; font-family: var(--serif); }
.feature-list .row h4 { margin: 2px 0 4px; font-size: 16px; color: var(--navy); }
.feature-list .row p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* product hero (MGG PRO) */
.product-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.engine { display: grid; grid-template-columns: 1fr; gap: 14px; }
.engine .bar { display: flex; height: 64px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.engine .bar .seg { display: grid; place-content: center; color: #fff; font-weight: 700; font-family: var(--serif); }
.engine .bar .par { background: var(--navy); flex: 0 0 25%; }
.engine .bar .pro { background: linear-gradient(120deg, var(--gold), var(--gold-soft)); flex: 0 0 75%; }
.engine .legend { display: flex; gap: 22px; font-size: 13px; color: var(--muted); }
.engine .legend b { color: var(--navy); }
.engine .legend .sw { display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 7px; vertical-align: middle; }

/* stat tiles */
.tiles { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.tile { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-align: center; }
.tile .n { font-family: var(--serif); font-size: 38px; color: var(--navy); line-height: 1; }
.tile .n .unit { font-size: 18px; color: var(--gold); }
.tile .l { font-size: 13px; color: var(--muted); margin-top: 10px; }

/* =========================================================================
   Tables
   ========================================================================= */
.table-card { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
thead th { background: var(--navy); color: #fff; text-align: left; padding: 14px 18px; font-weight: 600; font-size: 13.5px; }
thead th.hi { background: var(--gold); }
tbody td { padding: 13px 18px; border-bottom: 1px solid var(--line); color: var(--ink); }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: #fbf9f4; }
td.col-hi { background: var(--gold-tint); font-weight: 600; color: var(--navy); }
td.pos { color: var(--good); font-weight: 600; }
td.neg { color: var(--bad); font-weight: 600; }
.table-scroll { overflow-x: auto; }

/* =========================================================================
   Problem / Canada flip visual
   ========================================================================= */
.flip { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.flip .side { border-radius: var(--radius); padding: 32px; border: 1px solid var(--line); }
.flip .side.bad { background: linear-gradient(180deg,#fbeeea,#f7e3dc); border-color: #eccabd; }
.flip .side.good { background: linear-gradient(180deg,#e9f3ed,#dcefe4); border-color: #bfe0cc; }
.flip .side .pct { font-family: var(--serif); font-size: 64px; line-height: 1; }
.flip .side.bad .pct { color: var(--bad); }
.flip .side.good .pct { color: var(--good); }
.flip .side h4 { margin: 6px 0 14px; font-family: var(--sans); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.flip .side ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 14.5px; }
.flip .side ul li { margin-bottom: 6px; }
.flip-arrow { display: grid; place-items: center; }

/* strategy stack (Canada architecture) */
.stack { display: grid; gap: 10px; }
.layer { display: flex; align-items: center; gap: 18px; background: var(--paper-2); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 10px; padding: 18px 22px; }
.layer .tag { flex: none; font-family: var(--serif); font-weight: 700; color: var(--gold); font-size: 15px; width: 34px; }
.layer h4 { margin: 0 0 2px; font-size: 16px; font-family: var(--sans); }
.layer p { margin: 0; color: var(--muted); font-size: 14px; }

/* =========================================================================
   CTA band
   ========================================================================= */
.cta-band {
  background: radial-gradient(800px 300px at 50% -40%, rgba(184,146,74,.22), transparent 60%), var(--navy);
  color: #fff; border-radius: 20px; padding: 56px; text-align: center; margin: 0 auto;
}
.cta-band h2 { color: #fff; font-size: clamp(26px,3.4vw,38px); max-width: 20ch; margin: 0 auto 14px; }
.cta-band p { color: #c8cedb; max-width: 52ch; margin: 0 auto 28px; }

/* =========================================================================
   Footer / disclosures
   ========================================================================= */
.disclosure { background: var(--cream); border-top: 1px solid var(--line); padding: 48px 0; }
.disclosure .wrap { font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.disclosure h4 { font-family: var(--sans); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); margin: 0 0 14px; }
.disclosure p { margin: 0 0 12px; }

.site-footer { background: var(--navy); color: #aeb6c4; padding: 34px 0; font-size: 13px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.site-footer .brand .mark { background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(184,146,74,.25); }
.site-footer .brand .name { color: #fff; }
.site-footer .brand .tag { color: #8b94a6; }

/* coming-soon toast for FR */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(20px);
  background: var(--navy); color: #fff; padding: 13px 22px; border-radius: 999px;
  font-size: 14px; font-weight: 500; box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none; transition: all .3s ease; z-index: 100;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* small print under figures */
.fineprint { font-size: 12px; color: var(--muted); margin-top: 14px; font-style: italic; }

/* utility */
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.lead-para { font-size: 18px; color: var(--muted); max-width: 60ch; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 920px) {
  .grid.cols-3, .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .product-hero { grid-template-columns: 1fr; }
  .flip { grid-template-columns: 1fr; }
  .flip-arrow { transform: rotate(90deg); }
  .tiles { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav { gap: 12px; }
  .tabs { order: 3; width: 100%; justify-content: center; }
  .nav { flex-wrap: wrap; height: auto; padding: 12px 0; }
  .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; }
  .brand .name { font-size: 15px; }
  section.block { padding: 60px 0; }
  .cta-band { padding: 40px 24px; }
}

/* =========================================================================
   ===  WEB-NATIVE ENHANCEMENTS  ===========================================
   Scroll reveals, scroll progress, editorial statements, the competitive
   "edge" bar chart, the offshore-vs-Asia versus grid, counters, scroll cue.
   ========================================================================= */

/* ---- scroll progress bar (top of header) ---- */
.scroll-progress {
  position: absolute; left: 0; top: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  z-index: 60; transition: width .1s linear;
}

/* ---- scroll reveal ---- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.reveal-left  { opacity: 0; transform: translateX(-26px); transition: opacity .7s ease, transform .7s ease; }
.reveal-left.in  { opacity: 1; transform: none; }
.reveal-right { opacity: 0; transform: translateX(26px);  transition: opacity .7s ease, transform .7s ease; }
.reveal-right.in { opacity: 1; transform: none; }
.reveal-scale { opacity: 0; transform: scale(.96); transition: opacity .6s ease, transform .6s ease; }
.reveal-scale.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .reveal-scale { opacity: 1 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---- hero scroll cue ---- */
.scroll-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 2; color: #aeb6c4; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; text-align: center; }
.scroll-cue .chev { display: block; margin: 8px auto 0; width: 16px; height: 16px; border-right: 2px solid var(--gold-soft); border-bottom: 2px solid var(--gold-soft); transform: rotate(45deg); animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: rotate(45deg) translate(0,0); opacity:.5; } 50% { transform: rotate(45deg) translate(3px,3px); opacity:1; } }

/* ---- big editorial statement (kills the "slide" feel) ---- */
.statement { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.statement::before { content: "“"; position: absolute; left: 2%; top: -28px; font-family: var(--serif); font-size: 340px; color: rgba(184,146,74,.1); line-height: 1; }
.statement .wrap { position: relative; padding: 96px 24px; }
.statement h2 { color: #fff; font-size: clamp(28px, 4.4vw, 54px); max-width: 20ch; line-height: 1.18; }
.statement h2 .accent { color: var(--gold-soft); font-style: italic; }
.statement p.kicker { color: var(--gold-soft); letter-spacing: .22em; text-transform: uppercase; font-size: 12px; font-weight: 600; margin: 0 0 22px; }
.statement p.sub { color: #c2c9d6; font-size: 18px; max-width: 56ch; margin-top: 24px; }

/* ---- the offshore imperative (why offshore) — editorial numbered forces ---- */
.imperative { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); margin-top: 30px; }
.force { padding: 38px 30px 38px 0; border-right: 1px solid var(--line); position: relative; }
.force:last-child { border-right: 0; padding-right: 0; }
.force .fnum { font-family: var(--serif); font-size: 15px; color: var(--gold); font-weight: 600; letter-spacing: .1em; }
.force h3 { font-size: 23px; margin: 16px 0 10px; }
.force p { color: var(--muted); font-size: 15px; margin: 0; }
.force .ico { font-size: 26px; color: var(--gold); margin-bottom: 4px; }
@media (max-width: 820px) { .imperative { grid-template-columns: 1fr; } .force { border-right: 0; border-bottom: 1px solid var(--line); padding: 30px 0; } .force:last-child { border-bottom: 0; } }

/* ---- THE COMPETITIVE EDGE: animated IRR bar chart ---- */
.edge-chart { background: var(--paper-2); border: 1px solid var(--line); border-radius: 18px; padding: 38px 40px; box-shadow: var(--shadow); }
.edge-chart .chart-title { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.edge-chart .chart-title h3 { font-size: 20px; }
.edge-chart .chart-title span { font-size: 13px; color: var(--muted); }
.bar-row { display: grid; grid-template-columns: 168px 1fr 64px; align-items: center; gap: 16px; margin-bottom: 18px; }
.bar-row .bar-label { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.bar-row .bar-label small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }
.bar-track { background: var(--cream); border-radius: 999px; height: 26px; overflow: hidden; }
.bar-fill { height: 100%; width: 0; border-radius: 999px; background: #c3ccd8; transition: width 1.2s cubic-bezier(.2,.7,.2,1); }
.bar-row.win .bar-fill { background: linear-gradient(90deg, var(--gold), var(--gold-soft)); box-shadow: 0 6px 16px -6px rgba(184,146,74,.7); }
.bar-row .bar-val { font-family: var(--serif); font-weight: 600; font-size: 18px; color: var(--muted); text-align: right; }
.bar-row.win .bar-label, .bar-row.win .bar-val { color: var(--navy); }
.bar-row.win .bar-val { color: var(--gold); }
.edge-chart .chart-note { font-size: 12px; color: var(--muted); font-style: italic; margin: 18px 0 0; }
@media (max-width: 620px) { .bar-row { grid-template-columns: 1fr; gap: 4px; } .bar-row .bar-val { text-align: left; } }

/* edge differentiators row */
.edge-points { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 34px; }
.edge-point { display: flex; gap: 14px; align-items: flex-start; }
.edge-point .ck { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: #fff; display: grid; place-items: center; font-size: 15px; font-weight: 700; }
.edge-point h4 { margin: 3px 0 4px; font-size: 16px; }
.edge-point p { margin: 0; color: var(--muted); font-size: 14px; }
@media (max-width: 820px) { .edge-points { grid-template-columns: 1fr; } }

/* ---- VERSUS grid: Bermuda offshore vs Asia onshore ---- */
.versus { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); background: var(--paper-2); }
.versus .vrow { display: grid; grid-template-columns: 1.1fr 1fr 1.15fr; align-items: stretch; }
.versus .vrow + .vrow { border-top: 1px solid var(--line); }
.versus .vcell { padding: 20px 22px; }
.versus .vdim { font-weight: 600; color: var(--navy); display: flex; align-items: center; font-size: 14.5px; background: #fbf9f4; }
.versus .vasia { color: var(--muted); font-size: 14px; border-left: 1px solid var(--line); }
.versus .vberm { font-size: 14px; color: var(--navy); border-left: 1px solid var(--line); background: linear-gradient(180deg, var(--gold-tint), #fff); font-weight: 500; }
.versus .vhead { background: var(--navy); }
.versus .vhead .vcell { color: #fff; font-family: var(--serif); font-size: 16px; padding: 18px 22px; }
.versus .vhead .vberm { background: linear-gradient(120deg, var(--gold), var(--gold-soft)); color: #fff; border-left-color: rgba(255,255,255,.25); }
.versus .vhead .vdim { background: var(--navy); color: #aeb6c4; font-family: var(--sans); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.versus .vberm .tick { color: var(--gold); font-weight: 700; margin-right: 7px; }
.versus .vasia .cross { color: #b9836f; font-weight: 700; margin-right: 7px; }
@media (max-width: 760px) {
  .versus .vrow { grid-template-columns: 1fr 1fr; }
  .versus .vdim { grid-column: 1 / -1; background: var(--cream); padding: 12px 18px; font-size: 13px; }
  .versus .vasia, .versus .vberm { border-left: 0; }
  .versus .vberm { border-left: 1px solid var(--line); }
  .versus .vhead .vdim { display: none; }
  .versus .vhead { grid-template-columns: 1fr 1fr; }
}

/* counters keep their ground while animating */
.count { font-variant-numeric: tabular-nums; }

/* a wider, breathier section head for the big web sections */
.section-head.xl h2 { font-size: clamp(30px, 4.2vw, 50px); }

/* pill row of quick proof points */
.proof-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.proof-pill { display: inline-flex; align-items: center; gap: 8px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; font-size: 13.5px; font-weight: 500; color: var(--navy); box-shadow: var(--shadow); }
.proof-pill b { color: var(--gold); }
section.block.dark .proof-pill { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); color: #fff; }

/* split editorial (asymmetric, sticky-friendly) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.flip-cols .split-media { order: 2; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 32px; } .split.flip-cols .split-media { order: 0; } }

/* ---- second edge chart + lower-is-better variant ---- */
.edge-chart + .edge-chart { margin-top: 22px; }
.bar-row.invert .bar-fill { background: #c3ccd8; }
.bar-row.invert.win .bar-fill { background: linear-gradient(90deg, var(--good), #3a9b73); box-shadow: 0 6px 16px -6px rgba(46,125,91,.6); }
.bar-row.invert.win .bar-val { color: var(--good); }
.chart-flag { display: inline-block; margin-left: 8px; font-size: 11px; font-weight: 600; color: var(--good); background: #e7f3ed; border: 1px solid #bfe0cc; padding: 2px 8px; border-radius: 999px; vertical-align: middle; }

/* ---- animated flip meters (25% -> 100%) ---- */
.flip .side .pct { font-variant-numeric: tabular-nums; }
.meter { margin-top: 20px; }
.meter-track { height: 12px; border-radius: 999px; background: rgba(14,31,58,.08); overflow: hidden; }
.meter-fill { height: 100%; width: 0; border-radius: 999px; transition: width 1.3s cubic-bezier(.2,.7,.2,1); }
.flip .side.bad .meter-fill { background: linear-gradient(90deg, #c2543a, var(--bad)); }
.flip .side.good .meter-fill { background: linear-gradient(90deg, #37a574, var(--good)); }
.meter-cap { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 8px; }
.flip .side.good .meter-cap b { color: var(--good); }
.flip .side.bad .meter-cap b { color: var(--bad); }

/* ---- consultation contact section ---- */
.contact {
  background: radial-gradient(800px 360px at 22% -30%, rgba(184,146,74,.22), transparent 60%), var(--navy);
  color: #fff; border-radius: 22px; padding: 52px;
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 52px; align-items: center;
  box-shadow: var(--shadow-lg);
}
.contact-copy .eyebrow { color: var(--gold-soft); }
.contact-copy h2 { color: #fff; font-size: clamp(26px, 3.2vw, 38px); max-width: 16ch; }
.contact-copy p { color: #c8cedb; margin: 16px 0 0; font-size: 16px; max-width: 44ch; }
.contact-direct { font-size: 14.5px; }
.contact-direct a { color: var(--gold-soft); text-decoration: none; border-bottom: 1px solid rgba(201,162,39,.4); padding-bottom: 1px; }
.contact-direct a:hover { border-bottom-color: var(--gold-soft); }

.contact-form .fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; margin-bottom: 16px; }
.field label { font-size: 12px; letter-spacing: .03em; color: #aeb6c4; margin-bottom: 7px; font-weight: 500; }
.field input, .field select, .field textarea {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16);
  border-radius: 10px; padding: 12px 14px; color: #fff; font: inherit; font-size: 14.5px;
  transition: border-color .15s ease, background .15s ease;
}
.field textarea { resize: vertical; min-height: 76px; }
.field input::placeholder, .field textarea::placeholder { color: #7e8798; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: rgba(255,255,255,.09); }
.field input.err, .field select.err { border-color: #e0795f; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23aeb6c4' stroke-width='1.6' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px 8px; padding-right: 36px; }
.field select option { color: #11203a; }
.contact-form .btn { width: 100%; justify-content: center; margin-top: 4px; }
.form-note { font-size: 12px; color: #8b94a6; margin: 13px 0 0; line-height: 1.5; }
.form-success { font-size: 14px; color: #bfe6cf; margin: 13px 0 0; display: flex; gap: 8px; align-items: flex-start; }
.form-success[hidden] { display: none; }
.form-success::before { content: "✓"; color: var(--good); font-weight: 700; }

@media (max-width: 880px) { .contact { grid-template-columns: 1fr; gap: 34px; padding: 40px 28px; } }
@media (max-width: 560px) { .contact-form .fgrid { grid-template-columns: 1fr; } }
