/* Butler Financial v2 preview */
:root {
  --night: #06080d;
  --night-2: #0a0e17;
  --navy: #0c1626;
  --ink: #f4eee3;
  --ink-dim: rgba(244, 238, 227, 0.62);
  --muted: #c9b98a;
  --gold: #d4af37;
  --gold-light: #f0d78a;
  --gold-bold: #e0b84a;
  --gold-dark: #a78422;
  --ivory: #f5efe3;
  --ivory-2: #ebe2d0;
  --char: #1a1712;
  --char-2: #4a4234;
  --line: rgba(224, 184, 74, 0.32);
  --serif: "Cormorant Garamond", Palatino, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
  --shell: 1200px;
  --pad: clamp(1.15rem, 4vw, 2.6rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --head: 76px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--head); }
body {
  margin: 0;
  font-variant-numeric: lining-nums;
  background: var(--night);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.06rem;
  line-height: 1.65;
  overflow-x: clip;
  transition: background-color 0.9s var(--ease);
}
html.fx.theme-light body { background: var(--ivory); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0; }
p { margin: 0 0 1em; }
.shell { width: min(100%, var(--shell)); margin: 0 auto; padding: 0 var(--pad); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--gold); color: var(--night); padding: 0.6rem 1rem; text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }
.label { display: inline-block; font-family: var(--sans); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-bold); margin: 0 0 1rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 48px; padding: 0.8rem 1.5rem; font: 500 0.82rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; border: 1px solid var(--gold); border-radius: 999px; cursor: pointer; transition: background 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease), border-color 0.35s; }
.btn-solid { background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-dark)); color: #120e05; border-color: transparent; }
.btn-solid:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -12px rgba(224, 184, 74, 0.7); }
.btn-ghost { background: transparent; color: var(--gold-light); }
.btn-ghost:hover { background: rgba(224, 184, 74, 0.12); }

