/* ---- v7.css ---- */
/* ============================================================================
   Starwink website v7 (founder review of v6, 2026-09-29). Loads after v6.css; overrides only.
   ========================================================================== */

/* 1. the shelf rides the founder's S-curve: the row may rise above its own box (never over the numbers; the
   script keeps it clear of them), the page clips it only at the sides, and the row fades into both edges */
.shelf { overflow-x: clip; }
.ribbon { overflow: visible; -webkit-mask-image: none; mask-image: none; margin-top: var(--sp-6); }

/* 2. the worlds title: on the page, left-aligned, the letters popping in one by one, a star at the end */
.wt7 { padding: var(--site-section) 0 calc(var(--site-section) * 0.6); }

.wt7-a, .wt7-b { display: block; }
.wt7-a { color: var(--ink-title); }
.wt7-b { color: var(--cta); }
#app-frame.dz-light .wt7-b { color: var(--tag-ink-gold); }
.wt7-w { display: inline-block; white-space: nowrap; }
.wt7-ch { display: inline-block; opacity: 0; transform: translateY(0.55em) rotate(14deg) scale(0.55); transform-origin: 50% 90%; }
.wt7.is-in .wt7-ch { animation: wt7-pop calc(720ms * var(--dz-k)) var(--ease-settle) forwards; animation-delay: calc(var(--i) * 34ms * var(--dz-k)); }
@keyframes wt7-pop { 60% { opacity: 1; transform: translateY(-0.08em) rotate(-4deg) scale(1.08); } 100% { opacity: 1; transform: none; } }

@keyframes wt7-star { to { opacity: 1; transform: none; } }
@keyframes wt7-twinkle { from { scale: 1; filter: drop-shadow(0 0 0 rgba(var(--cta-rgb), 0)); } to { scale: 1.18; filter: drop-shadow(0 0 10px rgba(var(--cta-rgb), 0.7)); } }

/* 3. keepsakes: the page's own ground, the open card back to its night card */
.k4-card { background: rgba(var(--feature-bg-rgb), 0.94); background-image: none; color: var(--onart-ink); box-shadow: var(--sh-lg), inset 0 0 0 1px rgba(242, 239, 232, 0.14); }
.k4-cname { color: var(--onart-ink); }
.k4-desc { color: rgba(242, 239, 232, 0.92); }
.k4-fact { background: rgba(var(--cta-rgb), 0.1); box-shadow: inset 0 0 0 1px rgba(var(--cta-rgb), 0.28); }
.k4-fact p { color: rgba(242, 239, 232, 0.94); }
.k4-fk { color: var(--cta) !important; }
.k4-fact .src { color: rgba(242, 239, 232, 0.86); }
.k4-from { color: rgba(242, 239, 232, 0.86); }
.k4-from strong { color: var(--onart-ink); }
.k4-name { background: rgba(var(--feature-bg-rgb), 0.86); color: var(--onart-ink); box-shadow: inset 0 0 0 1px rgba(242, 239, 232, 0.16); }

/* 4. you're in charge: the settings card, Tuk yawning on its top edge, each switch turning on with a glow;
   then what is always on, as a row of promises popping in */
.c6-card { position: relative; margin-top: 5.5rem; }
.c7-tuk { position: absolute; right: var(--sp-5); bottom: calc(100% - 1.2rem); width: 8.5rem; height: auto; pointer-events: none; transform-origin: 50% 100%;
  filter: drop-shadow(0 10px 16px rgba(var(--shadow-rgb), 0.35)); animation: c7-breathe calc(4.5s * var(--dz-air)) var(--ease-loop) infinite alternate; }
@keyframes c7-breathe { from { scale: 1 1; } to { scale: 1.015 1.03; } }
.c6-rows li { position: relative; }
.c6-rows li::before { content: ""; position: absolute; inset: 2px calc(-1 * var(--sp-3)); border-radius: var(--radius-row); background: var(--gold-wash); opacity: 0; pointer-events: none; }
.c6-rows li > * { position: relative; }
.c6-rows li.is-flip::before { animation: c7-flash calc(900ms * var(--dz-k)) var(--ease-soft); }
@keyframes c7-flash { 20% { opacity: 1; } 100% { opacity: 0; } }
.c6-rows li.is-flip .c6-mark { animation: c7-mark calc(600ms * var(--dz-k)) var(--ease-settle); }
@keyframes c7-mark { 40% { transform: scale(1.18) rotate(-8deg); } }
.c4-sw.c6-sw.is-on i { animation: c7-knob calc(450ms * var(--dz-k)) var(--ease-settle); }
@keyframes c7-knob { 45% { scale: 1.3 0.85; } }
.c7-always { margin-top: var(--sp-7); }

