/* Fibonacci Estates — v4 "spiral" */
:root {
    --bg: #07080c;
    --bg-2: #0c0e15;
    --ink: #f4efe4;
    --ink-2: #c9c2b3;
    --muted: #8d877b;
    --gold: #d9b46c;
    --gold-2: #f3dba3;
    --gold-3: #a8823f;
    --line: rgba(217, 180, 108, .16);
    --line-2: rgba(244, 239, 228, .08);
    --glass: rgba(14, 16, 24, .62);
    --ok: #7fd1a3;
    --serif: 'Fraunces', 'Times New Roman', serif;
    --sans: 'Manrope', system-ui, -apple-system, sans-serif;
    --r: 18px;
    --wrap: 1240px;
    --pad: clamp(16px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em { font-style: italic; }
::selection { background: var(--gold); color: var(--bg); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ---------- background layers ---------- */
#spiral { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; }
body.no-webgl { background: radial-gradient(ellipse at 50% 30%, #1a1509 0%, var(--bg) 60%); background-attachment: fixed; }
.vignette { position: fixed; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse at center, transparent 40%, rgba(7, 8, 12, .85) 100%); }
.grain { position: fixed; inset: -50%; z-index: 2; pointer-events: none; opacity: .05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, .footer { position: relative; z-index: 3; }

/* ---------- type ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.eyebrow { font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); display: flex; align-items: center; gap: .9em; margin-bottom: 1.4rem; }
.eyebrow .num { font-family: var(--serif); font-style: italic; letter-spacing: 0; font-size: 1rem; color: var(--gold-2); }
.eyebrow .num::after { content: ''; display: inline-block; width: 36px; height: 1px; background: var(--gold); vertical-align: middle; margin-left: .9em; opacity: .6; }
.h1, .h2, .hero-title { font-family: var(--serif); font-weight: 300; letter-spacing: -.02em; line-height: 1.02; }
.h1 { font-size: clamp(2.6rem, 7vw, 6rem); }
.h2 { font-size: clamp(2rem, 4.6vw, 3.9rem); max-width: 16ch; }
.h1 em, .h2 em, .hero-title em { color: var(--gold); font-weight: 400; }
.lead { text-shadow: 0 1px 12px rgba(7, 8, 12, .9); color: var(--ink-2); font-size: clamp(1rem, 1.3vw, 1.15rem); max-width: 54ch; margin-top: 1.4rem; }
.muted { color: var(--muted); }
.fine { color: var(--muted); font-size: .76rem; line-height: 1.5; margin-top: 1rem; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; padding: 1em 1.6em; border-radius: 999px; font-weight: 600; font-size: .95rem; letter-spacing: .01em; transition: transform .3s cubic-bezier(.2, .8, .2, 1), background .3s, color .3s, border-color .3s, box-shadow .3s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold) 50%, var(--gold-3)); color: #1a1408; box-shadow: 0 10px 40px -12px rgba(217, 180, 108, .6); }
.btn-gold:hover { box-shadow: 0 16px 50px -10px rgba(217, 180, 108, .75); }
.btn-ghost { border: 1px solid rgba(244, 239, 228, .22); color: var(--ink); background: rgba(255, 255, 255, .02); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.btn-sm { padding: .7em 1.15em; font-size: .85rem; }
.btn.full { width: 100%; }

/* ---------- glass ---------- */
.glass { background: var(--glass); border: 1px solid var(--line); border-radius: var(--r); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); }

/* ---------- nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 22px var(--pad); transition: padding .4s, background .4s, border-color .4s; border-bottom: 1px solid transparent; }
.nav.scrolled { padding: 12px var(--pad); background: rgba(7, 8, 12, .72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-color: var(--line-2); }
.brand { display: inline-flex; align-items: center; gap: .6em; font-family: var(--serif); font-size: 1.3rem; letter-spacing: -.01em; }
.brand em { color: var(--gold); }
.brand-mark { width: 30px; height: 30px; fill: none; stroke: var(--gold); stroke-width: 3.2; stroke-linecap: round; }
.nav-links { display: flex; align-items: center; gap: 2rem; font-size: .9rem; }
.nav-links a:not(.btn) { color: var(--ink-2); position: relative; }
.nav-links a:not(.btn)::after { content: ''; position: absolute; left: 0; bottom: -4px; width: 100%; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .4s; }
.nav-links a:not(.btn):hover { color: var(--ink); }
.nav-links a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.nav-toggle { display: none; width: 44px; height: 44px; position: relative; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--ink); transition: transform .35s, top .35s; }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 26px; }
.nav.open .nav-toggle span:first-child { top: 21px; transform: rotate(45deg); }
.nav.open .nav-toggle span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- rail ---------- */
.rail { position: fixed; right: 22px; top: 50%; transform: translateY(-50%); z-index: 40; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.rail a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-family: var(--serif); font-style: italic; font-size: .82rem; color: var(--muted); border: 1px solid transparent; transition: all .35s; }
.rail a:hover { color: var(--ink); }
.rail a.on { color: var(--bg); background: var(--gold); border-color: var(--gold); transform: scale(1.08); }

/* ---------- sections ---------- */
.section { padding: clamp(90px, 14vw, 180px) 0; }

/* hero */
.hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 120px 0 40px; position: relative; }
.hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(7, 8, 12, .75) 0%, rgba(7, 8, 12, .35) 45%, transparent 70%); }
@media (max-width: 760px) { .hero::before { background: linear-gradient(180deg, transparent 0%, rgba(7, 8, 12, .55) 45%, rgba(7, 8, 12, .4) 100%); } }
.hero-inner { position: relative; width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.hero-title { font-size: clamp(3.2rem, 11vw, 10rem); line-height: .95; letter-spacing: -.035em; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; }
.hero-sub { color: var(--ink-2); font-size: clamp(1.02rem, 1.5vw, 1.25rem); max-width: 46ch; margin-top: 2rem; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 2.4rem; }
.hero-foot { position: absolute; left: 0; right: 0; bottom: 28px; display: flex; justify-content: space-between; padding: 0 var(--pad); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.phi { font-family: var(--serif); font-style: italic; letter-spacing: .02em; text-transform: none; font-size: 1rem; color: var(--gold); }
.scroll-hint { display: flex; align-items: center; gap: 12px; }
.scroll-hint i { width: 1px; height: 38px; background: linear-gradient(var(--gold), transparent); animation: drip 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ratio */
.ratio-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 3rem; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.stat { background: rgba(7, 8, 12, .78); padding: 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .2rem; }
.stat b { font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1; color: var(--gold-2); }
.stat > span { font-size: .78rem; color: var(--muted); letter-spacing: .04em; }
.ratio-art svg { width: 100%; height: auto; overflow: visible; }
.gsq { fill: rgba(217, 180, 108, .025); stroke: rgba(217, 180, 108, .28); stroke-width: 1; }
.gnum { fill: var(--gold); opacity: .55; font-family: var(--serif); font-style: italic; font-size: 14px; }
.garc { fill: none; stroke: var(--gold-2); stroke-width: 2; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(217, 180, 108, .6)); }
.partners { margin-top: clamp(70px, 10vw, 130px); text-align: center; }
.partners-label { font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.8rem; }
.partners-row { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: clamp(24px, 5vw, 64px); }
.partners-row img { height: 44px; width: auto; opacity: .55; filter: grayscale(1) brightness(1.6); transition: opacity .3s, filter .3s; }
.partners-row img:hover { opacity: 1; filter: none; }

/* off-plan */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 3.4rem; }
.card { padding: 2rem 1.8rem 2.2rem; position: relative; overflow: hidden; transition: border-color .4s, transform .4s; }
.card:hover { border-color: rgba(217, 180, 108, .45); transform: translateY(-4px); }
.card::before { content: ''; position: absolute; right: -60px; top: -60px; width: 160px; height: 160px; border-radius: 50%; border: 1px solid var(--line); }
.card-n { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.1rem; }
.card h3 { font-family: var(--serif); font-weight: 400; font-size: 1.55rem; margin: 1.6rem 0 .7rem; }
.card p { color: var(--ink-2); font-size: .95rem; }
.compare { margin-top: 18px; padding: .6rem 1.8rem; }
.compare-row { display: grid; grid-template-columns: 1fr 1.2fr 1.2fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line-2); font-size: .95rem; }
.compare-row:last-child { border-bottom: 0; }
.compare-row span:first-child { color: var(--muted); }
.compare-row span:nth-child(2) { color: var(--gold-2); }
.compare-row span:nth-child(3) { color: var(--ink-2); }
.compare-head { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; }
.compare-head span:nth-child(2) { color: var(--gold) !important; }

/* ---------- Time Machine ---------- */
.tm-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; align-items: end; margin-bottom: 3rem; }
.tm-head .lead { margin-top: 0; }
.tm-grid { display: grid; grid-template-columns: 360px 1fr; gap: 18px; align-items: start; }
.tm-controls { padding: 1.6rem; display: flex; flex-direction: column; gap: 1.5rem; position: sticky; top: 90px; }
.field { display: flex; flex-direction: column; gap: .55rem; }
.field label, .field-top label { font-size: .78rem; letter-spacing: .06em; color: var(--ink-2); }
.field-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.field-top output { font-size: .85rem; color: var(--gold-2); font-variant-numeric: tabular-nums; }
.field.off { opacity: .35; pointer-events: none; }
.big-out { font-family: var(--serif); font-size: 2rem; font-weight: 300; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.1; }

