:root {
  --bg: #f3f2ed;
  --bg-2: #eae9e3;
  --ink: #282828;
  --ink-2: #414140;
  --muted: #72726f;
  --line: #b3b3af;
  --brand: #fa3600;
  --font: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  --inset: 8px;
  --nav-h: 56px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 15px/1.35 var(--font); overflow-x: hidden;
  padding: var(--inset);
}
body.is-loading { overflow: hidden; height: 100vh; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
p { margin: 0; }
.mono { font-family: var(--mono); font-size: 12px; line-height: 1.3; letter-spacing: .02em; text-transform: uppercase; }
.label { display: block; color: var(--brand); }

/* paper grain */
.grain {
  position: fixed; inset: 0; z-index: 200; pointer-events: none; opacity: .35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .45 0 0 0 .18 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.frame { position: fixed; inset: var(--inset); border: 1px solid var(--line); pointer-events: none; z-index: 60; }

/* split helpers */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-block: .06em; margin-block: -.06em; }
.w > span { display: inline-block; }

/* arrows / squares */
.arrow { font-style: normal; color: var(--brand); position: absolute; right: 10px; bottom: 6px; font-size: 15px; transition: transform .3s; }
.sq { display: inline-block; width: 8px; height: 8px; background: var(--brand); margin-right: 10px; vertical-align: 1px; }
.corner { position: absolute; right: 6px; bottom: 6px; width: 6px; height: 6px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }

/* ---------- building drawing ---------- */
.building { width: 100%; height: 100%; display: block; color: var(--ink); }
.building .lines { fill: none; stroke: var(--ink); stroke-width: 1.2; }
.building .lines .t { stroke-width: .7; }
.building .trees { fill: none; stroke: var(--ink); stroke-linecap: round; }
.building .trees .d4 { stroke-width: 2.2; } .building .trees .d3 { stroke-width: 1.3; }
.building .trees .d2 { stroke-width: .8; } .building .trees .d1 { stroke-width: .5; opacity: .7; }
.building .marker { fill: var(--brand); cursor: pointer; transition: transform .3s; transform-box: fill-box; transform-origin: center; }
.building .marker:hover, .building .marker.is-found { transform: scale(1.6); }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: var(--inset); z-index: 100; background: var(--bg); border: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr auto; grid-template-rows: 1fr auto; overflow: hidden;
}
.loader-drawing { grid-column: 1 / -1; display: grid; place-items: center; padding: 6vh 12vw 0; }
.loader-drawing .fills, .loader-drawing .trees { opacity: 0; }
.loader-scan { position: absolute; left: 0; right: 0; top: 100%; height: 1px; background: var(--brand); }
.loader-scan span { position: absolute; left: 14px; bottom: 6px; color: var(--brand); font-size: 10px; }
.loader-title { align-self: end; padding: 20px; font-size: clamp(22px, 2.4vw, 34px); font-weight: 600; line-height: 1; letter-spacing: -.03em; text-transform: uppercase; }
.loader-info { align-self: end; display: grid; grid-template-columns: 300px 220px; gap: 0 40px; padding: 20px; font-size: 9px; color: var(--ink-2); }
.loader-welcome { grid-column: 1; border-bottom: 1px solid var(--line); padding-bottom: 6px; margin-bottom: 10px; }
.loader-info dl { grid-column: 1; display: grid; grid-template-columns: 70px 1fr; gap: 6px 0; margin: 0; }
.loader-info dd { margin: 0; }
.loader-info dd::before { content: ":"; margin-right: 18px; }
.loader-log { grid-column: 2; grid-row: 1 / 3; list-style: none; margin: 0; padding: 0; align-self: end; }
.loader-log li { opacity: .15; }
.loader-log li.is-on { opacity: 1; }
@media (max-width: 860px) { .loader-info { grid-template-columns: 1fr; } .loader-log { display: none; } .loader { grid-template-columns: 1fr; } }

/* ---------- cursor ---------- */
.hud { position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0; transition: opacity .3s; }
.hud.is-on { opacity: 1; }
.hud-x, .hud-y { position: absolute; background: rgba(250, 54, 0, .35); }
.hud-x { left: 0; right: 0; height: 1px; top: 0; }
.hud-y { top: 0; bottom: 0; width: 1px; left: 0; }
.hud-label { position: absolute; top: 0; left: 0; font-size: 9px; color: var(--brand); white-space: nowrap; }
@media (hover: none) { .hud { display: none; } }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: var(--inset); z-index: 50; display: flex; justify-content: space-between;
  height: var(--nav-h); background: var(--bg); border-bottom: 1px solid var(--line);
}
.nav-logo { display: flex; align-items: center; gap: 10px; padding: 0 24px; font-weight: 600; font-size: 21px; letter-spacing: -.04em; }
.nav-cells { display: flex; }
.nav-cell { position: relative; width: 137px; border-left: 1px solid var(--line); padding: 11px 10px; transition: background .25s, color .25s; }
.nav-cell:hover { background: var(--ink); color: var(--bg); }
.nav-cell:hover .corner { border-color: var(--bg); }
.nav-cell-brand { color: var(--brand); width: 166px; }
.nav-cell-brand:hover { background: var(--brand); color: var(--bg); }
.nav-cell-brand:hover .arrow { color: var(--bg); transform: translateX(3px); }
.burger { display: none; background: none; border: 0; border-left: 1px solid var(--line); padding: 0 20px; color: var(--ink); }
@media (max-width: 900px) {
  .burger { display: block; }
  .nav-cells { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--bg); max-height: 0; overflow: hidden; transition: max-height .4s; }
  .nav.is-open .nav-cells { max-height: 400px; border-bottom: 1px solid var(--line); }
  .nav-cell { width: auto; border-left: 0; border-top: 1px solid var(--line); padding: 18px 20px; }
}

/* ---------- rulers & crosshairs ---------- */
.ruler { position: absolute; pointer-events: none; color: var(--line); }
.ruler-top, .ruler-bottom { left: 28px; right: 28px; height: 8px; background: repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 8px); }
.ruler-top { top: 10px; } .ruler-bottom { bottom: 10px; }
.ruler-left, .ruler-right { top: 28px; bottom: 28px; width: 6px; background: repeating-linear-gradient(180deg, currentColor 0 1px, transparent 1px 8px); }
.ruler-left { left: 10px; } .ruler-right { right: 10px; }
.plus { position: absolute; width: 11px; height: 11px; }
.plus::before, .plus::after { content: ""; position: absolute; background: var(--ink-2); }
.plus::before { left: 5px; top: 0; bottom: 0; width: 1px; }
.plus::after { top: 5px; left: 0; right: 0; height: 1px; }