@media (max-width: 899.98px) { .c6-card { margin-top: 5rem; } .c7-tuk { width: 7rem; } }

/* 5. why rhyme: four small living cards, each a real line from our stories */
.why7 { padding: var(--site-section) 0; }
.y7-head { max-width: 44rem; }
.y7-grid { list-style: none; margin: var(--sp-7) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 0.6rem + 1vw, 1.5rem); }
.y7-card { display: flex; flex-direction: column; border-radius: var(--radius-card); background: var(--l1); box-shadow: var(--sh-card), inset 0 0 0 1px var(--hairline); overflow: hidden;
  opacity: 0; transform: translateY(30px) rotate(calc((var(--i) - 1.5) * 1.4deg));
  transition: opacity calc(600ms * var(--dz-k)) var(--ease-light), transform calc(800ms * var(--dz-k)) var(--ease-settle), box-shadow calc(var(--dur-medium) * var(--dz-k)) var(--ease-light);
  transition-delay: calc(var(--i) * 120ms * var(--dz-k)); }
.y7-grid.is-in .y7-card { opacity: 1; transform: none; }
.y7-grid.is-in .y7-card:hover { transform: translateY(-5px) rotate(-0.6deg); box-shadow: var(--sh-lg), inset 0 0 0 1px var(--hairline-strong); transition-delay: 0s; }
.y7-demo { position: relative; display: grid; align-content: center; gap: var(--sp-3); min-height: 9.5rem; margin: var(--sp-2); padding: var(--sp-4);
  border-radius: calc(var(--radius-card) - var(--sp-2)); background: var(--l2); background-image: var(--corner-glow); }
