/* Ayden Sing — public site. The app's own palette and type (src/app/globals.css): warm paper, ink, terracotta. */
:root {
  --paper: #f7f2ea;
  --surface: #fffdf8;
  --ink: #2a231e;
  --ink-2: #6a5e54;
  --accent: #a7482b;
  --accent-pressed: #843619;
  --accent-soft: #f4e0d9;
  --on-accent: #f7f2ea;
  --hairline: #d9d0c4;
  --night: #1f1a17;
  --serif: "Newsreader", "Source Serif 4", Georgia, serif;
  --sans: "Kantumruy Pro", "Noto Sans Khmer", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1080px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--sans); }
img { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-pressed); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 16px; z-index: 10; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: 20px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(247, 242, 234, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--hairline); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 34px; height: auto; }
.brand-name { font: 500 18px/1 var(--serif); letter-spacing: 0.32em; text-transform: uppercase; }
.brand-tag { display: block; margin-top: 4px; font: 700 9px/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); }
.nav { display: flex; gap: 18px; align-items: center; font-size: 15px; }
.nav a { color: var(--ink-2); text-decoration: none; }
.nav a:hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font: 600 16px/1 var(--sans); text-decoration: none; border: 0; }
.btn:hover { background: var(--accent-pressed); color: var(--on-accent); }
.btn--small { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
@media (max-width: 640px) { .nav .nav-link { display: none; } }

/* hero */
.hero { padding: 48px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.eyebrow { margin: 0 0 12px; font: 700 12px/1.2 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(38px, 6vw, 62px); }
h1 .km { display: block; margin-top: 14px; font: 600 clamp(20px, 3vw, 26px)/1.6 var(--sans); color: var(--ink-2); }
.lead { margin: 18px 0 26px; font-size: 18px; color: var(--ink-2); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.note { margin: 12px 0 0; font-size: 13px; color: var(--ink-2); }
.hero-photo { border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 30px 60px -30px rgba(42, 35, 30, 0.45); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
@media (max-width: 820px) {
  .hero { padding-top: 28px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-photo { aspect-ratio: 5 / 4; order: -1; }
}

/* sections */
section { padding: 56px 0; }
.section-head { max-width: 40em; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); }
.section-head p { color: var(--ink-2); margin: 10px 0 0; }
.band { background: var(--surface); border-block: 1px solid var(--hairline); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; padding: 22px 20px; border: 1px solid var(--hairline); border-radius: 20px; background: var(--paper); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 14px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-pressed); font: 600 15px/1 var(--sans); }
.steps h3 { font-size: 21px; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--ink-2); font-size: 15px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.feature { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 36px; align-items: center; }
.feature img { border-radius: 24px; aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.feature ul { margin: 14px 0 0; padding-left: 20px; color: var(--ink-2); }
.feature li { margin: 6px 0; }
@media (max-width: 820px) { .feature { grid-template-columns: 1fr; } }

.offers { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); gap: 18px; }
.offer { padding: 26px 24px; border-radius: 22px; background: var(--surface); border: 1px solid var(--hairline); }
.offer--best { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.offer .label { margin: 0; font: 700 12px/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.offer h3 { font-size: 28px; margin: 10px 0 4px; }
.offer .price { margin: 0; color: var(--ink); font: 500 40px/1 var(--serif); }
.offer .price small { display: block; margin-top: 8px; font: 500 15px/1.3 var(--sans); color: var(--ink-2); }
.offer p { margin: 10px 0 0; color: var(--ink-2); font-size: 15px; }
@media (max-width: 640px) { .offers { grid-template-columns: 1fr; } }
.facts { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--ink-2); font-size: 15px; }
.facts li::before { content: "·"; color: var(--accent); font-weight: 700; margin-right: 8px; }
.pay { display: flex; align-items: center; gap: 10px; margin-top: 20px; font-size: 13px; color: var(--ink-2); }
.pay img { height: 18px; width: auto; }

.cta { text-align: center; }
.cta h2 { font-size: clamp(28px, 4vw, 40px); }
.cta p { color: var(--ink-2); margin: 10px auto 22px; max-width: 34em; }

/* legal pages */
.page { padding: 40px 0 64px; }
.page .wrap { max-width: 760px; }
.page h1 { font-size: clamp(34px, 5vw, 48px); }
.updated { margin: 10px 0 30px; color: var(--ink-2); font-size: 14px; }
.page h2 { font-size: 24px; margin: 34px 0 10px; }
.page p, .page li { color: #3d342d; }
.page ul { padding-left: 22px; }
.page li { margin: 6px 0; }
.page table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 15px; }
.page th, .page td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--hairline); }
.page th { font-weight: 600; color: var(--ink); }
.table-scroll { overflow-x: auto; }
.callout { padding: 14px 16px; border-radius: 14px; background: var(--accent-soft); color: var(--ink); }
/* [two languages 2026-10-31] the legal pages stay in English until a legal translation is validated, and say so */
.legal-lang { padding: 10px 0; background: var(--accent-soft); color: var(--ink); font-size: 14px; }
.legal-lang .wrap { max-width: 760px; }

/* footer */
.site-footer { background: var(--night); color: #d8cec3; padding: 40px 0 28px; font-size: 14px; }
.foot { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; }
.site-footer .brand { color: var(--paper); }
.site-footer .brand-tag { color: #e0a58e; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 22px; align-content: start; }
.foot-links a { color: var(--paper); text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.operator { margin: 14px 0 0; color: #b8ac9f; max-width: 36em; }
.follow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 24px 0 0; }
.follow-title { color: #b8ac9f; }
.follow a { color: var(--paper); text-decoration: none; padding: 6px 12px; border: 1px solid #4a4038; border-radius: 999px; }
.follow a:hover, .follow a:focus-visible { border-color: var(--paper); }
.copy { margin: 26px 0 0; padding-top: 18px; border-top: 1px solid #3a322c; color: #9a8e82; font-size: 13px; }
@media (max-width: 640px) { .foot { grid-template-columns: 1fr; } }

/* PREVIEW ONLY — owner decisions still open. Removed at publication (tools/site-build.mjs strips .decide and the banner). */
.preview-banner { background: #2b2b2b; color: #fff; font-size: 13px; padding: 8px 0; }
.preview-banner a { color: #ffd27a; }
.decide { background: #fff2c6; box-shadow: 0 0 0 2px #fff2c6; border-radius: 4px; }
.decide::after { content: attr(data-d); margin-left: 6px; padding: 1px 6px; border-radius: 6px; background: #8a5a00; color: #fff; font: 700 10px/1.6 var(--sans); letter-spacing: 0.05em; vertical-align: 2px; white-space: nowrap; }

/* ============================================================================
   HOME — animated home page (owner GO 2026-10-25), the validated mock-up ayden-sing-site.html.
   Every rule below is scoped to <html class="home"> (set by build-site.mjs for the route "/" only), so
   the six other pages keep the rules above untouched. Colours: official token names from
   02-couleurs-et-typographie/ayden-sing-tokens.css are declared on :root; the mock-up's short names are
   aliases of them on html.home. The only literal colours outside :root are token colours with an alpha
   (paper / surface / ink at a given opacity), which plain CSS cannot derive from a hex token.
   Motion: @keyframes and the reveals use transform and opacity only; hover shadows are the opacity of a
   pseudo-element carrying the final shadow; colour transitions (nav tint, dots, lyric words, links) are
   paint-only and were allowed by the owner. The karaoke progress bar is a scaleX, not a width.
   ============================================================================ */
:root {
  --surface-sunken: #f1e9dc;
  --gold: #a8833f;
  --shadow-card: 0 1px 2px rgba(42, 35, 30, 0.04), 0 6px 16px rgba(42, 35, 30, 0.06);
  --shadow-lift: 0 2px 4px rgba(42, 35, 30, 0.06), 0 12px 28px rgba(42, 35, 30, 0.1);
  --radius-card: 18px;
  --cover-tone-0-a: #b5573a; --cover-tone-0-b: #6f2f1d;
  --cover-tone-1-a: #c08a3e; --cover-tone-1-b: #7a5220;
  --ak-accent: #a64c31;
  --ak-stage: #292523;
  --ak-stage-ink: #fff8ee;
  --ak-stage-muted: #bcb0a5;
  --ak-gold: #efbf77;
  --ak-track: #65574a;
  --ak-good: #3f7a52; --ak-watch: #b7791f; --ak-watch-ink: #86570f;
  --cover-tone-3-a: #9a4e5c; --cover-tone-3-b: #54242f;
  --font-headline-khmer: "Noto Serif Khmer", "Khmer OS Muol Light", "Khmer OS", "Khmer UI", serif;
}
html.home {
  --sunken: var(--surface-sunken);
  --stage: var(--ak-stage); --stage-ink: var(--ak-stage-ink); --stage-muted: var(--ak-stage-muted);
  --stage-gold: var(--ak-gold); --track: var(--ak-track);
  --radius: var(--radius-card);
  --headline: var(--serif); --khmer: var(--font-headline-khmer); --ui: var(--sans);
  --gl: max(16px, env(safe-area-inset-left, 0px));
  --gr: max(16px, env(safe-area-inset-right, 0px));
  --max: 1120px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --nav-h: 64px;
  --banner-h: 0px;
  color-scheme: light;
  overflow-x: hidden; overflow-x: clip;
}
/* smooth only for the reader's own moves (home.js): a page opened at a section lands at once */
html.home.smooth { scroll-behavior: smooth; }
html.home.preview { --banner-h: 36px; }
html.home body { font-family: var(--ui); font-size: 16px; line-height: 1.55; overflow-x: hidden; overflow-x: clip; -webkit-font-smoothing: antialiased; }
html.home body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 70; background: var(--paper); }
.home a { color: inherit; }
.home a:hover { color: inherit; }
.home h1, .home h2, .home h3, .home h4 { margin: 0; text-wrap: balance; font-family: var(--headline); font-weight: 500; letter-spacing: -.01em; line-height: 1.55; }
.home p { margin: 0; }
.home ul, .home ol { margin: 0; padding: 0; list-style: none; }
.home .wrap { width: auto; max-width: var(--max); margin-inline: auto; padding-left: var(--gl); padding-right: var(--gr); }
.home .eyebrow { margin: 0; font: 600 .76rem/1.55 var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.home h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); line-height: 1.1; margin-top: 10px; }
.home h2 em { font-style: italic; color: var(--accent); }
.home .sub { color: var(--ink-2); max-width: 36em; margin-top: 14px; font-size: 1.02rem; }
.home section { position: relative; z-index: 1; padding: 0; }
.home section[id] { scroll-margin-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + var(--banner-h)); }
.home .defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.home .skip:focus { z-index: 80; top: calc(env(safe-area-inset-top, 0px) + var(--banner-h) + 8px); }
/* preview only: the banner becomes a one-line fixed strip above the fixed nav (absent from --publish builds) */
.home .preview-banner { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 71; height: var(--banner-h); padding: 0; display: flex; align-items: center; line-height: 1.3; white-space: nowrap; overflow: hidden; }
.home .preview-banner .wrap { overflow: hidden; text-overflow: ellipsis; }
.home .preview-banner a { color: #ffd27a; } /* the shared banner's link colour, which .home a would otherwise override */
@media (max-width: 759px) {
  html.home { --nav-h: 56px; }
  html.home.preview { --banner-h: 56px; }
  .home .preview-banner { white-space: normal; }
  .home .preview-banner .wrap { overflow: visible; text-overflow: clip; }
}

/* the wave: a fixed WebGL canvas behind the page (wave.js), or its CSS fallback inside the hero */
.home .gl { position: fixed; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; pointer-events: none; }
.home .gl-fallback { position: absolute; left: 0; right: 0; bottom: 0; height: min(22vh, 180px); z-index: 0; pointer-events: none; display: flex; align-items: flex-end; justify-content: center; gap: 2.2vw; padding: 0 6vw; }
.home .gl-fallback[hidden] { display: none; }
.home .gl-fallback i { flex: 1; max-width: 18px; height: 100%; border-radius: 99px; background: linear-gradient(180deg, var(--ak-gold), var(--accent)); transform-origin: bottom; animation: eq var(--d, 1s) ease-in-out infinite alternate; animation-delay: var(--dl, 0s); }

/* equalizer bars (DOM) */
.home .eq { display: flex; align-items: flex-end; gap: 3px; height: 22px; flex: none; --bar: var(--accent); }
.home .eq i { width: 3px; height: 100%; border-radius: 2px; background: var(--bar); transform-origin: bottom; animation: eq var(--d, 1s) ease-in-out infinite alternate; animation-delay: var(--dl, 0s); }
@keyframes eq { from { transform: scaleY(.12); } to { transform: scaleY(1); } }

/* fixed nav */
.home .nav { position: fixed; top: calc(env(safe-area-inset-top, 0px) + var(--banner-h)); left: 0; right: 0; z-index: 60; display: block; gap: 0; font-size: 1rem; padding-left: var(--gl); padding-right: var(--gr); transition: background .35s, border-color .35s; }
.home .nav.scrolled { background: rgba(247, 242, 234, .84); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--hairline); }
.home .nav.menu-open { background: var(--surface); backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 1px solid var(--hairline); }
.home .nav-in { max-width: var(--max); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 8px; }
/* the logo keeps its proportions and its one line down to 320 px: on phones the whole of it scales with the screen */
.home .logo { display: inline-flex; align-items: center; gap: .6em; flex: 0 1 auto; min-width: 0; overflow: hidden; font-size: clamp(.75rem, 3.55vw, 1.02rem); text-decoration: none; color: var(--ink); }
.home .logo:hover { color: var(--ink); }
.home .logo img { height: 1.35em; width: auto; display: block; flex: none; }
.home .logo span { font-family: var(--serif); font-size: inherit; letter-spacing: .28em; text-transform: uppercase; font-weight: 500; padding-top: 2px; white-space: nowrap; }
.home .links { display: none; gap: 24px; font-size: .92rem; color: var(--ink-2); }
.home .links a { color: inherit; text-decoration: none; transition: color .2s; }
.home .links a:hover { color: var(--ink); }
@media (min-width: 1100px) { .home .links { display: flex; } }
.home .nav-end { display: flex; align-items: center; gap: 4px; flex: none; }
/* the language switch: ខ្មែរ | English, ខ្មែរ | EN on phones, only the other language under 360 px */
.home .lang { display: flex; align-items: center; font-size: .84rem; line-height: 1; }
.home .lang a { position: relative; display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 6px; color: var(--ink-2); text-decoration: none; transition: color .2s; }
.home .lang a:hover { color: var(--ink); }
.home .lang a[lang="km"] { font-size: 1.1em; }
.home .lang a[aria-current] { color: var(--accent-pressed); font-weight: 700; }
.home .lang a + a::before { content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 14px; margin-top: -7px; background: var(--hairline); }
.home .lang .sh, .home .nav-cta .sh { display: none; }
@media (max-width: 759px) {
  .home .lang .lg { display: none; }
  .home .lang .sh { display: inline; }
}
@media (max-width: 519px) {
  .home .nav-cta .lg { display: none; }
  .home .nav-cta .sh { display: inline; }
  .home .btn.sm.nav-cta { padding-inline: 12px; }
}
@media (max-width: 359px) {
  .home .lang a[aria-current] { display: none; }
  .home .lang a + a::before { display: none; }
}
/* the menu button and its panel, phones and small tablets: transform and opacity only; visibility takes the closed panel out
   of the tab order and of screen readers, and waits for the fade before it does */
.home .menu-btn { position: relative; flex: none; width: 40px; height: 44px; margin-right: -8px; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.home .menu-btn span { position: absolute; left: 10px; right: 10px; top: 50%; height: 2px; margin-top: -1px; border-radius: 1px; background: currentColor; transition: transform .25s var(--ease), opacity .2s; }
.home .menu-btn span:nth-child(1) { transform: translateY(-6px); }
.home .menu-btn span:nth-child(3) { transform: translateY(6px); }
.home .menu-open .menu-btn span:nth-child(1) { transform: rotate(45deg); }
.home .menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.home .menu-open .menu-btn span:nth-child(3) { transform: rotate(-45deg); }
.home .menu { position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100vh - var(--nav-h) - var(--banner-h) - env(safe-area-inset-top, 0px)); max-height: calc(100dvh - var(--nav-h) - var(--banner-h) - env(safe-area-inset-top, 0px)); overflow-y: auto; overscroll-behavior: contain; padding: 4px var(--gr) 18px var(--gl); background: var(--surface); border-bottom: 1px solid var(--hairline); box-shadow: var(--shadow-lift); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .24s var(--ease), transform .24s var(--ease), visibility 0s linear .24s; }
.home .menu-open .menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.home .menu li + li { border-top: 1px solid var(--hairline); }
.home .menu li a { display: flex; align-items: center; min-height: 50px; font-family: var(--headline); font-size: 1.2rem; font-weight: 500; line-height: 1.3; color: var(--ink); text-decoration: none; }
.home .menu .btn { width: 100%; margin-top: 10px; }
.home .scrim { position: fixed; inset: 0; z-index: 59; cursor: pointer; background: rgba(42, 35, 30, .28); opacity: 0; visibility: hidden; transition: opacity .24s var(--ease), visibility 0s linear .24s; }
.home .menu-open + .scrim { opacity: 1; visibility: visible; transition-delay: 0s; }
@media (min-width: 1100px) { .home .menu-btn, .home .menu, .home .scrim { display: none; } }

/* buttons */
.home .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 0; padding: 14px 24px; border-radius: 999px; font: 600 1rem/1.55 var(--ui); border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: transform .3s var(--ease), background .25s; white-space: nowrap; position: relative; isolation: isolate; }
.home .btn.sm { padding: 10px 16px; font-size: .88rem; }
.home .btn-primary { background: var(--accent); color: var(--on-accent); }
.home .btn-primary:hover { background: var(--accent-pressed); color: var(--on-accent); transform: translateY(-1px); }
.home .btn-ghost { border-color: var(--hairline); background: rgba(255, 253, 248, .7); color: var(--ink); }
.home .btn-ghost:hover { background: var(--surface); color: var(--ink); transform: translateY(-1px); }
/* shadows by opacity only: ::before carries the resting shadow and fades out on hover while ::after, carrying the
   lifted shadow, fades in — the mock-up's card → lift swap, without animating box-shadow */
.home .btn::before, .home .btn::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; z-index: -1; opacity: 0; transition: opacity .3s; pointer-events: none; }
.home .btn-primary::before { box-shadow: var(--shadow-card); opacity: 1; }
.home .btn-primary::after { box-shadow: var(--shadow-lift); }
.home .btn-ghost::after { box-shadow: var(--shadow-card); }
.home .btn:hover::before { opacity: 0; }
.home .btn:hover::after { opacity: 1; }
.home .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.home .btn svg { width: 18px; height: 18px; fill: currentColor; }

/* hero */
.home .hero { padding-top: calc(112px + var(--banner-h)); padding-bottom: 120px; }
/* minmax(0, …) and min-width: 0: at 390 px the mock-up's grid track grew to the "Now playing" pill's unbreakable
   text and pushed the whole hero column past the screen (hidden by overflow clip); the pill now truncates as the
   mock-up intended. */
.home .hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px; align-items: center; position: relative; z-index: 1; }
.home .hero-grid > * { min-width: 0; }
@media (min-width: 900px) {
  .home .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; }
  .home .hero { padding-top: calc(140px + var(--banner-h)); padding-bottom: 150px; }
}
.home .hero-text { position: relative; }
.home .hero-text::before { content: ""; position: absolute; inset: -12% -10%; background: radial-gradient(ellipse at 45% 50%, rgba(247, 242, 234, .92), rgba(247, 242, 234, .75) 45%, rgba(247, 242, 234, 0) 72%); z-index: -1; pointer-events: none; }
.home .hero .eyebrow { animation: fade 1s .1s both; }
.home h1 { font-size: clamp(2.7rem, 7.2vw, 5.2rem); line-height: 1.02; letter-spacing: -.02em; margin: 18px 0 10px; font-optical-sizing: auto; }
/* under 328 px Georgia would break « becomes a song. » until Newsreader comes: this narrower fallback already keeps it whole */
@media (max-width: 327px) { html.home[lang="en"] h1 { font-family: "Newsreader", "Times New Roman", serif; } }
.home h1 .song { font-style: italic; color: var(--accent); }
.home .wd { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .14em; margin-bottom: -.14em; padding-right: .04em; }
.home .wd > span { display: inline-block; animation: rise .95s var(--ease) both; animation-delay: calc(var(--i) * 80ms); }
@keyframes rise { from { transform: translateY(105%); opacity: 0; } to { transform: none; opacity: 1; } }
.home .km { font-family: var(--khmer); font-weight: 400; font-size: clamp(1.15rem, 2.6vw, 1.6rem); color: var(--ink); line-height: 1.9; margin-bottom: 12px; animation: fade 1.2s .55s both; }
.home .lead { margin: 0; font-size: clamp(1.02rem, 1.7vw, 1.15rem); color: var(--ink-2); max-width: 34em; line-height: 1.6; animation: fade 1.2s .35s both; }
.home .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; animation: fade 1.2s .95s both; }
/* their final widths from the first paint: with the narrower fallback font they would sit on one row, then jump to two */
.home .hero .btn-primary { min-width: 197px; }
.home .hero .btn-ghost { min-width: 152px; }
.home .note { font-size: .84rem; color: var(--ink-2); margin: 16px 0 0; animation: fade 1.2s 1.1s both; }
.home .note + .note { margin-top: 6px; }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.home .notes { position: absolute; inset: 0; pointer-events: none; overflow: visible; z-index: 4; }
.home .notes svg { position: absolute; width: var(--s, 26px); height: auto; left: var(--x); top: var(--y); fill: var(--c, var(--accent)); opacity: 0; animation: noteUp var(--t, 3.2s) ease-out forwards; filter: drop-shadow(0 4px 6px rgba(42, 35, 30, .12)); }
@keyframes noteUp { 0% { opacity: 0; transform: translate(0, 10px) rotate(-8deg) scale(.7); } 12% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--dx, 20px), -150px) rotate(14deg) scale(1.05); } }

/* [2026-10-31] Below the first screen, no layout until it nears the viewport: a phone lays out the first screen alone while the
   page loads. Only where the browser also keeps the reading position when those sections take their real height
   (overflow-anchor): Safari has no such thing, so it lays out the whole page as it always has. The first click ends it (.smooth,
   home.js): a link to a section must scroll to where that section really is. */
@supports (content-visibility: auto) and (overflow-anchor: auto) {
  html.home:not(.smooth) :is(.how, .karaoke, .yours, .offers, .final, footer) { content-visibility: auto; contain-intrinsic-size: auto 900px; }
}

/* reveal on scroll, once */
.home .reveal { transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.home .reveal.pre { opacity: 0; transform: translateY(24px); }
.home .reveal.in { opacity: 1; transform: none; }

/* how it works, and what comes next (.yours): [2026-11-01, owner] a phone plays the real journey by itself (home.js), a hand showing
   where to tap, the steps beside or under it. Its screens are written in the page, in the page's language, with the app's own words;
   nothing in them can be tapped. Without scripts or under reduced motion, .demo stays as written: the phone at rest, every step on
   the page. .playing is set by home.js; only then do the steps fold into one caption on a phone. Motion: transform and opacity. */
.home .how { padding-block: 30px 56px; }
.home .demo { display: grid; justify-items: center; gap: 18px; margin-top: 24px; }
@media (min-width: 900px) {
  .home .demo { grid-template-columns: auto minmax(0, 1fr); gap: 72px; justify-items: stretch; align-items: center; padding-inline: 2%; }
  .home .demo.flip { grid-template-columns: minmax(0, 1fr) auto; }
  .home .demo.flip .dphone { order: 2; }
}
/* the phone: its height is what keeps it and its caption on one iPhone screen; every size inside follows its width */
.home .dphone { --pw: max(216px, min(264px, 72vw, 37vh)); --pw: max(216px, min(264px, 72vw, 37svh)); position: relative; flex: none; width: var(--pw); height: calc(var(--pw) * 1.94); border-radius: calc(var(--pw) * .135); background: var(--ink); box-shadow: var(--shadow-lift), 0 30px 60px -28px rgba(42, 35, 30, .45); }
@media (min-width: 900px) { .home .dphone { --pw: 296px; } }
.home .dphone::before { content: ""; position: absolute; z-index: 6; left: 50%; top: calc(var(--pw) * .045); width: 28%; height: calc(var(--pw) * .055); transform: translateX(-50%); border-radius: 99px; background: var(--ink); }
.home .dscr { position: absolute; inset: calc(var(--pw) * .03); overflow: hidden; isolation: isolate; pointer-events: none; -webkit-user-select: none; user-select: none; border-radius: calc(var(--pw) * .108); background: var(--paper); color: var(--ink); font-size: calc(var(--pw) * .04); line-height: 1.35; }
/* the phone's own status bar: what scrolls goes under it, as on the phone */
.home .dscr::before { content: ""; position: absolute; z-index: 2; left: 0; right: 0; top: 0; height: 2.9em; background: linear-gradient(180deg, var(--paper) 74%, rgba(247, 242, 234, 0)); }
.home .dscr p, .home .dscr hr { margin: 0; }
.home .dscr i { font-style: normal; }
.home .dscr svg { display: block; width: 1em; height: 1em; }
.home .dscr img { display: block; max-width: none; width: 100%; height: 100%; object-fit: cover; }
/* the screens, one at a time */
.home .dscene { position: absolute; inset: 0; z-index: 1; overflow: hidden; padding-bottom: 4.6em; visibility: hidden; opacity: 0; transition: opacity .35s var(--ease), visibility 0s linear .35s; }
.home .dscene:first-child { visibility: visible; opacity: 1; }
.home .playing .dscene { visibility: hidden; opacity: 0; }
.home .playing .dscene.on { visibility: visible; opacity: 1; transition-delay: 0s; }
.home .dfull { z-index: 3; display: flex; flex-direction: column; padding-bottom: 0; background: var(--paper); }
.home .dveil { position: absolute; inset: 0; z-index: 5; background: var(--paper); opacity: 0; pointer-events: none; transition: opacity .3s var(--ease); }
.home .dveil.on { opacity: 1; }
.home .dscroll { transition: transform .6s var(--ease); }
/* the head of a screen */
.home .dbrand { display: flex; align-items: center; gap: .45em; padding: 3em 1em 0; font-family: var(--serif); font-size: .82em; letter-spacing: .24em; text-transform: uppercase; }
.home .dbrand img { width: 1.5em; height: auto; flex: none; }
.home .dh { padding: .25em .55em 0; font-family: var(--headline); font-size: 1.9em; font-weight: 500; line-height: 1.15; }
.home .dlede { padding: .15em 1.05em 0; color: var(--ink-2); font-size: .94em; }
.home .dsm { color: var(--ink-2); font-size: .84em; }
/* create: the numbered blocks */
.home .dblock { position: relative; margin: 1.15em .7em 0; padding: .7em .65em .8em; border: 1px solid var(--hairline); border-radius: 1.15em; }
.home .dbt { display: flex; align-items: center; gap: .4em; width: max-content; max-width: 100%; margin: -1.45em 0 .25em -.1em; padding-right: .4em; background: var(--paper); font-family: var(--headline); font-size: 1.2em; font-weight: 500; line-height: 1.3; }
.home .dbt b { display: grid; place-items: center; flex: none; width: 1.3em; height: 1.3em; border-radius: 50%; background: var(--accent); color: var(--on-accent); font: 700 .8em/1 var(--ui); }
.home .dstories { display: flex; gap: .4em; margin-top: .3em; }
.home .dstories span { position: relative; flex: 1 1 0; min-width: 0; height: 4.6em; overflow: hidden; border-radius: .7em; }
.home .dstories i, .home .dstyle i { position: absolute; left: 0; right: 0; bottom: 0; padding: 1em .45em .3em; background: linear-gradient(180deg, rgba(42, 35, 30, 0), rgba(42, 35, 30, .78)); color: var(--surface); font-size: .78em; font-weight: 600; line-height: 1.2; }
.home .dfield { position: relative; min-height: 5.2em; margin-top: .5em !important; padding: .5em .6em; border: 1px solid var(--hairline); border-radius: .8em; background: var(--surface); }
.home .dfield.small { min-height: 0; }
.home .dfield.small b { display: block; font-weight: 600; }
.home .dph { display: none; position: absolute; inset: .5em .6em auto; color: var(--ink-2); opacity: .75; transition: opacity .3s; }
.home .playing .dph { display: block; }
.home .playing .typing .dph { opacity: 0; }
.home .playing .dtext .w { opacity: 0; transition: opacity .18s; }
.home .playing .dtext .w.on { opacity: 1; }
.home .dmicrow { display: flex; flex-direction: column; align-items: center; gap: .55em; margin-top: .7em; }
.home .dmic { position: relative; display: grid; place-items: center; flex: none; width: 3em; height: 3em; border-radius: 50%; background: var(--accent); color: var(--on-accent); box-shadow: 0 0 0 .3em var(--accent-soft); transition: transform .25s var(--ease); }
.home .dscr .dmic svg { width: 1.45em; height: 1.45em; fill: currentColor; }
.home .dmic.held { transform: scale(.93); }
.home .dmic.held::before, .home .dmic.held::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--accent); animation: ring 1.5s ease-out infinite; }
.home .dmic.held::after { animation-delay: .5s; }
@keyframes ring { from { transform: scale(1); opacity: .7; } to { transform: scale(1.9); opacity: 0; } }
.home .dmict { color: var(--accent-pressed); font-weight: 700; }
.home .dlangs { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .3em; margin-top: .55em !important; color: var(--ink-2); font-size: .8em; }
.home .dlangs i { padding: .1em .6em; border: 1px solid var(--hairline); border-radius: 99px; }
.home .dlangs i.on { border-color: var(--accent); color: var(--accent-pressed); font-weight: 600; }
.home .dstyles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4em; margin-top: .3em; }
.home .dstyle { position: relative; height: 5.4em; overflow: hidden; border-radius: .7em; background: var(--surface-sunken); }
.home .dstyle.auto { border: 1px solid var(--hairline); color: var(--accent); }
.home .dstyle.auto svg { position: absolute; left: .55em; top: .55em; width: 1.2em; height: 1.2em; fill: currentColor; }
.home .dstyle.auto i { background: none; color: var(--ink); }
.home .dstyle::after { content: ""; position: absolute; inset: 0; border: 2px solid var(--accent); border-radius: inherit; opacity: 0; transition: opacity .2s; }
.home .dstyle.on::after { opacity: 1; }
.home .dck { position: absolute; color: var(--on-accent); opacity: 0; transition: opacity .2s; }
.home .dscr .dstyle .dck { right: .3em; top: .3em; width: 1.3em; height: 1.3em; padding: .22em; border-radius: 50%; background: var(--accent); }
.home .on > .dck { opacity: 1; }
.home .dfine { display: flex; align-items: center; gap: .55em; margin-top: .5em !important; padding: .4em .6em .4em .4em; border: 1px solid var(--hairline); border-radius: .85em; background: var(--surface); color: var(--ink-2); font-size: .86em; line-height: 1.25; }
.home .dfine b { color: var(--ink); font-weight: 600; }
.home .dfine i { display: grid; place-items: center; flex: none; width: 2em; height: 2em; border-radius: 50%; background: var(--accent-soft); color: var(--accent-pressed); }
.home .dvoices { display: grid; grid-template-columns: 1fr 1fr; gap: .45em; margin-top: .3em; }
.home .dvoice { position: relative; display: flex; align-items: center; gap: .45em; padding: .5em .7em; border-radius: 99px; background: var(--accent-soft); transition: background .25s, color .25s; }
.home .dvoice svg { color: var(--accent); }
.home .dvoice.on { background: var(--accent); color: var(--on-accent); }
.home .dvoice.on svg { color: inherit; }
.home .dscr .dvoice .dck { right: .7em; color: inherit; }
/* the main button, over the dock */
.home .dcta { position: absolute; z-index: 2; left: 0; right: 0; bottom: 4.6em; padding: .9em .75em .55em; background: linear-gradient(180deg, rgba(247, 242, 234, 0), var(--paper) 34%); }
.home .dfull .dcta { bottom: 0; padding-bottom: 1.4em; }
.home .dbtn { display: block; padding: .72em .4em; border-radius: .8em; background: var(--accent); color: var(--on-accent); font-weight: 600; text-align: center; transition: transform .18s var(--ease), background .18s; }
.home .pressed { transform: scale(.96); }
.home .dbtn.pressed { background: var(--accent-pressed); }
.home .ddock { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end; height: 4.6em; padding: .35em .1em 1.05em; border-top: 1px solid var(--hairline); background: var(--surface); color: var(--ink-2); font-size: 1em; }
.home .ddock > span { display: flex; flex-direction: column; align-items: center; gap: .1em; min-width: 0; font-size: .7em; line-height: 1.2; text-align: center; transition: color .3s; }
.home .ddock svg { width: 1.7em; height: 1.7em; flex: none; }
.home .ddock b { display: grid; place-items: center; width: 2.5em; height: 2.5em; border-radius: 50%; background: var(--accent); color: var(--on-accent); }
.home .ddock[data-tab="create"] .t-create, .home .ddock[data-tab="songs"] .t-songs { color: var(--accent-pressed); font-weight: 700; }
/* the words, as they are written */
.home .dcard { margin: .7em .75em 0; padding: .6em .75em .7em; border: 1px solid var(--hairline); border-radius: 1em; background: var(--surface); }
.home .dlyr small { display: block; color: var(--ink-2); font-size: .78em; }
.home .dlyr b { display: block; font-size: 1em; font-weight: 600; line-height: 1.5; }
.home .dscr hr { height: 1px; border: 0; margin-block: .45em; background: var(--hairline); }
.home .dlyr .l { display: block; margin-inline: -.3em; padding: .1em .3em; border-radius: .35em; line-height: 1.6; transition: opacity .35s, background .3s; }
.home .dlyr .ghost { width: var(--w); height: .46em; margin-block: .62em; padding: 0; border-radius: 99px; background: var(--surface-sunken); }
.home .playing .dlyr .l { opacity: 0; }
.home .playing .dlyr .l.on { opacity: 1; }
.home .dlyr .l.edit { background: var(--accent-soft); }
/* a version: chip, cover, player */
.home .dband { position: relative; height: 5.6em; margin: .55em .75em 0; overflow: hidden; border-radius: 1em; background: var(--surface-sunken); }
.home .dband span { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4em .75em .45em; background: linear-gradient(180deg, rgba(42, 35, 30, 0), rgba(42, 35, 30, .7)); color: var(--surface); font-family: var(--headline); font-size: 1.1em; line-height: 1.25; }
.home .dver { position: relative; margin: .5em .75em 0; padding: .5em .65em .55em; border: 1px solid var(--hairline); border-radius: 1em; background: var(--surface); }
.home .dchip { display: inline-block; padding: .08em .7em; border-radius: 99px; background: var(--accent-soft); color: var(--accent-pressed); font-size: .86em; font-weight: 700; }
.home .drow { display: flex; align-items: center; gap: .65em; margin-top: .4em; }
.home .dcov { position: relative; flex: none; width: 4.2em; height: 4.2em; overflow: hidden; border-radius: .75em; background: var(--surface-sunken); }
.home .dcov img { position: absolute; inset: 0; transition: opacity .5s; }
.home .dcov img.alt { opacity: 0; }
.home .swapped .dcov img.alt { opacity: 1; }
.home .dplayer { display: flex; align-items: center; gap: .55em; flex: 1 1 0; min-width: 0; }
.home .dplay { position: relative; display: grid; place-items: center; flex: none; width: 2.7em; height: 2.7em; border: 1px solid var(--ink-2); border-radius: 50%; background: var(--paper); transition: transform .18s var(--ease); }
.home .dplay svg { grid-area: 1 / 1; width: 1.2em; height: 1.2em; transition: opacity .2s; }
.home .dplay .p2 { opacity: 0; }
.home .listening .dplay .p1 { opacity: 0; }
.home .listening .dplay .p2 { opacity: 1; }
.home .dtrack { flex: 1 1 0; min-width: 0; }
.home .dtrack > span { display: block; height: 2px; overflow: hidden; background: var(--hairline); }
.home .dtrack i { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left center; }
.home .listening .dtrack i { transform: scaleX(.42); transition: transform 1.8s linear; }
.home .dtrack small { display: flex; justify-content: space-between; margin-top: .35em; color: var(--ink-2); font-size: .78em; }
.home .dfree { position: relative; display: grid; margin-top: .35em !important; color: var(--accent); font-size: .82em; }
.home .dfree > span, .home .dhs > span { grid-area: 1 / 1; transition: opacity .35s; }
.home .dhs { display: grid; align-items: end; }
.home .dfree .a, .home .dhs .a { opacity: 0; }
.home .making .dfree .a, .home .making .dhs .a { opacity: 1; }
.home .making .dfree .b, .home .making .dhs .b { opacity: 0; }
.home .making .dcov img { opacity: 0; }
.home .making .dcov { animation: dpulse 1.1s ease-in-out infinite alternate; }
.home .making .dplay, .home .making .dtrack { opacity: .35; }
@keyframes dpulse { from { opacity: .45; } to { opacity: 1; } }
.home .dver .eq { position: absolute; right: .75em; top: .55em; height: 1.2em; gap: 2px; }
.home .dver .eq i { width: 2px; }
.home .dver:not(.listening) .eq { display: none; }
/* a finished song: what it offers */
.home .dtiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5em .15em; }
.home .dtiles > span { display: flex; flex-direction: column; align-items: center; gap: .2em; font-size: .82em; line-height: 1.2; text-align: center; }
.home .dtiles i, .home .dremaster i { display: grid; place-items: center; flex: none; width: 2.6em; height: 2.6em; border-radius: 50%; background: var(--accent-soft); color: var(--accent-pressed); transition: transform .18s var(--ease); }
.home .dscr .dtiles svg, .home .dscr .dremaster svg { width: 1.3em; height: 1.3em; fill: currentColor; }
.home .dremaster { display: flex; align-items: center; gap: .5em; margin-top: .6em; padding: .25em .7em .25em .3em; border: 1px solid var(--hairline); border-radius: 99px; font-weight: 600; transition: transform .18s var(--ease); }
.home .dremaster i { width: 2em; height: 2em; }
.home .dback { display: flex; align-items: center; gap: .35em; padding: 2.9em .75em 0; font-weight: 700; }
.home .dback svg { flex: none; }
/* karaoke: the app's one dark surface */
.home .dtabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .2em; padding: 2.75em .55em 0; color: var(--ink-2); font-size: .8em; line-height: 1.25; text-align: center; }
.home .dtabs span { padding: .4em .1em; border-radius: .7em; }
.home .dtabs .on { background: var(--surface-sunken); color: var(--accent-pressed); font-weight: 700; }
.home .dback.mid { padding-top: .35em; }
.home .dstage { flex: 1 1 auto; display: flex; flex-direction: column; margin: .4em .55em .9em; padding: 1em .9em 1em; border-radius: 1.3em; background: var(--stage); color: var(--stage-ink); }
.home .dkt { display: flex; align-items: baseline; justify-content: space-between; gap: .6em; }
.home .dkt b { font-weight: 600; line-height: 1.45; }
.home .dkt small { flex: none; color: var(--stage-muted); font-size: .8em; }
.home .dksec { margin-top: .4em !important; color: var(--stage-gold); font-size: .78em; font-weight: 700; letter-spacing: .1em; }
.home .dkl { margin-top: auto !important; color: var(--stage-muted); font-size: 1.28em; font-weight: 600; line-height: 1.55; text-align: center; }
.home .dkl .kw { transition: color .25s; }
.home .dkl .kw.on { color: var(--stage-gold); }
.home .dkn { margin-top: .6em !important; color: var(--stage-muted); opacity: .75; font-size: 1.05em; line-height: 1.55; text-align: center; }
.home .dkbar { height: .3em; margin-top: auto; overflow: hidden; border-radius: 99px; background: var(--track); }
.home .dkbar i { display: block; height: 100%; background: var(--stage-gold); transform: scaleX(.05); transform-origin: left center; }
.home .sang .dkbar i { transform: scaleX(.3); transition: transform 2.4s linear; }
.home .dktime { display: flex; justify-content: space-between; margin-top: .35em; color: var(--stage-muted); font-size: .78em; }
.home .dkplay { display: grid; place-items: center; align-self: center; width: 3.4em; height: 3.4em; margin-top: .7em; border-radius: 50%; background: var(--stage-gold); color: var(--stage); }
.home .dscr .dkplay svg { width: 1.5em; height: 1.5em; }
/* remaster: the two sides of the same song */
.home .dseg { position: relative; display: grid; grid-template-columns: 1fr 1fr; margin: .4em .75em 0; padding: .2em; border-radius: .9em; background: var(--accent-soft); }
.home .dseg::before { content: ""; position: absolute; top: .2em; bottom: .2em; left: .2em; width: calc(50% - .2em); border-radius: .75em; background: var(--surface); box-shadow: var(--shadow-card); transition: transform .4s var(--ease); }
.home .dseg i { position: relative; padding: .45em .2em; font-size: .92em; font-weight: 600; text-align: center; }
.home .dbtn.soft { background: var(--surface); border: 1px solid var(--accent); color: var(--accent-pressed); }
.home .dpics { display: flex; gap: .6em; margin: .55em .75em 0; color: var(--ink-2); font-size: .82em; line-height: 1.25; text-align: center; }
.home .dpics > span { display: flex; flex-direction: column; align-items: center; gap: .25em; width: 5.2em; padding: .25em; border: 2px solid transparent; border-radius: .9em; }
.home .dpics > span.on { border-color: var(--accent); color: var(--ink); }
.home .dpics .dcov, .home .dpics b { display: grid; place-items: center; flex: none; width: 3.8em; height: 3.8em; border-radius: .7em; background: var(--accent-soft); color: var(--ink); }
.home .dscr .dpics svg { width: 1.3em; height: 1.3em; }
/* video: the film as it will be */
.home .dfilm { position: relative; display: grid; grid-template-columns: 38% minmax(0, 1fr); align-items: center; gap: .3em .5em; margin: .55em .75em 0; padding: .55em; aspect-ratio: 16 / 9; overflow: hidden; border-radius: .8em; background: var(--stage); color: var(--stage-ink); font-size: .9em; }
.home .dfilm .dcov { width: 100%; height: auto; aspect-ratio: 1; }
.home .dfilm p { font-weight: 600; line-height: 1.4; }
.home .dbtn.swap { display: grid; }
.home .dbtn.swap > span { grid-area: 1 / 1; transition: opacity .25s; }
.home .dbtn.swap .b { opacity: 0; }
.home .ready .dbtn.swap .a { opacity: 0; }
.home .ready .dbtn.swap .b { opacity: 1; }
.home .dpicl { margin: .5em .95em 0 !important; }
/* share: the sheets */
.home .dscrim { position: absolute; z-index: 4; inset: 0; background: rgba(42, 35, 30, .3); opacity: 0; pointer-events: none; transition: opacity .3s; }
.home .dscrim.on { opacity: 1; }
.home .dsheet { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; padding: .7em .85em 1.3em; border-radius: 1.3em 1.3em 0 0; background: var(--paper); visibility: hidden; transform: translateY(102%); transition: transform .35s var(--ease), visibility 0s linear .35s; }
.home .dsheet.on { visibility: visible; transform: none; transition-delay: 0s; }
.home .dsheet .dh { padding: 0 0 .25em; font-size: 1.5em; }
.home .dopt { display: block; margin-top: .4em; padding: .6em .7em; border: 1px solid var(--accent-soft); border-radius: .8em; font-weight: 600; line-height: 1.3; transition: transform .18s var(--ease), background .2s; }
.home .dopt.pressed { background: var(--accent-soft); }
.home .dgrow { display: flex; align-items: center; gap: .55em; font-size: .92em; line-height: 1.45; }
.home .dgrow .dcov { width: 3em; height: 3em; }
.home .dgrow b { font-weight: 600; }
/* the hand: its fingertip is the corner of .dhand, so the script only says where the tip goes */
.home .dhand { position: absolute; z-index: 7; left: 0; top: 0; width: 0; height: 0; opacity: 0; pointer-events: none; transition: transform .55s cubic-bezier(.45, .05, .25, 1), opacity .2s; will-change: transform; }
.home .dhand.in { opacity: 1; }
.home .dhand svg { position: absolute; left: calc(var(--pw) * -.056); top: calc(var(--pw) * -.012); width: calc(var(--pw) * .155); height: calc(var(--pw) * .1925); filter: drop-shadow(0 calc(var(--pw) * .012) calc(var(--pw) * .02) rgba(42, 35, 30, .3)); transition: transform .16s var(--ease); transform-origin: 36% 0; }
.home .dhand.down svg { transform: scale(.9); }
.home .dhand::before { content: ""; position: absolute; left: calc(var(--pw) * -.07); top: calc(var(--pw) * -.07); width: calc(var(--pw) * .14); height: calc(var(--pw) * .14); border: 2px solid var(--accent); border-radius: 50%; opacity: 0; }
.home .dhand.down::before { animation: dtap .5s ease-out; }
@keyframes dtap { from { opacity: .8; transform: scale(.35); } to { opacity: 0; transform: scale(1.25); } }
/* only what is on screen moves: a section or a phone off screen gets .idle from home.js */
.home .idle .phone, .home .idle .eq i, .home .idle .micwrap .ring, .home .idle .micsvg, .home .idle .dmic::before, .home .idle .dmic::after, .home .idle .dcov { animation-play-state: paused; }
/* [V2 2026-11-01, owner] the visitor can choose. The number or the feature is a real button; the choice shows under a short veil (.quick), with every transition off while the screen is set (.jump). */
.home .jump, .home .jump * { transition: none !important; }
.home .dveil.quick { transition-duration: .13s; }
.home .dstep .n, .home .fi, .home .dact { touch-action: manipulation; }
.home .dstep .n { position: relative; padding: 0; border: 0; cursor: pointer; font-family: inherit; line-height: inherit; -webkit-tap-highlight-color: transparent; }
/* a comfortable target for a thumb, beyond the circle */
.home .dstep .n::after { content: ""; position: absolute; inset: -8px; }
.home .fi { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.home .fl { display: none; }
.home .dstep .n:focus-visible, .home .fi:focus-visible, .home .dact:focus-visible, .home .stage-go a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.home .f h3 { transition: color .3s; }
.home .f.on h3 { color: var(--accent-pressed); }
@media (min-width: 900px) and (hover: hover) {
  .home .dstep, .home .f { cursor: pointer; }
  .home .dstep:hover h3, .home .f:hover h3 { color: var(--accent-pressed); }
  .home .playing .dstep:not(.on):hover h3, .home .playing .dstep:not(.on):hover p { opacity: 1; }
}
/* Replay and Play all, right under the phone and above the choices: always the same room, so that nothing moves when they change */
.home .dctl { display: none; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 48px; padding: 6px 14px; border-bottom: 1px solid var(--hairline); }
.home .playing .dctl { display: flex; }
/* on the narrowest screens the hint takes its own line */
.home .dhint { flex: 1 1 100px; min-width: 0; color: var(--ink-2); font-size: .8rem; line-height: 1.3; }
.home .dacts { display: flex; flex: none; gap: 6px; margin-left: auto; }
.home .dside { min-width: 0; }
.home .dact { position: relative; display: inline-flex; flex: none; align-items: center; gap: 5px; min-height: 36px; padding: 0 10px; border: 1px solid var(--hairline); border-radius: 999px; background: var(--surface); color: var(--ink); font: 600 .8rem/1.2 var(--ui); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background .2s, border-color .2s; }
.home .dact::after { content: ""; position: absolute; inset: -5px -2px; }
.home .dact svg { flex: none; width: 13px; height: 13px; }
.home .dact:hover { border-color: var(--accent); }
.home .dall { visibility: hidden; }
.home .manual .dall { visibility: visible; }
@media (min-width: 900px) { .home .dctl { padding-inline: 22px; } }
/* what comes next on a phone, once it plays: a bar of five choices right under the phone, each with its icon and its short name, and the words of the one being shown. They fit at every width; with very large text the bar scrolls by itself, never the page */
@media (max-width: 899px) {
  .home .playing .feat { display: grid; grid-template-columns: repeat(5, minmax(max-content, 1fr)); gap: 8px 0; padding: 8px 4px 12px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
  .home .playing .feat::-webkit-scrollbar { display: none; }
  .home .playing .f { display: contents; }
  .home .playing .fi { grid-row: 1; padding: 4px 2px 8px; }
  .home .playing .f:nth-child(1) .fi { grid-column: 1; }
  .home .playing .f:nth-child(2) .fi { grid-column: 2; }
  .home .playing .f:nth-child(3) .fi { grid-column: 3; }
  .home .playing .f:nth-child(4) .fi { grid-column: 4; }
  .home .playing .f:nth-child(5) .fi { grid-column: 5; }
  /* one line for every name and no change of weight: choosing one must not move what is under them; the one chosen has its icon filled, its name coloured and a mark under it */
  .home .playing .fl { position: relative; display: block; color: var(--ink); font-size: .72rem; font-weight: 600; line-height: 1.25; text-align: center; white-space: nowrap; transition: color .25s; }
  .home .playing .fl::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 18px; height: 3px; margin-left: -9px; border-radius: 99px; background: var(--accent); opacity: 0; transition: opacity .25s; }
  .home .playing .f.on .fl { color: var(--accent-pressed); }
  .home .playing .f.on .fl::after { opacity: 1; }
  /* the words take the bar's width and never widen it */
  .home .playing .f > div { position: sticky; left: 4px; grid-area: 2 / 1 / 3 / -1; width: 0; min-width: min(100%, calc(100vw - 42px)); padding-inline: 8px; opacity: 0; pointer-events: none; transition: opacity .3s; }
  .home .playing .f.on > div { opacity: 1; }
  .home .playing .dstep > div { pointer-events: none; }
}
/* what a screen reader hears when a choice is made; nothing to see */
.home .dsay { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* under reduced motion: a choice shows that screen as it ends, at once; nothing plays, so only the hint stays */
.home .chooser .dctl { display: flex; }
.home .chooser .dact { display: none; }
.home .stills .dscene { visibility: hidden; opacity: 0; transition: none; }
.home .stills .dscene.on { visibility: visible; opacity: 1; }
.home .stills .dsheet, .home .stills .dscrim { transition: none; }
/* the karaoke stage leads to its demonstration */
.home .stage h2 em { color: var(--stage-gold); }
.home .stage-go { margin-top: 22px; }
.home .stage .btn-ghost { gap: 8px; border-color: rgba(255, 248, 238, .4); background: none; color: var(--stage-ink); }
.home .stage .btn-ghost:hover { background: rgba(255, 248, 238, .08); color: var(--stage-ink); }
.home .stage .btn-ghost svg { width: 15px; height: 15px; fill: none; }
.home .stage-go a:focus-visible { outline-color: var(--stage-gold); }
/* My songs, as the app's Compact view: a row per version, its three dots open it */
.home .dswitch { display: inline-flex; margin: .4em 0 0 .75em !important; padding: .16em; border: 1px solid var(--hairline); border-radius: 99px; background: var(--surface); color: var(--ink-2); font-size: .82em; }
.home .dswitch span { padding: .08em .7em; border-radius: 99px; }
.home .dswitch .on { background: var(--accent-soft); color: var(--accent-pressed); font-weight: 700; }
.home .dlist { padding: 0; overflow: hidden; }
.home .dsong + .dsong { border-top: 1px solid var(--hairline); }
.home .dhead { display: flex; align-items: center; gap: .5em; padding: .45em .5em; }
.home .dhead .dcov { width: 3.3em; height: 3.3em; }
.home .dinfo { flex: 1 1 0; min-width: 0; line-height: 1.3; }
.home .dinfo b { display: block; font-size: .94em; font-weight: 600; line-height: 1.35; }
.home .dinfo small { display: block; color: var(--ink-2); font-size: .78em; }
.home .dmini { display: grid; place-items: center; flex: none; width: 2.2em; height: 2.2em; border: 1px solid var(--accent); border-radius: 50%; color: var(--accent); }
.home .ddots { display: flex; flex: none; gap: .16em; padding: .6em .1em; transition: transform .18s var(--ease); }
.home .ddots i { width: .24em; height: .24em; border-radius: 50%; background: var(--ink-2); }
.home .dopen { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .35s var(--ease); }
.home .dopen > div { min-height: 0; overflow: hidden; }
.home .dopen > div > div { padding: 0 .55em .55em; }
.home .playing .dsong:not(.open) .dopen, .home .playing .dgift:not(.open) .dopen { grid-template-rows: 0fr; }
.home .dsong .dplayer { margin-top: .1em; }
.home .dremaster.pressed i, .home .dtiles .pressed { transform: scale(.92); }
/* the sheets, as in the app: over the song, a Close at their foot; the tall ones keep their height while their content changes */
.home .dsheet.tall { display: flex; flex-direction: column; }
.home .drem { top: 40%; }
.home .dvid { top: 20%; }
.home .dcp { top: 32%; }
.home .dgift { top: 48%; }
.home .dsheet .dclose { display: block; margin-top: .55em; color: var(--ink-2); font-size: .9em; text-align: center; text-decoration: underline; }
.home .dsheet .dbtn + .dclose { margin-top: .6em; }
.home .dread { color: var(--ink-2); font-size: .92em; line-height: 1.4; }
.home .dnote { margin-top: .5em !important; padding: .5em .65em; border-radius: .7em; background: var(--accent-soft); font-size: .88em; line-height: 1.35; }
.home .dsheet .dnote + .dbtn { margin-top: .6em; }
.home .dokay { display: flex; align-items: center; gap: .35em; color: var(--accent-pressed); font-weight: 600; }
.home .dokay.plain { color: var(--ink); }
.home .dwork { height: .3em; margin-top: .5em; overflow: hidden; border-radius: 99px; background: var(--surface-sunken); }
.home .dwork i { display: block; width: 40%; height: 100%; border-radius: 99px; background: var(--accent); animation: dslide 1s ease-in-out infinite alternate; }
@keyframes dslide { from { transform: translateX(-10%); } to { transform: translateX(160%); } }
.home .idle .dwork i { animation-play-state: paused; }
/* time passing: a clock over the veil, between a real wait and its end */
.home .dlapse { position: absolute; z-index: 6; left: 50%; top: 50%; width: 3.6em; height: 3.6em; margin: -1.8em 0 0 -1.8em; border: .24em solid var(--accent); border-radius: 50%; opacity: 0; pointer-events: none; transition: opacity .13s; }
.home .dlapse::before, .home .dlapse::after { content: ""; position: absolute; left: 50%; bottom: 50%; width: .24em; margin-left: -.12em; border-radius: 99px; background: var(--accent); transform-origin: 50% 100%; }
.home .dlapse::before { height: 1.2em; }
.home .dlapse::after { height: .75em; }
.home .dlapse.on { opacity: 1; }
.home .dlapse.on::before { animation: dlapse .5s linear infinite; }
.home .dlapse.on::after { animation: dlapse 3s linear infinite; }
@keyframes dlapse { to { transform: rotate(360deg); } }
.home .idle .dlapse::before, .home .idle .dlapse::after { animation-play-state: paused; }
/* remaster: what the sheet shows, then its real wait, then the real comparison */
.home .dr2, .home .dr3 { display: none; }
.home .working .dr1 { display: none; }
.home .working .dr2 { display: block; }
.home .done .dr1, .home .done .dr2 { display: none; }
.home .done .dr3 { display: block; }
.home .drem .dclose { margin-top: auto; padding-top: .6em; }
.home .dr3 > .dbtn { margin-top: .5em; }
.home .dstg { display: grid; font-weight: 600; line-height: 1.4; }
.home .dstg > span { grid-area: 1 / 1; }
.home .dstg .b { visibility: hidden; }
.home .pass .dstg .a { visibility: hidden; }
.home .pass .dstg .b { visibility: visible; }
.home .dbar { height: .4em; margin-top: .5em; overflow: hidden; border-radius: 99px; background: var(--surface-sunken); }
.home .dbar i { display: block; width: 3%; height: 100%; background: var(--accent); transition: width .4s ease; }
.home .working .dbar i { width: 9%; }
.home .pass .dbar i { width: 34%; }
.home .dr2 .dread { margin-top: .5em !important; }
.home .dcmp { display: block; margin: .4em 0 0; padding: .6em .7em .5em; }
.home .dcmph { display: flex; align-items: center; gap: .55em; }
.home .dcmpp { display: grid; place-items: center; flex: none; width: 2.9em; height: 2.9em; border-radius: 50%; background: var(--ink); color: var(--paper); transition: transform .18s var(--ease); }
.home .dscr .dcmpp svg { width: 1.3em; height: 1.3em; fill: currentColor; }
.home .dcmpp .p2, .home .plays .dcmpp .p1 { display: none; }
.home .plays .dcmpp .p2 { display: block; }
.home .dab { display: grid; flex: 1 1 0; grid-template-columns: 1fr 1fr; min-width: 0; padding: .22em; border-radius: 99px; background: var(--surface-sunken); }
.home .dab i { min-width: 0; padding: .5em .15em; border-radius: 99px; font-style: normal; font-weight: 600; text-align: center; transition: background .2s, color .2s, transform .18s var(--ease); }
.home .dab .sr { background: var(--accent); color: var(--on-accent); }
.home .orig .dab .so { background: var(--ink); color: var(--paper); }
.home .orig .dab .sr { background: none; color: var(--ink); }
/* the slider, as the app's: a track, its filled part, a round thumb; it moves at the song's real speed once playing */
.home .dseek { position: relative; display: block; height: 1.7em; margin-top: .35em; }
.home .dseek::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: .28em; margin-top: -.14em; border-radius: 99px; background: var(--surface-sunken); }
.home .dseek i { position: absolute; left: 0; top: 50%; width: 0; height: .28em; margin-top: -.14em; border-radius: 99px; background: var(--accent); transition: width .55s cubic-bezier(.45, .05, .25, 1); }
.home .dseek b { position: absolute; left: 0; top: 50%; width: 1.3em; height: 1.3em; margin-top: -.65em; border: 1px solid var(--hairline); border-radius: 50%; background: var(--surface); box-shadow: 0 .08em .25em rgba(42, 35, 30, .3); transition: left .55s cubic-bezier(.45, .05, .25, 1), transform .18s var(--ease); }
.home .dseek b.held { transform: scale(1.12); }
.home .dseek u { position: absolute; left: 30%; top: 50%; width: 1px; height: 1px; }
.home .sought .dseek i { width: 30%; }
.home .sought .dseek b { left: calc(30% - .39em); }
.home .plays .dseek i { width: 32.2%; transition: width 6s linear; }
.home .plays .dseek b { left: calc(32.2% - .42em); transition: left 6s linear, transform .18s var(--ease); }
.home .stills .dseek i, .home .stills .dseek b { transition: none; }
.home .dtimes { display: flex; justify-content: space-between; color: var(--ink-2); font-size: .8em; font-variant-numeric: tabular-nums; }
/* the time at the slider: each later time covers the one before */
.home .dnow { display: inline-grid; }
.home .dnow i { grid-area: 1 / 1; visibility: hidden; background: var(--surface); font-style: normal; }
.home .dnow i:first-child, .home .dnow i.on { visibility: visible; }
.home .dcmp > .dread { margin-top: .35em !important; font-size: .87em; line-height: 1.4; }
.home .dr3 > .dnote { margin-top: .5em !important; }
/* video: the pictures, the film, the wait, the file */
.home .dvid .dseg { margin: .2em 0 0; }
.home .dvid .dseg::before { transform: translateX(100%); }
.home .dvid .dpicl { margin: .4em 0 0 !important; }
.home .dvid .dpics { margin: .25em 0 0; }
.home .dvid .dfilm { margin: .35em 0 0; }
.home .dvstate { display: grid; align-content: start; margin-top: .45em; }
.home .dvstate > * { grid-area: 1 / 1; opacity: 0; transition: opacity .25s; }
.home .dvstate .dwork { margin-top: 0; }
.home .dvstate .dokay.plain { margin-top: .35em !important; }
.home .dvstate .dread { font-size: .86em; line-height: 1.35; }
.home .working .dvstate .a { opacity: 1; }
.home .ready .dvstate .a { opacity: 0; }
.home .ready .dvstate .b { opacity: 1; }
.home .dvid .dbtn { margin-top: auto; }
/* no button while it is made, as in the app */
.home .working .dbtn.swap { visibility: hidden; }
.home .ready .dbtn.swap { visibility: visible; }
/* the photo: the sheet, then the frame with the new picture and its zoom, then the song with it */
.home .dframe { position: relative; width: 11em; height: 11em; margin: .4em auto 0; overflow: hidden; border-radius: .9em; background: var(--surface-sunken); }
.home .dpre { position: absolute; inset: 0; transition: opacity .35s, transform .5s var(--ease); }
.home .dnew { opacity: 0; }
.home .chosen .dnew { opacity: 1; }
.home .zoomed .dnew { transform: scale(1.3); }
.home .dcp .dc1, .home .dcp .dc2 { margin-top: .6em; }
.home .dc2 { display: none; }
.home .chosen .dc1 { display: none; }
.home .chosen .dc2 { display: block; }
.home .chosen .dcnote { display: none; }
.home .dcnote { margin-top: .5em !important; }
.home .dzoom { display: flex; align-items: center; gap: .6em; margin-top: .4em !important; }
.home .dzoom small { flex: none; font-size: .86em; }
.home .dzbar { position: relative; flex: 1 1 0; height: .36em; border-radius: 99px; background: var(--surface-sunken); }
.home .dzbar b { position: absolute; left: 6%; top: 50%; width: 1em; height: 1em; margin: -.5em 0 0 -.5em; border-radius: 50%; background: var(--accent); transition: left .45s var(--ease); }
.home .zoomed .dzbar b { left: 66%; }
.home .dzbar u { position: absolute; left: 66%; top: 50%; width: 1px; height: 1px; }
.home .dc2 .dbtn { margin-top: .55em; }
.home .dtoast { position: absolute; z-index: 3; left: 50%; bottom: 5.4em; max-width: 90%; padding: .3em .9em; border-radius: 99px; background: var(--ink); color: var(--surface); font-size: .86em; white-space: nowrap; opacity: 0; transform: translate(-50%, .5em); transition: opacity .25s, transform .25s var(--ease); }
.home .dtoast.on { opacity: 1; transform: translate(-50%, 0); }
.home .swapped .dhead .dcov img.alt { opacity: 1; }
/* the gift: its first name and message, then the link; the sheet keeps one height and its button stays put */
.home .dgrow span:last-child { min-width: 0; }
.home .dgrow small { display: block; color: var(--accent); font-size: .84em; }
.home .dpers { display: flex; align-items: center; justify-content: center; gap: .4em; margin-top: .5em; padding: .45em .5em; border: 1px solid var(--hairline); border-radius: .75em; background: var(--surface); font-weight: 600; font-size: .92em; line-height: 1.3; text-align: center; transition: transform .18s var(--ease); }
.home .dpers svg.dchev { flex: none; width: .9em; height: .9em; transform: rotate(-90deg); transition: transform .3s var(--ease); }
.home .open .dpers svg.dchev { transform: rotate(90deg); }
.home .dgift .dopen > div > div { padding: 0; }
.home .dlab { display: block; margin-top: .4em; color: var(--ink-2); font-size: .82em; }
.home .dinput { min-height: 1.9em; margin-top: .15em !important; padding: .28em .55em; border: 1px solid var(--hairline); border-radius: .6em; background: var(--surface); font-size: .94em; }
.home .dinput.tall { min-height: 3em; }
.home .dgform { display: flex; flex: 1 1 auto; flex-direction: column; min-height: 0; }
.home .dgform > .dbtn { margin-top: auto; }
.home .dgdone { display: none; }
.home .made .dgform { display: none; }
.home .made .dgdone { display: block; flex: 1 1 auto; margin-top: .5em; }
.home .dgdone .dinput { color: var(--ink-2); font-size: .86em; }
.home .dtwo { display: grid; grid-template-columns: 1fr 1fr; gap: .4em; margin-top: .45em; }
.home .dtwo .dbtn { padding-inline: .2em; font-size: .92em; }
.home .dgift .dtext .w { opacity: 1; }
.home .playing .dgift .dtext .w { opacity: 0; transition: opacity .15s; }
.home .playing .dgift .dtext .w.on { opacity: 1; }
/* the steps: four rows; on a phone, once it plays, four numbers on a rail and the one caption being shown */
.home .dside { width: 100%; max-width: 36em; border: 1px solid var(--hairline); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-card); }
.home .dsteps { padding: 6px 14px; }
/* [owner 2026-11-01] what sets Ayden Sing apart, in two short lines: a song about them, in natural Khmer */
.home .dhooks { display: grid; gap: 8px; padding: 12px 14px 13px; border-top: 1px solid var(--hairline); }
.home .dhooks li { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px; font-family: var(--headline); font-size: 1.14rem; line-height: 1.3; }
.home .dhooks em { font-style: italic; color: var(--accent); }
.home .dhooks i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-pressed); font-family: var(--khmer); font-size: 1rem; font-style: normal; font-weight: 600; }
.home .dhooks svg { width: 16px; height: 16px; }
.home .dstep { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; padding-block: 11px; }
.home .dstep + .dstep { border-top: 1px solid var(--hairline); }
.home .dstep .n { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-size: .9rem; font-weight: 700; transition: background .3s, color .3s; }
.home .dstep h3 { font-size: 1.22rem; line-height: 1.25; }
.home .dstep p { margin-top: 2px; color: var(--ink-2); font-size: .94rem; line-height: 1.45; }
.home .playing .dstep .n { background: var(--surface-sunken); color: var(--ink-2); }
.home .playing .dstep.on .n, .home .playing .dstep.done .n { background: var(--accent); color: var(--on-accent); }
@media (min-width: 900px) {
  .home .dsteps { padding: 10px 22px; }
  .home .dhooks { padding: 14px 22px 16px; }
  .home .dstep h3, .home .dstep p { transition: opacity .3s; }
  .home .playing .dstep:not(.on) h3, .home .playing .dstep:not(.on) p { opacity: .55; }
}
@media (max-width: 899px) {
  .home .playing .dsteps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 0; padding: 12px 14px 14px; }
  .home .playing .dsteps::before { content: ""; grid-area: 1 / 1 / 2 / -1; align-self: center; height: 2px; margin-inline: 12.5%; background: linear-gradient(90deg, var(--accent) var(--done, 0%), var(--hairline) var(--done, 0%)); }
  .home .playing .dstep { display: contents; }
  .home .playing .dstep .n { z-index: 1; grid-row: 1; justify-self: center; }
  .home .playing .dstep:nth-child(1) .n { grid-column: 1; }
  .home .playing .dstep:nth-child(2) .n { grid-column: 2; }
  .home .playing .dstep:nth-child(3) .n { grid-column: 3; }
  .home .playing .dstep:nth-child(4) .n { grid-column: 4; }
  .home .playing .dstep > div { grid-area: 2 / 1 / 3 / -1; opacity: 0; transition: opacity .35s; }
  .home .playing .dstep.on > div { opacity: 1; }
}

