/* ==========================================================================
   Moranovich · page.css
   Landing page styles on top of tokens.css. Everything scoped under .mv so the
   studio can render the same page inline in a div. Layout switches use a
   container query on .mv (not the viewport), so a narrow preview pane shows the
   phone layout even on a wide screen.
   ========================================================================== */

.mv-body { margin: 0; background: var(--paper); }
.mv-skip {
  position: absolute; inset-inline-start: 8px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: var(--r-sm);
  font: 700 var(--fs-small)/1 var(--font-body); text-decoration: none;
}
.mv-skip:focus { top: 8px; }

.mv {
  container: mv / inline-size;
  direction: rtl;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}
:where(.mv) *, :where(.mv) *::before, :where(.mv) *::after { box-sizing: border-box; }
:where(.mv) :where(h1, h2, h3, p, figure, ol, ul) { margin: 0; padding: 0; }
:where(.mv) :where(img, video, svg) { max-width: 100%; }
:where(.mv) img { height: auto; }
:where(.mv) a { color: inherit; }
.mv :focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 2px; box-shadow: 0 0 0 2px var(--focus-offset); border-radius: 4px; }
.mv .mv-num { font-variant-numeric: tabular-nums; }
.mv bdi { unicode-bidi: isolate; }

.mv-page {
  --gutter: var(--sp-5);
  --section-gap: var(--sp-10);
  --mv-hero-min: 88svh;
}
.mv-wrap { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.mv-sec { padding-block: calc(var(--section-gap) / 2); }
.mv-h2 { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h2); line-height: var(--lh-heading); color: var(--ink); text-wrap: balance; margin-block-end: var(--sp-5); }
.mv-eyebrow { font-size: var(--fs-eyebrow); letter-spacing: var(--tracking-latin); font-weight: 700; color: var(--brown-700); direction: ltr; }

.mv-mono { --c1: var(--brown); --c2: var(--pink); --c3: var(--aqua); display: block; width: 100%; height: auto; }
.mv-ico { width: 20px; height: 20px; flex: none; }

/* ---------- buttons ---------- */
.mv-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--btn-h); padding: 8px 18px; border-radius: var(--r-lg); border: 0;
  font-family: var(--font-body); font-size: var(--fs-ui); font-weight: var(--fw-heavy); line-height: 1.15;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.mv-btn:hover { transform: translateY(-1px); }
.mv-btn:active { transform: scale(.98); }
.mv-btn .mv-ico { width: 22px; height: 22px; }
.mv-btn-wa { background: var(--cta-bg); color: var(--cta-fg); box-shadow: var(--shadow-cta); width: 100%; font-size: max(var(--fs-ui), 17px); }
.mv-btn-wa:hover { background: var(--cta-bg-hover); box-shadow: var(--shadow-cta-hover); }
.mv-btn-wa:active { background: var(--cta-bg-active); }
.mv-btn-call { background: var(--cta2-bg); color: var(--cta2-fg); flex-direction: column; gap: 0; padding-block: 6px; }
.mv-btn-call:hover { background: var(--cta2-bg-hover); }
.mv-call-l { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-small); }
.mv-call-l .mv-ico { width: 17px; height: 17px; }
.mv-btn-call bdi { font-size: var(--fs-small); font-weight: 700; color: var(--brown-700); }
.mv-btn-msg { background: transparent; color: var(--cta3-fg); box-shadow: inset 0 0 0 2px var(--cta3-border); }
.mv-btn-msg:hover { background: var(--white); }

.mv-cta { display: grid; gap: var(--sp-3); }
.mv-btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
.mv-btn-row .mv-btn { padding-inline: 8px; }
.mv-wa-wrap { position: relative; isolation: isolate; }
.mv-wa-wrap .mv-btn { position: relative; z-index: 1; }
.mv-ripple {
  position: absolute; z-index: 0; pointer-events: none;
  width: 220px; aspect-ratio: 1; inset-inline-start: 50%; top: 50%;
  transform: translate(50%, -50%); opacity: .35;
}
.mv-ripple .mv-lottie { display: block; width: 100%; height: 100%; }
.mv-ripple.is-idle { opacity: 0; }

