/* ============================================================================
   CYSTEMS BLUEPRINTS — "The Drafting Table"  (Concept 3)
   Warm paper/piedra ground · hierro ink linework · gold annotations ·
   a cool blueprint-steel accent used sparingly.
   Source of truth: _shared/DESIGN-SYSTEM.md + STRATEGY.md
   ========================================================================== */

/* ----------------------------------------------------------------------------
   0. TOKENS
---------------------------------------------------------------------------- */
:root {
  /* Brand palette (CYSTEMS v2) */
  --hierro:   #1A1714;   /* near-black ink */
  --finca:    #3D4736;   /* deep olive-green */
  --oro:      #9F7A40;   /* gold/brass accent */
  --oro-lit:  #C9A25E;   /* brighter gold */
  --arcilla:  #8C4A3B;   /* clay-terracotta */
  --piedra:   #CBB99A;   /* warm stone/beige */
  --hueso:    #F4ECDF;   /* bone/cream ground */
  --linea:    #EBE1D6;   /* hairline on cream */
  --blanco:   #FFFFFF;

  /* Concept-3 cool technical accent — "blueprint-blue" reinterpreted,
     desaturated to sit in a warm world. Used sparingly: ticks, active
     nodes, draw-in highlight, technical annotations. */
  --azul:     #3E5A6E;
  --azul-lit: #6E8BA0;
  --azul-wash:rgba(62, 90, 110, 0.08);

  /* Semantic */
  --ink:        var(--hierro);
  --ground:     var(--hueso);
  --ground-2:   #EFE6D6;         /* alternating sheet band */
  --paper-edge: #E4D8C4;
  --muted:      #6B6357;         /* warm grey ink for secondary text */
  --hair:       rgba(26, 23, 20, 0.14);
  --hair-soft:  rgba(26, 23, 20, 0.08);
  --grid-minor: rgba(26, 23, 20, 0.045);
  --grid-major: rgba(26, 23, 20, 0.085);

  /* Type */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, sans-serif;
  --mono:  "Space Mono", "JetBrains Mono", ui-monospace, monospace;

  /* Scale (fluid) */
  --step--1: clamp(0.78rem, 0.75rem + 0.15vw, 0.86rem);
  --step-0:  clamp(0.95rem, 0.9rem + 0.25vw, 1.05rem);
  --step-1:  clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem);
  --step-2:  clamp(1.5rem, 1.3rem + 1vw, 2.1rem);
  --step-3:  clamp(2rem, 1.6rem + 2vw, 3.2rem);
  --step-4:  clamp(2.8rem, 2rem + 4vw, 5.2rem);
  --step-5:  clamp(3.4rem, 2.2rem + 6vw, 7rem);

  /* Rhythm */
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --maxw: 1280px;
  --sheet-pad: clamp(1.25rem, 3vw, 3rem);

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur: 0.7s;
}

/* ----------------------------------------------------------------------------
   1. RESET / BASE
---------------------------------------------------------------------------- */
*, *::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(--sans);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--ground);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}

/* Blueprint grid paper — layered warm hairlines (minor 26px, major 130px) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-color: var(--ground);
  background-image:
    linear-gradient(var(--grid-minor) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-minor) 1px, transparent 1px),
    linear-gradient(var(--grid-major) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-major) 1px, transparent 1px);
  background-size: 26px 26px, 26px 26px, 130px 130px, 130px 130px;
}

/* Film grain + soft warm vignette overlay */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: multiply;
  background:
    radial-gradient(120% 90% at 50% 10%, transparent 55%, rgba(26,23,20,0.06) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.28'/%3E%3C/svg%3E");
}

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

::selection { background: var(--oro); color: var(--hueso); }

/* ----------------------------------------------------------------------------
   2. TYPOGRAPHY
---------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.01em;
  font-optical-sizing: auto;
}
.display {
  font-size: var(--step-5);
  font-weight: 340;
  line-height: 0.98;
  letter-spacing: -0.025em;
}
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }

.serif-italic { font-style: italic; font-variation-settings: "SOFT" 40; color: var(--oro); }

.label,
.mono {
  font-family: var(--mono);
  font-size: var(--step--1);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.label { color: var(--muted); }
.label--azul { color: var(--azul); }
.label--oro { color: var(--oro); }

.lead {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--muted);
  max-width: 46ch;
}
p { max-width: 62ch; }
.muted { color: var(--muted); }

/* Coordinate ruler (mono ticks used as section eyebrows) */
.coord {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: var(--azul);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.coord::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--azul);
  display: inline-block;
}

