/* Starwink website v13 (2026-09-30): the founder's 19-item review of v12.
   The family lines move under the chapter; a counting number for "a world of words"; "Is it safe?" gets a full-width screen
   answer under its two columns; the worlds get a real welcome with a map of the day; each music shelf shows one real example
   and the rest as quiet tiles; a clean footer. Tokens only; the only vectors are the app's icons. */

/* ============================ the header action: the full words on wide screens, one verb on phones ============================
   Measured at 375px: "Join the waitlist" ended at 388px, off the screen; "Join" and "Înscrie-te" fit from 360px up. */
.head-cta .hc-short { display: none; }
@media (max-width: 559.98px) {
  .head-cta .hc-long { display: none; }
  .head-cta .hc-short { display: inline; }
}
@media (max-width: 379.98px) { .site-head .head-cta.btn--sm { padding-inline: 10px; } }   /* "Înscrie-te" ended 2px into the gutter at 360px */

/* ============================ the chapter: two lines for two kinds of family ============================ */
.l13-who { margin: var(--sp-7) 0 0; gap: var(--sp-3); grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); }
.l13-who li { align-items: center; padding: var(--sp-4) var(--sp-5); border-radius: var(--radius-card); font-size: 1.02rem; line-height: 1.5;
  color: var(--onart-ink); background: rgba(var(--pure-white-rgb), 0.05); box-shadow: inset 0 0 0 1px rgba(var(--pure-white-rgb), 0.1); }
.l13-who .c6-mark { background: rgba(var(--cta-rgb), 0.16); color: var(--cta); }
@media (max-width: 819.98px) { .l13-who { margin-top: var(--sp-5); } .l13-who li { padding: var(--sp-3) var(--sp-4); font-size: 0.97rem; } }

/* ============================ why rhyme: a world of words ============================ */
.y13-count { margin: 0; display: grid; gap: 6px; }
.y13-count b { font-family: var(--font-numeral); font-weight: 600; font-size: clamp(2.2rem, 1.6rem + 1.4vw, 2.9rem); line-height: 1; color: var(--tag-ink-gold); letter-spacing: -0.01em; }
.y13-count span { font-size: 0.92rem; font-weight: 700; line-height: 1.35; color: var(--ink-body); }

/* ============================ is it safe: the screen answer spans both columns ============================ */
.s13-screen { display: grid; grid-template-columns: auto minmax(0, 0.8fr) minmax(0, 2fr); gap: var(--sp-5); align-items: center; margin-top: var(--sp-7);
  padding: var(--sp-5) var(--sp-6); border-radius: var(--radius-card); background: var(--l1); box-shadow: var(--sh-card), inset 0 0 0 1px var(--hairline); }
.s13-screen .h3 { margin: 0; font-size: 1.2rem; }
.s13-screen .step-d { margin: 0; }
.s12-always { margin-top: var(--sp-6); }
@media (max-width: 899.98px) {
  .s13-screen { grid-template-columns: auto 1fr; gap: var(--sp-2) var(--sp-4); padding: var(--sp-4); }
  .s13-screen .step-d { grid-column: 1 / -1; }
}

/* ============================ the worlds, introduced: on their own night ground, with a map of the day ============================ */
.wt13 { position: relative; padding: var(--site-section) 0 var(--sp-8); background: var(--feature-bg); }
.wt13 .wt7-a { color: var(--onart-ink); }
.wt13 .wt7-line { color: rgba(242, 239, 232, 0.86); max-width: 38rem; }
#app-frame.dz-light .wt13 .wt7-b, #app-frame.dz-light .wt13 .wt7-star { color: var(--cta); }
.wt13-map { position: relative; display: flex; align-items: center; gap: var(--sp-3); margin-top: var(--sp-7); }
.wt13-map::before { content: ""; position: absolute; left: 1.2rem; right: 1.2rem; top: calc(1.2rem + 0px); height: 2px; border-radius: 2px; transform: translateY(-50%);
  background: linear-gradient(90deg, rgba(var(--cta-rgb), 0.7), rgba(var(--pure-white-rgb), 0.18)); pointer-events: none; }