/* ---------- hero ---------- */
.hero { border-bottom: 1px solid var(--line); }
.stage {
  position: relative; height: calc(100svh - var(--nav-h) - var(--inset) * 2 - 132px); min-height: 420px;
  border-bottom: 1px solid var(--line); overflow: hidden; cursor: crosshair; user-select: none; touch-action: none;
}
.stage-drawing { position: absolute; inset: 60px 12% 40px; }
.stage-hint { position: absolute; left: 36px; top: 30px; color: var(--muted); font-size: 10px; }
.scan { position: absolute; display: none; border: 1px solid var(--brand); background: rgba(250, 54, 0, .06); z-index: 3; pointer-events: none; }
.scan::before, .scan::after { content: ""; position: absolute; width: 5px; height: 5px; background: var(--brand); }
.scan::before { left: -3px; top: -3px; } .scan::after { right: -3px; bottom: -3px; }
.issue-card {
  position: absolute; z-index: 4; width: 220px; padding: 8px 10px; background: var(--bg); border: 1px solid var(--ink);
  text-transform: none; font-size: 11px; opacity: 0; transform: translateY(6px); pointer-events: none; transition: opacity .35s, transform .35s;
}
.issue-card b { display: block; color: var(--brand); font-weight: 500; text-transform: uppercase; margin-bottom: 3px; }
.issue-card.is-on { opacity: 1; transform: none; }

.hero-row { display: grid; grid-template-columns: 1fr 460px 140px; min-height: 132px; }
.hero-title { align-self: end; padding: 16px 24px 14px; margin: 0; font-size: clamp(34px, 3.9vw, 56px); font-weight: 600; line-height: .92; letter-spacing: -.055em; text-transform: uppercase; max-width: 20ch; }
.hero-text { border-left: 1px solid var(--line); padding: 12px; font-size: 15px; line-height: 1.2; letter-spacing: -.01em; }
.hero-text u { text-underline-offset: 3px; font-weight: 500; }
.cell-cta { position: relative; display: block; border-left: 1px solid var(--line); padding: 12px 10px; color: var(--brand); min-height: 44px; transition: background .25s, color .25s; }
.cell-cta:hover { background: var(--brand); color: var(--bg); }
.cell-cta:hover .arrow { color: var(--bg); transform: translateX(3px); }
@media (max-width: 1000px) {
  .hero-row { grid-template-columns: 1fr 140px; }
  .hero-title { grid-column: 1 / -1; border-bottom: 1px solid var(--line); }
  .hero-text { border-left: 0; }
  .stage-drawing { inset: 60px 4% 40px; }
}

/* ---------- benefits ---------- */
.benefits { border-bottom: 1px solid var(--line); }
.cell { border-right: 1px solid var(--line); padding: 14px 12px; }
.benefit-cells { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.benefit-cells .cell:last-child { border-right: 0; }
.benefit-body { padding: 80px 24px 90px; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.big-upper { font-size: clamp(26px, 3.4vw, 50px); font-weight: 600; line-height: .95; letter-spacing: -.05em; text-transform: uppercase; max-width: 26ch; }
.big-upper .rw { color: #c9c8c2; transition: color .2s; }
.big-upper .rw.is-on { color: var(--ink); }
.btn { position: relative; display: inline-block; border: 1px solid var(--ink); padding: 12px 44px 12px 14px; transition: background .25s, color .25s; }
.btn:hover { background: var(--ink); color: var(--bg); }
.logos-row { display: grid; grid-template-columns: 160px 1fr; border-top: 1px solid var(--line); }
.logos-row > .cell { color: var(--brand); }
.logos { overflow: hidden; display: flex; align-items: center; }
.logos-track { display: flex; gap: 90px; width: max-content; padding-left: 90px; font-size: 15px; color: var(--ink-2); }
.benefit-note { border-top: 1px solid var(--line); padding: 14px 24px; color: var(--muted); }
@media (max-width: 760px) {
  .benefit-cells { grid-template-columns: 1fr; } .benefit-cells .cell { border-right: 0; border-bottom: 1px solid var(--line); }
  .benefit-body { grid-template-columns: 1fr; padding: 50px 16px; }
}

/* ---------- sections ---------- */
.section { border-bottom: 1px solid var(--line); }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 40px; padding: 100px 24px 60px; }
.sec-head .label { grid-column: 1 / -1; }
.h2 { margin: 0; font-size: clamp(34px, 4.8vw, 72px); font-weight: 600; line-height: .9; letter-spacing: -.055em; text-transform: uppercase; }
.sec-lead { align-self: end; max-width: 30rem; color: var(--ink-2); font-size: 16px; line-height: 1.25; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; padding: 70px 16px 40px; } }

/* problems */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.card { padding: 12px; border-right: 1px solid var(--line); min-height: 470px; display: flex; flex-direction: column; transition: background .35s, color .35s; }
.card:last-child { border-right: 0; }
.card-top { display: flex; justify-content: space-between; color: var(--muted); }
.card-top span:first-child { color: var(--brand); }
.card-ico { width: 46px; height: 46px; margin: auto 0 32px; fill: none; stroke: currentColor; stroke-width: 1.2; transition: transform .5s; }
.card h3 { margin: 0 0 14px; font-size: 32px; font-weight: 600; line-height: .92; letter-spacing: -.05em; text-transform: uppercase; }
.card p { color: var(--muted); max-width: 22rem; }
.card:hover { background: var(--ink); color: var(--bg); }
.card:hover .card-ico { transform: rotate(-8deg) scale(1.1); stroke: var(--brand); }
@media (max-width: 1000px) { .cards { grid-template-columns: 1fr 1fr; } .card { border-bottom: 1px solid var(--line); min-height: 360px; } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } .card { border-right: 0; } }

