/* Mevole preview: creator canvas + editorial tracks. Marketing typography is
   deliberately larger than app controls; shared semantic colors stay tokenized. */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  background: var(--mv-surface-page);
  color: var(--mv-fg-primary);
  font: 400 16px/1.65 var(--mv-font);
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
summary,
select {
  cursor: pointer;
}
button {
  background: none;
}
button,
input,
select,
textarea {
  border: 1px solid var(--mv-line-input);
  border-radius: var(--mv-radius-control);
}
a,
button,
summary,
select,
textarea,
input {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 2px solid var(--mv-fg-primary);
  outline-offset: 5px;
}
[hidden] {
  display: none !important;
}
img {
  display: block;
  max-width: 100%;
  object-fit: cover;
}
figure {
  margin: 0;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 500;
  line-height: 1.12;
  text-wrap: balance;
}
h1 {
  font-size: clamp(48px, 5.7vw, 82px);
  letter-spacing: -0.055em;
}
h1 em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: var(--mv-fg-muted);
}
h2 {
  font-size: clamp(32px, 3.2vw, 48px);
  letter-spacing: -0.035em;
}
h3 {
  font-size: 23px;
  letter-spacing: -0.025em;
}
p {
  color: var(--mv-fg-muted);
}
p + p {
  margin-top: 16px;
}
.mv-anchor {
  display: block;
  scroll-margin-top: 100px;
}
.mv-wrap {
  width: min(1248px, calc(100% - 96px));
  margin: auto;
}
.mv-kicker,
.mv-index {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mv-fg-muted);
}
.mv-kicker {
  margin-bottom: 24px;
}
.mv-lede {
  font-size: 20px;
  line-height: 1.55;
  color: var(--mv-fg-body);
  max-width: 600px;
}
.mv-note,
figcaption {
  font-size: 12px;
  line-height: 1.6;
  color: var(--mv-fg-muted);
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 12px;
  z-index: 30;
  padding: 12px;
  background: var(--mv-fg-primary);
  color: var(--mv-surface-page);
}
.skip-link:focus {
  top: 12px;
}
.mv-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--mv-surface-page);
  border-bottom: 1px solid var(--mv-line-divider);
}
.mv-nav {
  height: 80px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.mv-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.04em;
}
.mv-brand img {
  width: 28px;
  height: 28px;
}
.mv-edition {
  margin-left: 12px;
  padding-left: 20px;
  border-left: 1px solid var(--mv-line-divider);
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.13em;
  width: 92px;
  color: var(--mv-fg-muted);
}
.mv-links {
  margin-left: auto;
  display: flex;
  gap: 28px;
  font-size: 14px;
}
.mv-links a,
.mv-signin {
  padding: 10px 0;
}
.mv-links a:hover,
.mv-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.mv-signin {
  margin-left: 12px;
  font-size: 14px;
}
.mv-menu {
  display: none;
  min-height: 44px;
  padding: 8px 14px;
}
.mv-section {
  padding: 88px 0;
  border-bottom: 1px solid var(--mv-line-divider);
}
.mv-hero {
  padding-top: 64px;
  padding-bottom: 64px;
}
.mv-section-heading {
  display: grid;
  grid-template-columns: 1fr 2fr;
  column-gap: 40px;
  margin-bottom: 40px;
  align-items: start;
}
.mv-section-heading > p:last-child:not(:first-child) {
  grid-column: 2;
  max-width: 640px;
  margin-top: 20px;
}
.mv-section-heading .mv-kicker {
  padding-top: 8px;
}
.mv-muted {
  background: var(--mv-surface-card);
}
.mv-button {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 26px;
  padding: 14px 20px;
  min-height: 52px;
  border-radius: var(--mv-radius-control);
  background: var(--mv-fg-primary);
  color: var(--mv-surface-page);
  border: 1px solid transparent;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
}
.mv-button:disabled {
  background: var(--mv-surface-control);
  color: var(--mv-fg-muted);
  cursor: not-allowed;
}
.mv-button:not(:disabled):hover {
  background: var(--mv-fg-body);
}
.mv-secondary {
  background: transparent;
  border-color: var(--mv-line-input);
  color: var(--mv-fg-primary);
}
.mv-secondary:hover {
  background: var(--mv-surface-control);
}
.mv-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.mv-hero-entry {
  margin: 4px 0 24px;
}
.mv-home-hero {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 72px;
  align-items: center;
}
.mv-home-hero .mv-lede {
  margin-top: 28px;
  max-width: 450px;
}
.mv-canvas {
  background: var(--mv-surface-card);
  padding: 20px;
  border-radius: var(--mv-radius-dialog);
  transform: rotate(1.5deg);
}
.mv-canvas-bar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--mv-fg-muted);
  margin-bottom: 20px;
}
.mv-switch {
  display: inline-flex;
  gap: 8px;
  margin-bottom: 20px;
}
.mv-switch button {
  min-width: 88px;
  min-height: 44px;
  padding: 8px 16px;
}
.mv-switch [aria-pressed="true"] {
  background: var(--mv-fg-primary);
  color: var(--mv-surface-page);
}
.mv-canvas > img {
  width: 100%;
  height: 320px;
  border-radius: var(--mv-radius-control);
}
.mv-canvas-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0 12px;
  font-size: 13px;
}
.mv-canvas-caption span {
  color: var(--mv-fg-muted);
}
.mv-mediums {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 64px;
  align-items: center;
}
.mv-mediums h3 {
  font-size: 32px;
  margin-bottom: 24px;
}
.mv-figure img {
  width: 100%;
  height: 340px;
  border-radius: var(--mv-radius-card);
}
figcaption {
  padding-top: 12px;
}
.mv-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
}
.mv-facts article {
  border-top: 1px solid var(--mv-line-input);
  padding-top: 24px;
}
.mv-index {
  display: block;
  margin-bottom: 24px;
}
.mv-facts h3 {
  margin-bottom: 18px;
}
.mv-rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 8px 4px 24px;
  scroll-snap-type: x proximity;
}
.mv-model-link {
  flex: 0 0 240px;
  padding: 24px;
  background: var(--mv-surface-card);
  border-radius: var(--mv-radius-card);
  scroll-snap-align: start;
}
.mv-model-link h3 {
  margin: 24px 0 16px;
}
.mv-model-link:hover {
  background: var(--mv-surface-control);
}
.mv-model-link > span {
  font-size: 12px;
  color: var(--mv-fg-muted);
}
.mv-model-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 48px;
}
.mv-model-row {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 16px;
  padding: 24px 0;
  border-top: 1px solid var(--mv-line-input);
}
.mv-model-row h3 {
  font-size: 21px;
}
.mv-model-row p {
  font-size: 13px;
  margin-top: 12px;
}
.mv-model-row span {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
}
.mv-model-row:hover h3 {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.mv-faq {
  margin-left: 33.33%;
}
.mv-faq details {
  border-top: 1px solid var(--mv-line-input);
}
.mv-faq summary {
  padding: 24px 48px 24px 0;
  position: relative;
  list-style: none;
  font-size: 18px;
  line-height: 1.5;
}
.mv-faq summary::-webkit-details-marker {
  display: none;
}
.mv-faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 24px;
  color: var(--mv-fg-muted);
}
.mv-faq details[open] summary::after {
  content: "−";
}
.mv-faq details > div {
  padding: 0 40px 28px 0;
}
.mv-closing {
  display: flex;
  justify-content: space-between;
  gap: 64px;
  align-items: center;
}
.mv-closing h2 {
  max-width: 700px;
}
.mv-closing p {
  max-width: 620px;
  margin-top: 20px;
}
.mv-closing .mv-button {
  flex-shrink: 0;
}
.mv-footer {
  padding: 48px 0 32px;
}
.mv-footer-top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}
.mv-footer-links {
  display: flex;
  gap: 16px 24px;
  flex-wrap: wrap;
  font-size: 13px;
  padding-bottom: 24px;
}
.mv-image-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.mv-image-hero h1 {
  margin-bottom: 20px;
}
.mv-image-hero > div > p:not(.mv-kicker) {
  margin-bottom: 20px;
}
.mv-image-canvas {
  padding-top: 28px;
  position: sticky;
  top: 112px;
}
.mv-image-canvas .mv-figure img {
  height: 610px;
  border-radius: 46% 46% var(--mv-radius-card) var(--mv-radius-card);
}
.mv-canvas-note {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--mv-line-input);
  font-size: 13px;
}
.mv-composer {
  padding: 24px;
  background: var(--mv-surface-card);
  border-radius: var(--mv-radius-card);
}
.mv-composer .mv-kicker {
  margin-bottom: 16px;
}
.mv-composer label {
  display: block;
  font-size: 13px;
  margin-bottom: 10px;
}
.mv-composer textarea {
  width: 100%;
  resize: vertical;
  min-height: 112px;
  padding: 14px;
  background: var(--mv-surface-control);
}
.mv-composer select {
  width: 100%;
  min-height: 48px;
  padding: 8px 12px;
  background: var(--mv-surface-control);
}
.mv-recipes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 24px;
}
.mv-recipes button {
  padding: 8px 10px;
  min-height: 44px;
  font-size: 12px;
}
.mv-recipes button:hover {
  background: var(--mv-surface-control);
}
.mv-reference {
  margin: 20px 0;
}
.mv-reference input {
  width: 100%;
  padding: 10px;
  font-size: 12px;
}
.mv-reference .mv-file {
  margin-bottom: 6px;
}
.mv-reference-preview {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
}
.mv-reference-preview img {
  width: 80px;
  height: 64px;
  border-radius: var(--mv-radius-control);
}
.mv-reference-preview button {
  padding: 10px;
  font-size: 12px;
  min-height: 44px;
}
.mv-composer .mv-button {
  width: 100%;
  margin-top: 12px;
}
.mv-status {
  font-size: 13px;
  margin-top: 10px;
  color: var(--mv-fg-primary);
}
.mv-case-rail {
  display: flex;
  overflow-x: auto;
  gap: 24px;
  padding-bottom: 20px;
}
.mv-case-rail figure {
  flex: 0 0 360px;
}
.mv-case-rail img {
  height: 300px;
}
.mv-video-title {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px 64px;
  margin-bottom: 48px;
}
.mv-video-title > .mv-kicker {
  grid-column: 1 / -1;
  margin-bottom: 0;
}
.mv-video-title > div {
  align-self: end;
  max-width: 380px;
}
.mv-video-title .mv-lede {
  margin-bottom: 16px;
}
.mv-video-workbench {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 32px;
}
.mv-film {
  padding: 24px 0 0 24px;
  border-left: 1px solid var(--mv-line-input);
}
.mv-film img {
  height: 350px;
}
.mv-film-track {
  padding: 24px 0;
  margin: 20px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  gap: 8px;
  border-top: 1px solid var(--mv-line-input);
  font-size: 13px;
}
.mv-film-track span {
  display: block;
  color: var(--mv-fg-muted);
  margin-bottom: 16px;
}
.mv-step-switch {
  display: flex;
  overflow-x: auto;
  gap: 12px;
  padding: 4px 4px 24px;
}
.mv-step-switch button {
  flex: 1 0 180px;
  min-height: 60px;
  text-align: left;
  padding: 12px 20px;
}
.mv-step-switch [aria-pressed="true"] {
  background: var(--mv-fg-primary);
  color: var(--mv-surface-page);
}
.mv-tutorial article {
  max-width: 740px;
  padding-top: 24px;
}
.mv-tutorial article h3 {
  font-size: 32px;
  margin-bottom: 20px;
}
.mv-tutorial article a {
  display: inline-block;
  margin-top: 24px;
  text-decoration: underline;
}
.mv-editorial {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
  align-items: start;
}
.mv-editorial article {
  padding: 36px;
  background: var(--mv-surface-card);
  border-radius: var(--mv-radius-card);
}
.mv-editorial article:nth-child(even) {
  margin-top: 48px;
}
.mv-editorial h3 {
  margin-bottom: 24px;
}
.mv-model-hero {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: center;
}
.mv-model-hero h1 {
  font-size: clamp(42px, 5vw, 72px);
  overflow-wrap: anywhere;
  margin: 20px 0;
}
.mv-provider {
  font-size: 14px;
}
.mv-model-cover img {
  width: 100%;
  height: 420px;
  border-radius: var(--mv-radius-card);
}
.mv-mode-chips ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  gap: 8px;
  padding: 0;
  margin: 24px 0;
}
.mv-mode-chips li {
  background: var(--mv-surface-control);
  padding: 6px 12px;
  border-radius: var(--mv-radius-control);
  font-size: 12px;
}
.mv-fact-table article {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
  padding: 28px 0;
  border-top: 1px solid var(--mv-line-input);
}
.mv-fact-table h3 {
  font-size: 18px;
}
.fact-list {
  padding-left: 18px;
  margin: 0;
  color: var(--mv-fg-body);
}
.spec-list {
  margin: 0;
}
.spec-list div {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
  padding-bottom: 14px;
}
.spec-list dt {
  color: var(--mv-fg-muted);
}
.spec-list dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.mv-prompt-pair {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
}
.mv-prompt-pair h3 {
  margin-bottom: 24px;
}
.mv-prompt-pair .mv-note {
  margin-top: 24px;
}
/* The header and split canvas stack together below the 900px composition boundary. */
@media (max-width: 900px) {
  .mv-wrap {
    width: calc(100% - 48px);
  }
  .mv-edition {
    display: none;
  }
  .mv-home-hero,
  .mv-image-hero,
  .mv-model-hero {
    gap: 32px;
  }
  .mv-home-hero h1 {
    font-size: 54px;
  }
  .mv-links {
    gap: 16px;
  }
  .mv-mediums {
    gap: 32px;
  }
  .mv-facts {
    gap: 24px;
  }
  .mv-image-canvas .mv-figure img {
    height: 480px;
  }
  .mv-model-cover img {
    height: 360px;
  }
}
/* At 680px the nav becomes a disclosure and all primary content reads vertically. */
@media (max-width: 680px) {
  .mv-image-hero h1,
  .mv-video-title h1 {
    font-size: 40px;
    line-height: 1.2;
  }
  .mv-hero-entry {
    width: 100%;
  }
  .mv-wrap {
    width: calc(100% - 40px);
  }
  .mv-nav {
    height: 68px;
    gap: 16px;
  }
  .mv-brand {
    font-size: 22px;
  }
  .mv-signin {
    margin-left: auto;
    font-size: 12px;
  }
  .mv-menu {
    display: block;
    font-size: 12px;
  }
  .mv-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    padding: 20px;
    background: var(--mv-surface-overlay);
    border-bottom: 1px solid var(--mv-line-input);
    margin: 0;
  }
  .mv-links.mobile-open {
    display: grid;
    gap: 4px;
  }
  .mv-links a {
    padding: 12px;
  }
  .mv-section {
    padding: 56px 0;
  }
  .mv-hero {
    padding-top: 36px;
  }
  h1,
  .mv-home-hero h1 {
    font-size: 54px;
  }
  h2 {
    font-size: 34px;
  }
  .mv-kicker {
    font-size: 10px;
    margin-bottom: 20px;
  }
  .mv-lede {
    font-size: 18px;
  }
  .mv-home-hero,
  .mv-image-hero,
  .mv-model-hero,
  .mv-mediums,
  .mv-video-title,
  .mv-video-workbench,
  .mv-section-heading,
  .mv-prompt-pair {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .mv-section-heading {
    margin-bottom: 28px;
  }
  .mv-section-heading .mv-kicker {
    margin: 0;
  }
  .mv-section-heading > p:last-child:not(:first-child) {
    grid-column: 1;
    margin: 0;
  }
  .mv-actions {
    gap: 10px;
  }
  .mv-actions .mv-button {
    padding: 14px;
    gap: 16px;
  }
  .mv-canvas {
    padding: 16px;
    transform: none;
  }
  .mv-canvas > img {
    height: 240px;
  }
  .mv-canvas-caption {
    align-items: start;
    font-size: 12px;
  }
  .mv-facts,
  .mv-model-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .mv-faq {
    margin: 0;
  }
  .mv-faq summary {
    font-size: 16px;
  }
  .mv-closing {
    flex-direction: column;
    align-items: start;
    gap: 28px;
  }
  .mv-closing .mv-button {
    width: 100%;
  }
  .mv-footer-top {
    flex-direction: column;
  }
  .mv-figure img {
    height: 280px;
  }
  .mv-case-rail figure {
    flex-basis: 280px;
  }
  .mv-image-canvas {
    position: static;
    padding: 0;
  }
  .mv-image-canvas .mv-figure img {
    height: 360px;
  }
  .mv-composer {
    padding: 20px;
  }
  .mv-video-title > .mv-kicker {
    grid-column: 1;
  }
  .mv-film {
    padding: 0;
    border: 0;
  }
  .mv-film img {
    height: 240px;
  }
  .mv-editorial {
    grid-template-columns: minmax(0, 1fr);
  }
  .mv-editorial article:nth-child(even) {
    margin: 0;
  }
  .mv-editorial article {
    padding: 28px;
  }
  .mv-model-hero h1 {
    font-size: 48px;
  }
  .mv-model-cover img {
    height: 280px;
  }
  .mv-fact-table article {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .spec-list div {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.mv-model-draft {
  margin-top: 40px;
}
.mv-model-draft .mv-composer {
  max-width: 880px;
  margin-inline: auto;
}
.mv-model-draft h2 {
  font-size: 28px;
  margin-bottom: 16px;
}
.mv-model-draft .mv-note {
  margin-bottom: 20px;
}
.mv-model-draft textarea {
  margin-bottom: 20px;
}
.mv-reference-slots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.mv-reference-preview [data-reference-name] {
  font-size: 12px;
  overflow-wrap: anywhere;
}
.mv-reference-preview {
  flex-wrap: wrap;
}
.mv-composer[aria-busy="true"] {
  cursor: progress;
}
@media (max-width: 680px) {
  .mv-reference-slots {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
}

/* Rev 2: bring back the cinematic, tactile preview language while keeping the
   page structure and studio handoff contracts from the first preview. */
:root {
  --landing-rev2-pink: #ff38c8;
  --landing-rev2-violet: #7c5cff;
  --landing-rev2-blue: #55b8ff;
  --landing-rev2-glass: rgba(24, 22, 30, 0.74);
  --landing-rev2-glass-strong: rgba(31, 27, 41, 0.92);
  --landing-rev2-line: rgba(255, 255, 255, 0.14);
  --landing-rev2-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

body[data-design="mevole-preview"] {
  background:
    radial-gradient(circle at 8% 3%, rgba(125, 82, 255, 0.13), transparent 32rem),
    radial-gradient(circle at 92% 15%, rgba(255, 42, 190, 0.1), transparent 28rem),
    var(--mv-surface-page);
  overflow-x: hidden;
}

body[data-design="mevole-preview"]::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.14;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.26) 0.6px, transparent 0.7px),
    radial-gradient(rgba(255, 255, 255, 0.16) 0.5px, transparent 0.65px);
  background-position: 0 0, 11px 13px;
  background-size: 19px 19px, 23px 23px;
  mix-blend-mode: soft-light;
}

.mv-header {
  background: rgba(13, 12, 17, 0.76);
  border-bottom-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.2);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  backdrop-filter: blur(22px) saturate(140%);
}

.mv-nav {
  position: relative;
}

.mv-nav::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 56, 200, 0.55), transparent);
  opacity: 0.75;
}

