/* Papertale landing. One cream sheet, cut-paper pieces, a navy proscenium. No external requests. */

@font-face { font-family: "DynaPuff"; font-weight: 700; font-display: swap; src: url("fonts/DynaPuff_700Bold.woff") format("woff"); }
@font-face { font-family: "Nunito"; font-weight: 600; font-display: swap; src: url("fonts/Nunito_600SemiBold.woff") format("woff"); }
@font-face { font-family: "Nunito"; font-weight: 800; font-display: swap; src: url("fonts/Nunito_800ExtraBold.woff") format("woff"); }
@font-face { font-family: "Caveat Brush"; font-weight: 400; font-display: swap; src: url("fonts/CaveatBrush_400Regular.woff") format("woff"); }

:root {
  /* the app's palette */
  --sheet: #F1E6D2;
  --sheet-deep: #E8D9BD;
  --paper: #FFF9EE;
  --ink: #2E2A4F;
  --ink-soft: #57537A;
  --sun: #FFD15C;
  --sun-deep: #F0A93A;
  --sky: #9FCDED;
  --kraft: #E3C59B;
  --leaf: #8FCB9B;
  --blush: #FF9E8A;
  --frame: #33355F;
  --night: #232850;

  --display: "DynaPuff", "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  --body: "Nunito", ui-rounded, "Segoe UI", system-ui, sans-serif;
  --hand: "Caveat Brush", "Bradley Hand", cursive;

  /* spacing: 4 / 8 / 12 / 16 / 24 / 32 / 48 / 72 / 96 */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 72px; --s9: 96px;
  --gutter: 20px;
  --wrap: 1120px;
  --fs-body: clamp(1.125rem, 1.07rem + .2vw, 1.25rem);
  --fs-lede: clamp(1.25rem, 1.15rem + .45vw, 1.5rem);
  --fs-h4: clamp(1.25rem, 1.15rem + .4vw, 1.5rem);
  --fs-h3: clamp(1.75rem, 1.3rem + 1.8vw, 2.75rem);
  --fs-h2: clamp(2rem, 1.4rem + 2.2vw, 3.25rem);
  --fs-h1: clamp(2rem, 1rem + 4.2vw, 3.75rem);
  --fs-tag: 1.125rem;
  --fs-fine: 1.125rem;

  /* two-step paper shadow, light and dark grounds */
  --sh-light: drop-shadow(0 2px 0 rgba(46, 42, 79, .10)) drop-shadow(0 6px 8px rgba(46, 42, 79, .14));
  --sh-strong: drop-shadow(0 2px 0 rgba(46, 42, 79, .24)) drop-shadow(0 10px 14px rgba(46, 42, 79, .2));
  --sh-dark: drop-shadow(0 1px 1px rgba(8, 10, 30, .34)) drop-shadow(0 7px 9px rgba(8, 10, 30, .24));
  --sh: var(--sh-light);
  --focus: var(--ink);

  /* hand-cut outlines: x in %, wobble in px so wide pieces stay calm */
  --cut-a: polygon(0 4px, 22% 0, 48% 5px, 76% 1px, 100% 6px, 99.5% 40%, 100% 70%, 99% calc(100% - 2px), 70% calc(100% - 6px), 46% 100%, 20% calc(100% - 4px), 0 calc(100% - 1px), .5% 60%);
  --cut-b: polygon(0 3px, 28% 0, 56% 6px, 84% 1px, 99% 4px, 100% 44%, 99.4% 72%, 100% calc(100% - 1px), 74% calc(100% - 5px), 46% 100%, 20% calc(100% - 5px), 1% 100%, 0 56%);
  --cut-c: polygon(1% 5px, 30% 1px, 60% 5px, 92% 0, 100% 3px, 99% 36%, 100% 66%, 98.6% 100%, 62% calc(100% - 4px), 34% calc(100% - 1px), 8% calc(100% - 5px), 0 calc(100% - 2px), .6% 50%);
  /* small pieces: chips, buttons (the app's own percent shapes) */
  --chip-0: polygon(1% 8%, 22% 2%, 48% 6%, 76% 1%, 99% 7%, 97% 38%, 100% 66%, 98% 95%, 72% 99%, 46% 94%, 20% 100%, 2% 94%, 0 62%, 2% 32%);
  --chip-1: polygon(0 4%, 30% 8%, 55% 1%, 83% 6%, 100% 2%, 98% 40%, 100% 72%, 96% 100%, 68% 95%, 40% 99%, 14% 94%, 3% 100%, 1% 60%);
  --chip-2: polygon(3% 2%, 35% 6%, 64% 0, 97% 5%, 100% 35%, 96% 63%, 99% 97%, 62% 100%, 37% 95%, 8% 99%, 0 70%, 4% 38%);
  --chip-3: polygon(0 6%, 18% 0, 50% 5%, 82% 1%, 100% 8%, 97% 50%, 99% 92%, 76% 97%, 52% 100%, 25% 95%, 3% 98%, 2% 55%);
  --btn: polygon(0 8%, 22% 2%, 50% 8%, 78% 0, 100% 6%, 99% 48%, 100% 94%, 76% 99%, 48% 93%, 20% 100%, 1% 94%, 2% 50%);
  --tape: polygon(0 12%, 8% 0, 14% 14%, 24% 2%, 36% 12%, 50% 0, 64% 10%, 78% 1%, 88% 12%, 100% 2%, 98% 50%, 100% 98%, 86% 86%, 74% 100%, 60% 88%, 46% 100%, 32% 90%, 20% 100%, 10% 86%, 0 96%, 3% 50%);

  /* paper grain: a small noise tile, drawn in the page, not fetched */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .18  0 0 0 0 .16  0 0 0 0 .31  1.6 0 0 0 -.62'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.2'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--sheet) var(--grain);
  color: var(--ink);
  font: 600 var(--fs-body)/1.5 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--sun-deep); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--s4); top: -64px; z-index: 20; background: var(--paper); padding: var(--s2) var(--s4); border-radius: 8px; font-weight: 600; }