/* ---------- hero ---------- */
.mv-hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: var(--mv-hero-min);
  padding-block: 76px 0;
  display: flex; flex-direction: column; justify-content: center;
}
.mv-page.is-preview { --mv-hero-min: 0px; }
/* The hero floor is the real photograph of the lane at sunrise (900x1200, 50KB),
   over the water gradient. No shader, no canvas. */
.mv-caustics {
  position: absolute; inset: 0; z-index: -2; overflow: hidden;
  background: linear-gradient(180deg, var(--caustics-floor-top), var(--caustics-floor-bottom));
}
/* The photograph lives in the pool window, which carries the whole hero. The
   ground behind the type stays a quiet wash so the name and the CTA stay crisp. */
.mv-caustics::before {
  content: ""; position: absolute; inset: 0;
  background: url("../assets/pool-lane-bg.webp") center 42% / cover no-repeat;
  opacity: .14; filter: saturate(.8);
}
.mv-veil {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(251,254,254,.92) 0%, rgba(251,254,254,.74) 46%, rgba(251,254,254,.58) 76%, rgba(251,254,254,.88) 100%),
    radial-gradient(78% 46% at 86% 22%, rgba(255,255,255,.85), rgba(255,255,255,0) 70%);
}

.mv-bar { position: absolute; inset-block-start: 0; inset-inline: 0; padding-block: 16px; }
.mv-bar-in { display: flex; align-items: center; gap: 10px; }
.mv-bar .mv-mono { width: 32px; }
.mv-bar-wm { font-size: var(--fs-eyebrow); letter-spacing: var(--tracking-latin); font-weight: 700; color: var(--brown-700); direction: ltr; }

.mv-hero-in { display: grid; gap: var(--sp-7); align-items: center; }
.mv-hero-text { position: relative; padding-inline-start: 30px; display: grid; justify-items: start; gap: var(--sp-3); }
.mv-lane-line {
  position: absolute; inset-inline-start: 0; top: 10px; bottom: 0; width: 12px;
  background: var(--lane-line); border-radius: 0 0 3px 3px;
}
.mv-lane-line::before { /* the T at the wall */
  content: ""; position: absolute; top: -10px; inset-inline-start: -10px; width: 32px; height: 12px;
  background: var(--lane-line); border-radius: 3px;
}
.mv-logo { width: 64px; height: 64px; position: relative; margin-block-end: var(--sp-1); }
.mv-logo .mv-static, .mv-foot-badge .mv-static { transition: opacity var(--dur-base) var(--ease-out); }
.mv-lottie { display: block; width: 100%; height: 100%; }
.mv-logo .mv-lottie, .mv-foot-badge .mv-lottie { position: absolute; inset: 0; }
.has-lottie > .mv-static { opacity: 0; }

.mv-venue-chip, .mv-area {
  display: inline-flex; align-items: center; gap: 8px; max-width: 100%;
  font-size: var(--fs-small); font-weight: 700; color: var(--ink); line-height: 1.3;
}
.mv-venue-chip { background: var(--white); border-radius: var(--r-pill); padding: 8px 14px; box-shadow: var(--shadow-chip); }
.mv-venue-chip i, .mv-area i { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); flex: none; }
.mv-area { color: var(--brown-700); letter-spacing: .02em; }
.mv-name {
  font-family: var(--font-display); font-weight: 700; color: var(--ink);
  font-size: clamp(3.5rem, 18cqi, 8rem); line-height: var(--lh-display);
  white-space: nowrap; margin-block-start: var(--sp-2);
}
.mv-role { font-size: var(--fs-role); font-weight: 700; color: var(--brown-700); line-height: 1.2; }
.mv-area-s { font-size: var(--fs-small); color: var(--muted); font-weight: 600; margin-block-start: -4px; }
.mv-lead { font-size: var(--fs-lead); color: var(--ink-soft); max-width: 34ch; line-height: 1.55; }
.mv-hero-text .mv-cta { width: 100%; max-width: 440px; margin-block-start: var(--sp-3); }

