/* Boultarin Consulting — emerald & champagne. Change a token here to restyle the whole page.
   Motion: every hidden "before" state is scoped to html.motion, which is only set when
   JavaScript runs and the visitor has not asked for reduced motion. */
:root {
  --bg: #071510;
  --bg-alt: #0E211A;
  --field: #0B1C15;
  --emerald: #1F6B4F;
  --emerald-hi: #2FA87A;
  --gold: #D9C08C;
  --gold-hi: #EAD9B0;
  --ivory: #F3EEE2;
  --text: #C9D3CD;
  --muted: #A9B8AF;
  --line: rgba(217, 192, 140, .18);
  --display: "Cormorant Garamond", Georgia, serif;
  --body: "Manrope", system-ui, sans-serif;
  --shell: 1240px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
/* clip (not hidden) so position: sticky keeps working */
html, body { overflow-x: clip; }
html.motion { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ivory); font: 400 16px/1.6 var(--body); }
img, svg { display: block; max-width: 100%; }
a { color: var(--gold); }
a:hover { color: var(--gold-hi); }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 600; }
h1 em, h2 em, .foot-cta em { color: var(--gold); }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--emerald-hi); outline-offset: 3px; }
::selection { background: var(--gold); color: var(--bg); }

/* Film grain over everything */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-4%, 3%); } 40% { transform: translate(3%, -5%); }
  60% { transform: translate(-6%, -2%); } 80% { transform: translate(5%, 4%); } 100% { transform: translate(0, 0); }
}

.skip { position: absolute; left: -999px; top: 8px; z-index: 300; padding: 10px 16px; background: var(--gold); color: var(--bg); font-weight: 700; }
.skip:focus { left: 16px; }
.shell { position: relative; z-index: 1; max-width: var(--shell); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 1000px; }
.center { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 26px; }

.eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; font-size: 12px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--emerald-hi); }
.eyebrow .rule { width: 36px; height: 1px; background: currentColor; transform-origin: 0 50%; }
.eyebrow.light { color: var(--gold-hi); margin: 0; }
.muted { color: var(--muted); }
h2 + .muted { margin-top: 18px; }

/* ---------- Intro ---------- */
.intro { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; background: var(--bg); clip-path: inset(0 0 0 0); transition: clip-path 1.1s var(--ease-io); }
.intro-on .intro { display: flex; }
.intro-on body { overflow: hidden; }
.intro.done { clip-path: inset(0 0 100% 0); }
.intro-inner { display: flex; flex-direction: column; align-items: center; transition: transform 1.1s var(--ease-io), opacity .8s; }
.intro.done .intro-inner { transform: translateY(-60px); opacity: 0; }
.intro-mark { width: 92px; height: 92px; }
.intro-mark path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.2s var(--ease-io) forwards; animation-delay: var(--d); }
.intro-word { display: flex; overflow: hidden; margin-top: 26px; padding-left: .55em; font: 600 28px/1.1 var(--display); letter-spacing: .55em; color: var(--ivory); }
.intro-word span { display: inline-block; transform: translateY(110%); animation: rise .9s var(--ease) forwards; animation-delay: calc(.45s + var(--i) * 50ms); }
.intro-sub { margin-top: 10px; font-size: 10px; font-weight: 700; letter-spacing: .5em; text-transform: uppercase; color: var(--gold); opacity: 0; animation: fade .8s ease 1s forwards; }
.intro-count { position: absolute; right: 32px; bottom: 26px; font: 500 clamp(56px, 9vw, 120px)/1 var(--display); color: var(--gold); font-variant-numeric: tabular-nums; }
.intro-count small { font-size: .35em; margin-left: 4px; color: var(--muted); }
.intro-line { position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: linear-gradient(90deg, var(--emerald-hi), var(--gold)); transform: scaleX(0); transform-origin: 0 50%; animation: grow 1.5s var(--ease-io) forwards; }
@keyframes rise { to { transform: none; } }
@keyframes grow { to { transform: scaleX(1); } }

