/* =========================================================
   CINNAMOROLL · UN SANTUARIO EN LAS NUBES
   Art direction: cielo de mediodía, vidrio perlado, vichy azul.
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --sky-0: #fdfdff;
  --sky-1: #f4faff;
  --sky-2: #e6f2ff;
  --sky-3: #d5eaff;
  --sky-4: #b3d9ff;
  --blue: #8ac5ef;
  --blue-deep: #3e7ba7;
  --ink: #3b5873;
  --ink-soft: #557089;
  --ink-faint: #668299;
  --blush: #ffd1dc;
  --blush-deep: #d98ca4;
  --pearl: #fffdf8;
  --white: #ffffff;
  --line: rgba(109, 155, 190, .22);
  --glass: rgba(255, 255, 255, .56);
  --glass-strong: rgba(255, 255, 255, .78);
  --shadow-sm: 0 12px 30px -20px rgba(53, 105, 145, .48);
  --shadow-md: 0 32px 70px -38px rgba(48, 98, 139, .52);
  --shadow-lg: 0 50px 100px -55px rgba(42, 92, 132, .6);
  --radius: 28px;
  --radius-lg: 36px;
  --gutter: clamp(20px, 5vw, 56px);
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  --ease-soft: cubic-bezier(.32, .72, 0, 1);
  --font: "Quicksand", "Segoe UI", system-ui, -apple-system, sans-serif;
  --script: "Caveat", "Segoe Script", cursive;
  --gingham:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .6) 0 15px, transparent 15px 30px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .6) 0 15px, transparent 15px 30px);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--sky-1);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked { overflow: hidden; }

img, svg { display: block; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, h4, p, blockquote, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong, b { font-weight: 700; }
::selection { background: var(--sky-4); color: #24445c; }

:focus-visible {
  outline: 2px solid #2e6f9e;
  outline-offset: 4px;
}

section[id],
main[id] { scroll-margin-top: 112px; }
#inicio { scroll-margin-top: 0; }
main:focus { outline: none; }

::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: #eef8ff; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #c6e4fb, #9fcfee);
  border: 3px solid #eef8ff;
  border-radius: 99px;
}
html { scrollbar-width: thin; scrollbar-color: #a7d3ee #eef8ff; }

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.container {
  width: min(1180px, calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 500;
  transform: translateY(-160%);
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: .8rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease-out);
}
.skip-link:focus-visible { transform: translateY(0); }

.icon { width: 1em; height: 1em; fill: currentColor; }
.icon--heart { color: #6fb8e7; fill: currentColor; }

/* ---------- Gingham / pearls helpers ---------- */
.gingham-ribbon {
  position: absolute;
  border-radius: 5px;
  background-color: #cfe7fb;
  background-image: var(--gingham);
  box-shadow: 0 12px 26px -18px rgba(53, 105, 145, .45);
  opacity: .3;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  pointer-events: none;
}

.pearl {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #fff 0 16%, #f7fcff 45%, #d0e7f8 100%);
  box-shadow: inset -2px -3px 5px rgba(137, 177, 206, .22), 0 2px 6px rgba(89, 135, 167, .14);
}

/* ---------- Navigation ---------- */
.site-nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, calc(100% - 2 * var(--gutter)));
  min-height: 64px;
  padding: 10px 12px 10px 20px;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .46));
  box-shadow: 0 22px 50px -30px rgba(39, 88, 129, .55), inset 0 1px 0 rgba(255, 255, 255, .95);
  backdrop-filter: blur(20px) saturate(155%);
  -webkit-backdrop-filter: blur(20px) saturate(155%);
  transition: box-shadow .35s var(--ease-out), background-color .35s ease, border-color .35s ease;
}
.site-nav.is-scrolled {
  background: linear-gradient(135deg, rgba(255, 255, 255, .9), rgba(246, 251, 255, .7));
  box-shadow: 0 26px 55px -28px rgba(39, 88, 129, .62), inset 0 1px 0 #fff;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
  padding: 3px 0;
}
.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 28px;
  color: #77b4de;
  transition: transform .4s var(--ease-out);
}
.brand-mark svg { width: 34px; height: auto; fill: currentColor; filter: drop-shadow(0 2px 3px rgba(92, 147, 187, .22)); }
.brand-pearl {
  position: absolute;
  top: 1px;
  right: -1px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #ffd1dc 75%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .8);
}
.brand-word {
  font-family: var(--script);
  font-size: 1.62rem;
  font-weight: 700;
  line-height: 1;
  color: #3f6b8b;
  letter-spacing: .005em;
  transform: translateY(-1px);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.3vw, 30px);
  flex: 1;
}
.nav-links a {
  position: relative;
  padding: 8px 0;
  color: #4a6c87;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .035em;
  transition: color .2s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 1px;
  width: 14px;
  height: 6px;
  border-radius: 50%;
  background: rgba(138, 197, 239, .42);
  transform: translateX(-50%) scale(.25);
  opacity: 0;
  transition: transform .3s var(--ease-out), opacity .3s ease;
}
.nav-links a.is-active { color: #2e5b7b; }
.nav-links a.is-active::after { opacity: 1; transform: translateX(-50%) scale(1); }

.mimo-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  min-height: 38px;
  padding: 0 13px 0 11px;
  border: 1px solid rgba(255, 255, 255, .95);
  border-radius: 999px;
  background: linear-gradient(160deg, #fff, #eaf6ff);
  box-shadow: 0 8px 18px -12px rgba(65, 118, 158, .5), inset 0 1px 0 #fff;
  color: #486b87;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .03em;
  transition: transform .22s var(--ease-out), box-shadow .22s ease;
}
.mimo-pill:active { transform: scale(.97); }
.mimo-pill svg { width: 14px; height: 14px; }
.mimo-pill__count {
  min-width: 1.6em;
  padding-left: 6px;
  border-left: 1px solid rgba(102, 147, 179, .2);
  color: #326486;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(142px, 17vh, 178px) 0 72px;
  overflow: clip;
  background:
    radial-gradient(ellipse 46% 40% at 50% 30%, rgba(255, 250, 240, .95) 0%, rgba(255, 250, 240, 0) 70%),
    linear-gradient(180deg, #cbe7ff 0%, #dcf0ff 26%, #edf8ff 58%, #fdfdff 100%);
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-sun {
  position: absolute;
  top: 36%;
  left: 50%;
  width: min(860px, 86vw);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 244, 217, .82) 0%, rgba(255, 246, 226, .32) 38%, rgba(255, 248, 233, 0) 68%);
  opacity: .95;
}

.puff-cloud {
  position: absolute;
  width: var(--w, 280px);
  aspect-ratio: 3 / 1;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 52%, #e6f3fe 100%);
  box-shadow:
    0 28px 42px -30px rgba(69, 126, 170, .3),
    inset 0 -8px 16px rgba(182, 218, 245, .26),
    inset 0 2px 0 rgba(255, 255, 255, .9);
  opacity: var(--o, .9);
  animation: cloudDrift var(--dur, 80s) var(--ease-in-out) infinite alternate;
  animation-delay: var(--delay, 0s);
}
.puff-cloud::before,
.puff-cloud::after {
  content: "";
  position: absolute;
  bottom: 32%;
  border-radius: 50%;
  background: inherit;
}
.puff-cloud::before { left: 7%; width: 46%; aspect-ratio: 1; }
.puff-cloud::after { right: 9%; bottom: 44%; width: 39%; aspect-ratio: 1; }

.puff-cloud--hero-1 { --w: clamp(190px, 22vw, 320px); --dur: 95s; top: 16%; left: -6%; opacity: .9; }
.puff-cloud--hero-2 { --w: clamp(260px, 31vw, 460px); --dur: 125s; --delay: -38s; top: 25%; right: -11%; opacity: .62; }
.puff-cloud--hero-3 { --w: clamp(160px, 18vw, 250px); --dur: 75s; --delay: -12s; left: 4%; bottom: 15%; opacity: .72; }
.puff-cloud--hero-4 { --w: clamp(210px, 25vw, 360px); --dur: 108s; --delay: -54s; right: -6%; bottom: 9%; opacity: .78; }
.puff-cloud--hero-4::before { width: 54%; }

.hero-horizon {
  position: absolute;
  left: -5%;
  bottom: -30px;
  width: 110%;
  height: 140px;
  background: linear-gradient(180deg, rgba(253, 253, 255, 0) 0%, #fdfdff 78%);
}

.hero-decos {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hero-deco {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s);
  will-change: transform;
}
.deco-inner { display: block; }
.deco-inner--float { animation: floatSoft var(--float-dur, 7s) var(--ease-in-out) var(--float-delay, 0s) infinite; }
.spark {
  width: 100%;
  height: auto;
  fill: url(#sparkGrad);
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, .9));
  animation: twinkle 4.8s ease-in-out infinite;
}
.spark--small { animation-duration: 3.6s; opacity: .8; }
.glass-heart {
  width: 100%;
  height: auto;
  fill: url(#heartGrad);
  stroke: rgba(255, 255, 255, .92);
  stroke-width: 1.6;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, .8)) drop-shadow(0 7px 12px rgba(72, 127, 168, .18));
  animation: twinkle 5.8s ease-in-out infinite;
}
.glass-heart--small { opacity: .82; }

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 2 * var(--gutter)));
}
.hero-scene {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-scriptline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #547b99;
  font-family: var(--script);
  font-size: clamp(1.85rem, 3.1vw, 2.6rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: .015em;
}
.inline-spark {
  width: 14px;
  height: 14px;
  fill: #b7ddf8;
  transform: rotate(8deg);
}
.inline-spark--rose { fill: #f3c4d2; transform: rotate(-8deg); }

.hero-title {
  position: relative;
  z-index: 3;
  margin-top: 2px;
  color: #315f83;
  font-family: var(--script);
  font-size: clamp(5.4rem, 13vw, 10.2rem);
  font-weight: 600;
  line-height: .78;
  letter-spacing: .005em;
  text-wrap: balance;
  text-shadow: 0 2px 0 rgba(255, 255, 255, .55);
}
.hero-stage {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: clamp(280px, 33vw, 480px);
  margin-top: -10px;
  perspective: 1100px;
}
.hero-halo {
  position: absolute;
  top: -14%;
  left: -16%;
  width: 132%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .95) 0%, rgba(189, 224, 251, .5) 42%, rgba(255, 255, 255, 0) 69%);
  pointer-events: none;
}
.hero-orbit {
  position: absolute;
  top: -17%;
  left: -12%;
  width: 124%;
  height: auto;
  opacity: .64;
  transform: rotate(-9deg);
  pointer-events: none;
}
.hero-shadow {
  position: absolute;
  bottom: 1%;
  left: 50%;
  width: 60%;
  height: 34px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(57, 110, 151, .26) 0%, rgba(57, 110, 151, .1) 45%, transparent 72%);
  filter: blur(6px);
  pointer-events: none;
}
.hero-cloudlet {
  position: absolute;
  z-index: 1;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff, #eaf7ff);
  box-shadow: 0 16px 24px -18px rgba(72, 124, 163, .45);
  filter: blur(.35px);
  pointer-events: none;
}
.hero-cloudlet::before,
.hero-cloudlet::after {
  content: "";
  position: absolute;
  bottom: 34%;
  border-radius: 50%;
  background: inherit;
}
.hero-cloudlet::before { left: 7%; width: 52%; aspect-ratio: 1; }
.hero-cloudlet::after { right: 8%; bottom: 46%; width: 40%; aspect-ratio: 1; }
.hero-cloudlet--a { left: -8%; bottom: 11%; width: 92px; aspect-ratio: 2.7; opacity: .9; }
.hero-cloudlet--b { right: -7%; bottom: 6%; width: 126px; aspect-ratio: 2.9; opacity: .85; }
.hero-cloudlet--c { left: 28%; bottom: -2%; width: 76px; aspect-ratio: 2.6; opacity: .7; }