/* karaoke stage (the one dark surface) */
.home .karaoke { padding-block: 10px 70px; }
.home .stage { background: var(--stage); color: var(--stage-ink); border-radius: 28px; padding: clamp(34px, 6vw, 64px) clamp(20px, 5vw, 56px) clamp(28px, 5vw, 48px); text-align: center; overflow: hidden; position: relative; }
.home .stage .eyebrow { color: var(--stage-gold); }
.home .stage h2 { color: var(--stage-ink); }
.home .stage .sub { color: var(--stage-muted); margin-inline: auto; }
.home .stage .decide { color: var(--ink); }
.home .stage-grid { display: grid; gap: 26px; align-items: center; margin-top: 30px; }
@media (min-width: 820px) { .home .stage-grid { grid-template-columns: 260px 1fr; text-align: left; gap: 40px; } }
.home .micwrap { position: relative; width: 200px; height: 230px; margin-inline: auto; display: flex; align-items: center; justify-content: center; }
.home .micwrap .ring { position: absolute; left: 50%; top: 40%; width: 150px; height: 150px; border-radius: 50%; border: 1.5px solid var(--stage-gold); transform: translate(-50%, -50%) scale(.6); opacity: 0; animation: stagering 3.2s ease-out infinite; animation-delay: var(--dl, 0s); }
@keyframes stagering { 0% { transform: translate(-50%, -50%) scale(.55); opacity: .75; } 100% { transform: translate(-50%, -50%) scale(1.9); opacity: 0; } }
.home .micsvg { width: 120px; height: auto; position: relative; animation: micsway 5s ease-in-out infinite; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .35)); }
@keyframes micsway { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
.home .stage .notes { inset: auto 0 30% 0; height: 1px; }
.home .lyric { font-family: var(--khmer); font-size: clamp(1.7rem, 4.6vw, 3rem); line-height: 1.75; margin: 0 auto 6px; max-width: 16em; min-height: 1.8em; transition: opacity .35s; }
.home .lyric .w { color: var(--stage-muted); transition: color .3s; display: inline-block; }
.home .lyric .w.on { color: var(--stage-gold); text-shadow: 0 0 22px rgba(239, 191, 119, .45); }
.home .lyric .w.now { color: var(--stage-ink); }
.home .tr { color: var(--stage-muted); font-size: .95rem; font-style: italic; font-family: var(--headline); }
.home .kbar { height: 4px; border-radius: 2px; background: var(--track); max-width: 420px; margin: 22px auto 10px; overflow: hidden; }
.home .kbar i { display: block; height: 100%; width: 100%; background: var(--stage-gold); border-radius: 2px; transform: scaleX(0); transform-origin: left center; transition: transform .35s linear; }
.home .kmeta { display: flex; justify-content: center; gap: 12px; font-size: .84rem; color: var(--stage-muted); font-variant-numeric: tabular-nums; align-items: center; flex-wrap: wrap; }
@media (min-width: 820px) { .home .stage-grid .lyric, .home .stage-grid .kbar { margin-left: 0; } .home .kmeta { justify-content: flex-start; } }
.home .kmeta b { color: var(--stage-gold); font-weight: 600; }
.home .kmeta .eq { height: 18px; --bar: var(--stage-gold); }

/* what comes next: the demo's phone, its features in one panel */
.home .yours { padding-block: 10px 56px; }
.home .f { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; padding-block: 9px; }
.home .f + .f { border-top: 1px solid var(--hairline); }
.home .feat { display: grid; width: 100%; padding: 2px 14px; }
.home .f i { transition: background .3s, color .3s; }
.home .f.on i { background: var(--accent); color: var(--on-accent); }
.home .f.on i svg { fill: currentColor; }
.home .f i { width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); display: inline-flex; align-items: center; justify-content: center; color: var(--accent-pressed); font-family: var(--khmer); font-size: 1.15rem; font-weight: 600; font-style: normal; }
.home .f i svg { width: 20px; height: 20px; fill: var(--accent-pressed); }
.home .f h3 { font-size: 1.2rem; line-height: 1.2; }
.home .f p { color: var(--ink-2); font-size: .91rem; line-height: 1.45; margin-top: 3px; }

