/* ============================================================
   renovia — El mercado de activos hoteleros
   Palette: "hora azul / cobre" — deep blue-hour ink + copper accent
   Type: Fraunces (editorial display) · Inter (body/UI) · Geist Mono (systems)
   Signature: "la vía" — a routing line, dormant (cool) → recovered (warm)
   ============================================================ */

/* ---------- tokens ---------- */
:root {
  /* surfaces — blue-hour ink, not neutral near-black */
  --ink:        #0A0E14;
  --ink-1:      #0C111A;
  --ink-2:      #101722;
  --surface:    #141C27;
  --surface-2:  #1A2431;

  /* lines */
  --line:       rgba(228, 236, 246, 0.09);
  --line-2:     rgba(228, 236, 246, 0.16);

  /* text */
  --text:       #EAEEF2;
  --text-2:     #A6B1BF;
  --text-3:     #6C7889;

  /* la vía: dormant (cool) → recovered (warm) */
  --via-cool:   #6E9BC9;
  --accent:     #E79457;   /* single UI accent — copper / apricot */
  --accent-2:   #F1B182;
  --accent-dim: rgba(231, 148, 87, 0.14);
  --accent-ink: #170D06;

  /* type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono:    "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* fluid scale */
  --fs-display: clamp(2.55rem, 1.15rem + 5.4vw, 5rem);
  --fs-h2:      clamp(1.85rem, 1.15rem + 2.5vw, 2.9rem);
  --fs-h3:      clamp(1.15rem, 1rem + 0.7vw, 1.45rem);
  --fs-lead:    clamp(1.06rem, 0.98rem + 0.5vw, 1.3rem);
  --fs-body:    1.0625rem;
  --fs-sm:      0.9375rem;
  --fs-mono:    0.75rem;

  /* layout */
  --maxw:    1160px;
  --gutter:  clamp(20px, 5vw, 52px);
  --radius:  14px;
  --radius-lg: 22px;
  --pill:    999px;
  --sect-y:  clamp(72px, 9vw, 132px);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* ambient blue-hour wash */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 45% at 78% 8%, rgba(231, 148, 87, 0.07), transparent 70%),
    radial-gradient(55% 40% at 12% 20%, rgba(110, 155, 201, 0.06), transparent 70%);
  pointer-events: none;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
input { font: inherit; }
ol, ul { list-style: none; padding: 0; }

::selection { background: var(--accent); color: var(--accent-ink); }

:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  z-index: 200;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ---------- layout ---------- */
.shell {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--sect-y); }
.section-head { max-width: 48rem; margin-bottom: clamp(40px, 5vw, 64px); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 22px; height: 1px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: 12px;
  opacity: 0.7;
}

.section-title {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 0, "WONK" 0;
  font-weight: 460;
  font-size: var(--fs-h2);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--text);
}
.section-lead {
  margin-top: 22px;
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--text-2);
  max-width: 40rem;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 550;
  font-size: var(--fs-sm);
  line-height: 1;
  padding: 14px 22px;
  border-radius: var(--pill);
  border: 1px solid transparent;
  transition: transform 0.18s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
}
.btn-primary:hover { background: var(--accent-2); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-2);
}
.btn-ghost:hover { border-color: var(--text-3); background: rgba(255,255,255,0.03); }
.btn-sm { padding: 10px 16px; }
.btn-block { width: 100%; padding-block: 16px; }