/* Progress */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 60; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-dark), var(--gold-light)); transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); }
@supports (animation-timeline: scroll()) {
  html.fx .scroll-progress span { animation: sp linear both; animation-timeline: scroll(root); }
  @keyframes sp { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

/* Header */
.topbar { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--head); display: flex; align-items: center; transition: background 0.45s var(--ease), border-color 0.45s, transform 0.45s var(--ease); border-bottom: 1px solid transparent; }
.topbar.is-solid { background: rgba(6, 8, 13, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: rgba(224, 184, 74, 0.18); }
.topbar.is-hidden { transform: translateY(-100%); }
.topbar-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; }
.brand { display: block; flex: none; }
.brand-mark { height: 58px; width: auto; }
.links { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.2rem); }
.links a:not(.btn) { position: relative; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none; color: var(--ink); padding: 0.5rem 0; }
.links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.15rem; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.4s var(--ease); }
.links a:not(.btn):hover::after, .links a.is-current::after { transform: scaleX(1); }
.links a.is-current { color: var(--gold-light); }
.links .btn { min-height: 42px; padding: 0.6rem 1.25rem; }
.nav-toggle { display: none; }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--head) + 2rem) 0 5rem; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-grid { position: absolute; inset: -20% 0; background-image: linear-gradient(rgba(224, 184, 74, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(224, 184, 74, 0.06) 1px, transparent 1px); background-size: 72px 72px; mask-image: radial-gradient(ellipse 70% 60% at 65% 45%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 65% 45%, #000 20%, transparent 75%); }
.hero-glow { position: absolute; width: 70vmax; height: 70vmax; right: -18vmax; top: -16vmax; border-radius: 50%; background: radial-gradient(circle, rgba(224, 184, 74, 0.2), rgba(224, 184, 74, 0.05) 40%, transparent 68%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(transparent, var(--night)); z-index: -1; }
.hero-grid-wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero h1 { font-size: clamp(3.2rem, 8.4vw, 7.4rem); font-weight: 500; letter-spacing: -0.01em; line-height: 0.95; margin-bottom: 1.4rem; background: linear-gradient(180deg, #fff6dd 0%, var(--gold-light) 45%, var(--gold) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.split-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; }
.split-title.is-split { background: none; color: var(--gold-light); }
.split-title .w > span { display: inline-block; background: linear-gradient(180deg, #fff6dd 0%, var(--gold-light) 45%, var(--gold) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.deck { font-family: var(--serif); font-style: italic; font-size: clamp(1.35rem, 2.3vw, 1.9rem); color: var(--gold-light); margin-bottom: 1.4rem; }
.standfirst { max-width: 36rem; color: var(--ink-dim); font-size: 1.12rem; margin-bottom: 2.2rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero-crest { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-width: 520px; width: 100%; justify-self: center; }
.hero-crest img { position: relative; width: 86%; height: auto; filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.6)); }
.orbit { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(224, 184, 74, 0.22); }
.orbit-b { inset: 9%; border-style: dashed; border-color: rgba(224, 184, 74, 0.18); }
.orbit-c { inset: -7%; border-color: rgba(224, 184, 74, 0.1); }
.orbit-a::before { content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--gold-light); box-shadow: 0 0 14px var(--gold); }
html.fx .orbit-a { animation: spin 40s linear infinite; }
html.fx .orbit-b { animation: spin 70s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.scroll-cue { position: absolute; left: 50%; bottom: 1.6rem; width: 26px; height: 42px; margin-left: -13px; border: 1px solid rgba(224, 184, 74, 0.5); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--gold-light); }
html.fx .scroll-cue span { animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Load-in reveals (motion only) */
html.fx .split-title .w > span { transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 0.12s + 0.1s); }
html.fx.loaded .split-title .w > span { transform: none; }
html.fx .rise { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
html.fx.loaded .rise { opacity: 1; transform: none; }
html.fx .hero-crest img { opacity: 0; transform: scale(0.92); transition: opacity 1.4s var(--ease) 0.3s, transform 1.6s var(--ease) 0.3s; }
html.fx.loaded .hero-crest img { opacity: 1; transform: none; }
[data-parallax] { will-change: transform; }

/* Statement: scroll-scrubbed word highlight */
.statement { position: relative; }
html.fx .statement { height: 220vh; }
.statement-pin { padding: clamp(5rem, 12vw, 9rem) 0; }
html.fx .statement-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; padding: 0; }
.statement-inner { position: relative; }
.statement-rule { display: block; width: 72px; height: 1px; background: var(--gold); margin-bottom: 2rem; transform-origin: 0 50%; }
html.fx .statement-rule { transform: scaleX(var(--p, 0)); width: 160px; }
.statement-text { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 5.2vw, 4.4rem); line-height: 1.12; max-width: 18ch; max-width: 22ch; color: var(--gold-light); margin: 0; }
html.fx .statement-text .wd { color: rgba(240, 215, 138, 0.16); transition: color 0.35s linear; }
html.fx .statement-text .wd.on { color: var(--gold-light); }

/* About: sticky portrait + chapters */
.story { padding: clamp(4rem, 10vw, 8rem) 0; }
.story-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.story-sticky { position: sticky; top: calc(var(--head) + 2rem); }
.story-photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; background: var(--navy); }
.story-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transform: scale(calc(1.12 - var(--sp2, 0) * 0.12)); transition: transform 0.2s linear, filter 0.6s; }
.story-photo .initials { position: absolute; inset: 0; display: grid; place-items: center; font: 500 4rem var(--serif); color: var(--gold); }
.story-frame { position: absolute; inset: 14px; border: 1px solid rgba(240, 215, 138, 0.55); pointer-events: none; clip-path: inset(0 calc(100% - var(--sp2, 1) * 100%) 0 0); }
.story-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(6, 8, 13, 0.55)); }
.principal-head { margin-top: 1.6rem; }
.principal-head .label { margin-bottom: 0.6rem; }
.principal-head h3 { font-size: clamp(2.2rem, 3.6vw, 3rem); color: var(--ink); }
.role { color: var(--gold-light); font-size: 0.86rem; letter-spacing: 0.24em; text-transform: uppercase; margin: 0.4rem 0 0; }
.story-steps { list-style: none; display: flex; gap: 0.5rem; padding: 0; margin: 1.4rem 0 0; }
.story-steps li { width: 34px; height: 2px; background: rgba(224, 184, 74, 0.22); transition: background 0.5s, width 0.5s var(--ease); }
.story-steps li.is-active { background: var(--gold-light); width: 58px; }
.chapter { position: relative; padding: 2.4rem 0 2.4rem 3.6rem; border-left: 1px solid var(--line); }
.chapter-no { position: absolute; left: 1.1rem; top: 2.65rem; font: italic 500 1rem var(--serif); color: var(--gold); }
.chapter p { margin: 0; font-size: 1.12rem; color: var(--ink); }
.chapter .principal-intro { font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.15rem); line-height: 1.25; color: var(--gold-light); }
.chapter .person-lede { font-size: 1.24rem; }
@media (min-width: 900px) {
  html.fx .chapter { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; }
  html.fx .chapter p { opacity: 0.22; transform: translateY(14px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
  html.fx .chapter.is-active p, html.fx .chapter.was-seen.is-last p { opacity: 1; transform: none; }
  html.fx .chapter.is-active { border-left-color: var(--gold); }
}

/* Quote band */
.quote-band { position: relative; overflow: hidden; padding: clamp(6rem, 14vw, 11rem) 0; background: linear-gradient(180deg, var(--night), var(--navy) 50%, var(--night)); isolation: isolate; }
.quote-mark { position: absolute; z-index: -1; left: 50%; top: 50%; width: min(90vw, 900px); height: auto; translate: -50% -50%; opacity: 0.06; pointer-events: none; }
.principal-quote { margin: 0 auto; max-width: 980px; text-align: center; }
.principal-quote p { font-family: var(--serif); font-style: italic; font-size: clamp(1.7rem, 3.8vw, 3.2rem); line-height: 1.22; color: var(--ink); margin: 0; }
.principal-quote::before { content: ""; display: block; width: 1px; height: 64px; margin: 0 auto 2rem; background: linear-gradient(transparent, var(--gold)); }
html.fx [data-words-in] .wd { display: inline-block; opacity: 0; transform: translateY(0.4em); filter: blur(6px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), filter 0.8s var(--ease); transition-delay: calc(var(--i) * 0.035s); }
html.fx [data-words-in].in .wd { opacity: 1; transform: none; filter: none; }

/* Services (light) */
.services { position: relative; background: var(--ivory); color: var(--char); padding: clamp(5rem, 11vw, 9rem) 0; }
html.fx .services { background: transparent; }
.services-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.services-sticky { position: sticky; top: calc(var(--head) + 2.5rem); }
.services .label { color: var(--gold-dark); }
.services h2 { font-size: clamp(2.6rem, 5vw, 4.2rem); color: var(--char); margin-bottom: 1.2rem; }
.services .intro p:not(.label) { color: var(--char-2); font-size: 1.14rem; max-width: 30rem; }
.svc-meter { margin-top: 2.4rem; display: flex; align-items: center; gap: 1.2rem; }
.svc-count { font: 500 1rem var(--serif); color: var(--char-2); letter-spacing: 0.08em; white-space: nowrap; }
.svc-count b { font-size: 2.6rem; font-weight: 500; color: var(--gold-dark); vertical-align: -0.2em; margin-right: 0.15rem; display: inline-block; min-width: 2.2ch; }
.svc-bar { flex: 1; height: 1px; background: rgba(26, 23, 18, 0.15); max-width: 220px; }
.svc-bar i { display: block; height: 100%; background: var(--gold-dark); transform-origin: 0 50%; transform: scaleX(var(--sv, 0.125)); transition: transform 0.6s var(--ease); }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; counter-reset: none; }
.tile { position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: 1.4rem; padding: 1.8rem 1.8rem 1.6rem; background: #fffaf1; border: 1px solid rgba(167, 132, 34, 0.22); border-radius: 6px; cursor: pointer; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s, background 0.5s; }
.tile:hover, .tile.is-active { border-color: rgba(167, 132, 34, 0.6); box-shadow: 0 24px 50px -30px rgba(60, 45, 10, 0.45); }
.tile:hover { transform: translateY(-3px); }
.tile::before { content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 2px; background: var(--gold-dark); transform: scaleY(0); transition: transform 0.5s var(--ease); }
.tile.is-active::before, .tile:hover::before { transform: scaleY(1); }
.tile-no { grid-row: span 3; font: italic 500 1.5rem/1 var(--serif); color: var(--gold-dark); padding-top: 0.25rem; min-width: 2ch; }
.tile-title { font-size: clamp(1.45rem, 2.2vw, 1.8rem); color: var(--char); margin-bottom: 0.45rem; }
.tile-snippet { color: var(--char-2); margin: 0 0 1rem; }
.tile-more { justify-self: start; display: inline-flex; align-items: center; gap: 0.5rem; background: none; border: 0; padding: 0.3rem 0; font: 600 0.76rem/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-dark); cursor: pointer; }
.tile-more::after { content: "\2192"; font-size: 1rem; letter-spacing: 0; transition: transform 0.35s var(--ease); }
.tile:hover .tile-more::after { transform: translateX(4px); }
.tile-full { display: none; }
.tile.is-expanded .tile-full { display: block; grid-column: 1 / -1; margin-top: 1rem; }
html.fx .tile.rv { opacity: 0; transform: translateY(40px); }
html.fx .tile.rv.in { opacity: 1; transform: none; transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), box-shadow 0.5s, border-color 0.5s; }