/* pinned intro */
.intro { height: 320vh; border-bottom: 1px solid var(--line); position: relative; }
.intro-pin { position: sticky; top: calc(var(--nav-h) + var(--inset)); height: calc(100vh - var(--nav-h) - var(--inset) * 2); display: grid; grid-template-columns: 1fr 1.2fr; overflow: hidden; }
.intro-left { position: relative; display: flex; flex-direction: column; padding: 50px 24px 40px; border-right: 1px solid var(--line); }
.intro-texts { flex: 1; display: grid; align-items: center; }
.intro-text { grid-area: 1 / 1; font-size: clamp(24px, 2.6vw, 38px); font-weight: 500; line-height: 1.02; letter-spacing: -.045em; opacity: 0; }
.intro-text:first-child { opacity: 1; }
.intro-hint { color: var(--muted); }
.intro-right { padding: 60px 40px; display: grid; place-items: center; }
.intro-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line); }
.intro-progress i { display: block; height: 100%; width: 0; background: var(--brand); }
@media (max-width: 860px) { .intro-pin { grid-template-columns: 1fr; grid-template-rows: 1fr 40%; } .intro-left { border-right: 0; border-bottom: 1px solid var(--line); } }

/* product */
.checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.checks .cell:last-child { border-right: 0; }
.products { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.product { display: flex; flex-direction: column; padding: 12px 0 0; border-right: 1px solid var(--line); }
.product:last-child { border-right: 0; }
.product > .mono:first-child { padding: 0 12px; color: var(--muted); }
.product h3 { margin: 30px 12px 10px; font-size: 40px; font-weight: 600; letter-spacing: -.055em; line-height: .9; text-transform: uppercase; }
.product p { margin: 0 12px 30px; color: var(--ink-2); max-width: 30rem; }
.product .cell-cta { margin-top: auto; border-left: 0; border-top: 1px solid var(--line); }
.mock { margin: 16px 12px 0; aspect-ratio: 16 / 9; background: var(--bg-2); border: 1px solid var(--line); padding: 20px; display: flex; flex-direction: column; gap: 10px; justify-content: flex-end; }
.bubble { align-self: flex-end; background: var(--bg); border: 1px solid var(--line); padding: 8px 10px; text-transform: none; max-width: 80%; }
.bubble-ai { align-self: flex-start; background: var(--ink); color: var(--bg); border-color: var(--ink); }
.bubble-actions { display: flex; gap: 6px; }
.bubble-actions span { padding: 6px 10px; border: 1px solid var(--ink); }
.bubble-actions span:first-child { background: var(--brand); border-color: var(--brand); color: #fff; }
.mock-dash { justify-content: space-between; }
.bars { flex: 1; display: flex; align-items: flex-end; gap: 10px; }
.bars i { flex: 1; height: var(--h); border: 1px solid var(--ink); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='6'%3E%3Cpath d='M0 6L6 0' stroke='%23282828' stroke-width='.6'/%3E%3C/svg%3E"); transform-origin: bottom; }
.bars i:nth-child(4) { background: var(--brand); border-color: var(--brand); }
.dash-row { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 6px; }
@media (max-width: 860px) {
  .checks, .products { grid-template-columns: 1fr; }
  .checks .cell, .product { border-right: 0; border-bottom: 1px solid var(--line); }
}

/* process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.step { position: relative; padding: 12px 12px 90px; border-right: 1px solid var(--line); }
.step:last-child { border-right: 0; }
.step::before { content: ""; position: absolute; top: -4px; left: -4px; width: 7px; height: 7px; background: var(--brand); }
.step .mono { color: var(--brand); }
.step h3 { margin: 70px 0 8px; font-size: 44px; font-weight: 600; letter-spacing: -.055em; line-height: .9; text-transform: uppercase; }
.step p { color: var(--ink-2); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } .step { border-bottom: 1px solid var(--line); } }

/* use cases */
.uc-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.uc { padding: 12px; min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .3s, color .3s; }
.uc:nth-child(4n) { border-right: 0; }
.uc:nth-last-child(-n+4) { border-bottom: 0; }
.uc .mono { color: var(--brand); }
.uc p { font-size: 18px; line-height: 1.1; letter-spacing: -.02em; max-width: 16rem; }
.uc:hover { background: var(--ink); color: var(--bg); }
@media (max-width: 860px) { .uc-grid { grid-template-columns: 1fr 1fr; } .uc:nth-child(2n) { border-right: 0; } .uc { border-bottom: 1px solid var(--line) !important; } }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.plan { display: flex; flex-direction: column; padding-top: 12px; border-right: 1px solid var(--line); }
.plan:last-child { border-right: 0; }
.plan > .mono { padding: 0 12px; color: var(--brand); }
.plan.is-featured { background: var(--ink); color: var(--bg); }
.price { padding: 60px 12px 24px; font-size: 64px; font-weight: 600; letter-spacing: -.06em; line-height: .9; }
.price small { font-size: 12px; letter-spacing: 0; color: var(--muted); margin-left: 6px; }
.plan ul { list-style: none; margin: 0 0 40px; padding: 0; }
.plan li { padding: 10px 12px; border-top: 1px solid var(--line); }
.plan.is-featured li { border-color: #4a4a48; }
.plan .cell-cta { margin-top: auto; border-left: 0; border-top: 1px solid var(--line); }
.plan.is-featured .cell-cta { border-color: #4a4a48; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } .plan { border-right: 0; border-bottom: 1px solid var(--line); } }

/* cta */
.cta { display: grid; grid-template-columns: 1fr 166px; border-bottom: 1px solid var(--line); }
.cta-left { padding: 120px 24px 24px; }
.cta-title { margin: 30px 0 0; font-size: clamp(44px, 8vw, 128px); font-weight: 600; letter-spacing: -.06em; line-height: .86; text-transform: uppercase; max-width: 12ch; }
.cta-cell { position: relative; border-left: 1px solid var(--line); padding: 12px 10px; color: var(--brand); transition: background .3s, color .3s; }
.cta-cell:hover { background: var(--brand); color: var(--bg); }
.cta-cell:hover .arrow { color: var(--bg); }
@media (max-width: 700px) { .cta { grid-template-columns: 1fr; } .cta-cell { border-left: 0; border-top: 1px solid var(--line); min-height: 60px; } }

/* footer */
.footer { overflow: hidden; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); }
.footer-col { display: flex; flex-direction: column; gap: 6px; padding: 12px 12px 60px; border-right: 1px solid var(--line); }
.footer-col:last-child { border-right: 0; }
.footer-col .label { margin-bottom: 20px; }
.footer-col a { font-size: 18px; letter-spacing: -.02em; width: fit-content; }
.footer-col a:hover { color: var(--brand); }
.footer-word { font-size: 13.4vw; white-space: nowrap; font-weight: 600; letter-spacing: -.07em; line-height: .78; margin: 0 0 0 -.04em; padding-top: 20px; border-top: 1px solid var(--line); }
.footer-bottom { display: flex; justify-content: space-between; padding: 12px; border-top: 1px solid var(--line); color: var(--muted); }
@media (max-width: 640px) { .footer-cols { grid-template-columns: 1fr; } .footer-col { border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 30px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* =========================================================
   Contenido Omar Ro. Ma.
   ========================================================= */
.muted { color: var(--muted); }
blockquote.benefit-note { margin: 0; font-size: 18px; letter-spacing: -.02em; color: var(--ink-2); }
blockquote.benefit-note cite { font-style: normal; color: var(--brand); margin-left: 8px; }

/* servicios: 3 columnas */
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-3 .card { min-height: 400px; border-bottom: 1px solid var(--line); }
.cards-3 .card:nth-child(3n) { border-right: 0; }
.cards-3 .card:nth-last-child(-n+3) { border-bottom: 0; }
.cards-3 .card:last-child { border-right: 0; }
.cards-3 .card:nth-child(3n+1), .cards-3 .card:nth-child(3n+2) { border-right: 1px solid var(--line); }
@media (max-width: 1000px) {
  .cards-3 { grid-template-columns: 1fr 1fr; }
  .cards-3 .card { border-right: 1px solid var(--line) !important; border-bottom: 1px solid var(--line) !important; }
  .cards-3 .card:nth-child(2n) { border-right: 0 !important; }
}
@media (max-width: 560px) { .cards-3 { grid-template-columns: 1fr; } .cards-3 .card { border-right: 0 !important; } }

/* omar: retrato */
.intro-photo { margin: 0; padding: 0; overflow: hidden; position: relative; }
.intro-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); mix-blend-mode: multiply; }

/* proyectos */
.filters { display: flex; flex-wrap: wrap; border-top: 1px solid var(--line); }
.filter { background: none; border: 0; border-right: 1px solid var(--line); color: var(--ink); text-align: left; padding: 14px 16px; transition: background .25s, color .25s; }
.filter:hover { background: var(--bg-2); }
.filter.is-active { background: var(--ink); color: var(--bg); }
.projects { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.project { position: relative; display: flex; flex-direction: column; padding: 12px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .3s, color .3s; }
.project:nth-child(4n) { border-right: 0; }
.project figure { margin: 0 0 14px; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-2); }
.project img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .5s, transform .8s cubic-bezier(.2, .8, .2, 1); }
.project > .mono { color: var(--brand); }
.project h3 { margin: 6px 0 22px; font-size: 22px; font-weight: 600; letter-spacing: -.04em; line-height: 1; text-transform: uppercase; padding-right: 20px; }
.project .arrow { top: 10px; bottom: auto; right: 10px; opacity: 0; transition: opacity .3s, transform .3s; }
.project:hover { background: var(--ink); color: var(--bg); }
.project:hover img { filter: none; transform: scale(1.05); }
.project:hover .arrow { opacity: 1; transform: translate(2px, -2px); color: var(--brand); }
.project-text { justify-content: flex-end; min-height: 260px; }
.project-text h3 { font-size: 32px; }
.project.is-hidden { display: none; }
@media (max-width: 1100px) { .projects { grid-template-columns: repeat(3, 1fr); } .project:nth-child(4n) { border-right: 1px solid var(--line); } }
@media (max-width: 760px) { .projects { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .projects { grid-template-columns: 1fr; } .project { border-right: 0 !important; } }

/* vitruvio */
.steps-3 { grid-template-columns: repeat(3, 1fr); }
.steps-3 .step h3 { font-size: clamp(44px, 5vw, 72px); }
.steps-3 .step p { max-width: 24rem; font-size: 16px; }
.steps-note { border-top: 1px solid var(--line); padding: 16px 24px; }
@media (max-width: 760px) { .steps-3 { grid-template-columns: 1fr; } .steps-3 .step { border-right: 0; } }

/* trayectoria */
.track-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.track { padding: 12px 12px 50px; border-right: 1px solid var(--line); }
.track:last-child { border-right: 0; }
.track ul { list-style: none; margin: 30px 0 0; padding: 0; }
.track li { padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.3; color: var(--ink-2); }
.track li b { color: var(--ink); font-weight: 600; }
@media (max-width: 1000px) { .track-grid { grid-template-columns: 1fr 1fr; } .track { border-bottom: 1px solid var(--line); } .track:nth-child(2n) { border-right: 0; } }
@media (max-width: 560px) { .track-grid { grid-template-columns: 1fr; } .track { border-right: 0; } }

/* blog */
.posts { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.post { display: flex; flex-direction: column; padding-top: 12px; border-right: 1px solid var(--line); transition: background .3s; }
.post:last-child { border-right: 0; }
.post figure { margin: 0 12px 16px; aspect-ratio: 16 / 9; overflow: hidden; }
.post img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .5s, transform .8s; }
.post > .mono { padding: 0 12px; color: var(--brand); }
.post h3 { margin: 10px 12px; font-size: 30px; font-weight: 600; letter-spacing: -.05em; line-height: .95; text-transform: uppercase; }
.post p { margin: 0 12px 30px; color: var(--ink-2); max-width: 34rem; }
.post .cell-cta { margin-top: auto; border-left: 0; border-top: 1px solid var(--line); }
.post:hover { background: var(--bg-2); }
.post:hover img { filter: none; transform: scale(1.04); }
@media (max-width: 760px) { .posts { grid-template-columns: 1fr; } .post { border-right: 0; border-bottom: 1px solid var(--line); } }

/* oficinas */
.cta-cell { text-transform: none; }
.offices { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.office { padding: 12px 12px 30px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.office:last-child { border-right: 0; }
.office p { font-size: 17px; letter-spacing: -.02em; line-height: 1.25; }
.office .label { margin-bottom: 20px; }
.office-links { display: flex; flex-direction: column; gap: 2px; margin-top: auto !important; }
.office-links a { width: fit-content; border-bottom: 1px solid transparent; }
.office-links a:hover { color: var(--brand); border-color: var(--brand); }
@media (max-width: 760px) { .offices { grid-template-columns: 1fr; } .office { border-right: 0; border-bottom: 1px solid var(--line); } }

/* sin animaciones: la intro deja de estar fijada y los textos se apilan */
.no-anim .intro { height: auto; }
.no-anim .intro-pin { position: relative; top: 0; height: auto; min-height: 80vh; }
.no-anim .intro-texts { display: flex; flex-direction: column; gap: 1em; padding: 40px 0; }
.no-anim .intro-text { opacity: 1; }

/* =========================================================
   Galería de proyectos en acordeón (flick)
   ========================================================= */
.flick { border-top: 1px solid var(--line); padding: 12px; }
.flick-track { display: flex; height: clamp(480px, 74vh, 760px); gap: 0; overflow: hidden; background: var(--ink); }
.flick-item {
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; color: #fff;
  transition: flex-grow .8s cubic-bezier(.65, 0, .2, 1);
  border-left: 1px solid rgba(255, 255, 255, .15);
}
.flick-item:first-child { border-left: 0; }
.flick-item.is-active { flex-grow: 4.2; }
.flick-item.is-hidden { display: none; }
.flick-item:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }

.flick-img { position: absolute; inset: 0; }
.flick-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: blur(18px) saturate(1.1); transform: scale(1.2);
  transition: filter .8s ease, transform 1.2s cubic-bezier(.2, .8, .2, 1);
}
.flick-item.is-active .flick-img img { filter: none; transform: scale(1); }
.flick-item.is-logo .flick-img { background: var(--bg); display: grid; place-items: center; }
.flick-item.is-logo .flick-img img { width: 40%; height: auto; max-width: 220px; object-fit: contain; }
.flick-item.is-logo { color: var(--ink); }

.flick-shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .55) 100%);
  opacity: 0; transition: opacity .6s;
}
.flick-item.is-active .flick-shade { opacity: 1; }
.flick-item.is-logo .flick-shade { display: none; }

/* inactive: index + vertical title */
.flick-index { position: absolute; top: 14px; left: 14px; z-index: 2; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .35); }
.flick-item.is-logo .flick-index { color: var(--brand); text-shadow: none; }
.flick-vtitle {
  position: absolute; left: 50%; bottom: 18px; z-index: 2; white-space: nowrap;
  transform: translateX(-50%) rotate(180deg); writing-mode: vertical-rl;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .35); transition: opacity .4s;
}
.flick-item.is-logo .flick-vtitle { text-shadow: none; }
.flick-item.is-active .flick-vtitle { opacity: 0; }