/* ---------- hero pool window + cutout ----------
   The loop plays inside the 4:5 window. Moran's real cutout stands on the aqua
   circle and overlaps the window's lower edge, her feet ending in the wave. */
.mv-pool {
  position: relative; width: min(100%, 380px); justify-self: center; align-self: end;
  margin: 0; --cut-w: 52%;
}
.mv-pool--photo { aspect-ratio: 364 / 495; --cut-w: 100%; }
.mv-pool--photo .mv-pool-cut { inset-inline: 0; }
.mv-pool--video { padding-block-end: 84px; margin-block-end: 8px; align-self: center; --cut-sink: -30px; }
.mv-pool-window {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-pool); overflow: hidden;
  box-shadow: var(--shadow-float); background: var(--aqua-100);
}
.mv-pool-window::after { /* keeps the rounded window reading as glass, not a raw crop */
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.55);
}
.mv-pool-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.mv-pool-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: none; z-index: 1; }

.mv-pool-cut { position: absolute; bottom: var(--cut-sink, 0px); inset-inline-start: -4%; width: var(--cut-w); }
.mv-pool-sun {
  position: absolute; width: 112%; aspect-ratio: 1; border-radius: 50%; background: var(--aqua);
  left: 50%; bottom: 16%; transform: translateX(-50%); z-index: 0;
}
.mv-pool--photo .mv-pool-sun { width: 92%; bottom: auto; top: 14%; }
.mv-pool-img { position: relative; z-index: 1; display: block; width: 100%; height: auto; filter: drop-shadow(0 18px 24px rgba(38,33,29,.18)); }
.mv-video-play {
  position: absolute; inset-inline-end: 14px; top: 14px; width: 48px; height: 48px; border-radius: 50%;
  border: 0; background: var(--white); color: var(--ink); box-shadow: var(--shadow-chip); cursor: pointer; display: grid; place-items: center;
}
.mv-video-play .mv-ico { width: 22px; height: 22px; }
.mv-video-play[hidden] { display: none; }

.mv-water { position: absolute; left: 0; right: 0; bottom: -1px; height: 64px; overflow: hidden; pointer-events: none; z-index: 2; direction: ltr; }
.mv-wv { position: absolute; bottom: 0; left: 0; width: 200%; height: 100%; display: block; max-width: none !important; }
.mv-wv-back path { fill: var(--aqua-400); }
.mv-wv-front path { fill: var(--paper); }
.mv-wv-front { animation: mv-drift 11s linear infinite; }
.mv-wv-back { animation: mv-drift 17s linear infinite reverse; opacity: .9; }
@keyframes mv-drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- credentials band (under the hero) ---------- */
.mv-creds-band { background: var(--ground); border-block: 1px solid var(--line); }
.mv-creds {
  list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3) var(--sp-5);
  padding-block: var(--sp-5);
}
.mv-creds li { display: flex; align-items: baseline; gap: 8px; font-size: var(--fs-small); font-weight: 700; color: var(--brown-700); line-height: 1.35; }
.mv-creds li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--aqua-800); flex: none; transform: translateY(-2px); }

/* ---------- personal note card (venue pages only) ---------- */
.mv-note-sec { padding-block-start: var(--sp-5); }
.mv-note {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-card);
  padding: var(--sp-7) var(--sp-6); display: grid; gap: var(--sp-5); max-width: 760px;
}
.mv-note-title { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-venue); line-height: 1.02; color: var(--ink); text-wrap: balance; }
.mv-note-text { font-size: var(--fs-lead); color: var(--ink-soft); line-height: 1.65; max-width: 54ch; }
.mv-chips { list-style: none; display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.mv-chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px;
  padding: 6px 12px; border-radius: var(--r-pill); background: var(--aqua-50); border: 1px solid var(--line);
  font-size: var(--fs-small); font-weight: 600; color: var(--ink); line-height: 1.3;
}
.mv-chip .mv-ico { width: 17px; height: 17px; color: var(--aqua-800); }
.mv-chip-offer .mv-ico { color: var(--pink-700); }
.mv-sign { display: flex; align-items: center; gap: 10px; padding-block-start: var(--sp-4); border-top: 1px solid var(--line); }
.mv-sign-mono { width: 30px; flex: none; }
.mv-sign span { font-family: var(--font-display); font-weight: 700; font-size: 34px; line-height: 1; color: var(--brown-700); }