/* Dialog */
html.has-dialog { overflow: hidden; }
.svc-dialog { width: min(820px, calc(100vw - 2rem)); max-height: min(86vh, 900px); padding: 0; border: 1px solid rgba(167, 132, 34, 0.4); border-radius: 8px; background: var(--ivory); color: var(--char); box-shadow: 0 40px 120px -20px rgba(0, 0, 0, 0.6); overflow: hidden; }
.svc-dialog::backdrop { background: rgba(6, 8, 13, 0.72); backdrop-filter: blur(4px); }
html.fx .svc-dialog[open] { animation: dlg 0.45s var(--ease); }
@keyframes dlg { from { opacity: 0; transform: translateY(24px) scale(0.98); } }
.svc-dialog-frame { display: flex; flex-direction: column; max-height: inherit; }
.svc-dialog-bar { display: flex; justify-content: flex-end; padding: 0.6rem 0.6rem 0; }
.svc-dialog-close { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(167, 132, 34, 0.4); background: transparent; color: var(--char); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.svc-dialog-close:hover { background: rgba(167, 132, 34, 0.12); }
.svc-dialog-body { overflow-y: auto; padding: 0 clamp(1.3rem, 4vw, 3rem) 2.5rem; outline: none; overscroll-behavior: contain; }
.svc-dialog-body .tile-full { display: block; }
.tile-full h3 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); color: var(--char); margin-bottom: 0.5rem; }
.tile-full .tile-sub { font: italic 500 1.25rem var(--serif); color: var(--gold-dark); margin-bottom: 1.4rem; }
.tile-full h4 { font-family: var(--sans); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-dark); margin: 1.8rem 0 0.8rem; }
.tile-full p, .tile-full li { color: var(--char-2); }
.tile-full ul { padding-left: 1.2rem; margin: 0 0 1rem; }
.tile-full li { margin-bottom: 0.35rem; }
.tile-full li::marker { color: var(--gold-dark); }
.tile-full .tile-cta { margin-top: 1.6rem; padding: 1.2rem 1.4rem; border-left: 2px solid var(--gold-dark); background: rgba(167, 132, 34, 0.08); color: var(--char); }