.skip:focus { top: var(--s3); }

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

h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.12; margin: 0; letter-spacing: 0; text-wrap: balance; }
h1 { font-size: var(--fs-h1); line-height: 1.1; }
h2 { font-size: var(--fs-h2); line-height: 1.06; }
h3 { font-size: var(--fs-h4); line-height: 1.2; }
p { margin: 0; text-wrap: pretty; }
.lede { font-size: var(--fs-lede); line-height: 1.4; max-width: 30em; }
.soft { color: var(--ink-soft); }

/* ---------- paper pieces ---------- */
.paper { position: relative; isolation: isolate; filter: var(--sh); }
.paper::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--grain), var(--face, var(--paper));
  clip-path: var(--cut, var(--cut-a));
}
.cut-a { --cut: var(--cut-a); } .cut-b { --cut: var(--cut-b); } .cut-c { --cut: var(--cut-c); }
.tape { position: absolute; width: 80px; height: 24px; z-index: 2; background: rgba(255, 249, 238, .82); clip-path: var(--tape); }



/* ---------- the one action: a yellow paper button ---------- */
.btn-wrap { display: inline-block; filter: var(--sh-light); transform: rotate(-1deg); border-radius: 6px; }
.btn-wrap:focus-within { outline: 3px solid var(--ink); outline-offset: 5px; }
.btn { display: block; padding: var(--s4) var(--s6); min-height: 60px; background: var(--grain), var(--sun); clip-path: var(--btn); font: 700 1.375rem/1.2 var(--display); color: var(--ink); text-decoration: none; transition: transform .15s ease-out; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(.98); }
.btn:focus-visible { outline: none; }
.micro { margin-top: var(--s2); font-size: var(--fs-fine); line-height: 1.4; color: var(--ink-soft); }