/* ---------- lane rope ---------- */
.mv-rope { display: flex; gap: 5px; justify-content: center; padding-block: var(--sp-4); overflow: hidden; }
.mv-rope i { width: 14px; height: 8px; border-radius: var(--r-xs); background: var(--aqua); flex: none; }
.mv-rope i:nth-child(4n+1), .mv-rope i:nth-child(4n+2) { background: var(--pink); }

/* ---------- lanes ---------- */
.mv-lanes { list-style: none; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-card); }
.mv-lane { display: grid; grid-template-columns: auto 1fr; gap: var(--sp-4); align-items: center; padding: var(--sp-4) var(--sp-5); position: relative; }
.mv-lane + .mv-lane { border-top: 2px dashed var(--lane-rope); }
.mv-lane.is-avail { background: var(--aqua-50); }
.mv-lane-head { display: flex; align-items: center; gap: var(--sp-2); }
.mv-lane-num { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-lane-num); line-height: 1; color: var(--pink); min-width: 26px; text-align: center; }
.mv-lane-ico { position: relative; width: 40px; height: 40px; display: block; flex: none; }
.mv-lane-ico > .mv-static { display: block; width: 100%; height: 100%; transition: opacity var(--dur-base) var(--ease-out); }
.mv-lane-ico .mv-lottie { position: absolute; inset: 0; }
.mv-lane-body h3 { font-size: var(--fs-body); font-weight: 800; line-height: 1.3; color: var(--ink); }
.mv-lane-body p { font-size: var(--fs-small); color: var(--muted); line-height: 1.45; margin-block-start: 2px; }
.mv-tag {
  display: inline-flex; align-items: center; gap: 4px; margin-block-start: var(--sp-2);
  font-size: var(--fs-micro); font-weight: 800; color: var(--pink-700);
  background: var(--white); border: 1px solid var(--pink-100); border-radius: var(--r-pill); padding: 2px 10px 2px 8px;
}
.mv-tag .mv-ico { width: 14px; height: 14px; }

/* ---------- the convenience line (under the lanes, one quiet line) ---------- */
.mv-conv {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px var(--sp-2);
  margin-block-start: var(--sp-5); font-size: var(--fs-small); color: var(--brown-700); line-height: 1.5;
}
.mv-conv .mv-ico { width: 18px; height: 18px; color: var(--aqua-800); align-self: center; }
.mv-conv b { font-weight: 800; color: var(--ink); }
.mv-conv i { font-style: normal; color: var(--line-strong); }

/* ---------- למי זה מתאים ---------- */
.mv-fit-list {
  list-style: none; display: grid; margin-block-start: calc(var(--sp-2) * -1);
  border-block-end: 1px solid var(--line);
}
.mv-fit-list li {
  display: grid; grid-template-columns: auto 1fr; gap: var(--sp-3); align-items: start;
  padding-block: var(--sp-3); border-block-start: 1px solid var(--line);
  font-size: var(--fs-body); color: var(--ink-soft); line-height: 1.5;
}
.mv-fit-b {
  width: 24px; height: 24px; border-radius: 50%; background: var(--aqua-200); color: var(--aqua-800);
  display: grid; place-items: center; margin-block-start: 2px;
}
.mv-fit-b .mv-ico { width: 14px; height: 14px; }
.mv-fit-note { margin-block-start: var(--sp-4); font-size: var(--fs-small); color: var(--muted); }
.mv-lanes-close { margin-block-start: var(--sp-5); font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h3); line-height: 1; color: var(--brown-700); }