.select { position: relative; }
.select::after { content: ''; position: absolute; right: 16px; top: 50%; width: 7px; height: 7px; border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
select, input[type=text], input[type=email], input[type=tel] { width: 100%; appearance: none; -webkit-appearance: none; background: rgba(255, 255, 255, .035); border: 1px solid var(--line-2); border-radius: 12px; color: var(--ink); font: inherit; font-size: .95rem; padding: .85em 1em; transition: border-color .3s, background .3s; }
select { padding-right: 2.6em; cursor: pointer; }
select option { background: var(--bg-2); }
select:focus, input:focus { outline: none; border-color: var(--gold); background: rgba(217, 180, 108, .05); }
input.bad { border-color: #e07a6a; }

input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 26px; background: transparent; cursor: pointer; touch-action: pan-y; }
input[type=range]::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--gold), rgba(217, 180, 108, .15)); border-radius: 2px; }
input[type=range]::-moz-range-track { height: 2px; background: rgba(217, 180, 108, .25); border-radius: 2px; }
input[type=range]::-moz-range-progress { height: 2px; background: var(--gold); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -9px; border-radius: 50%; background: var(--bg); border: 2px solid var(--gold); box-shadow: 0 0 0 6px rgba(217, 180, 108, .12); transition: box-shadow .25s; }
input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 2px solid var(--gold); }
input[type=range]:hover::-webkit-slider-thumb { box-shadow: 0 0 0 9px rgba(217, 180, 108, .18); }