/* ---------- hero: the theatre, the app's logo hanging on its stage ---------- */
.hero { padding: var(--s3) 0 var(--s7); }
.hero-grid { display: grid; gap: var(--s3); }
.proscenium { position: relative; --vh: 28px; padding: var(--vh) 10px 10px; background: var(--grain), var(--frame); display: flex; flex-direction: column; }
.window { position: relative; overflow: hidden; container-type: inline-size; aspect-ratio: 1 / .9; background: #9FCDED; flex: none; }
.window::after { content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none; box-shadow: inset 0 10px 16px rgba(8, 10, 30, .4), inset 0 0 0 2px rgba(8, 10, 30, .25); }
.art { position: absolute; left: 0; top: 8cqw; width: 100cqw; height: 100cqw; }
.valance { position: absolute; left: 0; right: 0; top: 0; height: var(--vh); z-index: 3; background: var(--grain), var(--frame); filter: var(--sh-dark); }
.valance::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 22px; margin-top: -1px;
  background: var(--grain), var(--frame); background-position: 0 calc(-1 * var(--vh) + 1px);
  -webkit-mask: var(--scallop) repeat-x 0 0 / 330px 22px; mask: var(--scallop) repeat-x 0 0 / 330px 22px;
  --scallop: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='330' height='22' viewBox='0 0 330 22'%3E%3Cpath d='M0,0 L0,6 L0,6 A15.0,14 0 0 0 30,6 L30,6 A13.0,11 0 0 0 56,6 L56,6 A17.0,16 0 0 0 90,6 L90,6 A14.0,12 0 0 0 118,6 L118,6 A16.0,15 0 0 0 150,6 L150,6 A13.0,11 0 0 0 176,6 L176,6 A15.0,14 0 0 0 206,6 L206,6 A17.0,16 0 0 0 240,6 L240,6 A14.0,12 0 0 0 268,6 L268,6 A15.0,13 0 0 0 298,6 L298,6 A16.0,15 0 0 0 330,6 L330,0 Z'/%3E%3C/svg%3E");
}
.hang { position: absolute; z-index: 2; left: 50cqw; top: 0; width: 58cqw; transform: translateX(-50%); container-type: inline-size; margin: 0; pointer-events: none; }
.hang .logo { display: block; width: 100%; height: auto; margin-top: 4cqw; overflow: visible; }
.thread { position: absolute; top: 0; width: 2px; background: rgba(46, 42, 79, .5); }
.thread.t1 { left: 6.1%; height: 17cqw; } .thread.t2 { left: 90.4%; height: 22cqw; }
.pin { --face: var(--paper); position: absolute; z-index: 3; right: 2cqw; top: 43cqw; width: 28cqw; padding: 12px 10px 10px; transform: rotate(3deg); }
.pin .tonight { position: absolute; top: -12px; right: -4px; left: auto; font-size: 1.125rem; transform: rotate(4deg); padding: 2px 12px 4px; }
.pin p { margin-top: 4px; font: 700 1rem/1.3 var(--display); text-wrap: balance; }
.hero-copy { position: relative; padding: var(--s5) var(--s4) var(--s6); --face: var(--paper); display: flex; flex-direction: column; justify-content: center; }
.hero-copy h1 { margin-bottom: var(--s3); text-wrap: balance; }
.hero-copy .lede { margin-bottom: var(--s4); font-size: clamp(1.125rem, .9rem + .9vw, 1.5rem); max-width: 28em; }
.cta { margin-bottom: var(--s4); }
.quiet { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s5); font: 600 1.125rem/1.4 var(--body); color: var(--ink-soft); }
.quiet b { font-weight: 800; color: var(--ink); }
.stores { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s3); margin-top: var(--s4); }
.store { --face: var(--kraft); color: var(--ink); display: flex; align-items: center; gap: var(--s2); padding: 6px var(--s4); min-height: 44px; font: 700 1.125rem/1.2 var(--body); filter: none; }
.store svg { flex: none; width: 22px; height: 22px; }

/* ---------- sections ---------- */
.band { position: relative; padding: var(--s7) 0; overflow-x: clip; }
.band.alt { background: var(--sheet-deep) var(--grain); }
.head { margin-bottom: var(--s5); display: grid; gap: var(--s2); justify-items: center; text-align: center; }
.head .lede { color: var(--ink-soft); max-width: 32em; }
.fine { color: var(--ink); font-size: var(--fs-fine); margin-top: var(--s4); line-height: 1.45; }
.legal { font-size: 1rem; color: var(--ink-soft); text-align: center; margin: var(--s2) auto 0; max-width: 40em; }
.eg span { display: inline-block; padding: 2px 14px; background: var(--grain), var(--kraft); clip-path: var(--chip-2); font: 700 1.125rem/1.4 var(--body); color: var(--ink); }
.library .eg { margin-top: var(--s1); }

/* features */
.features .head { margin-bottom: 0; }
.ftext h3, .fcol h3, .lead h3 { font-size: var(--fs-h3); line-height: 1.08; margin-bottom: var(--s3); text-wrap: balance; }
.fcol h3 { font-size: clamp(1.625rem, 1.25rem + 1.4vw, 2.375rem); margin-bottom: var(--s2); }
.line { font-size: var(--fs-lede); line-height: 1.4; max-width: 28em; text-wrap: pretty; }
.panel { --face: var(--sky); padding: clamp(20px, 3vw, 32px); display: grid; place-items: center; filter: var(--sh-strong); }