/* active content */
.flick-content {
  position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; justify-content: space-between;
  padding: 52px 40px 40px; min-width: 520px; pointer-events: none;
}
.flick-title {
  margin: 0; max-width: 12ch; font-size: clamp(34px, 3.6vw, 60px); font-weight: 600; line-height: .92; letter-spacing: -.055em; text-transform: uppercase;
}
.flick-meta { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; font-size: 13px; }
.flick-meta i { width: 1px; height: 16px; background: currentColor; opacity: .6; }
.flick-excerpt { max-width: 30rem; font-size: 17px; line-height: 1.3; letter-spacing: -.01em; }
.flick-content > *, .flick-cta { opacity: 0; transform: translateY(14px); transition: opacity .35s, transform .35s; }
.flick-item.is-active .flick-content > *, .flick-item.is-active .flick-cta { opacity: 1; transform: none; transition: opacity .6s .35s, transform .6s .35s cubic-bezier(.2, .8, .2, 1); }
.flick-cta {
  position: absolute; z-index: 3; right: 0; bottom: 0; padding: 12px 16px; background: var(--brand); color: #fff;
}
.flick-item.is-active:hover .flick-cta { background: var(--bg); color: var(--ink); }

/* controls row */
.flick-nav { display: grid; grid-template-columns: 160px 1fr 72px 72px; border-top: 1px solid var(--line); }
.flick-nav .cell { display: flex; align-items: center; }
.flick-count b { color: var(--brand); font-weight: 500; }
.flick-hint { color: var(--muted); }
.flick-btn { background: none; border: 0; border-right: 1px solid var(--line); justify-content: center; font-size: 16px; color: var(--ink); transition: background .25s, color .25s; }
.flick-btn:last-child { border-right: 0; }
.flick-btn:hover:not(:disabled) { background: var(--ink); color: var(--bg); }
.flick-btn:disabled { color: var(--line); cursor: default; }