/* ---------- pill (honesty status) ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.03em;
  color: var(--text-2);
  padding: 7px 14px 7px 12px;
  border: 1px solid var(--line-2);
  border-radius: var(--pill);
  background: rgba(255,255,255,0.02);
}
.pill--inline { background: transparent; }
.pill-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(231, 148, 87, 0.5);
  animation: ping 2.6s var(--ease) infinite;
  flex: none;
}
@keyframes ping {
  0%   { box-shadow: 0 0 0 0 rgba(231, 148, 87, 0.45); }
  70%  { box-shadow: 0 0 0 7px rgba(231, 148, 87, 0); }
  100% { box-shadow: 0 0 0 0 rgba(231, 148, 87, 0); }
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--ink) 78%, transparent);
  backdrop-filter: blur(14px) saturate(120%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.nav[data-scrolled="true"] {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--ink) 90%, transparent);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 66px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { flex: none; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.32rem;
  letter-spacing: -0.01em;
  color: var(--text);
}
.nav-links {
  display: flex;
  gap: 30px;
  margin-left: auto;
  margin-right: 8px;
}
.nav-links a {
  font-size: 0.92rem;
  color: var(--text-2);
  white-space: nowrap;
  transition: color 0.18s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 16px; }

.lang { display: inline-flex; align-items: center; gap: 4px; }
.lang-btn {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: var(--text-3);
  padding: 4px 4px;
  transition: color 0.18s var(--ease);
}
.lang-btn.is-active { color: var(--text); }
.lang-btn:hover { color: var(--text-2); }
.lang-sep { color: var(--text-3); font-size: 0.72rem; }

.menu-btn { display: none; width: 40px; height: 40px; border-radius: 10px; position: relative; }
.menu-line {
  position: absolute; left: 10px; right: 10px; height: 1.6px;
  background: var(--text); border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.menu-line:nth-child(1) { top: 15px; }
.menu-line:nth-child(2) { bottom: 15px; }
.menu-btn[aria-expanded="true"] .menu-line:nth-child(1) { top: 19px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-line:nth-child(2) { bottom: 19px; transform: rotate(-45deg); }

.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px var(--gutter) 24px;
  border-top: 1px solid var(--line);
  background: var(--ink-1);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: 12px 4px; color: var(--text-2); font-size: 1.05rem; }
.mobile-menu a.btn { margin-top: 10px; color: var(--accent-ink); justify-content: center; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  padding-block: clamp(56px, 8vw, 104px) clamp(64px, 9vw, 120px);
  min-height: min(88vh, 820px);
}
.hero-copy { max-width: 34rem; }
.pill { margin-bottom: 28px; }
.hero-title {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 0, "WONK" 0;
  font-weight: 440;
  font-size: var(--fs-display);
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: var(--text);
}
.hero-title em {
  display: block;
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.hero-sub {
  margin-top: 26px;
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--text-2);
  max-width: 32rem;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

/* la vía graphic */
.hero-visual {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 620px;
}
.via { width: 100%; height: auto; overflow: visible; }
.via-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  fill: var(--text-3);
}
.via-label--warm { fill: var(--accent); opacity: 0.85; }
.via-path { transition: opacity 0.3s var(--ease); }

.via-asset { fill: var(--accent-2); }
.via-asset-halo { fill: rgba(241, 177, 130, 0.18); }

/* ============================================================
   PROBLEM
   ============================================================ */
.problem { background: var(--ink-1); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.leak {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.leak-item {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 26px 8px 26px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.leak-item:nth-child(odd) { padding-right: clamp(20px, 4vw, 56px); border-right: 1px solid var(--line); padding-left: 4px; }
.leak-item:nth-child(even) { padding-left: clamp(20px, 4vw, 56px); }
.leak-idx {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--via-cool);
  flex: none;
  padding-top: 2px;
  letter-spacing: 0.04em;
}
.leak-item p { font-size: 1.05rem; color: var(--text); line-height: 1.5; }

/* ============================================================
   ATMOSPHERE BAND — full-bleed editorial image, darkened by a scrim.
   Mood, not evidence: no claim it's renovia's own warehouse.
   ============================================================ */
.band {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(340px, 52vh, 560px);
  overflow: hidden;
  isolation: isolate;
  border-block: 1px solid var(--line);
}
.band-img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 44%;
}
/* darken toward the left so the text reads; let the room breathe on the right */
.band-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10,14,20,0.95) 0%, rgba(10,14,20,0.80) 34%, rgba(10,14,20,0.42) 72%, rgba(10,14,20,0.30) 100%),
    linear-gradient(0deg, rgba(10,14,20,0.55), rgba(10,14,20,0.20) 60%);
}
.band-inner {
  position: relative;
  padding-block: clamp(56px, 9vw, 104px);
}
.band-eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.band-eyebrow::before {
  content: "";
  display: inline-block;
  width: 22px; height: 1px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: 12px;
  opacity: 0.7;
}
.band-line {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 0, "WONK" 0;
  font-weight: 430;
  font-size: clamp(1.9rem, 1.1rem + 3.4vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  max-width: 20ch;
  text-wrap: balance;
}
.band-sub {
  margin-top: 20px;
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--text-2);
  max-width: 34ch;
}
.band-tag {
  position: absolute;
  right: var(--gutter);
  bottom: 14px;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  opacity: 0.7;
}