/* lead: heading and picture on one mat */
.lead { --face: var(--kraft); filter: var(--sh-strong); margin-top: var(--s5); padding: var(--s5) var(--s4) var(--s6); }
.lead-head { position: relative; display: grid; justify-items: start; text-align: left; gap: var(--s1); margin-bottom: var(--s5); }
.lead-head .line { max-width: 34em; }
.lead-head .eg { margin-top: var(--s1); }
.lead-row { display: grid; gap: 36px; }
.pc { --face: var(--paper); position: relative; padding: var(--s4); display: flex; align-items: center; justify-content: center; filter: var(--sh-light); }
.pc:not(:last-child)::after { content: ""; position: absolute; left: 50%; top: 100%; height: 36px; border-left: 3px dashed rgba(46, 42, 79, .55); }
.rec { gap: var(--s4); }
.disc { flex: none; display: grid; place-items: center; width: 112px; height: 112px; background: var(--grain), var(--sky); clip-path: polygon(100.4% 50.0%, 99.7% 60.6%, 96.6% 70.8%, 91.7% 80.3%, 84.0% 87.8%, 75.7% 94.6%, 64.9% 96.0%, 55.2% 99.6%, 44.6% 100%, 34.4% 98.0%, 24.3% 94.5%, 17.4% 86.2%, 9.6% 79.3%, 5.1% 70.0%, 0.9% 60.4%, 0% 50.0%, 2.8% 40.0%, 5.2% 30.1%, 10.2% 21.1%, 15.6% 11.8%, 24.5% 5.9%, 34.9% 3.6%, 44.7% 0%, 55.1% 1.5%, 65.6% 2.1%, 74.3% 7.8%, 82.3% 14.1%, 91.5% 19.8%, 94.7% 30.1%, 97.9% 39.8%); }
.disc svg { width: 64px; height: 64px; }
.wave { flex: 1; min-width: 0; height: 80px; display: flex; align-items: center; gap: 3px; }
.wave i { flex: 1; min-width: 3px; height: var(--h); background: var(--grain), var(--c); clip-path: var(--k); animation: bar 3.6s ease-in-out var(--d) infinite alternate; }
@keyframes bar { from { transform: scaleY(.62); } to { transform: scaleY(1); } }
.hand q { display: block; quotes: none; text-align: center; font: 400 clamp(1.875rem, 1.5rem + 1.2vw, 2.375rem)/1.15 var(--hand); color: var(--ink); }
.hand .tape { top: -12px; left: 24px; transform: rotate(-4deg); }
.inline { --face: #FFF3CF; display: block; padding-top: var(--s5); }
.inline .tab { position: absolute; top: -16px; left: 16px; padding: 4px 16px 6px; background: var(--grain), var(--ink); color: var(--paper); clip-path: var(--chip-2); font: 700 1.125rem/1.2 var(--display); transform: rotate(-2deg); }
.inline p { font-size: 1.1875rem; line-height: 1.5; font-weight: 600; }
.inline mark { background: linear-gradient(transparent 52%, rgba(214, 170, 110, .9) 52%); color: inherit; font-weight: 800; }
.privline { display: flex; align-items: center; justify-content: center; gap: var(--s2); margin-top: var(--s4); font: 700 1.125rem/1.4 var(--body); text-align: center; }
.privline svg { flex: none; width: 24px; height: 24px; }

/* tale card + voices: an asymmetric pair of equal-height mats */
.pair { display: grid; gap: var(--s6); margin-top: var(--s7); align-items: stretch; }
.fcol { display: flex; flex-direction: column; }
.fcol .panel { flex: 1; margin-top: var(--s4); }
.talecard { --face: var(--paper); width: min(100%, 420px); padding: 12px 12px 20px; display: grid; transform: translate(12px, -14px) rotate(-1.5deg); margin-bottom: -14px; }
.talecard .tape { top: -14px; left: 50%; margin-left: -40px; transform: rotate(-3deg); }
.slide { grid-area: 1 / 1; position: relative; display: block; }
.slide > * { opacity: 0; }
.slide.s0 > * { opacity: 1; }
.slide img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tonight { position: absolute; top: 14px; left: -4px; transform: rotate(-4deg); padding: 4px 16px 6px; background: var(--grain), var(--ink); color: var(--paper); clip-path: var(--chip-2); font: 400 1.5rem/1.1 var(--hand); }
.ttl { margin: var(--s4) var(--s2) 0; font: 700 clamp(1.5rem, 1.2rem + 1vw, 1.875rem)/1.3 var(--display); text-wrap: balance; }
.who { display: inline-block; font: 400 1.25em/1 var(--hand); padding: .08em .32em .14em; margin-right: .06em; background: var(--grain), var(--kraft); clip-path: var(--chip-3); transform: rotate(-2deg); }
.tags { display: flex; flex-wrap: wrap; gap: var(--s2); margin: var(--s3) var(--s2) 0; }
.tags span { padding: 4px 14px; background: var(--grain), var(--kraft); clip-path: var(--chip-1); font: 700 1.125rem/1.3 var(--body); }
.cycle .slide > * { animation: slide 24s var(--dl, 0s) infinite; }
.cycle .s0 { --dl: -.5s; } .cycle .s1 { --dl: -18.5s; } .cycle .s2 { --dl: -12.5s; } .cycle .s3 { --dl: -6.5s; }
@keyframes slide { 0% { opacity: 0; } 2.083%, 25% { opacity: 1; } 27.083%, 100% { opacity: 0; } }

.voices { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; gap: var(--s3); }
.voice { --face: var(--paper); display: flex; align-items: center; gap: var(--s3); padding: var(--s3) var(--s4); width: 100%; border: 0; background: none; cursor: pointer; text-align: left; position: relative; transition: transform .12s ease-out; }
.voices li:nth-child(1) .voice { transform: rotate(-.8deg); } .voices li:nth-child(2) .voice { transform: rotate(.6deg); } .voices li:nth-child(3) .voice { transform: rotate(-.4deg); }
.voice:active { transform: scale(.97) !important; }
.voice:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.voice .pl { flex: none; display: grid; place-items: center; width: 48px; height: 50px; background: var(--grain), var(--sun); color: var(--ink); clip-path: var(--chip-0); }
.voice .pl svg { width: 22px; height: 22px; }
.voice .ic-play { margin-left: 3px; } .voice .ic-stop { display: none; }
.voice b { font: 700 1.5rem/1.1 var(--display); }
.voice .hear { font: 700 1.125rem/1.2 var(--body); color: var(--ink-soft); }
.eqz { display: none; margin-left: auto; align-items: flex-end; gap: 3px; height: 26px; }
.eqz i { display: block; width: 6px; height: 100%; background: var(--ink); clip-path: var(--chip-2); transform-origin: 50% 100%; transform: scaleY(.4); animation: eqb .9s ease-in-out infinite alternate; }
.eqz i:nth-child(2) { animation-delay: -.3s; } .eqz i:nth-child(3) { animation-delay: -.6s; } .eqz i:nth-child(4) { animation-delay: -.15s; }
@keyframes eqb { from { transform: scaleY(.3); } to { transform: scaleY(1); } }
.voice .prog { position: absolute; left: var(--s4); right: var(--s4); bottom: 8px; height: 6px; background: var(--grain), var(--kraft); clip-path: var(--chip-3); opacity: 0; }
.voice .prog i { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: 0 50%; background: var(--ink); }
.voice.playing { --face: #FFF3CF; padding-bottom: var(--s5); }
.voice.playing .prog { opacity: 1; } .voice.playing .eqz { display: flex; }
.voice.playing .pl { background: var(--grain), var(--ink); color: var(--paper); }
.voice.playing .ic-play { display: none; } .voice.playing .ic-stop { display: block; }
.voices .mine { display: flex; align-items: center; gap: var(--s3); padding: var(--s3) var(--s1) 0; border-top: 3px dashed rgba(46, 42, 79, .4); margin-top: var(--s1); }
.mine .mic { flex: none; display: grid; place-items: center; width: 44px; height: 46px; background: var(--grain), var(--paper); clip-path: var(--chip-1); }
.mine .mic svg { width: 30px; height: 30px; }
.mine b { font: 700 1.375rem/1.1 var(--display); }
.mine .atl { white-space: nowrap; margin-left: auto; padding: 2px 12px; background: var(--grain), var(--kraft); box-shadow: inset 0 0 0 2px var(--ink); font: 700 1.125rem/1.3 var(--body); border-radius: 4px; }

/* watch it, or put the phone down */
.theatre { --face: var(--sky); filter: var(--sh-strong); display: grid; gap: var(--s5); margin-top: var(--s7); padding: var(--s5) var(--s4) var(--s6); align-items: start; }
.theatre .ftext h3 { margin-bottom: var(--s2); }
.mat { display: grid; gap: var(--s5); align-items: end; justify-items: center; }
.phone { width: min(100%, 250px); margin-top: 0; margin-bottom: 0; position: relative; z-index: 2; padding: 10px; background: var(--grain), var(--frame); border-radius: 36px; filter: var(--sh-dark); transform: rotate(-4deg); }
.phone .scr { background: var(--paper); border-radius: 27px; overflow: hidden; }
.pic { position: relative; overflow: hidden; container-type: inline-size; aspect-ratio: 1024 / 928; background: var(--sheet-deep); }
.pic .live { position: absolute; left: 0; top: -9.375cqw; width: 100cqw; height: 100cqw; }
.ctl { padding: var(--s3) var(--s4) var(--s4); }
.chap { font: 700 1.125rem/1.2 var(--body); margin-bottom: var(--s2); }
.track { display: block; height: 12px; background: var(--grain), var(--kraft); clip-path: var(--chip-3); }
.track i { display: block; height: 100%; width: 42%; background: var(--grain), var(--ink); clip-path: var(--chip-2); }
.btns { display: flex; justify-content: center; margin-top: var(--s3); }
.play { display: grid; place-items: center; width: 56px; height: 58px; background: var(--grain), var(--sun); clip-path: var(--chip-0); color: var(--ink); }
.play svg { width: 26px; height: 26px; margin-left: 3px; }
.vig { display: grid; gap: var(--s4); justify-items: center; width: min(100%, 320px); }
.polaroid { --face: var(--paper); margin: 0; padding: 10px 10px 12px; transform: rotate(2.5deg); }
.polaroid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.polaroid figcaption { margin-top: 6px; font: 400 1.75rem/1.1 var(--hand); text-align: center; }
.fdchips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s3); }
.chip { display: inline-flex; align-items: center; gap: var(--s2); padding: 8px 16px; background: var(--grain), var(--kraft); clip-path: var(--chip-1); font: 700 1.125rem/1.2 var(--body); color: var(--ink); }
.chip svg { width: 20px; height: 20px; flex: none; }
.fdchips .chip.paper { --face: var(--paper); background: none; clip-path: none; padding: var(--s3) var(--s4); }
.fdchips .chip:nth-child(1) { transform: rotate(-1.5deg); } .fdchips .chip:nth-child(2) { transform: rotate(1deg); }