/* offers */
.home .offer::before, .home .offer::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; z-index: -1; transition: opacity .4s; pointer-events: none; }
.home .offer::before { box-shadow: var(--shadow-card); opacity: 1; }
.home .offer::after { box-shadow: var(--shadow-lift); opacity: 0; }
.home .offer:hover { transform: translateY(-3px); }
.home .offer:hover::before { opacity: 0; }
.home .offer:hover::after { opacity: 1; }
.home .offers { display: block; padding-block: 10px 70px; }
.home .off { display: grid; gap: 14px; margin-top: 30px; }
@media (min-width: 700px) { .home .off { grid-template-columns: repeat(2, 1fr); } }
/* [launch offers 2026-11-19] three offers: three columns once they fit, the opening line under them */
@media (min-width: 1000px) { .home .off.off-3 { grid-template-columns: repeat(3, 1fr); } }
.home .opening-line { margin-top: 16px; font-weight: 600; color: var(--accent); }
.home .offer { border: 1px solid var(--hairline); border-radius: var(--radius); background: var(--surface); padding: 26px; position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 6px; transition: transform .4s var(--ease); }
.home .offer.best { border-color: var(--gold); }
/* « Recommended »: owner decision 2026-10-25, the accessible variant (surface fill, gold border, ink text) */
.home .offer .tag { position: absolute; top: -12px; right: 18px; background: var(--surface); border: 1px solid var(--gold); color: var(--ink); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; padding: 4px 10px; border-radius: 999px; line-height: 1.55; }
.home .offer .lbl { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); font-weight: 600; }
.home .offer h3 { font-size: 1.6rem; margin: 0; }
.home .price { font-family: var(--headline); font-size: 2.4rem; font-weight: 400; line-height: 1; margin: 6px 0 0; color: var(--ink); font-variant-numeric: tabular-nums; }
.home .price small { display: inline; font-family: var(--ui); font-size: .84rem; font-weight: 400; line-height: inherit; color: var(--ink-2); margin: 0 0 0 8px; }
/* [opening reference 2026-12-02] the usual price struck through before the opening one, as the app's purchase sheet */
.home .was { color: var(--ink-2); text-decoration: line-through; text-decoration-thickness: 1.5px; white-space: nowrap; }
.home .price .was { font-family: var(--ui); font-size: 1.05rem; font-weight: 500; vertical-align: middle; }
.home .note .was { text-decoration-thickness: 1px; }
.home .offer p { color: var(--ink-2); font-size: .95rem; margin: 0; }
.home .facts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 18px 0 0; padding: 0; color: var(--ink-2); font-size: .9rem; list-style: none; }
.home .facts li { margin: 0; }
.home .facts li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-right: 8px; vertical-align: middle; }