/* ---------- Buttons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; gap: 10px;
  min-height: 56px; padding: 0 30px; font: 700 16px var(--body); text-decoration: none; border: 1px solid var(--gold);
  cursor: pointer; transition: color .45s var(--ease), border-color .45s;
}
.btn::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; background: var(--ivory);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0; transform: translateY(102%);
  transition: transform .6s var(--ease), border-radius .6s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: none; border-radius: 0; }
.btn-solid { background: var(--gold); color: var(--bg); }
.btn-solid:hover { color: var(--bg); }
.btn-solid::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%);
  transform: translateX(-120%); animation: sheen 5s var(--ease-io) 2.5s infinite;
}
@keyframes sheen { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.btn-line { background: transparent; color: var(--gold-hi); font-weight: 600; }
.btn-line::before { background: var(--gold); }
.btn-line:hover { color: var(--bg); }
.btn-sm { min-height: 44px; padding: 0 22px; font-size: 14px; }
.btn-label, .btn-arrow { position: relative; display: inline-block; }
.btn-arrow { transition: transform .5s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(6px); }
[data-magnetic] { will-change: transform; }
.btn[disabled] { opacity: .75; cursor: progress; }
.btn.is-loading .btn-arrow { animation: nudge .8s var(--ease-io) infinite alternate; }
@keyframes nudge { to { transform: translateX(8px); } }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60; border-bottom: 1px solid transparent;
  transition: transform .6s var(--ease), background .4s, border-color .4s, backdrop-filter .4s;
}
.site-header.scrolled { background: rgba(7, 21, 16, .82); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); border-color: rgba(217, 192, 140, .14); }
.site-header.hidden { transform: translateY(-101%); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 84px; transition: min-height .5s var(--ease); }
.scrolled .header-row { min-height: 68px; }
.progress { position: absolute; left: 0; bottom: -1px; width: 100%; height: 2px; background: linear-gradient(90deg, var(--emerald-hi), var(--gold)); transform: scaleX(0); transform-origin: 0 50%; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { transition: transform .8s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.06); }
.brand-text { display: flex; flex-direction: column; gap: 3px; }
.brand-name { font: 600 22px/1 var(--display); letter-spacing: .12em; color: var(--ivory); }
.brand-sub { font-size: 10px; font-weight: 700; letter-spacing: .4em; color: var(--gold); }
.site-nav { position: relative; display: flex; align-items: center; gap: 30px; }
.site-nav a:not(.btn) { position: relative; display: inline-block; overflow: hidden; color: var(--text); text-decoration: none; font-size: 14px; font-weight: 500; line-height: 1.5; }
.site-nav a:not(.btn) span { display: block; transition: transform .5s var(--ease); }
.site-nav a:not(.btn)::after { content: attr(data-text); position: absolute; left: 0; top: 100%; color: var(--gold-hi); transition: transform .5s var(--ease); }
.site-nav a:not(.btn):hover span, .site-nav a:not(.btn):hover::after { transform: translateY(-100%); }
.site-nav a.active { color: var(--gold-hi); }
.nav-ind { position: absolute; left: 0; bottom: -6px; width: 0; height: 1px; background: var(--gold); opacity: 0; pointer-events: none; transition: transform .6s var(--ease), width .6s var(--ease), opacity .3s; }
.nav-ind.on { opacity: 1; }
.nav-toggle { display: none; width: 46px; height: 46px; background: none; border: 1px solid rgba(217, 192, 140, .4); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span { width: 18px; height: 1.6px; background: var(--gold); transition: transform .35s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; display: flex; align-items: center; min-height: 100vh; min-height: 100svh; padding-top: 84px; overflow: clip; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(217, 192, 140, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(217, 192, 140, .09) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(520px circle at var(--mx, 72%) var(--my, 45%), #000, transparent 70%);
  mask-image: radial-gradient(520px circle at var(--mx, 72%) var(--my, 45%), #000, transparent 70%);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); }
.o1 { width: 560px; height: 560px; left: -180px; top: -120px; background: var(--emerald); opacity: .45; animation: float1 18s ease-in-out infinite alternate; }
.o2 { width: 420px; height: 420px; right: -120px; bottom: -160px; background: var(--gold); opacity: .12; animation: float2 22s ease-in-out infinite alternate; }
@keyframes float1 { to { transform: translate(160px, 120px) scale(1.15); } }
@keyframes float2 { to { transform: translate(-140px, -100px) scale(.9); } }
.hero-grid { position: relative; width: 100%; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 64px; padding-top: 72px; padding-bottom: 112px; }
.hero-copy { display: flex; flex-direction: column; gap: 26px; }
.hero-copy .eyebrow { margin: 0; }
.hero h1 { font-size: clamp(44px, 5.6vw, 84px); line-height: .98; letter-spacing: -.01em; }
.lead { max-width: 560px; font-size: 19px; line-height: 1.65; color: var(--text); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

.motion .hero-in { opacity: 0; transform: translateY(28px); }
.motion .hero-in .rule { transform: scaleX(0); }
.motion.is-loaded .hero-in { opacity: 1; transform: none; transition: opacity 1s var(--ease) var(--d, 0s), transform 1.3s var(--ease) var(--d, 0s); }
.motion.is-loaded .hero-in .rule { transform: none; transition: transform 1.2s var(--ease-io) .2s; }

/* Masked word reveal for headings (words wrapped by main.js) */
[data-split] .sw { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .06em .1em 0; margin: 0 -.06em -.1em 0; }
[data-split] .sw > span { display: inline-block; transform-origin: 0 100%; }
.motion [data-split] .sw > span { transform: translateY(115%) rotate(5deg); }
.motion [data-split].is-in .sw > span { transform: none; transition: transform 1.2s var(--ease) calc(var(--i) * 55ms + .1s); }