.mv-brand img {
  filter: drop-shadow(0 0 12px rgba(255, 56, 200, 0.3));
}

.mv-links a,
.mv-signin {
  position: relative;
  transition: color 180ms ease, transform 180ms ease;
}

.mv-links a::after,
.mv-signin::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 3px;
  height: 1px;
  background: linear-gradient(90deg, var(--landing-rev2-pink), var(--landing-rev2-violet));
  transition: right 220ms ease;
}

.mv-links a:hover,
.mv-signin:hover {
  color: #fff;
  transform: translateY(-1px);
  text-decoration: none;
}

.mv-links a:hover::after,
.mv-signin:hover::after {
  right: 0;
}

.mv-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom-color: rgba(255, 255, 255, 0.11);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.012), transparent 46%);
}

.mv-section::before {
  content: "";
  position: absolute;
  width: 24rem;
  height: 24rem;
  right: -12rem;
  top: 8%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.11), transparent 68%);
  filter: blur(4px);
  pointer-events: none;
}

.mv-section:nth-of-type(odd)::before {
  right: auto;
  left: -13rem;
  background: radial-gradient(circle, rgba(255, 56, 200, 0.1), transparent 68%);
}

.mv-section.mv-muted {
  background:
    linear-gradient(120deg, rgba(255, 56, 200, 0.035), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008));
}

