@font-face { font-family: 'Heebo'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('/fonts/heebo-hebrew-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: 'Heebo'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('/fonts/heebo-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* A luminous, daylight-readable ground; the colour lives in the field behind it. */
  --bg: #f3f1fa; --ink: #16122b; --muted: #4d4768; --line: #d9d5ea; --card: rgba(255, 255, 255, .72);
  --accent: #2c2470; --accent-ink: #fff; --danger: #a3261f;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-slow: cubic-bezier(.22, .61, .36, 1);
}
::selection { background: #2c2470; color: #fff; }
html { scrollbar-color: #b9b2d8 transparent; caret-color: var(--accent); }

/* ---- the living field ---- */
#field { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; display: block; transition: opacity .8s var(--ease-out); }
body:has(#work:not([hidden])) #field { opacity: .35; }   /* the work view is for reading: the light steps back */
#motes { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; display: block; pointer-events: none; transition: opacity .8s var(--ease-out); }
body:has(#work:not([hidden])) #motes { opacity: .4; }
.no-field #field { display: none; }
.no-field body { background:
  radial-gradient(60% 55% at 78% 22%, rgba(150, 170, 255, .55), transparent 70%),
  radial-gradient(55% 50% at 18% 38%, rgba(255, 170, 220, .45), transparent 70%),
  radial-gradient(60% 55% at 40% 92%, rgba(150, 240, 225, .45), transparent 70%), var(--bg); }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { font-family: 'Heebo', Calibri, 'Segoe UI', Arial, sans-serif; font-size: 18px; font-weight: 300; }
body { margin: 0; background: var(--bg); color: var(--ink); min-height: 100vh; display: flex; flex-direction: column; }
header, footer, main { width: 100%; max-width: 860px; margin: 0 auto; padding: 0 20px; }
header { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: space-between; padding-top: 22px; padding-bottom: 22px; }
.logo { font-weight: 500; letter-spacing: .22em; font-size: .8rem; }
.soon, .badge { white-space: nowrap; }
.soon { font-size: .72rem; border: 1px solid color-mix(in srgb, var(--ink) 25%, transparent); border-radius: 99px; padding: 4px 12px; }
.badge { font-size: .8rem; border: 1px solid var(--line); border-radius: 99px; padding: 4px 12px; color: var(--muted); }
main { flex: 1; padding-bottom: 48px; display: flex; flex-direction: column; }
footer { padding-bottom: 28px; text-align: center; }


.muted { color: var(--muted); font-size: .9rem; }
.error { background: #fbe6ea; color: var(--danger); border-radius: 8px; padding: 12px 16px; margin: 0 0 20px; }

input:not([type=radio]):not([type=checkbox]):not([type=file]), select, textarea {
  font: inherit; padding: 11px 13px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); color: var(--ink); width: 100%;
}
input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible, .drop:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }

button { font: inherit; font-weight: 700; border: 0; border-radius: 8px; padding: 13px 22px; background: var(--accent); color: var(--accent-ink); cursor: pointer; margin-top: 20px; transition: transform .12s ease-out, opacity .12s; }
button:active:not(:disabled) { transform: scale(.98); }
button:disabled { opacity: .4; cursor: not-allowed; }
button.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
button.link { background: none; color: var(--muted); font-weight: 400; font-size: .85rem; text-decoration: underline; padding: 4px; margin: 0; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }

.drop { display: grid; place-items: center; border: 2px dashed var(--line); border-radius: 12px; padding: 40px 20px; background: var(--card); cursor: pointer; font-weight: 400; color: var(--muted); margin: 0; }
.drop.over { border-color: var(--accent); color: var(--ink); }
.drop input { position: absolute; opacity: 0; pointer-events: none; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-top: 16px; }
.thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; display: block; }
.thumbs .up { opacity: .45; }

.timer { font-variant-numeric: tabular-nums; color: var(--muted); margin: -12px 0 20px; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.card { background: var(--card); border: 2px solid transparent; border-radius: 12px; overflow: hidden; padding: 0; margin: 0; color: inherit; font-weight: 400; text-align: right; display: block; width: 100%; }
.card[aria-pressed=true] { border-color: var(--accent); }
.card .frame { aspect-ratio: 9 / 16; background: var(--line); display: grid; place-items: center; text-align: center; padding: 12px; font-size: .85rem; color: var(--muted); }
.card .frame.wait { animation: pulse 1.6s ease-in-out infinite; }
.card img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; display: block; }
.card .cap { padding: 8px 10px; font-size: .85rem; display: flex; justify-content: space-between; }
.round { grid-column: 1 / -1; font-size: .85rem; color: var(--muted); margin-top: 12px; }
.videoBox { max-width: 340px; }
.videoBox video, .videoBox img { width: 100%; border-radius: 12px; display: block; background: var(--line); }
.videoBox .frame { aspect-ratio: 9 / 16; border-radius: 12px; background: var(--line); display: grid; place-items: center; color: var(--muted); animation: pulse 1.6s ease-in-out infinite; }

/* ---- the one line ---- */
/* 'safe' matters: when the passages make the hero taller than a short window, plain centering pushes the headline above the top edge, out of reach. */
.hero { flex: 1; display: flex; flex-direction: column; justify-content: safe center; padding-bottom: 12vh; }
.hero h1 { font-size: clamp(2.6rem, 9vw, 5.4rem); line-height: .98; letter-spacing: -.02em; margin: 0 0 30px; font-weight: 100; text-wrap: balance; }

/* On the field the line is drawn, not boxed: one rule under your words. */
.hero .line { background: transparent; border: 0; border-bottom: 1px solid color-mix(in srgb, var(--ink) 55%, transparent); border-radius: 0; padding: 0 0 4px; align-items: center; transition: border-color .2s var(--ease-out); }
.hero .line:focus-within { border-bottom-color: var(--ink); box-shadow: 0 1px 0 0 var(--ink); }
.hero .line textarea, .hero .line input { font-weight: 300; font-size: clamp(1rem, 2.4vw, 1.18rem); padding: 12px 4px !important; }
.hero .line textarea { scrollbar-width: none; }
.hero .line textarea::placeholder, .hero .line input::placeholder { color: #3c3658; opacity: 1; }
.hero .line button { border-radius: 50%; transition: transform .16s var(--ease-out), background-color .2s; }
.hero .line .send { background: var(--ink); }
.hero .line .mic { color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .hero .line .mic:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); } }
.hero .hint { color: var(--muted); }

/* ---- the passages beneath the line ---- */
.say { margin-top: 38px; max-width: 58ch; }
.say + .say { margin-top: 28px; }
.say h2 { margin: 0 0 6px; font-size: .74rem; font-weight: 500; letter-spacing: .22em; color: var(--ink); }
.say p { margin: 0; font-size: clamp(.95rem, 2.2vw, 1.1rem); line-height: 1.65; font-weight: 300; }
.say .kit { margin-top: 14px; display: grid; gap: 6px; font-size: .8rem; line-height: 1.55; color: var(--muted); }
.say .kit b { font-weight: 500; color: var(--ink); letter-spacing: .08em; margin-inline-end: 8px; }
.say q { quotes: "״" "״"; }
/* They start present and only become an entrance once field.js arms them. */
.armed .say { opacity: 0; filter: blur(12px); transform: translateY(6px);
  transition: opacity 1.2s var(--ease-out), filter 1.2s var(--ease-out), transform 1.2s var(--ease-out); }
.armed .say.slow { transform: translateY(14px);
  transition: opacity 3.4s var(--ease-slow), filter 3.4s var(--ease-slow), transform 3.4s var(--ease-slow); }
.armed .say.on { opacity: 1; filter: blur(0); transform: none; }
.armed .say.on.back { opacity: .58; transform: translateY(-5px);
  transition: opacity 2.8s var(--ease-slow), transform 2.8s var(--ease-slow); }
@media (hover: hover) and (pointer: fine) { .armed .say.on.back:hover { opacity: 1; transition-duration: .3s; } }
.armed .say.now { transition-duration: .2s; }
.line { display: flex; align-items: flex-end; gap: 6px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 8px 8px 8px 8px; transition: border-color .15s, box-shadow .15s; }
.line:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 14%, transparent); }
.line textarea, .line input { flex: 1; border: 0 !important; background: transparent !important; resize: none; font: inherit; font-size: 1.15rem; line-height: 1.45; padding: 10px 12px !important; max-height: 40vh; outline: none !important; color: var(--ink); min-width: 0; }
.line.small textarea, .line.small input { font-size: 1rem; }
.line button { margin: 0; width: 46px; height: 46px; padding: 0; border-radius: 12px; display: grid; place-items: center; flex: none; font-size: 1.3rem; }
.line .mic { background: transparent; color: var(--muted); }
.line .mic[aria-pressed=true] { background: var(--danger); color: #fff; animation: pulse 1.2s ease-in-out infinite; }
.hint { color: var(--muted); font-size: .9rem; margin: 12px 4px 0; }

/* ---- the work feed ---- */
#work { padding-top: 12px; }
.said { margin: 0 0 28px; padding: 0 16px 0 0; border-right: 1px solid var(--line); color: var(--muted); white-space: pre-wrap; max-height: 7.5em; overflow: auto; }
.thinking { display: flex; align-items: center; gap: 12px; font-size: 1.15rem; padding: 24px 0; }
.thinking .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); animation: pulse 1.2s ease-in-out infinite; }
.block { padding: 28px 0; border-top: 1px solid var(--line); animation: rise .35s ease-out both; }
.block h2 { font-size: 1.05rem; margin: 0 0 14px; color: var(--muted); font-weight: 700; }
.facts { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.question { margin: 18px 0 0; padding: 12px 16px; background: rgba(255, 225, 160, .45); border-radius: 10px; }
.angles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.angle { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.angle.chosen { border: 2px solid var(--accent); }
.angle h3 { margin: 0 0 6px; font-size: 1.05rem; }
.angle p { margin: 0 0 10px; font-size: .92rem; color: var(--muted); }
.angle q { font-size: .98rem; quotes: "״" "״"; }
#whyChosen { margin: 14px 0 0; }
.script p { margin: 0 0 10px; font-size: 1.2rem; line-height: 1.5; max-width: 40ch; }
.script p.hook { font-weight: 700; }
.script p.cta { color: var(--accent); font-weight: 700; }
.adcopy { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px; max-width: 46ch; }
.adcopy p { margin: 0 0 10px; white-space: pre-wrap; }
.adcopy strong { display: block; }
#refineForm { margin-top: 8px; }
fieldset { border: 0; padding: 0; margin: 16px 0 0; }
legend { font-weight: 700; font-size: .95rem; padding: 0; margin-bottom: 6px; }
label.inline { font-weight: 400; margin: 0 0 0 20px; display: inline-flex; gap: 8px; align-items: baseline; }
label.consent { margin-top: 16px; display: flex; }

/* ---- images with graphics ---- */
.graphics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: end; }
.graphic { margin: 0; }
.graphic canvas { width: 100%; height: auto; display: block; border-radius: 10px; background: var(--line); box-shadow: 0 1px 2px rgba(22, 18, 43, .08), 0 18px 36px -22px rgba(22, 18, 43, .45); }
.graphic figcaption { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 8px; font-size: .78rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.graphic .save { margin: 0; padding: 5px 14px; font-size: .78rem; font-weight: 500; border-radius: 99px; }
.g-banner { grid-column: 1 / -1; max-width: 640px; }
@media (max-width: 640px) { .graphics { grid-template-columns: 1fr 1fr; } .g-story { grid-row: span 2; } }

/* ---- choosing the face and the role ---- */
.faces { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 12px; margin-top: 16px; }
.face, .role { position: relative; margin: 0; padding: 0; background: var(--card); color: inherit; font-weight: 400; border: 2px solid transparent; border-radius: 12px; overflow: hidden; text-align: right; transition: border-color .12s, transform .12s ease-out; }
.face img, .face .up-tile { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; }
.face .up-tile { display: grid; place-items: center; background: var(--line); color: var(--muted); font-size: 2rem; }
.face .cap { padding: 7px 10px; font-size: .85rem; display: flex; justify-content: space-between; gap: 6px; }
.face .rec, .role .rec { color: var(--accent); font-size: .75rem; white-space: nowrap; }
.face[aria-checked=true], .role[aria-checked=true] { border-color: var(--accent); }
.face::after, .role::after { content: "✓"; position: absolute; top: 8px; left: 8px; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: .95rem; font-weight: 700; opacity: 0; transform: scale(.6); transition: opacity .12s, transform .15s ease-out; }
.face[aria-checked=true]::after, .role[aria-checked=true]::after { opacity: 1; transform: scale(1); }
.faces h3 { grid-column: 1 / -1; margin: 10px 0 -4px; font-size: .85rem; color: var(--muted); font-weight: 400; }
.faces h3:first-child { margin-top: 0; }
#uploadBox { margin-top: 20px; }
.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.role { border: 1px solid var(--line); padding: 16px 16px 16px 44px; }
.role[aria-checked=true] { border-width: 2px; padding: 15px 15px 15px 43px; }
.role strong { display: block; font-size: 1.1rem; }
.role span { font-size: .88rem; color: var(--muted); }
#produceRow { padding-top: 8px; }

@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
@keyframes pulse { 50% { opacity: .55; } }
@media (max-width: 640px) { .angles { grid-template-columns: 1fr; } .grid { grid-template-columns: repeat(2, 1fr); } .hero h1 { font-weight: 200; } .hero { padding-bottom: 6vh; } .say { margin-top: 30px; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } .armed .say { opacity: 1; filter: none; transform: none; } }

/* ======== Nebula theme (front page, chosen 2026-11-08 from /sketches/1) ======== */
.nebula {
  --bg: #01020a; --ink: #eef0ff; --muted: rgba(238, 240, 255, .58); --line: rgba(238, 240, 255, .16);
  --card: rgba(238, 240, 255, .05); --accent: #8ea2ff; --accent-ink: #01020a; --danger: #ff8a8a;
  color-scheme: dark; scrollbar-color: rgba(238, 240, 255, .25) transparent;
}
.nebula ::selection { background: var(--accent); color: var(--bg); }
.nebula body { background: var(--bg); -webkit-font-smoothing: antialiased; }
.nebula.no-field body { background: radial-gradient(60% 50% at 60% 60%, #0d1a5c, transparent 70%), radial-gradient(40% 40% at 25% 30%, #1a1150, transparent 70%), var(--bg); }
.nebula body:has(#work:not([hidden])) #field { opacity: .45; }

/* signature, top-left */
.sign { position: absolute; top: calc(10px + var(--logo-w) * .36); left: calc(14px + var(--logo-w) + 6px); z-index: 2; display: flex; align-items: center; gap: 12px; text-align: left; pointer-events: none; }
.sign p { margin: 0; display: grid; gap: 2px; }
/* The logo: top-left, beside the signature, 60%; the centre stays empty for the one line. */
:root { --logo-w: clamp(110px, 13vw, 170px); }
.bg-logo { position: absolute; top: 10px; left: 14px; z-index: -1; width: var(--logo-w); pointer-events: none; perspective: 700px; opacity: .6; }
.bg-logo img { width: 100%; height: auto; display: block; will-change: transform; }
@media (max-width: 640px) { :root { --logo-w: 84px; } }
.sign p span:first-child { font-size: .78rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); }
.sign p span:last-child { font-size: .72rem; font-weight: 300; letter-spacing: .06em; color: var(--muted); }
.badge.corner { position: fixed; bottom: 16px; left: 16px; z-index: 2; background: rgba(1, 2, 10, .6); backdrop-filter: blur(6px); }

.nebula main { padding-top: 76px; }
.nebula .hero { padding-bottom: 8vh; }
.nebula .hero h1 { font-weight: 200; font-size: clamp(2.4rem, 7.4vw, 4.6rem); line-height: 1.02; margin: 0; }
.nebula .hero .sub { margin: 14px 0 0; font-weight: 200; font-size: clamp(1.3rem, 3.4vw, 2rem); color: var(--muted); }
.nebula #gate h1 { margin-bottom: 0; }
.nebula .hero .line { margin-top: clamp(36px, 7vh, 64px); border-bottom-color: var(--line); }
.nebula .hero .line:focus-within { border-bottom-color: var(--ink); box-shadow: none; }
.nebula .hero .line textarea::placeholder, .nebula .hero .line input::placeholder { color: var(--muted); }
.nebula .hero .line .send { background: transparent; color: var(--ink); }
.nebula .hero .line:has(:is(textarea, input):not(:placeholder-shown)) .send { background: var(--ink); color: var(--bg); }
@media (hover: hover) and (pointer: fine) { .nebula .hero .line .send:hover { background: color-mix(in srgb, var(--ink) 12%, transparent); } .nebula .hero .line:has(:is(textarea, input):not(:placeholder-shown)) .send:hover { background: var(--ink); } }
.nebula .hero .hint:empty { display: none; }
.nebula .hero > * { animation: neb-in 1.4s var(--ease-out) both; }
.nebula .hero > :nth-child(2) { animation-delay: .25s; }
.nebula .hero > :nth-child(n+3) { animation-delay: .6s; }
@keyframes neb-in { from { opacity: 0; filter: blur(10px); transform: translateY(8px); } }

/* the work view on the night ground */
.nebula .error { background: rgba(255, 110, 110, .12); }
.nebula .question { background: rgba(142, 162, 255, .14); }
.nebula .block { border-top-color: var(--line); }
.nebula .card .frame, .nebula .face .up-tile, .nebula .videoBox .frame { background: rgba(238, 240, 255, .07); }
.nebula .graphic canvas { box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .9); }
.nebula button.ghost { color: var(--ink); }
@media (max-width: 640px) { .nebula main { padding-top: 76px; } }
.nebula footer:has(#deleteAll:not([hidden])) { padding-bottom: 72px; }   /* clear the demo badge */

/* ======== Results: thinking, what we learned, questions, rooms (from /sketches/result, 2026-11-08) ======== */
/* ---------- shared motion ---------- */
/* Enter slower than exit: the system arrives gently, and gets out of the way fast. */
.rise { opacity: 0; filter: blur(8px); transform: translateY(10px);
  transition: opacity .7s var(--ease-out), filter .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: calc(var(--i, 0) * 60ms); }
.rise.on { opacity: 1; filter: blur(0); transform: none; }
.leaving { opacity: 0 !important; filter: blur(8px) !important; transform: translateY(-8px) !important;
  transition: opacity .28s var(--ease-out), filter .28s var(--ease-out), transform .28s var(--ease-out) !important; transition-delay: 0s !important; }
.kicker { margin: 0 0 18px; font-size: .74rem; font-weight: 500; letter-spacing: .22em; color: var(--muted); }

/* ---------- 1. sending → thinking ---------- */
#thinkView { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-bottom: 10vh; }
#thinkView .said { border: 0; padding: 0; margin: 0 0 40px; max-height: none; font-size: clamp(1.15rem, 2.8vw, 1.6rem); font-weight: 200; line-height: 1.5; color: var(--ink); max-width: 34ch; }
.think-status { position: relative; height: 1.6em; font-size: .95rem; color: var(--muted); }
.think-status span { position: absolute; inset: 0 0 auto 0; display: flex; align-items: center; gap: 12px;
  transition: opacity .45s var(--ease-out), filter .45s var(--ease-out), transform .45s var(--ease-out); }
.think-status span.out { opacity: 0; filter: blur(4px); transform: translateY(-6px); }
.think-status span.pre { opacity: 0; filter: blur(4px); transform: translateY(6px); }
.think-status span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); animation: breathe 1.4s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .35; transform: scale(.7); } }

/* ---------- 2. what we learned + the four questions ---------- */
#learnedView { padding: 24px 0 40px; }
.learned { margin: 0; display: grid; gap: 22px; }
.learned div { display: grid; grid-template-columns: 8.5rem 1fr; gap: 4px 24px; align-items: baseline; }
.learned dt { font-size: .78rem; letter-spacing: .12em; color: var(--muted); }
.learned dd { margin: 0; font-size: clamp(1.1rem, 2.6vw, 1.5rem); font-weight: 200; line-height: 1.4; }
.learned div:first-child dd { font-size: clamp(1.8rem, 5vw, 3rem); font-weight: 200; letter-spacing: -.01em; }
.fix { margin-top: 18px; font-size: .85rem; color: var(--muted); }
.fix a { color: var(--ink); }

.qa { margin-top: clamp(48px, 9vh, 88px); max-width: 640px; }
.qa .count { display: flex; gap: 6px; margin-bottom: 18px; }
.qa .count i { width: 18px; height: 2px; border-radius: 2px; background: var(--line); transition: background-color .3s ease; }
.qa .count i.done { background: var(--ink); }
.qa .qstage { position: relative; min-height: 150px; }
.q { position: absolute; inset: 0 0 auto 0; transition: opacity .32s var(--ease-out), filter .32s var(--ease-out), transform .32s var(--ease-out); }
.q.pre { opacity: 0; filter: blur(6px); transform: translateY(10px); pointer-events: none; }
.q.out { opacity: 0; filter: blur(6px); transform: translateY(-10px); pointer-events: none; transition-duration: .2s; }
.q h3 { margin: 0; font-size: clamp(1.5rem, 4vw, 2.2rem); font-weight: 200; }
.q .line { margin-top: 18px; background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 0 0 2px; align-items: center; }
.q .line:focus-within { border-bottom-color: var(--ink); box-shadow: none; }
.q .line input { font-weight: 300; font-size: 1.1rem; padding: 12px 2px !important; }
.q .line input::placeholder { color: var(--muted); }
.q .line .send { background: transparent; color: var(--ink); width: 42px; height: 42px; border-radius: 50%; }
.q .skip { margin-top: 10px; background: none; color: var(--muted); font-weight: 400; font-size: .85rem; padding: 4px 0; text-decoration: underline; text-underline-offset: 3px; }
.choices { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.choice { background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 99px; padding: 11px 20px; font-weight: 400; font-size: .95rem;
  transition: transform .16s var(--ease-out), border-color .2s ease, background-color .2s ease; }
.choice:active, .nebula .send:active, .unlock:active, .room-nav a:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .choice:hover { border-color: color-mix(in srgb, var(--ink) 45%, transparent); } }

/* ---------- 3. the rooms ---------- */
#roomsView { padding: 8px 0 120px; }
.brief { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 40px; }
.brief span { font-size: .8rem; color: var(--muted); border: 1px solid var(--line); border-radius: 99px; padding: 5px 12px; }
.brief span b { color: var(--ink); font-weight: 400; }
.rooms-title { margin: 0; font-size: clamp(2.2rem, 6.4vw, 4rem); font-weight: 200; line-height: 1.05; letter-spacing: -.02em; }
.rooms-sub { margin: 12px 0 0; color: var(--muted); font-size: clamp(1rem, 2.2vw, 1.2rem); font-weight: 300; }

.room-nav { position: sticky; top: 0; z-index: 3; display: flex; gap: 6px; margin: 36px -16px 0; padding: 12px 16px; overflow-x: auto; scrollbar-width: none;
  background: linear-gradient(var(--bg) 60%, transparent); }
.room-nav a { flex: none; color: var(--muted); text-decoration: none; font-size: .85rem; padding: 7px 14px; border-radius: 99px; border: 1px solid var(--line); transition: color .2s ease, background-color .2s ease, transform .16s var(--ease-out); }
.room-nav a.here { color: var(--bg); background: var(--ink); border-color: var(--ink); }

.room { padding: 64px 0 8px; scroll-margin-top: 64px; }
.room-head { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; align-items: baseline; margin-bottom: 28px; }
.room-head .letter { grid-row: span 2; font-size: clamp(3rem, 8vw, 5rem); font-weight: 100; line-height: .8; color: var(--accent); text-shadow: 0 0 40px color-mix(in srgb, var(--accent) 60%, transparent); }
.room-head h2 { margin: 0; font-size: clamp(1.4rem, 3.4vw, 2rem); font-weight: 300; }
.room-head p { margin: 0; color: var(--muted); font-size: .95rem; }

.panel { background: color-mix(in srgb, var(--bg) 55%, transparent); border: 1px solid var(--line); border-radius: 18px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }

/* A. angles */
.angles3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ang { padding: 22px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.ang .n { font-size: .74rem; letter-spacing: .18em; color: var(--muted); }
.ang h3 { margin: 0; font-size: 1.3rem; font-weight: 400; }
.ang p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.55; }
.ang q { display: block; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: 1.12rem; font-weight: 300; line-height: 1.45; quotes: "״" "״"; }
.ang.lead { border-color: color-mix(in srgb, var(--accent) 70%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 40%, transparent), 0 20px 60px -30px var(--accent); }
.ang .tag { position: absolute; top: 18px; left: 18px; font-size: .72rem; color: var(--bg); background: var(--accent); border-radius: 99px; padding: 3px 10px; }

/* B. where to publish */
.where { padding: 8px 22px; position: relative; overflow: hidden; }
.ch { display: grid; grid-template-columns: 2.2rem 1fr auto; gap: 4px 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; }
.ch:last-child { border-bottom: 0; }
.ch .k { grid-row: span 2; font-size: .8rem; color: var(--muted); padding-top: 4px; font-variant-numeric: tabular-nums; }
.ch h3 { margin: 0; font-size: 1.12rem; font-weight: 400; }
.ch p { margin: 0; grid-column: 2 / 4; color: var(--muted); font-size: .92rem; line-height: 1.55; }
.ch .when { font-size: .8rem; color: var(--ink); border: 1px solid var(--line); border-radius: 99px; padding: 3px 10px; white-space: nowrap; }
.locked { position: relative; }
.locked .ch { filter: blur(6px); opacity: .55; user-select: none; pointer-events: none; }
.gate { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px;
  background: linear-gradient(transparent, color-mix(in srgb, var(--bg) 70%, transparent) 30%); }
.gate div { display: grid; gap: 12px; justify-items: center; }
.gate svg { opacity: .8; }
.gate strong { font-weight: 400; font-size: 1.1rem; }
.unlock { background: var(--ink); color: var(--bg); border-radius: 99px; padding: 12px 24px; font-weight: 500; font-size: .95rem; transition: transform .16s var(--ease-out); }

/* E + F: landing page and website, locked previews (subscription only, not produced) */
.site-room .browser { position: relative; overflow: hidden; padding: 0; }
.browser .bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.browser .bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.browser .bar span { margin-inline-start: 10px; font-size: .74rem; color: var(--muted); direction: ltr; unicode-bidi: plaintext; }
.browser .page { filter: blur(5px); opacity: .6; user-select: none; pointer-events: none; min-height: 340px; }
.lp { display: grid; grid-template-columns: 1fr 1.1fr; min-height: 340px; }
.lp-img, .st-hero { background: #0b0d18 center 25% / cover no-repeat; }
.lp-copy { padding: 28px; display: grid; align-content: center; gap: 12px; }
.lp-h { margin: 0; font-size: 1.6rem; font-weight: 600; line-height: 1.2; }
.lp-s { margin: 0; color: var(--muted); }
.lp-form { display: grid; gap: 8px; margin-top: 8px; }
.lp-form span { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; color: var(--muted); font-size: .85rem; }
.lp-form .lp-btn { background: var(--ink); color: var(--bg); text-align: center; font-weight: 600; }
.st-nav { display: flex; gap: 18px; align-items: center; padding: 14px 22px; font-size: .85rem; color: var(--muted); }
.st-nav b { color: var(--ink); font-weight: 600; margin-inline-end: auto; }
.st-hero { height: 170px; display: grid; align-items: end; padding: 18px 22px; }
.st-hero p { margin: 0; color: #fff; font-size: 1.3rem; font-weight: 500; text-shadow: 0 2px 12px rgba(0, 0, 0, .7); }
.st-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 20px 22px; }
.st-cols h4 { margin: 0 0 6px; font-size: .9rem; font-weight: 600; }
.st-cols p { margin: 0; color: var(--muted); font-size: .85rem; line-height: 1.5; }
.site-room .gate { background: radial-gradient(60% 60% at 50% 55%, color-mix(in srgb, var(--bg) 80%, transparent), transparent); top: 38px; }
.gate-note { font-size: .82rem; color: var(--muted); }
@media (max-width: 760px) { .lp { grid-template-columns: 1fr; } .lp-img { height: 150px; } .st-cols { grid-template-columns: 1fr; } }

.nebula #work { padding-top: 8px; }
#thinkView .think-status[hidden] { display: none; }
#work:has(#plan:not([hidden])) #thinkView { display: none; }
#learnedView { padding-bottom: 8px; }
#learnedView .question { margin-top: 24px; }
#refineForm { margin-top: 28px; max-width: 640px; background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 0 0 2px; align-items: center; }
#refineForm:focus-within { border-bottom-color: var(--ink); box-shadow: none; }
#refineForm input { font-size: .98rem !important; padding: 10px 2px !important; }
#refineForm input::placeholder { color: var(--muted); }
#refineForm .send { background: transparent; color: var(--ink); width: 40px; height: 40px; border-radius: 50%; }
#roomsView { padding-top: 56px; }
.room-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.sub-panel { padding: 22px; }
.sub-panel h3 { margin: 0 0 12px; font-size: .78rem; letter-spacing: .14em; font-weight: 500; color: var(--muted); }
.sub-panel .adcopy { background: none; border: 0; padding: 0; }
.nebula .room .block:first-of-type { border-top: 0; padding-top: 0; }
.where-empty { padding: 22px 0; color: var(--muted); }
@media (max-width: 760px) { .room-pair { grid-template-columns: 1fr; } }
.nebula #work { flex: 1; display: flex; flex-direction: column; }
@media (max-width: 760px) { .angles3 { grid-template-columns: 1fr; } .learned div { grid-template-columns: 1fr; } .ch { grid-template-columns: 1.6rem 1fr; } .ch .when { grid-column: 2; justify-self: start; } }

/* ---- one screen at a time (Doron, 2026-11-08: no dense screens) ---- */
#thinkView .said { display: none; }                         /* never echo the owner's own words back */
#thinkView { align-items: center; text-align: center; }
#thinkView .think-status { height: 2em; font-size: clamp(1.1rem, 2.6vw, 1.5rem); font-weight: 200; color: var(--ink); width: 100%; }
#thinkView .think-status span { justify-content: center; }
.step:not([hidden]) { min-height: calc(100svh - 150px); display: flex; flex-direction: column; justify-content: center; padding: 24px 0 48px; }
.learned { display: grid; gap: clamp(20px, 3.6vh, 32px); max-width: 780px; }
.learned .said-back { margin: 0; font-size: clamp(1.35rem, 3.3vw, 2.25rem); font-weight: 200; line-height: 1.35; letter-spacing: -.01em; text-wrap: pretty; }
.learned .said-back .lead { color: var(--muted); }
.step-go { margin-top: clamp(40px, 7vh, 64px); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.nebula button.go { background: var(--ink); color: var(--bg); border-radius: 99px; padding: 14px 26px; font-weight: 500; font-size: 1rem; transition: transform .16s var(--ease-out); }
.nebula button.go:active { transform: scale(.97); }
.nebula button.textlink { background: none; color: var(--muted); font-weight: 400; font-size: .92rem; padding: 4px 0; margin: 0; text-decoration: underline; text-underline-offset: 4px; }
@media (hover: hover) and (pointer: fine) { .nebula button.textlink:hover { color: var(--ink); } }
#fixBox { margin-top: 26px; max-width: 640px; }
#fixBox #refineForm { margin-top: 0; }
#detailsView .qa { margin-top: 0; width: 100%; }
#roomsView #backToLearned { margin: -24px 0 36px; }

/* ======== 2026-11-09: slower magic, the letter, the studio ======== */
:root { --ease-dream: cubic-bezier(.16, 1, .3, 1); }

/* questions: slow, blurred arrivals; quicker exits */
.q { transition: opacity 1.4s var(--ease-dream), filter 1.4s var(--ease-dream), transform 1.4s var(--ease-dream); }
.q.pre { opacity: 0; filter: blur(14px); transform: translateY(16px) scale(.985); }
.q.out { opacity: 0; filter: blur(10px); transform: translateY(-12px) scale(.99); transition-duration: .7s; transition-timing-function: var(--ease-out); }
.qa .qstage { min-height: 230px; }
.q-note { margin: 10px 0 0; color: var(--muted); font-size: .95rem; }
.q-err { margin: 10px 0 0; color: var(--danger); font-size: .9rem; }
.q .line input[type=tel] { text-align: right; }
.rise { transition-duration: 1.4s; }

/* sound toggle and the cursor light */
.sound-toggle { position: fixed; top: 18px; right: 18px; z-index: 6; width: 38px; height: 38px; margin: 0; padding: 0; border-radius: 50%; display: grid; place-items: center;
  background: color-mix(in srgb, var(--bg) 60%, transparent); color: var(--muted); border: 1px solid var(--line); backdrop-filter: blur(6px); }
.nebula button.sound-toggle { margin: 0; padding: 0; background: color-mix(in srgb, var(--bg) 60%, transparent); color: var(--muted); }
.sound-toggle[aria-pressed=false] { opacity: .5; }
.sound-toggle[aria-pressed=false]::after { content: ""; position: absolute; width: 22px; height: 1.5px; background: currentColor; transform: rotate(-45deg); }
.cursor-light { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; mix-blend-mode: screen; }

/* ---- the letter ---- */
.letter:not([hidden]) { min-height: calc(100svh - 120px); display: flex; flex-direction: column; justify-content: center; padding: 24px 0 64px; }
.letter-stage { display: grid; gap: clamp(14px, 2.6vh, 24px); max-width: 760px; }
.l-line { opacity: 0; filter: blur(16px); transform: translateY(14px); transition: opacity 1.8s var(--ease-dream), filter 1.8s var(--ease-dream), transform 1.8s var(--ease-dream); }
.l-line.on { opacity: 1; filter: blur(0); transform: none; }
.l-line.out { opacity: 0; filter: blur(12px); transform: translateY(-10px); transition-duration: .8s; }
.l-line p { margin: 0; font-size: clamp(1.3rem, 3.2vw, 2rem); font-weight: 200; line-height: 1.45; }
.l-line b { font-weight: 500; color: var(--ink); text-shadow: 0 0 24px color-mix(in srgb, var(--accent) 55%, transparent); }
.l-line .l-big { font-size: clamp(2.2rem, 6vw, 3.8rem); line-height: 1.12; letter-spacing: -.015em; }
.l-line .l-small { font-size: .95rem; letter-spacing: .14em; color: var(--muted); }
.l-line .l-quote { font-size: clamp(1.5rem, 3.8vw, 2.4rem); border-inline-start: 2px solid color-mix(in srgb, var(--accent) 70%, transparent); padding-inline-start: 22px; }
.l-line .l-item { position: relative; padding-inline-start: 30px; font-size: clamp(1.15rem, 2.8vw, 1.6rem); }
.l-line .l-item::before { content: ""; position: absolute; inset-inline-start: 4px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px var(--accent); }
.letter-go { margin-top: clamp(36px, 6vh, 56px); min-height: 52px; }
.letter-go .go { opacity: 0; filter: blur(6px); transition: opacity 1.2s var(--ease-dream), filter 1.2s var(--ease-dream); }
.letter-go .go.on { opacity: 1; filter: blur(0); }
.l-final { text-align: center; justify-self: center; display: grid; gap: 40px; justify-items: center; }
.l-final p { font-size: clamp(2.4rem, 7.4vw, 5rem) !important; line-height: 1.08 !important; letter-spacing: -.02em; }
.letter:has(.l-final) .letter-stage { max-width: none; }

/* ---- the studio ---- */
.studio { padding-bottom: 64px; }
.studio-nav { position: sticky; top: 0; z-index: 4; display: flex; gap: 6px; margin: 0 -16px; padding: 14px 16px; overflow-x: auto; scrollbar-width: none;
  background: linear-gradient(var(--bg) 55%, transparent); }
.studio-nav a { flex: none; display: inline-flex; align-items: center; gap: 8px; color: var(--muted); text-decoration: none; font-size: .88rem; padding: 8px 15px; border-radius: 99px; border: 1px solid var(--line);
  transition: color .5s ease, border-color .5s ease, background-color .5s ease, box-shadow .8s var(--ease-dream), transform .16s var(--ease-out); }
.studio-nav a:active { transform: scale(.97); }
.studio-nav a i { width: 7px; height: 7px; border-radius: 50%; background: var(--line); transition: background-color .6s ease, box-shadow .6s ease; }
.studio-nav a[data-state=preparing] i { background: var(--accent); animation: breathe 1.4s ease-in-out infinite; }
.studio-nav a[data-state=ready] { color: var(--ink); border-color: color-mix(in srgb, var(--accent) 55%, transparent); }
.studio-nav a[data-state=ready] i { background: #9ff0d0; box-shadow: 0 0 10px #9ff0d0; }
.studio-nav a[data-state=locked] { opacity: .55; }
.studio-nav a[data-state=locked] i { background: transparent; border: 1px solid var(--muted); }
.studio-nav a.just { box-shadow: 0 0 0 1px var(--accent), 0 0 28px color-mix(in srgb, var(--accent) 70%, transparent); }
.studio-nav a.here { background: var(--ink); color: var(--bg); border-color: var(--ink); opacity: 1; }
.studio-nav a.here i { box-shadow: none; }
@keyframes breathe { 50% { opacity: .35; transform: scale(.7); } }

.pages { position: relative; }
.page { position: relative; padding: clamp(28px, 6vh, 56px) 0 24px; opacity: 0; filter: blur(14px); transform: translateY(14px);
  transition: opacity 1.3s var(--ease-dream), filter 1.3s var(--ease-dream), transform 1.3s var(--ease-dream); }
.page.on { opacity: 1; filter: blur(0); transform: none; }
.page.out { opacity: 0; filter: blur(10px); transform: translateY(-10px); transition-duration: .7s; }
/* something behind every page: a huge, faint, slowly breathing number */
.page-mark { position: absolute; top: -10px; inset-inline-end: -10px; z-index: -1; font-size: clamp(9rem, 26vw, 19rem); font-weight: 100; line-height: 1; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--accent) 35%, transparent); pointer-events: none; animation: mark 9s ease-in-out infinite; }
@keyframes mark { 50% { opacity: .55; transform: translateY(10px); } }
.page-head { margin-bottom: clamp(26px, 5vh, 44px); max-width: 720px; }
.page-head h2 { margin: 0; font-size: clamp(1.9rem, 5vw, 3.2rem); font-weight: 200; line-height: 1.1; letter-spacing: -.015em; }
.page-lead { margin: 14px 0 0; color: var(--muted); font-size: clamp(1rem, 2.2vw, 1.15rem); line-height: 1.6; }
.page-body.arrive > * { animation: neb-in 1.4s var(--ease-dream) both; }
.page-body.arrive > :nth-child(2) { animation-delay: .2s; }
.page h3 { font-size: 1.15rem; font-weight: 400; color: var(--ink); }
.sub-panel h4 { margin: 0 0 12px; font-size: .78rem; letter-spacing: .14em; font-weight: 500; color: var(--muted); }

/* preparing: an orb that breathes, a line that changes, three bars that fill */
.prep { display: grid; justify-items: center; gap: 22px; padding: clamp(40px, 9vh, 90px) 0; text-align: center; }
.prep[hidden] { display: none; }
.prep-orb { width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #c9c2ff, #6f7cff 45%, #2a1f8a 75%, transparent 76%);
  box-shadow: 0 0 60px #6f7cff88, inset 0 0 30px #ffffff55; animation: orb 3.2s ease-in-out infinite; }
@keyframes orb { 0%, 100% { transform: scale(.92) rotate(0deg); filter: hue-rotate(0deg); } 50% { transform: scale(1.04) rotate(12deg); filter: hue-rotate(40deg); } }
.prep-line { margin: 0; min-height: 1.6em; font-size: clamp(1.1rem, 2.6vw, 1.4rem); font-weight: 200; opacity: 0; filter: blur(6px); transition: opacity .9s var(--ease-dream), filter .9s var(--ease-dream); }
.prep-line.on { opacity: 1; filter: blur(0); }
.prep-bars { display: flex; gap: 8px; }
.prep-bars i { width: 46px; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; position: relative; }
.prep-bars i::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform-origin: right; animation: fill 2.6s var(--ease-dream) infinite; }
.prep-bars i:nth-child(2)::after { animation-delay: .5s; }
.prep-bars i:nth-child(3)::after { animation-delay: 1s; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.prep.live { padding: 36px 0; }
.prep.live .prep-orb { width: 80px; height: 80px; }

/* strategy */
.strategy { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; max-width: 760px; counter-reset: s; }
.strategy li { counter-increment: s; padding: 24px; padding-inline-start: 74px; position: relative; }
.strategy li::before { content: counter(s); position: absolute; inset-inline-start: 24px; top: 18px; font-size: 2rem; font-weight: 100; color: var(--accent); }
.strategy h3 { margin: 0 0 6px; }
.strategy p { margin: 0; color: var(--muted); line-height: 1.6; }

/* whatsapp messages */
.messages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.msg { padding: 22px; display: flex; flex-direction: column; gap: 12px; position: relative; }
.msg header { display: grid; gap: 4px; }
.msg .n { font-size: .74rem; letter-spacing: .18em; color: var(--muted); }
.msg h3 { margin: 0; }
.msg .tag { justify-self: start; font-size: .72rem; color: var(--bg); background: var(--accent); border-radius: 99px; padding: 3px 10px; margin-top: 4px; }
.msg.lead { border-color: color-mix(in srgb, var(--accent) 70%, transparent); box-shadow: 0 20px 60px -30px var(--accent); }
.msg-why { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.msg-text { white-space: pre-wrap; background: rgba(37, 211, 102, .07); border: 1px solid rgba(37, 211, 102, .22); border-radius: 14px 14px 4px 14px; padding: 14px 16px; font-size: 1rem; line-height: 1.6; flex: 1; }
.nebula button.copy { margin: 0; align-self: flex-start; background: var(--ink); color: var(--bg); border-radius: 99px; padding: 9px 20px; font-weight: 500; font-size: .9rem; transition: transform .16s var(--ease-out), background-color .3s ease; }
.nebula button.copy:active { transform: scale(.97); }
.nebula button.copy.done { background: #9ff0d0; }
.site-preview { filter: blur(5px); opacity: .6; user-select: none; pointer-events: none; min-height: 340px; }
.studio-foot { margin: 48px 0 0; display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
.studio-foot .brief { margin: 0; }
.nebula .page .block { border-top-color: var(--line); }
.nebula .page .block:first-child { border-top: 0; padding-top: 0; }
body[data-step=letter] .bg-logo, body[data-step=letter] .sign { opacity: .25; transition: opacity 1.4s ease; }
@media (max-width: 760px) { .messages { grid-template-columns: 1fr; } .strategy li { padding-inline-start: 58px; } .strategy li::before { inset-inline-start: 18px; } .sound-toggle { top: 12px; right: 12px; } }
@media (prefers-reduced-motion: reduce) { .l-line, .page, .q { transition: opacity .3s ease !important; filter: none !important; transform: none !important; } .page-mark, .prep-orb { animation: none; } }
body[data-step=studio] { --logo-w: 64px; }
.bg-logo, .sign { transition: width .8s var(--ease-dream), top .8s var(--ease-dream), left .8s var(--ease-dream), opacity 1.4s ease; }

/* ---- goals, spokesperson, research links, podcast (2026-11-09) ---- */
.step-title { margin: 0; font-size: clamp(1.8rem, 4.8vw, 3rem); font-weight: 200; line-height: 1.15; letter-spacing: -.015em; max-width: 22ch; }
.step-lead { margin: 14px 0 0; color: var(--muted); font-size: clamp(1rem, 2.2vw, 1.15rem); max-width: 52ch; }
.pick-list { margin-top: clamp(26px, 5vh, 40px); display: flex; flex-wrap: wrap; gap: 10px; max-width: 820px; }
.nebula button.pick-chip { margin: 0; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 99px; padding: 12px 20px; font-weight: 300; font-size: 1rem; text-align: start;
  transition: background-color .4s ease, border-color .4s ease, color .4s ease, box-shadow .6s var(--ease-dream), transform .16s var(--ease-out); }
.nebula button.pick-chip::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--muted); margin-inline-end: 10px; vertical-align: middle; transition: background-color .3s ease, border-color .3s ease; }
.nebula button.pick-chip[aria-pressed=true] { border-color: color-mix(in srgb, var(--accent) 80%, transparent); box-shadow: 0 0 24px -6px var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); }
.nebula button.pick-chip[aria-pressed=true]::before { background: #9ff0d0; border-color: #9ff0d0; }
.nebula button.pick-chip:active, .nebula button.pick-card:active { transform: scale(.97); }
.pick-cards { margin-top: clamp(26px, 5vh, 40px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 900px; }
.nebula button.pick-card { margin: 0; min-height: 120px; padding: 22px; text-align: start; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 18px; font-weight: 300; font-size: 1.1rem; line-height: 1.45;
  transition: border-color .4s ease, box-shadow .6s var(--ease-dream), background-color .4s ease, transform .16s var(--ease-out); }
.nebula button.pick-card[aria-checked=true] { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); box-shadow: 0 0 34px -10px var(--accent); }
.line.add-own { margin-top: 18px; max-width: 640px; background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 0 0 2px; align-items: center; }
.line.add-own:focus-within { border-bottom-color: var(--ink); box-shadow: none; }
.line.add-own input { font-size: 1rem !important; padding: 10px 2px !important; }
.line.add-own input::placeholder { color: var(--muted); }
.nebula .line.add-own .send { background: transparent; color: var(--ink); width: 40px; height: 40px; border-radius: 50%; font-size: 1.4rem; }
.goals-echo { margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.goals-echo span { font-size: .8rem; color: var(--muted); border: 1px solid var(--line); border-radius: 99px; padding: 4px 12px; }
.research-note { margin: 4px 0 6px; font-size: .78rem; letter-spacing: .1em; color: #9ff0d0; }
.ch-link { grid-column: 2 / 4; justify-self: start; margin-top: 6px; font-size: .85rem; color: var(--accent); text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); direction: ltr; unicode-bidi: plaintext; }
@media (hover: hover) and (pointer: fine) { a.ch-link:hover { color: var(--ink); border-bottom-color: var(--ink); } }
#podcastBody audio { width: 100%; max-width: 640px; margin-bottom: 18px; color-scheme: dark; }
.transcript { max-width: 760px; padding: 18px 22px; }
.transcript summary { cursor: pointer; color: var(--muted); }
.transcript p { margin: 12px 0 0; line-height: 1.65; }
@media (max-width: 760px) { .pick-cards { grid-template-columns: 1fr; } .ch-link { grid-column: 2; } }

/* ---- arrivals, interactive cards, the magic arrow (2026-11-09) ---- */
.card-in { animation: card-in 1.6s var(--ease-dream) both; animation-delay: var(--d, 0ms); }
@keyframes card-in { from { opacity: 0; filter: blur(14px); transform: translateY(18px) scale(.985); } }

.strategy > li, .msg, .where > .ch { position: relative; isolation: isolate; transition: transform .6s var(--ease-dream), border-color .5s ease, box-shadow .7s var(--ease-dream), background-color .5s ease; }
.strategy > li::after, .msg::after, .where > .ch::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .6s ease;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--accent) 22%, transparent), transparent 65%); }
.strategy > li p, .msg .msg-why { transition: color .5s ease; }
.strategy > li h3, .msg h3 { transition: letter-spacing .6s var(--ease-dream), text-shadow .6s ease; }
.strategy > li::before { transition: color .5s ease, text-shadow .6s ease, transform .6s var(--ease-dream); }
@media (hover: hover) and (pointer: fine) {
  .strategy > li:hover, .msg:hover, .where > .ch:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 60%, transparent); box-shadow: 0 24px 60px -30px var(--accent); background: color-mix(in srgb, var(--bg) 40%, transparent); }
  .strategy > li:hover::after, .msg:hover::after, .where > .ch:hover::after { opacity: 1; }
  .strategy > li:hover p, .msg:hover .msg-why { color: var(--ink); }
  .strategy > li:hover h3, .msg:hover h3 { letter-spacing: .01em; text-shadow: 0 0 22px color-mix(in srgb, var(--accent) 60%, transparent); }
  .strategy > li:hover::before { color: #9ff0d0; text-shadow: 0 0 18px #9ff0d0; transform: scale(1.12); }
}
.where > .ch { border-radius: 14px; padding-inline: 12px; margin-inline: -12px; }