.seg { display: flex; background: rgba(255, 255, 255, .03); border: 1px solid var(--line-2); border-radius: 12px; padding: 3px; gap: 3px; }
.seg button { flex: 1; border-radius: 9px; padding: .5em .6em; font-size: .8rem; color: var(--ink-2); transition: background .3s, color .3s; }
.seg button.on { background: rgba(217, 180, 108, .16); color: var(--gold-2); box-shadow: inset 0 0 0 1px rgba(217, 180, 108, .35); }
.seg-sm button { padding: .25em .7em; font-size: .72rem; }
.seg-plan { display: grid; grid-template-columns: 1fr 1fr; }
.seg-plan button { display: flex; flex-direction: column; align-items: flex-start; padding: .7em .8em; text-align: left; }
.seg-plan b { font-weight: 600; font-size: .86rem; }
.seg-plan small { font-size: .7rem; color: var(--muted); }

.assume { border-top: 1px solid var(--line-2); padding-top: 1rem; }
.assume summary { list-style: none; cursor: pointer; font-size: .82rem; color: var(--gold); display: flex; justify-content: space-between; align-items: center; }
.assume summary::-webkit-details-marker { display: none; }
.assume summary i { transition: transform .3s; font-size: .7rem; }
.assume[open] summary i { transform: rotate(180deg); }
.assume .field { margin-top: 1.1rem; }