.y7-body { flex: 1; display: flex; flex-direction: column; gap: var(--sp-2); padding: var(--sp-2) var(--sp-5) var(--sp-5); }
.y7-n { font-family: var(--font-numeral); font-weight: 600; font-size: 1.7rem; line-height: 1; color: var(--tag-ink-gold); }
.y7-q { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.15rem, 1rem + 0.35vw, 1.35rem); line-height: 1.2; color: var(--ink-title); text-wrap: balance; }
.y7-a { margin: 0; font-size: 0.95rem; line-height: 1.55; color: var(--ink-body); }
.y7-src { margin-top: auto; padding-top: var(--sp-2); display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-meta); font-weight: 700; color: var(--ink-body); text-decoration: none; }
.y7-src .ico { flex: none; width: 15px; height: 15px; color: var(--tag-ink-gold); }
.y7-src span:last-child { text-decoration: underline; text-decoration-color: var(--hairline-strong); text-underline-offset: 3px; }
.y7-src:hover span:last-child { color: var(--ink-title); text-decoration-color: currentColor; }
/* the demos, sized for the card */
.y7-demo .y6-verse { font-size: 0.98rem; line-height: 1.6; }
.y7-demo .y6-week { gap: 4px; }
.y7-demo .y6-disc { width: 1.85rem; height: 1.85rem; transition: none; }
.y7-demo .y6-disc .ico { width: 14px; height: 14px; }
.y7-demo .y6-rime { gap: 6px; font-size: 0.9rem; }
.y7-demo .y6-rime > span:not(.y6-arrow) { padding: 3px 10px; background: var(--l1); }
.y7-demo .y6-pair { gap: var(--sp-2); }
.y7-demo .y6-pair p { font-size: 0.95rem; gap: var(--sp-2); }
.y7-demo .y6-pair p[lang="ro"] { opacity: 1; transform: none; transition: none; }
.y7-demo .y6-end, .y7-demo .y6-chip { transition: none; }
/* the loops: only while the card is live and on screen */
.y7-grid:not(.is-onscreen) .y7-card * { animation-play-state: paused !important; }
.y7-card.is-live .y6-disc { animation: y7-night calc(5.6s * var(--dz-air)) var(--ease-soft) infinite; animation-delay: calc(var(--d) * 0.3s); }
@keyframes y7-night { 0%, 6% { background: var(--l1); color: var(--ink-body); scale: 1; } 14%, 76% { background: var(--gold-wash); color: var(--tag-ink-gold); scale: 1.1; } 90%, 100% { background: var(--l1); color: var(--ink-body); scale: 1; } }
.y7-card.is-live .y6-end { animation: y7-under calc(4.4s * var(--dz-air)) var(--ease-soft) infinite; }
.y7-card.is-live .ln + .ln .y6-end { animation-delay: 0.45s; }
@keyframes y7-under { 0%, 8% { background-size: 0% 2px; } 30%, 78% { background-size: 100% 2px; } 92%, 100% { background-size: 0% 2px; } }
.y7-card.is-live .y6-chip { animation: y7-chip calc(4.4s * var(--dz-air)) var(--ease-settle) infinite; }
@keyframes y7-chip { 0%, 30% { opacity: 0; transform: scale(0.6); } 42%, 80% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: scale(0.8); } }
.y7-card[data-demo="guess"].is-live .ln:first-child .y6-end { animation: none; background-size: 100% 2px; }
.y7-card.is-live .y6-land { animation: y7-land calc(4.6s * var(--dz-air)) var(--ease-settle) infinite; }
@keyframes y7-land { 0%, 28% { opacity: 0; transform: translateY(-0.8em) rotate(-10deg); } 42%, 82% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: translateY(0.2em); } }
.y7-card.is-live .y6-pair p[lang="en"] { animation: y7-lang calc(5s * var(--dz-air)) var(--ease-soft) infinite; }
.y7-card.is-live .y6-pair p[lang="ro"] { animation: y7-lang calc(5s * var(--dz-air)) var(--ease-soft) infinite; animation-delay: calc(-2.5s * var(--dz-air)); }
@keyframes y7-lang { 0%, 40% { opacity: 1; } 50%, 90% { opacity: 0.32; } 100% { opacity: 1; } }
@media (max-width: 1180px) { .y7-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .y7-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .wt7-ch, .wt7-star, .wt7-line { opacity: 1; transform: none; animation: none !important; }
  .c7-tuk, .y7-card * { animation: none !important; }
  .c7-chips li, .y7-card { opacity: 1; transform: none; }
  .y7-demo .y6-disc { background: var(--gold-wash); color: var(--tag-ink-gold); }
  .y7-demo .y6-end { background-size: 100% 2px; }
  .y7-demo .y6-chip, .y7-demo .y6-land { opacity: 1; transform: none; }
}

/* v7.1 - the row fades into both page edges under a veil of the page's own colour (see-through cards looked like ghosts) */
.ribbon::before, .ribbon::after { content: ""; position: absolute; top: -60%; bottom: -10%; width: clamp(2rem, 7vw, 7rem); z-index: 6000; pointer-events: none; }
.ribbon::before { left: 0; background: linear-gradient(90deg, var(--l0), rgba(var(--l0-rgb, 0, 0, 0), 0)); background: linear-gradient(90deg, var(--l0) 0%, transparent 100%); }
.ribbon::after { right: 0; background: linear-gradient(270deg, var(--l0) 0%, transparent 100%); }
.ribbon { position: relative; z-index: 1; isolation: isolate; }   /* its cards and veils stack inside the row, always under the site header */

/* v7.2 - the treasures never reach the words: more room above and below the field (with the bounded drift in v4.js) */
.k4-field { margin-top: var(--sp-7); margin-bottom: var(--sp-4); }

/* v7.3 - the treasures sit beside the open card, never behind it: v4.js measures the card and places them in the two side
   regions (px centres and sizes as --x, --y, --s). The field is as tall as the tallest card plus a little air, so no dead band. */
@media (min-width: 820px) {
  .k4-field { height: 44rem; }
  .k4-t { width: var(--s, 6rem); left: var(--x, 50%); top: var(--y, 50%); }
  .k4-t.is-off { display: none; }
}

/* ---- v8.css ---- */
/* Starwink website v8 (2026-09-29): the keepsakes become a pinned scene with depth (founder: "large blurred keepsakes ...
   on the sides, close to the camera, other keepsakes closer to the center ... the card in the very center").
   Far: small soft treasures in the gaps. Mid: the sixteen sharp keepsakes, the only ones you can tap. Near: large
   treasures blurred in their image files, at the frame's corners. v4.js places every plane and moves it; CSS only
   sets the planes, sizes and stacking. Phones keep their grid. */

