@font-face {
    font-family: "Inter Kuno";
    src: url("../0%20Tipos/inter%20font/Inter_24pt-Regular.ttf?v=1794941174") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Inter Kuno";
    src: url("../0%20Tipos/inter%20font/Inter_24pt-Medium.ttf?v=1794941175") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Inter Kuno";
    src: url("../0%20Tipos/inter%20font/Inter_24pt-Black.ttf?v=1794941176") format("truetype");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --teal: #07a3a4;
    --ink: #3c3c3c;
    --muted: #9aa1a6;
    --bg: #f4f7f8;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --spring: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

html,
body {
    margin: 0;
    height: 100%;
    background: var(--bg);
    color: var(--ink);
    font-family: "Inter Kuno", "Inter", sans-serif;
    font-weight: 400;
    overflow: hidden;
}

button,
input,
textarea {
    font: inherit;
    color: inherit;
}

button {
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

:focus-visible {
    outline: 2px solid var(--teal);
    outline-offset: 3px;
}

.bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    animation: bg-drift 32s ease-in-out infinite alternate;
    transform-origin: center;
}

.stage {
    position: relative;
    z-index: 1;
    height: 100vh;
    height: 100dvh;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    cursor: grab;
    touch-action: pan-x;
}

.stage::-webkit-scrollbar { display: none; }

body.is-ready .stage { touch-action: none; }

body.is-dragging,
body.is-dragging * { cursor: grabbing; }

.track {
    display: flex;
    height: 100%;
    width: max-content;
}

.panel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(18px, 2.4vw, 42px);
    flex: 0 0 100vw;
    width: 100vw;
    height: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    user-select: none;
}

.scene-visual {
    position: relative;
    flex: none;
    width: min(27vw, 390px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scene-visual img {
    width: 100%;
    height: auto;
    user-select: none;
    -webkit-user-drag: none;
}

.visual-logo { width: min(32vw, 440px); }

.visual-carrusel {
    width: min(42vw, 520px);
    display: block;
}

.visual-none { display: none; }

#web .visual-carrusel { width: min(50vw, 780px); }

#web .scene-copy { max-width: 52vw; }

.carousel { width: 100%; }

.carousel-stage {
    position: relative;
    height: auto;
    aspect-ratio: 1920 / 954;
    overflow: hidden;
}

.carousel[data-format="miniaturas"] .carousel-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(14%) scale(0.94);
    transition: opacity 0.65s var(--ease), transform 0.8s var(--spring);
    pointer-events: none;
}

.carousel[data-format="miniaturas"] .carousel-slide.is-on {
    opacity: 1;
    transform: none;
    z-index: 2;
    pointer-events: auto;
}

.carousel[data-format="miniaturas"] .carousel-slide.is-next {
    opacity: 0.72;
    transform: translateX(18%) scale(0.9);
    z-index: 1;
    pointer-events: none;
}

.carousel[data-format="miniaturas"] .carousel-slide.is-prev {
    opacity: 0;
    transform: translateX(-16%) scale(0.96);
}

.carousel[data-format="miniaturas"] .carousel-slide.is-tall {
    right: auto;
    left: 50%;
    width: auto;
    aspect-ratio: 888 / 957;
}

.carousel[data-format="miniaturas"] .carousel-slide.is-tall.is-on {
    transform: translateX(-50%);
}

.carousel[data-format="miniaturas"] .carousel-slide.is-tall.is-next {
    transform: translateX(calc(-50% + 36px)) scale(0.94);
}

.carousel[data-format="miniaturas"] .carousel-slide.is-tall.is-prev {
    transform: translateX(calc(-50% - 28px));
}

.mini-browser {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 14px 32px rgba(60, 70, 74, 0.1);
    color: inherit;
    text-decoration: none;
    cursor: default;
}

.mini-bar { display: none; }

.mini-bar i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #c9d2d6;
}

.mini-bar i:first-child { background: var(--teal); }