.tm-out { padding: clamp(1.2rem, 3vw, 2.2rem); }
.dial { text-align: center; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line-2); }
.dial-label { font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.dial-year { font-family: var(--serif); font-weight: 300; font-size: clamp(4.5rem, 12vw, 8.5rem); line-height: .95; letter-spacing: -.04em; background: linear-gradient(180deg, var(--gold-2), var(--gold) 55%, var(--gold-3)); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; margin: .15em 0 .2em; }
.dial input { max-width: 640px; }
.dial-scale { display: flex; justify-content: space-between; max-width: 640px; margin: 0 auto; padding: 0 2px; font-size: .64rem; color: var(--muted); font-variant-numeric: tabular-nums; }

.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; margin: 1.6rem 0; }
.metric { background: rgba(7, 8, 12, .55); padding: 1rem 1.1rem; display: flex; flex-direction: column; gap: .15rem; }
.metric span { font-size: .72rem; color: var(--muted); letter-spacing: .03em; }
.metric b { font-family: var(--serif); font-weight: 400; font-size: clamp(1.25rem, 2.2vw, 1.75rem); font-variant-numeric: tabular-nums; line-height: 1.15; }
.metric.hl b { color: var(--gold-2); }

.chart-wrap { position: relative; }
#tmChart { width: 100%; height: 240px; display: block; cursor: ew-resize; touch-action: pan-y; }
#tmChart .grid { stroke: rgba(244, 239, 228, .06); }
#tmChart .tick { fill: var(--muted); font-size: 11px; font-family: var(--sans); }
#tmChart .hand { stroke: rgba(244, 239, 228, .25); stroke-dasharray: 3 4; }
#tmChart .hand-t { fill: var(--ink-2); font-size: 10px; letter-spacing: .1em; }
#tmChart .gv { stroke: var(--ok); stroke-dasharray: 2 5; opacity: .7; }
#tmChart .area { fill: url(#gArea); }
#tmChart path { vector-effect: non-scaling-stroke; }
#tmChart .l-value { fill: none; stroke: var(--gold-2); stroke-width: 2; }
#tmChart .l-wealth { fill: none; stroke: var(--gold); stroke-width: 2.5; }
#tmChart .l-paid { fill: none; stroke: rgba(244, 239, 228, .55); stroke-width: 1.5; stroke-dasharray: 5 5; }
#tmChart .future { fill: rgba(7, 8, 12, .5); }
#tmChart .cursor { stroke: var(--gold-2); stroke-width: 1; vector-effect: non-scaling-stroke; }
#tmChart .dot { fill: var(--bg); stroke: var(--gold-2); stroke-width: 2; vector-effect: non-scaling-stroke; }
#tmChart .dot-w { stroke: var(--gold); }
.chart-ticks { position: relative; height: 18px; font-size: .68rem; color: var(--muted); font-variant-numeric: tabular-nums; border-top: 1px solid var(--line-2); margin-top: -1px; }
.chart-ticks span { position: absolute; top: 4px; transform: translateX(-50%); }
.chart-ticks span:first-child { transform: none; }
.chart-ticks span.end { transform: translateX(-100%); }
.chart-ticks span.keys { top: -236px; transform: translateX(6px); letter-spacing: .12em; text-transform: uppercase; font-size: .6rem; color: var(--ink-2); }
@media (max-width: 640px) { #tmChart { height: 200px; } .chart-ticks span.keys { top: -196px; } }
.legend { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; font-size: .72rem; color: var(--muted); margin-top: .6rem; }
.legend i { display: inline-block; width: 16px; height: 2px; margin-right: 6px; vertical-align: middle; }
.lg-value { background: var(--gold-2); }
.lg-wealth { background: var(--gold); height: 3px !important; }
.lg-paid { background: repeating-linear-gradient(90deg, rgba(244, 239, 228, .6) 0 4px, transparent 4px 8px); }
.lg-gv { background: repeating-linear-gradient(90deg, var(--ok) 0 2px, transparent 2px 6px); }

.badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 1.4rem 0; }
.badges > div { font-size: .8rem; padding: .55em 1em; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); display: inline-flex; align-items: center; gap: .55em; }
.badges i { color: var(--gold); }
.badge-gv.ok { border-color: rgba(127, 209, 163, .45); color: #cdeedb; background: rgba(127, 209, 163, .07); }
.badge-gv.ok i { color: var(--ok); }

.schedule { border-top: 1px solid var(--line-2); padding-top: 1.2rem; }
.schedule h4 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); font-weight: 600; margin-bottom: .6rem; display: flex; justify-content: space-between; }
.schedule h4 span { color: var(--gold); letter-spacing: .04em; text-transform: none; font-weight: 500; }
.sch { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line-2); font-size: .9rem; }
.sch small { display: block; color: var(--muted); font-size: .74rem; }
.sch b { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.sch i { position: absolute; left: 0; bottom: -1px; height: 1px; width: var(--w); background: var(--gold); }
.tm-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 1.6rem; }

