/* ============================================================
 SUPERMERCADO INMOBILIARIO — real estate Medellín / Panamá / Miami
 Base: Lyvek scaffold chrome; sections are editorial (arched hero, manifesto, market index).
 Fonts: Bodoni Moda (display, variable opsz 6–96 — the Didone of the client's posts) · Jost (body, labels)
 Palette from the 2026 rebrand posts: bone paper #EDEAE4 · ink #1A1814 · espresso accent #6B4F2E · brass #B08D5B (decorative)
 Contrast (WCAG, computed): ink/paper 14.76 · muted/paper 6.05 · muted/paper-2 5.51 · accent/paper 6.28 · white/accent 7.55 · brass/ink 5.75
 --muted-2 on paper is 3.04: decorative and large type only, never body text.
 ============================================================ */

/* ds-allow-hardcode:start — Lyvek scaffold chrome (idea-to-site/scaffold), shared by every demo; @font-face must name its family literally; its
   layout constants are the scaffold's design, not drift. Client-specific CSS lives in site.css and footers.css, tokenized. */
@font-face { font-family: 'Bodoni Moda'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('../font/bodoni-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Bodoni Moda'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('../font/bodoni-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Bodoni Moda'; font-style: italic; font-weight: 400; font-display: swap; src: url('../font/bodoni-italic-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Bodoni Moda'; font-style: italic; font-weight: 400; font-display: swap; src: url('../font/bodoni-italic-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 300 600; font-display: swap; src: url('../font/jost-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 300 600; font-display: swap; src: url('../font/jost-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
 /* palette — token names kept from the base template; --green is the brand accent (espresso) here */
 --green: #6B4F2E;
 --green-ink: #4E3920;
 --green-bright: #B08D5B;
 --green-soft: #E2D8C8;
 --ink: #1A1814;
 --ink-2: #26231E;
 --ink-3: #35312A;
 --paper: #EDEAE4;
 --paper-2: #E4E0D7;
 --card: #F6F4EF;
 --line: rgba(26, 24, 20, 0.14);
 --line-2: rgba(26, 24, 20, 0.07);
 --line-dark: rgba(237, 234, 228, 0.16);
 --muted: #5C564D;
 --muted-2: #8C857A;

 --font-display: "Bodoni Moda", Didot, "Bodoni 72", Georgia, serif;
 --font-body: "Jost", "Futura", -apple-system, system-ui, sans-serif;
 --font-mono: "Jost", "Futura", -apple-system, system-ui, sans-serif;

 --text-hero: clamp(2.55rem, 1.2rem + 5vw, 5.4rem);
 --text-h2: clamp(2rem, 1.2rem + 3vw, 3.7rem);
 --text-h3: clamp(1.35rem, 1.05rem + 1.1vw, 1.85rem);
 --text-lead: clamp(1.05rem, 0.98rem + 0.4vw, 1.28rem);

 --container: 1240px;
 --gutter: clamp(1.15rem, 0.6rem + 2.4vw, 2.75rem);
 --space-section: clamp(4.5rem, 3rem + 6vw, 9rem);
 --radius: 16px;
 --radius-sm: 10px;
 --radius-lg: 26px;

 --dur: 320ms;
 --dur-fast: 160ms;
 --ease: cubic-bezier(0.16, 1, 0.3, 1);
 --shadow: 0 24px 60px -34px rgba(15, 22, 38, 0.55);
 --shadow-sm: 0 14px 34px -24px rgba(15, 22, 38, 0.45);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
 font-family: var(--font-body);
 background: var(--paper);
 color: var(--ink);
 line-height: 1.6;
 font-size: 1.02rem;
 -webkit-font-smoothing: antialiased;
 text-rendering: optimizeLegibility;
 overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 {
 font-family: var(--font-display);
 font-weight: 700;
 line-height: 1.08;
 letter-spacing: -0.015em;
 font-variation-settings: "opsz" 96, "SOFT" 30;
}
::selection { background: var(--green); color: #fff; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 0.7rem 1.1rem; border-radius: 0 0 10px 0; z-index: 200; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }

/* ---------- helpers ---------- */
.wrap { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--space-section); }
.eyebrow {
 font-family: var(--font-mono);
 font-size: 0.73rem;
 letter-spacing: 0.2em;
 text-transform: uppercase;
 color: var(--green-ink);
 display: inline-flex;
 align-items: center;
 gap: 0.65rem;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--green); }
.eyebrow.on-dark { color: var(--green-bright); }
.eyebrow.on-dark::before { background: var(--green-bright); }
.section-head { display: grid; gap: 1.1rem; max-width: 660px; margin-bottom: clamp(2.2rem, 1rem + 4vw, 3.6rem); }
.section-head h2 { font-size: var(--text-h2); }
.section-head p { color: var(--muted); font-size: var(--text-lead); }

/* ---------- buttons ---------- */
.btn {
 display: inline-flex; align-items: center; gap: 0.55rem;
 font-family: var(--font-body); font-weight: 600; font-size: 0.97rem;
 padding: 0.9rem 1.5rem; border-radius: 8px;
 transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), color var(--dur-fast), border-color var(--dur-fast);
 white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; transition: transform var(--dur) var(--ease); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-ink); transform: translateY(-2px); }
.btn-primary:hover svg { transform: translate(3px, -3px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); transform: translateY(-2px); }
.btn-ghost { border: 1.5px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-ghost.on-dark { border-color: var(--line-dark); color: #fff; }
.btn-ghost.on-dark:hover { border-color: #fff; }
.btn-lg { padding: 1.05rem 1.8rem; font-size: 1.02rem; }

/* ---------- header ---------- */
.site-header {
 position: sticky; top: 0; z-index: 100;
 background: color-mix(in srgb, var(--paper) 84%, transparent);
 backdrop-filter: blur(14px);
 border-bottom: 1px solid transparent;
 transition: border-color var(--dur) var(--ease);
}
.site-header.scrolled { border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 0.75rem; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; line-height: 1; }
.brand .mono { font-size: 1.75rem; letter-spacing: -0.06em; color: var(--green); font-variation-settings: "opsz" 144, "SOFT" 0; }
.brand .mono .g { color: var(--muted-2); }
.brand .word { display: grid; gap: 0.18rem; font-family: var(--font-body); }
.brand .word .w1 { font-weight: 600; font-size: 0.86rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink); }
.brand .word .w2 { font-family: var(--font-mono); font-weight: 500; font-size: 0.58rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); }
.site-footer .brand .word .w1 { color: #fff; }
.site-footer .brand .word .w2 { color: var(--muted-2); }
.site-footer .brand .mono { color: var(--green-bright); }
.lang { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.12em; padding: 0.55rem 0.7rem; border: 1.5px solid var(--line); border-radius: 8px; color: var(--muted); transition: color var(--dur-fast), border-color var(--dur-fast); }
.lang:hover { color: var(--ink); border-color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 2rem; font-weight: 500; font-size: 0.95rem; }
.nav-mobile-cta { display: none; }
@media (max-width: 760px) { .nav-mobile-cta { display: block; } }
.nav-links a { color: var(--muted); transition: color var(--dur-fast); position: relative; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--green); }
.header-cta { display: flex; align-items: center; gap: 0.9rem; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 8px; border: 1px solid var(--line); }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 3px auto; transition: transform var(--dur); }

/* ---------- hero (full-width statement) ---------- */
.hero { padding-top: clamp(3rem, 2rem + 4vw, 6rem); padding-bottom: 0; }
.hero-top { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: end; }
.hero h1 { font-size: var(--text-hero); letter-spacing: -0.025em; margin-top: 1.5rem; font-weight: 700; }
.hero h1 .accent { color: var(--green); }
.hero-aside { display: flex; flex-direction: column; gap: 1.5rem; padding-bottom: 0.4rem; }
.hero-aside p { color: var(--muted); font-size: var(--text-lead); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero-metrics {
 display: grid;
 grid-template-columns: repeat(4, 1fr);
 gap: 1.5rem;
 margin-top: clamp(2.5rem, 1.5rem + 3vw, 4rem);
 padding-top: 1.8rem;
 border-top: 1px solid var(--line);
}
.hero-metric .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 1.2rem + 2vw, 2.7rem); letter-spacing: -0.03em; }
.hero-metric .lbl { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 0.3rem; }
.hero-metric .num .u { color: var(--green); }

/* hero image band */
.hero-band { margin-top: clamp(2.5rem, 1.5rem + 3vw, 4rem); position: relative; }
.hero-band-img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 21 / 8; background: var(--paper-2); }
.hero-band-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-band .cred {
 position: absolute; left: clamp(1rem, 0.5rem + 2vw, 2.4rem); bottom: -26px;
 background: var(--card); border-radius: var(--radius-sm); padding: 1rem 1.3rem;
 box-shadow: var(--shadow); display: flex; align-items: center; gap: 1.1rem;
}
.hero-band .cred .c-num { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; color: var(--green); white-space: nowrap; }
.hero-band .cred .c-txt { font-size: 0.85rem; color: var(--muted); max-width: 22ch; }

/* ---------- logo wall ---------- */
.logos { border-block: 1px solid var(--line); }
.logos-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-block: 2rem; }
.logos .lead { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); flex: 0 0 auto; }
.logos .row { display: flex; align-items: center; gap: clamp(1.4rem, 0.5rem + 2.5vw, 3rem); flex-wrap: wrap; }
.logos .row span { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.02em; color: var(--muted-2); transition: color var(--dur-fast); }
.logos .row span:hover { color: var(--ink); }