/* Blueprint */
.blueprint { position: relative; margin: 0; perspective: 1400px; }
.bp-inner { position: relative; padding: 22px; transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.bp-inner svg { position: relative; width: 100%; height: auto; background: var(--bg-alt); border: 1px solid rgba(217, 192, 140, .22); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }
.corner { position: absolute; width: 34px; height: 34px; border: 0 solid var(--gold); transform: translateZ(40px); transition: width .6s var(--ease), height .6s var(--ease); }
.blueprint:hover .corner { width: 48px; height: 48px; }
.corner.tl { left: 0; top: 0; border-left-width: 2px; border-top-width: 2px; }
.corner.tr { right: 0; top: 0; border-right-width: 2px; border-top-width: 2px; }
.corner.bl { left: 0; bottom: 0; border-left-width: 2px; border-bottom-width: 2px; }
.corner.br { right: 0; bottom: 0; border-right-width: 2px; border-bottom-width: 2px; }
.tag { position: absolute; right: -6px; top: 56px; padding: 12px 16px; background: var(--bg); border: 1px solid rgba(217, 192, 140, .35); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); transform: translateZ(90px); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .8); }
.tag::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 10px; border-radius: 50%; background: var(--emerald-hi); vertical-align: 1px; animation: blink 2s ease-in-out infinite; }
.motion .tag { animation: bob 5s ease-in-out infinite; }
@keyframes bob { 50% { translate: 0 -10px; } }
@keyframes blink { 50% { opacity: .25; } }