.nebula button.next-arrow { position: fixed; left: clamp(8px, 2.4vw, 32px); top: 50%; z-index: 5; margin: 0; padding: 14px 10px; background: none; color: var(--ink);
  display: grid; justify-items: center; gap: 8px; border-radius: 18px; transform: translateY(-50%) translateX(calc(var(--pull, 0) * -10px)); transition: transform .5s var(--ease-dream); }
.next-arrow .na-svg { width: calc(104px + var(--pull, 0) * 56px); height: calc(34px + var(--pull, 0) * 6px); overflow: visible; transition: width .45s var(--ease-dream), filter .45s ease;
  filter: drop-shadow(0 0 calc(4px + var(--pull, 0) * 14px) #9ff0d0); animation: na-drift 3.2s var(--ease-dream) infinite; }
.next-arrow .na-head { transform-origin: 12px 20px; }
.next-arrow .na-label { font-size: .74rem; letter-spacing: .08em; color: var(--muted); opacity: calc(.35 + var(--pull, 0) * .65); transition: opacity .4s ease; white-space: nowrap; }
.next-arrow .na-spark { position: absolute; left: 8px; top: calc(50% + 10px); width: 6px; height: 6px; border-radius: 50%; background: #9ff0d0; box-shadow: 0 0 12px #9ff0d0; opacity: calc(.3 + var(--pull, 0) * .7); animation: na-spark 2.4s ease-in-out infinite; }
@keyframes na-drift { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-6px); } }
@keyframes na-spark { 0%, 100% { transform: translateX(0) scale(.7); } 50% { transform: translateX(-10px) scale(1.15); } }
@media (hover: hover) and (pointer: fine) { .nebula button.next-arrow:hover { --pull: 1; } .nebula button.next-arrow:hover .na-label { color: var(--ink); } }
.nebula button.next-arrow:active { transform: translateY(-50%) scale(.95); }
@media (max-width: 760px) { .nebula button.next-arrow { top: auto; bottom: 64px; transform: none; } }
@media (prefers-reduced-motion: reduce) { .card-in { animation: none; } .next-arrow .na-svg, .next-arrow .na-spark { animation: none; } }
.pod-wait { padding: 18px 22px; max-width: 640px; color: var(--muted); margin: 0 0 18px; }
.nebula .hero .sub-hint { margin: 12px 0 0; font-size: clamp(.8rem, 1.6vw, .86rem); font-weight: 300; color: var(--muted); max-width: 46ch; line-height: 1.55; }

/* ======== 2026-11-10: every entrance is a slow, dreamy fade (Doron: text "jumps in" on every page) ========
   Keyframe animations instead of transitions: an animation restarts whenever an element appears
   (display:none -> shown, or newly inserted), so nothing can skip its entrance and pop in. */
@keyframes dream-in { from { opacity: 0; filter: blur(16px); transform: translateY(14px); } to { opacity: 1; filter: blur(0); transform: none; } }
@keyframes dream-out { to { opacity: 0; filter: blur(12px); transform: translateY(-12px); } }
.rise, .rise.on { transition: none; opacity: 1; filter: none; transform: none; }
.step:not([hidden]) .rise, #thinkView .rise, #learnedView .said-back {
  animation: dream-in 1.9s var(--ease-dream) both; animation-delay: calc(var(--i, 0) * 420ms); }