/* ---------- capabilities index (rows) ---------- */
.idx { border-top: 1px solid var(--line); }
.idx-row {
 display: grid;
 grid-template-columns: 68px 1.1fr 1.4fr auto;
 gap: 1.5rem;
 align-items: center;
 padding: clamp(1.5rem, 1rem + 1.5vw, 2.3rem) 0.5rem;
 border-bottom: 1px solid var(--line);
 position: relative;
 transition: background var(--dur) var(--ease), padding-inline var(--dur) var(--ease);
}
.idx-row::before {
 content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
 background: var(--green); transform: scaleY(0); transform-origin: top; transition: transform var(--dur) var(--ease);
}
.idx-row:hover { background: var(--card); padding-inline: 1.4rem; }
.idx-row:hover::before { transform: scaleY(1); }
.idx-num { font-family: var(--font-mono); font-size: 0.85rem; color: var(--green-ink); }
.idx-title { font-family: var(--font-display); font-weight: 700; font-size: var(--text-h3); letter-spacing: -0.02em; }
.idx-desc { color: var(--muted); font-size: 0.98rem; max-width: 46ch; }
.idx-go { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: var(--ink); transition: background var(--dur), color var(--dur), border-color var(--dur); }
.idx-go svg { width: 18px; height: 18px; transition: transform var(--dur); }
.idx-row:hover .idx-go { background: var(--green); border-color: var(--green); color: #fff; }
.idx-row:hover .idx-go svg { transform: translate(2px, -2px); }

/* ---------- method (sticky editorial) ---------- */
.method { background: var(--paper-2); }
.method-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.method-head { position: sticky; top: 100px; }
.method-head h2 { font-size: var(--text-h2); margin-top: 1rem; }
.method-head p { color: var(--muted); margin-top: 1.1rem; font-size: var(--text-lead); }
.method-list { display: grid; gap: 0; }
.method-item { display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; padding: 1.8rem 0; border-top: 1px solid var(--line); }
.method-item:last-child { border-bottom: 1px solid var(--line); }
.method-item .mn { font-family: var(--font-mono); font-size: 0.82rem; color: var(--green-ink); padding-top: 0.35rem; white-space: nowrap; min-width: 11ch; }
.method-item h3 { font-size: 1.4rem; }
.method-item p { color: var(--muted); margin-top: 0.5rem; font-size: 0.98rem; }

/* ---------- case studies / results ---------- */
.cases-grid { display: grid; gap: 1.3rem; }
.case {
 display: grid;
 grid-template-columns: 1fr 1.1fr;
 gap: clamp(1.5rem, 1rem + 2vw, 3rem);
 align-items: center;
 background: var(--card);
 border: 1px solid var(--line-2);
 border-radius: var(--radius);
 overflow: hidden;
 transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.case:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.case:nth-child(even) .case-media { order: 2; }
.case-media { aspect-ratio: 5 / 4; overflow: hidden; }
.case-media img { width: 100%; height: 100%; object-fit: cover; }
.case-body { padding: clamp(1.6rem, 1rem + 2vw, 2.6rem); }
.case-tag { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.case-metric { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 1.6rem + 3vw, 3.6rem); letter-spacing: -0.03em; color: var(--green); margin: 0.7rem 0 0.2rem; }
.case h3 { font-size: 1.4rem; margin: 0.8rem 0 0.6rem; }
.case p { color: var(--muted); font-size: 0.98rem; }
.case .who { margin-top: 1.3rem; font-size: 0.88rem; font-weight: 600; }

/* ---------- stat band ---------- */
.stats { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: clamp(2.4rem, 1.5rem + 3vw, 4rem); display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat-cell { border-left: 2px solid var(--green-bright); padding-left: 1.2rem; }
.stat-cell .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.3rem, 1.4rem + 3vw, 3.6rem); letter-spacing: -0.03em; }
.stat-cell .lbl { color: rgba(255, 255, 255, 0.68); font-size: 0.92rem; margin-top: 0.3rem; }

/* ---------- featured testimonial ---------- */
.quote-feat { display: grid; grid-template-columns: 0.4fr 1fr; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: center; }
.quote-feat .q-media img { border-radius: var(--radius); aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.quote-feat blockquote { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 1rem + 2vw, 2.4rem); line-height: 1.28; letter-spacing: -0.02em; }
.quote-feat .q-mark { color: var(--green); font-size: 3rem; font-family: var(--font-display); line-height: 0.5; }
.quote-feat .q-who { margin-top: 1.6rem; display: flex; align-items: center; gap: 0.9rem; }
.quote-feat .q-who .n { font-weight: 600; }
.quote-feat .q-who .r { font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted); letter-spacing: 0.04em; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--green); color: #fff; border-radius: var(--radius-lg); padding: clamp(2.6rem, 1.5rem + 4vw, 5rem); position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 88% -20%, rgba(255,255,255,0.18), transparent 55%); pointer-events: none; }
.cta-band h2 { font-size: var(--text-h2); max-width: 18ch; position: relative; }
.cta-band p { max-width: 46ch; margin-top: 1rem; color: rgba(255,255,255,0.9); font-size: var(--text-lead); position: relative; }
.cta-band .actions { margin-top: 2rem; display: flex; gap: 0.8rem; flex-wrap: wrap; position: relative; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.72); position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; right: -12vw; top: -10rem; width: 52vw; height: 52vw; max-width: 720px; max-height: 720px; border-radius: 50%; border: 1px solid var(--line-dark); pointer-events: none; }
.site-footer::after { content: ""; position: absolute; right: -4vw; top: -4rem; width: 32vw; height: 32vw; max-width: 460px; max-height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(143,166,227,0.10), transparent 70%); pointer-events: none; }
/* signature marquee — transform only, duplicated groups, hidden from AT */
.marquee { border-bottom: 1px solid var(--line-dark); overflow: hidden; padding-block: 1.05rem; position: relative; z-index: 1; }
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee-group { display: flex; align-items: center; gap: 2.4rem; padding-right: 2.4rem; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted-2); white-space: nowrap; }
.marquee-group i { width: 5px; height: 5px; border-radius: 50%; background: var(--green-bright); opacity: 0.8; }
@keyframes marquee { to { transform: translateX(-50%); } }
.site-footer .wrap { position: relative; z-index: 1; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; padding-top: clamp(3.5rem, 2rem + 4vw, 5.5rem); padding-bottom: 3rem; border-bottom: 1px solid var(--line-dark); }
.footer-brand .brand { color: #fff; margin-bottom: 1.1rem; }
.footer-brand p { max-width: 34ch; font-size: 0.95rem; }
.footer-col .footer-h { font-family: var(--font-mono); font-weight: 500; font-size: 0.73rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 1.1rem; }
.footer-col a { display: block; padding: 0.35rem 0; color: rgba(255,255,255,0.72); transition: color var(--dur-fast); font-size: 0.95rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem; flex-wrap: wrap; padding-block: 1.8rem; font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.03em; color: var(--muted-2); }
.footer-tag { font-family: var(--font-display); font-size: 1rem; letter-spacing: 0; color: rgba(255,255,255,0.82); }
/* signature badge — slow-spinning circular wordmark, transform only */
.footer-badge { position: absolute; right: clamp(1rem, 2vw, 3rem); top: 4.6rem; width: 132px; height: 132px; z-index: 1; pointer-events: none; }
.footer-badge svg { width: 100%; height: 100%; animation: spin 26s linear infinite; }
.footer-badge text { font-family: var(--font-mono); font-size: 9.6px; letter-spacing: 0.22em; text-transform: uppercase; fill: var(--muted-2); }
.footer-badge .badge-core { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.55rem; letter-spacing: -0.06em; color: var(--green-bright); }
.footer-badge .badge-core .g { color: var(--muted-2); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 760px) {
 .footer-badge { position: relative; right: auto; top: auto; width: 112px; height: 112px; margin: 2.4rem auto 0; }
 .footer-top { padding-top: 2.2rem; }
 .footer-bottom { justify-content: flex-start; gap: 0.9rem; }
 .footer-tag { width: 100%; }
}
/* signature credit — typed in when the footer enters view; plain text without JS */
.credit { position: relative; padding-right: 0.72em; white-space: nowrap; letter-spacing: 0.1em; }
.credit a { display: inline-block; padding: 0.35rem 0; margin: -0.35rem 0; color: var(--green-bright); text-decoration: underline; text-underline-offset: 0.22em; text-decoration-thickness: 1px; text-decoration-color: rgba(143,166,227,0.55); transition: text-decoration-color var(--dur-fast); }
.credit a:hover, .credit a:focus-visible { text-decoration-color: currentColor; }
.credit .ch { transition: opacity 90ms linear; }
.credit.is-armed .ch { opacity: 0; }
.credit .caret { position: absolute; right: 0; top: 50%; width: 0.5em; height: 1.02em; margin-top: -0.51em; background: var(--green-bright); opacity: 0; pointer-events: none; }
.credit.is-armed .caret { opacity: 0.85; }
.credit.is-done .caret { animation: caret-blink 0.6s ease-in-out infinite alternate; }
@keyframes caret-blink { to { opacity: 0.1; } }
.footer-social { display: flex; gap: 0.6rem; }
.footer-social a { width: 38px; height: 38px; border-radius: 8px; border: 1px solid var(--line-dark); display: grid; place-items: center; color: #fff; transition: background var(--dur-fast), border-color var(--dur-fast); }
.footer-social a:hover { background: var(--green-bright); border-color: var(--green-bright); color: var(--ink); }
.footer-social svg { width: 16px; height: 16px; }

/* ---------- page hero ---------- */
.page-hero { padding-top: clamp(3rem, 2rem + 3vw, 5rem); padding-bottom: clamp(2rem, 1rem + 3vw, 3.5rem); }
.page-hero .crumb { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.2rem; }
.page-hero h1 { font-size: clamp(2.5rem, 1.4rem + 4.4vw, 4.8rem); letter-spacing: -0.025em; max-width: 17ch; font-weight: 700; }
.page-hero p { color: var(--muted); font-size: var(--text-lead); max-width: 54ch; margin-top: 1.3rem; }

/* ---------- values / feature cards ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.feat { padding: 1.8rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.feat .fi { width: 48px; height: 48px; border-radius: 11px; background: var(--green-soft); color: var(--green-ink); display: grid; place-items: center; margin-bottom: 1.3rem; }
.feat .fi svg { width: 24px; height: 24px; }
.feat h3 { font-size: 1.2rem; }
.feat p { color: var(--muted); margin-top: 0.5rem; font-size: 0.96rem; }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.split-media img { border-radius: var(--radius); width: 100%; aspect-ratio: 5 / 6; object-fit: cover; }
.split h2 { font-size: var(--text-h2); margin-top: 1rem; }
.split p { color: var(--muted); margin-top: 1rem; font-size: var(--text-lead); }
.check-list { display: grid; gap: 1rem; margin-top: 1.8rem; }
.check-list li { display: flex; gap: 0.85rem; align-items: flex-start; }
.check-list .ci { width: 24px; height: 24px; border-radius: 6px; background: var(--green-soft); color: var(--green-ink); display: grid; place-items: center; flex: 0 0 auto; margin-top: 3px; }
.check-list .ci svg { width: 14px; height: 14px; }
.check-list strong { font-weight: 600; }
.check-list span.t { color: var(--muted); font-size: 0.94rem; }

/* team */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1.4rem; }
.chips span { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; padding: 0.45rem 0.8rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: var(--card); }
.member img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; filter: grayscale(0.2); }
.member h4 { font-family: var(--font-display); font-size: 1.1rem; margin-top: 1rem; }
.member p { font-family: var(--font-mono); font-size: 0.75rem; color: var(--green-ink); letter-spacing: 0.03em; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: start; }
.contact-info .info-item { display: flex; gap: 1rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.contact-info .info-item:first-child { padding-top: 0; }
.contact-info .ii-ico { width: 44px; height: 44px; border-radius: 10px; background: var(--green-soft); color: var(--green-ink); display: grid; place-items: center; flex: 0 0 auto; }
.contact-info .ii-ico svg { width: 21px; height: 21px; }
.contact-info h2 { font-family: var(--font-display); font-size: 1.05rem; }
.contact-info p, .contact-info a { color: var(--muted); font-size: 0.96rem; }
.contact-info a { display: inline-block; padding: 0.3rem 0; margin: -0.3rem 0; }
.contact-info a:hover { color: var(--green-ink); }
.form-card { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius); padding: clamp(1.5rem, 1rem + 2vw, 2.4rem); box-shadow: var(--shadow-sm); }
.field { display: grid; gap: 0.45rem; margin-bottom: 1.1rem; }
.field label { font-size: 0.82rem; font-weight: 600; }
.field input, .field select, .field textarea { font: inherit; font-size: 0.96rem; padding: 0.82rem 1rem; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink); transition: border-color var(--dur-fast), background var(--dur-fast); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); background: #fff; }
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-card .btn { width: 100%; justify-content: center; margin-top: 0.4rem; }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 0.9rem; text-align: center; }