.mv-section.mv-is-visible .mv-section-heading,
.mv-section.mv-is-visible .mv-facts,
.mv-section.mv-is-visible .mv-mediums,
.mv-section.mv-is-visible .mv-editorial,
.mv-section.mv-is-visible .mv-faq,
.mv-section.mv-is-visible .mv-closing {
  animation: mv-rev2-rise 720ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.mv-hero {
  min-height: min(820px, calc(100vh - 80px));
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 72% 52%, rgba(124, 92, 255, 0.12), transparent 30rem),
    linear-gradient(110deg, rgba(255, 56, 200, 0.04), transparent 45%);
}

.mv-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.23;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, black, transparent 70%);
  pointer-events: none;
}

.mv-home-hero,
.mv-image-hero,
.mv-model-hero {
  position: relative;
}

.mv-home-hero > :first-child::before,
.mv-image-hero > :first-child::before,
.mv-model-hero > :first-child::before {
  content: "";
  display: block;
  width: 74px;
  height: 3px;
  margin-bottom: 28px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--landing-rev2-pink), var(--landing-rev2-violet));
  box-shadow: 0 0 24px rgba(255, 56, 200, 0.7);
}

h1,
h2,
h3 {
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.03);
}

h1 em {
  color: transparent;
  background: linear-gradient(110deg, #fff 15%, #ff75db 58%, #a08bff 95%);
  -webkit-background-clip: text;
  background-clip: text;
}

.mv-kicker {
  color: #c0b8d0;
}

.mv-button {
  position: relative;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.2);
  background: linear-gradient(115deg, var(--landing-rev2-pink), var(--landing-rev2-violet));
  color: #fff;
  box-shadow: 0 10px 28px rgba(150, 54, 190, 0.26), inset 0 1px rgba(255, 255, 255, 0.28);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.mv-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 12%, rgba(255, 255, 255, 0.32) 48%, transparent 82%);
  transform: translateX(-120%);
  transition: transform 460ms ease;
}