/* the paper world: a snap row on phones, three varied cards on wide screens */
.mode { display: flex; gap: var(--s3); align-items: center; justify-content: center; flex-wrap: wrap; margin-top: var(--s1); }
.mode-wrap { display: inline-block; filter: var(--sh-light); border-radius: 6px; }
.mode-wrap:focus-within { outline: 3px solid var(--ink); outline-offset: 4px; }
.mode-btn { font: 700 var(--fs-tag)/1 var(--body); color: var(--ink); border: 0; cursor: pointer; padding: var(--s3) var(--s6); min-height: 52px; background: var(--grain), var(--paper); clip-path: var(--chip-3); transition: transform .15s ease-out; }
.mode-btn:focus-visible { outline: none; }
.mode-wrap:nth-child(2) .mode-btn { clip-path: var(--chip-1); }
.mode-btn:hover { transform: translateY(-1px); }
.mode-btn:active { transform: scale(.97); }
.mode-btn[aria-pressed="true"] { background: var(--grain), var(--sun); }
.cards { display: flex; gap: var(--s5); overflow-x: auto; scroll-snap-type: x mandatory; padding: var(--s5) var(--gutter) var(--s5); margin: 0 calc(-1 * var(--gutter)); scroll-padding-inline: var(--gutter); scrollbar-width: thin; }
.cards:focus-visible { outline-offset: -4px; }
.place { --face: var(--paper); flex: 0 0 min(84%, 420px); scroll-snap-align: center; padding: var(--s3) var(--s3) var(--s5); }
.place:nth-child(1) { transform: rotate(-1.4deg); } .place:nth-child(2) { transform: rotate(.9deg); } .place:nth-child(3) { transform: rotate(-.6deg); }
.place .pic { background: var(--sheet-deep); }
.place h3 { margin: var(--s4) var(--s3) var(--s2); font-size: var(--fs-h4); }
.place p { margin: 0 var(--s3); color: var(--ink-soft); font-size: 1.125rem; line-height: 1.4; }
.place .tape { top: -10px; left: 50%; margin-left: -40px; transform: rotate(-3deg); }