/* faq */
.faq { display: grid; gap: 1rem; max-width: 820px; }
.faq details { padding: 1.3rem 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.faq summary { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--green); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq p { color: var(--muted); margin-top: 0.7rem; }

/* reveal */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
 .hero-top { grid-template-columns: 1fr; align-items: start; }
 .hero-aside { padding-bottom: 0; }
 .method-grid { grid-template-columns: 1fr; }
 .method-head { position: static; }
 .case, .case:nth-child(even) .case-media { grid-template-columns: 1fr; }
 .case-media, .case:nth-child(even) .case-media { order: 0; aspect-ratio: 16 / 9; }
 .split { grid-template-columns: 1fr; }
 .split-media { max-width: 480px; }
 .quote-feat { grid-template-columns: 1fr; }
 .quote-feat .q-media { max-width: 260px; }
 .contact-grid { grid-template-columns: 1fr; }
 .team-grid { grid-template-columns: repeat(2, 1fr); }
 .feat-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
 .eyebrow, .hero-metric .lbl, .case-tag, .footer-col .footer-h, .page-hero .crumb { font-size: 0.76rem; }
 .brand .word .w2 { font-size: 0.62rem; }
 .field input, .field select, .field textarea { font-size: 1rem; }
 .nav-links, .header-cta .btn-primary { display: none; }
 .brand .word .w2 { white-space: nowrap; letter-spacing: 0.2em; }
 .brand .mono { font-size: 1.55rem; }
 .nav-toggle { display: block; }
 .hero-metrics { grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; }
 .hero-band-img { aspect-ratio: 16 / 11; }
 .idx-row { grid-template-columns: 44px 1fr; gap: 0.4rem 1rem; }
 .idx-desc { grid-column: 2; }
 .idx-go { display: none; }
 .stats { grid-template-columns: 1fr 1fr; }
 .footer-top { grid-template-columns: 1fr 1fr; }
 .footer-bottom { justify-content: flex-start; }
 .field-row { grid-template-columns: 1fr; }
 .logos-inner { justify-content: flex-start; }

 .nav-links.open { display: flex; position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: flex-start; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 1rem var(--gutter) 1.5rem; z-index: 99; }
 .nav-links.open li { width: 100%; }
 .nav-links.open a { display: block; padding: 0.9rem 0; width: 100%; border-bottom: 1px solid var(--line-2); font-size: 1.05rem; }
 .nav-links.open .nav-mobile-cta { width: 100%; padding-top: 1rem; }
 .nav-links.open .nav-mobile-cta { border: 0; }
 .nav-links.open .nav-mobile-cta a { display: inline-flex; width: auto; border: 0; padding: 0.9rem 1.4rem; color: #fff; font-size: 0.97rem; }
}
@media (max-width: 480px) {
 .hero-metrics { grid-template-columns: 1fr 1fr; }
 .stats { grid-template-columns: 1fr; }
 .footer-top { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 1.6rem 1.2rem; }
 .footer-brand { grid-column: 1 / -1; }
 .team-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
 *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
 .js [data-reveal] { opacity: 1; transform: none; }
 .marquee-track { animation: none; }
 .footer-badge svg { animation: none; }
 .credit.is-armed .ch { opacity: 1; }
 .credit .caret { display: none; }
}

/* ============================================================
 SIGNATURE FOOTER MOTIFS — one kinetic + one ornament + one reveal per client
 (see ~/.claude/skills/idea-to-site/references/signature-footers.md)
 Rules: transform/opacity only, honours prefers-reduced-motion, readable with JS off.
 ============================================================ */

/* --- kinetic: giant wordmark (rise / draw / roll / scramble) --- */
.fm-giant { position: relative; z-index: 1; overflow: hidden; padding: clamp(2rem, 1rem + 4vw, 4.5rem) var(--gutter) 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(3.4rem, 1rem + 15vw, 13rem); line-height: 0.9; letter-spacing: -0.05em; color: #fff; white-space: nowrap; user-select: none; -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); }
.fm-giant .ch { display: inline-block; }
.js .fm-giant-rise .ch, .js .fm-giant-roll .ch { opacity: 0; transform: translateY(0.45em); transition: transform 1s var(--ease) calc(var(--d) * 85ms), opacity 0.7s ease-out calc(var(--d) * 85ms); }
.js .fm-giant-roll .fm-giant-word { display: inline-block; overflow: hidden; }
.js .fm-giant-roll .ch { transform: translateY(1.05em); opacity: 1; }
.js .fm-giant-rise.is-in .ch, .js .fm-giant-roll.is-in .ch { opacity: 1; transform: none; }
.js .fm-giant-draw .ch { color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,0.85); transition: color 0.9s ease-out calc(0.6s + var(--d) * 110ms), -webkit-text-stroke-color 0.9s ease-out calc(0.6s + var(--d) * 110ms), transform 0.9s var(--ease) calc(var(--d) * 90ms); transform: translateY(0.25em); }
.js .fm-giant-draw.is-in .ch { color: #fff; -webkit-text-stroke-color: transparent; transform: none; }
.fm-scramble .ch { font-variant-numeric: tabular-nums; }
.js .fm-scramble:not(.is-in) .ch { opacity: 0.25; }
.js .fm-scramble.is-in .ch { transition: opacity 0.4s; opacity: 1; }

/* --- kinetic: rotating tagline word --- */
.fm-rotator { position: relative; z-index: 1; padding: clamp(2rem, 1rem + 3vw, 3.5rem) var(--gutter) 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.9rem, 1rem + 4vw, 4.2rem); letter-spacing: -0.02em; color: #fff; line-height: 1.1; }
.fm-rotator .rslot { display: inline-grid; vertical-align: top; overflow: hidden; color: var(--green-bright); }
.fm-rotator .rw { grid-area: 1 / 1; opacity: 0; transform: translateY(110%); transition: transform 0.7s var(--ease), opacity 0.5s; }
.fm-rotator .rw.is-on { opacity: 1; transform: none; }
.fm-rotator .rw.is-off { opacity: 0; transform: translateY(-110%); }

/* --- ornament: orbiting dots around the monogram --- */
.fm-orbit { position: absolute; right: clamp(1rem, 3vw, 4rem); top: 4.2rem; width: 150px; height: 150px; z-index: 1; pointer-events: none; }
.fm-orbit .orbit-core { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; letter-spacing: -0.06em; color: var(--green-bright); }
.fm-orbit .orbit-core .g { color: var(--muted-2); }
.fm-orbit .orbit-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--line-dark); animation: spin 18s linear infinite; }
.fm-orbit .orbit-ring.r2 { inset: 18px; animation-duration: 12s; animation-direction: reverse; }
.fm-orbit .orbit-ring.r3 { inset: 36px; animation-duration: 8s; }
.fm-orbit .orbit-ring i { position: absolute; top: -4px; left: calc(50% - 4px); width: 8px; height: 8px; border-radius: 50%; background: var(--green-bright); box-shadow: 0 0 12px var(--green-bright); }