/* ----------------------------------------------------------------------------
   3. LAYOUT PRIMITIVES
---------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
section {
  position: relative;
  padding-block: clamp(4.5rem, 9vw, 9rem);
}
.band { background: var(--ground-2); }
.band-line { border-top: 1px solid var(--hair); }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.section-head__num { font-family: var(--mono); font-size: var(--step--1); color: var(--oro); letter-spacing: 0.12em; }

.grid { display: grid; gap: clamp(1.25rem, 3vw, 2.5rem); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
}

/* ----------------------------------------------------------------------------
   4. DRAFTING-SHEET FRAME & CALLOUTS
---------------------------------------------------------------------------- */
.sheet {
  position: relative;
  border: 1px solid var(--hair);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.35), transparent 60%);
  padding: var(--sheet-pad);
}
/* corner registration marks */
.sheet::before, .sheet::after {
  content: "";
  position: absolute;
  width: 14px; height: 14px;
  border: 1px solid var(--oro);
  opacity: 0.6;
}
.sheet::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.sheet::after  { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

.titleblock {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--hair);
  padding-top: 0.9rem;
  margin-top: 1.5rem;
}
.titleblock b { color: var(--ink); font-weight: 400; }

/* Callout — leader dot + line + mono label (used as annotations) */
.callout {
  position: absolute;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--azul);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  pointer-events: none;
}
.callout::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  border: 1.5px solid var(--oro);
  background: var(--hueso);
  flex: none;
}

/* ----------------------------------------------------------------------------
   5. NAV
---------------------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem var(--gutter);
  background: color-mix(in srgb, var(--hueso) 82%, transparent);
  backdrop-filter: blur(10px) saturate(1.1);
  border-bottom: 1px solid transparent;
  transition: transform 0.5s var(--ease), border-color 0.4s, background 0.4s;
}
.nav.is-scrolled { border-bottom-color: var(--hair); }
.nav.is-hidden { transform: translateY(-102%); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}
.brand .mark { width: 26px; height: 26px; }
.brand small {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  color: var(--oro);
  text-transform: uppercase;
  align-self: flex-end;
  padding-bottom: 0.15rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.9rem);
}
.nav-links a {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
  padding-block: 0.3rem;
  transition: color 0.3s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--oro);
  transition: width 0.4s var(--ease);
}
.nav-links a:hover, .nav-links a.is-active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.is-active::after { width: 100%; }

.nav-cta { display: inline-flex; align-items: center; gap: 1.25rem; }
@media (max-width: 1040px) {
  .nav-links { display: none; }
}

/* Mobile menu button */
.menu-btn { display: none; }
@media (max-width: 1040px) {
  .menu-btn {
    display: inline-flex; flex-direction: column; gap: 4px;
    width: 30px; padding: 6px 0;
  }
  .menu-btn span { height: 1.5px; background: var(--ink); transition: transform 0.4s var(--ease), opacity 0.3s; }
  .menu-btn.is-open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
  .menu-btn.is-open span:nth-child(2) { opacity: 0; }
  .menu-btn.is-open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
}
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--hueso);
  padding: 6rem var(--gutter) 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transform: translateY(-100%);
  transition: transform 0.6s var(--ease);
  overflow-y: auto;
}
.mobile-menu.is-open { transform: translateY(0); }
.mobile-menu a {
  font-family: var(--serif);
  font-size: 1.8rem;
  padding-block: 0.55rem;
  border-bottom: 1px solid var(--hair-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-menu a span { font-family: var(--mono); font-size: 0.7rem; color: var(--oro); }

/* ----------------------------------------------------------------------------
   6. BUTTONS
---------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 0.85rem 1.4rem;
  border: 1px solid var(--ink);
  position: relative;
  transition: color 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s;
  white-space: nowrap;
  will-change: transform;
}
.btn svg { width: 14px; height: 14px; transition: transform 0.4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--primary {
  background: var(--ink);
  color: var(--hueso);
  border-color: var(--ink);
}
.btn--primary:hover { background: var(--oro); border-color: var(--oro); color: var(--hierro); }

.btn--gold {
  background: var(--oro);
  color: var(--hierro);
  border-color: var(--oro);
}
.btn--gold:hover { background: var(--oro-lit); border-color: var(--oro-lit); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--hueso); }

.btn--sm { padding: 0.6rem 1rem; font-size: 0.66rem; }

.link-arrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--oro);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.4s, gap 0.4s var(--ease);
}
.link-arrow:hover { border-color: var(--oro); gap: 0.85rem; }

/* ----------------------------------------------------------------------------
   7. HERO
---------------------------------------------------------------------------- */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  position: relative;
  overflow: hidden;
}
.hero__inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; width: 100%; }
@media (max-width: 980px) { .hero__inner { grid-template-columns: 1fr; } }