/* library: a compact strip of evenings */
.shelf { list-style: none; margin: 0; padding: var(--s3) var(--gutter) var(--s4); margin-inline: calc(-1 * var(--gutter)); display: flex; gap: var(--s4); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); }
.tale { --face: var(--paper); flex: 0 0 178px; scroll-snap-align: start; padding: var(--s2) var(--s2) var(--s3); display: flex; flex-direction: column; }
.tale:nth-child(odd) { transform: rotate(-1.2deg); } .tale:nth-child(even) { transform: rotate(1deg); }
.tale img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.tale time { margin: var(--s2) var(--s1) 0; font: 700 1.0625rem/1.2 var(--body); color: var(--ink-soft); }
.tale b { margin: 2px var(--s1) 0; font: 700 1.0625rem/1.25 var(--display); }
.shelf .empty { --face: var(--kraft); align-items: center; justify-content: center; text-align: center; gap: var(--s2); padding: var(--s4) var(--s3); transform: rotate(.6deg); }
.shelf .empty b { font-size: 1.1875rem; line-height: 1.2; margin: 0; }
.shelf .moon { width: 44px; height: 44px; color: var(--ink); }

/* languages: compact chips; big flags with hover names on wide screens */
.langs { padding: var(--s6) 0; }
.flags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s2); justify-content: center; }
.flags li { display: flex; align-items: center; gap: var(--s2); padding: 4px var(--s4) 4px 6px; background: var(--grain), var(--paper); clip-path: var(--chip-3); }
.flag { display: block; width: 32px; flex: none; aspect-ratio: 1; border-radius: 50%; overflow: hidden; }
.flag svg { display: block; width: 100%; height: 100%; }
.nm { display: block; font: 700 1.125rem/1.2 var(--body); color: var(--ink); }