/* --- ornament: breathing rings --- */
.fm-rings { position: absolute; right: -6vw; bottom: -6vw; width: 40vw; height: 40vw; max-width: 520px; max-height: 520px; pointer-events: none; }
.fm-rings i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--green-bright); opacity: 0; animation: ring-breathe 7s ease-out infinite; }
.fm-rings i:nth-child(2) { animation-delay: 2.3s; }
.fm-rings i:nth-child(3) { animation-delay: 4.6s; }
@keyframes ring-breathe { 0% { transform: scale(0.55); opacity: 0.35; } 100% { transform: scale(1.15); opacity: 0; } }

/* --- ornament: drifting brand silhouette --- */
.fm-silhouette { position: absolute; right: -0.15em; bottom: -0.32em; font-family: var(--font-display); font-weight: 700; font-size: clamp(14rem, 40vw, 34rem); line-height: 1; letter-spacing: -0.08em; color: #fff; opacity: 0.045; pointer-events: none; user-select: none; animation: drift 26s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(-3%, -4%) rotate(-2deg); } }

/* --- ornament: aurora glow --- */
.fm-aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.fm-aurora i { position: absolute; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px; border-radius: 50%; filter: blur(60px); opacity: 0.16; background: radial-gradient(circle, var(--green-bright), transparent 65%); animation: aurora 22s ease-in-out infinite alternate; }
.fm-aurora .a1 { right: -20vw; top: -30vw; }
.fm-aurora .a2 { left: -25vw; bottom: -35vw; animation-delay: -11s; background: radial-gradient(circle, var(--green), transparent 65%); opacity: 0.28; }
@keyframes aurora { to { transform: translate(8%, 10%) scale(1.15); } }

/* --- ornament: constellation --- */
.fm-constellation { position: absolute; right: clamp(1rem, 4vw, 5rem); top: 3.5rem; width: min(42vw, 420px); height: auto; pointer-events: none; stroke: var(--line-dark); stroke-width: 0.35; fill: var(--green-bright); }
.fm-constellation circle { animation: twinkle 3.6s ease-in-out infinite alternate; animation-delay: calc(var(--d) * -0.7s); transform-box: fill-box; transform-origin: center; }
@keyframes twinkle { from { opacity: 0.35; transform: scale(0.7); } to { opacity: 1; transform: scale(1.4); } }

/* --- ornament: film — a generated film's frame behind the kinetic wordmark (dark footers; Vectoria 2026-10-19) --- */
.fm-film { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.fm-film img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; opacity: 0.55; }
.fm-film::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ink) 0%, color-mix(in oklab, var(--ink) 35%, transparent) 30%, color-mix(in oklab, var(--ink) 80%, transparent) 62%, var(--ink) 100%); }

/* --- ornament: grain (static texture, no motion) --- */
.fm-grain { position: absolute; inset: 0; pointer-events: none; opacity: 0.07; 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='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* --- reveal: line draw / mask wipe (rise is the default data-reveal) --- */
.js .reveal-line .footer-top { border-bottom-color: transparent; position: relative; }
.js .reveal-line .footer-top::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--green-bright); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease) 0.2s; }
.js .reveal-line.is-in .footer-top::after { transform: scaleX(1); }
.js .reveal-line .footer-col { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease-out, transform 0.7s var(--ease); }
.js .reveal-line.is-in .footer-col { opacity: 1; transform: none; }
.js .reveal-line.is-in .footer-col:nth-child(3) { transition-delay: 0.12s; }
.js .reveal-line.is-in .footer-col:nth-child(4) { transition-delay: 0.24s; }
.js .reveal-wipe .footer-top { clip-path: inset(0 100% 0 0); transition: clip-path 1.1s var(--ease); }
.js .reveal-wipe.is-in .footer-top { clip-path: inset(0 0 0 0); }