.hero-mascot {
  position: relative;
  z-index: 2;
  width: 100%;
  transform-style: preserve-3d;
  will-change: transform;
}
.mascot-float {
  animation: levitate 7.6s var(--ease-in-out) infinite;
  transform-origin: 50% 82%;
}
.hero-mascot img {
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}
.hero-side-spark {
  position: absolute;
  z-index: 3;
  width: 24px;
  fill: url(#sparkGrad);
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, .9));
  animation: twinkle 4.1s ease-in-out infinite;
  pointer-events: none;
}
.hero-side-spark--left { left: 5%; bottom: 31%; width: 18px; animation-delay: -1.8s; }
.hero-side-spark--right { right: 2%; bottom: 24%; width: 28px; animation-delay: -3.2s; }

.hero-lede {
  position: relative;
  z-index: 3;
  max-width: 44ch;
  margin-top: clamp(12px, 2vh, 20px);
  color: #486682;
  font-size: clamp(.94rem, 1.15vw, 1.04rem);
  font-weight: 500;
  line-height: 1.72;
  text-wrap: pretty;
}

.hero-actions {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .015em;
  line-height: 1;
  cursor: pointer;
  transition: transform .24s var(--ease-out), box-shadow .24s ease, background-color .24s ease, border-color .24s ease;
}
.btn:active { transform: scale(.975); }
.btn-icon { width: 15px; height: 15px; transition: transform .24s var(--ease-out); }
.btn--primary {
  color: #274f6d;
  border-color: rgba(255, 255, 255, .95);
  background: linear-gradient(165deg, #ffffff 0%, #e8f6ff 38%, #c4e4ff 100%);
  box-shadow: 0 16px 30px -15px rgba(40, 95, 137, .6), inset 0 1px 0 #fff, inset 0 -2px 6px rgba(148, 197, 232, .28);
}
.btn--ghost {
  color: #3f6683;
  border-color: rgba(255, 255, 255, .95);
  background: rgba(255, 255, 255, .55);
  box-shadow: 0 10px 22px -18px rgba(48, 101, 143, .45), inset 0 1px 0 rgba(255, 255, 255, .9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn--ghost .btn-icon { width: 13px; height: 13px; }

.hero-footnote {
  margin-top: 18px;
  color: #47657c;
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.hero-footnote span { margin-inline: 6px; color: #a6bece; }

.hero-note {
  position: absolute;
  z-index: 4;
  top: 35%;
  right: clamp(22px, 3.5vw, 64px);
  width: 158px;
  padding: 24px 16px 18px;
  rotate: 6deg;
  border: 1px solid rgba(255, 255, 255, .88);
  border-radius: 5px 18px 18px 18px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .82), rgba(255, 255, 255, .5));
  box-shadow: 0 22px 44px -28px rgba(54, 105, 145, .55), inset 0 1px 0 #fff;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  text-align: left;
  will-change: transform;
}
.hero-note__tape {
  position: absolute;
  top: -11px;
  left: 50%;
  width: 58px;
  height: 20px;
  transform: translateX(-50%) rotate(-3deg);
  background: rgba(211, 233, 250, .8);
  background-image: var(--gingham);
  background-size: 12px 12px;
  border-radius: 2px;
  box-shadow: 0 2px 4px rgba(83, 131, 167, .12);
  opacity: .9;
}
.hero-note__script {
  color: #4f7896;
  font-family: var(--script);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1;
}
.hero-note__tiny {
  margin-top: 5px;
  color: #5f7b91;
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .055em;
}
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 20px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transform: translateX(-50%);
  color: #486b85;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: color .2s ease;
}
.scroll-cue__track {
  position: relative;
  display: block;
  width: 1px;
  height: 32px;
  overflow: hidden;
  background: rgba(64, 100, 128, .28);
}
.scroll-cue__track i {
  position: absolute;
  top: -8px;
  left: 0;
  width: 1px;
  height: 11px;
  background: #7da9c5;
  animation: scrollDrop 2.5s var(--ease-in-out) infinite;
}

/* ---------- Hero entrance choreography ---------- */
html.js .hero-scriptline,
html.js .hero-title,
html.js .hero-stage,
html.js .hero-lede,
html.js .hero-actions,
html.js .hero-footnote,
html.js .hero-note,
html.js .scroll-cue {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
}
html.js .hero-stage { transform: translate3d(0, 26px, 0) scale(.97); }
html.js .hero-note { transform: translate3d(0, 14px, 0); }
html.js .hero.is-ready .hero-scriptline,
html.js .hero.is-ready .hero-title,
html.js .hero.is-ready .hero-stage,
html.js .hero.is-ready .hero-lede,
html.js .hero.is-ready .hero-actions,
html.js .hero.is-ready .hero-footnote,
html.js .hero.is-ready .hero-note,
html.js .hero.is-ready .scroll-cue {
  opacity: 1;
  transition: opacity .9s var(--ease-out), transform 1s var(--ease-out);
}
html.js .hero.is-ready .hero-scriptline { transition-delay: .06s; }
html.js .hero.is-ready .hero-title { transition-delay: .14s; }
html.js .hero.is-ready .hero-stage { transition-delay: .3s; }
html.js .hero.is-ready .hero-lede { transition-delay: .46s; }
html.js .hero.is-ready .hero-actions { transition-delay: .55s; }
html.js .hero.is-ready .hero-footnote { transition-delay: .64s; }
html.js .hero.is-ready .hero-note { transition-delay: .42s; }
html.js .hero.is-ready .scroll-cue { transition-delay: .8s; }
html.js .hero.is-ready .hero-scriptline,
html.js .hero.is-ready .hero-title,
html.js .hero.is-ready .hero-stage,
html.js .hero.is-ready .hero-lede,
html.js .hero.is-ready .hero-actions,
html.js .hero.is-ready .hero-footnote,
html.js .hero.is-ready .hero-note,
html.js .hero.is-ready .scroll-cue {
  transform: none;
}

/* =========================================================
   SECCIÓN COZY · Bento
   ========================================================= */
.cozy {
  position: relative;
  overflow: clip;
  padding: clamp(76px, 9vw, 118px) 0 clamp(88px, 11vw, 144px);
  background:
    radial-gradient(ellipse 48% 38% at 14% 14%, rgba(255, 219, 231, .58) 0%, transparent 68%),
    radial-gradient(ellipse 46% 42% at 91% 66%, rgba(176, 221, 255, .6) 0%, transparent 70%),
    linear-gradient(180deg, #fdfdff 0%, #eef9ff 42%, #e2f2ff 100%);
}
.cozy-decor {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.ambient-cloud {
  position: absolute;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .95), rgba(235, 247, 255, .6));
  filter: blur(2px);
  opacity: .62;
}
.ambient-cloud::before,
.ambient-cloud::after {
  content: "";
  position: absolute;
  bottom: 34%;
  border-radius: 50%;
  background: inherit;
}
.ambient-cloud::before { left: 8%; width: 48%; aspect-ratio: 1; }
.ambient-cloud::after { right: 10%; bottom: 45%; width: 38%; aspect-ratio: 1; }
.ambient-cloud--cozy-1 { top: 9%; left: -9%; width: 390px; aspect-ratio: 3.1; opacity: .55; }
.ambient-cloud--cozy-2 { right: -12%; bottom: 7%; width: 470px; aspect-ratio: 3.2; opacity: .42; }
.cozy-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  pointer-events: none;
}
.cozy-glow--blue {
  top: 4%;
  right: 2%;
  width: 560px;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(176, 221, 255, .68) 0%, transparent 68%);
}
.cozy-glow--rose {
  bottom: 8%;
  left: 1%;
  width: 480px;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255, 207, 223, .52) 0%, transparent 68%);
}
.gingham-ribbon--cozy {
  top: 7%;
  right: -120px;
  width: 460px;
  height: 70px;
  rotate: -12deg;
  opacity: .32;
}