/* pricing */
.plans { display: grid; gap: var(--s5); align-items: stretch; }
.plan { padding: var(--s5); display: grid; gap: var(--s2); align-content: start; }
.plan h3 { font-size: 1.5rem; }
.plan p { font-size: 1.125rem; line-height: 1.4; }
.plan .amount { font: 700 clamp(2.25rem, 1.8rem + 1.6vw, 3rem)/1.1 var(--display); }
.plan .amount small { font: 700 1.125rem/1 var(--body); color: var(--ink-soft); }
.plan .eq { font: 700 1.375rem/1.25 var(--display); }
.plan.best { filter: var(--sh-strong); --face: var(--ink); }
.plan.best::after { content: ""; position: absolute; inset: 4px; background: var(--grain), var(--paper); clip-path: inherit; z-index: -1; }
.plan.best > :not(.bestv) { position: relative; z-index: 1; }
.plan.best .bestv { z-index: 2; }
.bestv { position: absolute; top: -16px; right: 20px; padding: 4px 16px 6px; background: var(--grain), var(--kraft); box-shadow: inset 0 0 0 2px var(--ink); border-radius: 4px; font: 700 1.125rem/1.2 var(--display); transform: rotate(2deg); }
.incl { margin: var(--s5) auto 0; font-weight: 700; max-width: 36em; text-align: center; }
.cta-row { margin-top: var(--s5); text-align: center; }

/* faq: one column at a comfortable measure */
.faq { display: grid; gap: var(--s3); max-width: 760px; margin: 0 auto; }
.faq details { padding: 0; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s4); min-height: 64px; padding: var(--s3) var(--s5); font: 700 clamp(1.1875rem, 1.1rem + .4vw, 1.375rem)/1.3 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 40px; height: 40px; font: 700 2rem/1 var(--display); color: var(--ink); }
.faq details[open] summary::after { content: "\2212"; }
.faq details > p { padding: 0 var(--s5) var(--s5); max-width: 38em; animation: fade .2s ease-out; }
.faq a { padding: 12px 4px; margin: -12px -4px; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* footer */
.site-foot { padding: var(--s6) 0 var(--s6); border-top: 2px dashed rgba(46, 42, 79, .25); }
.foot { display: grid; gap: var(--s4); justify-items: center; text-align: center; }
.brand { display: inline-block; text-decoration: none; }
.brand .logo { display: block; width: 150px; height: auto; filter: var(--sh-light); }
.fcta { display: grid; gap: var(--s2); justify-items: center; font-size: 1.125rem; }
.site-foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 var(--s6); font-size: 1.125rem; }
.site-foot nav a { font-weight: 700; padding: 12px 0; min-height: 44px; display: inline-block; }
.copy { color: var(--ink-soft); font-size: 1rem; }

/* ---------- privacy page ---------- */
.doc { padding: var(--s6) 0 var(--s9); }
.doc header { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); margin-bottom: var(--s7); flex-wrap: wrap; }
.backlink { display: inline-block; filter: var(--sh-light); text-decoration: none; }
.backlink span { display: block; padding: var(--s3) var(--s5); background: var(--grain), var(--sun); clip-path: var(--btn); font: 600 1.0625rem/1.2 var(--body); }
.draft-wrap { display: inline-block; filter: var(--sh-light); }
.draft { display: inline-block; font: 600 1rem/1.2 var(--body); padding: var(--s2) var(--s4); background: var(--grain), var(--sun); clip-path: var(--chip-3); }
.prose { --face: var(--paper); padding: var(--s6) var(--s5); max-width: 46rem; margin: 0 auto; }
.prose h1 { font-size: clamp(2rem, 1.4rem + 3vw, 3rem); margin-bottom: var(--s3); }
.prose h2 { font-size: 1.75rem; margin: var(--s6) 0 var(--s2); }
.prose p, .prose li { margin-top: var(--s3); max-width: 38em; }
.prose a { padding: 12px 4px; margin: -12px -4px; }
.prose ul { padding-left: 1.2em; margin: var(--s2) 0 0; }
.prose li { padding-left: var(--s1); }
.prose li::marker { color: var(--sun-deep); }