.mv-button > * {
  position: relative;
  z-index: 1;
}

.mv-button:not(:disabled):hover {
  background: linear-gradient(115deg, #ff55d2, #9179ff);
  transform: translateY(-3px);
  filter: saturate(1.12);
  box-shadow: 0 16px 36px rgba(150, 54, 190, 0.4), inset 0 1px rgba(255, 255, 255, 0.4);
}

.mv-button:not(:disabled):hover::before {
  transform: translateX(120%);
}

.mv-button.mv-secondary {
  background: rgba(255, 255, 255, 0.045);
  color: var(--mv-fg-primary);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.mv-button.mv-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 56, 200, 0.52);
}

.mv-canvas,
.mv-composer,
.mv-model-cover,
.mv-editorial article,
.mv-model-link {
  border: 1px solid var(--landing-rev2-line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), transparent 38%),
    var(--landing-rev2-glass);
  box-shadow: var(--landing-rev2-shadow), inset 0 1px rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(16px) saturate(125%);
  backdrop-filter: blur(16px) saturate(125%);
}

.mv-canvas {
  --landing-canvas-r: 1.5deg;
  position: relative;
  transform: perspective(1100px) rotate(var(--landing-canvas-r)) rotateX(var(--landing-tilt-y, 0deg)) rotateY(var(--landing-tilt-x, 0deg));
  animation: mv-rev2-float 8s ease-in-out infinite;
}