.floating-spark {
  position: absolute;
  width: 22px;
  height: auto;
  fill: url(#sparkGrad);
  opacity: .72;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, .85));
  animation: twinkle 5.4s ease-in-out infinite;
  pointer-events: none;
}
.floating-spark--cozy-1 { top: 20%; left: 4%; width: 25px; animation-delay: -2.5s; }
.floating-spark--cozy-2 { right: 5%; bottom: 17%; width: 17px; animation-delay: -1.1s; }
.floating-spark--vault-1 { top: 14%; right: 7%; width: 26px; animation-delay: -3.2s; }
.floating-spark--vault-2 { bottom: 18%; left: 5%; width: 18px; animation-delay: -1.7s; }

.container > * { position: relative; z-index: 1; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(28px, 5vw, 76px);
  margin-bottom: clamp(32px, 4.4vw, 52px);
}
.section-head__title {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.section-title {
  color: #36607f;
  font-family: var(--font);
  font-size: clamp(2.35rem, 4.6vw, 3.55rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.script-accent {
  display: inline-block;
  margin-left: .07em;
  color: #4a82a8;
  font-family: var(--script);
  font-size: 1.28em;
  font-weight: 600;
  line-height: .72;
  letter-spacing: .01em;
  rotate: -2deg;
}
.section-lede {
  max-width: 39ch;
  margin-bottom: 4px;
  color: var(--ink-soft);
  font-size: .93rem;
  font-weight: 500;
  line-height: 1.72;
  text-wrap: pretty;
}

.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 1.9vw, 22px);
}
.bento-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .98);
  border-radius: var(--radius);
  padding: clamp(20px, 2.5vw, 30px);
  background: linear-gradient(150deg, rgba(255, 255, 255, .9), rgba(246, 252, 255, .56));
  box-shadow:
    0 0 0 1px rgba(137, 184, 218, .13),
    0 40px 76px -44px rgba(41, 91, 132, .58),
    0 12px 26px -19px rgba(74, 126, 163, .3),
    inset 0 1px 0 rgba(255, 255, 255, .98);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  transition: transform .35s var(--ease-out), box-shadow .35s ease;
}
.bento-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255, 255, 255, .3), transparent 30%, transparent 70%, rgba(255, 255, 255, .16));
  pointer-events: none;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.tiny-label {
  color: #4c6f8a;
  font-family: var(--font);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .155em;
  line-height: 1.3;
  text-transform: uppercase;
}
.tiny-tag {
  flex-shrink: 0;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 999px;
  background: rgba(255, 255, 255, .52);
  color: #58748b;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .075em;
  line-height: 1;
  text-transform: uppercase;
}
.tiny-tag--link {
  display: inline-flex;
  align-items: center;
  color: #4c6d87;
  text-decoration: none;
  cursor: pointer;
}