/* ---------- wider screens ---------- */
@media (min-width: 640px) {
  .lead-head .eg { position: absolute; top: 0; right: 0; margin: 0; }
  .phone { margin-bottom: -88px; width: min(100%, 270px); }
  .theatre { padding: var(--s5) var(--s5) var(--s6); }
  :root { --gutter: 32px; }
  .proscenium { --vh: 36px; padding-inline: 16px; }
  .window { aspect-ratio: 1 / .92; }
  .art { top: 6cqw; }
  .hero-copy { padding: var(--s5) var(--s5) var(--s6); }
  .lead { padding: var(--s5) var(--s5) var(--s6); }
  .shelf { margin-inline: 0; padding-inline: 0; overflow: visible; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tale { flex: none; }
  .tale img { aspect-ratio: 16 / 10; }
  .tale b, .tale time { font-size: 1.125rem; }
  .mat { grid-template-columns: auto auto; gap: var(--s6); justify-content: space-evenly; }
}
@media (min-width: 720px) {
  .cards { display: grid; grid-template-columns: 1fr 1.16fr 1fr; gap: var(--s5); overflow: visible; padding: var(--s3) 0 0; margin: 0; align-items: start; }
  .place { flex: none; }
  .place h3 { font-size: 1.25rem; }
  .plans { grid-template-columns: 1fr 1fr 1fr; }
}
@media (min-width: 768px) and (hover: hover) {
  .flags { flex-wrap: nowrap; justify-content: space-between; gap: 0 var(--s2); }
  .flags li { position: relative; display: block; padding: 0; background: none; clip-path: none; flex: 1; max-width: 80px; }
  .flag { width: 100%; max-width: 76px; box-shadow: 0 0 0 3px var(--paper); filter: var(--sh-light); transition: transform .15s ease-out; }
  .flags li:hover .flag { transform: translateY(-3px); }
  .nm { position: absolute; bottom: calc(100% + 14px); left: 50%; transform: translateX(-50%); margin: 0; padding: var(--s2) var(--s4); background: var(--grain), var(--paper); clip-path: var(--chip-3); white-space: nowrap; opacity: 0; pointer-events: none; z-index: 2; }
  .flags li:hover .nm { opacity: 1; }
  .flags li:first-child .nm { left: 0; transform: none; }
  .flags li:nth-child(n+10) .nm { left: auto; right: 0; transform: none; }
}
@media (min-width: 900px) {
  .lead-row { grid-template-columns: 1.2fr 1fr 1.15fr; gap: 48px; align-items: stretch; }
  .pc:not(:last-child)::after { left: 100%; top: 50%; width: 48px; height: 0; border-left: 0; border-top: 3px dashed rgba(46, 42, 79, .55); }
  .disc { width: 128px; height: 128px; }
  .pair { grid-template-columns: 7fr 5fr; gap: var(--s7); }
  .theatre { grid-template-columns: 4fr 8fr; gap: var(--s6); padding: var(--s6); }
  .shelf { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s5); }
}
@media (min-width: 1000px) {
  :root { --wrap: 1280px; }
  .pin { right: 2cqw; top: 62cqw; width: 30cqw; }
  .hero { padding: var(--s3) 0 var(--s4); }
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: var(--s5); align-items: stretch; }
  .proscenium { --vh: 44px; padding: var(--vh) 20px 20px; }
  .window { aspect-ratio: auto; flex: 1; min-height: 520px; }
  .art { left: 50%; top: auto; bottom: 0; transform: translateX(-50%); width: auto; aspect-ratio: 1; height: max(155cqw, 100%); }
  .hero-copy { padding: var(--s6); }
  .band { padding: 56px 0; }
  .band.features { padding-top: 56px; }
  .lead { margin-top: var(--s6); }
  .pair, .theatre { margin-top: 48px; }
  .langs { padding: var(--s6) 0; }
  .langs h2 { font-size: 2.5rem; }
  .langs .head { margin-bottom: var(--s5); }
  .foot { grid-template-columns: auto 1fr auto; text-align: left; justify-items: start; align-items: center; }
  .fcta { justify-items: start; }
  .copy { grid-column: 1 / -1; }
}

.watch:not(.on) *, .watch.cycle:not(.on) .slide { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (min-width: 1180px) { .pin { top: auto; bottom: 3cqw; right: 3cqw; width: 30cqw; } }