/* --- kinetic: road — asphalt lane, centre dashes run toward the rider (motorcycle / automotive / travel) --- */
.fm-road { position: relative; z-index: 1; height: 76px; background: #262B27; border-block: 3px solid rgba(255,255,255,0.85); overflow: hidden; display: flex; align-items: center; }
.fm-road .lane { position: absolute; left: 0; top: 50%; height: 4px; margin-top: -2px; width: calc(100% + 120px); background: repeating-linear-gradient(90deg, #F2C200 0 64px, transparent 64px 120px); animation: lane 0.7s linear infinite; }
.fm-road .post { position: relative; z-index: 1; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: #fff; background: #262B27; padding: 0.35rem 0.8rem; margin-inline: var(--gutter); border: 1px solid rgba(255,255,255,0.4); border-radius: 2px; white-space: nowrap; }
.fm-road .post + .post { margin-left: auto; }
@keyframes lane { to { transform: translateX(-120px); } }

/* --- ornament: tach — rev counter; needle sweeps to the redline when the footer enters, then idles --- */
.fm-tach { position: absolute; right: clamp(1rem, 3vw, 4rem); top: 6.5rem; z-index: 1; width: clamp(170px, 14vw + 80px, 250px); pointer-events: none; }
.fm-tach svg { width: 100%; height: auto; overflow: visible; }
.fm-tach .dial { fill: none; stroke: var(--line-dark); stroke-width: 1.5; }
.fm-tach .red { fill: none; stroke: var(--green-bright); stroke-width: 5; }
.fm-tach .tick { stroke: rgba(255,255,255,0.5); stroke-width: 1.2; }
.fm-tach .tick.major { stroke: #fff; stroke-width: 2.2; }
.fm-tach .num { font-family: var(--font-display); font-weight: 700; font-size: 13px; fill: #fff; text-anchor: middle; dominant-baseline: middle; }
.fm-tach .unit { font-family: var(--font-mono); font-size: 7px; letter-spacing: 0.18em; fill: var(--muted-2); text-anchor: middle; }
.fm-tach .needle { transform-box: view-box; transform-origin: 100px 100px; transform: rotate(-94deg); }
.js .fm-tach .needle { transform: rotate(-120deg); }
.fm-tach .needle line { stroke: var(--green-bright); stroke-width: 3; stroke-linecap: round; }
.fm-tach .hub { fill: var(--ink); stroke: var(--green-bright); stroke-width: 3; }
.site-footer.is-in .fm-tach .needle { animation: tach-rev 2.4s cubic-bezier(0.3, 0, 0.2, 1) forwards, tach-idle 1.6s ease-in-out 2.4s infinite alternate; }
.site-footer .fm-tach.revving .needle { animation: none; transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes tach-rev { 0% { transform: rotate(-120deg); } 45% { transform: rotate(96deg); } 58% { transform: rotate(84deg); } 100% { transform: rotate(-94deg); } }
@keyframes tach-idle { from { transform: rotate(-94deg); } to { transform: rotate(-88deg); } }

/* --- reveal: throttle — columns launch in with a speed skew, staggered by --i (set in markup or by nth-child) --- */
.js .reveal-throttle .footer-top > * { opacity: 0; transform: translateX(-56px) skewX(-14deg); transition: opacity 0.5s ease-out, transform 0.9s var(--ease); }
.js .reveal-throttle .footer-top > :nth-child(2) { transition-delay: 90ms; }
.js .reveal-throttle .footer-top > :nth-child(3) { transition-delay: 180ms; }
.js .reveal-throttle .footer-top > :nth-child(4) { transition-delay: 270ms; }
.js .reveal-throttle.is-in .footer-top > * { opacity: 1; transform: none; }
@media (max-width: 760px) {
 .fm-tach { position: relative; right: auto; top: auto; margin: 2.2rem auto 0; }
 .fm-road .post:first-child { display: none; }
}
@media (prefers-reduced-motion: reduce) {
 .fm-road .lane { animation: none; }
 .site-footer.is-in .fm-tach .needle, .js .fm-tach .needle { animation: none; transform: rotate(-94deg); }
 .js .reveal-throttle .footer-top > * { opacity: 1; transform: none; }
}

/* --- interaction: cursor glow (pointer devices only) / magnetic brand --- */
@media (hover: hover) and (pointer: fine) {
 .fm-i-glow::before { content: ""; position: absolute; width: 520px; height: 520px; left: 0; top: 0; border-radius: 50%; pointer-events: none; opacity: 0; background: radial-gradient(circle, rgba(143,166,227,0.16), transparent 62%); transform: translate(var(--gx, -50%), var(--gy, -50%)); transition: opacity 0.5s; }
 .fm-i-glow:hover::before { opacity: 1; }
 .fm-i-magnet .footer-brand .brand { transition: transform 0.35s var(--ease); will-change: transform; }
}

@media (max-width: 760px) {
 .fm-orbit { position: relative; right: auto; top: auto; width: 120px; height: 120px; margin: 2.2rem auto 0; }
 .fm-constellation { position: relative; right: auto; top: auto; width: 70%; margin: 2rem auto 0; display: block; }
 .fm-rings { right: -30vw; bottom: -30vw; width: 80vw; height: 80vw; }
 .fm-silhouette { font-size: 11rem; }
}
@media (prefers-reduced-motion: reduce) {
 .fm-orbit .orbit-ring, .fm-rings i, .fm-silhouette, .fm-aurora i, .fm-constellation circle { animation: none; }
 .fm-rings i { opacity: 0.18; transform: scale(0.85); }
 .js .fm-giant .ch, .js .reveal-line .footer-col, .js .reveal-line .footer-top::after, .js .reveal-wipe .footer-top { opacity: 1; transform: none; clip-path: none; color: #fff; -webkit-text-stroke-color: transparent; transition: none; }
 .fm-rotator .rw { transition: none; }
}

/* ds-allow-hardcode:end */

/* ============================================================
 SUPERMERCADO INMOBILIARIO — sections (editorial: arched hero, manifesto, type carousel, market index)
 Chrome comes from styles.css; everything here is tokenized. Light surface throughout.
 ============================================================ */

:root {
 --hairline: 1px;
 --rule: 1px solid var(--line);
 --radius-none: 0;
 --arch: 50% 50% 0 0 / 34% 34% 0 0;
 --header-h: 4.75rem;
 --tap: 2.75rem;
 --icon: 1.15rem;
 --text-display: clamp(2.7rem, 1.2rem + 4.9vw, 6.1rem);
 --text-quote: clamp(1.9rem, 1rem + 3.6vw, 4.4rem);
 --text-city: clamp(2.1rem, 1.3rem + 2.8vw, 3.6rem);
 --text-label: 0.74rem;
 --track-label: 0.24em;
 --dur-slow: 900ms;
 --lift: 0.85rem;
}

/* ---------- type: a Didone wants a light weight and its own optical sizes ---------- */
h1, h2, h3, h4 { font-weight: 400; font-variation-settings: normal; font-optical-sizing: auto; letter-spacing: -0.018em; line-height: 1.04; }
body { font-weight: 400; font-size: 1.05rem; }
.eyebrow { font-family: var(--font-mono); font-weight: 500; letter-spacing: var(--track-label); color: var(--muted); }
.eyebrow::before { background: var(--green); }
.section-head h2 { font-size: var(--text-h2); }
.img-note { margin-top: 1.4rem; font-size: 0.85rem; color: var(--muted); }

/* transform-only reveals: unread content is never invisible (frontend.md) */
.js [data-reveal] { opacity: 1; transform: translateY(var(--lift)); transition: transform var(--dur-slow) var(--ease); }
.js [data-reveal].in { transform: none; }

/* ---------- buttons: square, editorial ---------- */
.btn { border-radius: var(--radius-none); font-weight: 500; letter-spacing: 0.02em; min-height: var(--tap); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--card); transform: translateY(-0.12rem); }
.btn svg { width: var(--icon); height: var(--icon); }
.btn-ghost { border-color: var(--ink); }

/* ---------- header ---------- */
.header-inner { height: var(--header-h); }
.si-brand { display: inline-grid; justify-items: center; gap: 0.2rem; line-height: 1; color: var(--ink); }
.si-word { font-family: var(--font-display); font-size: 1.32rem; letter-spacing: 0.06em; text-transform: uppercase; }
.si-sub { font-family: var(--font-mono); font-size: 0.56rem; font-weight: 500; letter-spacing: 0.52em; text-transform: uppercase; color: var(--muted); padding-left: 0.52em; }
.header-ig { display: inline-grid; place-items: center; width: var(--tap); height: var(--tap); color: var(--ink); }
.header-ig svg { width: var(--icon); height: var(--icon); }
.nav-links a { color: var(--muted); letter-spacing: 0.04em; }
.nav-links a[aria-current="page"]::after { height: var(--hairline); background: var(--ink); }

/* ---------- hero: headline left, arched window right ---------- */
.si-hero { padding-block: clamp(2.5rem, 1.5rem + 4vw, 5.5rem) clamp(3rem, 2rem + 4vw, 6rem); }
.si-hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(2rem, 1rem + 4vw, 5.5rem); align-items: end; }
.si-hero h1 { font-size: var(--text-display); margin-top: 1.6rem; max-width: 13ch; }
.si-lead { margin-top: 1.8rem; max-width: 40ch; font-size: var(--text-lead); color: var(--muted); }
.si-hero .actions, .si-cta .actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2.2rem; }
.si-arch { position: relative; margin: 0; }
.si-arch img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 38% 50%; border-radius: var(--arch); }
.si-arch figcaption { position: absolute; right: 0; bottom: -1.7rem; font-size: var(--text-label); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--muted); }

/* ---------- manifesto ---------- */
.si-manifesto { border-block: var(--rule); text-align: center; }
.si-manifesto .eyebrow::before { display: none; }
.si-quote { margin: 1.8rem auto 0; max-width: 22ch; font-family: var(--font-display); font-style: italic; font-size: var(--text-quote); line-height: 1.08; letter-spacing: -0.015em; }
.si-quote-p { margin: 1.8rem auto 0; max-width: 52ch; color: var(--muted); font-size: var(--text-lead); }

/* ---------- type carousel ---------- */
.si-types .fx-card > * { border-radius: var(--radius-none); box-shadow: none; border: var(--rule); background: var(--card); }
.si-types .fx-card-body h3 { font-size: var(--text-h3); }
.si-types .fx-card-body p { margin-top: 0.45rem; color: var(--muted); }
.si-types .fx-car-ui button { border-radius: var(--radius-none); }
.si-types .fx-car-progress span { background: var(--ink); }

/* ---------- market index ---------- */
.mk-list { list-style: none; padding: 0; counter-reset: none; border-top: var(--rule); }
.mk-row { display: grid; grid-template-columns: 4rem 1fr 1.2fr 15rem; gap: 1.5rem 2rem; align-items: center; padding-block: 1.6rem; border-bottom: var(--rule); }
.mk-num { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; color: var(--green); }
.mk-row h3 { font-size: var(--text-city); }
.mk-row p { color: var(--muted); max-width: 36ch; }
.mk-img { overflow: hidden; }
.mk-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform var(--dur-slow) var(--ease); }
.mk-row:hover .mk-img img { transform: scale(1.04); }

/* ---------- why a realtor ---------- */
.rl-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 1rem + 2vw, 3rem); }
.rl-list li { border-top: var(--rule); padding-top: 1.4rem; }
.rl-num { font-family: var(--font-display); font-style: italic; font-size: 2.6rem; line-height: 1; color: var(--green); }
.rl-list h3 { font-size: var(--text-h3); margin-top: 1.1rem; }
.rl-list p { margin-top: 0.6rem; color: var(--muted); }
.rl-close { margin-top: clamp(2.5rem, 1.5rem + 3vw, 4rem); max-width: 34ch; font-family: var(--font-display); font-size: clamp(1.5rem, 1rem + 1.6vw, 2.3rem); line-height: 1.2; }

/* ---------- closing band ---------- */
.si-cta-wrap { padding-top: 0; }
.si-cta { background: var(--ink); color: var(--paper); padding: clamp(2.6rem, 1.5rem + 5vw, 6rem); }
.si-cta h2 { font-size: var(--text-h2); max-width: 20ch; margin-top: 1.2rem; }
.si-cta > p:not(.eyebrow) { margin-top: 1.1rem; max-width: 46ch; color: var(--paper); font-size: var(--text-lead); }
.si-cta .eyebrow.on-dark { color: var(--green-bright); }
.si-cta .btn svg { width: var(--icon); height: var(--icon); }

/* ---------- page hero ---------- */
.page-hero h1 { font-weight: 400; max-width: 18ch; }
.page-hero .crumb a { text-decoration: underline; text-underline-offset: 0.2em; }