/* ============================================================
   PROCESS — how it works today
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  counter-reset: none;
}
/* the vía line threading the 4 stops */
.steps::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 8%;
  right: 8%;
  height: 1.5px;
  background: linear-gradient(90deg, var(--via-cool), var(--accent));
  opacity: 0.55;
  z-index: 0;
}
.step {
  position: relative;
  padding: 0 clamp(12px, 2vw, 24px);
  z-index: 1;
}
.step:first-child { padding-left: 0; }
.step-num {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ink);
  border: 1px solid var(--line-2);
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 22px;
}
.step:last-child .step-num { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }
.step-title {
  font-family: var(--font-display);
  font-weight: 480;
  font-size: var(--fs-h3);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.step-body { font-size: var(--fs-sm); color: var(--text-2); line-height: 1.5; }

.terms {
  margin-top: clamp(48px, 6vw, 76px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface), var(--ink-2));
  overflow: hidden;
}
.terms-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  padding: 24px clamp(22px, 3vw, 34px);
  align-items: baseline;
}
.terms-row + .terms-row { border-top: 1px solid var(--line); }
.terms-key {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.terms-val { font-size: 1.05rem; color: var(--text); line-height: 1.5; }
.terms-val { max-width: 44rem; }

.platform-note {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
  font-size: var(--fs-sm);
  color: var(--text-3);
}

/* ============================================================
   MARKETPLACE PREVIEW — the heart of the page (conceptual, not live)
   ============================================================ */
.market-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 32px;
  flex-wrap: wrap;
  margin-bottom: clamp(28px, 4vw, 46px);
}
.market-head .section-title { max-width: 22ch; }
.market-status { color: var(--text-2); }

.market-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(16px, 2.2vw, 26px);
  background:
    radial-gradient(120% 90% at 88% -20%, rgba(231, 148, 87, 0.07), transparent 55%),
    linear-gradient(180deg, var(--surface), var(--ink-2));
  box-shadow: 0 40px 90px -60px rgba(0, 0, 0, 0.85);
}

.market-toolbar {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding-bottom: clamp(16px, 2vw, 22px);
  margin-bottom: clamp(18px, 2.4vw, 26px);
  border-bottom: 1px solid var(--line);
}
.market-search {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 520px;
  padding: 13px 18px;
  border: 1px solid var(--line-2);
  border-radius: var(--pill);
  background: var(--ink);
  cursor: default;
}
.market-search-icon { flex: none; color: var(--text-3); }
.market-search-ph { font-size: var(--fs-sm); color: var(--text-3); }

.market-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.02em;
  color: var(--text-2);
  padding: 7px 14px;
  border-radius: var(--pill);
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.02);
  white-space: nowrap;
}
.chip--on {
  color: var(--accent-ink);
  background: var(--accent);
  border-color: transparent;
  font-weight: 500;
}

.listings {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 1.5vw, 18px);
}
.listing {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-1);
  overflow: hidden;
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease);
}
.listing:hover { transform: translateY(-3px); border-color: var(--line-2); }
.listing-media {
  position: relative;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  color: var(--via-cool);
  border-bottom: 1px solid var(--line);
  background: radial-gradient(95% 90% at 50% 18%, var(--surface-2), var(--ink-2));
}
.listing-glyph { width: 42%; max-width: 68px; opacity: 0.82; }
.badge {
  position: absolute;
  top: 10px; left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.02em;
  padding: 5px 9px;
  border-radius: var(--pill);
  color: var(--text-2);
  border: 1px solid var(--line-2);
  background: color-mix(in srgb, var(--ink) 70%, transparent);
  backdrop-filter: blur(6px);
}
.badge svg { flex: none; }
.badge-dot { width: 6px; height: 6px; border-radius: 50%; flex: none; }
.badge--verified { color: var(--via-cool); }
.badge--live { color: var(--accent-2); border-color: var(--accent-dim); }
.badge--live .badge-dot { background: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
.badge--soon { color: var(--text-3); border-style: dashed; }
.badge--soon .badge-dot { background: var(--text-3); }

.listing-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 16px 18px;
}
.listing-origin {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  color: var(--via-cool);
}
.listing-item {
  font-family: var(--font-display);
  font-weight: 470;
  font-size: 1.12rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text);
}
.listing-meta { font-size: 0.85rem; color: var(--text-2); }

.market-note {
  margin-top: clamp(18px, 2.4vw, 26px);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  line-height: 1.65;
  letter-spacing: 0.01em;
  color: var(--text-3);
  max-width: 62rem;
}

/* ============================================================
   WHY NOW — the investor / partner case
   ============================================================ */