.mv-canvas::before,
.mv-canvas::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(255, 56, 200, 0.34);
  border-radius: inherit;
  pointer-events: none;
}

.mv-canvas::before {
  inset: 12px -14px -14px 14px;
  background: url("../assets/img/p0-cluster-87.webp") center/cover;
  opacity: 0.34;
  transform: rotate(3deg);
  filter: saturate(0.8);
}

.mv-canvas::after {
  inset: -10px 14px 14px -14px;
  border-color: rgba(124, 92, 255, 0.36);
  transform: rotate(-2deg);
}

.mv-canvas > img {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.36);
  transition: transform 520ms cubic-bezier(0.2, 0.75, 0.25, 1), filter 520ms ease;
}

.mv-canvas:hover > img {
  transform: scale(1.025);
  filter: saturate(1.12) contrast(1.04);
}

.mv-canvas-bar {
  position: relative;
  z-index: 2;
}

.mv-switch button,
.mv-recipes button,
.mv-step-switch button {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.mv-switch button:hover,
.mv-recipes button:hover,
.mv-step-switch button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 56, 200, 0.46);
  background: rgba(255, 56, 200, 0.12);
}

.mv-switch [aria-pressed="true"],
.mv-step-switch [aria-pressed="true"] {
  background: linear-gradient(115deg, var(--landing-rev2-pink), var(--landing-rev2-violet));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 20px rgba(151, 53, 186, 0.28);
}

.mv-figure,
.mv-model-cover {
  position: relative;
  isolation: isolate;
}

.mv-figure::before,
.mv-model-cover::before {
  content: "";
  position: absolute;
  inset: -9px;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: calc(var(--mv-radius-card) + 9px);
  transform: rotate(-1.6deg);
  opacity: 0.75;
}

.mv-figure::after,
.mv-model-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: var(--mv-radius-card);
  background: linear-gradient(180deg, transparent 56%, rgba(5, 4, 8, 0.62));
  pointer-events: none;
}

.mv-figure img,
.mv-model-cover img {
  position: relative;
  z-index: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.38);
  transition: transform 620ms cubic-bezier(0.2, 0.75, 0.25, 1), filter 620ms ease;
}

.mv-figure:hover img,
.mv-model-cover:hover img {
  transform: scale(1.045);
  filter: saturate(1.13) contrast(1.04);
}

.mv-figure figcaption,
.mv-model-cover figcaption {
  position: relative;
  z-index: 2;
}

.mv-composer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 56, 200, 0.16), transparent 42%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(18, 16, 24, 0.82));
}

.mv-composer::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--landing-rev2-pink), var(--landing-rev2-violet), transparent);
  box-shadow: 0 0 18px rgba(255, 56, 200, 0.7);
}

.mv-composer textarea,
.mv-composer select,
.mv-reference input {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(8, 8, 12, 0.52);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.mv-composer textarea:focus,
.mv-composer select:focus,
.mv-reference input:focus {
  border-color: rgba(255, 56, 200, 0.68);
  box-shadow: 0 0 0 3px rgba(255, 56, 200, 0.12), 0 0 24px rgba(124, 92, 255, 0.16);
  outline: 0;
  background: rgba(12, 10, 18, 0.7);
}

.mv-reference .mv-file {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 13px;
  border: 1px dashed rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  color: #e9dff1;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.mv-reference .mv-file:hover {
  border-color: var(--landing-rev2-pink);
  background: rgba(255, 56, 200, 0.1);
  transform: translateY(-1px);
}

.mv-reference-preview {
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--mv-radius-control);
  background: rgba(0, 0, 0, 0.24);
}

.mv-facts article {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--mv-radius-card);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.018));
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.2);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.mv-facts article::after {
  content: "";
  position: absolute;
  width: 8rem;
  height: 8rem;
  right: -3rem;
  bottom: -4rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 56, 200, 0.24), transparent 70%);
}

.mv-facts article:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 56, 200, 0.42);
  background: linear-gradient(145deg, rgba(255, 56, 200, 0.12), rgba(124, 92, 255, 0.05));
}

.mv-facts article .mv-index {
  color: #ff8ddd;
}

.mv-editorial article,
.mv-model-link {
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.mv-editorial article:hover,
.mv-model-link:hover {
  transform: translateY(-7px) rotate(-0.5deg);
  border-color: rgba(255, 56, 200, 0.4);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.38), 0 0 28px rgba(124, 92, 255, 0.12);
}

.mv-case-rail {
  padding: 18px 12px 34px;
  margin: 0 -12px;
  scroll-padding-inline: 12px;
}

.mv-case-rail figure {
  position: relative;
  transition: transform 260ms ease;
}

.mv-case-rail figure:nth-child(2) {
  transform: translateY(24px) rotate(1.4deg);
}

.mv-case-rail figure:nth-child(3) {
  transform: translateY(-12px) rotate(-1.2deg);
}

.mv-case-rail figure:hover {
  z-index: 2;
  transform: translateY(-8px) rotate(0deg) scale(1.025);
}

.mv-video-workbench,
.mv-film {
  position: relative;
}

.mv-film {
  border-left-color: rgba(255, 56, 200, 0.3);
}

.mv-film::before {
  content: "FILM / 24 FPS";
  display: block;
  margin-bottom: 14px;
  color: #c5b5dc;
  font-size: 10px;
  letter-spacing: 0.14em;
}

.mv-film-track {
  border-top-color: rgba(255, 56, 200, 0.28);
}

.mv-film-track span {
  color: #c5b5dc;
}

.mv-model-hero {
  align-items: start;
}

.mv-model-cover {
  --landing-cover-r: -2deg;
  padding: 14px;
  transform: perspective(1100px) rotate(var(--landing-cover-r)) rotateX(var(--landing-tilt-y, 0deg)) rotateY(var(--landing-tilt-x, 0deg));
  animation: mv-rev2-float 9s ease-in-out 1.2s infinite;
}