/* mobile: vertical accordion */
@media (max-width: 760px) {
  .flick { padding: 8px; }
  .flick-track { flex-direction: column; height: 82svh; }
  .flick-item { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .15); }
  .flick-item:first-child { border-top: 0; }
  .flick-item.is-active { flex-grow: 6; }
  .flick-vtitle { writing-mode: horizontal-tb; transform: translateY(-50%); left: 64px; top: 50%; bottom: auto; }
  .flick-index { top: 50%; transform: translateY(-50%); }
  .flick-item.is-active .flick-index { top: 14px; transform: none; }
  .flick-content { min-width: 0; padding: 44px 18px 56px; }
  .flick-excerpt { font-size: 15px; }
  .flick-nav { grid-template-columns: 1fr 56px 56px; }
  .flick-hint { display: none; }
}
@media (prefers-reduced-motion: reduce) { .flick-img img { filter: blur(10px); } .flick-item.is-active .flick-img img { filter: none; } }

/* legibilidad sobre imágenes claras */
.flick-shade { opacity: 1; background: rgba(24, 24, 24, .32); transition: background .6s; }
.flick-item.is-active .flick-shade {
  background: linear-gradient(180deg, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, .05) 32%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .6) 100%);
}
.flick-title, .flick-foot { text-shadow: 0 1px 18px rgba(0, 0, 0, .35); }
@media (max-width: 760px) { .flick-nav .flick-hint { display: none; } }

/* galería en blanco y negro */
.flick-img img { filter: grayscale(1) blur(18px); }
.flick-item.is-active .flick-img img { filter: grayscale(1) contrast(1.05); }
@media (prefers-reduced-motion: reduce) { .flick-img img { filter: grayscale(1) blur(10px); } .flick-item.is-active .flick-img img { filter: grayscale(1) contrast(1.05); } }

/* =========================================================
   Multipágina
   ========================================================= */
/* menú: página actual */
.nav-cell.is-current { background: var(--ink); color: var(--bg); }
.nav-cell.is-current .corner { border-color: var(--bg); }
.nav-cell-brand.is-current { background: var(--brand); color: var(--bg); }
.nav-cell-brand.is-current .arrow { color: var(--bg); }