/* Calculator */
.calc { position: relative; padding: clamp(5rem, 11vw, 9rem) 0; background: radial-gradient(ellipse 80% 60% at 80% 0%, rgba(224, 184, 74, 0.08), transparent 60%), var(--night); }
.calc-intro { max-width: 40rem; margin-bottom: 3rem; }
.calc-intro h2 { font-size: clamp(2.6rem, 5vw, 4.2rem); margin-bottom: 1rem; color: var(--ink); }
.calc-intro p:not(.label) { color: var(--ink-dim); font-size: 1.12rem; }
.calc-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.calc-form, .calc-result { background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)); border: 1px solid rgba(224, 184, 74, 0.2); border-radius: 10px; padding: clamp(1.3rem, 3vw, 2.2rem); }
.calc-result { position: sticky; top: calc(var(--head) + 1.5rem); }
.calc-field { display: block; margin-bottom: 1.6rem; }
.calc-field:last-child { margin-bottom: 0; }
.calc-label { display: block; font-size: 0.76rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.6rem; }
.calc-input { display: flex; align-items: center; border-bottom: 1px solid rgba(224, 184, 74, 0.35); transition: border-color 0.3s; }
.calc-input:focus-within { border-color: var(--gold-light); }
.calc-affix { font: 500 1.6rem var(--serif); color: var(--gold); margin-right: 0.3rem; }
.calc-input input { flex: 1; min-width: 0; width: 100%; font-variant-numeric: lining-nums; background: transparent; border: 0; color: var(--ink); font: 500 1.7rem var(--serif); padding: 0.3rem 0; outline: none; -moz-appearance: textfield; }
.calc-input input::-webkit-outer-spin-button, .calc-input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc-range { display: flex; align-items: center; gap: 1rem; }
.calc-range output { min-width: 5.6rem; text-align: right; font: 500 1.4rem var(--serif); color: var(--gold-light); }
.calc-slide { margin-top: 0.9rem; }
input[type="range"] { --fill: 50%; -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; flex: 1; margin: 0; }
input[type="range"]::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--gold) var(--fill), rgba(224, 184, 74, 0.18) var(--fill)); }
input[type="range"]::-moz-range-track { height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--gold) var(--fill), rgba(224, 184, 74, 0.18) var(--fill)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -8.5px; border-radius: 50%; background: var(--gold-light); border: 3px solid var(--night); box-shadow: 0 0 0 1px var(--gold); transition: transform 0.2s; }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--gold-light); border: 3px solid var(--night); box-shadow: 0 0 0 1px var(--gold); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.2); }
.calc-figures { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 1.5rem; margin-bottom: 1.4rem; }
.calc-figure-main { grid-column: 1 / -1; padding-bottom: 1.1rem; border-bottom: 1px solid rgba(224, 184, 74, 0.18); }
.calc-k { display: flex; align-items: center; gap: 0.5rem; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.calc-figure strong { display: block; font: 500 1.7rem/1.2 var(--serif); color: var(--ink); font-variant-numeric: tabular-nums; margin-top: 0.3rem; overflow-wrap: anywhere; }
.calc-figure-main strong { font-size: clamp(2.6rem, 5vw, 3.8rem); background: linear-gradient(180deg, #fff6dd, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.swatch { display: inline-block; width: 10px; height: 10px; border-radius: 2px; }
.swatch-contrib { background: rgba(201, 185, 138, 0.55); }
.swatch-growth { background: var(--gold-bold); }
.calc-chart { position: relative; }
#calc-svg { display: block; width: 100%; height: clamp(180px, 24vw, 260px); touch-action: pan-y; }
.calc-axis { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--muted); margin-top: 0.5rem; letter-spacing: 0.06em; }
.calc-tip { position: absolute; transform: translateX(-50%); padding: 0.5rem 0.75rem; background: rgba(6, 8, 13, 0.92); border: 1px solid rgba(224, 184, 74, 0.45); border-radius: 6px; font-size: 0.8rem; line-height: 1.4; white-space: nowrap; pointer-events: none; color: var(--ink); }
.calc-tip b { color: var(--gold-light); font-weight: 600; }
.calc-disclaimer { margin: 1.4rem 0 0.4rem; padding: 0.75rem 1rem; border: 1px solid rgba(224, 184, 74, 0.3); border-radius: 6px; font-size: 0.9rem; color: var(--gold-light); }
.calc-method { font-size: 0.82rem; color: var(--ink-dim); margin: 0; }

/* Contact */
.converse { padding: 0 0 clamp(4rem, 9vw, 7rem); background: var(--night); }
.cta-band { padding: clamp(4rem, 9vw, 7rem) 0 3rem; border-top: 1px solid rgba(224, 184, 74, 0.15); text-align: center; }
.cta-inner h2 { font-size: clamp(2.8rem, 6vw, 5rem); color: var(--gold-light); margin-bottom: 1rem; }
.cta-inner p:not(.label) { color: var(--ink-dim); font-size: 1.14rem; }
.cta-inner a { color: var(--gold-light); }
.converse-body { display: grid; grid-template-columns: minmax(0, 0.6fr) minmax(0, 1.4fr); gap: clamp(2rem, 5vw, 4rem); max-width: 1000px; }
.channels { margin: 0; }
.channels dt { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.channels dd { margin: 0.4rem 0 0; font: 500 1.7rem var(--serif); }
.channels dd a { text-decoration: none; color: var(--gold-light); }
.inquiry-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.inquiry-form .full { grid-column: 1 / -1; }
.inquiry-form label { display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.76rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.inquiry-form input:not([type="checkbox"]), .inquiry-form textarea { font: 300 1.05rem var(--sans); color: var(--ink); background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(224, 184, 74, 0.25); border-radius: 6px; padding: 0.85rem 1rem; letter-spacing: 0; text-transform: none; transition: border-color 0.3s, background 0.3s; }
.inquiry-form input:focus, .inquiry-form textarea:focus { outline: none; border-color: var(--gold-light); background: rgba(255, 255, 255, 0.05); }
.inquiry-form button { justify-self: start; }
.hp-field { position: absolute; left: -9999px; opacity: 0; }
.form-note { margin: 0; padding: 0.7rem 1rem; border-radius: 6px; }
.form-note.is-ok { background: rgba(80, 160, 100, 0.15); color: #bfe6c6; }
.form-note.is-err { background: rgba(200, 80, 60, 0.15); color: #f2c2b6; }
.form-fine { font-size: 0.86rem; color: var(--ink-dim); margin: 0; }
.form-fine a { color: var(--gold-light); }

/* Footer */
.legal { border-top: 1px solid rgba(224, 184, 74, 0.15); padding: 2.4rem 0; background: var(--night); }
.legal-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem; }
.legal-brand { font: 500 1.5rem var(--serif); color: var(--gold-light); margin: 0; }
.legal-tag { margin: 0.2rem 0 0; color: var(--ink-dim); font-size: 0.92rem; }
.legal-tag a { color: var(--ink-dim); }
.disclaimer { margin: 0; color: var(--ink-dim); font-size: 0.86rem; }

.to-top { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 40; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(224, 184, 74, 0.5); background: rgba(6, 8, 13, 0.85); display: grid; place-items: center; opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity 0.4s, transform 0.4s var(--ease); }
.to-top.is-on { opacity: 1; pointer-events: auto; transform: none; }
.to-top span { width: 10px; height: 10px; border-left: 1.5px solid var(--gold-light); border-top: 1.5px solid var(--gold-light); transform: translateY(2px) rotate(45deg); }

/* Generic reveal */
html.fx .rv:not(.tile) { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
html.fx .rv.in:not(.tile) { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 960px) {
  .hero-crest { order: -1; max-width: 300px; }
  .story-grid, .services-grid, .calc-grid, .converse-body, .hero-grid-wrap { grid-template-columns: minmax(0, 1fr); }
  .story-sticky, .services-sticky, .calc-result { position: static; }
  .story-photo { max-width: 420px; }
  .story-steps, .svc-meter { display: none; }
}
@media (max-width: 760px) {
  :root { --head: 66px; }
  .brand-mark { height: 48px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid rgba(224, 184, 74, 0.45); border-radius: 50%; background: transparent; cursor: pointer; position: relative; }
  .nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { display: block; width: 18px; height: 1.5px; background: var(--gold-light); position: relative; transition: transform 0.3s var(--ease), background 0.3s; }
  .nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bar::before { top: -6px; }
  .nav-toggle-bar::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }
  .links { position: fixed; top: var(--head); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 1rem var(--pad) 1.6rem; background: rgba(6, 8, 13, 0.97); border-bottom: 1px solid rgba(224, 184, 74, 0.2); visibility: hidden; opacity: 0; transform: translateY(-10px); transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0.3s; }
  .links.is-open { visibility: visible; opacity: 1; transform: none; }
  .links a:not(.btn) { padding: 0.95rem 0; border-bottom: 1px solid rgba(224, 184, 74, 0.12); }
  .links .btn { margin-top: 1rem; }
  .topbar { background: rgba(6, 8, 13, 0.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
  .hero { padding-bottom: 4.5rem; }
  .hero-crest { max-width: 230px; }
  .actions .btn { flex: 1 1 100%; }
  html.fx .statement { height: 170vh; }
  .chapter { padding-left: 2.6rem; }
  .chapter-no { left: 0.7rem; }
  .tile { padding: 1.4rem 1.2rem; column-gap: 1rem; }
  .calc-figures { grid-template-columns: 1fr; }
  .inquiry-form { grid-template-columns: minmax(0, 1fr); }
  .inquiry-form button { justify-self: stretch; }
  .principal-quote::before { height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
}
.hero, .statement, .story { background-color: var(--night); }
.story-aside, .services-aside { align-self: stretch; }
/* Numerals: Cormorant ships old-style figures, so numbers use the sans face */
.calc-input input, .calc-affix, .calc-range output, .calc-figure strong, .svc-count, .svc-count b, .tile-no, .channels dd { font-family: var(--sans); font-style: normal; font-weight: 300; font-variant-numeric: lining-nums tabular-nums; }
.calc-input input { font-size: 1.55rem; }
.calc-affix { font-size: 1.4rem; }
.calc-range output { font-size: 1.15rem; font-weight: 400; }
.calc-figure strong { font-size: 1.55rem; }
.calc-figure-main strong { font-weight: 300; letter-spacing: -0.01em; }
.tile-no { font-size: 0.9rem; font-weight: 600; letter-spacing: 0.12em; padding-top: 0.55rem; }
.svc-count b { font-size: 2.2rem; font-weight: 300; }
.channels dd { font-size: 1.5rem; }
.chapter-no { position: static; display: block; margin-bottom: 0.9rem; font-size: 1.05rem; }
.chapter { padding-left: 2.6rem; }
@media (min-width: 900px) { html.fx .chapter { min-height: 52vh; } }
.calc-figure.calc-figure-main strong { font-size: clamp(2.5rem, 5vw, 3.6rem); }