.motion .draw path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.motion.is-loaded .draw path { animation: draw 2s var(--ease-io) forwards; animation-delay: calc(var(--d) + .35s); }
.motion.is-loaded .draw.thin path { animation-duration: 1.2s; }
.motion .labels { opacity: 0; }
.motion.is-loaded .labels { animation: fade 1s ease 2.9s forwards; }
.lights > * { opacity: .4; }
.motion .lights > * { opacity: 0; }
.motion.is-loaded .lights > * { animation: lightOn 1.2s linear forwards, breathe 5s ease-in-out infinite alternate; animation-delay: var(--d), calc(var(--d) + 1.2s); }
@keyframes lightOn { 0% { opacity: 0; } 10% { opacity: .5; } 14% { opacity: .05; } 22% { opacity: .55; } 26% { opacity: .15; } 40%, 100% { opacity: .45; } }
@keyframes breathe { from { opacity: .45; } to { opacity: .25; } }
.scan { opacity: 0; }
.motion.is-loaded .scan { animation: scan 7s linear 4.6s infinite; }
@keyframes scan { 0% { opacity: 1; transform: translateY(0); } 85% { opacity: 1; } 100% { opacity: 0; transform: translateY(600px); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }

/* Crosshair that follows the pointer over the blueprint */
.xhair { position: absolute; inset: 22px; pointer-events: none; opacity: 0; transition: opacity .3s; transform: translateZ(20px); overflow: hidden; }
.blueprint:hover .xhair { opacity: 1; }
.xh-x, .xh-y { position: absolute; left: 0; top: 0; background: rgba(47, 168, 122, .55); }
.xh-x { width: 100%; height: 1px; transform: translateY(var(--cy, 0)); }
.xh-y { width: 1px; height: 100%; transform: translateX(var(--cx, 0)); }
.xh-read { position: absolute; left: 0; top: 0; padding: 4px 7px; background: rgba(7, 21, 16, .9); border: 1px solid rgba(47, 168, 122, .45); font: 700 10px var(--body); letter-spacing: .15em; color: var(--emerald-hi); white-space: nowrap; font-variant-numeric: tabular-nums; transform: translate(calc(var(--cx, 0) + 12px), calc(var(--cy, 0) + 12px)); }

.scroll-cue { position: absolute; left: 50%; bottom: 26px; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 12px; transform: translateX(-50%); font-size: 10px; font-weight: 700; letter-spacing: .35em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.scroll-cue i { position: relative; width: 1px; height: 56px; overflow: hidden; background: rgba(217, 192, 140, .2); }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 40%; background: var(--gold); animation: cue 2.2s var(--ease-io) infinite; }
@keyframes cue { from { transform: translateY(-100%); } to { transform: translateY(260%); } }
.motion .scroll-cue { opacity: 0; }
.motion.is-loaded .scroll-cue { opacity: 1; transition: opacity 1s 1.6s; }

/* ---------- Marquee ---------- */
.marquee { position: relative; z-index: 2; overflow: hidden; padding: 30px 0; background: var(--bg); border-block: 1px solid var(--line); }
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-group { display: flex; align-items: center; gap: 44px; padding-right: 44px; font: 500 italic clamp(30px, 4.4vw, 60px)/1.1 var(--display); color: var(--ivory); white-space: nowrap; }
.mq-o { color: transparent; -webkit-text-stroke: 1px var(--gold); }
.mq-mark { flex: none; width: 12px; height: 12px; border: 1px solid var(--gold); transform: rotate(45deg); }

/* ---------- Sections ---------- */
.section { position: relative; padding: 120px 0; overflow-x: clip; }
.section.alt { background: var(--bg-alt); border-top: 1px solid rgba(217, 192, 140, .12); }
.section h2, .head h2 { font-size: clamp(34px, 4vw, 58px); line-height: 1.05; }
.head { max-width: 680px; margin-bottom: 52px; }
.ghost { position: absolute; top: 34px; right: -2%; z-index: 0; font: 600 italic clamp(110px, 17vw, 260px)/1 var(--display); color: transparent; -webkit-text-stroke: 1px rgba(217, 192, 140, .09); white-space: nowrap; pointer-events: none; user-select: none; will-change: transform; }
.approach .ghost { right: auto; left: -2%; }

/* Generic reveal */
.motion [data-reveal] { opacity: 0; transform: translateY(30px); }
.motion [data-reveal].is-in { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.motion .head[data-reveal] { opacity: 1; transform: none; }

/* Cards: the 1px gaps light up around the pointer */
.cards {
  --x: 50%; --y: 50%;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--line);
  background: radial-gradient(420px circle at var(--x) var(--y), rgba(234, 217, 176, .75), var(--line) 50%);
}
.card { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 14px; min-height: 330px; padding: 36px 30px 44px; background: var(--bg-alt); }
.card::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(340px circle at var(--cx, 50%) var(--cy, 50%), rgba(47, 168, 122, .16), transparent 60%); opacity: 0; transition: opacity .5s; }
.card:hover::before { opacity: 1; }
.card > * { position: relative; }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: auto; padding-bottom: 36px; }
.card .num { display: flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .25em; color: var(--gold); }
.card .num::after { content: ""; width: 22px; height: 1px; background: currentColor; transition: width .6s var(--ease); }
.card:hover .num::after { width: 48px; }
.icon { width: 52px; height: 52px; fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; transition: transform .7s var(--ease); }
.card:hover .icon { transform: translateY(-4px) scale(1.08); }
.card:hover .icon path { animation: redraw 1.1s var(--ease-io); }
@keyframes redraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.icon path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.card h3 { font-size: 28px; line-height: 1.1; transition: transform .6s var(--ease), color .4s; }
.card:hover h3 { transform: translateX(6px); color: var(--gold-hi); }
.card p { font-size: 15px; color: var(--muted); }
.card-line { position: absolute !important; left: 0; bottom: 0; width: 100%; height: 2px; background: linear-gradient(90deg, var(--emerald-hi), var(--gold)); transform: scaleX(0); transform-origin: 0 50%; transition: transform .7s var(--ease); }
.card:hover .card-line { transform: scaleX(1); }