/* cabecera de páginas interiores */
.page-head { border-bottom: 1px solid var(--line); }
.page-head-stage {
  position: relative; min-height: clamp(340px, 52vh, 560px); display: flex; flex-direction: column; justify-content: space-between;
  padding: 44px 36px 40px; border-bottom: 1px solid var(--line); overflow: hidden;
}
.crumbs { color: var(--muted); }
.crumbs a:hover { color: var(--brand); }
.crumbs span { color: var(--brand); }
.page-title { margin: 0; font-size: clamp(56px, 11vw, 190px); font-weight: 600; line-height: .82; letter-spacing: -.065em; text-transform: uppercase; }
.page-head-row { display: grid; grid-template-columns: 1fr 460px 166px; min-height: 96px; }
.page-lead { grid-column: 2; border-left: 1px solid var(--line); padding: 12px; font-size: 15px; line-height: 1.25; }
.page-head-row .cell-cta { grid-column: 3; text-transform: none; }
.page-head-row .cell-cta:not([href^="mailto"]) { text-transform: uppercase; }
@media (max-width: 900px) {
  .page-head-stage { padding: 40px 20px 28px; }
  .page-head-row { grid-template-columns: 1fr 140px; }
  .page-lead { grid-column: 1; border-left: 0; }
  .page-head-row .cell-cta { grid-column: 2; }
}

/* enlaces "ver todos" en cabeceras de sección */
.sec-head .sec-link { grid-column: 2; justify-self: start; margin-top: 8px; }
@media (max-width: 860px) { .sec-head .sec-link { grid-column: 1; } }