/* ---------- listings ---------- */
.ls-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1rem + 3vw, 4rem) clamp(1.5rem, 1rem + 2vw, 3rem); }
.ls-card { display: grid; gap: 1.3rem; align-content: start; }
.ls-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ls-card:nth-child(even) .ls-media img { border-radius: var(--arch); aspect-ratio: 1 / 1; }
.ls-place { font-size: var(--text-label); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--muted); }
.ls-body h2 { font-size: var(--text-h3); margin-top: 0.5rem; }
.ls-body > p:not(.ls-place) { margin-top: 0.7rem; color: var(--muted); max-width: 52ch; }
.chips { list-style: none; padding: 0; }
.chips li { font-size: var(--text-label); letter-spacing: 0.08em; text-transform: uppercase; padding: 0.4rem 0.75rem; border: var(--rule); }
.ls-ask { display: inline-flex; align-items: center; gap: 0.5rem; min-height: var(--tap); margin-top: 1.1rem; font-weight: 500; text-decoration: underline; text-underline-offset: 0.25em; }
.ls-ask svg { width: var(--icon); height: var(--icon); }
.sv-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.sv-list li { border-top: var(--rule); padding-top: 1.3rem; }
.sv-list h3 { font-size: var(--text-h3); }
.sv-list p { margin-top: 0.6rem; color: var(--muted); }

/* ---------- contact ---------- */
.ii-ico { display: inline-grid; place-items: center; width: var(--tap); height: var(--tap); border: var(--rule); flex: none; }
.ii-ico svg { width: var(--icon); height: var(--icon); }
.info-item h2 { font-family: var(--font-mono); font-size: var(--text-label); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--muted); }
.info-item p { margin-top: 0.3rem; }
.info-item a { text-decoration: underline; text-underline-offset: 0.2em; }
.form-card { border-radius: var(--radius-none); border: var(--rule); }
.field input, .field select, .field textarea { font-size: 1rem; border-radius: var(--radius-none); background: var(--paper); }
.field input:focus, .field select:focus, .field textarea:focus { background: var(--card); outline: 2px solid var(--green); outline-offset: 1px; }
.field-err { color: var(--green-ink); font-size: 0.88rem; }
.form-note { margin-top: 0.9rem; font-size: 0.88rem; color: var(--muted); }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
 .mk-row { grid-template-columns: 3rem 1fr 12rem; }
 .mk-row p { grid-column: 2 / 3; }
 .mk-img { grid-row: 1 / span 2; grid-column: 3; }
}
@media (max-width: 900px) {
 .si-hero-grid { grid-template-columns: 1fr; }
 .si-arch { max-width: 34rem; }
 .rl-list, .sv-list { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
 .ls-grid { grid-template-columns: 1fr; }
 .mk-row { grid-template-columns: 2.4rem 1fr; }
 .mk-row p { grid-column: 2; }
 .mk-img { grid-row: auto; grid-column: 1 / -1; }
 .si-word { font-size: 1.1rem; }
 .header-ig { display: none; }
}
@media (prefers-reduced-motion: reduce) {
 .js [data-reveal] { transform: none; transition: none; }
 .mk-img img { transition: none; }
}

/* ============================================================
 SIGNATURE FOOTER — Supermercado Inmobiliario (light site → paper footer)
 Catalogue motifs from styles.css are recoloured for paper here; `horizon` is project-level (.fb-).
 Live: B · Tres horizontes (horizon · grain · wipe), chosen from 3 previews.
 ============================================================ */

/* ---------- surface: the page's own paper, one step darker so it closes the page ---------- */
.site-footer { background: var(--paper-2); color: var(--muted); border-top: var(--rule); isolation: isolate; }
.site-footer::before, .site-footer::after { display: none; }
.footer-top { border-bottom: var(--rule); }
.footer-brand .brand, .site-footer .si-brand { color: var(--ink); }
.footer-col .footer-h { color: var(--muted); }
.footer-col a { color: var(--ink-3); min-height: 1.5rem; }
.footer-col a:hover { color: var(--green-ink); }
.footer-bottom { color: var(--muted); border-top: 0; }
.footer-tag { color: var(--ink); font-style: italic; }
.credit a { color: var(--green-ink); text-decoration-color: color-mix(in srgb, var(--green-ink) 45%, transparent); }
.credit .caret { background: var(--green-ink); }

/* ds-allow-hardcode:start — motif choreography (durations, delays, curves) is per-motif, not a system token */
/* grain on paper */
.fm-grain { opacity: 0.09; mix-blend-mode: multiply; }

/* ---------- B · horizon: Medellín's ridge, Panamá's towers and Miami's bay as one line ---------- */
.fb-horizon { position: relative; z-index: 1; padding: clamp(2.2rem, 1rem + 4vw, 4.5rem) var(--gutter) 0; max-width: var(--container); margin-inline: auto; box-sizing: content-box; }
.fb-horizon svg { display: block; width: 100%; height: clamp(5.5rem, 3rem + 9vw, 11rem); overflow: visible; }
.fb-horizon path { fill: none; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.fb-sea { stroke: var(--line); stroke-width: 1; }
.fb-line { stroke: var(--ink); stroke-width: 1.4; }
/* drawn as a left-to-right wipe: pathLength dashes break under non-scaling-stroke in Chrome */
.js .fb-horizon svg { clip-path: inset(-10% 100% -10% 0); transition: clip-path 2.8s cubic-bezier(0.45, 0, 0.2, 1) 0.15s; }
.js .site-footer.is-in .fb-horizon svg { clip-path: inset(-10% 0 -10% 0); }
.fb-stops { list-style: none; margin: 0.9rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }
.fb-stops li { display: grid; gap: 0.2rem; }
.fb-stops li:nth-child(2) { text-align: center; }
.fb-stops li:nth-child(3) { text-align: right; }
.fb-city { font-family: var(--font-display); font-style: italic; font-size: clamp(1.35rem, 1rem + 1.4vw, 2.2rem); line-height: 1.05; color: var(--ink); }
.fb-coord { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.js .fb-stops li { opacity: 0; transform: translateY(0.6rem); transition: opacity 0.6s ease-out, transform 0.8s var(--ease); transition-delay: calc(0.9s + var(--i) * 0.75s); }
.js .site-footer.is-in .fb-stops li { opacity: 1; transform: none; }

@media (max-width: 760px) {
 .fb-stops { grid-template-columns: 1fr; gap: 0.7rem; }
 .fb-stops li:nth-child(n) { text-align: left; grid-template-columns: auto 1fr; align-items: baseline; gap: 0.8rem; }
}
@media (prefers-reduced-motion: reduce) {
 .js .fb-horizon svg { clip-path: none; transition: none; }
 .js .fb-stops li { opacity: 1; transform: none; transition: none; }
}
/* ds-allow-hardcode:end */

/* ==========================================================================
   LYVEK SIGNATURE EFFECTS (demo mode) — loaded only by pages that use one.
   Catalogue: references/signature-effects.md. Motion lives in js/effects.js;
   this file owns layout, the no-JS state and the reduced-motion state.
   ========================================================================== */

/* Baseline on every demo: cross-document page transitions (progressive). */
@view-transition { navigation: auto; }
::view-transition-old(root),
::view-transition-new(root) { animation-duration: 420ms; animation-timing-function: var(--ease); }

/* ---------- split headline ---------- */
.fx-word { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.fx-word > span { display: inline-block; }
/* Pre-hidden only while effects.js is pending; the failsafe reveals it if the module never runs. */
.fx-pending [data-fx="split"] .fx-word > span { transform: translateY(110%); animation: fx-failsafe 0s 2.5s forwards; }
@keyframes fx-failsafe { to { transform: none; } }

/* ---------- scrub (generated film follows scroll) ---------- */
.fx-scrub { position: relative; height: var(--fx-scrub-len, 320vh); background: var(--ink); color: #fff; }
.fx-scrub-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.fx-scrub-stage video,
.fx-loop video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fx-scrub-stage::after,
.fx-loop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.55)); pointer-events: none; }
.fx-scrub-chapters { position: relative; z-index: 1; margin-top: -100svh; }
.fx-scrub-chapter { min-height: 100svh; display: flex; align-items: center; }
.fx-scrub-chapter > .wrap > * { max-width: 34rem; }
.fx-scrub-chapter h2 { color: #fff; }
.fx-scrub-chapter p { color: rgba(255, 255, 255, 0.86); }

/* ---------- loop (ambient generated clip) ---------- */
.fx-loop { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--ink); }
.fx-loop > .wrap { position: relative; z-index: 1; }

/* ---------- parallax ---------- */
.fx-parallax { position: relative; overflow: hidden; }
.fx-parallax [data-depth] { will-change: transform; }

/* ---------- carousel ---------- */
.fx-carousel { --card-w: min(82vw, 420px); }
.fx-car-track {
  position: relative; /* Motion measures card offsets against a positioned scroll container */
  display: flex; gap: clamp(0.9rem, 0.6rem + 1vw, 1.4rem);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter); padding: 1.5rem var(--gutter) 2rem;
  scrollbar-width: none; perspective: 1200px;
}
.fx-car-track::-webkit-scrollbar { display: none; }
.fx-car-track:focus-visible { outline: 2px solid var(--green-bright); outline-offset: -2px; }
.fx-card { flex: 0 0 var(--card-w); scroll-snap-align: start; }
.fx-card > * { height: 100%; border-radius: var(--radius-lg); overflow: hidden; background: var(--card); box-shadow: var(--shadow-sm); transform-style: preserve-3d; }
.fx-card img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.fx-card-body { padding: 1.2rem 1.3rem 1.4rem; }
.fx-car-ui { display: flex; align-items: center; gap: 1rem; padding-inline: var(--gutter); max-width: var(--container); margin-inline: auto; }
.fx-car-ui button {
  inline-size: 44px; block-size: 44px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--card); color: var(--ink); cursor: pointer; font-size: 1.1rem;
  transition: transform var(--dur-fast) var(--ease), background var(--dur-fast);
}
.fx-car-ui button:hover { transform: scale(1.06); }
.fx-car-ui button:focus-visible { outline: 2px solid var(--green-bright); outline-offset: 2px; }
.fx-car-progress { flex: 1; height: 2px; background: var(--line); overflow: hidden; }
.fx-car-progress span { display: block; height: 100%; background: var(--green-bright); transform-origin: left; transform: scaleX(0.08); }