/* ---------- pool band (the lane photo, carrying the closing line) ---------- */
.mv-band {
  position: relative; isolation: isolate;
  min-height: 190px; display: grid; align-items: center;
  background: var(--aqua-100) center 58% / cover no-repeat;
  margin-block: var(--sp-6);
}
.mv-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(270deg, rgba(251,254,254,.92) 0%, rgba(251,254,254,.62) 40%, rgba(251,254,254,.08) 100%);
}
.mv-band-line {
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h2); line-height: 1;
  color: var(--ink); text-shadow: 0 1px 0 rgba(255,255,255,.7);
}

/* ---------- about ---------- */
/* On a venue page the lanes Moran offers there carry the "זמין אצלכם" tag;
   the rest stay readable and simply step back. */
.mv-lane.is-dim { opacity: .62; }
.mv-lane.is-dim .mv-lane-n { color: var(--brown-300); }
@media (prefers-reduced-transparency: reduce) { .mv-lane.is-dim { opacity: 1; } }

.mv-about { display: grid; gap: var(--sp-6); }
.mv-about-text { display: grid; gap: var(--sp-4); }
.mv-about-text .mv-h2 { margin-block-end: var(--sp-1); }
.mv-about-p { max-width: 65ch; color: var(--ink-soft); font-size: var(--fs-body); line-height: 1.65; }
.mv-about-photo {
  position: relative; order: -1; display: grid; justify-items: center; align-items: end;
  padding-block-start: var(--sp-4);
}
.mv-about-blob {
  position: absolute; left: 50%; bottom: 0; width: min(340px, 94%); aspect-ratio: 1;
  transform: translateX(-50%); border-radius: 52% 48% 44% 56% / 50% 44% 56% 50%;
  background: linear-gradient(155deg, var(--aqua) 0%, var(--aqua-200) 68%, var(--aqua-50) 100%);
}
.mv-about-photo img {
  position: relative; width: min(290px, 76%); height: auto; display: block;
  filter: drop-shadow(0 14px 20px rgba(38,33,29,.14));
  /* the cutout has a hard bottom edge: let it dissolve into the aqua shape */
  -webkit-mask-image: linear-gradient(180deg, #000 72%, rgba(0,0,0,.35) 90%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 72%, rgba(0,0,0,.35) 90%, transparent 100%);
}

/* ---------- talk + form ---------- */
.mv-talk { background: var(--ground); border-top: 1px solid var(--line); padding-block: var(--section-gap); }
.mv-talk-in { display: grid; gap: var(--sp-7); }
.mv-talk-head { display: grid; gap: var(--sp-3); align-content: start; }
.mv-talk-head .mv-h2 { margin: 0; }
.mv-lead-s { color: var(--ink-soft); font-size: var(--fs-lead); }
.mv-talk-head .mv-cta { max-width: 440px; margin-block-start: var(--sp-3); }
.mv-form { display: grid; gap: var(--sp-4); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: var(--sp-5); box-shadow: var(--shadow-hair); }
.mv-field { display: grid; gap: 6px; }
.mv-field label { font-size: var(--fs-small); font-weight: 700; color: var(--brown-700); }
.mv-field input, .mv-field select, .mv-field textarea {
  width: 100%; min-height: var(--input-h); font-family: var(--font-body); font-size: var(--fs-ui); color: var(--ink);
  background: var(--white); border: 1.5px solid var(--line-strong); border-radius: var(--r-md); padding: 12px 14px;
  transition: border-color var(--dur-fast) var(--ease-out);
}
.mv-field textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.mv-field input:focus, .mv-field select:focus, .mv-field textarea:focus { border-color: var(--brown-700); }
.mv-field [aria-invalid="true"] { border-color: var(--error-fg); }
.mv-field input[type="tel"] { direction: rtl; }
.mv-field input[type="tel"]:not(:placeholder-shown) { direction: ltr; text-align: right; }
.mv-err { font-size: var(--fs-small); color: var(--error-fg); font-weight: 600; }
.mv-err::before { content: "!"; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--error-fg); color: var(--white); font-size: 12px; font-weight: 800; margin-inline-end: 6px; }
.mv-btn-send { background: var(--studio-primary); color: var(--white); width: 100%; }
.mv-btn-send:hover { background: var(--brown-900); }

