/* Mulia Studio · web radial
   Paleta oficial estricta (los colores pintados del brandbook), Outfit + Roshelia.
   Sin destellos ni brillos: profundidad con sombra suave y grano de papel. */

@font-face { font-family: 'Outfit'; src: url('../fonts/Outfit-VariableFont_wght.ttf') format('truetype'); font-weight: 100 900; font-display: swap; }
/* Roshelia solo trae letras: signos y números caen a Outfit por unicode-range */
@font-face { font-family: 'Rosh'; src: url('../fonts/Rosheila.ttf') format('truetype'); font-display: swap;
  unicode-range: U+0041-005A, U+0061-007A, U+00C0-00FF, U+0020; }

:root {
  --navy: #2F3A4C;
  --niebla: #E7E7E7;
  --sand: #B59876;
  --arena: #FFE8CE;
  --blanco: #FFFFFF;
  --gris: #A6A6A6;
  --obsidiana: #0D0D0D;

  --bg: var(--niebla);
  --ink: var(--navy);
  --ink-2: rgba(47, 58, 76, .62);
  --ink-3: rgba(47, 58, 76, .34);
  --line: rgba(47, 58, 76, .22);
  --accent: var(--sand);

  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
  --gut: clamp(16px, 3.2vw, 44px);
  --head: 76px;
  font-synthesis: none;
}

[data-theme="niebla"]    { --bg: var(--niebla); }
[data-theme="arena"]     { --bg: var(--arena); }
[data-theme="blanco"]    { --bg: var(--blanco); }
[data-theme="sand"]      { --bg: var(--sand); --ink-2: rgba(47,58,76,.78); --ink-3: rgba(47,58,76,.45); --line: rgba(47,58,76,.3); --accent: var(--navy); }
[data-theme="navy"]      { --bg: var(--navy); --ink: var(--blanco); --ink-2: rgba(255,255,255,.7); --ink-3: rgba(255,255,255,.36); --line: rgba(255,255,255,.2); }
[data-theme="obsidiana"] { --bg: var(--obsidiana); --ink: var(--blanco); --ink-2: rgba(255,255,255,.7); --ink-3: rgba(255,255,255,.34); --line: rgba(255,255,255,.18); }

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--niebla);
  color: var(--navy);
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
  overscroll-behavior: none;
  -webkit-tap-highlight-color: transparent;
}
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rosh { font-family: 'Rosh', 'Outfit', sans-serif; font-weight: 400; color: var(--accent); letter-spacing: .01em; }
:focus-visible { outline: 2px solid var(--sand); outline-offset: 4px; border-radius: 6px; }

/* Grano de papel y líneas orgánicas de fondo (entran y salen de pantalla) */
.grain { position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .07; mix-blend-mode: multiply; }
.bg-lines { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.bg-lines path { fill: none; stroke: var(--gris); stroke-width: 1; opacity: .55; }

/* ---------- Cromo ---------- */
.chrome {
  position: fixed; inset: 0 0 auto 0; height: var(--head); z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gut); pointer-events: none;
}
.chrome > * { pointer-events: auto; }
/* Conjunto de marca con la geometría del brandbook (medida en la portada y en «El logo»),
   todo en función de H = altura de «mulia»: m. = 1.086H y sube .043H sobre «mulia»;
   separaciones de .61H; descriptor de tres líneas entre .495H y .962H. */