.mv-model-cover::before {
  inset: 18px -12px -12px 18px;
  background: url("../assets/img/model-seo-model-seo-feature.webp") center/cover;
  opacity: 0.42;
  transform: rotate(3deg);
}

.mv-model-cover img {
  height: 420px;
  border-radius: calc(var(--mv-radius-card) - 4px);
}

.mv-mode-chips li {
  border: 1px solid rgba(255, 56, 200, 0.22);
  background: rgba(255, 56, 200, 0.09);
  color: #f5dcef;
}

.mv-fact-table article,
.mv-model-row,
.mv-faq details {
  border-top-color: rgba(255, 255, 255, 0.16);
  transition: border-color 180ms ease, padding-left 180ms ease;
}

.mv-fact-table article:hover,
.mv-model-row:hover,
.mv-faq details:hover {
  border-top-color: rgba(255, 56, 200, 0.48);
}

.mv-faq details[open] summary {
  color: #fff;
}

.mv-faq summary::after {
  color: var(--landing-rev2-pink);
  transition: transform 180ms ease;
}

.mv-faq details[open] summary::after {
  transform: rotate(90deg);
}

.mv-closing {
  position: relative;
  padding: 62px 0;
}

.mv-closing::before {
  content: "";
  position: absolute;
  inset: 0 -20vw;
  z-index: -1;
  background:
    radial-gradient(circle at 22% 50%, rgba(255, 56, 200, 0.15), transparent 24rem),
    radial-gradient(circle at 78% 50%, rgba(124, 92, 255, 0.12), transparent 22rem);
}

.mv-footer {
  position: relative;
  background: linear-gradient(180deg, rgba(7, 6, 10, 0.1), rgba(7, 6, 10, 0.76));
}

.mv-footer::before {
  content: "MEVOLE / CREATOR STUDIO";
  display: block;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.28);
  font-size: 10px;
  letter-spacing: 0.2em;
}

@keyframes mv-rev2-float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -9px;
  }
}

@keyframes mv-rev2-rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 680px) {
  .mv-hero {
    min-height: 0;
  }

  .mv-home-hero > :first-child::before,
  .mv-image-hero > :first-child::before,
  .mv-model-hero > :first-child::before {
    width: 52px;
    margin-bottom: 20px;
  }

  .mv-canvas,
  .mv-model-cover {
    transform: none;
    animation: none;
  }

  .mv-canvas::before,
  .mv-canvas::after {
    display: none;
  }

  .mv-canvas > img {
    height: 250px;
  }

  .mv-case-rail figure:nth-child(2),
  .mv-case-rail figure:nth-child(3) {
    transform: none;
  }

  .mv-facts article {
    padding: 24px;
  }

  .mv-model-cover {
    padding: 10px;
  }

  .mv-model-cover img {
    height: 280px;
  }

  .mv-closing {
    padding: 36px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mv-canvas,
  .mv-model-cover,
  .mv-section.mv-is-visible .mv-section-heading,
  .mv-section.mv-is-visible .mv-facts,
  .mv-section.mv-is-visible .mv-mediums,
  .mv-section.mv-is-visible .mv-editorial,
  .mv-section.mv-is-visible .mv-faq,
  .mv-section.mv-is-visible .mv-closing {
    animation: none;
  }

  .mv-button,
  .mv-figure img,
  .mv-model-cover img,
  .mv-facts article,
  .mv-editorial article,
  .mv-model-link {
    transition: none;
  }
}

/* Rev 3: six-card orbit field for the home hero. Cards keep their own
   position, depth, tilt and float timing so the media layer remains legible
   without a sticky single canvas. */
.home-hero {
  min-height: min(820px, calc(100vh - 80px));
  padding-top: 56px;
  padding-bottom: 56px;
  background:
    radial-gradient(circle at 78% 45%, rgba(124, 92, 255, 0.16), transparent 30rem),
    linear-gradient(108deg, rgba(255, 56, 200, 0.045), transparent 46%);
}
.home-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(0, 1.08fr);
  gap: clamp(44px, 5vw, 72px);
  align-items: center;
}
.home-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 510px;
}
.home-hero-copy h1 {
  max-width: 560px;
  font-size: clamp(52px, 5.2vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}
.home-hero-copy .mv-lede {
  max-width: 420px;
  margin-top: 28px;
}
.home-mode-rail {
  display: inline-flex;
  gap: 5px;
  margin-top: 28px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  background: rgba(10, 11, 15, 0.72);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08), 0 12px 30px rgba(0, 0, 0, 0.22);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  backdrop-filter: blur(18px) saturate(130%);
}
.home-mode-rail button {
  min-width: 104px;
  min-height: 48px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 13px;
  color: var(--mv-fg-muted);
  transition: color 160ms ease, background 160ms ease, transform 160ms ease, border-color 160ms ease;
}
.home-mode-rail button:hover,
.home-mode-rail button:focus-visible {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}
.home-mode-rail button[aria-selected="true"] {
  color: #fff;
  background: linear-gradient(115deg, var(--landing-rev2-pink), var(--landing-rev2-violet));
  box-shadow: 0 8px 22px rgba(151, 53, 186, 0.3);
}
.home-hero-actions {
  margin-top: 22px;
}
.home-hero-actions .mv-button {
  min-width: 176px;
}
.home-mode-status {
  min-height: 24px;
  margin-top: 18px;
  color: #d8cde3;
  font-size: 13px;
}
.home-hero-media {
  min-width: 0;
}
.home-card-field {
  position: relative;
  width: min(680px, 100%);
  height: min(660px, 68vh);
  min-height: 560px;
  margin-left: auto;
  isolation: isolate;
  overflow: visible;
}
.home-field-halo {
  position: absolute;
  inset: 9% 3% 8% 7%;
  z-index: -2;
  border-radius: 50%;
  background:
    radial-gradient(circle at 46% 44%, rgba(112, 92, 255, 0.24), transparent 49%),
    radial-gradient(circle at 64% 56%, rgba(255, 56, 200, 0.13), transparent 56%);
  filter: blur(22px);
  pointer-events: none;
}
.home-preview-card {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--w);
  height: var(--h);
  z-index: var(--z);
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  background: rgba(17, 20, 26, 0.84);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.42), inset 0 1px rgba(255, 255, 255, 0.11);
  /* Keep the entry offset on the independent translate property so the
     interactive transform remains available to hover/focus. */
  translate: 0 0;
  transform: translate3d(0, var(--hover-lift, 0), 0) rotate(calc(var(--r) + var(--hover-rotate, 0deg))) scale(var(--hover-scale, 1));
  transform-origin: center;
  transition: transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
  animation: home-card-enter 560ms cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: var(--delay);
}
.home-preview-card:nth-of-type(2) { animation-delay: -120ms; }
.home-preview-card:nth-of-type(3) { animation-delay: 0ms; }
.home-preview-card:nth-of-type(4) { animation-delay: 70ms; }
.home-preview-card:nth-of-type(5) { animation-delay: 140ms; }
.home-preview-card:nth-of-type(6) { animation-delay: 210ms; }
.home-preview-card:nth-of-type(7) { animation-delay: 280ms; }
.home-preview-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 3;
  border-radius: inherit;
  border: 1px solid transparent;
  pointer-events: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.home-preview-card:hover,