/* ---------- footer ---------- */
.mv-foot { background: var(--footer-bg); color: var(--footer-fg); padding-block: var(--sp-8) calc(var(--sp-8) + 88px); }
.mv-foot-in { display: grid; gap: var(--sp-2); }
.mv-foot-lock { display: flex; align-items: center; gap: var(--sp-4); margin-block-end: var(--sp-3); }
.mv-foot-badge { position: relative; width: 64px; height: 64px; padding: 8px; background: var(--white); border-radius: var(--r-lg); flex: none; }
.mv-foot-badge .mv-lottie { inset: 8px; width: auto; height: auto; }
.mv-foot-wm { display: grid; }
.mv-foot-wm b { font-family: var(--font-display); font-size: 40px; line-height: .95; font-weight: 700; }
.mv-foot-wm span { color: var(--text-accent-dark); font-weight: 700; font-size: var(--fs-small); }
.mv-foot-l1, .mv-foot-l2 { font-size: var(--fs-small); }
.mv-foot-c { font-size: var(--fs-micro); opacity: .85; text-align: right; }

/* ---------- sticky contact bar ---------- */
.mv-sticky {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 50;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(251, 254, 254, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 -1px 0 var(--line), 0 -10px 30px -20px rgba(38,33,29,.35);
  transform: translateY(110%); transition: transform var(--dur-base) var(--ease-in-out);
}
.mv-sticky[data-state="on"] { transform: none; }
.mv-sticky-in { display: flex; gap: var(--sp-3); align-items: center; max-width: var(--container); margin-inline: auto; }
.mv-sticky-brand { display: none; }
.mv-sticky-wa { flex: 1; }
.mv-sticky-call {
  width: var(--btn-h); height: var(--btn-h); border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--cta2-bg); color: var(--ink);
}
.mv-sticky-call .mv-ico { width: 24px; height: 24px; }

/* ==========================================================================
   Desktop, by container width (the public page: viewport; the studio: pane)
   ========================================================================== */