@media (min-width: 820px) {
  .keeps4 { overflow: clip; }   /* hidden would stop the scene from holding (sticky) */
  .k8-pin { position: relative; height: calc(100vh + 70vh); }
  .k4-field { position: sticky; top: 0; height: 100vh; max-width: none; margin: 0; overflow: clip; isolation: isolate; --hdr: 72px; }
  .k4-card { top: calc(50% + var(--hdr) / 2); transition: scale 120ms linear, opacity calc(200ms * var(--dz-k)) var(--ease-light), transform calc(200ms * var(--dz-k)) var(--ease-light); }

  /* the sharp ones: JS owns their transform (position + camera + pointer); the float stays on the picture inside */
  .k4-t { transition: none; will-change: transform; }

  .k8-far, .k8-near { position: absolute; inset: 0; pointer-events: none; }
  .k8-far { z-index: 0; }
  .k8-f { position: absolute; left: var(--x); top: var(--y); width: var(--s, 3rem); aspect-ratio: 1; will-change: transform; }
  .k8-f.is-off { display: none; }
  .k8-f img { display: block; width: 100%; height: 100%; object-fit: contain; opacity: 0.5; filter: blur(1.4px) saturate(0.8) drop-shadow(0 6px 10px rgba(var(--shadow-rgb), 0.4));
    animation: k5-float calc(var(--bob) * var(--dz-air)) ease-in-out var(--delay) infinite alternate; }
  .k4-field:not(.is-live) .k8-f img { animation-play-state: paused; }

  .k8-near { z-index: 30;   /* in front of everything, the card included; it never reaches the card */
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 6%, #000 93%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 6%, #000 93%, transparent 100%); }
  .k8-n { position: absolute; left: var(--x); top: var(--y); width: var(--s, 20rem); height: var(--s, 20rem); object-fit: contain; opacity: 0.94; will-change: transform; }

  /* the hint rides under the card, inside the scene, when there is room */
  .k8-hint { position: absolute; left: 50%; bottom: var(--sp-4); z-index: 12; translate: -50% 0; margin: 0; white-space: nowrap; transition: opacity calc(var(--dur-medium) * var(--dz-k)) var(--ease-light); }
  .k8-hint.is-hidden { opacity: 0; }
}
/* short laptop screens: the tallest card (Romanian, a long fact) must fit under the header */
@media (min-width: 820px) and (max-height: 820px) {
  .k4-card { padding: var(--sp-5) var(--sp-5) var(--sp-4); }
  .k4-img { width: 6rem; height: 6rem; }
  .k4-desc { font-size: 0.95rem; line-height: 1.45; }
  .k4-fact { margin-top: var(--sp-3); }
  .k4-fact p { font-size: 0.9rem; line-height: 1.42; }
  .k4-from { margin-top: var(--sp-3); }
}
@media (max-width: 819.98px) {
  .k8-far, .k8-near { display: none; }
  .k8-hint { margin: var(--sp-4) 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  .k8-pin { height: auto; }
  .k8-f img { animation: none !important; }
}

/* the hint is an instruction: title ink so it reads on either ground (body ink measured 4.39 on the phone light ground) */
.k8-hint { color: var(--ink-title); }

/* ---- v9.css ---- */
/* Starwink website v9 (2026-09-29): the keepsakes scene, second pass (founder: the title on two lines; the large blurred
   treasures scroll into view first and start further up; large and small treasures in a dynamic composition, above,
   below and behind the card; vertical parallax only; a striking, immersive section). v4.js places and moves every
   plane; CSS sets the planes and their stacking. Phones keep their grid. */

/* the title on two lines (the break is in the copy) */
.k4-head .h2 { white-space: pre-line; text-wrap: balance; }

@media (min-width: 820px) {
  .k4-head { position: relative; z-index: 31; }   /* the words stay above every plane */
  /* near: the whole section is its space, so the first ones rise beside the title */
  .k8-near { position: absolute; inset: 0; z-index: 30; pointer-events: none; -webkit-mask-image: none; mask-image: none; }
  .k8-n { left: var(--x); top: 0; }
  /* mid: in front of the card or tucked behind it */
  .k4-t[data-plane="front"] { z-index: 12; }
  .k4-t[data-plane="back"] { z-index: 5; }
  .k4-t[data-plane="back"] img { filter: drop-shadow(0 8px 12px rgba(var(--shadow-rgb), 0.5)) saturate(0.95); }
  .k4-card { transition: opacity calc(200ms * var(--dz-k)) var(--ease-light), transform calc(200ms * var(--dz-k)) var(--ease-light); }
}
@media (prefers-reduced-motion: reduce) {
  .k8-near { display: none; }
}

/* the hint has its own ground, so treasures drifting past (arm B) go behind it, never over the words */
.k8-hint { z-index: 13; padding: 6px var(--sp-3); border-radius: var(--radius-pill); background: var(--l0); box-shadow: inset 0 0 0 1px var(--hairline); }

/* phones: the light version (no hold, two bands round the card, two blurred ones at the edges, no far plane, no idle float) */
@media (max-width: 819.98px) {
  .k4-head { position: relative; z-index: 31; }
  .k4-field { position: relative; padding: var(--k9-top, 0px) 0 var(--k9-bot, 0px); }
  .k4-float { position: absolute; inset: 0; display: block; padding: 0; }
  .k4-t { position: absolute; left: var(--x); top: var(--y); width: var(--s); max-width: none; justify-self: auto; will-change: transform; }
  .k4-t[data-pplane="front"] { z-index: 12; }
  .k4-t[data-pplane="back"] { z-index: 5; }
  .k4-t img, .k4-halo { animation: none; }
  .k4-card { position: relative; z-index: 10; width: auto; max-width: min(27rem, calc(100% - 2 * var(--site-gutter))); margin: 0 auto; }
  .k8-hint { position: relative; display: block; width: fit-content; margin: var(--sp-4) auto 0; }
  .k8-near { display: block; position: absolute; inset: 0; z-index: 30; pointer-events: none; -webkit-mask-image: none; mask-image: none; }
  .k8-n { position: absolute; left: var(--x); top: 0; width: var(--s); height: var(--s); object-fit: contain; opacity: 0.94; will-change: transform; }
  .k8-n.is-off { display: none; }
}

/* phones: the two-line title must fit its longest line (Romanian "se termină cu o amintire") inside a 360px screen */
@media (max-width: 819.98px) {
  .k4-head .h2 { font-size: clamp(1.6rem, 6.9vw, 2.6rem); }
}

/* ---- v10.css ---- */
/* Starwink website v10 (2026-09-29): the phone-first pass (founder: "the mobile version does need a thorough verification and rework"; "keep the desktop version as it is").
   Every rule here sits inside the phone breakpoint; desktop is unchanged from v9. The critique it answers: STRATEGY-v2 section 18. */

@media (max-width: 819.98px) {
  /* 1. worlds: one swipe row of seven cards (was a 5.7-screen scroll story); the next card peeks so the row reads as a row */
  #app-frame.w4-stacked .w4-list { display: block; padding-bottom: var(--site-section); }
  .w4-row { display: flex; gap: var(--sp-3); overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scrollbar-width: none;
    margin-inline: calc(-1 * var(--site-gutter)); padding: var(--sp-2) var(--site-gutter) var(--sp-4); scroll-padding-inline: var(--site-gutter); }
  .w4-row::-webkit-scrollbar { display: none; }
  .w4-row .w4-card { flex: 0 0 84%; scroll-snap-align: start; grid-template-columns: 1fr; align-items: stretch; align-content: start; }
  .w4-row .w4-card img { height: 12.5rem; min-height: 0; }
  .w4-row .w4-card > div { padding: var(--sp-4); }

  /* the worlds title shows whole on a phone (a thumb scrolls faster than it typed) */
  .wt7-ch, .wt7-line { opacity: 1; transform: none; animation: none !important; transition: none; }
  
  .wt7 { padding-bottom: var(--sp-5); }

  /* 3. method and Make: one demo panel above a compact list; nothing pinned, nothing greyed; the current step shows its words */
  .m4-stage-col, .mk-stage-col { position: relative; top: auto; }
  .m4-steps .m4-step, .m4-steps .m4-step:first-child, .m4-steps .m4-step:last-child,
  .mk-beats .mk-beat, .mk-beats .mk-beat:first-child, .mk-beats .mk-beat:last-child { min-height: 3.25rem; padding: var(--sp-3) 0; opacity: 1; cursor: pointer; align-items: center; }   /* beats the scroll-story padding (244px top) and last-step height (503px) */
  .m4-step .h3, .mk-beat .h3 { font-size: 1.15rem; }
  .m4-step:not(.is-now) .step-d, .mk-beat:not(.is-now) .step-d { display: none; }
  .m4-steps .m4-step.is-now, .mk-beats .mk-beat.is-now { align-items: start; }   /* the open step's mark sits beside its title, not mid-paragraph */
  .m4-steps, .mk-beats { margin-top: var(--sp-5); border-top: 1px solid var(--hairline); }
  .m4-step, .mk-beat { border-bottom: 1px solid var(--hairline); }
  .m4-grid, .mk-grid { gap: 0; }

  /* 2 + 9. keepsakes: no blurred edge treasures on a phone; the title at the same size as every other section */
  .k8-near { display: none !important; }
  .k4-head .h2 { font-size: clamp(2.3rem, 1.4rem + 3.8vw, 4.4rem); white-space: normal; }
  .k10-sheet { position: fixed; inset: 0; z-index: 90; }
  .k10-scrim { position: absolute; inset: 0; background: rgba(var(--shadow-rgb), 0.55); opacity: 0; transition: opacity calc(240ms * var(--dz-k)) var(--ease-light); }
  .k10-panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: 88vh; overflow: auto; overscroll-behavior: contain; outline: none;
    padding: var(--sp-5) var(--site-gutter) calc(var(--sp-5) + env(safe-area-inset-bottom, 0px)); border-radius: var(--radius-sheet) var(--radius-sheet) 0 0;
    background: var(--feature-bg); box-shadow: var(--sh-lg); transform: translateY(100%); transition: transform calc(300ms * var(--dz-k)) var(--ease-settle); }
  .k10-sheet.is-open .k10-scrim { opacity: 1; }
  .k10-sheet.is-open .k10-panel { transform: none; }
  .k10-grip { display: block; width: 2.5rem; height: 4px; margin: calc(-1 * var(--sp-3)) auto var(--sp-3); border-radius: var(--radius-pill); background: rgba(242, 239, 232, 0.3); }
  .k10-x { position: absolute; top: var(--sp-2); right: var(--sp-2); width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: none; color: var(--onart-ink); cursor: pointer; }
  .k10-x svg { width: 20px; height: 20px; }
  .k10-card.k4-card { position: static; translate: none; width: auto; max-width: none; margin: 0; padding: 0; background: none; box-shadow: none; }
  html.k10-lock { overflow: hidden; }

  /* 7. plans read Free, Library, Studio */
  .p4-card--lib { order: 0; }

  /* 4. finger-sized controls (hit areas grow; the type does not) */
  .seg--sm button, .player-bar .seg button, .mu-lang button { min-height: 44px; }
  .progress button { height: 44px; }
  .mu-seek { height: 44px; }
  .m4-tabs button { min-height: 44px; min-width: 44px; }
  
  .site-head .brand { padding-block: 5px; }

  /* 5. no label under 12px */
  .mu-soon, .r4-pt .mu-soon, .m4-tabs button, .m4-draft-k, .y6-day, .y6-tag, .mk-ex { font-size: 12px; }

  /* 11. phones: solid grounds instead of live background blur, and loops rest while their section is off screen */
  .site-head, .mu-shelf, .p4-card, .dock, .stage-end { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  #app-frame .site-head.is-scrolled, #app-frame .site-head.has-ground, #app-frame .site-head.dz-night.has-ground:not(.is-scrolled) { background: rgba(var(--feature-bg-rgb), 0.97); box-shadow: 0 1px 0 rgba(242, 239, 232, 0.08); }
  #app-frame.arm-shelf .site-head.has-ground:not(.is-scrolled) { background: var(--l0); box-shadow: 0 1px 0 var(--hairline); }   /* the light hero keeps its dark header ink */
  .sw-away, .sw-away *, .sw-away::before, .sw-away::after, .sw-away *::before, .sw-away *::after { animation-play-state: paused !important; }
  .k4-t[data-band="b"] { top: auto; bottom: var(--yb); }
  .keeps4 { overflow-anchor: none; }   /* the script holds the tapped treasure in place; the browser's own anchoring moved it a second time */
  .k4-t:hover img { transform: none; }   /* a tap leaves hover stuck on touch screens; the tap feedback is :active */
}
@media (max-width: 819.98px) and (prefers-reduced-motion: reduce) {
  .m4-step .step-d, .mk-beat .step-d { display: block !important; }
  .k10-panel, .k10-scrim { transition: none; }
}

/* ---- v11.css ---- */
/* Starwink website v11 - the question-ordered journey (STRATEGY-v3, 2026-09-30).
   Layers on v2-v10; the app's tokens only (vendor/tokens.css). One gold commit per view: every new action
   block is the same gold join button, and the header goes quiet while one is on screen (site.js). */

/* ---- screen 1: the headline says what it is (both lines visible: topic words for readers and search) ---- */

/* the age choice opens the chapter at that age (the hero is complete at rest: nothing here waits for a reveal) */

/* money and status in words (numbers live in the plans, once final); who makes it */

#app-frame .hero .proof { margin-top: var(--sp-4); }

/* ---- the chapter: its length and whose voice, then what waits in the app ---- */
.player-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px var(--sp-2); margin: var(--sp-3) 0 0; font-size: var(--fs-meta); color: var(--ink-meta); }
.dz-night .player-meta { color: rgba(242, 239, 232, 0.78); }
.player-meta .ico { width: 1rem; height: 1rem; color: var(--cta); }
.player-meta .pm-dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: 0.6; }
.player-meta #player-len:empty + .pm-dot { display: none; }
.player-more { margin: var(--sp-5) 0 0; text-align: center; font-weight: 700; font-size: var(--fs-label); color: var(--ink-body); }
.dz-night .player-more { color: var(--onart-ink); }
.end-more { margin: var(--sp-2) 0 0; font-size: var(--fs-label); color: var(--onart-ink); }
.end-more:empty { display: none; }