/* ---------- stack ---------- */
/* The gap is the scroll room each card is held for before the next one covers it. */
.fx-stack { display: grid; gap: clamp(2rem, 28vh, 16rem); padding-bottom: 8vh; }
.fx-stack-card { position: sticky; top: calc(5.5rem + var(--i, 0) * 1rem); transform-origin: top center; border-radius: var(--radius-lg); background: var(--card); box-shadow: var(--shadow); padding: clamp(1.4rem, 1rem + 2vw, 2.6rem); }

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .fx-pending [data-fx="split"] .fx-word > span { transform: none; animation: none; }
  .fx-scrub { height: auto; }
  .fx-scrub-stage { position: absolute; inset: 0; height: auto; }
  .fx-scrub-chapters { margin-top: 0; }
  .fx-car-ui button { transition: none; }
}

/* "¿Cuánto me cuesta esto?" — pricing section for Lyvek demos. Built on the scaffold tokens, so it
   inherits each client's palette, type and radius. Only --lp-* aliases are defined here. */
.lp {
  --lp-accent: var(--green);
  --lp-accent-ink: var(--card);
  --lp-surface: var(--card);
  --lp-frame: var(--ink);
  --lp-frame-line: var(--line-dark);
  --lp-scrim: rgba(10, 12, 16, 0.78);
  --lp-gap: clamp(1.25rem, 0.8rem + 2vw, 2.5rem);
  --lp-ring: 2px;
  --lp-pill: 999px;
  --lp-slow: 600ms;
  --lp-instant: 1ms;
  --lp-view-h: clamp(26rem, 58vh, 31rem);
}
.lp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.lp [hidden] { display: none !important; }
.lp-stage { display: grid; gap: var(--lp-gap); grid-template-areas: 'levels' 'demo'; }
.lp-levels { grid-area: levels; min-width: 0; }
.lp-demo { grid-area: demo; min-width: 0; display: grid; gap: 0.75rem; align-content: start; }
@media (min-width: 60rem) {
  .lp-stage { grid-template-columns: 1.15fr 0.85fr; grid-template-areas: 'demo levels'; align-items: start; }
  .lp-demo { position: sticky; top: 6rem; }
}

/* ---------- Levels ---------- */
.lp-xp { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: center; margin-bottom: 1rem; }
.lp-xp-label { font: 600 0.8rem/1 var(--font-mono); color: var(--ink); }
.lp-xp-track { height: 0.5rem; border-radius: var(--lp-pill); background: var(--paper-2); overflow: hidden; }
.lp-xp-fill { display: block; height: 100%; background: var(--lp-accent); transform-origin: left; transform: scaleX(var(--xp, 0.3333)); transition: transform var(--lp-slow) var(--ease); }
.lp-list { margin: 0; padding: 0; border: 0; display: grid; gap: 0.75rem; }
.lp-level {
  position: relative; display: grid; gap: 0.6rem; padding: 1.1rem 1.2rem;
  background: var(--lp-surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color var(--dur-fast), box-shadow var(--dur);
}
.lp-level input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.lp-level:hover { border-color: var(--muted-2); }
.lp-level:has(:focus-visible) { outline: var(--lp-ring) solid var(--lp-accent); outline-offset: var(--lp-ring); }
.lp-level:has(:checked) { border-color: var(--lp-accent); box-shadow: 0 0 0 1px var(--lp-accent), var(--shadow-sm); }
.lp-pick { display: grid; gap: 0.4rem; cursor: pointer; }
.lp-top { display: flex; align-items: center; gap: 0.5rem; }
.lp-badge { font: 600 0.75rem/1 var(--font-mono); padding: 0.3rem 0.5rem; border-radius: var(--radius-sm); border: 1px solid var(--line); color: var(--ink-2); }
.lp-level:has(:checked) .lp-badge { background: var(--lp-accent); border-color: var(--lp-accent); color: var(--lp-accent-ink); }
.lp-badge-rec { font: 600 0.72rem/1 var(--font-body); padding: 0.3rem 0.55rem; border-radius: var(--lp-pill); background: var(--green-soft); color: var(--green-ink); }
.lp-state { margin-left: auto; display: none; align-items: center; gap: 0.3rem; font: 500 0.75rem/1 var(--font-mono); color: var(--muted); }
.lp-state svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.8; }
.lp-level[data-state='locked'] .lp-lock, .lp-level[data-state='unlocked'] .lp-done { display: inline-flex; }
.lp-name { font: 700 1.25rem/1.2 var(--font-display); color: var(--ink); }
.lp-tagline { color: var(--muted); font-size: 0.95rem; }
.lp-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.35rem 0.5rem; }
.lp-price strong { font: 700 1.2rem/1.2 var(--font-mono); color: var(--ink); }
.lp-price small, .lp-support small { font-size: 0.8rem; color: var(--muted); }
.lp-details { display: none; gap: 0.75rem; padding-top: 0.75rem; border-top: 1px solid var(--line-2); }
.lp-level:has(:checked) .lp-details { display: grid; }
.lp-scope, .lp-perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.3rem; font-size: 0.92rem; color: var(--ink-2); }
.lp-scope li::before { content: '·' / ''; margin-right: 0.5rem; color: var(--lp-accent); font-weight: 700; }
.lp-perks li::before { content: '+' / ''; margin-right: 0.5rem; color: var(--lp-accent); font-weight: 700; }
.lp-perks li.is-inherited { color: var(--muted); }
.lp-perks li.is-inherited::before { content: '=' / ''; color: var(--muted); }
.lp-support { display: grid; gap: 0.15rem; font-size: 0.9rem; color: var(--ink-2); }
.lp-support b { color: var(--ink); }
.lp-note { margin-top: 1rem; font-size: 0.85rem; color: var(--ink-2); }
.lp-muted { margin-top: 0.4rem; color: var(--muted); }