/* Reloj */
.card-clock {
  grid-column: span 7;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: clamp(18px, 2.3vw, 34px);
  min-height: 314px;
  background:
    radial-gradient(circle at 88% 12%, rgba(168, 214, 250, .62) 0%, transparent 50%),
    radial-gradient(circle at 5% 90%, rgba(255, 232, 239, .36) 0%, transparent 46%),
    linear-gradient(148deg, rgba(255, 255, 255, .92), rgba(230, 245, 255, .64));
}
.clock-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  padding-block: 2px;
}
.clock-time {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  margin: clamp(22px, 3vw, 34px) 0 4px;
  color: #345e7e;
  font-family: var(--font);
  font-size: clamp(3.1rem, 5.6vw, 5rem);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  line-height: .88;
  letter-spacing: -.045em;
  white-space: nowrap;
}
.clock-sec {
  margin-top: .35em;
  color: #5f8aa6;
  font-size: .24em;
  font-weight: 700;
  letter-spacing: .02em;
}
.clock-date {
  color: #57748c;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .02em;
}
.clock-note {
  margin-top: 13px;
  color: #64869f;
  font-family: var(--script);
  font-size: clamp(1.3rem, 1.8vw, 1.55rem);
  font-weight: 500;
  line-height: 1;
}
.clock-art {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 13px;
  flex-shrink: 0;
  align-self: center;
  padding-bottom: 3px;
}
.clock-dial {
  position: relative;
  width: clamp(108px, 10.5vw, 136px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .98);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, .94) 0%, rgba(255, 255, 255, .62) 50%, rgba(255, 255, 255, .3) 100%),
    repeating-linear-gradient(0deg, rgba(168, 214, 248, .65) 0 8px, transparent 8px 16px),
    repeating-linear-gradient(90deg, rgba(168, 214, 248, .65) 0 8px, transparent 8px 16px),
    #eaf6ff;
  box-shadow:
    0 22px 38px -28px rgba(47, 98, 138, .56),
    inset 0 2px 0 rgba(255, 255, 255, .95),
    inset 0 0 0 6px rgba(255, 255, 255, .2);
}
.clock-dial::after {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 23%, rgba(255, 255, 255, .6) 0%, transparent 44%);
  pointer-events: none;
}
.dial-ticks {
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background: repeating-conic-gradient(from -.5deg, #7daac9 0deg 1.1deg, transparent 1.1deg 30deg);
  -webkit-mask: radial-gradient(circle, transparent 0 45%, #000 46% 48%, transparent 49%);
  mask: radial-gradient(circle, transparent 0 45%, #000 46% 48%, transparent 49%);
  opacity: .75;
}
.dial-spark {
  position: absolute;
  z-index: 4;
  top: 18%;
  left: 18%;
  width: 12px;
  opacity: .8;
}
.dial-spark svg { width: 100%; fill: url(#sparkGrad); }
.hand {
  position: absolute;
  left: 50%;
  bottom: 50%;
  z-index: 2;
  border-radius: 99px;
  transform-origin: 50% 100%;
  background: #4a7d9e;
  transition: transform .2s var(--ease-out);
}
.hand--hour { width: 3.5px; height: 25%; margin-left: -1.75px; }
.hand--minute { width: 2.8px; height: 34%; margin-left: -1.4px; background: #628ca7; }
.hand--second {
  width: 1.4px;
  height: 38%;
  margin-left: -.7px;
  background: #e0a0b3;
  border-radius: 2px;
}
.dial-center {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  transform: translate(-50%, -50%);
  border: 1.5px solid #fff;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #f6d9e1 70%);
  box-shadow: 0 2px 5px rgba(69, 117, 150, .25);
}
.clock-caption {
  color: #557086;
  font-size: .59rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

/* Reproductor */
.card-music {
  grid-column: span 5;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 314px;
  background:
    radial-gradient(circle at 9% 96%, rgba(255, 207, 222, .56) 0%, transparent 50%),
    linear-gradient(142deg, rgba(208, 236, 255, .88), rgba(255, 255, 255, .64));
}
.player {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.3vw, 16px);
  margin-top: 18px;
}
.album {
  position: relative;
  display: block;
  flex-shrink: 0;
  width: clamp(82px, 8.2vw, 106px);
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .96);
  border-radius: 20px;
  background: #d8ecff;
  box-shadow: 0 18px 30px -22px rgba(55, 106, 145, .5), inset 0 1px 0 #fff;
}
.album-gingham {
  position: absolute;
  inset: 0;
  background-color: #cce6fb;
  background-image: var(--gingham);
  background-size: 22px 22px;
  opacity: .92;
}
.album img {
  position: absolute;
  bottom: -7%;
  left: 50%;
  width: 106%;
  height: auto;
  transform: translateX(-50%);
  filter: drop-shadow(0 6px 7px rgba(72, 116, 147, .18));
}
.album-star {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 15px;
  fill: #fff;
  opacity: .9;
  filter: drop-shadow(0 1px 2px rgba(85, 135, 170, .3));
}
.track { min-width: 0; flex: 1; }
.track-title {
  overflow: hidden;
  color: #355e7d;
  font-size: .94rem;
  font-weight: 700;
  letter-spacing: -.01em;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.track-artist {
  margin-top: 2px;
  color: #557089;
  font-size: .71rem;
  font-weight: 600;
}
.track-note {
  margin-top: 6px;
  color: #5a748a;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .04em;
}
.play-btn {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 45px;
  height: 45px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .98);
  border-radius: 50%;
  background: linear-gradient(150deg, #fff, #e7f4ff);
  box-shadow: 0 12px 22px -14px rgba(52, 104, 145, .55), inset 0 1px 0 #fff;
  color: #4a7fa4;
  cursor: pointer;
  transition: transform .2s var(--ease-out), color .2s ease, background .2s ease, box-shadow .2s ease;
}
.play-btn:active { transform: scale(.95); }
.play-btn svg { width: 17px; height: 17px; }
.play-btn .pause-icon { display: none; }
.card-music.is-playing .play-btn {
  color: #fff;
  background: linear-gradient(150deg, #82c1eb, #4c8dbd);
  border-color: rgba(255, 255, 255, .8);
}
.card-music.is-playing .play-btn .play-icon { display: none; }
.card-music.is-playing .play-btn .pause-icon { display: block; }
.player-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}
.equalizer {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 17px;
}
.equalizer i {
  display: block;
  width: 3px;
  height: 100%;
  border-radius: 99px;
  background: #77b6e0;
  transform: scaleY(.28);
  transform-origin: bottom center;
  transition: transform .35s var(--ease-out), background .35s ease;
}
.equalizer i:nth-child(2), .equalizer i:nth-child(4) { background: #eca9bd; }
.equalizer i:nth-child(3) { background: #a8d6f5; }
.card-music.is-playing .equalizer i { animation: equalize .85s ease-in-out infinite alternate; }
.card-music.is-playing .equalizer i:nth-child(2) { animation-duration: 1.05s; animation-delay: -.2s; }
.card-music.is-playing .equalizer i:nth-child(3) { animation-duration: .72s; animation-delay: -.45s; }
.card-music.is-playing .equalizer i:nth-child(4) { animation-duration: 1.2s; animation-delay: -.1s; }
.card-music.is-playing .equalizer i:nth-child(5) { animation-duration: .94s; animation-delay: -.55s; }
.player-note {
  color: #557089;
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .025em;
}

/* Nota */
.card-quote {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 282px;
  background:
    radial-gradient(circle at 95% 90%, rgba(255, 190, 210, .6) 0%, transparent 50%),
    radial-gradient(circle at 8% 12%, rgba(255, 240, 245, .85) 0%, transparent 38%),
    linear-gradient(145deg, rgba(255, 247, 251, .94), rgba(255, 255, 255, .56));
}
.tape {
  position: absolute;
  top: 13px;
  left: 24px;
  width: 74px;
  height: 17px;
  rotate: -4deg;
  background-color: rgba(199, 227, 249, .95);
  background-image: var(--gingham);
  background-size: 11px 11px;
  border-radius: 2px;
  box-shadow: 0 2px 4px rgba(89, 136, 169, .12);
  opacity: .95;
  pointer-events: none;
}
.quote-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.quote { margin: clamp(15px, 2vw, 22px) 0 clamp(13px, 1.7vw, 19px); }
.quote-text {
  color: #476c89;
  font-family: var(--script);
  font-size: clamp(2.15rem, 3.3vw, 2.9rem);
  font-weight: 600;
  line-height: .98;
  letter-spacing: .005em;
  transition: opacity .22s ease, transform .3s var(--ease-out);
}
.quote-text.is-changing { opacity: 0; transform: translateY(5px); }
.quote-highlight {
  color: #3b7fa9;
  background: linear-gradient(transparent 68%, rgba(255, 201, 215, .58) 68%);
  padding-bottom: 2px;
}
.quote-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.quote-dots {
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 12px;
}
.quote-dots i {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 99px;
  background: rgba(105, 145, 172, .3);
  transition: width .3s var(--ease-out), background-color .3s ease;
}
.quote-dots i.is-on { width: 15px; background: #8cbddc; }
.text-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 6px 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: rgba(255, 255, 255, .38);
  color: #436b88;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .025em;
  cursor: pointer;
  transition: background-color .2s ease, transform .2s var(--ease-out), border-color .2s ease;
}
.text-btn svg { width: 12px; height: 12px; opacity: .8; transition: transform .4s var(--ease-out); }
.text-btn:active { transform: scale(.97); }

/* Nube de bolsillo */
.card-rain {
  grid-column: span 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 2.4vw, 34px);
  min-height: 282px;
  background:
    radial-gradient(circle at 83% 17%, rgba(255, 210, 224, .55) 0%, transparent 44%),
    linear-gradient(132deg, rgba(206, 237, 255, .9), rgba(255, 255, 255, .56));
}
.rain-copy { max-width: 34ch; }
.rain-title {
  margin: clamp(17px, 2.2vw, 25px) 0 7px;
  color: #35617f;
  font-size: clamp(1.45rem, 2.2vw, 1.8rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.03em;
}
.rain-text {
  max-width: 32ch;
  color: #4f6c84;
  font-size: .82rem;
  font-weight: 500;
  line-height: 1.62;
}
.soft-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 17px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, .93);
  border-radius: 999px;
  background: rgba(255, 255, 255, .55);
  box-shadow: 0 10px 20px -16px rgba(54, 106, 145, .45), inset 0 1px 0 #fff;
  color: #416b88;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .02em;
  cursor: pointer;
  transition: transform .22s var(--ease-out), background-color .22s ease;
}
.soft-btn svg { width: 13px; height: 13px; fill: #c5a3b0; }
.soft-btn:active { transform: scale(.97); }
.mini-cloud {
  position: relative;
  flex-shrink: 0;
  width: clamp(174px, 20vw, 236px);
  aspect-ratio: 600 / 430;
  padding: 0;
  border: 0;
  background: none;
  color: #3f8fc8;
  cursor: pointer;
}
.mini-cloud__wrap {
  position: absolute;
  inset: 0 0 15% 0;
  display: block;
  animation: floatSoft 6.4s var(--ease-in-out) infinite;
}
.mini-cloud__body {
  width: 100%;
  height: auto;
  transition: transform .18s var(--ease-out);
  transform-origin: 50% 84%;
}
.mini-cloud.is-poked .mini-cloud__body { transform: scale(.95, .92); }
.mini-cloud .cloud-face { z-index: 2; }
.hang {
  position: absolute;
  bottom: -10%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform-origin: 50% 0;
  animation: sway 4.5s var(--ease-in-out) infinite alternate;
}
.hang--left { left: 22%; animation-delay: -1.4s; }
.hang--right { right: 20%; bottom: -4%; animation-delay: -3.2s; }
.hang i {
  display: block;
  width: 1px;
  height: 24px;
  background: rgba(111, 157, 190, .42);
}
.hang svg {
  width: 13px;
  fill: #fff;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, .95));
}
.hang--right svg { width: 10px; opacity: .8; }

/* ---------- Cloud face (compartida) ---------- */
.cloud-face { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.cloud-eye {
  position: absolute;
  top: 42.4%;
  width: 5.1%;
  height: 9.2%;
  border-radius: 50%;
  background: radial-gradient(circle at 37% 29%, #b7e8ff 0 13%, #4f9fd6 42%, #2d76ad 100%);
  box-shadow: inset 0 -2px 4px rgba(28, 84, 120, .18), 0 1px 2px rgba(255, 255, 255, .5);
  transition: height .18s var(--ease-out), top .18s var(--ease-out), background .18s ease, border .18s ease;
}
.cloud-eye::after {
  content: "";
  position: absolute;
  top: 18%;
  left: 24%;
  width: 26%;
  height: 20%;
  border-radius: 50%;
  background: rgba(255, 255, 255, .95);
}
.cloud-eye--left { left: 42.6%; }
.cloud-eye--right { left: 55.8%; }
.cloud-blush {
  position: absolute;
  top: 54.5%;
  width: 8.2%;
  height: 3.8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 169, 190, .95) 0%, rgba(255, 192, 206, .55) 52%, transparent 76%);
  filter: blur(1.4px);
  opacity: .9;
}
.cloud-blush--left { left: 36.2%; }
.cloud-blush--right { left: 57.5%; }
.cloud-mouth {
  position: absolute;
  top: 53.1%;
  left: 43.8%;
  width: 12.4%;
  height: auto;
  color: #3e8fc9;
  opacity: 1;
  transition: opacity .12s ease;
}

/* =========================================================
   VAULT
   ========================================================= */
.vault {
  position: relative;
  overflow: clip;
  padding: clamp(86px, 10vw, 132px) 0 clamp(72px, 8vw, 104px);
  background:
    radial-gradient(ellipse 55% 55% at 50% 44%, rgba(255, 255, 255, .8) 0%, rgba(255, 255, 255, 0) 68%),
    linear-gradient(180deg, #e2f2ff 0%, #daedff 36%, #cbe6ff 100%);
}
.vault-decor {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.vault-decor .vault-glow {
  position: absolute;
  top: 45%;
  left: 50%;
  width: 88vw;
  max-width: 1100px;
  aspect-ratio: 1.5;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .92), rgba(255, 255, 255, .28) 55%, transparent 78%);
  opacity: .8;
}
.ambient-cloud--vault-1 { top: 15%; left: -12%; width: 520px; aspect-ratio: 3.3; opacity: .38; }
.ambient-cloud--vault-2 { right: -14%; bottom: 20%; width: 420px; aspect-ratio: 3.1; opacity: .3; }
.gingham-ribbon--vault {
  top: 26%;
  right: -160px;
  width: 470px;
  height: 74px;
  rotate: -17deg;
  opacity: .24;
}
.pearl-swoop {
  position: absolute;
  top: 13%;
  left: 62%;
  width: 310px;
  height: 30px;
  rotate: 15deg;
  background-image: radial-gradient(circle at 6px 6px, #fff 4.2px, transparent 4.8px);
  background-size: 19px 14px;
  opacity: .7;
  filter: drop-shadow(0 2px 3px rgba(99, 145, 177, .18));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  pointer-events: none;
}
.section-head--vault { position: relative; z-index: 1; }

.vault-stage {
  position: relative;
  z-index: 1;
  min-height: clamp(620px, 64vw, 760px);
  margin-top: 18px;
  perspective: 1400px;
}
.vault-thread {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: .78;
  pointer-events: none;
}
.vault-item {
  position: absolute;
  z-index: 1;
  margin: 0;
  animation: floatSoft var(--float-dur, 8s) var(--ease-in-out) var(--float-delay, 0s) infinite alternate;
  will-change: transform;
}
.vault-item--wink { top: 2%; left: 0; width: 35%; z-index: 2; }
.vault-item--cinnamon { top: 1.5%; right: 0; width: 25.5%; z-index: 2; }
.vault-item--siesta { bottom: 1%; left: 4%; width: 30%; z-index: 4; }
.vault-item--balloons { top: 15%; left: 40%; width: 25%; z-index: 3; }
.vault-item--drink { right: 2%; bottom: 0; width: 22%; z-index: 3; }

.vault-tilt {
  transform: rotate(var(--rot, 0deg));
  transform-style: preserve-3d;
  transition: transform .55s var(--ease-out);
}
.vault-lean {
  position: relative;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  transition: transform .16s var(--ease-out);
}
.vault-lean .vault-glow {
  position: absolute;
  z-index: -1;
  inset: 2% 2% 20%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .98), rgba(191, 225, 252, .7) 46%, rgba(255, 209, 220, .2) 64%, transparent 78%);
  filter: blur(24px);
  opacity: 0;
  transform: scale(.94);
  transition: opacity .4s ease, transform .6s var(--ease-out);
  pointer-events: none;
}
.vault-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 26px;
  background: none;
  color: inherit;
  cursor: pointer;
}
.vault-button:focus-visible { outline-offset: 8px; }
.vault-button:active .vault-sticker { transform: scale(.985); }
.vault-sticker {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4% 3%;
  transition: transform .16s var(--ease-out);
}
.vault-sticker img {
  width: 100%;
  height: auto;
  filter:
    drop-shadow(2px 0 0 rgba(255, 255, 255, .96))
    drop-shadow(-2px 0 0 rgba(255, 255, 255, .96))
    drop-shadow(0 2px 0 rgba(255, 255, 255, .96))
    drop-shadow(0 -2px 0 rgba(255, 255, 255, .96))
    drop-shadow(0 20px 24px rgba(46, 94, 131, .2));
}
.vault-item figcaption { position: relative; margin-top: 3px; text-align: center; }
.sticker-note {
  display: inline-block;
  color: #395e7b;
  font-family: var(--script);
  font-size: clamp(1.18rem, 1.6vw, 1.4rem);
  font-weight: 600;
  line-height: 1.2;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .8);
}
/* =========================================================
   POKE
   ========================================================= */
.poke {
  position: relative;
  overflow: clip;
  padding: clamp(82px, 10vw, 124px) 0 clamp(56px, 6vw, 82px);
  background:
    radial-gradient(ellipse 46% 42% at 50% 54%, rgba(255, 253, 246, .95) 0%, rgba(255, 253, 246, 0) 66%),
    linear-gradient(180deg, #c9e7ff 0%, #dcf0ff 30%, #eff9ff 72%, #fbfdff 100%);
}
.poke-decor {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.poke-glow {
  position: absolute;
  top: 53%;
  left: 50%;
  width: min(700px, 84vw);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 249, 236, .9) 0%, rgba(255, 252, 243, .22) 42%, transparent 68%);
}
.ambient-cloud--poke-1 { top: 20%; left: -14%; width: 440px; aspect-ratio: 3.4; opacity: .5; }
.ambient-cloud--poke-2 { right: -12%; bottom: 14%; width: 390px; aspect-ratio: 3; opacity: .42; }
.gingham-ribbon--poke {
  left: -150px;
  bottom: 8%;
  width: 480px;
  height: 68px;
  rotate: 10deg;
  opacity: .3;
}
.poke-star {
  position: absolute;
  display: block;
  width: 18px;
  opacity: .8;
  animation: twinkle 5.6s ease-in-out infinite;
}
.poke-star svg { width: 100%; fill: url(#sparkGrad); }
.poke-star--1 { top: 17%; left: 12%; width: 24px; animation-delay: -1.4s; }
.poke-star--2 { top: 26%; right: 14%; width: 15px; animation-delay: -3.1s; }
.poke-star--3 { top: 46%; left: 7%; width: 10px; animation-delay: -.7s; opacity: .5; }
.poke-star--4 { top: 38%; right: 5%; width: 22px; animation-delay: -4.2s; }
.poke-star--5 { top: 62%; right: 22%; width: 9px; animation-delay: -2.2s; opacity: .5; }

.poke-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.poke-head { max-width: 690px; }
.section-title--center { text-align: center; }
.poke-lede {
  max-width: 48ch;
  margin: 14px auto 0;
  color: var(--ink-soft);
  font-size: .93rem;
  font-weight: 500;
  line-height: 1.7;
  text-wrap: pretty;
}
.poke-counter {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 25px;
  padding: 8px 20px 8px 9px;
  border: 1px solid rgba(255, 255, 255, .96);
  border-radius: 999px;
  background: rgba(255, 255, 255, .6);
  box-shadow: 0 18px 38px -26px rgba(48, 100, 141, .56), inset 0 1px 0 #fff;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.poke-counter__heart {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 9px -6px rgba(72, 119, 153, .4);
}
.poke-counter__heart svg { width: 15px; fill: #6fb8e7; }
.poke-counter__label {
  color: #57748c;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.poke-counter__num {
  display: inline-block;
  min-width: 1.1em;
  color: #2f5d7c;
  font-size: 1.8rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: -.03em;
}
.poke-counter.is-bumping .poke-counter__num { animation: countBump .35s var(--ease-out); }

.cloud-stage {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(740px, 100%);
  margin-top: 30px;
  padding-top: 34px;
}
.cloud-stage::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 9%;
  left: 50%;
  width: min(740px, 96vw);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(143, 198, 239, .28) 0%, rgba(157, 208, 244, .14) 42%, transparent 68%);
  filter: blur(8px);
  pointer-events: none;
}
.cloud-bubble {
  position: absolute;
  top: 0;
  right: 1%;
  z-index: 5;
  max-width: 200px;
  padding: 10px 15px;
  rotate: 3deg;
  border: 1px solid rgba(255, 255, 255, .92);
  border-radius: 17px 17px 17px 4px;
  background: rgba(255, 255, 255, .68);
  box-shadow: 0 14px 30px -24px rgba(55, 105, 140, .45), inset 0 1px 0 #fff;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #496a83;
  font-family: var(--script);
  font-size: 1.23rem;
  font-weight: 500;
  line-height: 1.05;
  text-align: left;
  pointer-events: none;
  transition: opacity .3s ease;
}
.cloud-bubble::after {
  content: "";
  position: absolute;
  right: 20px;
  bottom: -5px;
  width: 10px;
  height: 10px;
  rotate: 45deg;
  background: rgba(255, 255, 255, .68);
  border-right: 1px solid rgba(255, 255, 255, .9);
  border-bottom: 1px solid rgba(255, 255, 255, .9);
}
.cloud-bubble.is-pop { animation: bubblePop .46s var(--ease-out); }

.cloud-float {
  width: min(540px, 82vw);
  transform-origin: 50% 76%;
  animation: cloudFloat 7s var(--ease-in-out) infinite;
}
.poke-cinnamon {
  position: relative;
  display: block;
  width: 100%;
  padding: 0 0 12%;
  border: 0;
  border-radius: 38% 38% 30% 30%;
  background: none;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform .16s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.poke-cinnamon:active { transform: scale(.975) translateY(2px); }
.poke-cinnamon:focus-visible { outline-offset: 10px; }
.cinnamon-platform {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 0;
  width: 106%;
  transform: translateX(-50%);
  pointer-events: none;
  filter: drop-shadow(0 18px 22px rgba(52, 106, 145, .12));
}
.cinnamon-platform svg { display: block; width: 100%; height: auto; }
.cinnamon-image {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}
.cinnamon-shadow {
  position: absolute;
  z-index: 0;
  bottom: 0;
  left: 50%;
  width: 46%;
  height: 30px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(45, 98, 138, .3) 0%, rgba(45, 98, 138, .1) 48%, transparent 74%);
  filter: blur(7px);
  animation: shadowPulse 7s var(--ease-in-out) infinite;
  pointer-events: none;
}
.cloud-spark {
  position: absolute;
  z-index: 4;
  fill: url(#sparkGrad);
  filter: drop-shadow(0 0 9px rgba(255, 255, 255, .95));
  animation: twinkle 5s ease-in-out infinite;
  pointer-events: none;
}
.cloud-spark--1 { top: 23%; left: 8%; width: 24px; animation-delay: -2.2s; }
.cloud-spark--2 { top: 14%; right: 7%; width: 17px; animation-delay: -3.4s; }
.cloud-spark--3 { right: 3%; bottom: 22%; width: 11px; animation-delay: -1.1s; opacity: .7; }
.cloud-stage.is-radiant .cloud-spark { animation-duration: 2.9s; opacity: 1; }
.poke-milestone {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Reproductor oculto de YouTube: el audio vive aquí, el control está en la tarjeta. */
.yt-audio-shell {
  position: fixed;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  z-index: -1;
}
.yt-audio-shell iframe { width: 1px; height: 1px; border: 0; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  position: relative;
  overflow: clip;
  padding: 0 0 max(34px, env(safe-area-inset-bottom));
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(232, 246, 255, .8) 0%, transparent 70%),
    #fdfdff;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 13px;
  background-color: #d3e9fb;
  background-image: var(--gingham);
  background-size: 18px 18px;
  opacity: .55;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.footer-pearls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-top: 34px;
}
.footer-pearls i {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #fff, #f3fbff 55%, #c9e2f4 100%);
  box-shadow: 0 2px 4px rgba(77, 124, 157, .13);
}
.footer-pearls i:nth-child(4) { width: 10px; height: 10px; }
.footer-inner { padding-top: 25px; text-align: center; }
.footer-script {
  color: #3e6787;
  font-family: var(--script);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 600;
  line-height: .96;
  text-wrap: balance;
}
.back-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 24px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, .96);
  border-radius: 999px;
  background: linear-gradient(160deg, #fff, #eef9ff);
  box-shadow: 0 12px 24px -18px rgba(49, 98, 137, .5), inset 0 1px 0 #fff;
  color: #456c89;
  font-size: .72rem;
  font-weight: 700;
  transition: transform .22s var(--ease-out), box-shadow .22s ease;
}
.back-top svg { width: 13px; height: 13px; transition: transform .22s var(--ease-out); }
.footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 42px;
  padding-top: 18px;
  border-top: 1px solid rgba(115, 158, 189, .16);
  color: #557089;
  font-size: .69rem;
  font-weight: 500;
  line-height: 1.65;
  text-align: left;
}
.footer-meta p { max-width: 42ch; }
.footer-meta p:last-child { max-width: 25ch; }
.footer-nav { display: flex; gap: 17px; flex-shrink: 0; }
.footer-nav a { color: #486b85; font-weight: 700; transition: color .2s ease; }

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
html.js .reveal {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity .8s var(--ease-out) var(--reveal-delay, 0s), transform .9s var(--ease-out) var(--reveal-delay, 0s);
}
html.js .reveal.is-visible { opacity: 1; transform: none; }
html.js .poke-head.reveal { transform: translate3d(0, 18px, 0); }

/* =========================================================
   MOTES · lluvia de estrellas
   ========================================================= */
.rain-layer {
  position: fixed;
  inset: 0;
  z-index: 150;
  overflow: hidden;
  pointer-events: none;
}
.mote {
  position: fixed;
  width: var(--size, 20px);
  height: var(--size, 20px);
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
}
.mote--star {
  background: linear-gradient(145deg, #ffffff 4%, #d9f1ff 26%, #84c6ed 68%, #4e9ccf 100%);
  clip-path: polygon(50% 0, 61.5% 38.5%, 100% 50%, 61.5% 61.5%, 50% 100%, 38.5% 61.5%, 0 50%, 38.5% 38.5%);
}
.mote--star:nth-child(3n) {
  background: linear-gradient(145deg, #ffffff 4%, #ffe7ee 30%, #f2b2c5 70%, #d887a0 100%);
}
.mote--heart {
  background: linear-gradient(152deg, #ffffff 0%, #e9f7ff 28%, #9ed2f2 62%, #5fa9da 100%);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 89C22 67 8 48 8 31 8 18 19 8 32 8c7.4 0 14 3.5 18 9.1C54 11.5 60.6 8 68 8c13 0 24 10 24 23 0 17-14 36-42 58z' fill='%23000'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 89C22 67 8 48 8 31 8 18 19 8 32 8c7.4 0 14 3.5 18 9.1C54 11.5 60.6 8 68 8c13 0 24 10 24 23 0 17-14 36-42 58z' fill='%23000'/%3E%3C/svg%3E");
}
.pop-ring {
  position: fixed;
  width: clamp(58px, 7vw, 92px);
  height: clamp(58px, 7vw, 92px);
  transform: translate(-50%, -50%);
  border: 2px solid rgba(111, 176, 220, .8);
  border-radius: 50%;
  box-shadow: 0 0 0 7px rgba(255, 255, 255, .22), 0 0 22px 5px rgba(255, 255, 255, .62);
  pointer-events: none;
}
/* Offscreen sections pause their decorative CSS animations. */
.is-paused *,
.is-paused *::before,
.is-paused *::after {
  animation-play-state: paused !important;
}

/* =========================================================
   KEYFRAMES
   ========================================================= */
@keyframes levitate {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-.45deg); }
  50% { transform: translate3d(0, -12px, 0) rotate(.6deg); }
}
@keyframes floatSoft {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -8px, 0); }
}
@keyframes cloudFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-.35deg); }
  50% { transform: translate3d(0, -14px, 0) rotate(.45deg); }
}
@keyframes shadowPulse {
  0%, 100% { transform: translateX(-50%) scaleX(1); opacity: .9; }
  50% { transform: translateX(-50%) scaleX(.92); opacity: .68; }
}
@keyframes cloudDrift {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(42px, 7px, 0); }
}
@keyframes twinkle {
  0%, 100% { opacity: .58; transform: scale(.9) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.06) rotate(4deg); }
}
@keyframes scrollDrop {
  0% { transform: translateY(0); opacity: 0; }
  25% { opacity: 1; }
  75% { opacity: 1; }
  100% { transform: translateY(32px); opacity: 0; }
}
@keyframes equalize {
  0% { transform: scaleY(.26); }
  100% { transform: scaleY(1); }
}
@keyframes sway {
  0% { transform: rotate(-3deg); }
  100% { transform: rotate(3deg); }
}
@keyframes bubblePop {
  0% { transform: scale(.92); opacity: .45; }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes countBump {
  0% { transform: scale(1); }
  38% { transform: scale(1.18); }
  100% { transform: scale(1); }
}

/* =========================================================
   HOVER (solo puntero fino)
   ========================================================= */
@media (hover: hover) and (pointer: fine) {
  .brand:hover .brand-mark { transform: translateY(-2px) rotate(-3deg); }
  .nav-links a:hover { color: #285576; }
  .mimo-pill:hover { transform: translateY(-1px); box-shadow: 0 12px 22px -14px rgba(65, 118, 158, .55), inset 0 1px 0 #fff; }
  .btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 36px -18px rgba(48, 101, 143, .62), inset 0 1px 0 #fff;
  }
  .btn--primary:hover .btn-icon { transform: translateX(2px); }
  .btn--ghost:hover { background: rgba(255, 255, 255, .72); transform: translateY(-2px); }
  .btn--ghost:hover .btn-icon { transform: scale(1.1); color: #4f9bc9; }
  .scroll-cue:hover { color: #416b8a; }
  .bento-card:hover {
    transform: translateY(-3px);
    box-shadow:
      0 40px 72px -40px rgba(44, 94, 134, .5),
      0 15px 28px -18px rgba(90, 137, 171, .26),
      inset 0 1px 0 rgba(255, 255, 255, .98);
  }
  .play-btn:hover { transform: scale(1.045); box-shadow: 0 16px 24px -14px rgba(52, 104, 145, .58), inset 0 1px 0 #fff; }
  .text-btn:hover { background: rgba(255, 255, 255, .82); border-color: rgba(255, 255, 255, .9); }
  .text-btn:hover svg { transform: rotate(180deg); }
  .soft-btn:hover { transform: translateY(-2px); background: #fff; }
  .mini-cloud:hover .mini-cloud__body { transform: translateY(-3px); }
  .tiny-tag--link:hover { background: #fff; }
  .vault-item:hover { z-index: 8; animation-play-state: paused; }
  .vault-item:hover .vault-tilt { transform: rotate(0deg) translateY(-7px) scale(1.035); }
  .vault-item:hover .vault-glow { opacity: 1; transform: scale(1.04); }
  .vault-item:hover .sticker-note { color: #2f5d7d; }
  .back-top:hover { transform: translateY(-2px); box-shadow: 0 16px 28px -18px rgba(49, 98, 137, .52), inset 0 1px 0 #fff; }
  .back-top:hover svg { transform: translateY(-2px); }
  .footer-nav a:hover { color: #2e5978; }
}

.vault-item.is-awake { z-index: 8; }
.vault-item.is-awake .vault-tilt { transform: rotate(0deg) translateY(-7px) scale(1.035); }
.vault-item.is-awake .vault-glow { opacity: 1; transform: scale(1.04); }
.vault-item.is-awake .sticker-note { color: #2f5d7d; }

/* =========================================================
   BREAKPOINTS
   ========================================================= */
@media (max-width: 1180px) {
  .hero-note { display: none; }
}

@media (max-width: 1024px) {
  .nav-links { gap: 17px; }
  .section-head { align-items: flex-start; }
  .section-lede { max-width: 34ch; }
  .clock-time { font-size: clamp(2.9rem, 5.2vw, 4.2rem); }
  .card-quote { grid-column: span 5; }
  .card-rain { grid-column: span 7; }
  .mini-cloud { width: clamp(150px, 18vw, 200px); }
  .rain-text { max-width: 26ch; }
  .vault-item--wink { width: 37%; }
  .vault-item--siesta { left: 12%; width: 31%; }
  .vault-item--balloons { left: 50%; }
}

@media (max-width: 900px) {
  .bento-card { min-height: auto; }
  .card-clock { grid-column: span 12; min-height: 292px; }
  .card-music { grid-column: span 12; min-height: 292px; }
  .card-quote { grid-column: span 5; }
  .card-rain { grid-column: span 7; }
  .section-lede { max-width: 36ch; }
  .vault-stage { min-height: 640px; }
  .vault-item--wink { width: 38%; }
  .vault-item--cinnamon { width: 27%; }
  .vault-item--siesta { bottom: 3%; left: 13%; width: 32%; }
  .vault-item--balloons { left: 50%; width: 25%; }
  .vault-item--drink { right: 1%; width: 24%; }
}

@media (max-width: 820px) {
  .bento { grid-template-columns: 1fr; }
  .card-clock, .card-music, .card-quote, .card-rain { grid-column: 1 / -1; }
  .card-quote { min-height: 270px; }
  .card-rain { min-height: 275px; }
  .rain-copy { max-width: 34ch; }
  .rain-text { max-width: 32ch; }
  .mini-cloud { width: 196px; }
  .section-head { flex-direction: column; gap: 16px; align-items: flex-start; }
  .section-lede { max-width: 48ch; }
  .vault-stage { min-height: 520px; }
}

@media (max-width: 880px) {
  .vault-stage {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(18px, 4vw, 34px);
    min-height: 0;
    margin-top: 10px;
    perspective: none;
  }
  .vault-thread { display: none; }
  .vault-item {
    position: relative;
    inset: auto;
    width: auto;
    animation: none;
    will-change: auto;
  }
  .vault-item--wink { grid-column: 1 / -1; justify-self: center; width: min(520px, 92%); }
  .vault-tilt { transform: none; }
  .vault-lean { transform: none; }
  .vault-sticker { height: 220px; padding: 0 4%; }
  .vault-sticker img { width: auto; max-width: 100%; max-height: 100%; }
  .vault-item figcaption { margin-top: -2px; }
  .footer-nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding-inline: 4px; }
  .section-head--vault { flex-direction: column; }
}

@media (max-width: 760px) {
  :root { --gutter: clamp(18px, 5vw, 30px); }

  .site-nav {
    top: 10px;
    flex-wrap: wrap;
    gap: 0;
    width: calc(100% - 24px);
    padding: 8px 11px 7px 15px;
    border-radius: 24px;
  }
  .brand-word { font-size: 1.48rem; }
  .brand-mark { width: 31px; height: 25px; }
  .brand-mark svg { width: 31px; }
  .nav-links {
    order: 3;
    flex-basis: 100%;
    gap: clamp(8px, 3.5vw, 24px);
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, .66);
    margin-top: 3px;
  }
  .nav-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 6px 10px;
    font-size: .72rem;
  }
  .mimo-pill { min-height: 44px; padding: 0 13px 0 11px; margin-left: auto; }
  .mimo-pill__label { display: none; }
  .mimo-pill__count { border-left: 0; padding-left: 1px; }
  .brand { min-height: 44px; }

  section[id], main[id] { scroll-margin-top: 132px; }

  .hero { padding-top: 140px; padding-bottom: 62px; }
  .hero-note { display: none; }
  .puff-cloud--hero-2 { right: -25%; opacity: .5; }
  .puff-cloud--hero-4 { right: -18%; opacity: .6; }
  .hero-stage { width: clamp(260px, 70vw, 350px); margin-top: -4px; }
  .hero-lede { max-width: 34ch; font-size: .91rem; }
  .hero-actions { margin-top: 20px; gap: 9px; }
  .btn { min-height: 46px; padding: 0 18px; font-size: .78rem; }
  .hero-footnote { margin-top: 16px; font-size: .6rem; letter-spacing: .12em; }
  .scroll-cue { display: none; }

  .section-title { font-size: clamp(2.1rem, 8vw, 3rem); }
  .section-head { margin-bottom: 26px; }
  .cozy, .vault, .poke { padding-top: 70px; }

  .clock-time { font-size: clamp(2.9rem, 11vw, 4rem); }
  .clock-dial { width: 108px; }
  .quote-text { font-size: 2.3rem; }
  .mini-cloud { width: 178px; }
  .card-rain { gap: 8px; }

  .vault-item--wink { width: 100%; }
  .vault-sticker { height: 190px; }
  .vault-item--cinnamon .vault-sticker, .vault-item--balloons .vault-sticker,
  .vault-item--siesta .vault-sticker, .vault-item--drink .vault-sticker { height: 205px; }

  .cloud-stage { padding-top: 10px; margin-top: 22px; }
  .cloud-bubble {
    position: relative;
    top: auto;
    right: auto;
    order: -1;
    max-width: 230px;
    margin-bottom: 4px;
    rotate: -2deg;
    font-size: 1.15rem;
  }
  .cloud-bubble::after { display: none; }
  .cloud-float { width: min(500px, 90vw); }
  .cloud-spark--1 { left: 3%; }
  .cloud-spark--2 { right: 2%; }
  .poke-counter { margin-top: 22px; }

  .footer-meta { flex-direction: column; align-items: flex-start; gap: 14px; text-align: left; }
  .footer-meta p { max-width: 100%; }
}

@media (max-width: 560px) {
  .hero { padding-top: 136px; }
  .hero-stage { width: min(82vw, 330px); margin-top: -2px; }
  .hero-scriptline { font-size: 1.7rem; }
  .hero-title { font-size: clamp(4.8rem, 23vw, 6.4rem); }
  .hero-lede { max-width: 31ch; }
  .hero-actions { flex-direction: column; align-items: stretch; width: min(280px, 100%); margin-inline: auto; }
  .btn { width: 100%; }
  .hero-footnote { max-width: 90%; }

  .bento-card { border-radius: 24px; padding: 21px; }
  .card-clock { flex-direction: column; align-items: flex-start; gap: 22px; }
  .clock-art { align-self: flex-end; margin-top: -9px; }
  .clock-dial { width: 98px; }
  .clock-time { margin-top: 20px; }
  .player { align-items: center; flex-wrap: wrap; gap: 12px; }
  .album { width: 78px; }
  .track { flex-basis: calc(100% - 110px); }
  .play-btn { width: 46px; height: 46px; margin-left: auto; }
  .player-bottom { margin-top: 14px; }
  .card-rain { flex-direction: column; align-items: flex-start; }
  .mini-cloud { align-self: flex-end; width: 170px; margin-top: -4px; }
  .quote-text { font-size: 2.08rem; }

  .vault-stage { gap: 14px; }
  .vault-sticker { height: 160px; }
  .vault-item--cinnamon .vault-sticker, .vault-item--balloons .vault-sticker,
  .vault-item--siesta .vault-sticker, .vault-item--drink .vault-sticker { height: 175px; }
  .vault-item--wink { width: 94%; }
  .vault-item--wink .vault-sticker { height: 140px; }
  .sticker-note { font-size: 1rem; }

  .poke-lede { max-width: 31ch; font-size: .88rem; }
  .cloud-float { width: min(460px, 90vw); }
  .cloud-bubble { max-width: 210px; }

  .footer-meta { margin-top: 32px; }
  .footer-script { font-size: 2.45rem; }
  .footer-nav { gap: 15px; }
}

@media (max-width: 400px) {
  .brand-word { font-size: 1.34rem; }
  .nav-links { gap: 6px; }
  .nav-links a { font-size: .68rem; padding: 6px 7px; }
  .hero { padding-top: 132px; }
  .hero-title { font-size: 4.55rem; }
  .hero-stage { width: 78vw; }
  .clock-time { font-size: 2.7rem; }
  .clock-dial { width: 88px; }
  .quote-text { font-size: 1.92rem; }
  .mini-cloud { width: 150px; }
  .vault-sticker { height: 145px; }
  .vault-item--cinnamon .vault-sticker, .vault-item--balloons .vault-sticker,
  .vault-item--siesta .vault-sticker, .vault-item--drink .vault-sticker { height: 160px; }
  .vault-item--wink .vault-sticker { height: 125px; }
}

@media (max-width: 760px) and (min-height: 780px) {
  .scroll-cue {
    display: flex;
    bottom: 14px;
    gap: 6px;
    font-size: .7rem;
  }
  .scroll-cue__track { height: 23px; }
}

/* Landscape phones / short laptops */
@media (min-width: 761px) and (max-height: 830px) {
  .hero { padding-top: 116px; padding-bottom: 54px; }
  .hero-title { font-size: clamp(4.6rem, 11vw, 8rem); }
  .hero-stage { width: clamp(240px, 26vw, 350px); margin-top: -2px; }
  .hero-lede { margin-top: 8px; font-size: .92rem; }
  .hero-actions { margin-top: 16px; }
  .hero-footnote { margin-top: 11px; }
  .scroll-cue { display: none; }
}

@media (max-width: 880px) and (min-width: 761px) {
  .hero-stage { width: clamp(260px, 38vw, 350px); margin-top: -2px; }
}

/* =========================================================
   MOTION PREFERENCES
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .puff-cloud,
  .deco-inner--float,
  .spark,
  .glass-heart,
  .mascot-float,
  .floating-spark,
  .vault-item,
  .mini-cloud__wrap,
  .hang,
  .cloud-float,
  .cinnamon-shadow,
  .cloud-spark,
  .poke-star,
  .equalizer i {
    animation: none !important;
  }
  .card-music.is-playing .equalizer i { transform: scaleY(.7); }
  .clock .hand, .hand { transition: none; }
  .vault-tilt, .vault-lean, .vault-lean .vault-glow { transition: none; }
  .vault-item:hover .vault-tilt { transform: rotate(var(--rot, 0deg)); }
  .vault-item:hover .vault-glow { opacity: 0; }
  .vault-item.is-awake .vault-tilt { transform: none; }
  .vault-item.is-awake .vault-glow { opacity: .55; transform: none; }
  .quote-text, .poke-milestone, .bento-card, .mimo-pill { transition-duration: .01ms; }
  .scroll-cue__track i { display: none; }
  html.js .hero-scriptline,
  html.js .hero-title,
  html.js .hero-stage,
  html.js .hero-lede,
  html.js .hero-actions,
  html.js .hero-footnote,
  html.js .hero-note,
  html.js .scroll-cue,
  html.js .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-nav,
  .bento-card,
  .mimo-pill,
  .hero-note,
  .cloud-bubble,
  .poke-counter {
    background: #fdfdff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .btn--ghost { background: #fdfdff; backdrop-filter: none; -webkit-backdrop-filter: none; }
}

@media (prefers-contrast: more) {
  :root {
    --ink: #284357;
    --ink-soft: #3d5b72;
    --ink-faint: #4a657a;
    --line: rgba(53, 97, 129, .5);
  }
  .bento-card, .site-nav, .poke-counter, .cloud-bubble { border-color: rgba(68, 113, 146, .6); }
  .tiny-label, .tiny-tag, .player-note, .track-artist, .section-lede { color: #3f5c73; }
}