.home-preview-card:focus-visible {
  --hover-lift: -8px;
  --hover-scale: 1.03;
  --hover-rotate: var(--pointer-rotate, 0deg);
  z-index: 40;
  border-color: rgba(255, 255, 255, 0.46);
  box-shadow: 0 30px 72px rgba(0, 0, 0, 0.54), 0 0 26px rgba(124, 92, 255, 0.2);
}
.home-preview-card:focus-visible {
  outline: 0;
}
.home-preview-card:focus-visible::before {
  border-color: #fff;
  box-shadow: 0 0 0 3px rgba(255, 56, 200, 0.92), 0 0 20px rgba(255, 56, 200, 0.44);
}
.home-preview-card[data-mode-active="true"]::before {
  border-color: rgba(255, 56, 200, 0.5);
  box-shadow: 0 0 20px rgba(255, 56, 200, 0.18);
}
.home-preview-card[aria-pressed="true"]::before {
  border-color: rgba(255, 56, 200, 0.96);
  box-shadow: 0 0 0 2px rgba(255, 56, 200, 0.26), 0 0 28px rgba(255, 56, 200, 0.28);
}
.home-preview-media {
  position: relative;
  display: block;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  border-radius: 15px 15px 10px 10px;
  animation: home-card-float var(--float) ease-in-out var(--delay) infinite;
  will-change: transform;
}
.home-preview-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
  transition: transform 520ms cubic-bezier(0.2, 0.75, 0.25, 1), filter 520ms ease;
}
.home-preview-card:hover .home-preview-media img,
.home-preview-card:focus-visible .home-preview-media img {
  transform: scale(1.06);
  filter: saturate(1.1) contrast(1.06);
}
.home-preview-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 46%, rgba(5, 4, 8, 0.74));
  pointer-events: none;
}
.home-preview-caption {
  position: absolute;
  right: 12px;
  bottom: 10px;
  left: 12px;
  z-index: 2;
  color: #fff;
  font-size: 11px;
  line-height: 1.25;
  letter-spacing: 0.03em;
  text-align: left;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 160ms ease, transform 160ms ease;
}
.home-preview-card:hover .home-preview-caption,
.home-preview-card:focus-visible .home-preview-caption,
.home-preview-card[aria-pressed="true"] .home-preview-caption {
  opacity: 1;
  transform: translateY(0);
}
.home-preview-error {
  position: absolute;
  right: 8px;
  top: 8px;
  z-index: 4;
  display: none;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(7, 6, 10, 0.78);
  color: #ffd4ee;
  font-size: 10px;
}
.home-preview-card.is-error .home-preview-error {
  display: block;
}
.home-preview-card.is-error img {
  opacity: 0.4;
  filter: grayscale(1);
}
.home-motion-toggle {
  position: absolute;
  right: 1%;
  bottom: 1%;
  z-index: 50;
  min-width: 44px;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(10, 11, 15, 0.76);
  color: #fff;
  font-size: 11px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.home-motion-toggle:hover,
.home-motion-toggle:focus-visible {
  border-color: rgba(255, 56, 200, 0.72);
  background: rgba(255, 56, 200, 0.16);
}
.home-hero-note {
  margin-top: 2px;
  text-align: right;
}
.home-story-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 16px 4px 28px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.home-story-frame {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  scroll-snap-align: start;
}
.home-story-frame:nth-child(2) {
  transform: translateY(20px) rotate(1deg);
}
.home-story-frame:nth-child(3) {
  transform: translateY(-10px) rotate(-1deg);
}
.home-story-frame img {
  width: 100%;
  height: 300px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.34);
}
.home-story-frame figcaption {
  display: grid;
  gap: 5px;
  padding-top: 12px;
  color: #fff;
  font-size: 13px;
}
.home-story-frame figcaption small {
  color: var(--mv-fg-muted);
  font-size: 11px;
}
@keyframes home-card-enter {
  from { opacity: 0; translate: 0 12px; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes home-card-float {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  33% { transform: translate3d(3px, -5px, 0) rotate(1deg); }
  66% { transform: translate3d(-3px, 3px, 0) rotate(-1.2deg); }
}
.home-hero.motion-paused .home-preview-media,
.home-hero[data-motion-paused="true"] .home-preview-media {
  animation-play-state: paused;
}
@media (max-width: 900px) {
  .home-hero-layout { gap: 34px; }
  .home-hero-copy h1 { font-size: 54px; }
  .home-card-field { min-height: 520px; }
}
@media (max-width: 680px) {
  .home-hero {
    min-height: 0;
    padding-top: 36px;
    padding-bottom: 48px;
  }
  .home-hero-layout {
    display: block;
  }
  .home-hero-copy {
    max-width: none;
  }
  .home-hero-copy h1 {
    max-width: 360px;
    font-size: clamp(36px, 10.5vw, 44px);
    line-height: 1;
  }
  .home-hero-copy .mv-lede {
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.45;
  }
  .home-mode-rail {
    display: flex;
    width: 100%;
    margin-top: 22px;
  }
  .home-mode-rail button {
    flex: 1 1 50%;
    min-width: 0;
  }
  .home-hero-actions {
    display: grid;
    gap: 10px;
    margin-top: 14px;
  }
  .home-hero-actions .mv-button {
    width: 100%;
    min-height: 48px;
  }
  .home-mode-status {
    margin-top: 12px;
  }
  .home-hero-media {
    margin-top: 22px;
  }
  .home-card-field {
    width: 100%;
    height: 286px;
    min-height: 286px;
    overflow: clip;
  }
  .home-preview-card[data-orbit="lead"] { --x: 22% !important; --y: 20% !important; --w: 50% !important; --h: 48% !important; }
  .home-preview-card[data-orbit="inner-a"] { --x: 0% !important; --y: 2% !important; --w: 33% !important; --h: 30% !important; }
  .home-preview-card[data-orbit="inner-b"] { --x: 70% !important; --y: 0% !important; --w: 29% !important; --h: 55% !important; }
  .home-preview-card[data-orbit="inner-c"] { --x: 56% !important; --y: 55% !important; --w: 37% !important; --h: 32% !important; }
  .home-preview-card[data-orbit="outer-a"] { --x: 0% !important; --y: 52% !important; --w: 25% !important; --h: 42% !important; }
  .home-preview-card[data-orbit="outer-b"] { --x: 74% !important; --y: 66% !important; --w: 25% !important; --h: 23% !important; }
  .home-preview-caption {
    right: 6px;
    bottom: 6px;
    left: 6px;
    font-size: 9px;
  }
  .home-motion-toggle {
    right: 4px;
    bottom: 4px;
    padding: 8px 10px;
  }
  .home-hero-note {
    margin-top: 8px;
    text-align: left;
  }
  .home-story-track {
    gap: 14px;
    margin-right: -20px;
    padding-right: 20px;
  }
  .home-story-frame {
    flex: 0 0 82vw;
  }
  .home-story-frame img {
    height: 238px;
  }
  .home-story-frame:nth-child(2),
  .home-story-frame:nth-child(3) {
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-preview-card,
  .home-preview-media,
  .home-story-frame,
  .home-story-frame img {
    animation: none !important;
    transition: none !important;
  }
  .home-preview-card,
  .home-preview-card:hover,
  .home-preview-card:focus-visible {
    --hover-lift: 0;
    --hover-scale: 1;
    --hover-rotate: 0deg;
  }
}

/* Rev3 brand-color rollback: return to Mevole's approved pink while retaining
   the Rev2 dark surfaces, glass treatment and auxiliary violet. This block is
   color-only; card geometry, motion and interaction selectors stay untouched. */
body[data-template="home-platform"][data-design="mevole-preview"] {
  --landing-rev2-pink: var(--mv-accent);
  --landing-rev2-blue: var(--mv-accent-fg);
  background:
    radial-gradient(circle at 8% 3%, rgba(125, 82, 255, 0.13), transparent 32rem),
    radial-gradient(circle at 92% 15%, color-mix(in srgb, var(--mv-accent) 10%, transparent), transparent 28rem),
    var(--mv-surface-page);
}

body[data-template="home-platform"][data-design="mevole-preview"] .mv-section:nth-of-type(odd)::before {
  background: radial-gradient(circle, color-mix(in srgb, var(--mv-accent) 10%, transparent), transparent 68%);
}

body[data-template="home-platform"][data-design="mevole-preview"] .mv-section.mv-muted {
  background:
    linear-gradient(120deg, color-mix(in srgb, var(--mv-accent) 3.5%, transparent), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008));
}

body[data-template="home-platform"][data-design="mevole-preview"] .home-hero {
  background:
    radial-gradient(circle at 72% 52%, rgba(124, 92, 255, 0.16), transparent 30rem),
    linear-gradient(110deg, color-mix(in srgb, var(--mv-accent) 4.5%, transparent), transparent 45%);
}

body[data-template="home-platform"][data-design="mevole-preview"] .mv-button:not(:disabled):hover {
  background: linear-gradient(115deg, var(--mv-accent-hover), #9179ff);
}

body[data-template="home-platform"][data-design="mevole-preview"] .home-field-halo {
  background:
    radial-gradient(circle at 46% 44%, rgba(112, 92, 255, 0.24), transparent 49%),
    radial-gradient(circle at 64% 56%, color-mix(in srgb, var(--mv-accent) 13%, transparent), transparent 56%);
}

body[data-template="home-platform"][data-design="mevole-preview"] .home-preview-card[data-mode-active="true"]::before {
  border-color: color-mix(in srgb, var(--mv-accent-fg-strong) 50%, transparent);
  box-shadow: 0 0 20px color-mix(in srgb, var(--mv-accent) 18%, transparent);
}

body[data-template="home-platform"][data-design="mevole-preview"] .home-preview-card[aria-pressed="true"] {
  border-color: var(--mv-accent);
}

body[data-template="home-platform"][data-design="mevole-preview"] .home-preview-card[aria-pressed="true"]::before {
  border-color: var(--mv-accent);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--mv-accent) 26%, transparent), 0 0 28px color-mix(in srgb, var(--mv-accent) 28%, transparent);
}

body[data-template="home-platform"][data-design="mevole-preview"] .home-preview-card:focus-visible::before {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--mv-accent) 92%, transparent), 0 0 20px color-mix(in srgb, var(--mv-accent) 44%, transparent);
}

body[data-template="home-platform"][data-design="mevole-preview"] .mv-closing::before {
  background:
    radial-gradient(circle at 22% 50%, color-mix(in srgb, var(--mv-accent) 15%, transparent), transparent 24rem),
    radial-gradient(circle at 78% 50%, rgba(124, 92, 255, 0.12), transparent 22rem);
}