.whynow { background: var(--ink-1); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.reasons { border-top: 1px solid var(--line); }
.reason {
  display: flex;
  align-items: baseline;
  gap: clamp(18px, 3vw, 36px);
  padding: clamp(20px, 2.6vw, 30px) 0;
  border-bottom: 1px solid var(--line);
}
.reason-idx {
  flex: none;
  padding-top: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--via-cool);
}
.reason-text {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.2rem, 1rem + 1vw, 1.7rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--text-2);
  max-width: 52rem;
}
.reason--key .reason-idx { color: var(--accent); }
.reason--key .reason-text { color: var(--text); font-style: italic; }

/* ============================================================
   AUDIENCES
   ============================================================ */
.audiences { border-top: 1px solid var(--line); }
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease);
}
.card:hover { transform: translateY(-3px); border-color: var(--line-2); }
.card-tag {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--via-cool);
  margin-bottom: 20px;
}
.card-title {
  font-family: var(--font-display);
  font-weight: 470;
  font-size: 1.5rem;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}
.card-body {
  font-size: var(--fs-sm);
  color: var(--text-2);
  line-height: 1.55;
  margin-bottom: 28px;
  flex: 1;
}
.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  font-weight: 550;
  font-size: var(--fs-sm);
  color: var(--text);
  padding: 11px 16px;
  border-radius: var(--pill);
  border: 1px solid var(--line-2);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), gap 0.2s var(--ease);
}
.card-cta:hover { border-color: var(--text-3); background: rgba(255,255,255,0.03); gap: 11px; }
.card-cta svg { flex: none; transition: transform 0.2s var(--ease); }
.card-cta:hover svg { transform: translate(1px, -1px); }
.card-cta--wa {
  background: #25D366;
  color: #04240f;
  border-color: transparent;
  font-weight: 600;
}
.card-cta--wa:hover { background: #2ce671; }
.wa-mark { flex: none; }

/* ============================================================
   FOUNDER
   ============================================================ */
.founder-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.portrait { display: flex; flex-direction: column; gap: 20px; }
.portrait-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(120% 100% at 50% 0%, var(--surface), var(--ink));
  border: 1px solid var(--line);
}
.portrait-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 22%;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.portrait-frame.is-loaded .portrait-img { opacity: 1; }
.portrait-frame.is-loaded .portrait-fallback { opacity: 0; }
/* soft composite gradient so a dark-bg portrait melts into the section */
.portrait-frame::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10,14,20,0.55));
  pointer-events: none;
  z-index: 2;
}
.portrait-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  transition: opacity 0.4s var(--ease);
}
.portrait-mono {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 420;
  color: var(--text-3);
  letter-spacing: 0.02em;
}
.portrait-note {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--text-3);
  opacity: 0.7;
}
.portrait-cap { display: flex; flex-direction: column; gap: 4px; }
.portrait-name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; }
.portrait-role { font-family: var(--font-mono); font-size: var(--fs-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.portrait-li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  font-size: var(--fs-sm);
  color: var(--text-2);
  transition: color 0.18s var(--ease);
  align-self: flex-start;
}
.portrait-li:hover { color: var(--text); }
.portrait-li svg { flex: none; }

.founder-copy { max-width: 40rem; }
.founder-copy .section-title { margin-top: 6px; }
.founder-p {
  margin-top: 22px;
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--text-2);
}
/* the load-bearing paragraph */
.founder-p--lead {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 0, "WONK" 0;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.3rem, 1.05rem + 1.1vw, 1.75rem);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--text);
}

/* ============================================================
   VISION — the ladder (a descent, with a deliberate gap)
   ============================================================ */