.wt13-sun, .wt13-moon { flex: none; width: 1.4rem; height: 1.4rem; align-self: flex-start; margin-top: 0.5rem; color: var(--cta); position: relative; z-index: 1; }
.wt13-moon { color: rgba(242, 239, 232, 0.8); }
.wt13-list { list-style: none; margin: 0; padding: 0; flex: 1; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: var(--sp-3); position: relative; z-index: 1; }
.wt13-w { appearance: none; border: 0; background: none; padding: 0; width: 100%; cursor: pointer; display: grid; justify-items: center; gap: var(--sp-2); color: var(--onart-ink); font: inherit; }
.wt13-pic { display: block; width: clamp(3.4rem, 2rem + 3vw, 5.4rem); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--l2);
  box-shadow: 0 0 0 3px var(--feature-bg), 0 0 0 4px rgba(var(--pure-white-rgb), 0.25), 0 10px 24px -8px rgba(var(--shadow-rgb), 0.8);
  transition: transform calc(260ms * var(--dz-k)) var(--ease-out), box-shadow calc(260ms * var(--dz-k)) var(--ease-out); }
.wt13-pic img { width: 100%; height: 100%; object-fit: cover; }
.wt13-name { font-weight: 700; font-size: var(--fs-label); line-height: 1.3; text-align: center; color: rgba(242, 239, 232, 0.88); }
@media (hover: hover) and (pointer: fine) {
  .wt13-w:hover .wt13-pic { transform: translateY(-4px) scale(1.05); box-shadow: 0 0 0 3px var(--feature-bg), 0 0 0 5px var(--cta), 0 14px 28px -8px rgba(var(--shadow-rgb), 0.9); }
  .wt13-w:hover .wt13-name { color: var(--onart-ink); }
}
.wt13-w:focus-visible { outline: 2px solid var(--cta); outline-offset: 4px; border-radius: var(--radius-control); }
.wt13.is-in .wt13-list li { animation: sw-rise calc(560ms * var(--dz-k)) var(--ease-soft) backwards; animation-delay: calc((500ms + var(--i) * 70ms) * var(--dz-k)); }
@media (max-width: 819.98px) {
  .wt13 { padding: var(--site-section) 0 var(--sp-6); }
  .wt13-map { overflow-x: auto; margin-inline: calc(-1 * var(--site-gutter)); padding: 0 var(--site-gutter) var(--sp-2); scrollbar-width: none; }   /* no snap: it hid the sun */
  .wt13-map::-webkit-scrollbar { display: none; }
  .wt13-list { display: flex; gap: var(--sp-4); }
  .wt13-list li { flex: 0 0 auto; }
  .wt13-w { width: 5.2rem; }
  .wt13-pic { width: 3.6rem; }
  .wt13-map::before { right: auto; width: calc(100% - 2.4rem); }
}
@media (prefers-reduced-motion: reduce) { .wt13-list li { animation: none !important; } }

/* ============================ music: one real example, the rest shown and not playable ============================ */
.mu-more { display: flex; align-items: center; gap: var(--sp-3); padding: 6px 8px; }
.mu-offs { display: flex; }
.mu-off { width: 32px; height: 32px; border-radius: 50%; overflow: hidden; margin-left: -8px; box-shadow: 0 0 0 2px var(--feature-bg); filter: grayscale(0.55) brightness(0.7); opacity: 0.8; }
.mu-off:first-child { margin-left: 0; }
.mu-off img { width: 100%; height: 100%; object-fit: cover; }
.mu-more-l { font-size: var(--fs-meta); font-weight: 700; color: rgba(242, 239, 232, 0.72); }
.mu-sounds { grid-template-columns: 1fr; }
.mu-note:empty { display: none; }   /* "up to three" can only show with three sounds to mix; with one, its reserved line was a blank gap */
/* the lullaby row is the founder's mockup at full weight; it plays once its file lands (LULL_READY in v4.js; check_dist fails
   a build without it), so until then it only takes no hover and no press */
