/* Mariana's Room — marianasroom.app
   Cotton-candy sky, chunky rounded type, pill buttons, depth from highlights rather than drop shadows. */

@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito.woff2") format("woff2");
  font-weight: 200 1000;
  font-display: swap;
}

:root {
  --ink: #14121f;
  --ink-soft: #45435a;
  --stone: #77758a;
  --pink: #ff54bb;
  --pink-deep: #e83aa4;
  --tang: #ff8a00;
  --blush: #ffe3f1;
  --lav: #ece6ff;
  --sky: #cfefff;
  --mint: #d6f7ea;
  --butter: #fff1d6;
  --cloud: #f4f3f9;
  --white: #fff;
  --r-card: 32px;
  --r-pill: 999px;
  --wrap: 1200px;
  --ease-pop: cubic-bezier(.34, 1.56, .64, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Nunito", "SF Pro Rounded", ui-rounded, system-ui, sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 14px; z-index: 100; transition: top .2s; }
.skip:focus { top: 16px; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; position: relative; }

h1, h2, h3 { margin: 0; font-weight: 900; letter-spacing: -.03em; line-height: 1; text-wrap: balance; }
h1 { font-size: clamp(46px, 7.4vw, 96px); }
h2 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.04; }
h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 800; letter-spacing: -.018em; line-height: 1.12; }
p { margin: 0; }
.lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--ink-soft); max-width: 34em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, .86); border-radius: var(--r-pill);
  padding: 8px 16px; font-size: 15px; font-weight: 800;
  box-shadow: inset 0 -3px 0 rgba(20, 18, 31, .06);
}
.eyebrow i { width: 9px; height: 9px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 4px rgba(255, 84, 187, .22); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--pink);
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  min-height: 60px; padding: 8px 10px 8px 28px; border-radius: var(--r-pill);
  background: var(--bg); color: var(--ink); text-decoration: none;
  font-weight: 900; font-size: 19px; letter-spacing: -.01em; white-space: nowrap;
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, .5), inset 0 -5px 0 rgba(20, 18, 31, .14);
  transition: transform .18s var(--ease-pop), filter .18s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-3px) scale(1.02); filter: saturate(1.08); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn--tang { --bg: var(--tang); }