/* final call */
.home .final { padding-block: 30px 60px; text-align: center; }
.home .final-in { padding: clamp(40px, 8vw, 90px) 0 10px; position: relative; }
.home .final-in::before { content: ""; position: absolute; inset: 0 -6%; background: radial-gradient(ellipse at 50% 45%, rgba(247, 242, 234, .95), rgba(247, 242, 234, .8) 40%, rgba(247, 242, 234, 0) 70%); z-index: -1; pointer-events: none; }
.home .final h2 { font-size: clamp(2.3rem, 6.5vw, 4.4rem); }
.home .final .cta { justify-content: center; }
.home .final .note { max-width: 28em; margin-inline: auto; }

/* footer (light, on the paper; it hides the wave) */
.home footer { padding-top: 10px; padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px)); color: var(--ink-2); font-size: .86rem; position: relative; z-index: 1; background: var(--paper); }
.home .foot { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; border-top: 1px solid var(--hairline); padding-top: 22px; }
.home .foot-links { display: flex; flex-wrap: wrap; gap: 0; }
.home .foot a { text-decoration: none; margin-right: 14px; color: inherit; }
.home .foot a:hover { text-decoration: underline; color: inherit; }
.home .operator { margin: 14px 0 0; color: var(--ink-2); max-width: 36em; }
.home .operator a { color: inherit; }
.home .follow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 18px 0 0; }
.home .follow-title { color: var(--ink-2); }
.home .follow a { color: var(--ink); text-decoration: none; padding: 6px 12px; border: 1px solid var(--hairline); border-radius: 999px; }
.home .follow a:hover, .home .follow a:focus-visible { border-color: var(--ink); }
.home .copy { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--hairline); color: var(--ink-2); font-size: .8rem; }