.mini-host {
    margin-left: 6px;
    min-width: 0;
    color: #8a9398;
    font-size: 10px;
    letter-spacing: 0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mini-screen {
    flex: 1;
    min-height: 0;
    background: #f3f5f6;
}

.scene-visual .mini-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.carousel-slide.is-tall .mini-screen img {
    object-fit: cover;
    object-position: center center;
}

.mini-ph { display: block; height: 100%; }

.mini-ph--1 {
    background:
        linear-gradient(#07a3a4, #07a3a4) 8% 10% / 84% 24% no-repeat,
        linear-gradient(#e7eeef, #e7eeef) 8% 40% / 40% 26% no-repeat,
        linear-gradient(#e7eeef, #e7eeef) 52% 40% / 40% 26% no-repeat,
        linear-gradient(#c5d0d3, #c5d0d3) 8% 72% / 28% 3.5% no-repeat,
        linear-gradient(#e7eeef, #e7eeef) 8% 79% / 58% 3.5% no-repeat,
        #fff;
}

.mini-ph--2 {
    background:
        linear-gradient(#3c3c3c, #3c3c3c) 8% 14% / 46% 8% no-repeat,
        linear-gradient(#07a3a4, #07a3a4) 8% 26% / 70% 16% no-repeat,
        linear-gradient(#e7eeef, #e7eeef) 8% 50% / 84% 8% no-repeat,
        linear-gradient(#e7eeef, #e7eeef) 8% 62% / 72% 8% no-repeat,
        linear-gradient(#07a3a4, #07a3a4) 8% 78% / 28% 10% no-repeat,
        #fff;
}

.mini-ph--3 {
    background:
        linear-gradient(#00a8a8, #00a8a8) 8% 12% / 26% 36% no-repeat,
        linear-gradient(#00cc51, #00cc51) 37% 12% / 26% 36% no-repeat,
        linear-gradient(#ffa500, #ffa500) 66% 12% / 26% 36% no-repeat,
        linear-gradient(#e7eeef, #e7eeef) 8% 56% / 84% 7% no-repeat,
        linear-gradient(#e7eeef, #e7eeef) 8% 67% / 64% 7% no-repeat,
        linear-gradient(#b454e0, #b454e0) 8% 80% / 22% 10% no-repeat,
        #fff;
}

.mini-ph--4 {
    background:
        linear-gradient(#eef3f4, #eef3f4) 0 0 / 28% 100% no-repeat,
        linear-gradient(#07a3a4, #07a3a4) 36% 14% / 56% 18% no-repeat,
        linear-gradient(#e7eeef, #e7eeef) 36% 40% / 56% 10% no-repeat,
        linear-gradient(#e7eeef, #e7eeef) 36% 54% / 42% 10% no-repeat,
        linear-gradient(#d5dee1, #d5dee1) 36% 74% / 30% 12% no-repeat,
        #fff;
}

.carousel-dots {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    margin: 16px 0 0 2px;
    max-width: 100%;
}

.carousel-dots button {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--dot, #c5ced1);
    opacity: 0.55;
    transition: transform 0.35s var(--spring), opacity 0.35s ease;
}

.carousel-dots button:nth-child(5n + 1) { --dot: #00a8a8; }
.carousel-dots button:nth-child(5n + 2) { --dot: #00cc51; }
.carousel-dots button:nth-child(5n + 3) { --dot: #ffa500; }
.carousel-dots button:nth-child(5n + 4) { --dot: #b454e0; }
.carousel-dots button:nth-child(5n + 5) { --dot: #3b95e1; }

.carousel-dots button.is-on {
    opacity: 1;
    transform: scale(1.22);
}

.brand-mark {
    width: 100%;
    aspect-ratio: 816 / 208;
    background: var(--teal);
    -webkit-mask: url("../imags/kuno_logo.png?v=1794941187") center / contain no-repeat;
    mask: url("../imags/kuno_logo.png?v=1794941187") center / contain no-repeat;
}

.visual-controler { width: min(20vw, 250px); }

.visual-musica {
    width: min(36vw, 440px);
    display: block;
}

.video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
}

.video-card {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #111;
}

.video-card img {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.video-card span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.video-card::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-40%, -50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 0 8px 14px;
    border-color: transparent transparent transparent #fff;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.55));
}

.audio-kicker {
    margin: 1.6vh 0 0.4vh;
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 0.14em;
}

.audio-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.audio-list button {
    display: flex;
    justify-content: flex-end;
    align-items: baseline;
    gap: 10px;
    width: 100%;
    padding: 0.35vh 0;
    color: #6d6d6d;
    font-size: clamp(14px, 1.7vh, 18px);
}

.audio-list button small {
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 0.08em;
}

.audio-list button.is-on,
.audio-list button.is-on small { color: var(--teal); }

.video-frame { background: #000; }

body[data-overlay="video"] #btn-close img {
    filter: brightness(0) invert(1);
}

.video-frame {
    width: min(860px, 76vw, calc((100vh - 96px) * 16 / 9));
    aspect-ratio: 16 / 9;
    max-height: calc(100vh - 96px);
    background: #111;
    border-radius: 16px;
    overflow: hidden;
}

.video-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.visual-casa {
    width: min(32vw, 380px);
    height: min(68vh, 520px);
}

.visual-casa img {
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.scene-copy {
    position: relative;
    flex: none;
    width: max-content;
    max-width: 46vw;
    text-align: right;
}

.scene-title {
    margin: 0;
    color: var(--teal);
    font-weight: 900;
    font-size: clamp(64px, 7.5vw, 118px);
    line-height: 0.88;
    letter-spacing: -0.045em;
    white-space: nowrap;
}

.scene-title.is-long {
    font-size: clamp(42px, 5.5vw, 88px);
    letter-spacing: -0.04em;
}

.scene-text {
    width: clamp(250px, 34vw, 470px);
    margin: 1.5vh 0 0 auto;
    color: #4a4a4a;
    font-size: clamp(12px, 1.45vh, 15.5px);
    line-height: 1.45;
}

.scene-link {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    width: clamp(250px, 34vw, 470px);
    margin: 1.5vh 0 0 auto;
    font-weight: 900;
    font-size: clamp(15px, 1.9vh, 22px);
    letter-spacing: -0.03em;
    line-height: 1;
    text-decoration: none;
}

.scene-link svg {
    width: 18px;
    height: 18px;
    flex: none;
}

.scene-link[data-tone="teal"] { color: #00a8a8; }
.scene-link[data-tone="green"] { color: #00cc51; }
.scene-link[data-tone="orange"] { color: #ffa500; }
.scene-link[data-tone="purple"] { color: #b454e0; }
.scene-link[data-tone="blue"] { color: #3b95e1; }
.scene-link[data-tone="wine"] { color: #9a3048; }

.scene-status {
    width: clamp(250px, 34vw, 470px);
    margin: 1.5vh 0 0 auto;
    color: #9a3048;
    font-weight: 900;
    font-size: clamp(15px, 1.9vh, 22px);
    letter-spacing: -0.03em;
    line-height: 1;
    text-align: right;
}

.scene-status[hidden] { display: none; }

.scene-link[hidden] { display: none !important; }

.scene-link:hover { opacity: 0.62; }

.gesture {
    position: absolute;
    width: clamp(78px, 6.4vw, 112px);
    height: auto;
    right: 2%;
    bottom: calc(100% - 4px);
    pointer-events: none;
    animation: float 3.4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

.chrome {
    position: fixed;
    inset: 0;
    z-index: 5;
    pointer-events: none;
}

.logo,
.chrome-tools,
.chrome-actions,
.icon-btn,
.text-btn {
    pointer-events: auto;
}

.logo {
    position: absolute;
    top: 0;
    left: 1.6vw;
    width: 52px;
    height: 52px;
    background: var(--teal);
    -webkit-mask: url("../imags/kuno_icon.png?v=1794941186") center / contain no-repeat;
    mask: url("../imags/kuno_icon.png?v=1794941186") center / contain no-repeat;
    transform: rotate(90deg);
    transform-origin: center center;
}

body.is-ready .logo {
    animation: logo-drop 0.95s var(--spring) both;
}

.logo:hover,
.icon-btn:hover,
.text-btn:hover { opacity: 0.62; }

body.is-ready .chrome-actions .icon-btn {
    animation: icon-pop 0.7s var(--spring) both;
}

body.is-ready .chrome-actions .icon-btn:nth-child(1) { animation-delay: 0.12s; }
body.is-ready .chrome-actions .icon-btn:nth-child(2) { animation-delay: 0.2s; }
body.is-ready .chrome-actions .icon-btn:nth-child(3) { animation-delay: 0.28s; }

.chrome-tools {
    position: absolute;
    top: 3.6vh;
    right: 3.6vw;
    display: flex;
    align-items: center;
    gap: 1.3vw;
}

.text-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
    letter-spacing: 0.01em;
}

.text-btn img { height: 20px; width: auto; }

.icon-btn {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
}

.icon-btn img {
    height: 20px;
    width: auto;
}

.chrome-actions .icon-btn {
    width: auto;
    height: auto;
}

.chrome-actions .icon-btn img { height: 32px; }

[data-open="player"] { position: relative; }

.disc-icon {
    display: block;
    width: 32px;
    height: 32px;
    background: #8d9498;
    -webkit-mask: url("../imags/dj.png?v=1794941183") center / contain no-repeat;
    mask: url("../imags/dj.png?v=1794941183") center / contain no-repeat;
}

body.is-playing .disc-icon {
    animation: disc-spin 3.2s linear infinite, disc-color 1.35s ease-in-out infinite;
}

body.is-playing [data-open="player"]::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 150%;
    height: 150%;
    border-radius: 50%;
    border: 1.5px solid var(--teal);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.65);
    animation: disc-halo 1.7s ease-out infinite;
    pointer-events: none;
}

#btn-menu .menu-mark {
    display: block;
    width: 42px;
    height: 42px;
}

#btn-close {
    display: none;
    width: 64px;
    height: 64px;
    transition: transform 0.45s var(--spring), opacity 0.3s ease;
}

#btn-close img { height: 42px; }

#btn-close:hover {
    opacity: 1;
    transform: rotate(90deg) scale(1.08);
}

body[data-overlay] #btn-close {
    display: grid;
    animation: close-in 0.6s var(--spring) both;
}

.chrome-actions {
    position: absolute;
    right: 3.2vw;
    bottom: 3.2vh;
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

body[data-overlay="contact"] .stage,
body[data-overlay="player"] .stage,
body[data-overlay="video"] .stage,
body[data-overlay="contact"] .chrome-actions,
body[data-overlay="player"] .chrome-actions,
body[data-overlay="video"] .chrome-actions { visibility: hidden; }

body[data-overlay="menu"] .scene-copy { visibility: hidden; }

.overlay {
    position: fixed;
    inset: 0;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    padding: 12vh 8vw;
}

.overlay[hidden],
.menu[hidden] { display: none; }

.overlay:not([hidden]) {
    animation: veil-in 0.45s ease both;
}

.player:not([hidden]) .player-kicker,
.player:not([hidden]) .player-title,
.player:not([hidden]) .player-controls,
.player:not([hidden]) .player-list li,
.player:not([hidden]) .player-empty,
.contact-overlay:not([hidden]) .contact-title,
.contact-overlay:not([hidden]) .contact-note,
.contact-overlay:not([hidden]) .field,
.contact-overlay:not([hidden]) .send {
    animation: lift-in 0.8s var(--spring) both;
}

.player:not([hidden]) .player-kicker { animation-delay: 0.08s; }
.player:not([hidden]) .player-title { animation-delay: 0.16s; }
.player:not([hidden]) .player-controls { animation-delay: 0.28s; }
.player:not([hidden]) .player-empty { animation-delay: 0.36s; }
.player:not([hidden]) .player-list li:nth-child(1) { animation-delay: 0.36s; }
.player:not([hidden]) .player-list li:nth-child(2) { animation-delay: 0.46s; }
.player:not([hidden]) .player-list li:nth-child(3) { animation-delay: 0.56s; }
.player:not([hidden]) .player-list li:nth-child(4) { animation-delay: 0.66s; }

.player-title.is-swap {
    animation: title-swap 0.45s var(--spring);
}

.contact-overlay:not([hidden]) .contact-title { animation-delay: 0.06s; }
.contact-overlay:not([hidden]) .contact-note { animation-delay: 0.16s; }
.contact-overlay:not([hidden]) .field:nth-of-type(2) { animation-delay: 0.22s; }
.contact-overlay:not([hidden]) .field:nth-of-type(3) { animation-delay: 0.32s; }
.contact-overlay:not([hidden]) .field:nth-of-type(4) { animation-delay: 0.42s; }
.contact-overlay:not([hidden]) .send { animation-delay: 0.52s; }

.menu {
    position: fixed;
    z-index: 4;
    top: 50%;
    right: 7.5vw;
    transform: translateY(-54%);
    margin: 0;
    padding: 0;
}

.menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.15em;
}

.menu-list li {
    opacity: 0;
    transform: translateX(28px);
}

.menu:not([hidden]) .menu-list li {
    animation: menu-item-in 0.9s var(--spring) forwards;
}

.menu:not([hidden]) .menu-list li:nth-child(1) { animation-delay: 0.04s; }
.menu:not([hidden]) .menu-list li:nth-child(2) { animation-delay: 0.12s; }
.menu:not([hidden]) .menu-list li:nth-child(3) { animation-delay: 0.2s; }
.menu:not([hidden]) .menu-list li:nth-child(4) { animation-delay: 0.28s; }
.menu:not([hidden]) .menu-list li:nth-child(5) { animation-delay: 0.36s; }

@keyframes menu-item-in {
    0% { opacity: 0; transform: translateX(96px) scale(0.84); filter: blur(8px); }
    62% { opacity: 1; filter: blur(0); }
    100% { opacity: 1; transform: none; filter: none; }
}

.menu-list button {
    font-weight: 900;
    font-size: clamp(26px, 4.6vw, 58px);
    letter-spacing: -0.045em;
    line-height: 0.92;
    text-align: right;
}

.menu-list .is-lead {
    font-size: clamp(40px, 6.6vw, 86px);
    letter-spacing: -0.05em;
}

.c-teal { color: #00a8a8; }
.c-green { color: #00cc51; }
.c-orange { color: #ffa500; }
.c-purple { color: #b454e0; }
.c-blue { color: #3b95e1; }

.player {
    justify-content: flex-end;
    background: rgba(246, 248, 248, 0.9);
    padding-right: 8vw;
}

.player-card {
    width: min(440px, 52vw);
    text-align: right;
}

.player-kicker {
    margin: 0 0 0.4vh;
    color: var(--muted);
    font-size: 13px;
    letter-spacing: 0.14em;
}

.player-title {
    margin: 0;
    color: var(--teal);
    font-weight: 900;
    font-size: clamp(42px, 6vw, 78px);
    letter-spacing: -0.045em;
    line-height: 0.9;
}

.player-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin: 2.4vh 0 2vh;
}

.player-play {
    color: var(--teal);
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0.08em;
}

.player-time {
    color: var(--muted);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

#player-seek {
    flex: 1;
    min-width: 80px;
    height: 2px;
    margin: 0;
    appearance: none;
    background: #c5ced1;
    border-radius: 2px;
    cursor: pointer;
}

#player-seek::-webkit-slider-thumb {
    appearance: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--teal);
}

#player-seek::-moz-range-thumb {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 50%;
    background: var(--teal);
}

.player-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.player-list button {
    display: flex;
    justify-content: flex-end;
    align-items: baseline;
    gap: 12px;
    width: 100%;
    padding: 0.7vh 0;
    color: #6d6d6d;
    font-size: clamp(16px, 2vw, 22px);
    letter-spacing: -0.03em;
}

.player-list button small {
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 0.08em;
}

.player-list button.is-on,
.player-list button.is-on small {
    color: var(--teal);
}

.player-empty {
    margin: 2vh 0 0;
    color: var(--ink);
}

.contact-card {
    width: min(440px, 70vw);
    text-align: center;
}

.contact-title {
    margin: 0 0 1.5vh;
    color: var(--teal);
    font-weight: 900;
    font-size: clamp(48px, 8vh, 92px);
    letter-spacing: -0.045em;
    line-height: 0.9;
}

.contact-note {
    margin: 0 auto;
    max-width: 28em;
    font-size: 15px;
    line-height: 1.45;
}

.contact-note.is-error,
.field small {
    color: #9a3b3b;
}

.field {
    display: block;
    text-align: left;
    margin: 0 0 1.6vh;
}

.field span {
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 12px;
}

.field input,
.field textarea {
    width: 100%;
    border: 0;
    border-bottom: 1px solid #c5ced1;
    background: transparent;
    padding: 8px 0 9px;
    border-radius: 0;
    outline: none;
}

.field textarea {
    resize: vertical;
    min-height: 64px;
}

.field input:focus,
.field textarea:focus { border-bottom-color: var(--teal); }

.field small {
    display: block;
    margin-top: 4px;
    font-size: 12px;
}

.hp {
    position: absolute;
    left: -9999px;
    height: 0;
    overflow: hidden;
}

.send {
    margin-top: 0.6vh;
    color: var(--teal);
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0.04em;
}

.rotate-lock {
    display: none;
}

@media (orientation: portrait) and (pointer: coarse),
       (orientation: portrait) and (max-width: 700px) {
    .rotate-lock {
        position: fixed;
        inset: 0;
        z-index: 80;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 14px;
        background: var(--bg);
        text-align: center;
        padding: 24px;
    }

    .rotate-logo { width: min(220px, 64vw); height: auto; }

    .phone {
        width: 48px;
        height: 80px;
        margin-top: 8px;
        border: 3px solid var(--teal);
        border-radius: 10px;
        position: relative;
        animation: turn 2.6s ease-in-out infinite;
    }

    .phone span {
        position: absolute;
        left: 50%;
        bottom: 6px;
        width: 14px;
        height: 3px;
        border-radius: 2px;
        background: var(--teal);
        transform: translateX(-50%);
    }

    .rotate-title {
        margin: 10px 0 0;
        color: var(--teal);
        font-weight: 900;
        font-size: 34px;
        letter-spacing: -0.04em;
    }

    .rotate-text {
        margin: 0;
        color: var(--ink);
        font-size: 15px;
    }
}

body.is-ready .panel.is-current .scene-visual {
    animation: visual-in-center 0.95s var(--spring) both;
}

body.is-ready .panel.is-current .scene-title {
    animation: title-in 0.9s var(--spring) 0.08s both;
}

body.is-ready .panel.is-current .scene-text {
    opacity: 1;
    animation: text-in 0.85s var(--ease) 0.22s both;
}

body.is-ready .panel.is-current .scene-link {
    opacity: 1;
    animation: text-in 0.85s var(--ease) 0.32s both;
}

body.is-ready .panel.is-current .scene-text.is-swap,
body.is-ready .panel.is-current .scene-link.is-swap {
    animation: text-swap 0.45s var(--ease) forwards;
}

body.is-ready .panel.is-current .visual-musica img {
    animation: pop-img 0.8s var(--spring) both;
}

body.is-ready .panel.is-current .visual-musica img:nth-child(2) {
    animation-delay: 0.14s;
}

body.is-ready .panel.is-current .gesture {
    animation: gesture-in 0.6s var(--ease) 0.28s both, float 3.4s ease-in-out 0.7s infinite;
}

@keyframes bg-drift {
    from { transform: scale(1.05) translate3d(-1.2%, 0, 0); }
    to { transform: scale(1.1) translate3d(1.2%, -1%, 0); }
}

@keyframes logo-drop {
    from { opacity: 0; transform: rotate(0deg) translateY(-28px) scale(0.55); }
    to { opacity: 1; transform: rotate(90deg); }
}

@keyframes icon-pop {
    from { opacity: 0; transform: translateY(18px) scale(0.62); }
    to { opacity: 1; transform: none; }
}

@keyframes close-in {
    from { opacity: 0; transform: rotate(-80deg) scale(0.35); }
    to { opacity: 1; transform: none; }
}

@keyframes veil-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes rise-in {
    from { opacity: 0; transform: translateX(72px) translateY(10px); }
    to { opacity: 1; transform: none; }
}

@keyframes lift-in {
    from { opacity: 0; transform: translateY(36px) scale(0.96); }
    to { opacity: 1; transform: none; }
}

@keyframes title-swap {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
}

@keyframes visual-in {
    from { opacity: 0; transform: translateY(-42%) translateX(-48px) scale(0.9); }
    to { opacity: 1; transform: translateY(-50%); }
}

@keyframes visual-in-center {
    from { opacity: 0; transform: translateX(-36px) scale(0.94); }
    to { opacity: 1; transform: none; }
}

@keyframes title-in {
    from { opacity: 0; transform: translateX(70px) scale(0.92); filter: blur(6px); }
    70% { filter: blur(0); }
    to { opacity: 1; transform: none; filter: none; }
}

@keyframes text-in {
    from { opacity: 0; transform: translateX(36px); }
    to { opacity: 1; transform: none; }
}

@keyframes text-swap {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
}

@keyframes pop-img {
    from { opacity: 0; transform: translateY(22px) scale(0.78) rotate(-8deg); }
    to { opacity: 1; transform: none; }
}

@keyframes disc-spin {
    to { transform: rotate(360deg); }
}

@keyframes disc-color {
    0%, 100% { background-color: #8d9498; }
    50% { background-color: var(--teal); }
}

@keyframes disc-halo {
    0% { opacity: 0.65; transform: translate(-50%, -50%) scale(0.62); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(1.15); }
}

@keyframes gesture-in {
    from { opacity: 0; transform: translateY(10px) scale(0.8); }
    to { opacity: 1; transform: none; }
}

@keyframes turn {
    0%, 18% { transform: rotate(0deg); }
    48%, 78% { transform: rotate(-90deg); }
    100% { transform: rotate(0deg); }
}

@media (max-height: 520px) and (min-width: 1000px) {
    .logo { width: 34px; height: 34px; top: 0; left: 8px; }
    .menu { right: 4vw; }
    .menu-list .is-lead { font-size: clamp(28px, 8vh, 48px); }
    .chrome-tools { top: 10px; right: 18px; gap: 14px; }
    .chrome-actions { right: 16px; bottom: 10px; gap: 6px; }
    .text-btn { font-size: 12px; }
    .text-btn img,
    .icon-btn img { height: 16px; }
    .chrome-actions .icon-btn img,
    .disc-icon { height: 24px; }
    .disc-icon { width: 24px; }
    #btn-menu .menu-mark { width: 32px; height: 32px; }
    .icon-btn { width: 30px; height: 30px; }
    #btn-close { width: 48px; height: 48px; }
    #btn-close img { height: 30px; }
    .scene-visual { width: min(22vw, 30vh); }
    .visual-carrusel,
    #web .visual-carrusel { width: min(34vw, 360px); }
    .panel,
    #web { gap: 14px; }
    .carousel-stage { aspect-ratio: auto; height: min(34vh, 180px); }
    .visual-logo { width: min(30vw, 34vh); }
    .visual-controler { width: min(16vw, 22vh); }
    .scene-title { font-size: clamp(40px, 12vh, 72px); }
    .scene-title.is-long { font-size: clamp(30px, 8.5vh, 52px); }
    .scene-text {
        width: min(42vw, 320px);
        margin: 6px 0 0 auto;
        font-size: 11px;
        line-height: 1.35;
    }
    .gesture { width: 58px; bottom: calc(100% + 4px); }
    .menu-list button:not(.is-lead) { font-size: clamp(16px, 5.6vh, 28px); }
    .contact-title,
    .player-title { font-size: 36px; }
    .player { padding-right: 4vw; }
    .contact-card { width: min(380px, 56vw); }
    .field { margin-bottom: 8px; }
}

@media (orientation: landscape) and (max-height: 500px) and (max-width: 980px) {
    .logo { width: 48px; height: 48px; left: max(10px, env(safe-area-inset-left)); }

    .chrome-tools {
        top: 12px;
        right: max(14px, env(safe-area-inset-right));
        gap: 12px;
    }

    .text-btn { font-size: 14px; }
    .text-btn img { height: 22px; }

    .chrome-actions {
        right: max(14px, env(safe-area-inset-right));
        bottom: max(12px, env(safe-area-inset-bottom));
        gap: 14px;
    }

    .chrome-actions .icon-btn img,
    .disc-icon { height: 44px; }
    .disc-icon { width: 44px; }
    #btn-menu .menu-mark { width: 54px; height: 54px; }
    #btn-close { width: 56px; height: 56px; }
    #btn-close img { height: 34px; }

    .panel {
        align-items: center;
        justify-content: center;
        padding: 22px max(16px, env(safe-area-inset-right)) 10px max(16px, env(safe-area-inset-left));
    }
    .scene-visual { width: min(34vw, 46vh); }
    .visual-logo { width: min(42vw, 58vh); }
    .visual-controler { width: min(26vw, 34vh); }
    .visual-musica { width: min(40vw, 280px); }
    .visual-casa {
        width: min(26vw, 200px);
        height: min(58vh, 240px);
    }

    #web .visual-carrusel { width: min(42vw, 340px); }
    #web .scene-copy,
    .scene-copy { max-width: 44vw; }

    .carousel-stage { aspect-ratio: auto; height: min(46vh, 188px); }
    .carousel-dots { gap: 8px; margin-top: 8px; }
    .carousel-dots button { width: 16px; height: 16px; }

    .scene-title { font-size: clamp(48px, 13vh, 76px); }
    .scene-title.is-long { font-size: clamp(36px, 11vh, 56px); }
    .scene-text {
        width: min(40vw, 280px);
        margin: 8px 0 0 auto;
        font-size: 15px;
        line-height: 1.35;
    }
    .scene-link {
        width: min(40vw, 280px);
        margin-top: 10px;
        font-size: 18px;
    }
    .scene-link svg { width: 18px; height: 18px; }
    .gesture { width: 76px; }

    .menu { right: 5vw; }
    .menu-list .is-lead { font-size: clamp(42px, 14vh, 72px); }
    .menu-list button:not(.is-lead) { font-size: clamp(26px, 9vh, 42px); }

    .player { padding-right: 6vw; }
    .player-title,
    .contact-title { font-size: clamp(42px, 13vh, 68px); }
    .player-play,
    .send { font-size: 18px; }
    .player-list button { font-size: 18px; }
    .player-kicker,
    .field span,
    .contact-note { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    .gesture,
    .menu-list li,
    .bg img,
    .logo,
    .chrome-actions .icon-btn,
    #btn-close,
    .overlay,
    .player-kicker,
    .player-title,
    .player-controls,
    .player-list li,
    .player-empty,
    .contact-title,
    .contact-note,
    .field,
    .send,
    .scene-visual,
    .scene-title,
    .scene-text,
    .scene-link,
    .visual-musica img,
    .disc-icon,
    body.is-playing [data-open="player"]::before { animation: none !important; }
    .menu-list li,
    body.is-ready .panel .scene-visual,
    body.is-ready .panel .scene-title,
    body.is-ready .panel .scene-text,
    body.is-ready .panel .scene-link,
    body.is-ready .panel .gesture,
    .visual-musica img {
        opacity: 1 !important;
        filter: none !important;
        transform: none;
    }
    .logo { transform: rotate(90deg); }
    .carousel-slide { transition: none; }
    body.is-playing [data-open="player"]::before {
        opacity: 1;
        transform: translate(-50%, -50%) scale(0.86);
    }
    body.is-playing .disc-icon { background: var(--teal); }
}

#web {
    justify-content: center;
    overflow: hidden;
    padding-right: 0;
}

#web .visual-carrusel {
    position: relative;
    left: auto;
    top: auto;
    bottom: auto;
    width: min(46vw, 620px);
    height: auto;
    z-index: auto;
}

#web .carousel {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    cursor: grab;
    touch-action: none;
}

#web .carousel.is-drag { cursor: grabbing; }

#web .carousel-view {
    overflow: hidden;
    margin: 0 auto;
    max-width: 100%;
    transition: width 0.55s var(--spring);
}

#web .carousel.is-drag .carousel-view { transition: none; }

#web .carousel-stage {
    display: flex;
    align-items: center;
    width: max-content;
    height: auto;
    aspect-ratio: auto;
    gap: 22px;
    padding: 0;
    -webkit-mask-image: none;
    mask-image: none;
    transition: transform 0.55s var(--spring);
}

#web .carousel.is-drag .carousel-stage { transition: none; }

#web .carousel-slide,
#web .carousel-slide.is-on,
#web .carousel-slide.is-next,
#web .carousel-slide.is-prev,
#web .carousel-slide.is-tall,
#web .carousel-slide.is-tall.is-on,
#web .carousel-slide.is-tall.is-next,
#web .carousel-slide.is-tall.is-prev {
    position: relative;
    inset: auto;
    left: auto;
    right: auto;
    flex: none;
    width: min(44vw, 540px, calc(min(52vh, 430px) * var(--ar, 1.6)));
    height: auto;
    min-width: 0;
    min-height: 0;
    aspect-ratio: var(--ratio, 16 / 9);
    opacity: 1;
    transform: none;
    pointer-events: auto;
    overflow: hidden;
}

#web .mini-browser {
    width: 100%;
    height: 100%;
    border-radius: 14px;
    overflow: hidden;
    background: transparent;
    box-shadow: 0 16px 34px rgba(60, 70, 74, 0.12);
}

#web .mini-screen { height: 100%; min-height: 0; background: transparent; }

#web .scene-visual .mini-screen img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
    object-position: center center;
}

#web .carousel-dots {
    display: flex;
    position: static;
    width: 100%;
    margin: 16px 0 0;
    padding: 0;
    background: none;
    box-shadow: none;
}

#musica { overflow: hidden; }

#musica .visual-musica {
    position: absolute;
    inset: 0;
    width: auto;
    height: auto;
    z-index: 1;
}

.polaroid-wall { width: 100%; height: 100%; }

.polaroid {
    position: absolute;
    left: var(--x);
    top: var(--y);
    z-index: var(--z);
    box-sizing: border-box;
    width: clamp(88px, var(--w), 320px);
    padding: 6px 6px 20px;
    background: #fff;
    box-shadow:
        0 1px 1px rgba(40, 46, 50, 0.08),
        0 6px 14px rgba(40, 46, 50, 0.1),
        0 16px 32px rgba(40, 46, 50, 0.08);
    transform: rotate(var(--r));
    cursor: grab;
    touch-action: none;
}

.polaroid img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.polaroid:hover {
    z-index: 5;
    transform: rotate(var(--r)) scale(1.04);
}

.polaroid.is-dragging,
.polaroid.is-dragging:hover,
.polaroid.is-coasting,
.polaroid.is-coasting:hover {
    z-index: 8;
    cursor: grabbing;
    transform: rotate(var(--r));
    animation: none;
}

body:not(.polaroids-used) .polaroid {
    animation: polaroid-loose 2.6s ease-in-out 2;
}

body:not(.polaroids-used) .polaroid:nth-child(2n) { animation-delay: 0.4s; }
body:not(.polaroids-used) .polaroid:nth-child(3n) { animation-delay: 0.8s; }

@keyframes polaroid-loose {
    0%, 100% { transform: rotate(var(--r)); }
    45% { transform: rotate(calc(var(--r) + 3deg)) translate3d(8px, -6px, 0); }
    72% { transform: rotate(calc(var(--r) - 2deg)) translate3d(-6px, 4px, 0); }
}

.drag-hint {
    width: clamp(250px, 34vw, 470px);
    margin: 1.4vh 0 0 auto;
    color: #8a9398;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-align: right;
    animation: hint-nudge 1.8s ease-in-out infinite;
}

body.polaroids-used .drag-hint {
    animation: none;
    opacity: 0;
    transition: opacity 0.45s ease;
}

@keyframes hint-nudge {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-7px); }
}

.polaroid-play {
    position: absolute;
    left: 50%;
    top: 38%;
    width: clamp(22px, 18%, 36px);
    height: clamp(22px, 18%, 36px);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 6px 16px rgba(20, 24, 28, 0.22);
    pointer-events: none;
}

.polaroid-play::before {
    content: "";
    position: absolute;
    left: 56%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 5px 0 5px 8px;
    border-color: transparent transparent transparent #2c3336;
}

.polaroid.is-dragging .polaroid-play { opacity: 0; }

#musica {
    justify-content: flex-end;
    padding-right: 8vw;
}

#musica .scene-copy { position: relative; z-index: 6; }

body.is-ready .panel.is-current .polaroid img { animation: none; }

@media (max-height: 520px) and (min-width: 1000px) {
    #web .visual-carrusel { position: relative; width: min(34vw, 360px); }
    #web .carousel-slide,
    #web .carousel-slide.is-on,
    #web .carousel-slide.is-tall {
        width: min(32vw, 340px, calc(min(34vh, 180px) * var(--ar, 1.6)));
    }
}

@media (orientation: landscape) and (max-height: 500px) and (max-width: 980px) {
    #web { padding-right: 0; justify-content: center; }
    #web .visual-carrusel { position: relative; width: min(42vw, 340px); }
    #web .carousel-slide,
    #web .carousel-slide.is-on,
    #web .carousel-slide.is-tall {
        width: min(40vw, 300px, calc(min(46vh, 188px) * var(--ar, 1.6)));
    }
    #musica { padding-right: max(16px, env(safe-area-inset-right)); }
}

.video-overlay {
    background: #000;
    padding: 0;
}