.btn--plain { --bg: #fff; padding-right: 28px; }
.btn .tile {
  width: 42px; height: 42px; border-radius: 15px; background: #fff; display: grid; place-items: center;
  flex: none; transition: transform .3s var(--ease-pop);
}
.btn .tile img { width: 31px; height: 31px !important; object-fit: contain; }
.btn:hover .tile { transform: rotate(-10deg) scale(1.1); }
.text-link { font-weight: 800; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.text-link:hover { color: var(--pink-deep); }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; padding: 12px 0; transition: padding .3s; }
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 6px 10px 6px 6px; border-radius: var(--r-pill);
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header.is-stuck .bar {
  background: rgba(255, 255, 255, .78); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: inset 0 -3px 0 rgba(20, 18, 31, .05), 0 10px 40px rgba(180, 90, 160, .12);
}
.brand { display: block; flex: none; }
.brand img { height: 68px !important; width: auto; transition: transform .4s var(--ease-pop); }
.brand:hover img { transform: rotate(-3deg) scale(1.05); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 10px 16px; border-radius: var(--r-pill); text-decoration: none; font-weight: 800; font-size: 16.5px; transition: background .2s; }
.nav a:hover { background: rgba(255, 255, 255, .8); }
.nav .btn { min-height: 46px; font-size: 16px; padding: 4px 6px 4px 20px; margin-left: 6px; }
.nav .btn .tile { width: 34px; height: 34px; border-radius: 12px; }
.nav .btn .tile img { width: 25px; height: 25px !important; }
@media (max-width: 860px) { .nav a:not(.btn) { display: none; } .brand img { height: 56px !important; } }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(120px, 14vw, 170px) 0 clamp(70px, 9vw, 130px);
  background: linear-gradient(180deg, #b9e6ff 0%, #d9e4ff 26%, #f0dcff 48%, #ffdcee 72%, #fff 100%);
}
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 160px; background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff); z-index: 1; pointer-events: none; }
.sky { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.sky img { position: absolute; will-change: transform; }
.cloud { opacity: .95; animation: drift var(--t, 60s) linear infinite alternate; }
@keyframes drift { from { transform: translate3d(calc(var(--dx, 60px) * -1), 0, 0); } to { transform: translate3d(var(--dx, 60px), 0, 0); } }
.css-cloud { position: absolute; background: #fff; border-radius: 200px; filter: blur(3px); opacity: .9; }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(20px, 4vw, 60px); align-items: center; position: relative; z-index: 2; }
.hero-copy .eyebrow { margin-bottom: 22px; }
.hero-copy .lead { margin-top: 22px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 22px; margin-top: 32px; }
.fine { font-size: 15px; color: var(--stone); margin-top: 16px; font-weight: 700; }
.hero h1 .swap { display: inline-block; color: var(--pink-deep); }

/* ---------- the playable shelf ---------- */
.stage { position: relative; width: min(560px, 100%); margin-inline: auto; }
.shelf {
  position: relative; z-index: 2; padding: 16px; border-radius: 40px; background: #fff8f0;
  box-shadow: inset 0 5px 0 #fff, inset 0 -10px 0 rgba(176, 110, 90, .13), 0 40px 60px -30px rgba(170, 70, 140, .35);
  transform: rotate(1.5deg);
}
.shelf-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 10px; border-radius: 26px; background: #c4548a; box-shadow: inset 0 12px 20px rgba(80, 10, 50, .32), inset 0 -3px 0 rgba(255, 255, 255, .18); transition: background .3s, box-shadow .3s; }
.shelf-row + .shelf-row { margin-top: 12px; }
.shelf-row.is-target { background: #d962a0; }
.shelf-row.is-clearing { animation: rowflash .5s ease; }
@keyframes rowflash { 30% { background: #ff9fd6; box-shadow: inset 0 0 0 4px #fff, 0 0 0 6px var(--pink); } }
.slot { position: relative; aspect-ratio: 1 / 1; border-radius: 18px; display: grid; place-items: end center; padding: 0; }
.slot.is-empty::after { content: ""; position: absolute; inset: 14% 14% 10%; border-radius: 16px; border: 3px dashed rgba(255, 255, 255, 0); transition: border-color .2s, background .2s; }
.stage.has-pick .slot.is-empty::after { border-color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .1); }
.stage.has-pick .slot.is-empty:hover::after { background: rgba(255, 255, 255, .28); }
.piece { width: 76%; height: 76%; margin-bottom: 4%; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 7px 5px rgba(60, 0, 40, .35)); transition: transform .25s var(--ease-pop), filter .25s; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.slot:not(.is-empty):hover .piece { transform: translateY(-5%) scale(1.06); }
.slot.is-picked .piece { transform: translateY(-18%) scale(1.14) rotate(-4deg); filter: drop-shadow(0 18px 10px rgba(60, 0, 40, .35)); animation: wiggle 1.1s ease-in-out infinite; }
@keyframes wiggle { 50% { transform: translateY(-22%) scale(1.14) rotate(4deg); } }
.piece.is-pop { animation: pop .42s var(--ease-out) forwards; }
@keyframes pop { 40% { transform: scale(1.35) rotate(8deg); opacity: 1; } 100% { transform: scale(0) rotate(40deg); opacity: 0; } }
.piece.is-in { animation: dropin .5s var(--ease-pop) backwards; }
@keyframes dropin { from { transform: translateY(-40%) scale(.2); opacity: 0; } }
.flyer { position: fixed; z-index: 80; pointer-events: none; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 16px 10px rgba(60, 0, 40, .3)); will-change: transform; }
.hint-hand { position: absolute; z-index: 5; width: 46px; height: 46px; border-radius: 50%; border: 4px solid #fff; box-shadow: 0 0 0 4px var(--pink); pointer-events: none; opacity: 0; transition: left .5s var(--ease-out), top .5s var(--ease-out), opacity .3s; animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.22); } }
.stage-ui { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding: 0 6px; }
.stage-tip { background: rgba(255, 255, 255, .92); border-radius: var(--r-pill); padding: 10px 18px; font-size: 16px; font-weight: 800; box-shadow: inset 0 -3px 0 rgba(20, 18, 31, .06); min-height: 46px; display: flex; align-items: center; }
.stars { display: flex; gap: 4px; background: rgba(255, 255, 255, .92); border-radius: var(--r-pill); padding: 6px 12px; box-shadow: inset 0 -3px 0 rgba(20, 18, 31, .06); }
.stars img { width: 32px; height: 32px !important; object-fit: contain; filter: grayscale(1) opacity(.28); transition: filter .3s, transform .4s var(--ease-pop); }
.stars img.is-on { filter: none; transform: scale(1.15) rotate(-8deg); }
.win-card { position: absolute; inset: 0; z-index: 6; display: grid; place-items: center; padding: 24px; border-radius: 40px; background: rgba(255, 248, 240, .94); backdrop-filter: blur(6px); text-align: center; opacity: 0; visibility: hidden; transform: scale(.94); transition: opacity .35s, transform .45s var(--ease-pop), visibility .35s; }
.win-card.is-open { opacity: 1; visibility: visible; transform: none; }
.win-card h3 { font-size: clamp(28px, 3vw, 40px); font-weight: 900; }
.win-card p { color: var(--ink-soft); margin: 10px auto 20px; max-width: 22em; }
.win-card .cta-row { justify-content: center; margin-top: 0; }
.floaty { position: absolute; z-index: 3; pointer-events: none; filter: drop-shadow(0 22px 18px rgba(120, 50, 120, .22)); will-change: transform; }
.floaty img { width: 100%; animation: bob var(--t, 6s) ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-14px) rotate(var(--rot, 4deg)); } }
.spark { position: fixed; z-index: 90; pointer-events: none; width: 14px; height: 14px; border-radius: 50%; will-change: transform, opacity; }
.spark.is-star { background: none; width: 26px; height: 26px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-copy .lead { margin-inline: auto; }
  .cta-row { justify-content: center; }
  .floaty.hide-sm { display: none; }
}

/* ---------- marquee ---------- */
.marquee { overflow: hidden; padding: 26px 0; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 22px; width: max-content; animation: slide 46s linear infinite; }
.marquee-track.is-rev { animation-direction: reverse; animation-duration: 58s; margin-top: 22px; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes slide { to { transform: translate3d(-50%, 0, 0); } }
.chip-item { flex: none; width: 118px; height: 118px; border-radius: 30px; display: grid; place-items: center; box-shadow: inset 0 -5px 0 rgba(20, 18, 31, .05), inset 0 3px 0 rgba(255, 255, 255, .8); transition: transform .3s var(--ease-pop); }
.chip-item img { width: 78%; height: 78%; object-fit: contain; }
.chip-item:hover { transform: translateY(-8px) rotate(-5deg) scale(1.08); }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section-head { margin-bottom: clamp(34px, 4vw, 56px); }
.section-head .lead { margin-top: 16px; }
.band { background: var(--cloud); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { position: relative; border-radius: var(--r-card); padding: 30px; background: #fff; box-shadow: inset 0 -6px 0 rgba(20, 18, 31, .05), inset 0 3px 0 rgba(255, 255, 255, .7); }
.step { overflow: hidden; min-height: 330px; transition: transform .35s var(--ease-pop); transform-style: preserve-3d; }
.step:hover { transform: translateY(-8px); }
.step .num { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 900; margin-bottom: 18px; }
.step p { color: var(--ink-soft); margin-top: 8px; font-size: 17px; max-width: 17em; }
.step .art { position: absolute; right: -14px; bottom: -18px; width: 56%; transition: transform .5s var(--ease-pop); filter: drop-shadow(0 14px 12px rgba(120, 50, 120, .18)); }
.step:hover .art { transform: translate(-8px, -10px) rotate(-6deg) scale(1.06); }
.step .trio { position: absolute; right: 10px; bottom: 14px; display: flex; }
.step .trio img { width: 92px; margin-left: -26px; filter: drop-shadow(0 10px 8px rgba(120, 50, 120, .2)); transition: transform .45s var(--ease-pop); }
.step:hover .trio img:nth-child(1) { transform: translate(-10px, -8px) rotate(-10deg); }
.step:hover .trio img:nth-child(2) { transform: translateY(-18px) scale(1.08); }
.step:hover .trio img:nth-child(3) { transform: translate(10px, -8px) rotate(10deg); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } .step { min-height: 0; padding-bottom: 150px; } .step p { max-width: none; } .step .art { width: 40%; max-width: 170px; } .step .trio img { width: 78px; margin-left: -22px; } }

/* ---------- film (Remotion) ---------- */
.film { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.phone { position: relative; width: min(360px, 78vw); margin-inline: auto; border-radius: 52px; padding: 12px; background: #fff; box-shadow: inset 0 0 0 2px #fff, inset 0 -8px 0 rgba(20, 18, 31, .07), 0 50px 70px -40px rgba(170, 70, 140, .5); transform: rotate(-3deg); transition: transform .6s var(--ease-pop); }
.phone:hover { transform: rotate(0deg) scale(1.02); }
.phone video, .phone img.screen { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 42px; background: var(--blush); }
.phone .play-toggle { position: absolute; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .92); display: grid; place-items: center; font-size: 15px; font-weight: 900; box-shadow: inset 0 -3px 0 rgba(20, 18, 31, .08); }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; font-size: 18px; color: var(--ink-soft); }
.ticks li::before { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314121f' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 16px no-repeat; margin-top: 1px; }
.ticks b { color: var(--ink); }
@media (max-width: 860px) { .film { grid-template-columns: 1fr; } }

/* ---------- room styler ---------- */
.styler { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.room { position: relative; aspect-ratio: 5 / 4; border-radius: 40px; overflow: hidden; background: var(--wall, #f9b9d0); transition: background .6s; box-shadow: inset 0 -8px 0 rgba(20, 18, 31, .06), 0 50px 70px -45px rgba(170, 70, 140, .45); isolation: isolate; }
.room::before { content: ""; position: absolute; inset: 0 0 24% 0; background: radial-gradient(120% 90% at 30% 0%, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0) 60%); }
.room .floor { position: absolute; inset: auto 0 0 0; height: 24%; background: var(--floor, #e6b594); transition: background .6s; }
.room .skirt { position: absolute; inset: auto 0 24% 0; height: 2.6%; background: #fff; box-shadow: 0 3px 0 rgba(20, 18, 31, .06); }
.room .p { position: absolute; transition: transform .3s var(--ease-pop); cursor: pointer; padding: 0; }
.room .p img { width: 100%; pointer-events: none; filter: drop-shadow(0 10px 8px rgba(90, 40, 70, .2)); }
.room .p:hover { transform: translateY(-6px) scale(1.03); }
.room .p.is-swap img { animation: swap .55s var(--ease-pop); }
@keyframes swap { 0% { transform: scale(.4) rotate(-10deg); opacity: 0; } 60% { opacity: 1; } }
.p--curtains { left: 4%; top: 5%; width: 31%; z-index: 2; }
.p--lights { left: 37%; top: 2%; width: 58%; z-index: 3; }
.p--wallart { left: 44%; top: 26%; width: 14%; z-index: 1; }
.p--poster { left: 64%; top: 23%; width: 13%; z-index: 1; }
.p--dresser { right: 4%; bottom: 20%; width: 24%; z-index: 2; cursor: default !important; }
.p--plant { right: 17%; bottom: 42%; width: 8.5%; z-index: 3; }
.p--rug { left: 13%; bottom: 3%; width: 56%; z-index: 4; }
.p--bed { left: 6%; bottom: 13%; width: 50%; z-index: 6; }
.room .tag { position: absolute; left: 18px; top: 18px; z-index: 9; }
.looks { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.look { display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 26px; background: var(--c); text-align: left; font-weight: 900; font-size: 19px; box-shadow: inset 0 -5px 0 rgba(20, 18, 31, .06), inset 0 3px 0 rgba(255, 255, 255, .7); transition: transform .25s var(--ease-pop), box-shadow .25s; }
.look img { width: 62px; height: 46px !important; object-fit: contain; flex: none; }
.look small { display: block; font-size: 14px; font-weight: 700; color: var(--ink-soft); letter-spacing: 0; }
.look:hover { transform: translateY(-4px); }
.look[aria-pressed="true"] { box-shadow: inset 0 -5px 0 rgba(20, 18, 31, .06), inset 0 0 0 4px var(--ink); transform: translateY(-4px); }
.styler-note { margin-top: 18px; font-size: 16px; color: var(--stone); }
@media (max-width: 900px) { .styler { grid-template-columns: 1fr; } }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.bento .card { min-height: 280px; overflow: hidden; transition: transform .35s var(--ease-pop); }
.bento .card:hover { transform: translateY(-6px); }
.bento .card p { color: var(--ink-soft); margin-top: 10px; max-width: 20em; font-size: 17px; }
.b-wide { grid-column: span 4; } .b-narrow { grid-column: span 2; } .b-half { grid-column: span 3; }
.bento .deco { position: absolute; right: -10px; bottom: -14px; width: 190px; filter: drop-shadow(0 12px 10px rgba(120, 50, 120, .18)); transition: transform .5s var(--ease-pop); }
.bento .card:hover .deco { transform: rotate(-8deg) scale(1.08) translateY(-6px); }
.pile { position: absolute; right: 18px; bottom: 16px; display: grid; grid-template-columns: repeat(4, 62px); gap: 8px; }
.pile span { width: 62px; height: 62px; border-radius: 18px; background: rgba(255, 255, 255, .7); display: grid; place-items: center; }
.pile img { width: 76%; height: 76% !important; object-fit: contain; }
.pile span.is-missing img { filter: brightness(0) opacity(.12); }
.bigstat { font-size: clamp(64px, 8vw, 110px); font-weight: 900; letter-spacing: -.05em; line-height: .9; }
@media (max-width: 860px) { .b-wide, .b-narrow, .b-half { grid-column: span 6; } .pile { position: static; margin-top: 18px; } }

/* ---------- gallery ---------- */
.gallery { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px max(20px, calc((100vw - var(--wrap)) / 2)) 30px; scrollbar-width: none; cursor: grab; }
.gallery::-webkit-scrollbar { display: none; }
.gallery.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.shot { flex: none; width: 250px; scroll-snap-align: center; border-radius: 40px; padding: 9px; background: #fff; box-shadow: inset 0 -6px 0 rgba(20, 18, 31, .06); transition: transform .4s var(--ease-pop); }
.shot:nth-child(odd) { transform: rotate(-2deg) translateY(10px); } .shot:nth-child(even) { transform: rotate(2deg); }
.shot:hover { transform: rotate(0) translateY(-8px) scale(1.03); }
.shot img { border-radius: 32px; width: 100%; aspect-ratio: 540 / 1170; object-fit: cover; pointer-events: none; }
.shot figcaption { text-align: center; font-size: 14.5px; color: var(--stone); padding: 10px 4px 6px; }
figure { margin: 0; }

/* ---------- faq ---------- */
.faq { display: grid; gap: 14px; max-width: 860px; margin-inline: auto; }
.faq details { border-radius: 28px; background: #fff; box-shadow: inset 0 -5px 0 rgba(20, 18, 31, .05); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 26px; font-size: 20px; font-weight: 800; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--blush); display: grid; place-items: center; font-weight: 900; transition: transform .3s var(--ease-pop), background .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--pink); }
.faq .answer { padding: 0 26px 24px; color: var(--ink-soft); max-width: 44em; }
.faq .answer a { font-weight: 800; }

/* ---------- signup ---------- */
.signup { position: relative; border-radius: 44px; padding: clamp(34px, 6vw, 72px); background: linear-gradient(100deg, #ffcfe9 0%, #e7dcff 42%, #cdeeff 76%, #d6f8e8 100%); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.signup .lead { margin-top: 12px; }
.field { display: flex; gap: 8px; background: #fff; padding: 8px; border-radius: var(--r-pill); box-shadow: inset 0 -4px 0 rgba(20, 18, 31, .06); }
.field input[type="email"] { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 18px; padding: 0 18px; color: var(--ink); }
.field input::placeholder { color: #a9a7b8; }
.field:focus-within { box-shadow: inset 0 -4px 0 rgba(20, 18, 31, .06), 0 0 0 4px rgba(20, 18, 31, .9); }
.form-note { font-size: 14.5px; color: var(--ink-soft); margin-top: 12px; }
.form-note a { font-weight: 800; }
.form-msg { margin-top: 14px; padding: 12px 18px; border-radius: 20px; background: #fff; font-weight: 800; display: none; }
.form-msg.is-shown { display: block; animation: dropin .4s var(--ease-pop); }
.hp { position: absolute; left: -9999px; }
.signup .deco-a { position: absolute; left: -34px; top: -62px; width: 132px; transform: rotate(-14deg); pointer-events: none; filter: drop-shadow(0 14px 12px rgba(120,50,120,.2)); animation: bob 6s ease-in-out infinite; }
.signup .deco-b { position: absolute; right: -50px; top: -86px; width: 290px; pointer-events: none; opacity: .95; animation: bob 8s ease-in-out infinite; }
@media (max-width: 860px) { .signup .deco-b { width: 170px; right: -14px; top: -64px; } .signup .deco-a { display: none; } .signup { margin-top: 30px; } }
@media (max-width: 860px) { .signup { grid-template-columns: 1fr; } .field { flex-direction: column; border-radius: 32px; } .field input[type="email"] { min-height: 52px; } .field .btn { justify-content: center; } }

/* ---------- footer ---------- */
.site-footer { padding: 56px 0 44px; color: var(--stone); font-size: 16px; }
.foot-grid { display: flex; flex-wrap: wrap; gap: 24px 40px; justify-content: space-between; align-items: center; }
.foot-grid nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-grid a { text-decoration: none; font-weight: 800; color: var(--ink-soft); }
.foot-grid a:hover { color: var(--pink-deep); }
.foot-brand { display: flex; align-items: center; gap: 14px; }
.foot-brand img { height: 54px !important; width: auto; }
.legal { margin-top: 22px; font-size: 14.5px; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(34px) scale(.98); transition: opacity .8s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- simple pages ---------- */
.page-hero { padding: clamp(130px, 14vw, 180px) 0 clamp(40px, 5vw, 70px); background: linear-gradient(180deg, #c9ecff 0%, #efe0ff 55%, #fff 100%); position: relative; overflow: hidden; }
.page-hero .lead { margin-top: 18px; }
.prose { max-width: 780px; margin-inline: auto; font-weight: 600; font-size: 18px; color: #2c2a3d; padding-bottom: 80px; }
.prose h2 { font-size: clamp(26px, 2.6vw, 34px); margin: 2.2em 0 .5em; letter-spacing: -.02em; color: var(--ink); }
.prose h3 { font-size: 21px; margin: 1.6em 0 .3em; color: var(--ink); }
.prose p, .prose li { margin: .6em 0; }
.prose ul { padding-left: 1.2em; }
.prose a { color: var(--pink-deep); font-weight: 800; }
.prose .box { background: var(--blush); border-radius: 28px; padding: 22px 26px; font-weight: 700; }
.prose table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--cloud); border-radius: 24px; overflow: hidden; font-size: 16.5px; margin: 1em 0; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 2px solid #fff; }
.prose th { background: var(--lav); font-weight: 900; color: var(--ink); }
.prose tr:last-child td { border-bottom: 0; }
.form-card { background: var(--cloud); border-radius: 36px; padding: clamp(22px, 4vw, 40px); margin-top: 28px; }
.form-card label { display: block; font-weight: 800; color: var(--ink); margin: 16px 0 6px; }
.form-card input[type="email"], .form-card input[type="text"], .form-card select, .form-card textarea { width: 100%; font: inherit; font-weight: 700; padding: 14px 18px; border-radius: 20px; border: 0; background: #fff; color: var(--ink); box-shadow: inset 0 -3px 0 rgba(20, 18, 31, .06); }
.form-card textarea { min-height: 150px; resize: vertical; }
.form-card :is(input, select, textarea):focus { outline: 3px solid var(--ink); }
.form-card .btn { margin-top: 22px; }
.form-card .check { display: flex; gap: 12px; align-items: flex-start; font-weight: 700; margin-top: 16px; }
.form-card .check input { width: 22px; height: 22px; margin-top: 3px; accent-color: var(--pink-deep); flex: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}


/* =====================================================================================
   Art-direction pass: one loud thing per screen, a real type hierarchy, tighter rhythm,
   and spring motion kept for game pieces, stars and buttons.
   ===================================================================================== */
:root { --ink-soft: rgba(20, 18, 31, .78); --stone: rgba(20, 18, 31, .56); }
body { font-weight: 600; line-height: 1.55; }
h2 { font-size: clamp(30px, 3.5vw, 44px); line-height: 1.1; }
h2.h-major { font-size: clamp(32px, 4.2vw, 52px); line-height: 1.06; }
h3 { font-size: clamp(21px, 2vw, 26px); line-height: 1.15; }
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.45; font-weight: 600; }
.fine, .form-note, .styler-note, .shot figcaption { font-size: 14px; line-height: 1.45; font-weight: 600; }
.card { box-shadow: inset 0 -3px 0 rgba(20, 18, 31, .05), inset 0 2px 0 rgba(255, 255, 255, .7); }

/* rhythm */
.section { padding: 88px 0; }
.section-head { margin-bottom: 38px; }
#how { padding: 56px 0 88px; }
#room { padding: 96px 0; }
.section--shots { padding: 88px 0 40px; }
.section--faq { padding: 64px 0 72px; }
.section--notify { padding: 20px 0 64px; }
.marquee { padding: 20px 0; }
.site-footer { padding-top: 0; }

/* hero */
.hero { padding-bottom: 72px; }
.hero-grid { grid-template-columns: 520px minmax(0, 1fr); gap: 56px; }
.hero h1 { font-size: clamp(40px, 6.4vw, 84px); line-height: 1.02; }
.hero-copy .lead { max-width: 440px; }
.cta-row { margin-top: 24px; }
.fine--stage { display: none; text-align: center; }
.floaty img { animation-duration: 9s; }
@keyframes bob { 50% { transform: translateY(-5px) rotate(calc(var(--rot, 4deg) * .4)); } }
.floaty--bow.is-happy img { animation: bowtilt .45s ease-in-out; }
@keyframes bowtilt { 0% { transform: rotate(-14deg); } 30% { transform: rotate(-22deg); } 65% { transform: rotate(-8deg); } 100% { transform: rotate(-14deg); } }
.shelf-row.is-squash .piece { animation: squash .19s ease-in-out; }
@keyframes squash { 45% { transform: scale(1.08, .92); } 100% { transform: scale(.98, 1.03); } }
@media (max-width: 1100px) { .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 32px; } }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero { padding-top: 104px; }
  .hero h1 { font-size: clamp(36px, 10vw, 54px); line-height: 1.04; }
  .hero h1 br:nth-of-type(1), .hero h1 br:nth-of-type(3) { display: none; }
  .hero-copy .eyebrow { margin-bottom: 16px; }
  .hero-copy .lead { font-size: 16px; line-height: 1.5; margin-top: 16px; }
  .cta-row { margin-top: 18px; gap: 12px 18px; }
  .fine--copy { display: none; } .fine--stage { display: block; }
  .floaty--bow { left: -2% !important; top: -6% !important; width: 20% !important; }
  .site-header.is-stuck .brand img { height: 44px !important; }
}

/* reveals: short and quiet */
.reveal { transform: translateY(12px); transition: opacity .42s ease, transform .42s var(--ease-out); }
.reveal.is-in { transform: none; }

/* steps: text above, a dedicated place for the picture below */
.step { min-height: 0; height: 320px; padding: 28px; display: flex; flex-direction: column; transition: none; }
.step:hover { transform: none; }
.step p { max-width: none; }
.zone { margin-top: auto; height: 130px; display: flex; align-items: flex-end; justify-content: center; gap: 4px; }
.zone img { height: 104px !important; width: auto; filter: drop-shadow(0 10px 8px rgba(120, 50, 120, .16)); }
.zone img:nth-child(2) { height: 86px !important; }
.zone--trio { gap: 0; }
.zone--trio img, .zone--trio img:nth-child(2) { height: 108px !important; width: 72px; object-fit: contain; margin: 0 -4px; }
.zone--wide img { height: 122px !important; }
@media (max-width: 860px) { .step { height: auto; padding-bottom: 20px; } .zone { height: 104px; margin-top: 14px; } .zone img { height: 88px !important; } .zone img:nth-child(2) { height: 72px !important; } .zone--trio img, .zone--trio img:nth-child(2) { height: 92px !important; width: 60px; } .zone--wide img { height: 100px !important; } }

/* film */
.phone { box-shadow: inset 0 0 0 2px #fff, inset 0 -6px 0 rgba(20, 18, 31, .06), 0 40px 60px -44px rgba(170, 70, 140, .32); }
.film { padding: 0; }
@media (max-width: 860px) { .ticks li { font-size: 16px; line-height: 1.5; } }

/* room styler */
.styler { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); grid-template-areas: "room copy" "room controls"; grid-template-rows: auto 1fr; column-gap: clamp(24px, 4vw, 56px); row-gap: 24px; align-items: start; }
.styler .room { grid-area: room; box-shadow: inset 0 -6px 0 rgba(20, 18, 31, .06), 0 40px 60px -48px rgba(170, 70, 140, .28); }
.styler-copy { grid-area: copy; align-self: end; }
.styler-controls { grid-area: controls; }
.room .p:hover { transform: translateY(-3px); }
.room .p.is-swap img { animation: settle .34s var(--ease-out); }
@keyframes settle { from { transform: translateY(4px) scale(.98); opacity: .2; } }
.room .p--lights.is-glow img { animation: glow .5s ease-out; }
@keyframes glow { 40% { filter: brightness(1.35) drop-shadow(0 0 14px rgba(255, 236, 170, .9)); } }
.room .p.is-nudge::after { content: ""; position: absolute; inset: -6px; border-radius: 28px; border: 2px solid #fff; animation: ring 1.6s ease-out 2; opacity: 0; }
@keyframes ring { 0% { opacity: .95; transform: scale(.96); } 100% { opacity: 0; transform: scale(1.05); } }
.room-hint { position: absolute; right: 16px; bottom: 16px; z-index: 9; font-size: 14px; font-weight: 700; padding: 8px 14px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: opacity .4s; }
.room-hint.is-gone { opacity: 0; }
.looks { margin-top: 0; gap: 12px; }
.look { min-height: 88px; border-radius: 24px; padding: 12px 14px; font-size: 18px; box-shadow: inset 0 -3px 0 rgba(20, 18, 31, .05), inset 0 2px 0 rgba(255, 255, 255, .7); transition: box-shadow .2s; }
.look:hover { transform: none; box-shadow: inset 0 -3px 0 rgba(20, 18, 31, .05), inset 0 0 0 2px rgba(20, 18, 31, .2); }
.look img { width: 48px; height: 38px !important; }
.look small { font-size: 13px; font-weight: 600; }
.look[aria-pressed="true"] { transform: none; box-shadow: inset 0 0 0 2px var(--ink); }
.look { position: relative; }
.look[aria-pressed="true"]::after { content: ""; position: absolute; top: 10px; right: 10px; width: 18px; height: 18px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 10px no-repeat; }
.look small::after { content: none; }
@media (max-width: 900px) {
  .styler { grid-template-columns: 1fr; grid-template-areas: "copy" "room" "controls"; }
  .look { min-height: 0; padding: 12px; gap: 10px; font-size: 16px; }
  .look img { width: 36px; height: 30px !important; }
  .look small { font-size: 12px; }
}

/* bento */
.bento .card { min-height: 0; transition: none; }
.bento .card:hover { transform: none; }
.bento .card:hover .deco { transform: none; }
.b-wide, .b-narrow { height: 280px; }
.b-half { height: 240px; }
.b-wide > h3, .b-wide > p { max-width: 48%; }
.pile { right: 28px; top: 50%; bottom: auto; transform: translateY(-50%); grid-template-columns: repeat(4, 68px); gap: 10px; }
.pile span { width: 68px; height: 68px; border-radius: 20px; }
.bento .deco { right: 16px; bottom: 16px; width: 132px; height: 132px !important; object-fit: contain; object-position: right bottom; filter: drop-shadow(0 10px 8px rgba(120, 50, 120, .14)); }
.b-half > h3, .b-half > p { max-width: 62%; }
@media (max-width: 860px) {
  .b-wide, .b-narrow, .b-half { height: auto; }
  .b-narrow { min-height: 180px; }
  .b-wide > h3, .b-wide > p, .b-half > h3, .b-half > p { max-width: none; }
  .pile { position: static; transform: none; margin-top: 18px; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; }
  .pile span { width: auto; height: auto; aspect-ratio: 1; min-width: 0; }
  .b-half { padding-bottom: 120px; }
  .bento .deco { width: 104px; height: 104px !important; }
}

/* marquee tiles keep their art inside */
.chip-item img { width: 88px; height: 88px !important; object-fit: contain; }
.chip-item:hover { transform: none; }
.step .num { flex: none; align-self: flex-start; }

/* gallery: upright, with arrows */
.shots-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.arrows { display: flex; gap: 10px; flex: none; }
.arrow { width: 44px; height: 44px; border-radius: 50%; background: var(--cloud); font-size: 20px; font-weight: 800; display: grid; place-items: center; transition: background .2s, opacity .2s; }
.arrow:hover { background: var(--blush); }
.arrow:disabled { opacity: .35; cursor: default; }
.gallery { gap: 24px; padding-bottom: 10px; }
.shot, .shot:nth-child(odd), .shot:nth-child(even) { width: 260px; transform: none; background: none; padding: 0; box-shadow: none; border-radius: 0; transition: none; }
.shot:hover { transform: none; }
.shot img { border-radius: 28px; box-shadow: 0 0 0 1px rgba(20, 18, 31, .06); }
.shot figcaption { padding: 12px 2px 0; text-align: left; color: var(--ink-soft); font-weight: 700; }
@media (max-width: 600px) { .shot, .shot:nth-child(odd), .shot:nth-child(even) { width: 72vw; } .shots-head .arrows { display: none; } .gallery { scroll-snap-type: x mandatory; } }

/* faq: flat rows */
.faq { max-width: 780px; gap: 0; }
.faq details { border-radius: 0; background: none; box-shadow: none; border-bottom: 1px solid rgba(20, 18, 31, .08); }
.faq details:first-child { border-top: 1px solid rgba(20, 18, 31, .08); }
.faq summary { padding: 24px 4px; }
.faq summary::after { width: 32px; height: 32px; background: var(--pink); }
.faq details[open] summary::after { background: var(--ink); color: #fff; }
.faq .answer { padding: 0 4px 24px; }
.prose .faq summary { font-size: 19px; }

/* signup: the form is the destination */
.signup { padding: 56px; overflow: hidden; }
.signup h2 { font-size: clamp(32px, 4vw, 48px); }
.signup .field { min-height: 68px; }
.signup .deco-b { width: 170px; right: 20px; top: -6px; animation: none; opacity: .9; z-index: 0; }
.signup > div, .signup form { position: relative; z-index: 1; }
@media (max-width: 860px) { .signup { padding: 24px; margin-top: 0; } .signup h2 { font-size: 32px; } .signup .deco-b { display: none; } }

/* animations rest while their section is off screen */
.is-offscreen .cloud, .is-offscreen .floaty img, .is-offscreen .marquee-track { animation-play-state: paused; }

/* sign-up panel without a form: one button and a note */
.notify-cta { position: relative; z-index: 1; }
.notify-cta .btn { min-height: 68px; font-size: 21px; padding-left: 32px; }
.notify-cta .form-note { margin-top: 16px; max-width: 34em; }

/* announcement bar set from the admin page */
.announce { position: relative; z-index: 60; background: var(--ink); color: #fff; text-align: center; font-weight: 800; font-size: 15.5px; padding: 10px 16px; }
.announce ~ .site-header { top: var(--announce, 0px); }
html:has(.announce) .site-header.is-stuck { top: 0; }