/* ---- one story, two languages (folded): the fact, a line per family, one button that flips the chapter ---- */

.l11-flip { gap: var(--sp-2); }
.l11-flip .ico { width: 1.1rem; height: 1.1rem; }

/* ---- is it safe? the plain screen answer under the promises ---- */

/* ---- every stage ends with the next step (same gold button; the header goes quiet while it shows) ---- */
.stage-cta { margin-top: var(--sp-8); text-align: center; }
.stage-cta .actions { justify-content: center; margin-top: 0; }
.stage-cta .note { text-align: center; }
.stage-cta .join { margin: 0 auto; }
.faq .stage-cta { margin-top: var(--sp-7); }

/* ---- who makes it: the Romanian line ---- */

/* ---- the join form and the header's sheet: retired 2026-10-30, redesigned in v17.css ---- */
html.jsh-open { overflow: hidden; }

/* ---- the header: the language links look like the old switch; on phones both stay once scrolled ---- */
.seg a { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 0 var(--sp-4); border-radius: var(--radius-pill);
  font-weight: 700; font-size: var(--fs-label); color: var(--ink-meta); text-decoration: none;
  transition: color calc(var(--dur-small) * var(--dz-k)) var(--ease-light), background-color calc(var(--dur-small) * var(--dz-k)) var(--ease-light); }
.seg a[aria-pressed="true"] { background: var(--l3); color: var(--ink-title); box-shadow: var(--sh-sm); }
.seg--sm a { min-height: 32px; padding: 0 var(--sp-3); font-size: var(--fs-meta); }
.site-head:not(.is-scrolled) .seg--sm a { color: rgba(242, 239, 232, 0.72); }
.site-head:not(.is-scrolled) .seg--sm a[aria-pressed="true"] { background: rgba(242, 239, 232, 0.16); color: var(--onart-ink); box-shadow: none; }
.arm-shelf .site-head:not(.is-scrolled) .seg--sm a { color: var(--ink-meta); }
.arm-shelf .site-head:not(.is-scrolled) .seg--sm a[aria-pressed="true"] { background: var(--l3); color: var(--ink-title); }
a.head-cta { text-decoration: none; }
@media (max-width: 559.98px) {
  .site-head .head-tools { gap: var(--sp-2); }
  .site-head.is-scrolled .seg--sm { display: inline-flex; }
  .site-head .seg--sm a { min-height: 44px; padding: 0 10px; }
  .site-head .head-cta.btn--sm { padding: 0 var(--sp-3); }
}