/* [two languages 2026-10-31, owner] The Khmer page (/km): titles in Noto Serif Khmer with Newsreader kept for the Latin in them,
   the interface in Kantumruy Pro, the Khmer fonts from this server (build-site.mjs). Khmer takes no capitals, no letter-spacing and no italics, and its subscripts and vowels
   need more room between lines (and inside the headline's clipped words). */
html.home[lang="km"] { --headline: "Newsreader", var(--font-headline-khmer); }
html.home[lang="km"] body { line-height: 1.7; }
html.home[lang="km"] h1, html.home[lang="km"] h2, html.home[lang="km"] h3, html.home[lang="km"] h4 { letter-spacing: 0; }
html.home[lang="km"] h3, html.home[lang="km"] h4 { text-wrap: wrap; }
html.home[lang="km"] h1 { font-size: clamp(2.2rem, 10.4vw, 3.3rem); line-height: 1.34; margin-block: 14px 6px; }
@media (max-width: 329px) { html.home[lang="km"] h1 { font-size: 2.1rem; } }
@media (min-width: 900px) { html.home[lang="km"] h1 { font-size: clamp(3.25rem, 5.8vw, 4rem); } }
html.home[lang="km"] .nb, html.home[lang="km"] .np small b { white-space: nowrap; }
/* two lines whatever the font of the moment, so the block below does not jump when Noto Serif Khmer comes */
html.home[lang="km"] h1 .ln { display: block; white-space: nowrap; }
@media (max-width: 329px) { html.home[lang="km"] h1 .ln { white-space: normal; } }
html.home[lang="km"] .hero .btn-primary { min-width: 219px; }
html.home[lang="km"] .hero .btn-ghost { min-width: 148px; }
html.home[lang="km"] h2 { line-height: 1.4; }
html.home[lang="km"] .wd { padding-block: .24em .42em; margin-block: -.24em -.42em; }
html.home[lang="km"] .eyebrow, html.home[lang="km"] .offer .lbl, html.home[lang="km"] .offer .tag { letter-spacing: 0; text-transform: none; font-size: .86rem; }
html.home[lang="km"] em, html.home[lang="km"] h1 .song { font-style: normal; }
html.home[lang="km"] .km { font-family: var(--serif); line-height: 1.5; }
html.home[lang="km"] .dstep h3, html.home[lang="km"] .f h3, html.home[lang="km"] .offer h3 { line-height: 1.45; }
html.home[lang="km"] .dstep p, html.home[lang="km"] .f p, html.home[lang="km"] .lead, html.home[lang="km"] .sub, html.home[lang="km"] .note, html.home[lang="km"] .offer p { line-height: 1.7; }
html.home[lang="km"] .dstep .n { font-size: 1rem; }
html.home[lang="km"] .dhooks em, html.home[lang="km"] .stage h2 em { font-style: normal; }
html.home[lang="km"] .dhint, html.home[lang="km"] .dact, html.home[lang="km"] .fl { line-height: 1.45; }
/* inside the phone: Khmer reads smaller than Latin at one size and needs its stacked marks kept */
html.home[lang="km"] .dscr { line-height: 1.5; font-size: calc(var(--pw) * .041); }
html.home[lang="km"] .dh { font-size: 1.62em; line-height: 1.4; }
html.home[lang="km"] .dbt { line-height: 1.5; font-size: 1.1em; }
html.home[lang="km"] .dsheet .dh { font-size: 1.35em; }
html.home[lang="km"] .price small { display: block; margin: 8px 0 0; line-height: 1.6; }