.hero__eyebrow { margin-bottom: 1.6rem; }
.hero h1 { margin-bottom: 1.8rem; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: block; }
.hero__lead { margin-bottom: 2.4rem; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

.hero__figure {
  position: relative;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--hair);
  background: linear-gradient(160deg, rgba(255,255,255,0.4), transparent 55%);
}
.hero__figure .titleblock { position: absolute; left: var(--sheet-pad); right: var(--sheet-pad); bottom: 0.9rem; margin: 0; }
.hero__figure svg { width: 100%; height: 100%; }

/* stat strip below hero */
.stat-strip {
  display: flex;
  gap: clamp(1.5rem, 5vw, 4.5rem);
  flex-wrap: wrap;
  border-top: 1px solid var(--hair);
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.8rem;
}
.stat { display: flex; flex-direction: column; gap: 0.3rem; }
.stat__n { font-family: var(--serif); font-size: var(--step-2); line-height: 1; }
.stat__l { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* ----------------------------------------------------------------------------
   8. SVG DRAW DEFAULTS
---------------------------------------------------------------------------- */
.bp-svg [data-draw] {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.bp-svg [data-draw].accent { stroke: var(--oro); }
.bp-svg [data-draw].azul { stroke: var(--azul); }
.bp-svg [data-draw].thin { stroke-width: 1; opacity: 0.5; }
.bp-svg text { font-family: var(--mono); fill: var(--muted); font-size: 9px; letter-spacing: 0.06em; text-transform: uppercase; }
.bp-svg .node-fill { fill: var(--hueso); }
.bp-svg .dot { fill: var(--oro); stroke: none; }
.bp-svg .dot-azul { fill: var(--azul); stroke: none; }

/* ----------------------------------------------------------------------------
   9. THREE-TIER (What CYSTEMS Does)
---------------------------------------------------------------------------- */
.tiers { counter-reset: tier; }
.tier {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border: 1px solid var(--hair);
  background: linear-gradient(160deg, rgba(255,255,255,0.3), transparent 60%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.5s;
}
.tier:hover { transform: translateY(-4px); border-color: var(--oro); box-shadow: 0 20px 40px -30px rgba(26,23,20,0.5); }
.tier__k { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--oro); }
.tier__glyph { width: 46px; height: 46px; margin-bottom: 0.5rem; }
.tier h3 { font-size: var(--step-1); }
.tier.is-hero { border-color: var(--oro); background: linear-gradient(160deg, var(--azul-wash), transparent 70%); }
.tier .badge {
  align-self: flex-start;
  font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--azul); border: 1px solid var(--azul); padding: 0.2rem 0.5rem; border-radius: 2px;
}

/* Tier flow arrow */
.tier-flow { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin: 2rem 0 0; font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); flex-wrap: wrap; }
.tier-flow span { color: var(--oro); }

/* ----------------------------------------------------------------------------
   10. BLUEPRINT CATALOG (the hero)
---------------------------------------------------------------------------- */
.catalog-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: clamp(1.75rem, 3vw, 2.75rem);
}
.chip {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--hair);
  color: var(--muted);
  border-radius: 100px;
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}
.chip:hover { color: var(--ink); border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: var(--hueso); border-color: var(--ink); }