/* ---------- collections ---------- */
.collections { position: relative; padding: clamp(90px, 12vw, 150px) 0 clamp(70px, 10vw, 120px); min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
.coll-head { margin-bottom: 2.6rem; }
.coll-track-outer { overflow: hidden; padding-left: max(var(--pad), calc((100vw - var(--wrap)) / 2 + var(--pad))); }
.coll-track { display: flex; gap: 20px; width: max-content; padding-right: var(--pad); will-change: transform; }
.pcard { width: clamp(280px, 30vw, 380px); flex: none; border-radius: var(--r); overflow: hidden; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: border-color .4s, transform .5s cubic-bezier(.2, .8, .2, 1); }
.pcard:hover { border-color: rgba(217, 180, 108, .5); transform: translateY(-6px); }
.pimg { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.pimg img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .8, .2, 1); }
.pcard:hover .pimg img { transform: scale(1.06); }
.pimg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(7, 8, 12, .7)); }
.pbadge { position: absolute; left: 14px; top: 14px; z-index: 1; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; padding: .45em .9em; border-radius: 999px; background: rgba(7, 8, 12, .7); border: 1px solid var(--line); color: var(--gold-2); backdrop-filter: blur(6px); }
.pfib { position: absolute; right: 16px; bottom: 6px; z-index: 1; font-family: var(--serif); font-style: italic; font-size: 3rem; line-height: 1; color: rgba(243, 219, 163, .85); }
.pbody { padding: 1.3rem 1.4rem 1.5rem; }
.pbody h3 { font-family: var(--serif); font-weight: 400; font-size: 1.45rem; line-height: 1.15; }
.ploc { color: var(--ink-2); font-size: .85rem; margin-top: .35rem; }
.ploc i { color: var(--gold); margin-right: .2em; }
.pspec { color: var(--muted); font-size: .8rem; margin-top: .15rem; }
.pfoot { margin-top: 1rem; }
.pprice { font-size: .85rem; color: var(--muted); }
.pprice b { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; color: var(--gold-2); margin-left: .25em; }
.pact { display: flex; gap: 8px; margin-top: 1.1rem; flex-wrap: wrap; }
.pend { width: 280px; flex: none; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 1rem; padding: 2rem; border: 1px dashed var(--line); border-radius: var(--r); }
.pend p { font-family: var(--serif); font-size: 1.6rem; line-height: 1.15; }

/* ---------- broker ---------- */
.broker-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.broker-photo { position: relative; border-radius: 240px 240px var(--r) var(--r); overflow: hidden; aspect-ratio: 4 / 5; border: 1px solid var(--line); }
.broker-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) contrast(1.05); }
.broker-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(7, 8, 12, .6)); }
.broker-arc { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; fill: none; stroke: rgba(243, 219, 163, .55); stroke-width: .35; pointer-events: none; }
.adv { list-style: none; margin-top: 2rem; }
.adv li { padding: 1.1rem 0 1.1rem 2.2rem; border-bottom: 1px solid var(--line-2); color: var(--ink-2); position: relative; }
.adv li::before { content: '→'; position: absolute; left: 0; top: 1.05rem; color: var(--gold); }
.adv b { color: var(--ink); font-weight: 600; }
.quotes { position: relative; margin-top: 2.4rem; min-height: 170px; }
.quote { position: absolute; inset: 0; opacity: 0; transform: translateY(12px); transition: opacity .8s, transform .8s; }
.quote.on { opacity: 1; transform: none; }
.quote p { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.35; }
.quote cite { display: block; margin-top: .9rem; font-style: normal; font-size: .82rem; color: var(--gold); letter-spacing: .04em; }

