:root {
  --brand: #881934;
  --brand-deep: #5c0f22;
  --brand-tint: #fbf2f4;
  --ink: #1a1a1a;
  --ink-2: #333;
  --muted: #6e6e6b;
  --paper: #f6f5f3;
  --white: #fff;
  --line: rgba(26, 26, 26, 0.12);
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Manrope', system-ui, sans-serif;
  --pad: clamp(16px, 4.5vw, 72px);
  --radius: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font: 500 16px/1.6 var(--sans); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body.is-loading { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--brand); letter-spacing: 0; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

h2 { font-size: clamp(2.1rem, 4.6vw, 4rem); line-height: 1.04; letter-spacing: -0.035em; font-weight: 700; }
h2 em { font-size: 1.08em; }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--brand); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.lead { color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.12rem); max-width: 560px; margin-top: 20px; }

/* ---------- Loader ---------- */
.loader { position: fixed; inset: 0; z-index: 200; background: var(--brand); color: #fff; display: grid; place-content: center; gap: 28px; transition: clip-path 1.1s var(--ease-io); clip-path: inset(0 0 0 0); }
.loader.done { clip-path: inset(0 0 100% 0); }
.loader-word { display: flex; font-weight: 800; font-size: clamp(3.5rem, 12vw, 9rem); letter-spacing: -0.04em; overflow: hidden; line-height: 1; }
.loader-word span { display: inline-block; transform: translateY(105%); animation: up .9s var(--ease) forwards; animation-delay: calc(var(--i) * 70ms + 100ms); }
.loader-bar { height: 2px; background: rgba(255,255,255,.2); overflow: hidden; }
.loader-bar i { display: block; height: 100%; background: #fff; transform-origin: 0 50%; animation: grow 1.3s var(--ease-io) forwards; }
@keyframes up { to { transform: translateY(0); } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- Cursor ---------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 150; pointer-events: none; width: 90px; height: 90px; margin: -45px 0 0 -45px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; scale: 0; transition: scale .45s var(--ease); }
.cursor.on { scale: 1; }
@media (hover: none) { .cursor { display: none; } }

/* ---------- Buttons ---------- */
.btn { --bg: var(--brand); --fg: #fff; position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 28px; border-radius: 999px; border: 0; background: var(--bg); color: var(--fg); font: 700 .95rem var(--sans); cursor: pointer; transition: color .5s var(--ease), transform .35s var(--ease); white-space: nowrap; }
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--ink); border-radius: inherit; transform: translateY(101%); transition: transform .55s var(--ease); }
.btn:hover::before { transform: translateY(0); }
.btn svg { transition: transform .4s var(--ease); }
.btn:hover svg:last-child { transform: translateX(4px); }
.btn-sm { padding: 11px 20px; font-size: .88rem; }
.btn-light { --bg: #fff; --fg: var(--brand); }
.btn-light:hover { color: #fff; }
.btn-outline { --bg: transparent; --fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); }
.btn-outline::before { background: #fff; }
.btn-outline:hover { color: var(--brand); }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 90; display: flex; align-items: center; gap: 28px; padding: 18px var(--pad); color: #fff; transition: transform .5s var(--ease), background .4s, color .4s, padding .4s var(--ease), box-shadow .4s; }
.nav .logo img { height: 46px; width: auto; filter: brightness(0) invert(1); transition: filter .4s; }
.nav.solid { background: rgba(246,245,243,.86); backdrop-filter: blur(16px) saturate(1.4); color: var(--ink); padding-block: 10px; box-shadow: 0 1px 0 var(--line); }
.nav.solid .logo img { filter: none; }
.nav.hide { transform: translateY(-100%); }
.nav-links { display: flex; gap: 30px; margin-left: auto; font-weight: 600; }
.nav-links a { overflow: hidden; height: 1.6em; display: block; }
.nav-links span { display: block; position: relative; transition: transform .45s var(--ease); }
.nav-links span::after { content: attr(data-text); position: absolute; left: 0; top: 100%; color: var(--brand); }
.nav:not(.solid) .nav-links span::after { color: #fff; }
.nav-links a:hover span { transform: translateY(-100%); }
.nav-phone { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; position: relative; cursor: pointer; color: inherit; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: currentColor; transition: transform .45s var(--ease), top .45s var(--ease); }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.menu-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 80; background: var(--brand); color: #fff; display: flex; flex-direction: column; justify-content: center; padding: 100px var(--pad) 40px; clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease-io); }
.menu nav { display: grid; gap: 6px; }
.menu nav a { font-size: clamp(2.4rem, 11vw, 4rem); font-weight: 700; letter-spacing: -0.03em; opacity: 0; transform: translateY(30px); transition: .6s var(--ease); }
.menu-phone { margin-top: 40px; opacity: .8; }
.menu-open .menu { clip-path: inset(0 0 0 0); }
.menu-open .menu nav a { opacity: 1; transform: none; }
.menu-open .menu nav a:nth-child(2) { transition-delay: .06s; } .menu-open .menu nav a:nth-child(3) { transition-delay: .12s; } .menu-open .menu nav a:nth-child(4) { transition-delay: .18s; }
.menu-open .nav { color: #fff; background: transparent; box-shadow: none; backdrop-filter: none; }
.menu-open .nav .logo img { filter: brightness(0) invert(1); }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100svh; min-height: 680px; display: flex; align-items: flex-end; padding: 0 var(--pad) clamp(40px, 7vh, 90px); color: #fff; }
.hero-frame { --p: 0; position: absolute; inset: 0; overflow: hidden; clip-path: inset(calc(var(--p) * 3vw) calc(var(--p) * 3vw) 0 round calc(var(--p) * 36px)); background: #222; }
.hero-video { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.18 - var(--p) * .12)); transition: transform 2.2s var(--ease); }
.is-loading .hero-video { transform: scale(1.35); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,6,10,.55) 0%, rgba(20,6,10,.1) 35%, rgba(20,6,10,.7) 100%); }
.hero-content { position: relative; width: 100%; display: grid; grid-template-columns: 1.15fr 1fr; grid-template-areas: 'title search' 'sub search'; column-gap: 6vw; align-items: end; }
.hero-title { grid-area: title; font-size: clamp(2.6rem, 6.4vw, 6.2rem); line-height: .98; letter-spacing: -0.045em; font-weight: 700; }
.hero-title em { color: #fff; font-size: 1.1em; }
.mask { display: block; overflow: hidden; padding-bottom: .06em; }
.mask-in { display: block; transform: translateY(110%); transition: transform 1.3s var(--ease); }
.mask:nth-child(2) .mask-in { transition-delay: .12s; }
.ready .mask-in { transform: none; }
.hero-sub { grid-area: sub; max-width: 480px; margin-top: 22px; font-size: clamp(1rem, 1.4vw, 1.15rem); color: rgba(255,255,255,.85); }
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease) .4s, transform 1s var(--ease) .4s; }
.ready .fade-up { opacity: 1; transform: none; }
.search { grid-area: search; align-self: end; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px; border-radius: 26px; background: rgba(255,255,255,.14); backdrop-filter: blur(22px) saturate(1.5); border: 1px solid rgba(255,255,255,.25); transition-delay: .55s; }
.field { display: block; position: relative; background: #fff; color: var(--ink); border-radius: 16px; padding: 10px 16px 8px; transition: box-shadow .3s; }
.field:first-child { grid-column: 1 / -1; }
.field:focus-within { box-shadow: 0 0 0 3px rgba(136,25,52,.35); }
.field-label { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.field select { width: 100%; border: 0; background: none; font: 600 1rem var(--sans); color: var(--ink); padding: 2px 0; appearance: none; cursor: pointer; outline: none; }
.field::after { content: ''; position: absolute; right: 18px; bottom: 16px; width: 8px; height: 8px; border: solid var(--brand); border-width: 0 2px 2px 0; transform: rotate(45deg); pointer-events: none; }
.search-btn { grid-column: 1 / -1; padding-block: 18px; }
.hero-scroll { position: absolute; left: 50%; bottom: 18px; translate: -50% 0; display: none; }

/* ---------- Developers ---------- */
.devs { padding: 56px 0 40px; text-align: center; }
.devs-label { font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.devs-track { overflow: hidden; mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.devs-row { display: flex; align-items: center; gap: clamp(48px, 7vw, 100px); width: max-content; animation: marquee 32s linear infinite; }
.devs-row img { height: 44px; width: auto; filter: grayscale(1); opacity: .55; transition: filter .4s, opacity .4s; }
.devs-row img:hover { filter: none; opacity: 1; }
.devs-track:hover .devs-row { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - clamp(24px, 3.5vw, 50px))); } }

/* ---------- Projects (pinned horizontal scroll) ---------- */
.projects { position: relative; }
.projects-sticky { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: clamp(24px, 4vh, 48px); overflow: hidden; padding: 90px 0 40px; }
.projects-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; padding: 0 var(--pad); }
.projects-head h2 { max-width: 640px; }
.projects-side { max-width: 380px; color: var(--muted); }
.projects-count { margin-top: 18px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.projects-count span:first-child { color: var(--brand); }
.projects-bar { margin-top: 10px; height: 2px; background: var(--line); }
.projects-bar i { display: block; height: 100%; background: var(--brand); transform-origin: 0 50%; transform: scaleX(0); }
.projects-viewport { position: relative; }
.projects-track { display: flex; gap: 22px; padding: 0 var(--pad); width: max-content; will-change: transform; }
.projects-empty { padding: 40px var(--pad); font-size: 1.1rem; color: var(--muted); }
.projects-empty a { color: var(--brand); text-decoration: underline; }

.project { width: clamp(290px, 28vw, 420px); background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 0 var(--line); transition: transform .6s var(--ease), box-shadow .6s var(--ease); animation: cardIn .8s var(--ease) both; animation-delay: calc(var(--i) * 60ms); }
.project:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -30px rgba(92,15,34,.45); }
@keyframes cardIn { from { opacity: 0; transform: translateY(40px) scale(.96); } }
.project-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--brand-tint); cursor: none; }
.project-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.2s var(--ease); }
.project:hover .project-media img { transform: scale(1); }
.project-type { position: absolute; top: 14px; left: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.9); backdrop-filter: blur(6px); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.project-view { display: none; }
.project-body { padding: 22px 24px 24px; }
.project-price { font-weight: 800; font-size: 1.15rem; color: var(--brand); }
.project-price small { font-size: .78rem; font-weight: 600; color: var(--muted); margin-right: 4px; }
.project h3 { font-size: 1.35rem; letter-spacing: -0.02em; margin: 4px 0 6px; line-height: 1.2; }
.project h3 a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .5s var(--ease); }
.project:hover h3 a { background-size: 100% 1.5px; }
.project-loc { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .92rem; }
.project-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.project-meta dt { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.project-meta dd { font-weight: 700; }

/* ---------- Why ---------- */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; padding: 120px var(--pad); background: #fff; border-radius: 40px 40px 0 0; }
.why-left { position: sticky; top: 120px; align-self: start; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.stat-num { font-size: clamp(2.4rem, 4.4vw, 3.8rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--brand); font-variant-numeric: tabular-nums; }
.stat-label { color: var(--muted); font-size: .9rem; margin-top: 8px; }
.why-right { display: grid; gap: 18px; }
.reason { display: flex; gap: 26px; padding: 40px 34px; border-radius: var(--radius); background: var(--paper); transition: background .5s var(--ease), color .5s var(--ease), transform .5s var(--ease); }
.reason:hover { background: var(--brand); color: #fff; transform: translateX(-8px); }
.reason:hover p, .reason:hover .reason-num { color: rgba(255,255,255,.8); }
.reason-num { font-family: var(--serif); font-style: italic; font-size: 2.6rem; line-height: 1; color: var(--brand); transition: color .5s; }
.reason h3 { font-size: 1.4rem; letter-spacing: -0.02em; margin-bottom: 8px; }
.reason p { color: var(--muted); transition: color .5s; }

/* ---------- Locations ---------- */
.locations { position: relative; padding: 120px var(--pad); background: #fff; }
.section-head { max-width: 820px; margin-bottom: 60px; }
.loc-list { list-style: none; border-top: 1px solid var(--line); }
.loc { border-bottom: 1px solid var(--line); }
.loc a { position: relative; display: grid; grid-template-columns: 70px 1fr auto 60px; align-items: center; gap: 20px; padding: 30px 0; overflow: hidden; isolation: isolate; }
.loc a::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--brand); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .6s var(--ease); }
.loc a:hover::before { transform: scaleY(1); }
.loc-num { font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--muted); transition: color .4s; }
.loc-thumb { display: none; }
.loc-name { font-size: clamp(1.6rem, 3.6vw, 3.2rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.1; transition: transform .6s var(--ease), color .4s; }
.loc-tag { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); transition: color .4s; }
.loc-arrow { justify-self: end; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); transition: background .4s, color .4s, transform .6s var(--ease), border-color .4s; }
.loc a:hover .loc-name { transform: translateX(24px); color: #fff; }
.loc a:hover .loc-num, .loc a:hover .loc-tag { color: rgba(255,255,255,.75); }
.loc a:hover .loc-arrow { background: #fff; color: var(--brand); border-color: #fff; transform: rotate(-45deg); }
.loc-preview { position: fixed; top: 0; left: 0; z-index: 70; width: 340px; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; pointer-events: none; opacity: 0; scale: .6; transition: opacity .35s var(--ease), scale .5s var(--ease); box-shadow: 0 40px 80px -30px rgba(0,0,0,.5); }
.loc-preview.on { opacity: 1; scale: 1; }
.loc-preview img { width: 100%; height: 100%; object-fit: cover; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; margin-top: 40px; font-weight: 700; color: var(--brand); }
.link-arrow svg { transition: transform .4s var(--ease); }
.link-arrow:hover svg { transform: translateX(6px); }

/* ---------- Journey (sticky stacking cards) ---------- */
.journey { padding: 120px var(--pad) 60px; }
.stack { display: grid; gap: 24px; }
.stack-card { --s: 1; position: sticky; top: calc(110px + var(--n) * 26px); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(20px, 4vw, 60px); min-height: 260px; padding: clamp(28px, 4vw, 56px); border-radius: 30px; background: #fff; box-shadow: 0 -1px 0 var(--line), 0 30px 60px -40px rgba(0,0,0,.3); transform: scale(var(--s)); transform-origin: 50% 0; }
.stack-card:nth-child(2) { background: var(--brand-tint); }
.stack-card:nth-child(3) { background: #efe9e4; }
.stack-card:nth-child(4) { background: var(--brand); color: #fff; }
.stack-card:nth-child(4) p, .stack-card:nth-child(4) .stack-of { color: rgba(255,255,255,.75); }
.stack-card:nth-child(4) .stack-num { color: #fff; }
.stack-num { font-family: var(--serif); font-style: italic; font-size: clamp(4rem, 10vw, 8.5rem); line-height: .8; color: var(--brand); }
.stack-body h3 { font-size: clamp(1.5rem, 2.8vw, 2.4rem); letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 10px; }
.stack-body p { color: var(--muted); font-size: 1.05rem; max-width: 520px; }
.stack-of { align-self: start; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { padding: 60px var(--pad) 120px; }
.contact-inner { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.1fr 1fr; gap: 6vw; align-items: center; padding: clamp(32px, 6vw, 90px); border-radius: 40px; background: var(--brand); color: #fff; }
.contact-inner::before { content: ''; position: absolute; width: 700px; height: 700px; right: -250px; top: -300px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.14), transparent 65%); animation: drift 14s ease-in-out infinite; }
@keyframes drift { 50% { transform: translate(-120px, 120px); } }
.contact .eyebrow { color: rgba(255,255,255,.75); }
.contact h2 { font-size: clamp(2.4rem, 5.4vw, 4.8rem); }
.contact h2 em { color: #fff; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.lead-form { position: relative; display: grid; gap: 14px; padding: clamp(24px, 3vw, 36px); border-radius: 28px; background: #fff; color: var(--ink); }
.lead-form h3 { font-size: 1.3rem; letter-spacing: -0.02em; margin-bottom: 4px; }
.float { position: relative; display: block; }
.float input, .float textarea, .float select { width: 100%; padding: 24px 16px 8px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); font: 600 1rem var(--sans); color: var(--ink); resize: vertical; outline: none; appearance: none; transition: border-color .3s, box-shadow .3s, background .3s; }
.float input:focus, .float textarea:focus, .float select:focus { border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(136,25,52,.12); }
.float span { position: absolute; left: 17px; top: 17px; color: var(--muted); font-weight: 500; pointer-events: none; transform-origin: 0 0; transition: transform .35s var(--ease), color .3s; }
.float input:focus + span, .float input:not(:placeholder-shown) + span,
.float textarea:focus + span, .float textarea:not(:placeholder-shown) + span, .float span.static { transform: translateY(-10px) scale(.75); color: var(--brand); font-weight: 700; }
.form-status { min-height: 1.4em; font-weight: 600; font-size: .95rem; }
.form-status.ok { color: #1c7c4a; }
.form-status.err { color: var(--brand); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 80px var(--pad) 28px; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1.3fr .8fr; gap: 40px; }
.footer-about { max-width: 360px; }
.footer h4 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col { display: grid; gap: 10px; align-content: start; }
.footer-col a, .footer-col span { display: flex; gap: 8px; align-items: flex-start; transition: color .3s; }
.footer-col svg { margin-top: .25em; }
.footer-col a:hover { color: #fff; }
.footer-word { font-weight: 800; font-size: clamp(6rem, 27vw, 26rem); letter-spacing: -0.06em; line-height: .78; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.18); margin: 60px 0 30px; text-align: center; user-select: none; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .88rem; border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; }
.footer-bottom a:hover { color: #fff; }

/* ---------- WhatsApp ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 85; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; font-size: 1.6rem; box-shadow: 0 14px 30px -10px rgba(37,211,102,.7); transition: transform .4s var(--ease); }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ring 2.4s var(--ease) infinite; }
.wa-float:hover { transform: scale(1.1) rotate(-8deg); }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(46px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-words .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--wi) * 45ms); }
.split-words.in { opacity: 1; transform: none; }
.split-words.in .w > span { transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-phone { display: none; }
  .hero-content { grid-template-columns: 1fr; grid-template-areas: 'title' 'sub' 'search'; }
  .search { margin-top: 28px; max-width: 560px; }
  .why { grid-template-columns: 1fr; }
  .why-left { position: static; }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  /* Projects become a native swipe carousel instead of a pinned scroll */
  .projects-sticky { position: static; height: auto; padding: 90px 0 40px; }
  .projects-head { flex-direction: column; align-items: flex-start; }
  .projects-viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .projects-viewport::-webkit-scrollbar { display: none; }
  .project { scroll-snap-align: center; width: min(82vw, 380px); }
  .loc a { grid-template-columns: 64px 1fr 44px; padding: 16px 0; }
  .loc-thumb { display: block; width: 64px; height: 64px; border-radius: 12px; object-fit: cover; grid-row: 1; grid-column: 1; }
  .loc-num, .loc-tag, .loc-preview { display: none; }
  .loc-arrow { width: 44px; height: 44px; }
  .stack-card { grid-template-columns: 1fr; min-height: 0; gap: 14px; top: calc(90px + var(--n) * 16px); }
  .stack-of { display: none; }
}
@media (max-width: 760px) {
  .nav { gap: 12px; }
  .nav-links, .nav > .btn { display: none; }
  .burger { display: block; margin-left: auto; }
  .nav .logo img { height: 40px; }
  .hero { min-height: 720px; padding-bottom: 28px; }
  .search { padding: 10px; border-radius: 22px; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .stat-label { font-size: .78rem; }
  .why, .locations, .journey { padding-block: 80px; }
  .why { border-radius: 28px 28px 0 0; }
  .reason { flex-direction: column; gap: 12px; padding: 28px 24px; }
  .contact-inner { border-radius: 28px; }
  .contact-actions .btn { flex: 1 1 100%; }
  .footer-top { grid-template-columns: 1fr; }
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; transition-delay: 0s !important; }
  .reveal, .fade-up { opacity: 1; transform: none; }
}
