/* ShizukaCha theme: a pale blush that settles into white. One rose accent, everything else neutral. */
:root { --pink: #fbe3ea; --blush: #fdf1f4; --rose: #c2517a; --accent: #1d1d1f; }

/* Hero */
.hero { background: var(--pink); text-align: center; overflow: hidden; display: flex; flex-direction: column; min-height: calc(100svh - var(--nav-h) - var(--sub-h)); padding-top: clamp(44px, 9vh, 92px); --h: 0; }
.hero-copy { opacity: calc(1 - var(--h) * 1.5); transform: translateY(calc(var(--h) * -36px)); }
.hero .eyebrow { margin-bottom: 12px; color: var(--rose); }
.hero h1 { font-size: clamp(2.5rem, min(10.6vw, 12vh), 6.5rem); line-height: 1.14; }
.hero .sub { margin-top: 18px; font-size: clamp(1.0625rem, 2.2vw, 1.3125rem); color: #5c5458; }
.hero .cta { margin-top: 26px; }
.shush i { display: block; aspect-ratio: 1; background: #fff; -webkit-mask: url(img/shush.webp) center / contain no-repeat; mask: url(img/shush.webp) center / contain no-repeat; }
.hero .shush { margin: auto auto 0; padding-top: 24px; width: min(82vw, 46vh, 600px); margin-bottom: -3%; transform: translateY(calc(var(--h) * 40px)) scale(calc(1 + var(--h) * .08)); transform-origin: 50% 100%; }
.rise { animation: rise 1.4s var(--ease) var(--d, 0s) both; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* One sentence, lit as you read it */
.overview { background: linear-gradient(var(--pink), var(--blush)); padding-block: clamp(96px, 20vh, 200px); }
.scrub { font-size: clamp(1.75rem, 5.6vw, 3.5rem); font-weight: 600; line-height: 1.36; letter-spacing: -.015em; max-width: 980px; word-break: auto-phrase; }
.scrub span { opacity: .16; transition: opacity .3s linear; }
.scrub span.on { opacity: 1; }

/* Scroll stage */
.stage { --p: 0; --e: 1; height: 620svh; background: color-mix(in srgb, var(--blush) calc((1 - var(--p)) * 100%), #fff); }
.stage-in { position: sticky; top: var(--sub-h); height: calc(100svh - var(--sub-h)); display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; }
.caps { position: relative; min-height: 15em; }
.caps li { position: absolute; inset: 50% 0 auto; transform: translateY(calc(-50% + 18px)); opacity: 0; transition: opacity .7s ease, transform .9s var(--ease); }
.caps li.on { opacity: 1; transform: translateY(-50%); }
.caps h2 { font-size: clamp(2rem, 4.6vw, 3.5rem); text-wrap: wrap; }
.caps p { margin-top: 14px; font-size: clamp(1rem, 1.8vw, 1.1875rem); color: var(--muted); text-wrap: pretty; }
.count { display: inline-block; margin-bottom: 16px; color: var(--rose); font-size: .875rem; font-weight: 500; font-variant-numeric: tabular-nums; transition: opacity .6s ease; }
.stage-phone { --ph: min(700px, calc(100svh - var(--sub-h) - 48px)); transform: translateY(calc((1 - var(--e)) * 70px)) scale(calc(.9 + var(--e) * .1)); }
.stage .phone { height: var(--ph); }
html:not(.js) .stage { height: auto; }
html:not(.js) .stage-in { position: static; height: auto; padding-block: 64px; }
html:not(.js) .caps li { position: static; opacity: 1; transform: none; margin-bottom: 28px; }
html:not(.js) .count { display: none; }
@media (max-width: 820px) {
  .stage-in { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); gap: 10px; align-items: start; justify-items: center; padding-block: 14px 12px; }
  .stage-in > div:first-child { width: 100%; text-align: center; }
  .caps { min-height: 9.6em; text-align: center; }
  .caps li { inset: 0 0 auto; transform: translateY(12px); }
  .caps li.on { transform: none; }
  .caps h2 { font-size: clamp(1.625rem, 7.2vw, 2.5rem); }
  .caps p { margin-top: 6px; font-size: .9375rem; line-height: 1.55; }
  .count { margin-bottom: 6px; }
  .stage-phone { height: 100%; min-height: 0; }
  .stage .phone { height: 100%; }
}

/* Device: everything inside scales with cqw so one drawing works at any size. */
.phone { aspect-ratio: 9 / 19; background: #1d1d1f; border-radius: 13% / 6.2%; padding: 1.9%; box-shadow: 0 40px 80px -40px rgba(120, 60, 85, .35); container-type: inline-size; flex: none; margin-inline: auto; }
.screen { position: relative; height: 100%; overflow: hidden; border-radius: 11.5% / 5.4%; background: #fff; color: #1d1d1f; font-size: 4.3cqw; line-height: 1.55; text-align: left; display: flex; flex-direction: column; }
.tall { width: min(78vw, 340px); aspect-ratio: 9 / 15.5; border-radius: 13% / 7.6%; }
.tall .screen { border-radius: 11.5% / 6.6%; }
.bar { flex: none; position: relative; margin: .7em; padding: .5em 1em; border-radius: 2em; background: #f2f2f4; text-align: center; font-size: .85em; color: #6e6e73; }
.top { flex: none; height: 2.6em; }
.body { flex: 1; overflow: hidden; padding: 0 1.15em; position: relative; }
.masthead { display: flex; justify-content: space-between; align-items: center; padding-bottom: .55em; margin-bottom: .9em; border-bottom: 1px solid #ececee; font-weight: 600; }
.masthead i { width: 1.2em; height: .7em; border-block: 1.5px solid #1d1d1f; }
.body h3 { font-size: 1.45em; line-height: 1.3; margin-bottom: .55em; }
.date { font-size: .78em; color: #8e8e93; margin-bottom: .8em; }
.pic { height: 8.4em; border-radius: .6em; margin-bottom: .9em; background: linear-gradient(160deg, #fbe9e4, #f6d3da 50%, #d9dfe8); }
.body p { margin-bottom: .85em; font-size: .94em; }

/* The noise: still in the way, but drawn softly */
.n { transition: opacity .7s ease, transform .9s var(--ease), filter .7s ease, height .8s var(--ease), margin .8s var(--ease); }
.n.gone { opacity: 0; transform: scale(.96); filter: blur(6px); pointer-events: none; }
.slot { height: 5.4em; margin-bottom: .9em; border-radius: .5em; background: #f0eff1; color: #8e8e93; display: grid; place-items: center; font-size: .9em; overflow: hidden; }
.slot.gone { height: 0; margin-bottom: 0; transform: none; }
.float { position: absolute; z-index: 5; }
.m-ask { top: 3em; left: 1em; right: 1em; z-index: 9; padding: .8em 1em; background: rgba(255, 255, 255, .96); border-radius: .9em; box-shadow: 0 .3em 1.4em rgba(0, 0, 0, .14); font-size: .9em; font-weight: 500; }
.m-ask b { display: flex; gap: 1.2em; justify-content: flex-end; color: var(--rose); font-weight: 500; margin-top: .3em; }
.m-veil { inset: 0; background: rgba(40, 30, 35, .28); z-index: 6; }
.m-sheet { top: 31%; left: 1.4em; right: 1.4em; z-index: 7; padding: 1.3em 1.2em; background: #fff; border-radius: 1em; text-align: center; font-weight: 500; box-shadow: 0 .4em 1.8em rgba(0, 0, 0, .12); }
.m-sheet strong { display: block; font-size: 1.45em; font-weight: 600; line-height: 1.25; margin-bottom: .35em; }
.m-sheet span { display: block; margin-top: .7em; padding: .55em; border-radius: .6em; background: var(--pink); color: #8f3558; }
.m-consent { left: .6em; right: .6em; bottom: 3.5em; z-index: 8; padding: 1em 1.1em; border-radius: 1em; background: #fff; box-shadow: 0 .2em 1.4em rgba(0, 0, 0, .14); font-size: .84em; }
.m-consent div { display: flex; gap: .6em; margin-top: .6em; font-weight: 500; }
.m-consent span { flex: 1; text-align: center; padding: .42em; border-radius: .5em; background: #f0eff1; }
.m-strip { top: 2.4em; left: 0; right: 0; z-index: 4; display: flex; justify-content: space-between; align-items: center; padding: .55em 1em; background: #f7f7f8; border-bottom: 1px solid #ececee; color: #6e6e73; font-size: .84em; }
.m-bubble { right: .9em; bottom: 4.6em; width: 3em; height: 3em; border-radius: 50%; background: var(--pink); color: #8f3558; display: grid; place-items: center; font-weight: 600; z-index: 5; }
.m-clip { left: .9em; bottom: 4.6em; width: 7.4em; height: 4.4em; border-radius: .6em; background: #e4e3e6; color: #6e6e73; display: grid; place-items: center; font-size: .85em; z-index: 5; }

/* Features */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 7vw, 96px); align-items: center; padding-block: clamp(64px, 11vw, 130px); }
.feature:nth-of-type(even) .copy { order: 2; }
.feature p { margin-top: 18px; }
@media (min-width: 821px) { .feature .display { font-size: clamp(2.25rem, 4.2vw, 3.25rem); } }
@media (max-width: 820px) { .feature { grid-template-columns: 1fr; text-align: center; } .feature:nth-of-type(even) .copy { order: 0; } }

/* Search demo */
.q { display: flex; align-items: center; gap: .5em; padding: .5em .9em; margin-bottom: .9em; border-radius: 2em; background: #f2f2f4; font-size: .94em; }
.r { margin-bottom: .95em; font-size: .94em; line-height: 1.4; color: #6e6e73; }
.r small { display: block; font-size: .82em; }
.r b { display: block; color: #1d1d1f; font-weight: 600; }
.box { padding: .8em .9em; border-radius: .7em; background: #f7f3f5; overflow: hidden; }
.box em { font-style: normal; font-weight: 600; display: block; margin-bottom: .2em; color: #1d1d1f; }
.collapse { max-height: 9em; transition: max-height .9s var(--ease) .8s, opacity .6s ease .8s, margin .9s var(--ease) .8s, padding .9s var(--ease) .8s; }
.in .collapse, html:not(.js) .collapse { max-height: 0; opacity: 0; margin-block: 0; padding-block: 0; }

/* Learn demo: tap ×, the popup leaves, ShizukaCha says it remembered. Plays once. */
.m-shade { position: absolute; inset: 0; background: rgba(40, 30, 35, .28); transition: opacity .7s ease 1.5s; }
.m-survey { position: absolute; top: 24%; left: 1.3em; right: 1.3em; padding: 1.2em; background: #fff; border-radius: .9em; box-shadow: 0 .4em 1.8em rgba(0, 0, 0, .12); text-align: center; font-weight: 500; transition: opacity .6s ease 1.5s, transform .8s var(--ease) 1.5s; }
.m-survey i { position: absolute; top: .35em; right: .5em; width: 1.8em; height: 1.8em; display: grid; place-items: center; font-style: normal; color: #8e8e93; border-radius: 50%; }
.m-survey i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: rgba(194, 81, 122, .28); opacity: 0; }
.in .m-survey i::after { animation: tap 1s ease .7s both; }
@keyframes tap { 0% { opacity: 0; transform: scale(1.7); } 45% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }
.in .m-shade, .in .m-survey, html:not(.js) .m-shade, html:not(.js) .m-survey { opacity: 0; }
.in .m-survey { transform: scale(.96); }
.m-note { position: absolute; bottom: 4.2em; left: 1em; right: 1em; padding: .7em .9em; border-radius: .9em; background: rgba(255, 255, 255, .96); box-shadow: 0 .2em 1.3em rgba(0, 0, 0, .13); font-size: .88em; font-weight: 500; text-align: center; color: var(--rose); }
.js .m-note { opacity: 0; transform: translateY(.8em); transition: opacity .7s ease 2.1s, transform .9s var(--ease) 2.1s; }
.js .in .m-note { opacity: 1; transform: none; }

/* Picker demo: the element is outlined, the panel rises, block, and it is gone. Plays once. */
.pick { background: #f0eff1; outline: .16em solid transparent; outline-offset: .1em; transition: outline-color .5s ease .5s, height .9s var(--ease) 2.5s, margin .9s var(--ease) 2.5s, opacity .6s ease 2.5s; }
.in .pick { outline-color: var(--rose); animation: unpick .5s ease 2.5s forwards; height: 0; margin-bottom: 0; opacity: 0; }
@keyframes unpick { to { outline-color: transparent; } }
html:not(.js) .pick { display: none; }
.panel { position: absolute; left: .6em; right: .6em; bottom: 3.5em; padding: .9em 1em; border-radius: 1em; background: #fff; box-shadow: 0 .3em 1.5em rgba(0, 0, 0, .14); font-size: .88em; transform: translateY(130%); opacity: 0; transition: transform 1s var(--ease) 1s, opacity .5s ease 1s; }
.in .panel { transform: none; opacity: 1; animation: leave .7s ease 3.2s forwards; }
@keyframes leave { to { opacity: 0; transform: translateY(40%); } }
html:not(.js) .panel { display: none; }
.panel code { display: block; padding: .35em .5em; border-radius: .4em; background: #f2f2f4; font-size: .9em; white-space: nowrap; overflow: hidden; }
.slider { height: .25em; margin: .9em 0; border-radius: 1em; background: linear-gradient(90deg, var(--rose) 60%, #e4e3e6 60%); position: relative; }
.slider::after { content: ""; position: absolute; left: 60%; top: 50%; width: 1.1em; height: 1.1em; border-radius: 50%; background: #fff; box-shadow: 0 .05em .35em rgba(0, 0, 0, .28); transform: translate(-50%, -50%); }
.panel div { display: flex; gap: .5em; font-weight: 500; }
.panel span { flex: 1; text-align: center; padding: .42em; border-radius: .5em; background: #f2f2f4; }
.panel span + span { background: var(--rose); color: #fff; }

/* Undo */
.undo { background: var(--soft); }
.undo .feature { padding-block: var(--section); }
.sheet { padding: 1em 1.1em; font-size: .92em; flex: 1; display: flex; flex-direction: column; }
.sheet h4 { margin: 0 0 .7em; font-size: 1.08em; font-weight: 600; }
.sheet li { display: flex; justify-content: space-between; align-items: center; gap: .6em; padding: .62em 0; border-top: 1px solid #ececee; }
.js .sheet li { opacity: 0; transform: translateY(.7em); transition: opacity .7s ease, transform .9s var(--ease); }
.js .in .sheet li { opacity: 1; transform: none; }
.js .sheet li:nth-child(1) { transition-delay: .5s; } .js .sheet li:nth-child(2) { transition-delay: .7s; }
.js .sheet li:nth-child(3) { transition-delay: .9s; } .js .sheet li:nth-child(4) { transition-delay: 1.1s; }
.sheet li div { display: flex; gap: .7em; color: var(--rose); font-size: .9em; flex: none; }
.sheet small { display: block; margin-top: .7em; color: #8e8e93; line-height: 1.45; }
.sheet .acts { margin-top: auto; padding-bottom: .8em; display: flex; gap: .5em; font-weight: 500; font-size: .92em; }
.sheet .acts span { flex: 1; text-align: center; padding: .5em .3em; border-radius: .6em; background: #f2f2f4; }

/* Details, price, start */
.more h2, .price h2, .start h2, .faq h2 { margin-bottom: clamp(28px, 5vw, 52px); }
.more ul { display: grid; gap: 6px; list-style: disc; padding-left: 1.2em; }
.price { background: var(--blush); }
.tbd { display: inline-block; padding: 0 9px; border-radius: 6px; background: var(--pink); color: #8f3558; font-size: .875rem; font-weight: 500; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 48px); counter-reset: s; }
.steps li { counter-increment: s; padding-top: 18px; border-top: 1px solid var(--line); }
.steps li::before { content: counter(s); display: block; font-size: 2.5rem; font-weight: 600; color: var(--rose); line-height: 1.1; margin-bottom: 12px; }
.steps h3 { font-size: 1.3125rem; margin-bottom: 8px; }
.steps p { color: var(--muted); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

.outro { background: var(--pink); text-align: center; padding-top: var(--section); overflow: hidden; }
.outro .shush { width: min(60vw, 320px); margin: 40px auto -3%; }

@media (prefers-reduced-motion: reduce) {
  .rise, .in .m-survey i::after, .in .pick, .in .panel { animation: none; }
  .hero-copy, .hero .shush, .stage-phone { opacity: 1; transform: none; }
  .n, .caps li, .collapse, .m-shade, .m-survey, .js .m-note, .pick, .panel, .js .sheet li, .scrub span { transition: none; }
  .scrub span { opacity: 1; }
  .in .panel { opacity: 0; }
}