.lockup { --H: clamp(32px, 2.7vw, 44px); display: flex; align-items: flex-start; text-decoration: none; height: calc(var(--H) * 1.09); }
.lockup .lk-m { height: calc(var(--H) * 1.086); width: auto; flex: none; }
.lockup .lk-w { height: var(--H); width: auto; flex: none; margin: calc(var(--H) * .043) 0 0 calc(var(--H) * .61); }
.lk-sub {
  flex: none; margin: calc(var(--H) * .043) 0 0 calc(var(--H) * .61);
  font-size: calc(var(--H) * .155); line-height: calc(var(--H) * .1787); letter-spacing: -.03em;
  text-transform: uppercase; font-weight: 400; color: var(--navy); white-space: nowrap;
  transform: translateY(calc(var(--H) * .458));
}
.on-dark { display: none !important; }
body.dark .on-dark { display: block !important; }
body.dark .on-light { display: none !important; }
body.dark .chrome-r { color: rgba(255,255,255,.7); }
body.dark .lk-sub { color: #fff; }
.chrome-r { display: flex; align-items: center; gap: 22px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; color: var(--ink-2); }
.counter { font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.counter b { font-weight: 700; color: var(--navy); }
body.dark .counter b { color: #fff; }
.counter i { font-style: normal; margin: 0 4px; opacity: .5; }
body.in-view .counter { opacity: 0; }

/* ---------- INICIO ---------- */
.home { position: fixed; inset: 0; z-index: 1; overflow: hidden; touch-action: none; }
.home-left {
  position: absolute; left: var(--gut); top: var(--head); bottom: 70px;
  width: min(46vw, 640px); display: flex; flex-direction: column; justify-content: center; gap: clamp(18px, 3.2vh, 34px);
  z-index: 3; pointer-events: none;
}
.disc { --d: min(50vh, 34vw, 470px); position: relative; width: var(--d); height: var(--d); pointer-events: auto; }
.disc-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.disc-svg .tk { stroke: var(--navy); stroke-width: .8; opacity: .55; }
.disc-svg .tk.mj { stroke-width: 1.4; opacity: .9; }
.disc-svg .rim { fill: none; stroke: var(--navy); stroke-width: .8; opacity: .35; }
.disc-svg .face { fill: var(--blanco); stroke: none; }
.disc-svg .nm { font-family: 'Outfit'; font-size: 9.5px; font-weight: 500; letter-spacing: .2em; fill: var(--ink-3); text-transform: uppercase; transition: fill .25s ease; }
.disc-svg .nm.on { fill: var(--navy); font-weight: 700; }
.disc-core {
  position: absolute; inset: 22%; border-radius: 50%;
  display: grid; place-items: center; will-change: transform;
}
.disc-core img { width: 78%; height: auto; user-select: none; -webkit-user-drag: none; }
.disc-pointer { position: absolute; right: -26px; top: 50%; width: 22px; height: 22px; margin-top: -11px; fill: var(--sand); }
.home-note { display: none; }
.on-sand { display: none !important; }
body[data-vtheme="sand"] .on-sand { display: block !important; }
body[data-vtheme="sand"] .lk-m:not(.on-sand), body[data-vtheme="sand"] .back-disc .on-light { display: none !important; }
.home-copy { pointer-events: auto; }
.home-copy .h-display { max-width: 10em; }
.home-copy .lede { max-width: 38ch; margin-top: 26px; }
.disc { flex: none; }
.wheel-svg .rimw { fill: none; stroke: var(--navy); stroke-width: 1; opacity: .22; }
.wheel-svg .rimw.in { stroke-dasharray: 2 7; opacity: .3; }
.h-display {
  margin: 0; font-weight: 700; font-size: clamp(30px, 4.1vw, 62px); line-height: .98; letter-spacing: -.035em;
}
.h-display .rosh { font-size: 1.08em; letter-spacing: 0; }
.lede { margin: 14px 0 0; font-size: clamp(14px, 1.15vw, 17px); line-height: 1.5; color: var(--ink-2); max-width: 40ch; }

.wheel { position: absolute; inset: 0; z-index: 2; cursor: grab; outline: none; }
.wheel.is-dragging { cursor: grabbing; }
.wheel-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.wheel-svg .tk { stroke: var(--navy); stroke-width: 1; opacity: .38; }
.wheel-svg .tk.mj { opacity: .75; stroke-width: 1.3; }
.wheel-svg .dim { fill: none; stroke: var(--navy); stroke-width: .7; opacity: .35; }
.wheel-svg .dimt { font-size: 9px; letter-spacing: .14em; fill: var(--ink-3); font-weight: 500; }
.wheel-items { position: absolute; inset: 0; pointer-events: none; }

.w-arm { position: absolute; left: 0; top: 0; width: 0; height: 0; will-change: transform; }
.w-arm > * { position: absolute; left: 0; top: 0; }
.w-label {
  white-space: nowrap; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; color: var(--navy);
  transform-origin: 0 50%;
}
.w-label b { font-weight: 700; }
.w-st {
  pointer-events: auto; display: grid; place-items: center; transform-origin: 0 0;
  transition: filter .3s ease;
}
.w-st:active .st-in { transform: scale(.96); }
.st-in { transition: transform .16s var(--ease-out); display: grid; place-items: center; }
.w-note { width: 210px; font-size: 12.5px; line-height: 1.38; color: var(--ink-2); pointer-events: none; }
/* bajo la estampa cruza la línea punteada del anillo: un fondo del color de la página la tapa */
.w-note.below { background: var(--niebla); padding: 4px 10px; border-radius: 10px; }

/* Estampas */
.st-photo { width: var(--st); height: var(--st); border-radius: 50%; overflow: hidden; border: 4px solid #fff; box-shadow: 0 10px 28px -12px rgba(47,58,76,.55); background: var(--niebla); }
.st-photo img { width: 100%; height: 100%; object-fit: cover; }
.st-stack { display: flex; align-items: center; }
.st-stack .st-photo { width: calc(var(--st) * .72); height: calc(var(--st) * .72); }
.st-stack .st-photo + .st-photo { margin-left: calc(var(--st) * -.3); }
.st-stack .st-photo:nth-child(2) { transform: translateY(-8%); }
/* tres servicios apilados: la estampa mide casi lo mismo que las circulares y no tapa rótulo ni nota */
.st-pill {
  border: 2px solid var(--navy); border-radius: 26px; padding: .8em 1.15em; white-space: nowrap; text-align: center;
  font-size: calc(var(--st) * .14); line-height: 1.32; font-weight: 600; letter-spacing: -.01em; background: rgba(255,255,255,.6);
}
.st-pill span { display: block; } .st-pill i { display: none; }
.st-word { font-family: 'Rosh', 'Outfit'; font-size: calc(var(--st) * .36); color: var(--navy); white-space: nowrap; line-height: 1; position: relative; padding-bottom: .18em; }
.st-word svg { position: absolute; left: -4%; bottom: -.1em; width: 108%; height: .32em; overflow: visible; }
.st-word svg path { fill: none; stroke: var(--sand); stroke-width: 3; stroke-linecap: round; filter: url(#wob); }
.st-badge {
  width: var(--st); height: var(--st); border-radius: 50%; background: var(--navy); color: #fff; position: relative;
  display: grid; place-items: center; box-shadow: 0 12px 30px -14px rgba(47,58,76,.8);
}
.st-badge svg { position: absolute; inset: 6%; width: 88%; height: 88%; }
.st-badge text { fill: #fff; font-size: 12.5px; letter-spacing: .26em; font-weight: 600; text-transform: uppercase; }
.st-badge .lupa { width: 34%; height: 34%; stroke: var(--sand); fill: none; stroke-width: 2.4; position: static; }
.st-iso { width: var(--st); height: var(--st); border-radius: 50%; background: var(--sand); display: grid; place-items: center; box-shadow: 0 12px 30px -14px rgba(47,58,76,.6); }
.st-iso img { width: 64%; }
.st-glyph { width: var(--st); height: var(--st); border-radius: 50%; border: 2px solid var(--navy); display: grid; place-items: center; font-weight: 800; font-size: calc(var(--st) * .58); line-height: 1; background: #fff; }

.home-scr { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 4; overflow: visible; }
.scr { fill: none; stroke-linecap: round; stroke-linejoin: round; filter: url(#wob); }

.home-foot {
  position: absolute; left: var(--gut); right: var(--gut); bottom: 22px; z-index: 5; pointer-events: none;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; color: var(--ink-2);
}
.hint { display: inline-flex; align-items: center; gap: 10px; }
.h-m { display: none; }
.hint svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.open-hint { color: var(--navy); font-weight: 700; transition: opacity .25s ease, transform .25s var(--ease-out); }
.open-hint.off { opacity: 0; transform: translateY(4px); }

/* ---------- VISTAS ---------- */
.views { position: fixed; inset: 0; z-index: 20; pointer-events: none; }
.views > .back, .views > .vnav, .views > .vbar { pointer-events: auto; }
.view {
  position: absolute; inset: 0; background: var(--bg); color: var(--ink); pointer-events: auto;
  clip-path: circle(0 at 50% 50%); will-change: clip-path; overflow: hidden;
}
.view[hidden] { display: block; visibility: hidden; }
.view .eyebrow { margin: 0 0 18px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; color: var(--ink-2); }
.h-xl { margin: 0; font-weight: 700; font-size: clamp(32px, 4.6vw, 72px); line-height: .98; letter-spacing: -.04em; max-width: 18ch; }
.h-xl .rosh { letter-spacing: 0; }
.v-scroll { position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  /* arriba se desvanece bajo el logo; abajo, antes de llegar a la barra de navegación */
  -webkit-mask: linear-gradient(to bottom, transparent 0, #000 calc(var(--head) + 10px), #000 calc(100% - 150px), transparent calc(100% - 86px));
  mask: linear-gradient(to bottom, transparent 0, #000 calc(var(--head) + 10px), #000 calc(100% - 150px), transparent calc(100% - 86px)); }
.v-inner { max-width: 1240px; margin: 0 auto; padding: calc(var(--head) + 64px) var(--gut) 170px; position: relative; }
.view .scr-layer { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 3; }

.back {
  position: fixed; left: var(--gut); bottom: 22px; z-index: 30; display: none; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--navy);
}
body.dark .back { color: #fff; }
body.in-view .back { display: inline-flex; }
.back-disc { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: transform .5s var(--ease-out); background: rgba(255,255,255,.35); }
body.dark .back-disc { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.25); }
.back-disc img { width: 64%; }
.back:active .back-disc { transform: scale(.95); }
@media (hover: hover) and (pointer: fine) { .back:hover .back-disc { transform: rotate(-30deg); } }

.vnav {
  position: fixed; right: var(--gut); bottom: 22px; z-index: 30; display: none; gap: 6px; align-items: center;
}
body.in-view .vnav { display: flex; }
.vnav button {
  white-space: nowrap; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; padding: 9px 12px; border-radius: 999px;
  color: var(--navy); border: 1px solid transparent; transition: border-color .2s ease, background-color .2s ease;
}
body.dark .vnav button { color: #fff; }
.bt-m { display: none; }

/* Anterior / Siguiente: siempre a la vista, en la esquina inferior derecha */
.vbar { position: fixed; right: var(--gut); bottom: 22px; z-index: 30; display: none; gap: 10px; align-items: center; }
body.in-view .vbar { display: flex; }
.vbar button { height: 52px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
  transition: transform .16s var(--ease-out), background-color .2s ease, border-color .2s ease; }
.vbar button:active { transform: scale(.96); }
.vbar svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.vb-prev { width: 52px; border: 1px solid var(--line); color: var(--navy); background: rgba(255,255,255,.35); }
.vb-next { gap: 14px; padding: 0 16px 0 24px; background: var(--navy); color: #fff; }
.vb-txt { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; text-align: left; }
.vb-k { font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; opacity: .7; }
.vb-l { font-size: 14px; font-weight: 600; letter-spacing: -.005em; white-space: nowrap; }
body.dark .vb-prev { color: #fff; border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.06); }
body.dark .vb-next { background: #fff; color: var(--navy); }
@media (hover: hover) and (pointer: fine) {
  .vb-prev:hover { background: rgba(127,127,127,.14); }
  .vb-next:hover .vb-txt + svg { transform: translateX(2px); }
  .vb-next svg { transition: transform .2s var(--ease-out); }
}
/* la lista de secciones va al centro solo si cabe entre «Volver» y «Siguiente» */
.vnav { left: 50%; right: auto; transform: translateX(-50%); height: 52px; }
body.in-view .vnav.nofit { display: none; }
.vnav button[aria-current="true"] { border-color: currentColor; }
@media (hover: hover) and (pointer: fine) { .vnav button:hover { background: rgba(127,127,127,.12); } }

.btn-next, .btn-main, .btn-ghost {
  display: inline-flex; align-items: center; gap: 12px; padding: 16px 26px; border-radius: 999px; text-decoration: none;
  font-weight: 600; font-size: 15px; letter-spacing: -.005em; transition: transform .16s var(--ease-out), background-color .2s ease;
}
.btn-next { background: var(--navy); color: #fff; }
[data-theme="navy"] .btn-next, [data-theme="obsidiana"] .btn-next { background: var(--sand); color: var(--obsidiana); }
.btn-main { background: var(--sand); color: var(--obsidiana); }
.btn-ghost { border: 1px solid var(--line); }
.btn-next:active, .btn-main:active, .btn-ghost:active { transform: scale(.97); }
.v-next { margin-top: 70px; }

/* Estudio */
.est-grid { display: grid; grid-template-columns: minmax(220px, 380px) 1fr; gap: clamp(28px, 6vw, 90px); margin-top: 60px; align-items: center; }
.est-portrait { margin: 0 0 40px; position: relative; aspect-ratio: 1; }
.est-portrait img { position: absolute; inset: 12%; width: 76%; height: 76%; object-fit: cover; border-radius: 50%; }
.est-portrait figcaption { position: absolute; left: 50%; bottom: -38px; transform: translateX(-50%); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; background: var(--navy); color: #fff; padding: 7px 14px; border-radius: 999px; white-space: nowrap; }
.ring-text { position: absolute; inset: 0; }
.ring-text svg { width: 100%; height: 100%; }
.ring-text text { font-size: 10.5px; letter-spacing: .32em; font-weight: 600; fill: var(--navy); }
.est-text p { font-size: clamp(15px, 1.25vw, 18px); line-height: 1.6; color: var(--ink-2); margin: 0 0 16px; max-width: 56ch; }
.est-text p.big { font-size: clamp(20px, 2vw, 28px); line-height: 1.32; color: var(--ink); font-weight: 400; letter-spacing: -.01em; }
.est-text strong { color: var(--ink); font-weight: 600; }
.verbs { color: var(--ink); font-weight: 500; position: relative; }
.duality { display: grid; grid-template-columns: 1fr 60px 1fr; gap: 20px; margin-top: 110px; align-items: stretch; }
.dual { padding: 34px; border-radius: 28px; background: rgba(255,255,255,.55); }
.dual img { height: 54px; width: auto; margin-bottom: 24px; }
.dual h3 { margin: 0 0 10px; font-size: clamp(22px, 2.2vw, 32px); font-weight: 700; letter-spacing: -.03em; }
.dual.line h3 { font-weight: 300; letter-spacing: .01em; }
.dual p { margin: 0; color: var(--ink-2); line-height: 1.55; font-size: 15px; }
.dual-axis { position: relative; display: grid; place-items: center; }
.dual-axis svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.dual-axis path { stroke: var(--line); stroke-dasharray: 3 5; }
.dual-axis span { position: relative; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 300; font-size: 20px; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.cmp { padding: 30px 34px; border-radius: 28px; border: 1px solid var(--line); }
.cmp.yes { background: var(--navy); color: #fff; border-color: var(--navy); }
.cmp h4 { margin: 0 0 14px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; }
.cmp ul { margin: 0; padding: 0; list-style: none; }
.cmp li { padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.cmp.yes li { border-color: rgba(255,255,255,.18); }
.cmp.no li { color: var(--ink-2); text-decoration: line-through; text-decoration-color: var(--sand); text-decoration-thickness: 1.5px; }

/* Proyectos */
.pj { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(300px, 40%) 1fr; }
.pj-left {
  padding: calc(var(--head) + 30px) 0 96px var(--gut); display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 2;
}
/* computadoras de poca altura: la ficha se compacta para no llegar a la barra de navegación */
@media (max-height: 800px) and (min-width: 861px) and (min-aspect-ratio: 1/1) {
  .pj-left { padding-top: calc(var(--head) + 14px); }
  .pj-name { font-size: clamp(34px, 4.6vw, 66px); }
  .pj-type { margin-top: 12px; }
  .pj-cap { margin-top: 14px; font-size: clamp(16px, 1.5vw, 21px); }
  .pj-txt { margin-top: 14px; }
  .pj-txt dt { margin-top: 10px; }
  .pj-txt dd { font-size: 13.5px; line-height: 1.5; }
  .pj-nav { margin-top: 18px; }
}
.pj-name { margin: 0; font-size: clamp(38px, 5.4vw, 86px); line-height: .92; letter-spacing: -.045em; font-weight: 800; }
.pj-type { margin: 16px 0 0; display: inline-flex; align-self: flex-start; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; color: var(--ink-2); }
.pj-cap { margin: 22px 0 0; font-size: clamp(18px, 1.7vw, 24px); line-height: 1.25; font-weight: 500; letter-spacing: -.015em; max-width: 24ch; }
.pj-acc { display: table; font-size: 1.7em; margin-top: 4px; line-height: 1; }
.pj-facts { display: flex; gap: 28px; margin-top: 18px; }
.pj-facts:empty { display: none; }
.pj-facts div b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.03em; }
.pj-facts div span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); font-weight: 600; }
.pj-txt { margin: 26px 0 0; max-width: 46ch; }
.pj-txt dt { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--sand); margin-top: 14px; }
.pj-txt dd { margin: 6px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.pj-nav { display: flex; align-items: center; gap: 10px; margin-top: 30px; }
.pj-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); font-size: 18px; transition: transform .16s var(--ease-out), background-color .2s ease; }
.pj-btn:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) { .pj-btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); } }
.pj-hint { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; margin-left: 8px; }
.pj-left.swap > :not(.pj-nav):not(.pj-chips) { animation: swapIn .55s var(--ease-out) both; }
.pj-left.swap > :nth-child(2) { animation-delay: .03s; } .pj-left.swap > :nth-child(3) { animation-delay: .06s; }
.pj-left.swap > :nth-child(4) { animation-delay: .09s; } .pj-left.swap > :nth-child(6) { animation-delay: .12s; }
@keyframes swapIn { from { transform: translateY(14px); filter: blur(6px); opacity: .25; } to { transform: none; filter: none; opacity: 1; } }

.pj-stage { position: relative; touch-action: none; cursor: grab; }
.pj-stage.is-dragging { cursor: grabbing; }
.lens {
  --L: min(62vh, 40vw, 640px); position: absolute; left: 50%; top: 50%; width: var(--L); height: var(--L); margin: calc(var(--L) / -2) 0 0 calc(var(--L) / -2);
  border-radius: 50%; overflow: hidden; background: var(--navy); box-shadow: 0 30px 70px -40px rgba(47,58,76,.7); isolation: isolate;
}
.lens-layer { position: absolute; inset: 0; }
.lens-layer img, .lens-layer video { width: 100%; height: 100%; object-fit: cover; display: block; }
@property --sw { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.lens-layer.sweep { --sw: 0deg; -webkit-mask: conic-gradient(from 0deg, #000 var(--sw), transparent var(--sw)); mask: conic-gradient(from 0deg, #000 var(--sw), transparent var(--sw)); }
.lens-hand { position: absolute; left: 50%; top: 0; width: 2px; height: 50%; margin-left: -1px; background: var(--arena); transform-origin: 50% 100%; opacity: 0; z-index: 3; }
.orbit-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.orbit-svg .tk { stroke: var(--navy); stroke-width: 1; opacity: .35; }
.orbit-svg .tk.mj { opacity: .8; stroke-width: 1.4; }
.orbit-svg .pn { font-size: 11px; font-weight: 700; letter-spacing: .12em; fill: var(--ink-3); }
.orbit-svg .pn.on { fill: var(--navy); }
.orbit { position: absolute; inset: 0; pointer-events: none; }
.th {
  /* --t lo fija el JS en .orbit para que vecinas nunca se toquen */
  position: absolute; left: 0; top: 0; width: var(--t, 56px); height: var(--t, 56px); margin: calc(var(--t, 56px) / -2) 0 0 calc(var(--t, 56px) / -2); border-radius: 50%; overflow: hidden;
  border: 3px solid #fff; background: var(--niebla); pointer-events: auto; will-change: transform; box-shadow: 0 6px 16px -8px rgba(47,58,76,.5);
}
.th img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.lens::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 34%; z-index: 2; pointer-events: none;
  background: linear-gradient(to top, rgba(13,13,13,.62), rgba(13,13,13,0)); }
.lens-nav {
  position: absolute; top: 50%; z-index: 5; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; background: rgba(13,13,13,.28); border: 1px solid rgba(255,255,255,.35);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: transform .16s var(--ease-out), background-color .2s ease;
}
.lens-nav.prev { left: 5%; } .lens-nav.next { right: 5%; }
.lens-nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lens-nav:active { transform: scale(.92); }
@media (hover: hover) and (pointer: fine) { .lens-nav { opacity: 0; } .lens:hover .lens-nav { opacity: 1; } .lens-nav:hover { background: rgba(13,13,13,.5); } }
.pj-chips { display: none; }
.lens { cursor: zoom-in; }
.lens-zoom {
  position: absolute; left: 50%; top: 7%; z-index: 5; width: 40px; height: 40px; margin-left: -20px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; background: rgba(13,13,13,.32); border: 1px solid rgba(255,255,255,.4);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: transform .16s var(--ease-out), background-color .2s ease;
}
.lens-zoom svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lens-zoom:active { transform: scale(.92); }
@media (hover: hover) and (pointer: fine) { .lens-zoom:hover { background: rgba(13,13,13,.55); } }

/* ---------- Visor de un render ---------- */
.viewer { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; touch-action: none; overscroll-behavior: contain; }
.viewer[hidden] { display: none; }
.viewer:focus { outline: none; }
.vw-bg { position: absolute; inset: 0; background: rgba(13,13,13,.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.vw-fig { position: relative; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.vw-media { position: relative; overflow: hidden; border-radius: 14px; background: var(--navy); box-shadow: 0 40px 90px -40px rgba(0,0,0,.8); will-change: transform, clip-path; cursor: default; }
.vw-media img, .vw-media video { display: block; width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.vw-cap { display: flex; align-items: center; gap: 12px; color: #fff; font-size: 15px; line-height: 1.35; max-width: min(92vw, 720px); text-align: center; flex-wrap: wrap; justify-content: center; }
.vw-cap .tag { white-space: nowrap; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; background: var(--sand); color: var(--obsidiana); padding: 5px 10px; border-radius: 999px; }
.vw-x {
  position: absolute; top: calc(var(--head) / 2 - 23px); right: var(--gut); width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.06); transition: transform .16s var(--ease-out), background-color .2s ease;
}
.vw-x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.vw-x:active { transform: scale(.92); }
@media (hover: hover) and (pointer: fine) { .vw-x:hover { background: rgba(255,255,255,.16); } }
.vw-hint { position: absolute; left: 0; right: 0; bottom: max(18px, env(safe-area-inset-bottom)); margin: 0; text-align: center; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: rgba(255,255,255,.55); pointer-events: none; }
.vw-hint .h-m { display: none; }
@media (max-width: 860px), (max-aspect-ratio: 1/1) { .vw-hint .h-d { display: none; } .vw-hint .h-m { display: inline; } .vw-cap { font-size: 13.5px; padding: 0 16px; } }
@media (prefers-reduced-transparency: reduce) { .vw-bg { background: var(--obsidiana); -webkit-backdrop-filter: none; backdrop-filter: none; } }
.lens-cap {
  position: absolute; left: 50%; bottom: 9%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px;
  max-width: 72%; text-align: center; font-size: 14px; line-height: 1.3; color: #fff; z-index: 4; pointer-events: none;
}
.lens-cap .tag { white-space: nowrap; font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; background: var(--sand); color: var(--obsidiana); padding: 5px 10px; border-radius: 999px; }
.lens-cap .cap-n { font-variant-numeric: tabular-nums; font-weight: 600; font-size: 11px; letter-spacing: .14em; color: rgba(255,255,255,.7); }

/* Dial genérico (servicios, proceso) */
.dialv { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; }
.dialv-text { padding: calc(var(--head) + 30px) var(--gut) 90px; display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 2; }
.v-servicios .dialv-text { padding-right: 0; }
.dialv-stage { position: relative; touch-action: none; cursor: grab; }
.dialv-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.dialv-svg .tk { stroke: var(--ink); stroke-width: 1; opacity: .3; }
.dialv-svg .tk.mj { opacity: .7; }
.dialv-svg .arc { fill: none; stroke: var(--sand); stroke-width: 6; stroke-linecap: round; }
.dialv-svg .ring { fill: none; stroke: var(--line); stroke-width: 1; }
.dialv-svg .hand { stroke: var(--sand); stroke-width: 2.4; stroke-linecap: round; }
.dialv-svg .hub { fill: var(--sand); }
.dialv-lens { position: absolute; left: 50%; top: 50%; width: var(--L); height: var(--L); margin: calc(var(--L) / -2) 0 0 calc(var(--L) / -2); border-radius: 50%; overflow: hidden; --L: min(46vh, 30vw); }
.dialv-lens img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s ease, transform .9s var(--ease-out); }
.dialv-lens img:not(.on) { opacity: 0; transform: scale(1.06) rotate(-4deg); }
.dialv-items { position: absolute; inset: 0; pointer-events: none; }
.dv-it {
  position: absolute; left: 0; top: 0; pointer-events: auto; white-space: nowrap; display: flex; align-items: baseline; gap: 10px;
  font-size: clamp(15px, 1.4vw, 21px); font-weight: 600; letter-spacing: -.01em; will-change: transform; padding: 8px;
}
.dv-it small { font-size: 11px; letter-spacing: .14em; font-weight: 700; color: var(--sand); }
.sv-n { font-size: 12px; letter-spacing: .2em; font-weight: 700; color: var(--sand); }
.sv-t { margin: 10px 0 0; font-size: clamp(40px, 5.6vw, 92px); font-weight: 800; letter-spacing: -.05em; line-height: .9; }
.sv-a { display: block; font-size: clamp(34px, 4vw, 64px); line-height: 1; margin-top: 4px; }
.sv-body { margin: 22px 0 0; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.6; color: var(--ink-2); max-width: 44ch; }
.sv-pts { list-style: none; padding: 0; margin: 22px 0 0; max-width: 44ch; }
.sv-pts li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); font-weight: 500; position: relative; }
.sv-pts svg { width: 22px; height: 22px; overflow: visible; flex: none; }
.sv-pts svg path { fill: none; stroke: var(--sand); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; filter: url(#wob); }
.dialv-text.swap > * { animation: swapIn .5s var(--ease-out) both; }
.dialv-text.swap > :nth-child(2) { animation-delay: .04s; } .dialv-text.swap > :nth-child(3) { animation-delay: .08s; } .dialv-text.swap > :nth-child(4) { animation-delay: .12s; }

.pr-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; pointer-events: none; }
.pr-center b { display: block; font-size: clamp(70px, 9vw, 150px); font-weight: 800; letter-spacing: -.06em; line-height: .85; font-variant-numeric: tabular-nums; }
.pr-center span { font-family: 'Rosh', 'Outfit'; color: var(--sand); font-size: clamp(30px, 3.2vw, 52px); }
.pr-out { margin: 22px 0 0; font-size: clamp(20px, 1.9vw, 28px); line-height: 1.3; font-weight: 500; letter-spacing: -.015em; max-width: 26ch; }

/* Auditoría */
.au { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1.05fr; }
.au-text { padding: calc(var(--head) + 30px) 0 90px var(--gut); display: flex; flex-direction: column; justify-content: center; }
.au-steps { list-style: none; padding: 0; margin: 30px 0 0; max-width: 46ch; counter-reset: s; }
.au-steps li { display: grid; grid-template-columns: 34px 1fr; gap: 8px 12px; padding: 14px 0; border-top: 1px solid var(--line); align-items: baseline; }
.au-steps li::before { counter-increment: s; content: '0' counter(s); font-weight: 700; font-size: 12px; letter-spacing: .1em; }
.au-steps li span { font-weight: 600; }
.au-steps li em { grid-column: 2; font-style: normal; color: var(--ink-2); font-size: 14px; }
.au-steps li.done em { color: var(--navy); font-weight: 500; }
.au-stage { position: relative; }
.au-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.au-svg .tk { stroke: var(--navy); stroke-width: 1; opacity: .35; }
.au-svg .ring { fill: rgba(255,255,255,.18); stroke: var(--navy); stroke-width: 1; opacity: .5; }
.au-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(260px, 60%); text-align: center; }
.au-center .q { font-size: clamp(22px, 2.2vw, 32px); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; }
.au-center .qn { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; margin-bottom: 10px; display: block; }
.au-opts { position: absolute; inset: 0; pointer-events: none; }
.au-opt {
  position: absolute; left: 0; top: 0; pointer-events: auto; background: var(--blanco); color: var(--navy); border-radius: 999px;
  padding: 12px 18px; font-weight: 600; font-size: 14px; white-space: nowrap; box-shadow: 0 10px 24px -14px rgba(47,58,76,.7);
  transition: transform .5s var(--ease-out), opacity .35s ease, background-color .2s ease, color .2s ease;
}
.au-opt:active { scale: .96; }
.au-opt.pick { background: var(--navy); color: #fff; }
@media (hover: hover) and (pointer: fine) { .au-opt:hover { background: var(--arena); } .au-opt.pick:hover { background: var(--navy); } }
.au-final { text-align: left; }
.au-final h3 { margin: 0 0 10px; font-size: 26px; letter-spacing: -.03em; }
.au-final p { margin: 0 0 18px; color: var(--ink-2); line-height: 1.5; font-size: 14.5px; }
.au-final .btn-main { background: var(--navy); color: #fff; }
.au-final .redo { display: block; margin-top: 14px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

/* Manifiesto */
.mf { max-width: 1080px; }
.mf-1 { font-size: clamp(30px, 4.2vw, 64px); font-weight: 300; letter-spacing: -.035em; line-height: 1.05; margin: 0; max-width: 20ch; }
.mf-strike { position: relative; font-weight: 700; }
.mf-2 { font-size: clamp(40px, 6vw, 96px); font-weight: 800; letter-spacing: -.05em; line-height: .95; margin: 22px 0 0; }
.mf-3 { font-size: clamp(17px, 1.5vw, 22px); line-height: 1.6; color: var(--ink-2); max-width: 52ch; margin: 44px 0 0; }
.mf-3 strong { color: #fff; font-weight: 500; }
.mf-4 { font-size: clamp(28px, 3.6vw, 56px); font-weight: 700; letter-spacing: -.03em; margin: 64px 0 0; }
.mf-4 .rosh { color: var(--sand); font-size: 1.25em; }

/* Preguntas */
.faq-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 100px); align-items: start; }
.faq-head { position: sticky; top: calc(var(--head) + 40px); }
.faq-it { border-top: 1px solid var(--line); }
.faq-it:last-child { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: grid; grid-template-columns: 46px 1fr 28px; align-items: center; gap: 12px; text-align: left; padding: 22px 0; font-size: clamp(16px, 1.4vw, 20px); font-weight: 600; letter-spacing: -.015em; }
.faq-n { position: relative; font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--sand); width: 38px; height: 38px; display: grid; place-items: center; }
.faq-n svg { position: absolute; inset: -6px; width: calc(100% + 12px); height: calc(100% + 12px); overflow: visible; }
.faq-x { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); position: relative; transition: transform .35s var(--ease-out), background-color .2s ease; }
.faq-x::before, .faq-x::after { content: ''; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: currentColor; margin: -.75px 0 0 -5px; }
.faq-x::after { transform: rotate(90deg); transition: transform .35s var(--ease-out); }
.faq-it.open .faq-x { transform: rotate(180deg); background: var(--navy); color: #fff; border-color: var(--navy); }
.faq-it.open .faq-x::after { transform: rotate(0deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease-out); }
.faq-it.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { margin: 0; padding: 0 40px 24px 58px; color: var(--ink-2); line-height: 1.6; font-size: 15.5px; }

/* Contacto */
.ct { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; padding: var(--head) var(--gut) 80px; gap: 40px; }
.ct-badge { position: relative; width: min(52vh, 36vw); aspect-ratio: 1; justify-self: center; }
.ct-badge svg { width: 100%; height: 100%; overflow: visible; }
.ct-badge text { fill: #fff; font-size: 11px; letter-spacing: .34em; font-weight: 600; }
.ct-badge .tk { stroke: #fff; opacity: .35; stroke-width: 1; }
.ct-badge img { position: absolute; left: 50%; top: 50%; width: 42%; transform: translate(-50%, -50%); }
.ct-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.ct-meta { list-style: none; padding: 0; margin: 40px 0 0; max-width: 50ch; }
.ct-meta li { display: grid; grid-template-columns: 110px 1fr; padding: 14px 0; border-top: 1px solid var(--line); font-size: 15px; }
.ct-meta span { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--sand); padding-top: 3px; }

/* Entrada de contenido de cada vista (la pone app.js) */
.view .r1, .view .r2, .view .r3 { transition: transform .9s var(--ease-out), opacity .7s ease; }
.view.pre .r1 { transform: translateY(26px); opacity: .001; }
.view.pre .r2 { transform: translateY(36px); opacity: .001; }
.view.pre .r3 { transform: translateY(44px); opacity: .001; }
.view .r2 { transition-delay: .08s; } .view .r3 { transition-delay: .16s; }

/* ---------- Laptop y escritorio: lectura más cómoda ---------- */
@media (min-width: 861px) and (min-aspect-ratio: 1/1) {
  .chrome-r, .home-foot, .back, .view .eyebrow, .pj-type, .pj-hint, .est-portrait figcaption { font-size: 12px; }
  .lede { font-size: clamp(16px, 1.3vw, 19px); }
  .w-label { font-size: 12px; }
  .w-note { font-size: 14px; line-height: 1.42; }
  .vnav button { font-size: 11.5px; }
  .vb-k { font-size: 10.5px; } .vb-l { font-size: 15px; }
  .est-text p { font-size: clamp(16px, 1.32vw, 19.5px); }
  .est-text p.big { font-size: clamp(22px, 2.1vw, 30px); }
  .dual p, .cmp li { font-size: 16.5px; } .cmp h4 { font-size: 14px; }
  .pj-cap { font-size: clamp(19px, 1.8vw, 25px); }
  .pj-txt dt { font-size: 11.5px; } .pj-txt dd { font-size: 16px; }
  .lens-cap { font-size: 15px; } .lens-cap .tag { font-size: 10.5px; } .lens-cap .cap-n { font-size: 12px; }
  .orbit-svg .pn { font-size: 12px; }
  .dv-it { font-size: clamp(16px, 1.5vw, 22px); } .dv-it small { font-size: 12px; }
  .sv-n { font-size: 13px; } .sv-body { font-size: clamp(16px, 1.32vw, 19.5px); } .sv-pts li { font-size: 17px; }
  .au-steps li em { font-size: 15.5px; } .au-opt { font-size: 15px; } .au-final p { font-size: 16px; } .au-center .qn { font-size: 12px; }
  .mf-3 { font-size: clamp(18px, 1.6vw, 23px); }
  .faq-q { font-size: clamp(17px, 1.5vw, 21px); } .faq-a p { font-size: 17px; }
  .ct-meta li { font-size: 16.5px; } .ct-meta span { font-size: 11.5px; }
  .vw-cap { font-size: 16px; } .vw-hint { font-size: 11.5px; }
}
@media (max-height: 800px) and (min-width: 861px) and (min-aspect-ratio: 1/1) {
  .pj-txt dd { font-size: 15px; }
}
/* pantallas muy bajas: las flechas de proyecto se van (quedan las miniaturas, los números y las flechas del lente) */
@media (max-height: 760px) and (min-width: 861px) and (min-aspect-ratio: 1/1) {
  .pj-nav { display: none; }
}

/* ---------- Celular / vertical ---------- */
@media (max-width: 860px), (max-aspect-ratio: 1/1) {
  :root { --head: 62px; }
  .loc { display: none; }
  .lockup { --H: 22px; }
  .lk-sub { display: none; } /* por debajo del tamaño mínimo legible del descriptor */
  .home-left { top: var(--head); bottom: auto; left: 0; right: 0; width: auto; height: auto; padding-top: 6px; padding-bottom: 0; flex-direction: row; align-items: center; justify-content: flex-start; gap: 18px; padding: 0 var(--gut); }
  .disc { --d: min(36vw, 26svh, 210px); flex: none; }
  .disc-pointer { right: auto; left: 50%; top: auto; bottom: -24px; margin: 0 0 0 -10px; transform: rotate(-90deg); width: 20px; height: 20px; }
  .h-display { font-size: clamp(26px, 7.6vw, 40px); }
  .lede { display: none; }
  .home-copy { max-width: none; }
  .w-note { display: none; }
  .h-d { display: none; } .h-m { display: inline; }
  .home-foot { justify-content: center; }
  /* estampas: ninguna rebasa ~1.3 veces su tamaño, para que el vecino quepa completo */
  .st-stack .st-photo { width: calc(var(--st) * .56); height: calc(var(--st) * .56); border-width: 3px; }
  .st-stack .st-photo + .st-photo { margin-left: calc(var(--st) * -.22); }
  .st-pill { font-size: calc(var(--st) * .135); border-radius: 24px; }
  .st-word { font-size: calc(var(--st) * .25); }
  .st-photo { border-width: 3px; }
  .w-label { font-size: 10.5px; }
  .home-note { display: flex; position: absolute; left: var(--gut); right: var(--gut); bottom: calc(max(14px, env(safe-area-inset-bottom)) + 54px); z-index: 5;
    flex-direction: column; align-items: center; gap: 16px; text-align: center; transition: opacity .25s ease, transform .35s var(--ease-out); }
  .home-note p { margin: 0; max-width: 30ch; text-wrap: balance; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
  .home-note .btn-next { padding: 13px 22px; font-size: 14px; }
  .home-note.off { opacity: 0; transform: translateY(6px); }
  .open-hint { display: none; }
  .home-foot { bottom: max(14px, env(safe-area-inset-bottom)); font-size: 10px; }
  .hint span, .hint { gap: 8px; }

  .back { bottom: max(14px, env(safe-area-inset-bottom)); }
  .back-disc { width: 46px; height: 46px; }
  .bt-d { display: none; } .bt-m { display: inline; }
  .vnav { display: none !important; }
  .vbar { bottom: max(14px, env(safe-area-inset-bottom)); gap: 8px; }
  .vbar button { height: 46px; }
  .vb-prev { width: 46px; }
  .vb-next { padding: 0 12px 0 18px; gap: 10px; }
  .vb-l { font-size: 13px; }
  .v-inner { padding-top: calc(var(--head) + 30px); padding-bottom: 150px; }
  .est-grid { grid-template-columns: 1fr; margin-top: 34px; }
  .est-portrait { width: min(320px, 80vw); justify-self: center; }
  .duality { grid-template-columns: 1fr; margin-top: 60px; }
  .dual-axis { height: 40px; }
  .dual-axis svg { display: none; }
  .compare { grid-template-columns: 1fr; }

  .pj { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; overflow-y: auto; overflow-x: hidden; }
  .pj > *, .dialv > *, .au > *, .ct > * { min-width: 0; }
  .pj-stage { height: min(112vw, 64svh); margin-top: var(--head); order: -1; touch-action: pan-y; }
  .lens { --L: min(58vw, 40svh); }
  .pj-left { padding: 10px var(--gut) 140px; justify-content: flex-start; }
  .pj-name { font-size: clamp(36px, 11vw, 54px); }
  .pj-hint { display: none; }
  .pj-chips {
    display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gut) * -1) 18px; padding: 2px var(--gut);
    scroll-snap-type: x proximity; -webkit-mask: linear-gradient(90deg, transparent, #000 var(--gut), #000 calc(100% - var(--gut)), transparent);
    mask: linear-gradient(90deg, transparent, #000 var(--gut), #000 calc(100% - var(--gut)), transparent);
  }
  .pj-chips::-webkit-scrollbar { display: none; }
  .pj-chips button {
    flex: none; scroll-snap-align: center; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; font-weight: 600;
    color: var(--ink-2); white-space: nowrap; transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .16s var(--ease-out);
  }
  .pj-chips button[aria-current="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
  .pj-chips button:active { transform: scale(.96); }
  .lens-nav { width: 38px; height: 38px; margin-top: -19px; }
  .pj-nav { display: none; }
  .lens-cap { bottom: 8%; font-size: 11.5px; gap: 5px; max-width: 76%; }
  .lens-cap .tag { white-space: nowrap; font-size: 8.5px; padding: 4px 8px; }
  .pj, .dialv, .au, .ct {
    /* el texto se desvanece antes de llegar a la barra de abajo (que empieza a ~60 px del borde) */
    -webkit-mask: linear-gradient(to bottom, #000 calc(100% - 128px), transparent calc(100% - 66px));
    mask: linear-gradient(to bottom, #000 calc(100% - 128px), transparent calc(100% - 66px)); }

  .dialv, .au { grid-template-columns: 1fr; grid-template-rows: auto 1fr; overflow-y: auto; }
  .dialv-stage, .au-stage { height: min(100vw, 52svh); margin-top: var(--head); order: -1; touch-action: pan-y; }
  .dialv-text, .au-text { padding: 6px var(--gut) 140px; justify-content: flex-start; }
  .dialv-lens { --L: min(40vw, 22svh); }
  .sv-t { font-size: clamp(38px, 12vw, 60px); }
  .pr-center b { font-size: clamp(42px, 12.5vw, 66px); }
  .pr-center span { font-size: clamp(17px, 5.2vw, 28px); }
  /* en el anillo chico la manecilla chocaría con el número: la etapa ya la dicen el número y la etiqueta en blanco */
  .dialv-svg .hand, .dialv-svg .hub { display: none; }
  /* número arriba de la palabra: la etiqueta queda angosta y no llega al anillo */
  #v-proceso .dv-it { flex-direction: column; align-items: center; gap: 1px; line-height: 1.1; padding: 6px; }
  .au-opt { padding: 9px 13px; font-size: 12.5px; }
  .au-center { width: min(44%, 170px); }
  .au-center .q { font-size: 15px; text-wrap: balance; }
  .au-center .qn { font-size: 10px; letter-spacing: .16em; margin-bottom: 6px; }

  .faq-wrap { grid-template-columns: 1fr; }
  .faq-head { position: static; }
  .faq-a p { padding-left: 0; padding-right: 0; }

  .ct { grid-template-columns: 1fr; overflow-y: auto; align-content: start; padding-top: calc(var(--head) + 10px); padding-bottom: 140px; }
  .ct-badge { width: min(54vw, 30svh); }
}

@media (prefers-reduced-motion: reduce) {
  .view .r1, .view .r2, .view .r3 { transition: opacity .3s ease; transform: none !important; }
  .pj-left.swap > *, .dialv-text.swap > * { animation: none; }
}
@media (prefers-reduced-transparency: reduce) { .dual { background: #fff; } }