.q { transition: none; }
.q, .q.pre { animation: dream-in 1.8s var(--ease-dream) both; animation-delay: .25s; }
.q.out { animation: dream-out .9s var(--ease-out) forwards; pointer-events: none; }
.think-status span, .think-status span.pre { transition: none; animation: dream-in 1.6s var(--ease-dream) both; }
.think-status span.out { animation: dream-out .9s var(--ease-out) forwards; }
.page:not([hidden]) .page-head > * { animation: dream-in 1.9s var(--ease-dream) both; }
.page:not([hidden]) .page-head > :nth-child(2) { animation-delay: .35s; }
.page:not([hidden]) .page-head > :nth-child(3) { animation-delay: .7s; }
.page:not([hidden]) .page-head > :nth-child(4) { animation-delay: 1s; }
.card-in { animation: dream-in 1.9s var(--ease-dream) both; animation-delay: calc(var(--d, 0ms) * 2.4 + 900ms); }
.prep:not([hidden]) > * { animation: dream-in 1.6s var(--ease-dream) both; }
@media (prefers-reduced-motion: reduce) { .step .rise, .q, .page-head > *, .card-in { animation-duration: .01s !important; animation-delay: 0s !important; } }
/* letter: slower, calmer (2026-11-10) */
.l-line { transition: opacity 2.8s var(--ease-dream), filter 2.8s var(--ease-dream), transform 2.8s var(--ease-dream); filter: blur(20px); transform: translateY(18px); }
.l-line.on { filter: blur(0); transform: none; }
.l-line.out { transition-duration: 1.4s; transition-timing-function: ease-in-out; }
.l-final { gap: 6px; }
.l-final > p.l-line { margin: 0; font-size: clamp(2.4rem, 7.4vw, 5rem); font-weight: 200; line-height: 1.12; letter-spacing: -.02em; }
.l-final > p.l-line b { font-weight: 500; }
.l-final > .go.l-line { margin-top: 40px; justify-self: center; }
.nebula button.next-arrow { left: max(10px, calc(50vw - 430px - 170px)); }   /* beside the content, not at the screen edge (Doron 2026-11-10) */
.code-ways { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 10px; } .dev-code { color: var(--warn, #ffc876); }

/* WhatsApp messages as a gallery (Doron 2026-11-10): cards keep their natural height, like a masonry wall */
.messages { display: block; columns: 3 280px; column-gap: 16px; }
.msg { break-inside: avoid; margin: 0 0 16px; display: flex; }
.msg.lead { column-span: none; }
.msg-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 4px; }
.to-wa { display: inline-flex; align-items: center; gap: 6px; padding: 9px 18px; border-radius: 99px; border: 1px solid rgba(37, 211, 102, .45); color: #7ff0ad; text-decoration: none; font-size: .9rem;
  transition: background-color .5s ease, color .5s ease, box-shadow .8s var(--ease-dream), transform .16s var(--ease-out); }
.to-wa.ready { background: #25d366; color: #04210f; border-color: #25d366; box-shadow: 0 0 26px -6px #25d366; }
.to-wa:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .to-wa:hover { background: rgba(37, 211, 102, .14); } .to-wa.ready:hover { background: #25d366; } }
/* uploaded photos live in the face grid; the big drop zone and the thumbs row are gone (2026-11-10) */
#drop, #thumbs { display: none !important; }
.face.own img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; display: block; }
.face.uploading { opacity: .5; animation: breathe 1.4s ease-in-out infinite; }
.film-go { display: grid; gap: 18px; justify-items: start; max-width: 560px; }

/* banners: 2 open, 10 locked (2026-11-10) */
.banner-set { margin-bottom: 40px; display: grid; gap: 22px; }
.banner-free { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-end; }
.banner-free .graphic canvas { width: min(300px, 80vw); height: auto; display: block; border-radius: 12px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); }
.banner-free .graphic:nth-child(2) canvas { width: min(240px, 66vw); }
.banner-locked { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.bl-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; padding: 10px; filter: blur(7px); opacity: .55; }
.bl-tile { aspect-ratio: 4 / 5; border-radius: 8px; background: #0b0d18 center / cover no-repeat; }
.bl-tile:nth-child(3n) { aspect-ratio: 9 / 16; }
@media (max-width: 640px) { .bl-grid { grid-template-columns: repeat(3, 1fr); } }
/* owner's offer with a countdown (2026-11-10) */
.promo-box { margin-top: 28px; padding: 22px; max-width: 760px; display: grid; gap: 12px; }
.promo-box h3 { margin: 0; }
.promo-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 14px 18px; border-radius: 14px;
  background: linear-gradient(90deg, rgba(255, 200, 118, .16), rgba(142, 162, 255, .12)); border: 1px solid rgba(255, 200, 118, .45); animation: dream-in 1.6s var(--ease-dream) both; }
.promo-tag { font-size: .74rem; letter-spacing: .12em; color: #01020a; background: #ffc876; border-radius: 99px; padding: 3px 10px; }
.promo-text { font-weight: 500; font-size: 1.08rem; flex: 1; min-width: 12ch; }
.promo-clock { font-variant-numeric: tabular-nums; direction: ltr; font-size: 1.2rem; color: #ffc876; letter-spacing: .04em; }
.promo-audio { display: grid; gap: 12px; } .promo-audio audio { width: 100%; color-scheme: dark; } .promo-ways { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
/* subscription (2026-11-10): prices under every unlock button; subscribers see what is open */
.gate-price { display: block; font-size: .82rem; color: var(--muted); margin-top: 2px; }
body.subscribed .studio-nav a[data-state=locked] { opacity: 1; }
.sub-badge { display: inline-flex; gap: 6px; align-items: center; font-size: .8rem; color: #9ff0d0; border: 1px solid rgba(159, 240, 208, .4); border-radius: 99px; padding: 4px 12px; }
/* letter without jumps (2026-11-10): lines are laid out before they fade in; a swap shares one slot */
.l-slot { display: grid; }
.l-slot > .l-line { grid-area: 1 / 1; }
.letter-go .go:disabled { cursor: default; }
.letter { justify-content: flex-start !important; padding-top: clamp(80px, 18vh, 200px) !important; }

/* Locked list = one quiet indicator, not a blurred wall (Doron, 10/11). After paying it is the full list. */
.locked.teaser { margin-top: 18px; padding: 26px 20px; border: 1px dashed color-mix(in srgb, var(--muted) 45%, transparent); border-radius: 18px; text-align: center; }
.teaser-in { display: grid; gap: 10px; justify-items: center; }
.teaser-in svg { opacity: .8; }
.teaser-in strong { font-weight: 400; font-size: 1.1rem; }
/* Page heads stay short so the first card is seen without scrolling. */
.page { padding-top: clamp(18px, 3.5vh, 36px); }
.page-head { margin-bottom: clamp(16px, 2.6vh, 26px); }
.page-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.page-head .page-lead { margin-top: 8px; }
.page-mark { font-size: clamp(7rem, 18vw, 13rem); }

/* Back arrow on the right (RTL: the previous page), quieter than the next one. */
.nebula button.next-arrow.prev { left: auto; right: max(10px, calc(50vw - 430px - 170px)); opacity: .55; transform: translateY(-50%); }
.nebula button.next-arrow.prev .na-svg { transform: scaleX(-1); width: 78px; animation: none; filter: drop-shadow(0 0 4px #9ff0d0); }
@media (hover: hover) and (pointer: fine) { .nebula button.next-arrow.prev:hover { opacity: 1; } }
@media (max-width: 760px) { .nebula button.next-arrow.prev { display: none; } }
/* The face → scene → banners and film process, shown on both pages. */
.process { list-style: none; margin: 0 0 clamp(18px, 3vh, 28px); padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.process li { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; color: var(--muted); }
.process li[data-go] { cursor: pointer; }
.process li.here, .process li[data-go]:hover { color: var(--ink); }
.process .pn { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-size: .78rem; border: 1px solid color-mix(in srgb, var(--muted) 50%, transparent); }
.process li.here .pn { border-color: #9ff0d0; color: #9ff0d0; box-shadow: 0 0 10px color-mix(in srgb, #9ff0d0 40%, transparent); }
.process .pa { color: color-mix(in srgb, var(--muted) 60%, transparent); }

/* The advanced film lives under the example film (Doron, 10/11). */
.adv-film { margin-top: clamp(28px, 5vh, 48px); padding-top: clamp(22px, 4vh, 36px); border-top: 1px solid color-mix(in srgb, var(--muted) 25%, transparent); display: grid; gap: 18px; }
.adv-film > h3 { margin: 0; font-size: clamp(1.3rem, 2.6vw, 1.8rem); font-weight: 300; }
.adv-film > .muted { margin: -8px 0 0; }

/* The owner should know the studio stays: come back and make more, any time. */
.come-back { margin: 10px 0 0; text-align: center; font-size: .84rem; color: var(--muted); }
.banner-set > .teaser { margin-top: 22px; }

/* All eight studio pages must be seen: wrap on wide screens instead of hiding "אתר" behind a scroll (Doron, 10/11). */
/* One line, all eight pages visible (Doron: no second row, nothing behind a scroll). */
@media (min-width: 761px) { .studio-nav { flex-wrap: nowrap; justify-content: center; overflow-x: visible; gap: 5px; }
  .studio-nav a { padding: 7px 12px !important; font-size: clamp(.74rem, 1.05vw, .9rem) !important; white-space: nowrap; gap: 6px !important; } }

/* Landing page picker: three live thumbnails, the chosen one in full below. */
.lp-picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 22px; }
.nebula button.lp-pick { margin: 0; padding: 8px; display: grid; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; color: var(--ink); cursor: pointer; transition: border-color .3s, box-shadow .3s; }
.nebula button.lp-pick.on { border-color: #9ff0d0; box-shadow: 0 0 0 1px #9ff0d0, 0 0 24px color-mix(in srgb, #9ff0d0 25%, transparent); }
.lp-thumb { display: block; position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 10px; background: #fff; }
.lp-thumb iframe { position: absolute; top: 0; right: 0; width: 400%; height: 400%; border: 0; transform: scale(.25); transform-origin: top right; pointer-events: none; }
.lp-name { font-size: .9rem; }
.lp-full { padding: 0; overflow: hidden; }
.lp-full iframe { display: block; width: 100%; height: min(78vh, 760px); border: 0; background: #fff; }
@media (max-width: 760px) { .lp-picks { gap: 8px; } .lp-name { font-size: .78rem; } }

/* Banners grow a little under the hand (Doron, 10/11). */
.banner-free .graphic canvas { transition: transform .5s var(--ease-dream), box-shadow .5s ease; transform-origin: center; }
@media (hover: hover) and (pointer: fine) { .banner-free .graphic:hover { position: relative; z-index: 3; } .banner-free .graphic:hover canvas { transform: scale(1.12); box-shadow: 0 24px 60px rgba(0,0,0,.55); } }

/* WhatsApp page: the first message, with its buttons, fits on the first screen. */
[data-page="whatsapp"] .page-head { margin-bottom: 14px; }
[data-page="whatsapp"] .page-head h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
.msg { padding: 18px 20px; gap: 10px; }
.msg-text { flex: none; font-size: .95rem; line-height: 1.55; padding: 12px 14px; }
.msg-why { font-size: .84rem; border-top: 1px solid var(--line); padding-top: 10px; }

/* Ready pages light up with a small "מוכן" above, which then fades. Pages still in the making keep breathing. */
.studio-nav a { position: relative; }
.studio-nav a::before { content: "מוכן"; position: absolute; top: -13px; left: 50%; transform: translate(-50%, 4px); font-size: .62rem; letter-spacing: .06em; color: #9ff0d0; opacity: 0; pointer-events: none; text-shadow: 0 0 10px #9ff0d0; }
.studio-nav a.ready-flash::before { animation: ready-tag 2.8s var(--ease-dream) both; }
.studio-nav a.ready-flash { animation: ready-glow 2.8s ease both; }
@keyframes ready-tag { 0% { opacity: 0; transform: translate(-50%, 4px); } 18%, 70% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; transform: translate(-50%, -2px); } }
@keyframes ready-glow { 0% { box-shadow: none; } 25% { box-shadow: 0 0 0 1px #9ff0d0, 0 0 26px color-mix(in srgb, #9ff0d0 55%, transparent); } 100% { box-shadow: none; } }
@media (prefers-reduced-motion: reduce) { .studio-nav a.ready-flash, .studio-nav a.ready-flash::before { animation-duration: .01s; } }
@media (min-width: 761px) { .studio-nav { padding-top: 20px; } }

/* WhatsApp page, tighter: no kicker, card header on one line, the come-back line close to the nav. */
[data-page="whatsapp"] .kicker { display: none; }
.msg header { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.msg .tag { margin-top: 0; }
.come-back { margin-top: 2px; font-size: .78rem; }
.sub-panel { display: flex; flex-direction: column; } .sub-panel .msg-actions { margin-top: auto; padding-top: 14px; }
[data-page="whatsapp"].page { padding-top: 8px; }
.lp-open { margin: 0 0 10px; text-align: center; font-size: .9rem; } .lp-open a { color: #9ff0d0; }

/* Temporary (Doron, 10/11): enter as Doron, beside the music button. Remove when the joining flow is wired for real. */
.owner-btn { position: fixed; top: 18px; right: 66px; z-index: 6; margin: 0; padding: 9px 16px; border-radius: 99px; font-size: .82rem; font-weight: 500;
  background: color-mix(in srgb, var(--bg) 60%, transparent); color: var(--ink); border: 1px dashed var(--line); backdrop-filter: blur(6px); }
@media (hover: hover) and (pointer: fine) { .nebula button.owner-btn:hover { background: color-mix(in srgb, var(--ink) 12%, transparent); } }
@media (max-width: 760px) { .owner-btn { top: 12px; right: 58px; } }
.nebula .hero .gate-join { margin-top: 28px; }
.gate-join a { color: var(--muted); text-decoration: underline; text-underline-offset: 4px; }
.gate-join a:hover { color: var(--ink); }
/* Phones (Doron, 11/11: "המערכת צריכה להיות רספונסיבית"): the temporary owner button sits under the music button, clear of the logo. */
@media (max-width: 520px) { .nebula button.owner-btn { top: 58px; right: 12px; padding: 6px 12px; font-size: .74rem; } }
/* On phones the top corner buttons scroll away with the page instead of floating over the text. */
@media (max-width: 520px) { .nebula button.sound-toggle, .nebula button.owner-btn { position: absolute; } }
/* Phones and tablets (up to 900px; one line no longer fits at 768): all studio pages are visible at once, no sideways scrolling of the pills, room for the "מוכן" tag. */
@media (max-width: 900px) {
  .studio-nav { flex-wrap: wrap; justify-content: center; overflow-x: visible; gap: 14px 6px; padding-top: 18px; margin-inline: 0; padding-inline: 0; }
  .studio-nav a { padding: 6px 11px; font-size: .8rem; gap: 6px; }
}
/* On phones the wrapped nav would take a third of the screen if it stayed pinned, so it scrolls with the page. */
@media (max-width: 520px) { .studio-nav { position: relative; } }
/* Phones: the next-page arrow becomes a small round glass button in the corner (no label) instead of a long arrow over the text,
   and the page gets room at the bottom so the last card is never under it. */
@media (max-width: 520px) {
  .nebula button.next-arrow { bottom: 16px; left: 12px; width: 48px; height: 48px; padding: 0; place-items: center; border-radius: 50%;
    background: color-mix(in srgb, var(--bg) 70%, transparent); border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .nebula button.next-arrow .na-label, .nebula button.next-arrow .na-spark { display: none; }
  .nebula button.next-arrow .na-svg { width: 30px; height: 20px; animation: none; }
  .nebula .pages { padding-bottom: 72px; }
}