.catalog { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }
@media (max-width: 900px) { .catalog { grid-template-columns: 1fr; } }
@media (min-width: 901px) and (max-width: 1180px) { .catalog { grid-template-columns: repeat(2, 1fr); } }

.bp-card {
  position: relative;
  border: 1px solid var(--hair);
  background: var(--ground);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.5s;
  will-change: transform;
}
.bp-card:hover { transform: translateY(-5px); border-color: var(--oro); box-shadow: 0 24px 48px -34px rgba(26,23,20,0.55); }
.bp-card.is-hidden { display: none; }

.bp-card__figure {
  position: relative;
  aspect-ratio: 16 / 10;
  border-bottom: 1px solid var(--hair);
  background:
    linear-gradient(160deg, rgba(255,255,255,0.4), transparent 60%),
    repeating-linear-gradient(0deg, var(--grid-minor) 0 1px, transparent 1px 22px),
    repeating-linear-gradient(90deg, var(--grid-minor) 0 1px, transparent 1px 22px);
  overflow: hidden;
}
.bp-card__figure svg { width: 100%; height: 100%; padding: 12%; }
.bp-card__sheet-no {
  position: absolute; top: 8px; right: 10px;
  font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.1em; color: var(--oro);
}
.bp-card__status {
  position: absolute; top: 8px; left: 10px;
  font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.2rem 0.45rem; border-radius: 2px; border: 1px solid;
}
.status--available { color: var(--finca); border-color: var(--finca); background: color-mix(in srgb, var(--finca) 8%, transparent); }
.status--presale   { color: var(--oro); border-color: var(--oro); background: color-mix(in srgb, var(--oro) 10%, transparent); }
.status--draft     { color: var(--azul); border-color: var(--azul); background: var(--azul-wash); }

.bp-card__body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: 0.7rem; flex: 1; }
.bp-card__cat { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.bp-card h3 { font-size: 1.32rem; line-height: 1.1; }
.bp-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.5; }
.bp-card__meta { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-top: 0.2rem; }
.bp-card__tag { font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.06em; color: var(--muted); border: 1px solid var(--hair); padding: 0.15rem 0.4rem; border-radius: 2px; }
.bp-card__foot { margin-top: auto; padding-top: 0.9rem; border-top: 1px solid var(--hair-soft); }

/* hover callout inside card figure */
.bp-card__callout {
  position: absolute;
  left: 12px; bottom: 12px;
  font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--azul);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.bp-card:hover .bp-card__callout { opacity: 1; transform: translateY(0); }

/* ----------------------------------------------------------------------------
   11. INTERACTIVE SYSTEM MAP
---------------------------------------------------------------------------- */
.map-wrap { position: relative; border: 1px solid var(--hair); background: linear-gradient(160deg, rgba(255,255,255,0.35), transparent 55%); }
.systemmap { width: 100%; height: auto; display: block; }
.systemmap .map-node { cursor: pointer; }
.systemmap .map-node rect, .systemmap .map-node circle { transition: fill 0.35s, stroke 0.35s; }
.systemmap .map-node:hover rect { fill: var(--azul-wash); stroke: var(--oro); }
.map-legend { position: absolute; top: 1rem; left: 1rem; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; }
.map-readout {
  position: absolute; right: 1rem; bottom: 1rem; left: 1rem;
  border-top: 1px solid var(--hair);
  padding-top: 0.8rem;
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.04em; color: var(--muted);
  min-height: 2.5rem;
}
.map-readout b { color: var(--ink); }
@media (max-width: 640px){ .map-readout { position: static; margin-top: 1rem; } }

/* ----------------------------------------------------------------------------
   12. CONNECTED OFFERS (OS + Custom Builds)
---------------------------------------------------------------------------- */
.offer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(1.75rem, 4vw, 3rem);
  border: 1px solid var(--hair);
  background: linear-gradient(160deg, rgba(255,255,255,0.3), transparent 60%);
}
.offer + .offer { margin-top: clamp(1.25rem, 3vw, 2rem); }
.offer.reverse .offer__media { order: 2; }
@media (max-width: 820px){ .offer { grid-template-columns: 1fr; } .offer.reverse .offer__media { order: 0; } }
.offer__media { aspect-ratio: 4/3; border: 1px solid var(--hair); position: relative; overflow: hidden; background: var(--ground-2); }
.offer__media svg { width: 100%; height: 100%; padding: 8%; }
.offer h3 { margin-bottom: 1rem; }

