/* Jigajinni Financial Services theme (navy + gold) */
:root {
  --navy-950: #050d18;
  --navy-900: #07111f;
  --navy-800: #0b1a2e;
  --navy-700: #11233c;
  --navy-600: #1b3252;
  --gold: #d6ab63;
  --gold-light: #f0d39a;
  --gold-dark: #a97c3c;
  --gold-grad: linear-gradient(135deg, #f3d79c 0%, #d6ab63 45%, #b4843f 100%);
  --cream: #f7f2ea;
  --cream-2: #efe6d8;
  --white: #fff;
  --ink: #0d1b2a;
  --muted: #5b6878;
  --muted-light: #a9b4c3;
  --line-dark: rgba(214, 171, 99, 0.22);
  --line-light: #e5dccd;
  --green: #3ccf91;
  --red: #ff6b6b;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 40px -18px rgba(5, 13, 24, 0.45);
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--ann, 0px) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--navy-900); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--gold); color: var(--ink); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.ico { width: 20px; height: 20px; flex: none; }
.ico.sm { width: 16px; height: 16px; }
.eyebrow { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--gold); margin-bottom: .9rem; }
.eyebrow.ink { color: var(--ink); }
.gold-text { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.muted-light { color: var(--muted-light); }
.tiny { font-size: .75rem; }
.lead { font-size: clamp(1rem, 1.4vw, 1.12rem); color: #d7dee8; max-width: 560px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .9em 1.6em; border-radius: 999px; font-weight: 600; font-size: .93rem; border: 1px solid transparent; transition: transform .2s, box-shadow .2s, background .2s, color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: .6em 1.1em; font-size: .82rem; }
.btn-block { width: 100%; }
.btn-gold { background: var(--gold-grad); color: var(--navy-900); box-shadow: 0 10px 24px -10px rgba(214, 171, 99, .7); }
.btn-gold:hover { box-shadow: 0 14px 30px -10px rgba(214, 171, 99, .9); }
.btn-outline { border-color: rgba(240, 211, 154, .6); color: #fff; background: rgba(255, 255, 255, .02); }
.btn-outline:hover { background: rgba(214, 171, 99, .12); }
.btn-ghost { border-color: rgba(255, 255, 255, .22); color: #fff; background: rgba(255, 255, 255, .04); }
.btn-dark { background: var(--navy-900); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.text-link { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; font-size: .9rem; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.text-link.on-dark { color: var(--gold-light); }
.round-arrow { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--gold-grad); color: var(--navy-900); transition: transform .25s; }
.round-arrow .ico { width: 15px; height: 15px; }
.round-arrow.sm { width: 26px; height: 26px; background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.mini-arrow { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line-light); color: var(--ink); }
.mini-arrow .ico { width: 13px; height: 13px; }
.circle-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: transparent; color: #fff; display: grid; place-items: center; transition: background .2s; }
.circle-btn:hover { background: rgba(214,171,99,.18); }

/* Header */
.site-header { position: fixed; inset: var(--ann, 0px) 0 auto; z-index: 50; height: var(--header-h); transition: background .3s, box-shadow .3s; }
.site-header.scrolled, body.solid-header .site-header { background: rgba(7, 17, 31, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line-dark); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 100%; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; flex: none; }
.logo-mark { width: 40px; height: auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-weight: 600; font-size: 1.12rem; letter-spacing: .04em; }
.logo-sub { font-size: .56rem; font-weight: 600; letter-spacing: .24em; margin-top: 4px; color: var(--gold); }
.logo-tag { font-size: .46rem; letter-spacing: .14em; margin-top: 4px; color: #d6dbe3; }
.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.main-nav a { display: flex; align-items: center; gap: 4px; color: #e7ecf2; font-size: .88rem; font-weight: 500; padding: 10px 12px; border-radius: 8px; }
.main-nav a:hover, .main-nav a.active { color: var(--gold-light); }
.main-nav .caret { width: 14px; height: 14px; transition: transform .2s; }
.has-sub { position: relative; }
.sub { position: absolute; top: 100%; left: 0; min-width: 220px; list-style: none; margin: 0; padding: 8px; background: var(--navy-800); border: 1px solid var(--line-dark); border-radius: 12px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.has-sub:hover .caret { transform: rotate(180deg); }
.sub a { padding: 9px 12px; }
.sub a:hover { background: rgba(214,171,99,.1); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn .ico { width: 15px; height: 15px; }
.menu-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,.2); color: #fff; width: 42px; height: 42px; border-radius: 10px; place-items: center; }

.mobile-nav { position: fixed; inset: 0; z-index: 100; background: var(--navy-900); color: #fff; padding: 16px var(--gutter) calc(24px + env(safe-area-inset-bottom)); overflow-y: auto; display: flex; flex-direction: column; animation: slideIn .25s ease; }
.mobile-nav[hidden] { display: none; }
@keyframes slideIn { from { transform: translateX(100%); } to { transform: none; } }
.mobile-nav-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.menu-close { background: none; border: 1px solid rgba(255,255,255,.2); color: #fff; width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; }
.mobile-nav > ul { list-style: none; padding: 0; margin: 0; }
.mobile-nav > ul > li { border-bottom: 1px solid rgba(255,255,255,.08); }
.mobile-nav > ul > li > a, .m-acc { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 16px 2px; font-size: 1.05rem; font-weight: 500; color: #fff; background: none; border: 0; text-align: left; }
.m-acc[aria-expanded="true"] .ico { transform: rotate(180deg); }
.m-sub { list-style: none; padding: 0 0 12px 12px; margin: 0; }
.m-sub a { display: block; padding: 9px 0; color: var(--muted-light); }
.mobile-nav-actions { margin-top: auto; padding-top: 24px; display: grid; gap: 12px; }
.m-contact { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--gold-light); padding: 8px; }

/* Hero */
.hero { position: relative; min-height: min(100vh, 900px); display: flex; align-items: center; background: var(--navy-900); color: #fff; overflow: hidden; padding: calc(var(--header-h) + var(--ann, 0px) + 40px) 0 60px; }
.hero-media { position: absolute; inset: 0 0 0 38%; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy-900) 0%, rgba(7,17,31,.85) 18%, rgba(7,17,31,.25) 55%, rgba(7,17,31,.35) 100%), linear-gradient(0deg, var(--navy-900) 0%, transparent 30%); }
.hero-inner { position: relative; display: grid; grid-template-columns: 1fr 280px; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); line-height: 1.02; margin-bottom: .45em; }
.hero h1 span { display: block; }
.hero .lead { margin-bottom: 2rem; }
.hero-highlights { display: flex; flex-wrap: wrap; list-style: none; padding: 0; margin: 2.6rem 0 0; }
.hero-highlights li { display: flex; align-items: center; gap: 12px; padding: 4px 22px; border-left: 1px solid rgba(255,255,255,.15); font-size: .8rem; line-height: 1.25; color: #d7dee8; }
.hero-highlights li:first-child { border-left: 0; padding-left: 0; }
.hero-highlights strong { display: block; font-size: 1.15rem; color: #fff; font-weight: 600; }
.hero-highlights small { font-size: .78rem; max-width: 90px; display: block; }
.hl-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-dark); color: var(--gold); }
.hero-side { position: relative; align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.script { position: absolute; top: -120px; right: 250px; font-family: 'Great Vibes', cursive; color: var(--gold-light); font-size: 2.4rem; line-height: 1.1; transform: rotate(-12deg); width: 260px; text-align: center; text-shadow: 0 2px 12px rgba(0,0,0,.4); pointer-events: none; }
.pill-curve { position: absolute; left: -10px; top: 50%; height: 440px; width: 120px; transform: translateY(-50%); }
.hero-pills { position: relative; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.hero-pills a { display: flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: 12px; background: rgba(7,17,31,.62); border: 1px solid var(--line-dark); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: .85rem; font-weight: 500; transition: .25s; }
.hero-pills a:hover { border-color: var(--gold); transform: translateX(-4px); }
.hero-pills li:nth-child(1), .hero-pills li:nth-child(6) { margin-left: 0; }
.hero-pills li:nth-child(2), .hero-pills li:nth-child(5) { margin-left: 22px; }
.hero-pills li:nth-child(3), .hero-pills li:nth-child(4) { margin-left: 34px; }
.pill-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: rgba(214,171,99,.12); color: var(--gold); }
.pill-ico .ico { width: 18px; height: 18px; }

/* Ticker */
.ticker { background: var(--navy-950); color: #fff; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); font-size: .82rem; }
.ticker-inner { display: flex; align-items: center; gap: 24px; min-height: 52px; }
.ticker-track { flex: 1; overflow: hidden; }
.ticker-items { display: flex; gap: 48px; }
.tick { display: inline-flex; gap: 12px; align-items: center; white-space: nowrap; }
.tick b { font-weight: 600; }
.tick em { font-style: normal; font-weight: 500; }
.up { color: var(--green); }
.down { color: var(--red); }
.ticker-link { display: inline-flex; align-items: center; gap: 6px; color: var(--gold-light); font-weight: 600; white-space: nowrap; }

/* Section shells */
.section { padding: clamp(56px, 7vw, 96px) 0; }
.light { background: var(--cream); color: var(--ink); }
.dark { background: radial-gradient(1200px 500px at 85% 0%, rgba(27,50,82,.55), transparent 60%), var(--navy-900); color: #fff; }
.split { display: grid; grid-template-columns: minmax(240px, 300px) 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.split-head .btn, .split-head .text-link { margin-top: .6rem; }

/* Rails (card rows) */

.photo-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 5 / 8; border-radius: var(--radius); overflow: hidden; color: #fff; background: var(--navy-800); box-shadow: var(--shadow); isolation: isolate; }
.photo-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s; }
.photo-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,17,31,0) 30%, rgba(7,17,31,.75) 62%, rgba(7,17,31,.96) 100%); }
.photo-card:hover img { transform: scale(1.06); }
.photo-card:hover .round-arrow { transform: translateX(3px); }
.photo-card-body { padding: 0 14px 52px; display: flex; flex-direction: column; gap: 4px; }
.photo-card strong { font-size: 1rem; font-weight: 600; line-height: 1.25; }
.photo-card small { font-size: .78rem; color: #c8d1dd; line-height: 1.4; }
.photo-card .round-arrow { position: absolute; right: 12px; bottom: 12px; }
.dark-card { border: 1px solid var(--line-dark); aspect-ratio: 5 / 6.4; }
.dark-card::after { background: linear-gradient(180deg, rgba(7,17,31,0) 25%, rgba(7,17,31,.85) 60%, #0b1a2e 100%); }

/* Method */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; }
.step { position: relative; padding: 0 14px; border-left: 1px solid rgba(255,255,255,.08); }
.step-ico { display: block; color: var(--gold); margin-bottom: 18px; }
.step-ico .ico { width: 34px; height: 34px; stroke-width: 1.3; }
.step::before { content: ''; position: absolute; top: 17px; left: 56px; right: 6px; border-top: 1px dashed rgba(214,171,99,.45); }
.step:last-child::before { display: none; }
.step::after { content: ''; position: absolute; top: 13px; right: 4px; width: 7px; height: 7px; border-top: 1px solid var(--gold); border-right: 1px solid var(--gold); transform: rotate(45deg); }
.step:last-child::after { display: none; }
.step-num { display: block; font-size: 1.1rem; color: var(--muted-light); margin-bottom: 4px; }
.step h3 { font-family: var(--sans); font-weight: 600; font-size: 1.15rem; margin-bottom: 6px; }
.step p { font-size: .85rem; color: var(--muted-light); margin: 0; }

/* X-Ray + ecosystem */
.xray-wrap { display: grid; grid-template-columns: 2fr 1fr; }
.xray { display: grid; grid-template-columns: 1fr 1.15fr; gap: 32px; padding: clamp(48px, 6vw, 80px) clamp(20px, 4vw, 48px) clamp(48px, 6vw, 80px) max(var(--gutter), calc((100vw - 1280px) / 2 + var(--gutter))); align-items: center; }
.xray h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.range-row { display: grid; grid-template-columns: 130px 1fr 100px; align-items: center; gap: 12px; margin-bottom: 14px; font-size: .85rem; }
.range-row select { grid-column: 2 / 4; }
.range-out { display: block; text-align: left; padding: 6px 10px; border: 1px solid rgba(255,255,255,.14); border-radius: 8px; font-size: .82rem; background: rgba(255,255,255,.03); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--gold) var(--p, 50%), rgba(255,255,255,.18) var(--p, 50%)); outline-offset: 6px; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: #9fc0ff; border: 3px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.2); cursor: pointer; }
input[type=range]::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: #9fc0ff; border: 3px solid #fff; cursor: pointer; }
.xray select { width: 100%; padding: 8px 10px; background: rgba(255,255,255,.03); color: #fff; border: 1px solid rgba(255,255,255,.14); border-radius: 8px; font: inherit; font-size: .85rem; }
.xray select option { color: var(--ink); }
.xray-form .btn { margin-top: 10px; }
.xray-card { background: linear-gradient(160deg, rgba(27,50,82,.55), rgba(7,17,31,.9)); border: 1px solid var(--line-dark); border-radius: 18px; padding: 24px; box-shadow: var(--shadow); }
.xr-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.xr-top small { display: block; color: var(--muted-light); font-size: .78rem; }
.xr-top strong { display: block; font-family: var(--serif); font-size: 2.1rem; color: var(--gold-light); line-height: 1.1; }
.xr-goal-tag { font-size: .72rem; padding: 4px 10px; border-radius: 999px; background: rgba(214,171,99,.14); color: var(--gold-light); white-space: nowrap; }
.xr-chart { width: 100%; height: 120px; margin: 10px 0 14px; }
.xr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.xr-grid > div { border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.03); border-radius: 10px; padding: 9px 11px; min-width: 0; }
.xr-grid small { display: block; font-size: .68rem; color: var(--muted-light); }
.xr-grid b { font-size: .98rem; font-weight: 600; }
.warn { color: #ff8a65; }
.info { color: #7fb8ff; }
.xray-card .tiny { color: var(--muted-light); }
.ecosystem { padding: clamp(48px, 6vw, 80px) max(var(--gutter), calc((100vw - 1280px) / 2 + var(--gutter))) clamp(48px, 6vw, 80px) clamp(20px, 3vw, 36px); display: grid; grid-template-columns: 1fr; gap: 22px; align-content: center; }
.eco-head h2 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); }
.eco-list { display: grid; gap: 12px; }
.eco-card { display: grid; grid-template-columns: 44px 1fr 26px; gap: 14px; align-items: center; padding: 16px; border-radius: 14px; transition: transform .2s; }
.eco-card:hover { transform: translateY(-2px); }
.eco-0 { background: #f1ece2; }
.eco-1 { background: #e5eef3; }
.eco-2 { background: #e6efe9; }
.eco-ico { color: #2d6fb5; }
.eco-2 .eco-ico { color: #2f8a5b; }
.eco-0 .eco-ico { color: var(--gold-dark); }
.eco-ico .ico { width: 36px; height: 36px; stroke-width: 1.3; }
.eco-card strong { display: block; font-family: var(--serif); font-size: 1.05rem; font-weight: 500; }
.eco-card small { display: block; color: var(--muted); font-size: .78rem; line-height: 1.45; }

/* Calculators cards */
.calc-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px 16px 44px; background: #fff; border: 1px solid var(--line-light); border-radius: 14px; transition: .25s; min-height: 170px; }
.calc-card:hover { transform: translateY(-4px); box-shadow: 0 16px 30px -18px rgba(13,27,42,.35); border-color: var(--gold); }
.calc-card strong { font-size: .92rem; font-weight: 600; }
.calc-card small { font-size: .78rem; color: var(--muted); line-height: 1.4; }
.calc-card .mini-arrow { position: absolute; right: 14px; bottom: 14px; }
.calc-ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; margin-bottom: 8px; }
.calc-ico .ico { width: 19px; height: 19px; }
.c0 { background: #fbf1df; color: #b4843f; } .c1 { background: #e6f4ec; color: #2f8a5b; } .c2 { background: #e5f0fb; color: #2d6fb5; }
.c3 { background: #ecebfb; color: #5a54c9; } .c4 { background: #fbefe2; color: #c1702a; } .c5 { background: #fbe6e9; color: #c23b54; }

/* Testimonials */
.stats { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 0; list-style: none; padding: 0; margin: 1.6rem 0 0; }
.stats li { padding: 0 18px; border-left: 1px solid rgba(255,255,255,.15); }
.stats li:first-child { padding-left: 0; border-left: 0; }
.stats strong { display: block; font-family: var(--serif); font-size: 1.6rem; font-weight: 500; color: #fff; }
.stats small { font-size: .75rem; color: var(--muted-light); }
.testimonials .split { grid-template-columns: minmax(280px, 400px) 1fr; }
.t-wrap { display: flex; align-items: center; gap: 20px; min-width: 0; }
.t-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc(50% - 10px); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; flex: 1; }
.t-track::-webkit-scrollbar { display: none; }
.t-card { scroll-snap-align: start; margin: 0; padding: 26px; border-radius: 16px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.03); display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.t-card .q { width: 26px; height: 26px; color: var(--gold); stroke-width: 1.2; }
.t-card blockquote { margin: 0; font-size: .95rem; line-height: 1.6; color: #e7ecf2; }
.t-card figcaption { display: flex; align-items: center; gap: 12px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); }
.t-card strong { display: block; font-size: .92rem; }
.t-card small { font-size: .78rem; color: var(--muted-light); }
.t-nav { display: flex; gap: 10px; }

/* Article cards */
.post-card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-light); transition: .25s; }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 16px 30px -18px rgba(13,27,42,.35); }
.post-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--cream-2); }
.post-img img { width: 100%; height: 100%; object-fit: cover; }
.post-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 18px; flex: 1; }
.post-cat { font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.post-body strong { font-size: .95rem; font-weight: 600; line-height: 1.35; padding-right: 26px; }
.post-meta { font-size: .74rem; color: var(--muted); margin-top: auto; }
.post-card .mini-arrow { position: absolute; right: 14px; bottom: 16px; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--navy-800), var(--navy-700)); color: #fff; padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--line-dark); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-inner h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); margin-bottom: .3em; }
.cta-inner p { color: var(--muted-light); margin: 0; }

/* Inner pages */
.page-hero { position: relative; background: var(--navy-900); color: #fff; padding: calc(var(--header-h) + var(--ann, 0px) + clamp(40px, 6vw, 80px)) 0 clamp(44px, 6vw, 72px); overflow: hidden; }
.page-hero-media { position: absolute; inset: 0; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,17,31,.95) 0%, rgba(7,17,31,.75) 55%, rgba(7,17,31,.45) 100%); }
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); max-width: 820px; }
.crumbs { display: flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--muted-light); margin-bottom: 18px; }
.crumbs a:hover { color: var(--gold-light); }
.page-grid { display: grid; grid-template-columns: 1fr 380px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.prose { font-size: 1.02rem; color: #2a3646; }
.prose h2, .prose h3 { color: var(--ink); margin-top: 1.4em; }
.prose a { color: var(--gold-dark); text-decoration: underline; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose img { border-radius: 12px; margin: 1em 0; }
.lead-dark { font-size: 1.15rem; color: var(--ink); font-weight: 500; }
.dark .prose { color: #d7dee8; }
.dark .prose h2, .dark .prose h3 { color: #fff; }
.side-card { background: #fff; border: 1px solid var(--line-light); border-radius: 18px; padding: 26px; box-shadow: 0 20px 40px -28px rgba(13,27,42,.4); position: sticky; top: calc(var(--header-h) + 20px); }
.side-card h3 { font-size: 1.4rem; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 56px; }
.feature { background: #fff; border: 1px solid var(--line-light); border-radius: 16px; padding: 24px; }
.feature h3 { font-family: var(--sans); font-weight: 600; font-size: 1.05rem; margin: 14px 0 6px; }
.feature p { color: var(--muted); font-size: .92rem; margin: 0; }
.feature-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: #fbf1df; color: var(--gold-dark); flex: none; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chip { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-light); background: #fff; font-size: .85rem; font-weight: 500; }
.chip.on { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.related { padding-top: 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 440px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.contact-info { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.info-card { display: flex; gap: 14px; align-items: flex-start; padding: 20px; background: #fff; border: 1px solid var(--line-light); border-radius: 16px; transition: .2s; }
a.info-card:hover { border-color: var(--gold); }
.info-card small { display: block; color: var(--muted); font-size: .78rem; }
.info-card strong { display: block; font-weight: 600; font-size: .95rem; overflow-wrap: anywhere; }
.map { grid-column: 1 / -1; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-light); aspect-ratio: 16 / 8; }
.map iframe { width: 100%; height: 100%; border: 0; }

/* Forms */
.lead-form { display: grid; gap: 12px; }
.field { display: grid; gap: 5px; }
.field label { font-size: .8rem; font-weight: 600; color: var(--ink); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lead-form input, .lead-form select, .lead-form textarea { width: 100%; padding: 12px 14px; border: 1px solid #d9d2c4; border-radius: 10px; font: inherit; font-size: 16px; background: #fdfbf7; color: var(--ink); }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(214,171,99,.2); }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-msg { margin: 0; font-size: .88rem; min-height: 1.2em; }
.form-msg.ok { color: #2f8a5b; }
.form-msg.err { color: #c23b54; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(5,13,24,.7); backdrop-filter: blur(4px); }
.modal-card { position: relative; width: 100%; max-width: 480px; max-height: calc(100vh - 32px); overflow-y: auto; background: var(--cream); border-radius: 20px; padding: 28px; animation: pop .25s ease; }
.modal-card h3 { font-size: 1.7rem; margin-bottom: .2em; }
@keyframes pop { from { transform: translateY(16px); opacity: 0; } }
.modal-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-light); background: #fff; display: grid; place-items: center; }

/* Footer */
.site-footer { background: var(--navy-950); color: var(--muted-light); padding-top: 64px; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer-brand p { margin: 18px 0; max-width: 380px; }
.footer-contact { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .ico { color: var(--gold); width: 18px; height: 18px; margin-top: 3px; }
.footer-contact a:hover, .footer-col a:hover { color: var(--gold-light); }
.social { display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.15); color: #fff; transition: .2s; }
.social a:hover { border-color: var(--gold); color: var(--gold); }
.social .ico { width: 17px; height: 17px; }
.footer-col h4 { color: #fff; font-size: .95rem; margin: 6px 0 16px; font-weight: 600; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-disclaimer { display: flex; gap: 24px; align-items: center; margin-top: 44px; padding-top: 28px; padding-bottom: 28px; border-top: 1px solid rgba(255,255,255,.08); font-size: .78rem; }
.footer-disclaimer p { margin: 0; }
.app-badge { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 12px; border: 1px solid var(--line-dark); color: #fff; flex: none; font-size: .85rem; font-weight: 600; line-height: 1.2; }
.app-badge small { display: block; font-weight: 400; font-size: .7rem; color: var(--muted-light); }
.app-badge .ico { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0 calc(18px + env(safe-area-inset-bottom)); font-size: .8rem; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.credit a { color: var(--gold-light); }

.wa-float { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -6px rgba(37,211,102,.6); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float .ico { width: 28px; height: 28px; }

/* Calculators page */
.calc-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 24px; scrollbar-width: thin; }
.calc-tabs button { flex: none; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-light); background: #fff; font-weight: 500; font-size: .88rem; color: var(--ink); }
.calc-tabs button[aria-selected="true"] { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.calc-box { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; background: #fff; border: 1px solid var(--line-light); border-radius: 20px; padding: clamp(20px, 3vw, 36px); }
.calc-box h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.calc-field { margin-bottom: 20px; }
.calc-field .top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; font-size: .9rem; font-weight: 500; }
.calc-field .num { display: flex; align-items: center; gap: 4px; border: 1px solid #d9d2c4; border-radius: 8px; padding: 4px 10px; background: #fdfbf7; font-size: .9rem; }
.calc-field .num input { width: 110px; border: 0; background: none; font: inherit; text-align: right; color: var(--ink); font-size: 16px; }
.calc-field .num input:focus { outline: none; }
.calc-page input[type=range] { background: linear-gradient(90deg, var(--gold) var(--p, 50%), #e8e1d4 var(--p, 50%)); }
.calc-page input[type=range]::-webkit-slider-thumb { background: var(--gold); }
.calc-page input[type=range]::-moz-range-thumb { background: var(--gold); }
.calc-result { background: var(--navy-900); color: #fff; border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.calc-result .big small { display: block; color: var(--muted-light); font-size: .8rem; }
.calc-result .big strong { font-family: var(--serif); font-size: clamp(1.9rem, 3.2vw, 2.6rem); color: var(--gold-light); font-weight: 500; line-height: 1.15; }
.calc-rows { display: grid; gap: 8px; }
.calc-rows div { display: flex; justify-content: space-between; gap: 10px; font-size: .9rem; border-bottom: 1px dashed rgba(255,255,255,.12); padding-bottom: 8px; }
.calc-rows span { color: var(--muted-light); }
.calc-chart { display: flex; gap: 18px; align-items: center; }
.calc-chart svg { width: 120px; height: 120px; flex: none; }
.legend { display: grid; gap: 6px; font-size: .82rem; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; }
.calc-disclaimer { margin-top: 18px; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } .reveal { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .main-nav a { padding: 10px 8px; font-size: .84rem; }
  .hide-sm { display: none !important; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
  .step:nth-child(3)::before, .step:nth-child(3)::after { display: none; }
  .xray-wrap { grid-template-columns: 1fr; }
  .xray { padding-left: var(--gutter); padding-right: var(--gutter); }
  .ecosystem { padding: 56px var(--gutter); grid-template-columns: 280px 1fr; align-items: center; }
  .eco-list { grid-template-columns: repeat(3, 1fr); }
  .eco-card { grid-template-columns: 1fr; align-content: start; }
  .eco-card .round-arrow { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  :root { --header-h: 66px; }
  .main-nav { display: none; }
  .menu-toggle { display: grid; }
  .header-actions { margin-left: auto; }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 28px); }
  .hero-media { inset: 0; }
  .hero-media::after { background: linear-gradient(180deg, rgba(7,17,31,.55) 0%, rgba(7,17,31,.82) 45%, var(--navy-900) 100%); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-side { order: 2; }
  .script, .pill-curve { display: none; }
  .hero-pills { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); scrollbar-width: none; }
  .hero-pills::-webkit-scrollbar { display: none; }
  .hero-pills li { margin: 0 !important; flex: none; scroll-snap-align: start; }
  .split, .testimonials .split { grid-template-columns: 1fr; }
  .page-grid, .contact-grid { grid-template-columns: 1fr; }
  .side-card { position: static; }
  .calc-box { grid-template-columns: 1fr; }
  .xray { grid-template-columns: 1fr; }
  .ecosystem { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  /* Horizontal swipe rails on phones */
  .steps { grid-template-columns: 1fr 1fr; }
  .step::before, .step::after { display: none; }
  .eco-list { grid-template-columns: 1fr; }
  .eco-card { grid-template-columns: 44px 1fr; }
  .ticker-inner { flex-wrap: wrap; gap: 0; padding-top: 10px; padding-bottom: 10px; }
  .ticker-link { width: 100%; justify-content: center; padding-top: 8px; font-size: .78rem; }
  .ticker-track { mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 18px 0; }
  .stats li:nth-child(3) { padding-left: 0; border-left: 0; }
  .contact-info { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer-disclaimer { flex-direction: column; align-items: flex-start; }
  .footer-bottom-inner { flex-direction: column; text-align: center; align-items: center; }
  .site-footer { padding-bottom: 70px; }
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (max-width: 560px) {
  .hide-xs { display: none !important; }
  .logo-mark { width: 38px; }
  .logo-name { font-size: 1rem; }
  .logo-sub { font-size: .5rem; letter-spacing: .2em; }
  .logo-tag { font-size: .42rem; }
  .hero h1 { font-size: clamp(2.3rem, 11vw, 3rem); }
  .btn-row .btn { flex: 1 1 100%; }
  .hero-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 2rem; }
  .hero-highlights li { border: 0; padding: 0; }
  .range-row { grid-template-columns: 1fr auto; row-gap: 8px; }
  .range-row label { grid-column: 1; }
  .range-row .range-out { grid-column: 2; grid-row: 1; min-width: 100px; text-align: right; }
  .range-row input[type=range] { grid-column: 1 / -1; }
  .range-row select { grid-column: 1 / -1; }
  .xr-grid { grid-template-columns: 1fr 1fr; }
  .xray-form .btn { width: 100%; }
  .field-row { grid-template-columns: 1fr; }
  .calc-chart { flex-direction: column; align-items: flex-start; }
  .calc-field .num input { width: 90px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .modal-card { padding: 22px 18px; }
  .cta-inner .btn-row { width: 100%; }
}
.hero-inner > *, .split > *, .xray > *, .page-grid > *, .contact-grid > * { min-width: 0; }
@media (max-width: 760px) { .ticker-track { flex: 1 1 100%; min-width: 0; } }

/* ======================= v2: motion, rails & richer pages ======================= */

/* Auto-scrolling card rails (JS clones the cards for a seamless loop) */
.rail-wrap { position: relative; min-width: 0; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 60px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 60px), transparent 100%); }
.card-rail { display: flex; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; padding: 10px 40px 22px; scrollbar-width: none; -webkit-overflow-scrolling: touch; cursor: grab; }
.card-rail::-webkit-scrollbar { display: none; }
.card-rail.dragging { cursor: grabbing; user-select: none; }
.card-rail.dragging a { pointer-events: none; }
.card-rail > * { flex: 0 0 var(--cw, 220px); }
.goal-rail { --cw: 210px; }
.inv-rail { --cw: 220px; }
.calc-rail { --cw: 230px; }
.post-rail { --cw: 310px; }
.t-rail { --cw: 420px; }
.rail-wrap:not(.ready) .card-rail { scroll-snap-type: x proximity; }

/* Card polish */
.photo-card { transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s; }
.photo-card::before { content: ''; position: absolute; inset: 0; border-radius: inherit; border: 1px solid rgba(240, 211, 154, 0); transition: border-color .4s; z-index: 2; pointer-events: none; }
.photo-card:hover { transform: translateY(-8px); box-shadow: 0 28px 50px -24px rgba(5, 13, 24, .75); }
.photo-card:hover::before { border-color: rgba(240, 211, 154, .7); }
.photo-card img { transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.photo-card:hover img { transform: scale(1.1); }
.calc-card, .post-card, .feature, .info-card, .eco-card { transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, border-color .35s; }
.calc-card:hover .calc-ico, .feature:hover .feature-ico { transform: rotate(-8deg) scale(1.08); }
.calc-ico, .feature-ico { transition: transform .35s; }
.post-img img { transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.post-card:hover .post-img img { transform: scale(1.07); }
.post-card:hover .mini-arrow, .calc-card:hover .mini-arrow { background: var(--gold); border-color: var(--gold); color: var(--navy-900); }
.mini-arrow { transition: .25s; }

/* Testimonials */
.t-card { position: relative; background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); border: 1px solid rgba(240, 211, 154, .18); min-height: 250px; transition: transform .4s, border-color .4s; }
.t-card:hover { transform: translateY(-6px); border-color: rgba(240, 211, 154, .55); }
.t-top { display: flex; justify-content: space-between; align-items: center; }
.stars { display: inline-flex; gap: 3px; }
.stars .ico { width: 15px; height: 15px; color: rgba(255,255,255,.25); }
.stars .ico.on { color: var(--gold); fill: var(--gold); }
.testimonials .split { grid-template-columns: minmax(260px, 360px) 1fr; }

/* Entrance animations */
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pillIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
.anim-up { animation: fadeUp .9s cubic-bezier(.2,.7,.2,1) both; animation-delay: var(--d, 0s); }
.anim-fade { animation: fadeIn 1.4s ease both; animation-delay: var(--d, 0s); }
.pill-in { animation: pillIn .8s cubic-bezier(.2,.7,.2,1) both; animation-delay: var(--d, 0s); }
.reveal { transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }

/* Gold shimmer text + button shine */
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.shimmer { background-image: linear-gradient(110deg, #b4843f 0%, #f0d39a 25%, #fff3d6 35%, #d6ab63 50%, #b4843f 70%, #f0d39a 100%); background-size: 200% 100%; animation: shimmer 6s linear infinite; }
.anim-up.shimmer { animation: fadeUp .9s cubic-bezier(.2,.7,.2,1) both, shimmer 6s linear infinite; animation-delay: var(--d, 0s), 0s; }
.shine { position: relative; overflow: hidden; isolation: isolate; }
.shine::after { content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-20deg); z-index: -1; transition: none; }
.shine:hover::after { left: 130%; transition: left .8s ease; }
@keyframes autoShine { 0%, 70% { left: -60%; } 100% { left: 130%; } }
.hero .shine::after, .cta-band .shine::after { animation: autoShine 4.5s ease-in-out infinite; }

/* Hero motion */
@keyframes kenburns { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.14) translate(-2%, -1%); } }
.hero-media img { animation: kenburns 24s ease-in-out infinite alternate; transform-origin: 60% 40%; }
.hero-orbs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-orbs span { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .35; background: radial-gradient(circle, rgba(214,171,99,.9), transparent 65%); animation: orb 16s ease-in-out infinite alternate; }
.hero-orbs span:nth-child(1) { width: 380px; height: 380px; left: -120px; top: 10%; }
.hero-orbs span:nth-child(2) { width: 260px; height: 260px; left: 40%; bottom: -80px; animation-duration: 20s; opacity: .22; }
.hero-orbs span:nth-child(3) { width: 200px; height: 200px; right: 5%; top: 15%; animation-duration: 13s; opacity: .18; background: radial-gradient(circle, rgba(127,184,255,.9), transparent 65%); }
@keyframes orb { from { transform: translate(0, 0) scale(1); } to { transform: translate(60px, -40px) scale(1.2); } }
.page-hero .hero-orbs span:nth-child(1) { opacity: .25; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.hero-pills li:nth-child(odd) a { animation: floaty 5s ease-in-out infinite; }
.hero-pills li:nth-child(even) a { animation: floaty 6s ease-in-out infinite .8s; }
.hero-pills a:hover { animation-play-state: paused; }

/* Ticker: continuous loop on all screens */
.ticker-items { width: max-content; animation: marquee 38s linear infinite; }
.ticker-track:hover .ticker-items { animation-play-state: paused; }
.ticker-track { -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.tick { padding-right: 48px; }
.ticker-items { gap: 0; }
.tick .live { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(60,207,145,.6); animation: pulse 2s infinite; }

/* Section heading accent */
.split-head h2::after, .page-h2::after { content: ''; display: block; width: 56px; height: 2px; margin-top: 18px; background: var(--gold-grad); border-radius: 2px; }
.split-head .eyebrow::before { content: ''; display: inline-block; width: 22px; height: 1px; background: currentColor; vertical-align: middle; margin-right: 10px; opacity: .8; }

/* Scroll progress + back to top */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; background: var(--gold-grad); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }
.to-top { position: fixed; right: 18px; bottom: calc(86px + env(safe-area-inset-bottom)); z-index: 59; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-dark); background: rgba(7,17,31,.85); color: var(--gold-light); display: grid; place-items: center; opacity: 0; transform: translateY(12px); transition: .3s; pointer-events: none; backdrop-filter: blur(6px); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top .ico { transform: rotate(-90deg); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
.wa-float { animation: pulse 2.4s infinite; }

/* Financial X-Ray chart animation */
.xr-chart .xr-line { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: draw 1.6s cubic-bezier(.4,0,.2,1) forwards; }
.xr-chart .xr-area { opacity: 0; animation: fadeIn 1s ease .6s forwards; }
.xr-chart .xr-dot { opacity: 0; animation: fadeIn .3s ease 1.5s forwards; }
.xr-chart .xr-ring { transform-box: fill-box; transform-origin: center; animation: ring 1.8s ease-out 1.6s infinite; opacity: 0; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes ring { 0% { opacity: .8; transform: scale(1); } 100% { opacity: 0; transform: scale(3.2); } }
.xr-chart { overflow: visible; }
.xr-axis { display: flex; justify-content: space-between; font-size: .68rem; color: var(--muted-light); margin: -8px 0 12px; }
.xray-card { position: relative; overflow: hidden; }
.xray-card::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(240,211,154,.6), transparent 40%, transparent 60%, rgba(127,184,255,.4)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.xr-grid > div { transition: transform .3s, border-color .3s; }
.xr-grid > div:hover { transform: translateY(-2px); border-color: rgba(214,171,99,.4); }
.xr-flash { animation: flash .6s ease; }
@keyframes flash { 0% { color: #fff; text-shadow: 0 0 18px rgba(240,211,154,.9); } 100% { text-shadow: none; } }

/* FAQ */
.faq-split { align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line-light); border-radius: 14px; transition: border-color .3s, box-shadow .3s; }
.faq-item[open] { border-color: var(--gold); box-shadow: 0 18px 36px -26px rgba(13,27,42,.45); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font-weight: 600; font-size: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-ico { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--cream-2); transition: background .3s, transform .3s; }
.faq-ico::before, .faq-ico::after { content: ''; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.6px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .3s; }
.faq-ico::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-ico { background: var(--gold); transform: rotate(180deg); }
.faq-item[open] .faq-ico::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { padding: 0 20px 18px; color: var(--muted); animation: fadeUp .45s ease; }
.faq-a p { margin: 0; }

/* Inner page building blocks */
.cream2 { background: var(--cream-2); color: var(--ink); }
.page-hero { min-height: 440px; display: flex; align-items: flex-end; }
.page-hero.has-img { min-height: 520px; }
.page-hero-media img { animation: kenburns 26s ease-in-out infinite alternate; }
.page-hero .btn-row { margin-top: 1.6rem; }
.page-hero .lead { max-width: 640px; }
.stat-strip { position: relative; z-index: 3; margin-top: -46px; background: linear-gradient(var(--navy-900) 46px, var(--cream) 46px); }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.stat-card { background: #fff; border: 1px solid var(--line-light); border-radius: 16px; padding: 18px 20px; box-shadow: 0 22px 40px -30px rgba(13,27,42,.6); display: flex; flex-direction: column; gap: 2px; }
.stat-card strong { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; color: var(--navy-800); line-height: 1.15; }
.stat-card span { font-size: .82rem; color: var(--muted); }
.badge-card { flex-direction: row; align-items: center; gap: 12px; background: var(--navy-900); border-color: var(--navy-900); }
.badge-card .ico { color: var(--gold); width: 30px; height: 30px; }
.badge-card span { color: var(--muted-light); }
.badge-card b { display: block; color: #fff; font-size: 1rem; }
.page-body { padding-top: 64px; }
.page-h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.feature-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-top: 36px; }
.feature { position: relative; overflow: hidden; }
.feature:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 24px 40px -28px rgba(13,27,42,.5); }
.feature-num { position: absolute; right: 16px; top: 10px; font-family: var(--serif); font-size: 2.6rem; color: rgba(214,171,99,.18); line-height: 1; }
.trust-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.trust-list li { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 12px; background: #fff; border: 1px dashed var(--line-light); font-weight: 500; font-size: .92rem; }
.trust-list .ico { color: var(--gold-dark); }
.side-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: #fbf1df; color: var(--gold-dark); font-size: .75rem; font-weight: 600; margin-bottom: 12px; }
.side-badge .ico { width: 14px; height: 14px; fill: currentColor; }
.side-call { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line-light); font-weight: 600; }
.side-call .ico { color: var(--gold-dark); }
.side-call small { display: block; font-weight: 400; color: var(--muted); font-size: .75rem; }
.side-card { border-top: 3px solid var(--gold); }
.calc-teaser { background: linear-gradient(110deg, var(--navy-800), var(--navy-600)); color: #fff; padding: 44px 0; position: relative; overflow: hidden; }
.calc-teaser::after { content: ''; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(214,171,99,.35), transparent 70%); }
.calc-teaser-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; position: relative; z-index: 1; }
.calc-teaser h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: .2em; }
.calc-teaser p { margin: 0; }
.calc-teaser .eyebrow { margin-bottom: .4rem; }
.calc-teaser-ico { width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center; background: rgba(214,171,99,.15); color: var(--gold-light); border: 1px solid var(--line-dark); }
.calc-teaser-ico .ico { width: 34px; height: 34px; }
.cta-band { position: relative; overflow: hidden; }
.cta-glow { position: absolute; width: 520px; height: 520px; right: -140px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(214,171,99,.28), transparent 65%); animation: orb 14s ease-in-out infinite alternate; pointer-events: none; }
.cta-band .container { position: relative; }

/* Insights: featured post, article */
.featured-post { display: grid; grid-template-columns: 1.15fr 1fr; background: #fff; border: 1px solid var(--line-light); border-radius: 22px; overflow: hidden; margin-bottom: 36px; box-shadow: 0 30px 60px -40px rgba(13,27,42,.5); transition: transform .4s, box-shadow .4s; }
.featured-post:hover { transform: translateY(-4px); box-shadow: 0 40px 70px -40px rgba(13,27,42,.6); }
.fp-img { position: relative; min-height: 320px; overflow: hidden; background: var(--cream-2); }
.fp-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s; }
.featured-post:hover .fp-img img { transform: scale(1.06); }
.fp-tag { position: absolute; left: 16px; top: 16px; background: var(--gold-grad); color: var(--navy-900); font-weight: 700; font-size: .72rem; padding: 6px 12px; border-radius: 999px; letter-spacing: .06em; text-transform: uppercase; }
.fp-body { display: flex; flex-direction: column; gap: 12px; padding: clamp(24px, 4vw, 44px); justify-content: center; }
.fp-body strong { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 500; line-height: 1.2; }
.fp-body .btn { align-self: flex-start; margin-top: 8px; }
.post-meta { display: inline-flex; align-items: center; gap: 6px; }
.article-meta { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-bottom: 20px; margin-bottom: 24px; border-bottom: 1px solid var(--line-light); }
.author { display: flex; align-items: center; gap: 10px; }
.author b { display: block; font-size: .92rem; }
.author small { color: var(--muted); font-size: .8rem; }
.share { display: flex; gap: 8px; }
.share a, .share button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-light); background: #fff; display: grid; place-items: center; color: var(--ink); transition: .25s; }
.share a:hover, .share button:hover { background: var(--navy-900); color: var(--gold-light); border-color: var(--navy-900); }
.share .ico { width: 17px; height: 17px; }
.article-note { display: flex; gap: 12px; margin-top: 28px; padding: 16px 18px; border-radius: 12px; background: #fbf1df; color: #6d5122; font-size: .85rem; }
.article-note p { margin: 0; }
.article-note .ico { flex: none; color: var(--gold-dark); }

/* Contact & calculators extras */
.info-card.wide { grid-column: 1 / -1; }
.feature-ico.wa { background: #e3f8ec; color: #1f9d55; }
.why-calc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.method .steps:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, 1fr); }
.method .steps:has(> :nth-child(4):last-child) .step:nth-child(3)::before, .method .steps:has(> :nth-child(4):last-child) .step:nth-child(3)::after { display: block; }

/* Step animation */
.step { transition: transform .35s; }
.step:hover { transform: translateY(-4px); }
.step:hover .step-ico { color: var(--gold-light); }
.step-ico .ico { transition: transform .4s; }
.step:hover .step-ico .ico { transform: scale(1.12) rotate(-6deg); }

@media (max-width: 1180px) {
  .why-calc { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 960px) {
  .featured-post { grid-template-columns: 1fr; }
  .fp-img { min-height: 220px; aspect-ratio: 16 / 9; }
  .calc-teaser-inner { grid-template-columns: 1fr; text-align: left; }
  .testimonials .split { grid-template-columns: 1fr; }
  .why-calc { grid-template-columns: 1fr; }
  .page-hero, .page-hero.has-img { min-height: 0; }
}
@media (max-width: 760px) {
  .rail-wrap { margin: 0 calc(var(--gutter) * -1); -webkit-mask-image: none; mask-image: none; }
  .card-rail { padding: 8px var(--gutter) 18px; gap: 12px; }
  .goal-rail { --cw: min(62vw, 250px); }
  .inv-rail { --cw: min(60vw, 240px); }
  .calc-rail { --cw: min(60vw, 240px); }
  .post-rail { --cw: min(80vw, 320px); }
  .t-rail { --cw: min(86vw, 380px); }
  .t-card { min-height: 230px; padding: 22px; }
  .trust-list { grid-template-columns: 1fr; }
  .stat-strip { margin-top: -30px; background: linear-gradient(var(--navy-900) 30px, var(--cream) 30px); }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-card { padding: 14px; }
  .stat-card strong { font-size: 1.3rem; }
  .badge-card { grid-column: 1 / -1; }
  .stat-card:nth-child(odd):nth-last-child(2) { grid-column: 1 / -1; }
  .page-body { padding-top: 44px; }
  .method .steps:has(> :nth-child(4):last-child) { grid-template-columns: 1fr 1fr; }
  .method .steps .step::before, .method .steps .step::after { display: none !important; }
  .faq-item summary { padding: 16px; font-size: .95rem; }
  .faq-a { padding: 0 16px 16px; }
  .hero-orbs span:nth-child(1) { width: 240px; height: 240px; }
  .to-top { right: 22px; bottom: calc(84px + env(safe-area-inset-bottom)); width: 40px; height: 40px; }
  .article-meta { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .anim-up, .anim-fade, .pill-in { opacity: 1 !important; transform: none !important; }
}
.hero-media, .page-hero-media { overflow: hidden; }

/* Scrolling announcement bar (Admin → Site settings) */
.has-announce { --ann: 34px; }
.announce { position: fixed; inset: 0 0 auto; z-index: 56; height: var(--ann); background: var(--gold-grad); color: var(--navy-900); overflow: hidden; display: flex; align-items: center; font-size: .8rem; font-weight: 600; letter-spacing: .01em; box-shadow: 0 1px 0 rgba(0,0,0,.15); }
.announce-track { width: 100%; overflow: hidden; }
.announce-items { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.announce:hover .announce-items { animation-play-state: paused; }
.announce-items span { display: inline-flex; align-items: center; gap: 10px; padding-right: 56px; white-space: nowrap; }
.announce-items .ico { width: 13px; height: 13px; fill: currentColor; opacity: .7; }
.side-card { top: calc(var(--header-h) + var(--ann, 0px) + 20px); }
@media (max-width: 760px) { .has-announce { --ann: 30px; } .announce { font-size: .72rem; } }
@media (prefers-reduced-motion: reduce) { .announce-items { animation: none; } }
/* Handwritten hero line sits in flow above the goal shortcuts so it never reaches the header */
.script { position: relative; top: auto; right: auto; margin: 0 0 22px -90px; }