.motion [data-stagger] > * { opacity: 0; transform: translateY(50px); }
.motion [data-stagger].is-in > * { opacity: 1; transform: none; transition: opacity 1s var(--ease) calc(var(--i) * .12s), transform 1.2s var(--ease) calc(var(--i) * .12s); }
.motion .cards .icon path { stroke-dashoffset: 1; }
.motion .cards.is-in .icon path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--ease-io) calc(var(--i) * .12s + .4s); }

/* ---------- Approach: plan builds up as the steps scroll by ---------- */
.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: 80px; align-items: center; }
.split.top { align-items: start; grid-template-columns: 1fr 1.4fr; }
.approach .split { align-items: start; }
.plan-wrap { position: sticky; top: 110px; }
.plan { position: relative; margin: 0; padding: 18px; border: 1px solid rgba(217, 192, 140, .25); background: var(--bg-alt); }
.plan svg { width: 100%; height: auto; }
.plan-cap { position: absolute; left: 18px; bottom: 18px; z-index: 1; display: flex; gap: 10px; align-items: center; padding: 8px 12px; background: rgba(7, 21, 16, .85); border: 1px solid var(--line); font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: var(--muted); }
.plan-cap b { color: var(--gold); font-weight: 700; }
.ly path { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--ease-io); }
.motion .plan .ly path { stroke-dashoffset: 1; }
.motion .plan .ly2 path, .motion .plan .ly3 path { transition-duration: 1.3s; }
.motion .plan.s1 .ly1 path, .motion .plan.s2 .ly2 path, .motion .plan.s3 .ly3 path { stroke-dashoffset: 0; }
.ly.txt, .marker { transition: opacity .8s var(--ease) .4s; }
.motion .plan .ly.txt, .motion .plan .marker { opacity: 0; }
.motion .plan.s1 .ly1.txt, .motion .plan.s3 .marker, .motion .plan.s4 .ly4.txt { opacity: 1; }
.pulse { transform-box: fill-box; transform-origin: center; animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { from { transform: scale(1); opacity: 1; } to { transform: scale(3.2); opacity: 0; } }
.stamp { transform-box: fill-box; transform-origin: center; }
.motion .plan .stamp { opacity: 0; transform: scale(2.2); transition: opacity .25s, transform .5s cubic-bezier(.5, 1.8, .5, .8); }
.motion .plan.s4 .stamp { opacity: 1; transform: none; transition-delay: .6s; }

.steps { --p: 0; position: relative; list-style: none; margin: 0; padding: 0; }
.steps::before, .steps::after { content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 1px; background: var(--line); }
.steps::after { background: linear-gradient(var(--gold), var(--emerald-hi)); transform: scaleY(var(--p)); transform-origin: 50% 0; }
.steps li { position: relative; display: flex; gap: 28px; padding: 30px 0; transition: opacity .7s var(--ease); }
.step-num { position: relative; z-index: 1; flex: none; display: grid; place-items: center; width: 56px; height: 56px; border: 1px solid rgba(217, 192, 140, .35); border-radius: 50%; background: var(--bg); font: 600 22px/1 var(--display); color: var(--gold); transition: background .6s var(--ease), color .6s, border-color .6s, transform .6s var(--ease), box-shadow .6s; }
.steps h3 { font: 700 20px var(--body); margin: 6px 0 8px; transition: color .6s, transform .7s var(--ease); }
.steps p { font-size: 15px; color: var(--muted); max-width: 420px; }
.motion .steps li { opacity: .32; }
.motion .steps li.active, .motion .steps li.done { opacity: 1; }
.steps li.active .step-num { background: var(--gold); color: var(--bg); border-color: var(--gold); transform: scale(1.1); box-shadow: 0 0 0 8px rgba(217, 192, 140, .12); }
.steps li.done .step-num { border-color: var(--gold); }
.steps li.active h3 { color: var(--gold-hi); transform: translateX(6px); }

/* ---------- Quote ---------- */
.quote-band { position: relative; overflow: clip; padding: 150px 0; background: radial-gradient(120% 90% at 50% 120%, #2A8A63 0%, var(--emerald) 55%, #164E3A 100%); }
.dial { position: absolute; left: 50%; top: 50%; width: 1000px; height: 1000px; margin: -500px 0 0 -500px; max-width: none; opacity: .2; pointer-events: none; animation: spin 140s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.quote-band blockquote { margin: 0; font: 600 clamp(28px, 3.6vw, 48px)/1.25 var(--display); color: var(--ivory); }
.quote-band blockquote .qw { transition: opacity .25s linear; }
.mark path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.motion .mark path { stroke-dashoffset: 1; }
.motion .mark.is-in path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.8s var(--ease-io); }
.motion .mark.is-in path:nth-child(2) { transition-delay: .3s; }
.motion .mark.is-in path:nth-child(3) { transition-delay: .5s; }
.motion .mark[data-reveal] { opacity: 1; transform: none; }

/* ---------- Contact ---------- */
.contact-line { margin-top: 26px; font-size: 18px; }
.ulink { position: relative; text-decoration: none; }
.ulink::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor; transform-origin: 100% 50%; transition: transform .6s var(--ease); }
.ulink:hover::after { transform: scaleX(0); transform-origin: 0 50%; animation: reline .6s var(--ease) .5s forwards; }
@keyframes reline { from { transform: scaleX(0); transform-origin: 0 50%; } to { transform: scaleX(1); transform-origin: 0 50%; } }
.form { position: relative; padding: 44px; background: var(--bg); border: 1px solid rgba(217, 192, 140, .25); display: flex; flex-direction: column; gap: 20px; }
.form::before { content: ""; position: absolute; inset: -1px; pointer-events: none; border: 1px solid var(--gold); clip-path: inset(0 100% 100% 0); transition: clip-path 1.6s var(--ease-io) .3s; }
.form.is-in::before { clip-path: inset(0 0 0 0); }
.no-js .form::before, .js:not(.motion) .form::before { display: none; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { position: relative; }
.control { position: relative; }
.field-error { max-height: 0; overflow: hidden; margin: 0; font-size: 13px; font-weight: 500; color: #F0A58F; opacity: 0; transform: translateY(-4px); transition: max-height .4s var(--ease), opacity .3s, transform .4s var(--ease), margin .4s var(--ease); }
.field.invalid .field-error { max-height: 4em; margin-top: 8px; opacity: 1; transform: none; }
.field.valid input, .field.valid textarea { border-color: rgba(47, 168, 122, .5); }
.field input, .field textarea { display: block; width: 100%; min-height: 62px; padding: 26px 16px 10px; background: var(--field); border: 1px solid rgba(217, 192, 140, .22); color: var(--ivory); font: 500 16px var(--body); border-radius: 0; transition: border-color .4s, background .4s; }
.field textarea { resize: vertical; min-height: 150px; }
.field label { position: absolute; left: 17px; top: 20px; font-size: 15px; font-weight: 500; color: var(--muted); pointer-events: none; transform-origin: 0 0; transition: transform .45s var(--ease), color .45s; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-12px) scale(.76); color: var(--gold-hi); }
.field input:focus, .field textarea:focus { outline: none; border-color: rgba(217, 192, 140, .55); background: #0D2119; }
.bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, var(--emerald-hi), var(--gold)); transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--ease); pointer-events: none; }
.field :focus ~ .bar { transform: scaleX(1); }
.field.invalid input, .field.invalid textarea { border-color: #E0876F; }
.field.invalid label { color: #F0A58F; }
.motion .field.invalid { animation: shake .45s var(--ease); }
@keyframes shake { 20% { transform: translateX(-8px); } 40% { transform: translateX(7px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(2px); } }
.form .btn { align-self: flex-start; }
.form-status { display: flex; align-items: center; gap: 10px; min-height: 1.6em; font-size: 15px; color: var(--gold-hi); }
.form-status.error { color: #F0A58F; }
.form-status svg { flex: none; width: 26px; height: 26px; fill: none; stroke: var(--emerald-hi); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.form-status svg path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .9s var(--ease-io) forwards; }
.form-status svg path + path { animation-delay: .5s; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: clip; padding-top: 110px; background: #040D09; border-top: 1px solid rgba(217, 192, 140, .14); }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; }
.foot-cta { font: 600 clamp(34px, 4.4vw, 60px)/1.05 var(--display); }
.wordmark { display: flex; justify-content: center; margin: 80px 0 0; font: 600 clamp(54px, 13.5vw, 196px)/.85 var(--display); letter-spacing: .04em; color: transparent; -webkit-text-stroke: 1px rgba(217, 192, 140, .35); user-select: none; }
.wordmark span { display: inline-block; transition: transform 1.3s var(--ease) calc(var(--i) * 60ms), opacity 1s var(--ease) calc(var(--i) * 60ms), color .35s, -webkit-text-stroke-color .35s; }
.wordmark span:hover { color: var(--gold); -webkit-text-stroke-color: var(--gold); }
.motion .wordmark span { opacity: 0; transform: translateY(70%); }
.motion .wordmark.is-in span { opacity: 1; transform: none; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding: 36px 0; margin-top: 36px; border-top: 1px solid rgba(217, 192, 140, .1); font-size: 13px; color: #8A9C93; }
.foot-brand { display: flex; align-items: center; gap: 12px; }
.site-footer a:not(.btn) { color: var(--muted); text-decoration: none; }
.to-top { display: inline-flex; align-items: center; gap: 14px; }
.to-top:hover { color: var(--gold-hi) !important; }
.tt-circle { position: relative; display: grid; place-items: center; width: 48px; height: 48px; }
.tt-circle svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.tt-circle circle { fill: none; stroke-width: 1.5; }
.tt-track { stroke: rgba(217, 192, 140, .18); }
.tt-ring { stroke: var(--gold); stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--p, 0)); }
.tt-circle b { color: var(--gold); transition: transform .5s var(--ease); }
.to-top:hover .tt-circle b { transform: translateY(-4px); }

/* ---------- Custom cursor (fine pointers only, added by main.js) ---------- */
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor label { cursor: none; }
.has-cursor input, .has-cursor textarea { cursor: text; }
.cursor { position: fixed; left: 0; top: 0; z-index: 250; pointer-events: none; transition: opacity .3s; }
.c-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--gold); }
.c-ring { width: 40px; height: 40px; margin: -20px 0 0 -20px; }
.c-ring-in { display: block; width: 100%; height: 100%; border: 1px solid rgba(217, 192, 140, .55); border-radius: 50%; transition: transform .45s var(--ease), background .45s, border-color .45s; }
.c-ring.is-hover .c-ring-in { transform: scale(1.8); background: rgba(217, 192, 140, .1); border-color: rgba(217, 192, 140, .2); }
.c-ring.is-down .c-ring-in { transform: scale(.8); }
.cursor.is-off { opacity: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 28px;
    background: var(--bg); border-bottom: 1px solid var(--line); visibility: hidden; clip-path: inset(0 0 100% 0);
    transition: clip-path .6s var(--ease-io), visibility 0s .6s;
  }
  .site-nav.open { visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path .6s var(--ease-io); }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid rgba(217, 192, 140, .1); font-size: 16px; }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav > a { opacity: 0; transform: translateY(14px); transition: opacity .4s, transform .5s var(--ease); }
  .site-nav.open > a { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 60ms + .15s); }
  .site-nav .btn { margin-top: 18px; justify-content: center; }
  .nav-ind { display: none; }
  .hero-grid, .split, .split.top { grid-template-columns: 1fr; gap: 56px; }
  .hero-grid { padding-top: 56px; padding-bottom: 120px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-wrap { position: relative; top: 0; max-width: 560px; }
}
@media (max-width: 600px) {
  .section { padding: 84px 0; }
  .shell { padding: 0 16px; }
  .cards, .row { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .form { padding: 26px 18px; }
  .brand-sub { letter-spacing: .3em; }
  .tag { right: 0; top: 36px; }
  .btn { width: 100%; justify-content: center; }
  .site-nav .btn, .foot-top .btn { width: 100%; }
  .form .btn { align-self: stretch; }
  .steps li { gap: 18px; }
  .scroll-cue { display: none; }
  .quote-band { padding: 110px 0; }
  .intro-count { right: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .pulse, .scan { display: none; }
}