/* ---------- begin ---------- */
.begin { text-align: center; padding-bottom: clamp(110px, 16vw, 200px); }
.begin-inner { display: flex; flex-direction: column; align-items: center; }
.begin .eyebrow { justify-content: center; }
.begin .lead { margin-left: auto; margin-right: auto; }
.begin .hero-cta { justify-content: center; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line-2); background: rgba(7, 8, 12, .85); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2rem; }
.footer h4 { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: .8rem; font-weight: 600; }
.footer p { font-size: .9rem; color: var(--ink-2); margin-bottom: .3rem; }
.footer a:hover { color: var(--gold-2); }
.brand-foot { margin-bottom: .6rem; }
.copy { margin-top: 40px; font-size: .78rem !important; color: var(--muted) !important; }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(3, 4, 6, .7); backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s; }
.modal[hidden] { display: none; }
.modal.show { opacity: 1; }
.modal-card { width: 100%; max-width: 440px; padding: 2.2rem 2rem 1.6rem; position: relative; background: rgba(12, 14, 21, .92); transform: translateY(16px) scale(.98); transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.modal.show .modal-card { transform: none; }
.modal-x { position: absolute; right: 14px; top: 10px; font-size: 1.8rem; color: var(--muted); width: 40px; height: 40px; }
.modal-x:hover { color: var(--ink); }
.modal-card h3 { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; line-height: 1.15; padding-right: 30px; }
.modal-card > .muted { font-size: .9rem; margin: .5rem 0 1.4rem; }
.step { display: flex; flex-direction: column; gap: 1rem; }
.step[hidden] { display: none; }
.row2 { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; }
.err { color: #e9a092; font-size: .82rem; }
.done { text-align: center; align-items: center; }
.done > i { font-size: 2.8rem; color: var(--ok); }
.done h4 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; }

/* ---------- floating ---------- */
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 45; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem; color: #fff; background: #1faa59; box-shadow: 0 10px 30px -8px rgba(31, 170, 89, .6); transition: transform .3s; }
.wa-float:hover { transform: scale(1.08); }
.mobile-bar { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1360px) { .rail { right: 10px; } .rail a { width: 28px; height: 28px; } }
@media (max-width: 1180px) { .rail { display: none; } }
@media (max-width: 1080px) {
    .tm-grid { grid-template-columns: 1fr; }
    .tm-controls { position: static; }
    .tm-head { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
    .rail { display: none; }
    .nav-links { position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 1.6rem; font-family: var(--serif); font-size: 1.8rem; background: rgba(7, 8, 12, .96); backdrop-filter: blur(20px); opacity: 0; pointer-events: none; transition: opacity .35s; }
    .nav-links .btn { font-family: var(--sans); font-size: 1rem; }
    .nav.open .nav-links { opacity: 1; pointer-events: auto; }
    .nav-toggle { display: block; }
    .ratio-grid, .broker-grid { grid-template-columns: 1fr; }
    .ratio-art { order: -1; }
    .cards3 { grid-template-columns: 1fr; }
    .coll-track-outer { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-left: var(--pad); }
    .coll-track-outer::-webkit-scrollbar { display: none; }
    .pcard, .pend { scroll-snap-align: start; }
    .collections { min-height: 0; }
    .broker-photo { max-width: 420px; }
}
@media (max-width: 640px) {
    body { font-size: 15px; }
    .metrics { grid-template-columns: repeat(2, 1fr); }
    .compare { padding: .4rem 1rem; }
    .compare-row { grid-template-columns: .9fr 1fr 1fr; font-size: .82rem; gap: .6rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-foot .phi { display: none; }
    .wa-float { display: none; }
    .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: rgba(7, 8, 12, .9); backdrop-filter: blur(14px); border-top: 1px solid var(--line-2); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); gap: 10px; }
    .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: .5em; padding: .8em; border-radius: 999px; font-weight: 600; font-size: .9rem; border: 1px solid var(--line-2); }
    .mobile-bar a.gold { background: var(--gold); color: #1a1408; border-color: var(--gold); }
    .footer { padding-bottom: 96px; }
    .tm-cta .btn { width: 100%; white-space: normal; }
    .dial-scale span:nth-child(even) { visibility: hidden; }
    .seg-plan b { font-size: .8rem; }
    .pcard { width: 82vw; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
