/* yoguinna.com · el cerebro al centro y cuatro lados (29 nov 2026): izquierda oráculo, derecha revista, abajo la app, arriba el shop.
   La cámara se mueve; el cerebro queda asomado en cada lado y es el camino de vuelta. Movimiento: solo transform y opacity. */
:root {
  --n: #0e0b19; --marfil: #F4F0EA; --papel: #FBF7F0; --oro: #E9B44C; --oro-b: #F6D488; --burg: #7A1F3D; --burg-h: #4A1026;
  --durazno: #E0B9A6; --lila: #CDBDF0; --cielo: #B9DCF2; --mate: #101112; --ambar: #D5A565;
  --ac: var(--oro-b); --fg: var(--marfil); --mute: rgba(244, 240, 234, .74); --line: rgba(244, 240, 234, .17); --bg: var(--n);
  --serif: "Fraunces", Georgia, serif; --sans: "Sora", system-ui, sans-serif; --firma: "Bodoni Moda", Didot, serif; --mano: "Caveat", cursive;
  --pad: clamp(20px, 5vw, 76px); --ease: cubic-bezier(.22, .8, .24, 1); color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }

.wm { position: relative; display: block; width: max-content; } .wm::after { content: ""; position: absolute; left: 18.75%; top: -3%; width: 1px; height: 106%; background: currentColor; transform: rotate(25.2deg); } .wm img { width: 128px; } .top-r { display: flex; gap: 24px; }
.sheet { position: fixed; inset: 0; z-index: 60; display: flex; align-items: flex-end; background: rgba(5, 4, 10, .74); opacity: 0; transition: opacity .35s; } .sheet.on { opacity: 1; } .sheet .box { position: relative; width: 100%; max-height: 94svh; overflow: auto; background: #120e20; padding: 74px var(--pad) calc(34px + env(safe-area-inset-bottom)); transform: translate3d(0, 34px, 0); transition: transform .5s var(--ease); } .sheet.on .box { transform: none; } .sheet h3 { margin: 0; font: 300 38px/1.05 var(--serif); letter-spacing: -.015em; font-variation-settings: "opsz" 144; } .sheet h3 em { color: var(--oro-b); font-weight: 300; } .sheet form { margin-top: 22px; } .sheet label.f { display: block; border-bottom: 1px solid var(--line); padding-top: 8px; font-size: 12.5px; color: var(--mute); } .sheet label.f input, .sheet textarea { color: var(--marfil); padding: 6px 0 12px; } .sheet textarea { min-height: 70px; resize: vertical; } .sheet .duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; } .sheet .go { margin-top: 18px; } .x { position: absolute; right: var(--pad); top: calc(16px + env(safe-area-inset-top)); }
.ok { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; font-size: 13px; line-height: 1.5; color: var(--mute); } .ok input { margin: 3px 0 0; accent-color: var(--oro); } .ok a { text-decoration: underline; text-underline-offset: 3px; }
.msg { min-height: 1.5em; margin-top: 12px; font-size: 15px; color: var(--ac); } .msg.err { color: #f3a5a5; }
::placeholder { color: rgba(244, 240, 234, .5); opacity: 1; } .ask .row:focus-within, .sheet label.f:focus-within { border-color: var(--ac); }
html, body { margin: 0; height: 100%; overflow: hidden; overscroll-behavior: none; background: var(--n); -webkit-text-size-adjust: 100%; } body { position: fixed; inset: 0; color: var(--marfil); font: 300 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; } a { color: inherit; text-decoration: none; } i { display: block; } h1, h2, p, ul { margin: 0; padding: 0; list-style: none; } [hidden] { display: none !important; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; } :focus-visible { outline: 1px solid var(--ac); outline-offset: 6px; } h1:focus, h2:focus { outline: 0; }
.view { --sp: 1.15s; --e: cubic-bezier(.62, .02, .18, 1); position: absolute; inset: 0; overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none; isolation: isolate; } .view img { -webkit-user-drag: none; pointer-events: none; }
.skies, .skies i, .stars { position: absolute; inset: 0; width: 100%; height: 100%; } .skies i { opacity: 0; transition: opacity var(--sp) ease; }
.k-inicio { background: radial-gradient(60vmax 60vmax at 50% 44%, #241a4a, #0e0b19 72%); } .k-oraculo { background: radial-gradient(60vmax 60vmax at 45% 45%, #1d1822, #0a0a0a 70%); } .k-revista { background: radial-gradient(90vmax 90vmax at 60% 35%, #8c2a4a, #5f1731 50%, #380b1d); } .k-shop { background: #101112; } .k-app { background: radial-gradient(70vmax 70vmax at 70% 40%, #1e1740, #0e0b19 70%); }
.view[data-at=inicio] .k-inicio, .view[data-at=oraculo] .k-oraculo, .view[data-at=revista] .k-revista, .view[data-at=shop] .k-shop, .view[data-at=app] .k-app { opacity: 1; }
.brainw { position: absolute; left: 50%; top: 44%; width: var(--bs); height: var(--bs); margin: calc(var(--bs) / -2) 0 0 calc(var(--bs) / -2); will-change: transform; pointer-events: none; } .view { --bs: min(104vw, 62vh); } .anim .brainw, .anim .world { transition: transform var(--sp) var(--e); }
.brain { position: absolute; inset: 0; animation: drift 11s ease-in-out infinite; } @keyframes drift { 0%, 100% { transform: translate3d(0, 0, 0); } 25% { transform: translate3d(calc(var(--bs) * -.085), 0, 0); } 75% { transform: translate3d(calc(var(--bs) * .085), 0, 0); } } .view:not([data-at=inicio]) .brain { animation-play-state: paused; }
.b0 { position: absolute; left: 6%; top: 8%; width: 88%; -webkit-mask: radial-gradient(closest-side, #000 50%, transparent 86%); mask: radial-gradient(closest-side, #000 50%, transparent 86%); transition: opacity .9s; } .live .b0 { opacity: 0; } .brain cerebro-3d { position: absolute !important; inset: -8%; width: auto !important; height: auto !important; pointer-events: none; }
.world { position: absolute; inset: 0; will-change: transform; pointer-events: none; }
.panel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; } .p-oraculo { left: -100%; } .p-revista { left: 100%; } .p-shop { top: -100%; } .p-app { top: 100%; } .panel.off { visibility: hidden; } .panel .copy > * { pointer-events: auto; }
.lbl { font: 500 11px/1.3 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--mute); } .note { display: block; font-size: 12.5px; color: var(--mute); margin-top: 6px; }
h1, h2 { font: 300 clamp(40px, 11.4vw, 60px)/1.02 var(--serif); letter-spacing: -.02em; font-variation-settings: "opsz" 144; margin-top: 14px; text-wrap: balance; } em { font-style: italic; color: var(--ac); }
.go { position: relative; display: inline-block; margin-top: 12px; padding: 13px 0 11px; font: 400 16px/1.3 var(--sans); color: var(--ac); } .go::after { content: ""; position: absolute; left: 0; right: 0; bottom: 7px; height: 1px; background: currentColor; transform-origin: 0 50%; transition: transform .5s var(--ease); } .go:disabled { opacity: .5; } @media (hover: hover) { .go:hover::after { transform: scaleX(0); transform-origin: 100% 50%; } }
.panel .copy { position: absolute; left: var(--pad); right: var(--pad); bottom: calc(34px + env(safe-area-inset-bottom)); }
.p-inicio .copy { bottom: calc(66px + env(safe-area-inset-bottom)); text-align: center; } .p-inicio h1 { font-size: clamp(36px, 10vw, 54px); } .p-revista { --ac: #E8BF5E; --mute: rgba(251, 247, 240, .8); } .p-oraculo em { background: linear-gradient(100deg, var(--durazno), var(--lila) 55%, var(--cielo)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; } .p-oraculo { --ac: var(--durazno); }
/* arriba y los cuatro lados */
.top { position: absolute; z-index: 5; left: 0; right: 0; top: 0; display: flex; align-items: center; justify-content: space-between; padding: calc(14px + env(safe-area-inset-top)) var(--pad) 0; pointer-events: none; } .top > * { pointer-events: auto; } .wm img { width: 116px; } .t { font: 400 14px/1 var(--sans); padding: 15px 0 15px 20px; }
.dir { position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; padding: 14px; font: 400 14px/1 var(--sans); letter-spacing: .02em; transition: opacity .5s; white-space: nowrap; } .dir span { text-shadow: 0 0 14px rgba(14, 11, 25, .9); } .dir i { width: 9px; height: 9px; border: solid currentColor; border-width: 1px 0 0 1px; } .view:not([data-at=inicio]) .dir { opacity: 0; visibility: hidden; pointer-events: none; }
.d-shop { left: 50%; top: calc(52px + env(safe-area-inset-top)); transform: translateX(-50%); flex-direction: column; } .d-shop i { transform: rotate(45deg); animation: pu 3s infinite; } .d-app { left: 50%; bottom: calc(2px + env(safe-area-inset-bottom)); transform: translateX(-50%); flex-direction: column; gap: 6px; } .d-app i { transform: rotate(225deg); }
.d-oraculo { left: 4px; top: 66%; margin-top: -22px; } .d-oraculo i { transform: rotate(-45deg); } .d-revista { right: 4px; top: 66%; margin-top: -22px; } .d-revista i { transform: rotate(135deg); } @keyframes pu { 50% { opacity: .35; } } .dir i { animation: pu 3s ease-in-out infinite; }
.back { position: absolute; z-index: 4; display: none; } .view[data-at=oraculo] .back { display: block; right: 0; top: 18%; width: 22%; height: 46%; } .view[data-at=revista] .back { display: block; left: 0; top: 18%; width: 22%; height: 46%; } .view[data-at=app] .back { display: block; left: 25%; right: 25%; top: 0; height: 13%; } .view[data-at=shop] .back { display: block; left: 25%; right: 25%; bottom: 0; height: 13%; }
.back::after { content: ""; position: absolute; width: 11px; height: 11px; border: solid var(--marfil); border-width: 1px 0 0 1px; left: 50%; top: 50%; animation: pu 3s ease-in-out infinite; } .view[data-at=oraculo] .back::after { left: auto; right: 18px; transform: rotate(135deg); } .view[data-at=revista] .back::after { left: 18px; transform: rotate(-45deg); } .view[data-at=app] .back::after { top: auto; bottom: 12px; transform: rotate(45deg); } .view[data-at=shop] .back::after { top: 22px; transform: rotate(225deg); }
/* los objetos: asomados en la portada, enteros en su lado */
.ob { position: absolute; left: 0; top: 0; pointer-events: auto; cursor: pointer; transform: translate3d(var(--x1), var(--y1), 0) translate(-50%, -50%); transition: transform var(--sp) var(--e); } .view[data-at=inicio] .ob { transform: translate3d(var(--x0), var(--y0), 0) translate(-50%, -50%) rotate(var(--r0, 0deg)) scale(var(--s0, .6)); }
.deck { height: 44vh; aspect-ratio: 640 / 1024; --x1: -52vw; --y1: 37vh; --x0: -2vw; --y0: 44vh; --r0: 12deg; --s0: .58; } .deck img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 12px; transition: transform var(--sp) var(--e); } .view[data-at=oraculo] .deck img:nth-child(1) { transform: rotate(-9deg) translateX(-12%); } .view[data-at=oraculo] .deck img:nth-child(2) { transform: rotate(9deg) translateX(12%); }
.mag { height: 46vh; aspect-ratio: 900 / 1250; --x1: 152vw; --y1: 37vh; --x0: 102vw; --y0: 44vh; --r0: -10deg; --s0: .56; perspective: 1400px; } .cover { position: absolute; inset: 0; border-radius: 2px 6px 6px 2px; background: linear-gradient(100deg, #3d0b1f 0, #8b2748 3%, #6b1a37 7%, #7f2141 30%, #641631); display: grid; place-items: center; color: #E8BF5E; box-shadow: 3px 3px 0 #efe4d6, 5px 5px 0 #cdbfb0, 0 30px 60px rgba(20, 2, 10, .5); } .cover svg { width: 38%; height: 48%; } .view[data-at=revista] .cover { animation: sway 8s ease-in-out infinite; } @keyframes sway { 0%, 100% { transform: rotateY(-15deg); } 50% { transform: rotateY(9deg); } }
.pho { height: 50vh; aspect-ratio: 780 / 1688; --x1: 50vw; --y1: 139vh; --x0: 50vw; --y0: 122vh; --s0: .5; opacity: 0; } .pho img, .phone { border-radius: 8% / 3.7%; box-shadow: 0 0 0 1px rgba(244, 240, 234, .22), 0 30px 80px rgba(0, 0, 0, .55); } .pho img { width: 100%; height: 100%; }
.can { width: min(96vw, 52vh); --x1: 50vw; --y1: -47vh; --x0: 50vw; --y0: -42vh; --s0: .8; } .can picture { display: block; overflow: hidden; aspect-ratio: 1.12; -webkit-mask: radial-gradient(closest-side, #000 58%, transparent); mask: radial-gradient(closest-side, #000 58%, transparent); } .can img { margin-top: -30%; } .cg { position: absolute; left: 22%; top: 5%; width: 52%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 190, 100, .28), transparent); animation: flick 2.7s infinite; pointer-events: none; } @keyframes flick { 0%, 100% { opacity: .8; } 20% { opacity: 1; } 45% { opacity: .7; } 70% { opacity: 1; } }
.p-shop .copy { bottom: auto; top: calc(66px + env(safe-area-inset-top)); } .view[data-at=inicio] .can { opacity: .0; } .can { transition: transform var(--sp) var(--e), opacity var(--sp); } .view[data-at=inicio] .pho { opacity: 0; }
/* la app: se baja */
.scroll { position: absolute; inset: 0; overflow: hidden auto; overscroll-behavior: contain; touch-action: pan-y; pointer-events: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; } .scroll::-webkit-scrollbar { display: none; }
.a1 { position: relative; min-height: 100%; } .phone { position: absolute; left: 50%; top: 14vh; height: 50vh; width: auto; transform: translateX(-50%); } .a2, .a3, .a4 { padding: 64px 0 0; } .a2 h2, .a4 { padding-left: var(--pad); padding-right: var(--pad); } .row { display: flex; gap: 16px; overflow-x: auto; padding: 32px var(--pad) 6px; scrollbar-width: none; touch-action: pan-x pan-y; } .row::-webkit-scrollbar { display: none; } .row li { flex: none; } .guides li { width: 46vw; max-width: 230px; } .guides img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 0 0; } .guides p { margin-top: 14px; text-align: center; font: 400 13px/1 var(--firma); letter-spacing: .24em; text-transform: uppercase; } .screens li { width: 50vw; max-width: 240px; } .screens img { width: 100%; border-radius: 8% / 3.7%; } .a4 { padding-top: 96px; padding-bottom: 96px; text-align: center; }
.foot { border-top: 1px solid var(--line); padding: 26px var(--pad) calc(26px + env(safe-area-inset-bottom)); font-size: 14px; display: grid; gap: 14px; } .foot nav { display: flex; gap: 26px; } .foot nav a { padding: 10px 0; } .foot p { display: flex; align-items: center; justify-content: space-between; color: var(--mute); font-size: 12.5px; }
.ask-f { margin-top: 20px; } .view.load .copy > *, .view.load .dir { opacity: 0; } .copy > * { transition: opacity 1s ease .2s; }
@media (min-width: 900px) {
  .wm img { width: 160px; } .top { padding-top: 26px; } .t, .dir { font-size: 15px; } .view { --bs: min(60vw, 74vh); } .brainw { top: 41.5%; } h1, h2 { font-size: clamp(56px, 5.6vw, 108px); } .lbl { font-size: 12px; } .go { font-size: 17px; }
  .p-inicio .copy { left: 50%; right: auto; transform: translateX(-50%); width: max-content; bottom: 76px; } .p-inicio h1 { font-size: clamp(40px, 3.6vw, 64px); margin-top: 8px; } .p-inicio h1 br { display: none; } .p-inicio .go { margin-top: 4px; }
  .d-shop { top: 14px; } .d-oraculo { left: 12.5vw; top: 46%; } .d-revista { right: 12.5vw; top: 46%; }
  .deck { height: 64vh; --x1: -40vw; --y1: 50vh; --x0: 1vw; --y0: 46vh; --s0: .7; } .mag { height: 64vh; --x1: 140vw; --y1: 50vh; --x0: 99vw; --y0: 46vh; --s0: .68; }
  .p-oraculo .copy { right: auto; width: 40vw; bottom: auto; top: 50%; transform: translateY(-50%); } .p-revista .copy { left: auto; right: var(--pad); width: 38vw; bottom: auto; top: 50%; transform: translateY(-50%); }
  .p-shop .copy { right: auto; width: 38vw; top: 48%; transform: translateY(-50%); } .can { width: min(58vw, 88vh); --x1: 68vw; --y1: -52vh; }
  .a1 .copy { right: auto; width: 46vw; bottom: auto; top: 54%; transform: translateY(-50%); } .phone { left: 72%; top: 18vh; height: 74vh; } .pho { height: 74vh; --x1: 72vw; --y1: 155vh; } .a2, .a3 { padding-top: 110px; } .guides { display: grid; grid-template-columns: repeat(7, 1fr); } .guides li, .screens li { width: auto; max-width: none; } .guides p { font-size: 12px; letter-spacing: .18em; } .screens { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4vw; padding: 32px 14vw 0; } .a4 { padding: 140px 0; } .foot { grid-template-columns: 1fr auto; align-items: center; } .foot p { gap: 30px; }
  .sheet { align-items: stretch; justify-content: flex-end; } .sheet .box { width: min(560px, 48vw); max-height: none; padding: 110px 56px 50px; transform: translate3d(50px, 0, 0); }
}
@media (max-height: 640px) and (max-width: 899px) { h1, h2 { font-size: 34px; } .p-inicio h1 { font-size: 30px; margin-top: 6px; } .view { --bs: min(90vw, 52vh); } .d-oraculo, .d-revista { top: 60%; } .go { margin-top: 2px; } }
@media (max-height: 520px) and (orientation: landscape) { h1, h2 { font-size: 34px !important; } .p-inicio .lbl { display: none; } .p-inicio .copy { bottom: 52px; } .p-inicio h1 { font-size: 24px !important; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