/* ----------------------------------------------------------------------------
   13. USE CASES
---------------------------------------------------------------------------- */
.usecase {
  border-top: 1px solid var(--hair);
  padding: clamp(1.5rem,3vw,2.2rem) 0;
  display: grid;
  grid-template-columns: auto 1.4fr 1fr auto;
  gap: clamp(1rem,3vw,2.5rem);
  align-items: baseline;
}
.usecase:last-child { border-bottom: 1px solid var(--hair); }
.usecase__no { font-family: var(--mono); font-size: 0.7rem; color: var(--oro); letter-spacing: 0.1em; }
.usecase h3 { font-size: var(--step-1); }
.usecase p { font-size: 0.92rem; color: var(--muted); }
.usecase__bp { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--azul); align-self: center; }
@media (max-width: 820px){ .usecase { grid-template-columns: auto 1fr; } .usecase__bp, .usecase p { grid-column: 2; } }

/* ----------------------------------------------------------------------------
   14. PROCESS
---------------------------------------------------------------------------- */
.process { position: relative; }
.pstep {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: clamp(1rem,3vw,2.5rem);
  padding: clamp(1.4rem,3vw,2.2rem) 0;
  border-top: 1px solid var(--hair);
  align-items: start;
}
.pstep:last-child { border-bottom: 1px solid var(--hair); }
.pstep__no { font-family: var(--serif); font-size: var(--step-2); color: var(--oro); line-height: 1; }
.pstep h3 { font-size: var(--step-1); margin-bottom: 0.6rem; }
.pstep p { color: var(--muted); font-size: 0.95rem; }

/* ----------------------------------------------------------------------------
   15. ABOUT
---------------------------------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(1.5rem,4vw,4rem); align-items: center; }
@media (max-width:820px){ .about-grid { grid-template-columns: 1fr; } }
.about-quote { font-family: var(--serif); font-size: var(--step-2); line-height: 1.2; }
.about-quote em { color: var(--oro); font-style: italic; }
.principles { display: grid; gap: 1.1rem; margin-top: 1.5rem; }
.principle { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding-top: 1.1rem; border-top: 1px solid var(--hair); }
.principle svg { width: 34px; height: 34px; }
.principle h4 { font-family: var(--sans); font-size: 0.95rem; font-weight: 600; letter-spacing: 0; margin-bottom: 0.25rem; }
.principle p { font-size: 0.88rem; color: var(--muted); }

/* ----------------------------------------------------------------------------
   16. PRESALE / TERMINAL CTA
---------------------------------------------------------------------------- */
.presale { position: relative; }
.presale__sheet {
  border: 1px solid var(--oro);
  background: linear-gradient(160deg, var(--azul-wash), transparent 70%);
  padding: clamp(2rem, 5vw, 4.5rem);
  position: relative;
}
.presale__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
@media (max-width:820px){ .presale__grid { grid-template-columns: 1fr; } }
.presale h2 { font-size: var(--step-4); margin-bottom: 1.2rem; }

.form { display: grid; gap: 0.9rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 0.95rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--hair);
  background: color-mix(in srgb, var(--hueso) 60%, var(--blanco));
  color: var(--ink);
  border-radius: 2px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--oro); box-shadow: 0 0 0 3px color-mix(in srgb, var(--oro) 18%, transparent); }
.form__note { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.06em; color: var(--muted); }
.form__ok { display: none; padding: 1rem; border: 1px solid var(--finca); color: var(--finca); font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.05em; }
.form.is-sent .form__ok { display: block; }
.form.is-sent .form__fields { display: none; }