/* ---------- Demo frame and steps ---------- */
.lp-demo h3 { font-family: var(--font-display); font-size: var(--text-h3); color: var(--ink); margin: 0; }
.lp-demo-text { color: var(--muted); }
.lp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.lp-step { display: grid; grid-template-columns: auto 1fr; column-gap: 0.6rem; align-items: center; padding: 0.55rem 0.7rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--lp-surface); transition: border-color var(--dur), box-shadow var(--dur); }
.lp-step-n { grid-row: span 2; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: var(--lp-pill); border: 1px solid var(--line); font: 600 0.8rem/1 var(--font-mono); color: var(--muted); }
.lp-step-actor { font: 600 0.7rem/1.3 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.lp-step-text { font-size: 0.85rem; line-height: 1.3; color: var(--ink-2); }
.lp-step[data-state='active'] { border-color: var(--lp-accent); box-shadow: var(--shadow-sm); }
.lp-step[data-state='active'] .lp-step-n { background: var(--lp-accent); border-color: var(--lp-accent); color: var(--lp-accent-ink); }
.lp-step[data-state='active'] .lp-step-actor, .lp-step[data-state='done'] .lp-step-actor { color: var(--ink); }
@media (max-width: 30rem) { .lp-steps { grid-template-columns: 1fr; } }
.lp-browser { border-radius: var(--radius); overflow: hidden; background: var(--lp-frame); box-shadow: var(--shadow); }
.lp-bar { display: flex; align-items: center; gap: 0.75rem; padding: 0.55rem 0.8rem; }
.lp-dots { display: inline-flex; gap: 0.3rem; }
.lp-dots i { width: 0.55rem; height: 0.55rem; border-radius: var(--lp-pill); background: var(--lp-frame-line); }
.lp-url { flex: 1; min-width: 0; padding: 0.25rem 0.75rem; border-radius: var(--lp-pill); background: var(--ink-2); font: 400 0.75rem/1.4 var(--font-mono); color: var(--paper-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-view { position: relative; height: var(--lp-view-h); overflow: hidden; background: var(--paper); container-type: inline-size; }
.lp-fallback { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-replay { justify-self: start; min-height: 2.75rem; padding: 0 1.1rem; border-radius: var(--lp-pill); border: 1px solid var(--line); background: var(--lp-surface); color: var(--ink); font: 600 0.85rem/1 var(--font-body); cursor: pointer; }
.lp-replay:hover { border-color: var(--ink); }
.lp-toast {
  position: fixed; left: 50%; bottom: max(1.5rem, env(safe-area-inset-bottom)); z-index: 50;
  transform: translate(-50%, 200%); padding: 0.75rem 1.1rem; border-radius: var(--lp-pill);
  background: var(--ink); color: var(--card); font: 600 0.85rem/1.3 var(--font-body);
  transition: transform var(--dur) var(--ease); pointer-events: none;
}
.lp-toast.is-visible { transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) {
  .lp *, .lp-toast { transition-duration: var(--lp-instant) !important; animation-duration: var(--lp-instant) !important; }
}

/* Mockups inside the pricing section's browser frame: the client's mini site (level 1), the
   WordPress-style panel (level 2) and the systems map (level 3). The panel keeps WordPress-like
   chrome on purpose so the prospect recognises an admin. */
.lp {
  --lp-wp-side: #1D2327;
  --lp-wp-side-text: #F0F0F1;
  --lp-wp-muted: #C3C4C7;
  --lp-wp-bg: #F0F0F1;
  --lp-wp-blue: #2271B1;
  --lp-wp-ok: #00703C;
  --lp-cursor: 1.25rem;
}

/* ---------- Level 1: the client's site ---------- */
.lp-site { position: absolute; inset: 0; display: grid; grid-template-rows: auto 1fr; background: var(--paper); color: var(--ink); }
.lp-site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1rem; padding: 0.75rem 1rem; background: var(--card); border-bottom: 1px solid var(--line); }
.lp-site-brand { margin-right: auto; font: 700 1rem/1 var(--font-display); color: var(--green-ink); }
.lp-site-link { min-height: 2.75rem; padding: 0 0.5rem; background: none; border: 0; border-bottom: var(--lp-ring) solid transparent; color: var(--ink); font: 500 0.875rem/1 var(--font-body); cursor: pointer; }
.lp-site-link[aria-current='page'] { border-bottom-color: var(--lp-accent); font-weight: 700; }
.lp-site-body { position: relative; min-height: 0; overflow: hidden; }
.lp-site-page { display: grid; align-content: center; gap: 0.75rem; height: 100%; padding: 1.5rem; }
.lp-site-page h4 { margin: 0; font: 700 clamp(1.4rem, 4cqi, 2.3rem)/1.1 var(--font-display); color: var(--ink); }
.lp-site-hero { position: absolute; inset: 0; padding: 0; display: block; }
.lp-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-site-copy { position: absolute; inset: auto 0 0; display: grid; gap: 0.4rem; padding: 3rem 1.4rem 1.4rem; background: linear-gradient(transparent, var(--lp-scrim) 45%); }
.lp-site-copy h4, .lp-site-copy .lp-site-tagline { color: var(--card); }
.lp-site-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.lp-site-cards li { display: grid; gap: 0.35rem; font: 600 0.85rem/1.3 var(--font-body); }
.lp-site-cards img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); display: block; }
.lp-cursor { position: absolute; top: 0; left: 0; z-index: 3; width: var(--lp-cursor); height: var(--lp-cursor); pointer-events: none; transform: translate(var(--x, 50cqi), var(--y, 10rem)); transition: transform var(--lp-slow) var(--ease); }
.lp-cursor svg { width: 100%; height: 100%; fill: var(--ink); stroke: var(--card); stroke-width: 1.5; }
.lp-ticket {
  position: absolute; top: 0.75rem; right: 0.75rem; left: 0.75rem; z-index: 2; max-width: 20rem; margin-left: auto;
  display: grid; gap: 0.2rem; padding: 0.75rem 1rem; border-radius: var(--radius-sm);
  background: var(--ink); color: var(--card); font: 500 0.8rem/1.4 var(--font-mono);
  transform: translateX(calc(100% + 2rem)); transition: transform var(--dur) var(--ease);
}
.lp-ticket.is-visible { transform: none; }
.lp-ticket-status { color: var(--paper-2); }
.lp-ticket.is-done .lp-ticket-status { color: var(--green-bright); }

/* ---------- Level 2: the admin panel ---------- */
.lp-cms { position: absolute; inset: 0; display: grid; grid-template-columns: 8.5rem 1fr 1fr; background: var(--lp-wp-bg); color: var(--lp-wp-side); font-family: var(--font-body); }
.lp-cms-menu { display: grid; align-content: start; padding: 0.75rem 0; background: var(--lp-wp-side); color: var(--lp-wp-muted); font-size: 0.8rem; }
.lp-cms-menu span { padding: 0.5rem 0.75rem; }
.lp-cms-menu .is-active { background: var(--lp-wp-blue); color: var(--lp-wp-side-text); }
.lp-cms-editor { display: grid; align-content: start; gap: 0.75rem; padding: 1rem; }
.lp-cms-editing { font: 600 0.75rem/1.4 var(--font-mono); }
.lp-cms-field { display: grid; gap: 0.3rem; font-size: 0.8rem; font-weight: 600; }
.lp-cms-field input { min-height: 2.75rem; padding: 0 0.75rem; border: 1px solid var(--lp-wp-muted); border-radius: var(--radius-sm); background: var(--card); color: var(--lp-wp-side); font: 400 0.85rem/1 var(--font-body); }
.lp-cms-library { display: flex; gap: 0.5rem; }
.lp-cms-swatch { width: 5rem; padding: 0; border: var(--lp-ring) solid transparent; border-radius: var(--radius-sm); background: none; cursor: pointer; overflow: hidden; }
.lp-cms-swatch img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.lp-cms-swatch[aria-pressed='true'] { border-color: var(--lp-wp-blue); }
.lp-cms-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.lp-cms-save { min-height: 2.75rem; padding: 0 1rem; border: 0; border-radius: var(--radius-sm); background: var(--lp-wp-blue); color: var(--card); font: 600 0.85rem/1 var(--font-body); cursor: pointer; }
.lp-cms-saved { font-size: 0.8rem; font-weight: 700; color: var(--lp-wp-ok); }
.lp-cms-preview { position: relative; display: grid; grid-template-rows: auto 1fr; border-left: 1px solid var(--lp-wp-muted); }
.lp-cms-preview-label { margin: 0; padding: 0.5rem 0.75rem; font: 600 0.7rem/1.4 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); background: var(--card); }
.lp-cms-preview .lp-site-hero { position: relative; }
.lp-cms-preview .lp-site-copy { padding: 2rem 1rem 1rem; }
.lp-cms-preview h4 { font-size: clamp(1.1rem, 3.4cqi, 1.6rem); }
.lp .is-flash { animation: lp-flash var(--lp-slow) var(--ease); }
@container (max-width: 40rem) {
  .lp-cms { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .lp-cms-menu, .lp-cms-editing { display: none; }
  .lp-cms-preview { border-left: 0; border-top: 1px solid var(--lp-wp-muted); }
}

/* ---------- Level 3: the systems map ---------- */
.lp-int { position: absolute; inset: 0; display: grid; grid-template-rows: 1fr auto auto; background: var(--ink); color: var(--paper-2); }
.lp-int-map { position: relative; display: grid; gap: 0.75rem; padding: 1rem; grid-template-columns: 1fr 1fr 1fr; grid-template-rows: 1fr auto 1fr; grid-template-areas: 'n0 . n1' '. hub .' 'n2 . n3'; }
.lp-int-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.lp-int-lines line { stroke: var(--line-dark); stroke-width: 1; vector-effect: non-scaling-stroke; }
.lp-int-lines line.is-live { stroke: var(--green-bright); stroke-dasharray: 4 4; animation: lp-flow var(--lp-slow) linear infinite; }
.lp-int-hub { grid-area: hub; position: relative; z-index: 1; display: grid; gap: 0.3rem; justify-items: center; padding: 0.5rem; border-radius: var(--radius-sm); background: var(--card); color: var(--ink); font: 700 0.85rem/1.2 var(--font-display); }
.lp-int-hub img { width: 7rem; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-sm); display: block; }
.lp-node { position: relative; z-index: 1; align-self: center; display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; padding: 0.5rem 0.75rem; border: 1px solid var(--line-dark); border-radius: var(--radius-sm); background: var(--ink-2); color: var(--paper-2); font: 600 0.8rem/1.3 var(--font-body); text-align: left; cursor: pointer; }
.lp-node svg { flex: none; width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 1.5; }
.lp-node[aria-pressed='true'] { border-color: var(--green-bright); color: var(--card); }
.lp-int-detail { margin: 0; min-height: 4.2em; padding: 0.75rem 1rem; border-top: 1px solid var(--line-dark); font-size: 0.875rem; }
.lp-int-log { margin: 0; height: 6rem; padding: 0.75rem 1rem; list-style: none; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; border-top: 1px solid var(--line-dark); font: 400 0.75rem/1.6 var(--font-mono); color: var(--muted-2); }
.lp-int-log li:last-child { color: var(--card); }

@keyframes lp-flow { to { stroke-dashoffset: -8; } }
@keyframes lp-flash { from { box-shadow: inset 0 0 0 0.3rem var(--lp-accent); } to { box-shadow: inset 0 0 0 0 transparent; } }