/* cita vitruviana (servicios) */
.quote-band { border-bottom: 1px solid var(--line); padding: clamp(70px, 10vw, 140px) 24px; }
.quote-text { font-size: clamp(30px, 4.6vw, 72px); font-weight: 600; line-height: .95; letter-spacing: -.055em; text-transform: uppercase; max-width: 22ch; }
.quote-text .rw { color: #c9c8c2; transition: color .2s; }
.quote-text .rw.is-on { color: var(--ink); }
.no-anim .quote-text .rw, .no-anim .big-upper .rw { color: var(--ink); }

/* =========================================================
   Edificio que se rellena con el scroll (sunfill)
   ========================================================= */
.sunfill { height: 280vh; border-bottom: 1px solid var(--line); position: relative; }
.sunfill-pin {
  position: sticky; top: calc(var(--nav-h) + var(--inset)); height: calc(100vh - var(--nav-h) - var(--inset) * 2);
  display: grid; grid-template-columns: 1fr 1.25fr; overflow: hidden;
}
.sunfill-text { display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 60px 24px 60px 36px; position: relative; z-index: 2; }
.sunfill-quote { font-size: clamp(30px, 3.6vw, 58px); font-weight: 600; line-height: .94; letter-spacing: -.055em; text-transform: uppercase; max-width: 15ch; }
.sunfill-cite { color: var(--brand); }
.sunfill-progress { margin-top: 30px; color: var(--muted); }
.sunfill-progress b { color: var(--ink); font-weight: 500; }
.sunfill-art { position: relative; display: grid; place-items: end center; padding: 10px 10px 0; }
.tower { width: 100%; height: 100%; display: block; }
.tower .lines { fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linejoin: round; }
.tower .lines .t { stroke-width: .8; }
.tower .ghost { fill: none; stroke: var(--ink); stroke-width: 1.1; }
.tower .sun { fill: var(--brand); }
@media (max-width: 860px) {
  .sunfill { height: 240vh; }
  .sunfill-pin { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .sunfill-text { padding: 36px 20px 0; gap: 10px; }
  .sunfill-progress { margin-top: 6px; }
}
.no-anim .sunfill { height: auto; }
.no-anim .sunfill-pin { position: relative; top: 0; height: auto; min-height: 90vh; }

/* sunfill con la casa detallada: dibujo a todo el ancho, texto arriba a la izquierda */
.sunfill-pin { grid-template-columns: 1fr; }
.sunfill-text { position: absolute; top: 0; left: 0; z-index: 2; max-width: 560px; justify-content: flex-start; padding: 46px 36px; gap: 12px; }
.sunfill-quote { font-size: clamp(26px, 2.6vw, 42px); max-width: 18ch; }
.sunfill-progress { margin-top: 10px; }
.sunfill-art { position: absolute; inset: 40px 28px 22px; padding: 0; display: block; }
.house-fill { width: 100%; height: 100%; display: block; }
.house-fill .lines { fill: none; stroke: var(--ink); stroke-width: 1; stroke-linejoin: round; }
.house-fill .thin { fill: none; stroke: var(--ink); stroke-width: .45; }
.house-fill .thin .int { opacity: .55; }
.house-fill .trees { fill: none; stroke: var(--ink); stroke-linecap: round; }
.house-fill .trees .d4 { stroke-width: 1.8; } .house-fill .trees .d3 { stroke-width: 1.1; }
.house-fill .trees .d2 { stroke-width: .65; } .house-fill .trees .d1 { stroke-width: .4; opacity: .7; }
.house-fill .ghost { fill: none; stroke: var(--ink); stroke-width: .7; }
.house-fill .sun { fill: var(--brand); }
@media (max-width: 860px) {
  .sunfill-text { position: relative; padding: 30px 20px 0; }
  .sunfill-art { position: relative; inset: auto; height: 100%; }
  .sunfill-pin { grid-template-rows: auto 1fr; }
}
.house-fill .solid { fill: var(--bg); }

/* casa detallada en versión línea (hero + carga) */
.house-line .lines { stroke-width: 1; }
.house-line .thin { fill: none; stroke: var(--ink); stroke-width: .45; }
.house-line .thin .int { opacity: .55; }
.house-line .trees .d4 { stroke-width: 1.8; } .house-line .trees .d3 { stroke-width: 1.1; }
.house-line .trees .d2 { stroke-width: .65; } .house-line .trees .d1 { stroke-width: .4; }
.loader-drawing .thin { opacity: 0; }

/* sunfill con torre: cita a la izquierda, edificio más pequeño a la derecha */
.sunfill-text { top: 50%; transform: translateY(-50%); max-width: 46%; }
.sunfill-art { inset: 44px 6% 18px 52%; }
.tower-fill { max-height: 100%; }
@media (max-width: 860px) {
  .sunfill-text { top: auto; transform: none; max-width: none; }
  .sunfill-art { inset: auto; margin: 0 auto; width: 78%; }
}
.tower-fill .podium .pod { fill: var(--bg); }
.tower-fill .lines { stroke-width: .9; }
.tower-fill .thin { stroke-width: .4; }
.sunfill-art { inset: 30px 4% 0 46%; }
.tower-fill .figures { fill: none; stroke: var(--ink); stroke-width: .8; stroke-linecap: round; }
.tower-fill .figures circle { fill: var(--ink); stroke: none; }
.tower-fill .beacon { fill: var(--brand); stroke: none; animation: beacon 1.6s ease-in-out infinite; }
@keyframes beacon { 50% { opacity: .2; } }
.tower-fill .trees { fill: none; stroke: var(--ink); stroke-linecap: round; }
.tower-fill .trees .d4 { stroke-width: 1.2; } .tower-fill .trees .d3 { stroke-width: .8; }
.tower-fill .trees .d2 { stroke-width: .5; } .tower-fill .trees .d1 { stroke-width: .35; }

/* sunfill: menos recorrido de scroll y dibujo más contenido */
.sunfill { height: 165vh; }
.sunfill-art { inset: 80px 8% 24px 50%; }
@media (max-width: 860px) { .sunfill { height: 150vh; } .sunfill-art { inset: auto; width: 66%; } }

/* torre: más pequeña; capas sólidas del podio */
.sunfill-art { inset: 110px 12% 36px 56%; }
.tower-fill .solid { fill: var(--bg); }
@media (max-width: 860px) { .sunfill-art { inset: auto; width: 58%; } }

/* logotipo Omar Ro. Ma. */
.nav-logo img { display: block; height: 34px; width: auto; }
.nav-logo { padding: 0 20px; }
.loader-logo { position: absolute; top: 20px; left: 20px; height: 40px; width: auto; z-index: 2; }
.footer-brand { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 28px 12px; border-bottom: 1px solid var(--line); }
.footer-logo { height: 56px; width: auto; }
@media (max-width: 640px) { .nav-logo img { height: 28px; } .footer-brand { flex-direction: column; align-items: flex-start; } .footer-logo { height: 44px; } }

/* ilustración de cabecera: mesa de arquitecto (servicios) */
.page-art { position: absolute; right: 4%; top: 30px; bottom: 26px; width: 50%; pointer-events: none; }
.desk { width: 100%; height: 100%; display: block; color: var(--ink); }
.desk .lines, .desk .sheet { fill: none; stroke: var(--ink); stroke-width: 1.1; stroke-linejoin: round; stroke-linecap: round; }
.desk .thin, .desk .plan { fill: none; stroke: var(--ink); stroke-width: .55; }
.desk .sheet .paper { fill: #faf9f5; stroke: var(--ink); stroke-width: .8; }
.desk .acrylic { fill: #fff; opacity: .45; }
.desk .accent { fill: var(--brand); }
.desk .steam { stroke-width: .8; opacity: .6; animation: steam 3s ease-in-out infinite; }
@keyframes steam { 50% { transform: translateY(-3px); opacity: .2; } }
@media (max-width: 900px) { .page-art { position: relative; right: auto; top: auto; bottom: auto; width: 100%; height: 220px; margin-top: 16px; } }
.page-art { right: 2%; width: 43%; }
@media (max-width: 1200px) { .page-art { width: 40%; top: 60px; } }
/* mesa realista: al terminar, el vapor de línea deja paso al vapor animado */
.desk .steam { transition: opacity .8s; }
.desk.is-rendered .steam { opacity: 0; animation: none; }
.desk.is-rendered .fills { opacity: .35; transition: opacity 1s; }

/* cabecera Omar Arquitecto: foto revelada sobre su dibujo de líneas */
.page-art-sq { width: 36%; right: 3%; }
.art-interior .lines { stroke-width: .9; }
.art-interior .thin { stroke-width: .45; }
.art-interior .trees-thin { fill: none; stroke: var(--ink); stroke-width: .35; opacity: .6; }
.art-interior .lines, .art-interior .thin, .art-interior .trees-thin { transition: opacity 1.2s; }
.art-interior.is-rendered .lines, .art-interior.is-rendered .thin, .art-interior.is-rendered .trees-thin { opacity: 0; }
.art-interior.is-rendered .lines rect:first-child { opacity: 1; }
@media (max-width: 900px) { .page-art-sq { width: 100%; height: 300px; } }
/* cabeceras con ilustración: el titular deja sitio al dibujo */
.page-head-stage:has(.page-art) .page-title { font-size: clamp(48px, 7.4vw, 132px); max-width: 56%; position: relative; z-index: 1; }
@media (max-width: 900px) { .page-head-stage:has(.page-art) .page-title { max-width: none; font-size: clamp(44px, 12vw, 90px); } }
/* interior como ilustración: el dibujo de líneas se queda encima */
.art-interior.is-rendered .lines { opacity: .85; }
.art-interior.is-rendered .thin { opacity: .45; }
.art-interior.is-rendered .trees-thin { opacity: .35; }

/* interior como dibujo arquitectónico */
.art-interior .lines { stroke-width: 1.35; }
.art-interior .thin { stroke-width: .5; }
.art-interior.is-rendered .lines { opacity: 1; }
.art-interior.is-rendered .thin { opacity: .7; }
.art-interior .refl { fill: none; stroke: var(--ink); stroke-width: .5; opacity: .55; }
.art-interior .agg { fill: none; stroke: var(--ink); stroke-width: .45; opacity: .5; }
.art-interior .grain { fill: none; stroke: #6b5a45; stroke-width: .45; opacity: .55; }
.art-interior .notes { font-family: var(--mono); font-size: 9px; letter-spacing: .04em; fill: var(--ink); opacity: 0; transition: opacity .8s .3s; }
.art-interior.is-rendered .notes, .no-anim .art-interior .notes { opacity: 1; }
.art-interior .notes .leader { fill: none; stroke: var(--ink); stroke-width: .6; }
.art-interior .notes .dot, .art-interior .notes .lvl { fill: var(--brand); stroke: none; }
.art-interior .notes .tag { fill: var(--bg); stroke: var(--ink); stroke-width: .6; }
/* interior como mancha en el papel */
.art-interior .rendered { mix-blend-mode: multiply; }
.art-interior .notes .title { letter-spacing: .12em; fill: var(--muted); }
/* mancha de Omar: un tercio del ancho del header */
.page-art-sq { width: 33.4%; right: 2%; top: 14px; bottom: 6px; }
.page-art-sq svg { width: 100%; height: 100%; }

/* biografía completa en la sección fija de Omar */
.intro-text { font-size: clamp(20px, 1.9vw, 30px); line-height: 1.12; letter-spacing: -.03em; max-width: 30ch; }
.intro-text-long { font-size: clamp(16px, 1.35vw, 21px); line-height: 1.3; letter-spacing: -.015em; max-width: 44ch; }
.intro-text a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--brand); }
.intro-text a:hover { color: var(--brand); }

/* dibujo a tinta integrado con el fondo (Omar) */
.sketch-band { position: relative; border-bottom: 1px solid var(--line); overflow: hidden; }
.sketch-head { position: absolute; z-index: 2; top: 40px; left: 24px; max-width: 360px; display: flex; flex-direction: column; gap: 14px; }
.sketch-lead { font-size: 18px; line-height: 1.25; letter-spacing: -.02em; }
.sketch { margin: 0; height: clamp(420px, 72vh, 720px); }
.sketch img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  mix-blend-mode: multiply;                       /* white paper disappears into the page colour */
  filter: grayscale(1) contrast(1.15) brightness(1.04);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 22%, #000 90%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 16%, #000 82%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 22%, #000 90%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 16%, #000 82%, transparent 100%);
  mask-composite: intersect;
}
@media (max-width: 760px) {
  .sketch-head { position: relative; top: auto; left: auto; padding: 40px 16px 0; }
  .sketch { height: 360px; }
}
/* más papel limpio a la izquierda para el texto */
.sketch img {
  -webkit-mask-image: linear-gradient(to right, transparent 0, transparent 14%, #000 44%, #000 90%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 16%, #000 82%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, transparent 14%, #000 44%, #000 90%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 16%, #000 82%, transparent 100%);
}
@media (max-width: 760px) {
  .sketch img {
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 12%, #000 88%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 14%, #000 84%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 12%, #000 88%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 14%, #000 84%, transparent 100%);
  }
}

/* dibujo de ciudad más contenido: texto a la izquierda, dibujo a la derecha */
.sketch-band { display: grid; grid-template-columns: 1fr 1.35fr; align-items: center; gap: 24px; padding: 60px 24px; }
.sketch-head { position: static; max-width: 380px; }
.sketch { height: auto; }
.sketch img {
  height: auto; aspect-ratio: 3 / 2; max-height: 52vh; object-fit: cover;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 14%, #000 86%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 14%, #000 86%, transparent 100%);
}
@media (max-width: 760px) {
  .sketch-band { grid-template-columns: 1fr; padding: 40px 16px; }
  .sketch-head { padding: 0; }
}

/* dibujo a la izquierda, texto más grande a la derecha */
.sketch-band { grid-template-columns: 1.35fr 1fr; gap: 48px; }
.sketch { order: -1; }
.sketch-head { max-width: 460px; }
.sketch-lead { font-size: clamp(22px, 2.1vw, 32px); line-height: 1.12; letter-spacing: -.035em; }
@media (max-width: 760px) { .sketch-band { grid-template-columns: 1fr; gap: 24px; } .sketch { order: 0; } .sketch-lead { font-size: 22px; } }

/* dibujo de ciudad como SVG que se va dibujando */
.sketch-svg {
  width: 100%; height: auto; max-height: 52vh; display: block;
  mix-blend-mode: multiply; filter: grayscale(1) contrast(1.15) brightness(1.04);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 14%, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 14%, #000 86%, transparent 100%);
  mask-composite: intersect;
}

/* biografía (Omar) */
.bio-grid { display: grid; grid-template-columns: repeat(3, 1fr) .9fr; border-top: 1px solid var(--line); }
.bio-col { padding: 14px 20px 48px 14px; border-right: 1px solid var(--line); }
.bio-num { color: var(--brand); }
.bio-col h3 { margin: 40px 0 18px; font-size: clamp(24px, 2.2vw, 34px); font-weight: 600; line-height: .95; letter-spacing: -.045em; text-transform: uppercase; }
.bio-col p { font-size: 16.5px; line-height: 1.55; letter-spacing: -.005em; color: var(--ink-2); max-width: 46ch; }
.bio-col p + p, .bio-col p + ul { margin-top: 14px; }
.bio-col strong { color: var(--ink); font-weight: 600; }
.bio-col a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--brand); text-underline-offset: 3px; }
.bio-col a:hover { color: var(--brand); }
.bio-awards { list-style: none; margin: 0; padding: 0; }
.bio-awards li { display: grid; grid-template-columns: 48px 1fr; gap: 8px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.4; color: var(--ink-2); }
.bio-awards li:last-child { border-bottom: 1px solid var(--line); }
.bio-awards .mono { color: var(--brand); padding-top: 2px; }
.bio-facts { display: flex; flex-direction: column; background: var(--bg-2); }
.bio-facts .label { padding: 14px 14px 0; }
.bio-facts dl { margin: 30px 0 0; padding: 0 14px; flex: 1; }
.bio-facts dt { color: var(--muted); margin-top: 16px; }
.bio-facts dd { margin: 4px 0 0; font-size: 17px; letter-spacing: -.02em; }
.bio-facts .cell-cta { border-left: 0; border-top: 1px solid var(--line); margin-top: 30px; }
@media (max-width: 1100px) { .bio-grid { grid-template-columns: 1fr 1fr; } .bio-col:nth-child(2) { border-right: 0; } .bio-col { border-bottom: 1px solid var(--line); } }
@media (max-width: 680px) { .bio-grid { grid-template-columns: 1fr; } .bio-col { border-right: 0; } }
/* la sección fija vuelve a frases cortas */
.intro-text { font-size: clamp(24px, 2.5vw, 38px); line-height: 1.04; letter-spacing: -.045em; max-width: 22ch; }

/* sección del estudio */
.studio-text { align-self: end; max-width: 34rem; }
.studio-text p { font-size: 17px; line-height: 1.5; color: var(--ink-2); }
.studio-text p + p { margin-top: 12px; }
.studio-text strong { color: var(--ink); font-weight: 600; }
.art-interior .ledline { stroke: var(--brand); stroke-width: .9; opacity: .8; }
.page-art-tall { width: 30%; }