.mu-track.is-waiting { cursor: default; }
.mu-track.is-waiting:hover { background: none; }
.mu-track.is-waiting:active { transform: none; }
.mu-track.is-waiting .mu-eq { display: none; }
@media (max-width: 819.98px) { .mu-more-l { font-size: 12px; } }

/* ============================ the rewrite: the strike crosses the draft's words only ============================
   v4 drew one strike across the whole draft block at 55% of its height: on a wrapped line (a phone, or Romanian) it fell
   between the lines, and on one line it ran through the reason chip. Now each line of the draft's words carries its own
   strike (a background, cloned per line), and the chip beside them stays clean. */
.m4-old::after { content: none; }
.m4-old-t { background: linear-gradient(var(--cta), var(--cta)) 0 58% / 0% 2px no-repeat; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.m4-stage.is-revising .m4-old-t { animation: m13-strike calc(360ms * var(--dz-k)) var(--ease-out) both; animation-delay: calc((3000ms + var(--k) * 560ms) * var(--dz-k)); }
@keyframes m13-strike { to { background-size: 100% 2px; } }

/* ============================ keepsakes: the near plane shows only while its section is on screen ============================ */
.k8-near.is-away { visibility: hidden; }

/* ============================ the footer: clean, three columns and a quiet bottom bar ============================ */
.site-foot13 { padding: clamp(3rem, 2rem + 3vw, 5rem) 0 calc(var(--sp-6) + env(safe-area-inset-bottom)); box-shadow: inset 0 1px 0 rgba(var(--pure-white-rgb), 0.1); }
.f13 { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr) minmax(0, 0.8fr); gap: var(--sp-8); align-items: start; }
.f13-brand .wordmark--foot { width: 9rem; color: var(--onart-ink); margin-bottom: var(--sp-4); }
.f13-made { margin: 0; max-width: 22rem; font-size: 0.97rem; line-height: 1.55; color: rgba(242, 239, 232, 0.78); }
.f13-col { display: grid; gap: 4px; justify-items: start; }
.f13-k { margin: var(--sp-3) 0 0; font-size: var(--fs-meta); font-weight: 700; color: rgba(242, 239, 232, 0.6); }
.f13-k:first-child { margin-top: 0; }
.f13-mail, .f13-links a { color: var(--onart-ink); font-weight: 700; text-decoration: none; min-height: 32px; display: inline-flex; align-items: center;
  background: linear-gradient(currentColor, currentColor) 0 88% / 0 1px no-repeat; transition: background-size calc(260ms * var(--dz-k)) var(--ease-out); }
.f13-links { gap: var(--sp-2); }
@media (hover: hover) and (pointer: fine) { .f13-mail:hover, .f13-links a:hover { background-size: 100% 1px; } }
.f13-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-3) var(--sp-6); margin-top: clamp(2.5rem, 2rem + 2vw, 4rem);
  padding-top: var(--sp-5); border-top: 1px solid rgba(var(--pure-white-rgb), 0.1); }
.f13-copy { margin: 0; font-size: var(--fs-meta); color: rgba(242, 239, 232, 0.6); }
.f13-lang { display: flex; gap: var(--sp-5); }
.f13-lang a { font-size: var(--fs-meta); font-weight: 700; color: rgba(242, 239, 232, 0.72); text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.f13-lang a[aria-current="true"] { color: var(--onart-ink); }
@media (max-width: 819.98px) {
  .f13 { grid-template-columns: 1fr; gap: var(--sp-6); }
  .f13-mail, .f13-links a, .f13-lang a { min-height: 44px; }
  .f13-lang a { min-width: 44px; justify-content: center; }   /* "English" at 12px measured 41px wide */
  .f13-copy, .f13-lang a, .f13-k { font-size: 12px; }
}