.vision { background: var(--ink-1); border-top: 1px solid var(--line); }
.ladder { position: relative; max-width: 46rem; }
/* the vía threading every stage, dormant (top) → recovered (bottom) */
.ladder::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 18px; bottom: 24px;
  width: 1.5px;
  background: linear-gradient(180deg, var(--via-cool) 0%, var(--via-cool) 14%, var(--accent) 100%);
  opacity: 0.5;
}
.rung {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 15px;
  padding: clamp(13px, 1.7vw, 19px) 0 clamp(13px, 1.7vw, 19px) 34px;
}
.rung::before {
  content: "";
  position: absolute;
  left: 0.5px; top: calc(50% - 5.5px);
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--ink-1);
  border: 1.5px solid var(--via-cool);
  box-shadow: 0 0 0 4px var(--ink-1);
}
.rung-tag {
  flex: none;
  min-width: 46px;
  padding-top: 3px;
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--via-cool);
}
.rung-label {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 0, "WONK" 0;
  font-weight: 440;
  font-size: clamp(1.15rem, 0.98rem + 0.8vw, 1.55rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text-2);
}
.rung--now::before { background: var(--via-cool); }
.rung--now .rung-label { color: var(--text); }
.rung--end::before {
  left: -0.5px; top: calc(50% - 6.5px);
  width: 13px; height: 13px;
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 0 5px var(--ink-1), 0 0 24px rgba(231, 148, 87, 0.5);
}
.rung--end .rung-label {
  font-style: italic;
  font-weight: 420;
  font-size: clamp(1.4rem, 1.05rem + 1.5vw, 2.15rem);
  letter-spacing: -0.015em;
  color: var(--text);
}
/* the last rung is not another step — it's the destination */
.rung--final {
  margin-top: clamp(28px, 4vw, 52px);
  padding-top: clamp(30px, 4vw, 48px);
  padding-bottom: 0;
  align-items: center;
  border-top: 1px solid var(--line);
}
.rung--final::before { top: calc(50% - 6.5px); }
.rung--final .rung-label {
  font-size: clamp(1.85rem, 1.1rem + 3.4vw, 3.5rem);
  line-height: 1.08;
  font-weight: 400;
  letter-spacing: -0.025em;
  background: linear-gradient(96deg, var(--text) 18%, var(--accent-2) 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@supports not (background-clip: text) {
  .rung--final .rung-label { color: var(--text); }
}
/* the vía stops threading here: this is where it arrives */
.ladder:has(.rung--final)::before { bottom: auto; height: calc(100% - 190px); }

/* the deliberate distance between "hoy" and everything after */
.rung-gap {
  position: relative;
  display: flex;
  align-items: center;
  padding: clamp(22px, 4vw, 44px) 0 clamp(22px, 4vw, 44px) 34px;
}
.rung-gap-note {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.contact-copy { max-width: 30rem; }
.contact-title {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 0, "WONK" 0;
  font-weight: 450;
  font-size: var(--fs-h2);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.contact-sub {
  margin-top: 20px;
  font-size: var(--fs-lead);
  color: var(--text-2);
  line-height: 1.5;
}
.contact-alt {
  margin-top: 24px;
  font-size: var(--fs-sm);
  color: var(--text-3);
}
.contact-alt a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent-dim); }
.contact-alt a:hover { text-decoration-color: var(--accent); }

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface), var(--ink-2));
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field:nth-child(1), .field:nth-child(2) { grid-column: span 1; }
.field label {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}
.field input {
  background: var(--ink);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-size: var(--fs-sm);
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease);
}
.field input:focus { outline: none; border-color: var(--accent); background: var(--ink-1); }
.field input::placeholder { color: var(--text-3); }
.contact-form .btn-block { grid-column: 1 / -1; margin-top: 6px; }
.form-hint {
  grid-column: 1 / -1;
  font-size: 0.82rem;
  color: var(--text-3);
  text-align: center;
  line-height: 1.4;
}
.form-hint[data-state="sent"] { color: var(--accent); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--line); padding-block: 48px; background: var(--ink); }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-brand { display: flex; flex-direction: column; gap: 4px; }
.footer-loc { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.03em; color: var(--text-3); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: var(--fs-sm); color: var(--text-2); transition: color 0.18s var(--ease); }
.footer-links a:hover { color: var(--text); }
.footer-legal { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.03em; color: var(--text-3); }

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

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* nav collapses to hamburger earlier — 5 links + toggle + CTA need room */
@media (max-width: 1040px) {
  .nav-links { display: none; }
  .nav-actions > .btn-primary { display: none; }
  .menu-btn { display: block; }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    min-height: 0;
    padding-block: 40px 64px;
  }
  .hero-visual { max-width: 460px; justify-self: center; order: 2; }
  .hero-copy { order: 1; }
  .listings { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
  .steps::before { display: none; }
  .founder-grid { grid-template-columns: 1fr; gap: 36px; }
  .portrait { max-width: 340px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .cards { grid-template-columns: 1fr; }
  .listings { grid-template-columns: 1fr; }
  .market-head { align-items: flex-start; }
  .leak { grid-template-columns: 1fr; }
  .leak-item:nth-child(odd) { padding-right: 4px; border-right: none; }
  .leak-item:nth-child(even) { padding-left: 4px; }
  .terms-row { grid-template-columns: 1fr; gap: 8px; }
  .contact-form { grid-template-columns: 1fr; }
  .field:nth-child(1), .field:nth-child(2) { grid-column: 1 / -1; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 400px) {
  .steps { grid-template-columns: 1fr; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .pill-dot { animation: none; }
}