/* ----------------------------------------------------------------------------
   17. CONTACT + FOOTER
---------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem,4vw,3rem); }
@media (max-width:720px){ .contact-grid { grid-template-columns: 1fr; } }
.contact-card { border: 1px solid var(--hair); padding: clamp(1.5rem,3vw,2.2rem); }
.contact-card h3 { font-size: var(--step-1); margin-bottom: 0.6rem; }

.footer { border-top: 1px solid var(--hair); padding-block: clamp(3rem,6vw,5rem) 2rem; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; margin-bottom: 3rem; }
@media (max-width:720px){ .footer__top { grid-template-columns: 1fr; } }
.footer h4 { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; font-weight: 400; }
.footer nav a { display: block; padding: 0.3rem 0; color: var(--muted); font-size: 0.92rem; transition: color 0.3s; }
.footer nav a:hover { color: var(--ink); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; border-top: 1px solid var(--hair); padding-top: 1.5rem; font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; }

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

.clip-reveal { clip-path: inset(0 100% 0 0); }
.clip-reveal.is-in { clip-path: inset(0 0 0 0); transition: clip-path 1s var(--ease); }

/* progress rail (drafting margin on the left) */
.progress-rail { position: fixed; left: 0; top: 0; bottom: 0; width: 3px; z-index: 90; pointer-events: none; }
.progress-rail i { position: absolute; top: 0; left: 0; width: 100%; height: 0; background: linear-gradient(var(--oro), var(--oro-lit)); }

/* ----------------------------------------------------------------------------
   19. REDUCED MOTION
---------------------------------------------------------------------------- */
@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; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .clip-reveal { clip-path: none !important; }
  .bp-svg [data-draw] { stroke-dashoffset: 0 !important; }
  body::after { display: none; }
}

/* ----------------------------------------------------------------------------
   20. GUIDE PAGE
---------------------------------------------------------------------------- */
.guide-body { max-width: 62rem; }
.guide-hero { padding-top: 9rem; padding-bottom: 3rem; }
.guide-toc { position: sticky; top: 5rem; align-self: start; }
.guide-toc a { display: block; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding: 0.35rem 0; border-left: 1px solid var(--hair); padding-left: 0.9rem; transition: color 0.3s, border-color 0.3s; }
.guide-toc a:hover, .guide-toc a.is-active { color: var(--ink); border-color: var(--oro); }
.guide-layout { display: grid; grid-template-columns: 220px 1fr; gap: clamp(2rem,5vw,4rem); }
@media (max-width: 900px){ .guide-layout { grid-template-columns: 1fr; } .guide-toc { display: none; } }
.guide-section { padding-block: clamp(2.5rem,5vw,4rem); border-top: 1px solid var(--hair); }
.guide-section h2 { font-size: var(--step-3); margin-bottom: 1.2rem; }
.guide-section h3 { font-size: var(--step-1); margin: 1.8rem 0 0.7rem; }
.guide-section p, .guide-section li { color: var(--muted); margin-bottom: 0.9rem; max-width: 68ch; }
.guide-section ul, .guide-section ol { padding-left: 1.2rem; }
.guide-section li { list-style: disc; margin-bottom: 0.5rem; }
.guide-section ol li { list-style: decimal; }
.guide-section code { font-family: var(--mono); font-size: 0.82em; background: var(--ground-2); padding: 0.12em 0.4em; border-radius: 2px; color: var(--arcilla); border: 1px solid var(--hair); }
.guide-section pre { background: var(--ground-2); border: 1px solid var(--hair); padding: 1.1rem 1.2rem; overflow-x: auto; font-family: var(--mono); font-size: 0.78rem; line-height: 1.6; border-radius: 3px; margin-bottom: 1.2rem; }
.guide-section pre code { background: none; border: none; padding: 0; color: var(--ink); }
.pass-card { border: 1px solid var(--hair); padding: 1.4rem 1.5rem; margin-bottom: 1.1rem; background: linear-gradient(160deg, rgba(255,255,255,0.3), transparent 60%); }
.pass-card h3 { margin-top: 0; }
.pass-card .label { display: block; margin-bottom: 0.5rem; }
.delta { display: grid; grid-template-columns: auto 1fr; gap: 0.6rem 1rem; font-size: 0.9rem; }
.delta dt { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--oro); padding-top: 0.2rem; }
.delta dd { color: var(--muted); margin: 0; }

/* utility */
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; }
.center { text-align: center; }
.divider-note { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); text-align: center; padding: 2rem 0; }