@container mv (min-width: 900px) {
  .mv-page { --gutter: var(--sp-7); --section-gap: var(--sp-11); --caustics-res-mobile: .75; --mv-hero-min: min(88svh, 860px); }
  .mv-hero { padding-block: 96px 0; }
  .mv-hero-text { align-self: center; padding-block-end: 96px; }
  .mv-water { height: 80px; }
  .mv-creds { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-3) var(--sp-6); }
  .mv-creds li { font-size: var(--fs-body); }
  .mv-note { padding: var(--sp-8) var(--sp-9); }
  .mv-hero-in { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: var(--sp-9); }
  .mv-hero-text { padding-inline-start: 44px; gap: var(--sp-4); }
  .mv-lane-line { width: 14px; }
  .mv-lane-line::before { width: 38px; inset-inline-start: -12px; height: 14px; }
  .mv-name { font-size: var(--fs-hero); font-size: clamp(5rem, 9.5cqi, 8rem); }
  .mv-pool { width: min(100%, 440px); }
  .mv-pool--video { padding-block-end: 104px; margin-block-end: 0; --cut-sink: -42px; }

  /* Lanes side by side. The count drives the grid, so four still reads as four
     and five never leaves one card alone at the end of a row: three over two,
     both rows filling the full width, until the pane is wide enough for five. */
  .mv-lanes { display: grid; grid-template-columns: repeat(4, 1fr); }
  .mv-lanes[data-count="1"] { grid-template-columns: 1fr; }
  .mv-lanes[data-count="2"] { grid-template-columns: repeat(2, 1fr); }
  .mv-lanes[data-count="3"] { grid-template-columns: repeat(3, 1fr); }
  .mv-lanes[data-count="5"] { grid-template-columns: repeat(6, 1fr); }
  .mv-lanes[data-count="5"] > .mv-lane { grid-column: span 2; }
  .mv-lanes[data-count="5"] > .mv-lane:nth-child(n+4) { grid-column: span 3; border-top: 2px dashed var(--lane-rope); }
  .mv-lanes[data-count="5"] > .mv-lane:nth-child(4) { border-inline-start: 0; }
  .mv-lane { grid-template-columns: 1fr; align-content: start; align-items: start; padding: var(--sp-6) var(--sp-5) var(--sp-7); gap: var(--sp-4); }
  .mv-lane + .mv-lane { border-top: 0; border-inline-start: 2px dashed var(--lane-rope); }
  .mv-lane-head { justify-content: space-between; border-bottom: 3px solid var(--brown-700); padding-bottom: var(--sp-3); }
  .mv-lane-num { font-size: 3.5rem; text-align: start; }
  .mv-lane-ico { width: 48px; height: 48px; }

  .mv-fit-list { grid-auto-flow: column; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(var(--fit-rows, 3), auto); column-gap: var(--sp-9); }
  .mv-conv { margin-block-start: var(--sp-6); font-size: var(--fs-body); }

  .mv-band { min-height: 260px; margin-block: var(--sp-7); }
  .mv-about.has-photo { grid-template-columns: 1.35fr 1fr; align-items: center; gap: var(--sp-9); }
  /* Until there is a real photograph of Moran for this section, the text
     block is centred so the column does not sit against an empty half. */
  .mv-about:not(.has-photo) { justify-items: center; }
  .mv-about:not(.has-photo) .mv-about-text { width: min(100%, 72ch); }
  .mv-about-photo { order: 0; padding-block-start: 0; }
  .mv-about-photo img { width: min(310px, 92%); }
  .mv-about-blob { width: min(380px, 100%); }
  .mv-about-p { font-size: var(--fs-lead); }

  .mv-talk-in { grid-template-columns: 1fr 1.1fr; gap: var(--sp-9); align-items: center; }
  .mv-form { padding: var(--sp-7); }
  .mv-foot { padding-block: var(--sp-9); }
  .mv-foot-in { grid-template-columns: 1fr auto; align-items: end; column-gap: var(--sp-8); }
  .mv-foot-lock { grid-row: span 3; margin: 0; }

  .mv-sticky { bottom: auto; top: 0; height: 64px; padding-block: 8px; transform: translateY(-110%); box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(38,33,29,.35); }
  .mv-sticky-in { padding-inline: var(--gutter); height: 48px; }
  .mv-sticky-brand { display: flex; align-items: center; gap: 10px; margin-inline-end: auto; font-size: var(--fs-eyebrow); letter-spacing: var(--tracking-latin); font-weight: 700; color: var(--brown-700); direction: ltr; }
  .mv-sticky-brand .mv-mono { width: 30px; }
  .mv-sticky-wa { flex: none; width: auto; min-height: 44px; padding-inline: 20px; }
  .mv-sticky-call { width: 44px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .mv *, .mv *::before, .mv *::after { transition-duration: 0ms !important; animation: none !important; }
  .mv-btn:hover { transform: none; }
}

/* Five lanes in one row, once the pane can carry five readable columns. */
@container mv (min-width: 1180px) {
  .mv-lanes[data-count="5"] { grid-template-columns: repeat(5, 1fr); }
  .mv-lanes[data-count="5"] > .mv-lane { padding-inline: var(--sp-4); }
  .mv-lanes[data-count="5"] > .mv-lane:nth-child(n+1) { grid-column: auto; }
  .mv-lanes[data-count="5"] > .mv-lane:nth-child(n+4) { border-top: 0; }
  .mv-lanes[data-count="5"] > .mv-lane:nth-child(4) { border-inline-start: 2px dashed var(--lane-rope); }
  .mv-lanes[data-count="5"] .mv-lane-num { font-size: 3rem; }
}

.mv-page.is-preview .mv-wv { animation: none; }