@media (prefers-reduced-motion: reduce) {
  .home .phone, .home .micwrap .ring, .home .micsvg, .home .notes svg { animation: none !important; }
  /* paused, not removed: each bar keeps the height its own negative delay gave it, a frozen equalizer rather than
     the solid block that animation: none (the mock-up) would leave */
  .home .eq i, .home .gl-fallback i { animation-play-state: paused !important; }
  .home .wd > span, .home .km, .home .lead, .home .cta, .home .note, .home .dots, .home .hero .eyebrow, .home .np { animation: none !important; opacity: 1; transform: none; }
  .home .reveal { transition: none; }
  .home .reveal.pre { opacity: 1; transform: none; }
  .home .btn, .home .btn::before, .home .btn::after, .home .offer, .home .offer::before, .home .offer::after, .home .scr img, .home .dots span, .home .dots span::before, .home .lyric, .home .lyric .w, .home .kbar i, .home .nav, .home .links a, .home .lang a, .home .menu-btn span, .home .menu, .home .scrim { transition: none !important; }
  .home .btn-primary:hover, .home .btn-ghost:hover, .home .offer:hover { transform: none; }
  html.home.smooth { scroll-behavior: auto; }
}

/* [visual redesign 2026-11-30, owner « montrer d'abord le résultat »] The hero shows the result where the phone was: a real
   Ayden Sing clip of the person in the photo (the photo itself in the corner), and the song it comes from, to hear. With the song
   playing, the photo shows, then the clip plays at its own passage, in time (home.js). Computers: the text beside the result.
   Phones: the title and its line, then the result at once, then the buttons and the prices (the nav keeps « Create » in reach).
   Demo media and their rights: site/src/media.json. */
@media (max-width: 899px) {
  /* [GO final 2026-11-30] the wave rides the hero's bottom edge: room for its bars under the prices, never over them */
  .home .hero { padding-top: calc(84px + var(--banner-h)); padding-bottom: 170px; }
  .home .hero-grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .home .hero-text { display: contents; }
  /* [GO final 2026-11-30, owner « Create my song reste rapidement accessible sur les petits iPhone »] « Create my song »
     right under the title, in the first screen of a 320 × 568 iPhone; the result just under it; then « How it works » and
     the prices */
  .home .hero-text > .cta { display: contents; }
  .home .hero-text > .cta > .btn-primary { order: 1; align-self: flex-start; margin-top: 20px; }
  .home .proof { order: 2; margin-top: 22px; }
  .home .hero-text > .cta > .btn-ghost { order: 3; align-self: flex-start; margin-top: 22px; }
  .home .hero-text > .note { order: 4; }
}
.home .proof { position: relative; width: 100%; max-width: 440px; justify-self: center; } /* the result shows at once: no fade */
/* on a computer the clip and its song fit the first screen, even on a 768 px high laptop */
@media (min-width: 900px) { .home .proof { max-width: min(460px, calc((100vh - 230px) * .8)); justify-self: end; } }
.home .pclip { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: 26px; overflow: hidden; isolation: isolate; background: var(--stage); box-shadow: var(--shadow-lift), 0 34px 70px -34px rgba(42, 35, 30, .55); }
.home .pclip > img, .home .pclip video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 30%; }
.home .pvid { opacity: 0; transition: opacity .4s var(--ease); }
.home .pclip.live .pvid { opacity: 1; }
.home .pclip > .pph { z-index: 1; opacity: 0; transition: opacity .5s var(--ease); }
.home .pclip.photo > .pph { opacity: 1; }
.home .pclip::after { content: ""; position: absolute; inset: 50% 0 0; z-index: 2; background: linear-gradient(180deg, rgba(41, 37, 35, 0), rgba(41, 37, 35, .82)); pointer-events: none; }
.home .pin { position: absolute; z-index: 3; top: 14px; left: 14px; width: 27%; max-width: 112px; padding: 5px 5px 4px; border-radius: 13px; background: var(--surface); box-shadow: 0 6px 18px rgba(41, 37, 35, .35); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.home .pin img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 9px; }
.home .pin b { display: block; padding-top: 4px; text-align: center; font: 600 .7rem/1.25 var(--ui); color: var(--ink); }
.home .pclip.photo .pin { opacity: 0; transform: scale(.92); }
.home .pcap { position: absolute; z-index: 3; left: 18px; right: 18px; bottom: 52px; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 12px; margin: 0; color: var(--stage-ink); }
.home .pcap b { font: 500 clamp(1.5rem, 5vw, 1.9rem)/1.1 var(--headline); }
.home .pcap small { font-size: .78rem; opacity: .92; }
.home .pcap .c2, .home .pclip.photo .pcap .c1, .home .pclip.photo .pcap small { display: none; }
.home .pclip.photo .pcap .c2 { display: inline; }
.home .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.home .psong { position: relative; z-index: 4; display: grid; grid-template-columns: 46px minmax(0, 1fr) 48px; align-items: center; gap: 6px 12px; margin: -40px 12px 0; padding: 10px 12px 4px; border: 1px solid var(--hairline); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-lift); }
.home .pcov { width: 46px; height: 46px; border-radius: 11px; object-fit: cover; object-position: 50% 30%; }
.home .pmeta { min-width: 0; margin: 0; }
.home .pmeta b { display: block; font: 600 1rem/1.5 var(--khmer); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home .pmeta small { display: block; color: var(--ink-2); font-size: .76rem; line-height: 1.35; font-variant-numeric: tabular-nums; }
.home .pplay { width: 48px; height: 48px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: var(--accent); color: var(--on-accent); cursor: pointer; touch-action: manipulation; transition: background .2s; }
.home .pplay:hover { background: var(--accent-pressed); }
.home .pplay:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.home .pplay svg { width: 20px; height: 20px; fill: currentColor; }
.home .pplay .p2, .home .pplay[aria-pressed="true"] .p1 { display: none; }
.home .pplay[aria-pressed="true"] .p2 { display: block; }
.home .ptrack { grid-column: 1 / -1; position: relative; height: 6px; margin: 4px 2px 22px; border-radius: 99px; background: var(--sunken); }
.home .pfill { position: absolute; inset: 0; border-radius: inherit; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; }
.home .pseg { position: absolute; left: 33.333%; width: 33.333%; top: -4px; height: 14px; border: 2px solid var(--gold); border-radius: 99px; }
.home .pseg em { position: absolute; left: 50%; top: 15px; transform: translateX(-50%); font: 600 .68rem/1.3 var(--ui); font-style: normal; color: var(--ink-2); white-space: nowrap; }

/* [visual redesign 2026-11-30, owner] « Videos », right after How it works: three formats to choose (an icon, the app's name, its
   price), one stage — a screen showing the result first, with the app's own controls and a hand for the gesture — and its side
   (the price, one line, the settings to pick, the steps, Replay and Play all, the conditions to know before buying); « My videos »
   under it. Without scripts every format shows, one after the other, at its result. Motion: transform and opacity. */
.home .videos { padding-block: 10px 64px; }
.home .vfmt { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 22px; }
.home .videos:not(.vjs) .vfmt { display: none; }
.home .vf { display: flex; align-items: center; justify-content: center; gap: 10px; min-width: 0; min-height: 64px; padding: 10px 12px; border: 1px solid var(--hairline); border-radius: 16px; background: var(--surface); color: var(--ink); font: inherit; text-align: left; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; transition: background .2s, border-color .2s, color .2s; }
.home .vf > span { min-width: 0; }
.home .vf i { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; background: var(--accent-soft); color: var(--accent-pressed); transition: background .2s, color .2s; }
.home .vf svg { width: 19px; height: 19px; fill: currentColor; }
.home .vf b { display: block; font: 600 .95rem/1.25 var(--ui); }
.home .vf small { display: block; font-size: .78rem; color: var(--ink-2); }
.home .vf:hover { border-color: var(--accent); }
.home .vf[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.home .vf[aria-pressed="true"] i { background: rgba(247, 242, 234, .18); color: var(--on-accent); }
.home .vf[aria-pressed="true"] small { color: var(--on-accent); }
.home .vf:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 599px) {
  .home .vf { flex-direction: column; gap: 5px; padding: 9px 5px; text-align: center; }
  .home .vf i { width: 30px; height: 30px; border-radius: 9px; }
  .home .vf b { font-size: .8rem; }
  .home .vf small { font-size: .72rem; }
}
.home .vstage { position: relative; margin-top: 14px; }
.home .vpanel { display: grid; border: 1px solid var(--hairline); border-radius: 24px; background: var(--surface); box-shadow: var(--shadow-card); overflow: hidden; }
.home .vpanel + .vpanel { margin-top: 14px; }
/* one format laid out at a time, from the first paint (without scripts every one shows: build-site.mjs, <noscript>) */
.home .vpanel:not(.on) { display: none; }
@media (min-width: 900px) { .home .vpanel { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); } }
.home .vsay { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* the screen: 4 : 5, the result first; its layers (data-l) one at a time (data-at); nothing in it is a control but play and sound */
.home .vscr { position: relative; aspect-ratio: 4 / 5; overflow: hidden; isolation: isolate; background: var(--stage); color: var(--ink); font-size: 15px; line-height: 1.4; -webkit-user-select: none; user-select: none; }
@media (max-width: 899px) { .home .vscr { font-size: clamp(12px, 3.6vw, 15px); } }
.home .vscr.vpaper { background: var(--paper); }
.home .vscr p, .home .vscr ul { margin: 0; }
.home .vscr .vfill { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 30%; }
.home .vl { position: absolute; inset: 0; visibility: hidden; opacity: 0; transition: opacity .35s var(--ease), visibility 0s linear .35s; }
.home .vscr[data-at="1"] > .vl[data-l="1"], .home .vscr[data-at="2"] > .vl[data-l="2"], .home .vscr[data-at="3"] > .vl[data-l="3"] { visibility: visible; opacity: 1; transition-delay: 0s; content-visibility: visible; }
/* a step's screen not shown is not rendered either */
.home .vl { content-visibility: hidden; }
.home .vl.vpaper { display: flex; flex-direction: column; gap: .7em; padding: 1.1em; background: var(--paper); }
.home .vvid { opacity: 0; transition: opacity .3s; }
.home .vscr.vlive .vvid { opacity: 1; }
.home .vbtn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; min-height: 2.8em; padding: 0 1.3em; border-radius: 99px; background: var(--accent); color: var(--on-accent); font: 600 .9em/1.2 var(--ui); text-align: center; transition: transform .15s var(--ease), background .2s; }
.home .vbtn.soft { border: 1px solid var(--hairline); background: var(--surface); color: var(--ink); }
.home .vbtn svg { width: 1.1em; height: 1.1em; }
.home .vscr .pressed { transform: scale(.94); }
/* clip, 1: the photo; the hand chooses it */
.home .vchip { position: absolute; z-index: 2; top: .9em; left: .9em; display: inline-flex; align-items: center; gap: .4em; padding: .4em .8em; border-radius: 99px; background: var(--surface); color: var(--ink); font: 600 .82em/1.2 var(--ui); opacity: 0; transform: translateY(-6px); transition: opacity .3s, transform .3s var(--ease); }
.home .vchip svg { width: 1.1em; height: 1.1em; color: var(--ak-good); }
.home .vscr.chosen .vchip { opacity: 1; transform: none; }
.home .vfoot { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 3em 1em 1em; background: linear-gradient(180deg, rgba(41, 37, 35, 0), rgba(41, 37, 35, .86)); text-align: center; color: var(--stage-ink); }
.home .vfoot small { display: block; margin-top: .6em; font-size: .78em; }
.home .vscr.chosen .vt-choose { opacity: .6; }
/* clip, 2: the composer — the cut, the first scene's setting, the payment, then the time it takes */
.home .vlab { font: 600 .8em/1.3 var(--ui); color: var(--ink-2); }
.home .vcuts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .4em; }
.home .vcuts span { display: grid; place-items: center; min-height: 2.5em; border: 1px solid var(--hairline); border-radius: .7em; background: var(--surface); font: 600 .85em/1.2 var(--ui); white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.home .vcuts span.on { border-color: var(--gold); background: var(--gold); color: var(--surface); }
.home .vcomp { display: grid; gap: .45em; padding: .7em .8em; border: 1px solid var(--accent); border-radius: 1em; background: var(--surface); }
.home .vsc { font: 600 .9em/1.3 var(--ui); }
.home .vq { font-size: .78em; color: var(--ink-2); }
.home .vtiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4em; }
.home .vtiles span { position: relative; aspect-ratio: 3 / 4; border: 2px solid transparent; border-radius: .7em; overflow: hidden; transition: border-color .2s; }
.home .vtiles img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.home .vtiles i { position: absolute; left: 0; right: 0; bottom: 0; padding: 1em .3em .3em; background: linear-gradient(180deg, rgba(41, 37, 35, 0), rgba(41, 37, 35, .8)); color: var(--stage-ink); font: 600 .74em/1.25 var(--ui); font-style: normal; text-align: center; }
.home .vtiles span.on { border-color: var(--accent); }
.home .vt-pay { margin-top: auto; }
/* clip, 3: the clip, its photo in the corner, its three scenes as they play */
.home .vres .pin { top: .8em; left: .8em; width: 24%; }
.home .vsegs { position: absolute; z-index: 3; left: .8em; right: .8em; bottom: .8em; display: flex; gap: .3em; }
.home .vsegs span { flex: var(--w) 1 0; min-width: 0; }
.home .vsegs i { position: relative; display: block; height: 4px; border-radius: 99px; overflow: hidden; background: rgba(255, 248, 238, .35); }
.home .vsegs i::after { content: ""; position: absolute; inset: 0; background: var(--stage-ink); transform: scaleX(var(--p, 0)); transform-origin: 0 50%; }
.home .vsegs b { display: block; margin-top: .35em; overflow: hidden; color: var(--stage-ink); font: 600 .74em/1.25 var(--ui); text-overflow: ellipsis; white-space: nowrap; text-shadow: 0 1px 4px rgba(41, 37, 35, .6); }
.home .vsegs span.on b { color: var(--stage-gold); }
.home .vres::after { content: ""; position: absolute; inset: 70% 0 0; z-index: 2; background: linear-gradient(180deg, rgba(41, 37, 35, 0), rgba(41, 37, 35, .7)); pointer-events: none; }
/* montage: the editor — the video, the two tracks (videos over the karaoke), the cursor; the sheet to add a video */
.home .vmv { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--stage); }
.home .vtl { position: relative; display: grid; gap: .4em; margin: .8em .9em 0; }
.home .vruler { display: flex; justify-content: space-between; margin-left: 3.8em; font-size: .7em; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.home .vtrack { display: grid; grid-template-columns: 3.8em minmax(0, 1fr); align-items: center; }
.home .vtrack small { overflow: hidden; font-size: .7em; color: var(--ink-2); text-overflow: ellipsis; white-space: nowrap; }
.home .vlane { position: relative; height: 2.6em; border-radius: .5em; background: var(--sunken); }
.home .vblk { position: absolute; top: 3px; bottom: 3px; overflow: hidden; border: 2px solid var(--surface); border-radius: .4em; box-shadow: 0 1px 4px rgba(42, 35, 30, .25); }
.home .vblk img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.home .vt-blk { left: 24.7%; width: max(4.4%, 2.3em); transition: opacity .35s, transform .45s var(--ease); }
.home .vscr.noblk .vt-blk { opacity: 0; transform: translateY(-.6em) scale(.9); }
.home .vph { left: 57.4%; width: 4.9em; display: flex; align-items: center; justify-content: center; gap: .2em; background: var(--accent-soft); color: var(--accent-pressed); font: 600 .64em/1 var(--ui); }
.home .vph svg { width: 1.3em; height: 1.3em; fill: currentColor; }
.home .vkar { position: absolute; inset: 3px; display: flex; align-items: center; padding: 0 .6em; overflow: hidden; border-radius: .4em; background: linear-gradient(90deg, var(--cover-tone-3-a), var(--cover-tone-3-b)); color: var(--stage-ink); font: 600 .7em/1 var(--ui); white-space: nowrap; }
.home .vcur { position: absolute; top: 1.2em; bottom: 0; left: calc(3.8em + (100% - 3.8em) * var(--c, .2472)); width: 2px; margin-left: -1px; border-radius: 2px; background: var(--accent); }
.home .vopts { display: flex; gap: .4em; margin: .7em .9em 0; visibility: hidden; opacity: 0; transition: opacity .3s; }
.home .vscr.opts .vopts { visibility: visible; opacity: 1; }
.home .vopts span { flex: 1; display: grid; place-items: center; min-height: 2.4em; padding: 2px 4px; border: 1px solid var(--hairline); border-radius: .7em; background: var(--surface); font: 600 .72em/1.15 var(--ui); text-align: center; }
.home .vrow2 { position: absolute; left: .9em; right: .9em; bottom: .9em; display: flex; gap: .5em; }
.home .vrow2 .vbtn { flex: 1; min-width: 0; padding: .3em .7em; white-space: normal; }
.home .vsheet { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; display: grid; gap: .5em; padding: 1em; border-radius: 1.3em 1.3em 0 0; background: var(--surface); box-shadow: 0 -10px 30px rgba(42, 35, 30, .18); transform: translateY(105%); transition: transform .45s var(--ease); }
.home .vscr.sheet .vsheet { transform: none; }
.home .vsh { display: flex; align-items: center; justify-content: space-between; gap: .5em; }
.home .vsh b { font: 500 1.15em/1.25 var(--headline); }
.home .vsh svg { width: 1.1em; height: 1.1em; flex: none; }
.home .vtabs { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 3px; border: 1px solid var(--hairline); border-radius: .8em; }
.home .vtabs span { display: grid; place-items: center; min-height: 2.2em; padding: 0 .3em; border-radius: .6em; font: 600 .74em/1.15 var(--ui); text-align: center; }
.home .vtabs span.on { background: var(--accent); color: var(--on-accent); }
.home .vtabs.sm span.on { background: var(--accent-soft); color: var(--accent-pressed); }
.home .vlist { display: grid; gap: .3em; padding: 0; list-style: none; }
.home .vlist li { display: flex; align-items: center; gap: .6em; padding: .3em; border: 1px solid var(--hairline); border-radius: .7em; font: 600 .76em/1.2 var(--ui); transition: background .2s, border-color .2s; }
.home .vlist img { flex: none; width: 2.3em; height: 2.3em; border-radius: .4em; object-fit: cover; object-position: 50% 30%; }
.home .vlist li.on { border-color: var(--accent); background: var(--accent-soft); }
.home .vtoast { position: absolute; z-index: 6; left: 50%; top: .9em; display: inline-flex; align-items: center; gap: .4em; padding: .45em 1em; border-radius: 99px; background: var(--ink); color: var(--paper); font: 600 .8em/1.2 var(--ui); white-space: nowrap; opacity: 0; transform: translate(-50%, -8px); transition: opacity .3s, transform .3s var(--ease); pointer-events: none; }
.home .vtoast svg { width: 1.1em; height: 1.1em; }
.home .vscr.ready .vtoast { opacity: 1; transform: translate(-50%, 0); }
/* karaoke: the « Create a video » sheet, the wait while the lyrics are matched, the video and its real actions */
.home .vl > .vsh { padding: 1.1em 1.1em 0; }
.home .vrows { display: grid; gap: .5em; padding: .9em 1em; list-style: none; }
.home .vrows li { display: flex; align-items: center; gap: .7em; padding: .7em; border: 1px solid var(--hairline); border-radius: 1em; background: var(--surface); transition: border-color .2s, background .2s; }
.home .vrows i { flex: none; width: 2.6em; height: 2.6em; display: grid; place-items: center; border-radius: .7em; background: var(--accent-soft); color: var(--accent-pressed); }
.home .vrows i svg { width: 1.25em; height: 1.25em; fill: currentColor; }
.home .vrows img { flex: none; width: 2.6em; height: 2.6em; border-radius: .7em; object-fit: cover; object-position: 50% 30%; }
.home .vrows b { display: block; font: 600 .86em/1.25 var(--ui); }
.home .vrows small, .home .vfree { display: inline-block; margin-top: .25em; padding: 0 .7em; border-radius: 99px; background: var(--sunken); color: var(--ink-2); font: 600 .72em/1.6 var(--ui); font-style: normal; }
.home .vrows li.on { border-color: var(--accent); background: var(--accent-soft); }
.home .vprep { display: flex; align-items: center; gap: .6em; margin: 1em 1.1em 0 !important; font: 600 .9em/1.3 var(--ui); }
.home .vspin { flex: none; width: 1.2em; height: 1.2em; border: 2px solid var(--hairline); border-top-color: var(--accent); border-radius: 50%; animation: vspin 1s linear infinite; }
@keyframes vspin { to { transform: rotate(360deg); } }
.home .vsm { margin: .7em 1.1em 0 !important; color: var(--ink-2); font-size: .8em; }
.home .vl[data-l="3"] > .vbtn { display: flex; margin: .6em 1.1em 0; }
.home .vl[data-l="3"] > .vsh { padding-top: .8em; }
.home .vok { display: flex; align-items: center; justify-content: center; gap: .4em; margin-top: .6em !important; color: var(--ak-good); font: 600 .78em/1.3 var(--ui); }
.home .vok svg { width: 1.1em; height: 1.1em; }
/* time passing: the veil, a clock and what the app says, never a promised duration */
.home .vveil { position: absolute; inset: 0; z-index: 5; background: var(--paper); opacity: 0; pointer-events: none; transition: opacity .3s; }
.home .vscr.wait .vveil { opacity: .95; }
.home .vwait { position: absolute; inset: 0; z-index: 6; display: grid; place-content: center; justify-items: center; gap: .8em; padding: 1.3em; color: var(--ink); text-align: center; opacity: 0; pointer-events: none; transition: opacity .2s; }
.home .vscr.wait .vwait { opacity: 1; }
.home .vclock { position: relative; width: 3.6em; height: 3.6em; border: .24em solid var(--accent); border-radius: 50%; }
.home .vclock::before, .home .vclock::after { content: ""; position: absolute; left: 50%; bottom: 50%; width: .24em; margin-left: -.12em; border-radius: 99px; background: var(--accent); transform-origin: 50% 100%; }
.home .vclock::before { height: 1.2em; }
.home .vclock::after { height: .75em; }
.home .vscr.wait .vclock::before { animation: dlapse .5s linear infinite; }
.home .vscr.wait .vclock::after { animation: dlapse 3s linear infinite; }
.home .vwait small { max-width: 18em; font: 600 .86em/1.4 var(--ui); }
/* play (when a result is paused or ended) and sound (off at first, the visitor's choice) */
.home .vplay { position: absolute; z-index: 7; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: rgba(41, 37, 35, .62); color: var(--stage-ink); cursor: pointer; opacity: 0; visibility: hidden; transition: opacity .2s; }
.home .vscr.vpaper .vplay { top: 22.5%; }
.home .vscr.paused[data-at="3"] .vplay { opacity: 1; visibility: visible; }
/* not while a gesture shows the editor's sheet, its options or a wait */
.home .vscr:is(.sheet, .noblk, .opts, .wait)[data-at] .vplay { opacity: 0; visibility: hidden; }
.home .vplay svg { width: 26px; height: 26px; margin-left: 3px; fill: currentColor; }
.home .vsnd { position: absolute; z-index: 7; right: 10px; top: 10px; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: rgba(41, 37, 35, .55); color: var(--stage-ink); cursor: pointer; }
.home .vsnd svg { width: 20px; height: 20px; fill: currentColor; }
.home .vsnd .s2, .home .vsnd[aria-pressed="true"] .s1 { display: none; }
.home .vsnd[aria-pressed="true"] .s2 { display: block; }
.home .vscr:not([data-at="3"]) .vsnd { visibility: hidden; }
.home .vplay:focus-visible, .home .vsnd:focus-visible { outline: 2px solid var(--stage-gold); outline-offset: 2px; }
/* the hand: its fingertip is the corner of .vhand */
.home .vhand { position: absolute; z-index: 8; left: 0; top: 0; width: 0; height: 0; opacity: 0; pointer-events: none; transition: transform .55s cubic-bezier(.45, .05, .25, 1), opacity .2s; will-change: transform; }
.home .vhand.in { opacity: 1; }
.home .vhand svg { position: absolute; left: -15px; top: -3px; width: 42px; height: 52px; filter: drop-shadow(0 4px 6px rgba(42, 35, 30, .3)); transform-origin: 36% 0; transition: transform .16s var(--ease); }
.home .vhand.down svg { transform: scale(.9); }
.home .vhand::before { content: ""; position: absolute; left: -19px; top: -19px; width: 38px; height: 38px; border: 2px solid var(--accent); border-radius: 50%; opacity: 0; }
.home .vhand.down::before { animation: dtap .5s ease-out; }
/* the side: price, one line, the settings, the steps, Replay and Play all, what to know before buying */
.home .vside { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 18px 18px 20px; }
@media (min-width: 900px) { .home .vside { justify-content: center; padding: 28px 30px; } }
/* on a phone the choices come right under the screen, so what they change stays in view; the words follow */
@media (max-width: 899px) {
  .home .vdecor { order: 1; } .home .vwhole { order: 2; } .home .vsteps { order: 3; } .home .vacts { order: 4; }
  .home .vprice { order: 5; margin-top: 6px; } .home .vside h3 { order: 6; } .home .vline { order: 7; } .home .vcond { order: 8; } .home .vsing { order: 9; }
  .home .vsteps { border-top: 0; padding-top: 0; }
}
.home .vprice { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; color: var(--accent-pressed); font: 600 .82rem/1.4 var(--ui); }
.home .vprice span { padding: 1px 10px; border-radius: 99px; background: var(--accent-soft); }
.home .vside h3 { font-size: clamp(1.6rem, 3.6vw, 2.1rem); line-height: 1.12; }
.home .vside h3 em { font-style: italic; color: var(--accent); }
.home .vline { color: var(--ink-2); font-size: .95rem; line-height: 1.5; }
.home .vdecor { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.home .vdecor button { position: relative; display: block; aspect-ratio: 4 / 5; padding: 0; overflow: hidden; border: 2px solid var(--hairline); border-radius: 14px; background: var(--sunken); cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; transition: border-color .2s, box-shadow .2s; }
@media (min-width: 900px) { .home .vdecor button { aspect-ratio: 5 / 4; } }
.home .vdecor img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 26%; }
.home .vdecor span { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 6px 7px; background: linear-gradient(180deg, rgba(41, 37, 35, 0), rgba(41, 37, 35, .82)); color: var(--stage-ink); font: 600 .84rem/1.2 var(--ui); text-align: center; }
.home .vdecor button:hover { border-color: var(--accent); }
.home .vdecor button[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.home .vwhole { margin: 0; }
.home .vwhole button { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border: 1px solid var(--hairline); border-radius: 99px; background: var(--surface); color: var(--ink); font: 600 .84rem/1.2 var(--ui); cursor: pointer; touch-action: manipulation; }
.home .vwhole button[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-pressed); }
.home .vwhole svg { width: 14px; height: 14px; fill: currentColor; }
.home .vsteps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding-top: 4px; border-top: 1px solid var(--hairline); }
.home .vsteps button { display: flex; flex-direction: column; align-items: center; gap: 5px; width: 100%; min-height: 64px; padding: 8px 4px 4px; border: 0; border-radius: 12px; background: none; color: var(--ink-2); font: 600 .78rem/1.25 var(--ui); text-align: center; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.home .vsteps b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--sunken); color: var(--ink); font-size: .95rem; transition: background .2s, color .2s; }
.home .vsteps button:hover b { background: var(--accent-soft); }
.home .vsteps button[aria-pressed="true"] { color: var(--accent-pressed); }
.home .vsteps button[aria-pressed="true"] b { background: var(--accent); color: var(--on-accent); }
.home .vdecor button:focus-visible, .home .vwhole button:focus-visible, .home .vsteps button:focus-visible, .home .vthumb:focus-visible, .home .vgo:focus-visible, .home .vdl:focus-visible, .home .vfiles summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.home .vacts { display: flex; gap: 6px; }
.home .vpanel:not(.manual) .vall { visibility: hidden; }
.home .videos:not(.vjs) .vacts, .home .videos:not(.vjs) .vsteps, .home .videos:not(.vjs) .vdecor, .home .videos:not(.vjs) .vwhole, .home .videos:not(.vjs) .vsnd, .home .videos:not(.vjs) [data-vgo] { display: none; }
.home .vcond { color: var(--ink-2); font-size: .82rem; line-height: 1.5; }
.home .vcond a, .home .vsing a { color: var(--accent-pressed); font-weight: 600; text-underline-offset: 3px; }
.home .vsing { font-size: .88rem; }
/* « My videos »: the clip with its whole file and its three scenes (watch here, or download the file), the montage, the karaoke */
.home .vlib { margin-top: 26px; }
.home .vlh { font-size: clamp(1.4rem, 3vw, 1.8rem); line-height: 1.2; }
.home .vcards { display: grid; gap: 10px; margin-top: 12px; }
@media (min-width: 760px) { .home .vcards { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; } }
.home .vcard { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 12px; padding: 10px; border: 1px solid var(--hairline); border-radius: 16px; background: var(--surface); }
.home .vthumb { position: relative; display: block; width: 64px; aspect-ratio: 3 / 4; padding: 0; overflow: hidden; border: 0; border-radius: 10px; background: var(--stage); cursor: pointer; }
.home .vthumb.wide { width: 96px; aspect-ratio: 16 / 9; }
.home .vthumb img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.home .vthumb svg { position: absolute; left: 50%; top: 50%; width: 28px; height: 28px; margin: -14px 0 0 -14px; padding: 7px; border-radius: 50%; background: rgba(41, 37, 35, .62); fill: var(--stage-ink); }
.home .videos:not(.vjs) .vthumb { pointer-events: none; }
.home .videos:not(.vjs) .vthumb svg { display: none; }
.home .vci { min-width: 0; }
.home .vct { margin: 0; }
.home .vct b { display: block; font: 600 .92rem/1.3 var(--ui); }
.home .vct small { display: block; overflow: hidden; color: var(--ink-2); font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.home .vct small > span { display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; }
.home .vfiles { margin-top: 4px; }
.home .vfiles summary { display: inline-flex; align-items: center; min-height: 40px; color: var(--accent-pressed); font: 600 .84rem/1.2 var(--ui); cursor: pointer; list-style: none; }
.home .vfiles summary::-webkit-details-marker { display: none; }
.home .vfiles summary::after { content: ""; width: 7px; height: 7px; margin-left: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.home .vfiles[open] summary::after { transform: translateY(2px) rotate(225deg); }
.home .vfiles ul { display: grid; padding: 0; list-style: none; }
.home .vfiles li { display: flex; align-items: center; gap: 6px; min-height: 46px; border-top: 1px solid var(--hairline); font-size: .82rem; line-height: 1.3; }
.home .vfiles li span { flex: 1; min-width: 0; }
.home .vgo, .home .vdl { flex: none; width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 1px solid var(--hairline); border-radius: 50%; background: var(--surface); color: var(--accent-pressed); cursor: pointer; }
.home .vgo svg, .home .vdl svg { width: 15px; height: 15px; fill: currentColor; }
.home .vfnote { margin-top: 10px; color: var(--ink-2); font-size: .84rem; }
/* the clip, apart from the creations, under the offers */
.home .offclip { display: flex; align-items: flex-start; gap: 12px; margin: 18px 0 0; padding: 14px 16px; border: 1px dashed var(--gold); border-radius: var(--radius); background: rgba(255, 253, 248, .7); color: var(--ink-2); font-size: .92rem; line-height: 1.5; }
.home .offclip svg { flex: none; width: 22px; height: 22px; margin-top: 1px; fill: var(--accent-pressed); }
.home .offclip b { color: var(--ink); font-weight: 600; }
/* preview only: a demo medium the owner has not yet authorised for the public site (site/src/media.json); --publish refuses it */
.home.preview [data-pending] { outline: 2px dashed var(--ak-watch); outline-offset: -2px; }
.home.preview [data-pending]::before { content: "Média à autoriser"; position: absolute; z-index: 9; top: 8px; right: 60px; padding: 2px 9px; border: 1px solid var(--ak-watch); border-radius: 99px; background: var(--surface); color: var(--ak-watch-ink); font: 700 11px/1.4 var(--ui); pointer-events: none; }
.home.preview .pclip[data-pending]::before, .home.preview .vcard[data-pending]::before { right: 8px; }
.home.preview .vscr[data-pending]::before { top: 10px; right: auto; left: 10px; bottom: auto; z-index: 9; }
.home.preview .vscr:not(.vpaper)[data-pending]::before { bottom: auto; top: 10px; left: auto; right: 62px; }
/* Khmer: more room for its marks, no italics */
html.home[lang="km"] .vf b, html.home[lang="km"] .vsteps button, html.home[lang="km"] .vdecor span, html.home[lang="km"] .vprice, html.home[lang="km"] .vcond, html.home[lang="km"] .vline, html.home[lang="km"] .vwhole button, html.home[lang="km"] .vct b, html.home[lang="km"] .vfiles li, html.home[lang="km"] .offclip { line-height: 1.6; }
html.home[lang="km"] .vside h3 { line-height: 1.45; }
html.home[lang="km"] .vside h3 em, html.home[lang="km"] .pcap b { font-style: normal; }
html.home[lang="km"] .vscr { line-height: 1.55; }
html.home[lang="km"] .pcap b { font-family: var(--khmer); font-size: 1.35rem; line-height: 1.5; }
html.home[lang="km"] .pin b, html.home[lang="km"] .vsegs b, html.home[lang="km"] .pseg em { line-height: 1.5; }
@media (prefers-reduced-motion: reduce) {
  .home .proof { animation: none !important; opacity: 1; transform: none; }
  .home .vl, .home .vsheet, .home .vt-blk, .home .vchip, .home .vtoast, .home .vveil, .home .vwait, .home .pph, .home .pin, .home .pvid, .home .vvid, .home .vhand, .home .vbtn { transition: none !important; }
  .home .vspin, .home .vclock::before, .home .vclock::after { animation: none !important; }
}

/* [videos chapter 2026-11-30] « Explore videos », the Video row's link to the chapter (« Make it yours ») */
.home .vmore { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 4px; color: var(--accent-pressed); font-weight: 600; font-size: .91rem; text-decoration: underline; text-underline-offset: 3px; }
.home .vmore svg { width: 16px; height: 16px; flex: none; }
.home .vmore:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
/* [videos chapter, fix 2026-11-30, found by PWA 1 before deploy] on a phone, once the bar of five choices plays, the words under
   it let every tap through (.f > div: pointer-events none, so the bar can be swiped): « Explore videos » takes its taps back
   while Video is the choice shown, and is out of reach — no tap, no Tab — while another choice is shown */
@media (max-width: 899px) {
  .home .playing .f.on .vmore { pointer-events: auto; }
  .home .playing .f:not(.on) .vmore { visibility: hidden; }
}

/* [GO final 2026-11-30, owner: last targeted adjustments, no redesign] ------------------------------------------------- */
/* 1. the wave: on a computer whose screen is shorter than the hero, the wave rides the screen's bottom edge, under the
   buttons and the prices. The hero starts higher on such screens, and a soft paper halo keeps the buttons and the prices
   readable over the bars (the bars still pass under it, as under the title's own halo). */
@media (min-width: 900px) and (max-height: 860px) {
  .home .hero { padding-top: calc(108px + var(--banner-h)); }
  /* the English title follows the screen's height too (its three lines); the Khmer homes keep their validated sizes */
  html.home[lang="en"] .hero h1 { font-size: min(5.2rem, 7.2vw, 10.6vh); }
  .home .hero-text > .cta { margin-top: 20px; }
}
.home .hero-text > .cta, .home .hero-text > .note { position: relative; }
.home .hero-text > .note::before { content: ""; position: absolute; inset: -14px -26px -16px -22px; z-index: -1; border-radius: 999px; background: radial-gradient(closest-side, rgba(247, 242, 234, .96), rgba(247, 242, 234, .9) 62%, rgba(247, 242, 234, 0)); pointer-events: none; }
@media (max-width: 899px) { .home .hero-text > .note::before { inset: -10px -14px -12px; } }
/* 2. How it works: the Create microphone says both gestures, as the app does, and « release to finish » while the hand holds
   it — both sentences in one place, so nothing moves */
.home .dmict { display: grid; justify-items: center; text-align: center; }
.home .dmict > span { grid-area: 1 / 1; transition: opacity .2s; }
.home .dmict .b, .home .dmic.held + .dmict .a { opacity: 0; }
.home .dmic.held + .dmict .b { opacity: 1; }
/* the voice as the app has it: Man chosen first with his three characters; Woman (.fem) shows hers in their place; Ayden's
   choice is on until the hand picks one (.soft). Both sets share one place: nothing moves. */
.home .dvblk:not(.fem) .dvoice.dvm, .home .dvblk.fem .dvoice.dvw { background: var(--accent); color: var(--on-accent); }
.home .dvblk:not(.fem) .dvoice.dvm svg, .home .dvblk.fem .dvoice.dvw svg { color: inherit; }
.home .dvblk:not(.fem) .dvoice.dvm > .dck, .home .dvblk.fem .dvoice.dvw > .dck { opacity: 1; }
.home .dvst { margin-top: .6em !important; font-weight: 600; }
.home .dvcs { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: .3em; margin-top: .35em !important; }
.home .dvset { grid-area: 1 / 2; display: flex; flex-wrap: wrap; gap: .3em; transition: opacity .25s; }
.home .dvblk:not(.fem) .dvset.dvwomen, .home .dvblk.fem .dvset.dvmen { visibility: hidden; opacity: 0; }
.home .dvc { display: inline-block; padding: .22em .65em; border: 1px solid var(--hairline); border-radius: 99px; background: var(--surface); font-size: .8em; font-style: normal; font-weight: 600; white-space: nowrap; transition: background .25s, color .25s, border-color .25s; }
.home .dvblk:not(.soft) .dvc.dva, .home .dvblk.soft .dvc.dvsoft { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-pressed); }
/* 3. Videos — the whole-song montage: its result fills most of the screen (5 : 4, the frame's left 70 %: the karaoke's photo
   and words, the clips in the middle); the editor's 16 : 9 and its whole timeline only while a step edits (.edit). */
.home #vp-montage .vscr:not(.edit) .vmv { aspect-ratio: 5 / 4; }
.home #vp-montage .vscr:not(.edit) .vmv .vfill { object-position: 5% 50%; }
.home #vp-montage .vscr:not(.edit) .vtl { margin-top: .55em; gap: .3em; }
.home #vp-montage .vscr:not(.edit) .vlane { height: 2em; }
.home #vp-montage .vscr:not(.edit) .vcur { top: 1.05em; }
.home #vp-montage .vrow2 .vbtn { min-height: 2.6em; }
/* the karaoke video: the same big frame, so its synced lyrics read large; its two actions side by side under it */
.home #vp-karaoke .vl[data-l="3"] { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-content: start; column-gap: .5em; padding: 0 1.1em; }
.home #vp-karaoke .vl[data-l="3"] > :not(.vbtn) { grid-column: 1 / -1; }
.home #vp-karaoke .vl[data-l="3"] > .vmv { margin: 0 -1.1em; aspect-ratio: 5 / 4; }
.home #vp-karaoke .vmv .vfill { object-position: 5% 50%; }
.home #vp-karaoke .vl[data-l="3"] > .vsh { padding: .7em 0 0; }
.home #vp-karaoke .vl[data-l="3"] > .vbtn { margin: .55em 0 0; padding: 0 .6em; }
