/* creative.moraq.io - Home scroll story (Moraq portal-style) */

body.mc-section-home .mc-main {
  padding-bottom: 0;
  padding-top: calc(var(--mc-nav-height) + 88px);
}

.mc-home {
  width: min(1264px, calc(100vw - 176px));
  margin: 0 auto;
  overflow: visible;
}

.mc-home-story {
  padding-bottom: 0;
  overflow: visible;
}

.font-display-vi {
  font-family: var(--font-display-vi);
  font-weight: 500;
  letter-spacing: -0.02em;
  font-variant-ligatures: normal;
  font-synthesis: weight style;
}

/* Hero */
.mc-hero {
  position: relative;
  padding: 0 0 96px;
  overflow: hidden;
}

.mc-hero__title-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mc-hero__marquee-viewport {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
}

.mc-hero__marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: clamp(48px, 8vw, 120px);
  animation: mc-hero-marquee 36.5s linear infinite;
  will-change: transform;
}

.mc-hero__marquee-block {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(0.22em, 2.2vw, 0.5em);
}

.mc-hero__marquee-row {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
  font-family: var(--font-display-vi);
  font-size: clamp(2.75rem, 6.5vw, 5.25rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--mc-ink);
}

.mc-hero__text {
  display: inline-block;
  padding: 0 0.06em;
}

@keyframes mc-hero-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - clamp(24px, 4vw, 60px))); }
}

.mc-hero__frame {
  display: inline-flex;
  flex: 0 0 auto;
  vertical-align: middle;
  align-items: flex-end;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  width: clamp(76px, 10vw, 108px);
  height: clamp(58px, 8vw, 84px);
  margin: 0 clamp(10px, 1.4vw, 18px);
  padding: 6px 6px 5px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.72));
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.mc-hero__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--mc-frame-tone, var(--est-haapsalu));
  opacity: 0.18;
  pointer-events: none;
}

.mc-hero__frame-art {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
}

.mc-hero__frame-svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 100%;
}

.mc-hero__frame-label {
  position: relative;
  z-index: 1;
  font-family: var(--font-body);
  font-size: 0.5625rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.58);
  line-height: 1;
}

.mc-hero__frame--portal .mc-hero__frame-label {
  color: rgba(255, 255, 255, 0.92);
}

.mc-hero__frame--portal::before {
  opacity: 0.92;
}

.mc-hero__marquee-viewport:hover .mc-hero__marquee-track {
  animation-play-state: paused;
}

/* Intro */
.mc-intro {
  margin-bottom: 0;
}

.mc-intro__rule {
  height: 1px;
  background: rgba(15, 23, 42, 0.12);
  margin-bottom: 40px;
}

.mc-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 452px) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
}

.mc-intro__title {
  margin: 0 0 18px;
  font-family: var(--font-display-vi);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.mc-intro__lead {
  margin: 0;
  max-width: 452px;
  font-size: 18px;
  font-weight: 300;
  line-height: 23.4px;
  color: var(--mc-ink);
}

.mc-intro__visual {
  width: 100%;
  max-width: 1170px;
  aspect-ratio: 1170 / 659;
  margin-left: auto;
  padding-top: 0;
}

.mc-device-stack {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.mc-device-stack--triple {
  min-height: 0;
}

.mc-device {
  position: absolute;
  overflow: visible;
  background: transparent;
  border: none;
  box-shadow: none;
}

.mc-device__frame {
  width: 100%;
  height: 100%;
  padding: clamp(8px, 1.1vw, 12px);
  border-radius: clamp(16px, 2vw, 22px);
  background: linear-gradient(160deg, #3a3a3a 0%, #121212 48%, #080808 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 28px 56px rgba(15, 23, 42, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35);
  box-sizing: border-box;
}

.mc-device__frame::before {
  content: "";
  display: block;
  width: 5px;
  height: 5px;
  margin: 0 auto clamp(4px, 0.6vw, 7px);
  border-radius: 50%;
  background: #0c0c0c;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.mc-device__screen {
  width: 100%;
  height: 100%;
  aspect-ratio: 640 / 480;
  padding: 0;
  margin: 0;
  overflow: hidden;
  border-radius: clamp(10px, 1.4vw, 14px);
  background: #0f172a;
  border: 1px solid rgba(0, 0, 0, 0.55);
}

.mc-device__ui {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.mc-device--far {
  width: 39.3%;
  left: 1.5%;
  top: 12%;
  transform: rotate(8deg);
  z-index: 1;
}

.mc-device--mid {
  width: 44.4%;
  left: 20%;
  top: 2%;
  transform: rotate(2.5deg);
  z-index: 2;
}

.mc-device--front {
  width: 49.6%;
  right: 0;
  left: auto;
  bottom: 1%;
  top: auto;
  transform: rotate(-3deg);
  z-index: 3;
}

/* Section divider */
.mc-home-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 88px 0;
}

.mc-home-divider__line {
  flex: 1;
  height: 1px;
  background: rgba(15, 23, 42, 0.12);
}

.mc-home-divider__chip {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: var(--mc-surface);
  box-shadow: var(--mc-shadow-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mc-home-divider__icon {
  width: 14px;
  height: 14px;
  background:
    radial-gradient(circle at 35% 50%, var(--mc-ink) 2px, transparent 2px),
    radial-gradient(circle at 65% 50%, var(--mc-ink) 2px, transparent 2px);
  mask: none;
}

/* Story chapters - continuous scroll (no chip dividers between chapters) */
.mc-story {
  padding: 0;
  overflow: visible;
}

.mc-story--why {
  padding-top: 0;
}

.mc-story__inner {
  display: grid;
  gap: 32px;
  overflow: visible;
}

.mc-story--why .mc-story__inner {
  gap: 0;
}

.mc-story__copy--marquee .mc-story__headline {
  margin: 0 0 57px;
  max-width: 18ch;
}

.mc-story__copy--marquee .mc-story__rule {
  height: 1px;
  width: 100%;
  max-width: 1236px;
  background: rgba(15, 23, 42, 0.12);
  margin: 0;
}

.mc-story__cta-wrap {
  min-height: 160px;
  display: flex;
  align-items: flex-start;
  padding: 10px 0;
}

.mc-story--why .mc-visual--marquee {
  margin-top: 50px;
}

/* How chapter - headline, button, card fan (Figma) */
.mc-story--how {
  padding-top: 57px;
}

.mc-story--how .mc-story__inner {
  gap: 0;
}

.mc-story--how .mc-story__headline {
  margin: 0 0 10px;
  max-width: none;
  font-size: clamp(2.25rem, 4.5vw, 4.5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.72px;
}

.mc-story--how .mc-story__cta {
  margin: 0 0 40px;
  min-height: 43px;
  padding: 10px 20px;
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 20.8px;
}

.mc-story--how .mc-visual--fan {
  margin: 0;
  width: 100%;
  max-width: 1337px;
  overflow: hidden;
  position: relative;
}

.mc-visual-fan__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mc-story--how .mc-visual-fan {
  position: relative;
  width: 100%;
  max-width: 1337px;
  --mc-fan-card-h: clamp(300px, 30vw, 420px);
  --mc-fan-arc-y: 72px;
  --mc-fan-x-1: -372px;
  --mc-fan-y-1: -68px;
  --mc-fan-x-2: -186px;
  --mc-fan-y-2: -34px;
  --mc-fan-x-4: 186px;
  --mc-fan-y-4: 34px;
  --mc-fan-x-5: 372px;
  --mc-fan-y-5: 68px;
  --mc-fan-transition: 0.92s;
  height: calc(var(--mc-fan-card-h) + var(--mc-fan-arc-y) * 2 + 48px);
  min-height: 520px;
  max-height: none;
  margin: 0 auto;
  padding: 36px 28px;
  box-sizing: border-box;
  min-height: 0;
  justify-content: flex-start;
  align-items: stretch;
  background: #e3eddb;
  border-radius: var(--mc-radius-card);
  overflow: hidden;
  perspective: 1400px;
  transform-style: preserve-3d;
}

[data-mc-fan].mc-visual-fan .mc-visual-fan__card {
  position: absolute;
  left: 50%;
  top: 50%;
  flex: none;
  width: clamp(188px, 18.5vw, 252px);
  height: clamp(300px, 30vw, 420px);
  margin: 0;
  padding: 24px 20px;
  box-sizing: border-box;
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  z-index: calc(var(--mc-fan-i, 0) + 1);
  --mc-fan-transition: 0.863s;
  transform:
    translate(calc(-50% + var(--mc-fan-stack-x, 420px)), calc(-50% + var(--mc-fan-stack-y, 72px)))
    rotate(0deg);
  transition:
    transform var(--mc-fan-transition) cubic-bezier(0.34, 1.08, 0.42, 1),
    box-shadow var(--mc-fan-transition) cubic-bezier(0.34, 1.08, 0.42, 1);
  transform-origin: 50% 88%;
  backface-visibility: hidden;
}

/* How fan: stacked center between spreads */
.mc-story--how [data-mc-fan].mc-visual-fan:not(.is-expanded) .mc-visual-fan__card {
  transform: translate(-50%, -50%) rotate(calc((var(--mc-fan-i, 0) - 2) * 1.5deg)) scale(0.985);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
}

.mc-story--how [data-mc-fan].mc-visual-fan:not(.is-expanded) .mc-visual-fan__card:nth-child(5) {
  box-shadow: 0 22px 46px rgba(15, 23, 42, 0.14);
}

.mc-story--how [data-mc-fan].mc-visual-fan.is-expanded .mc-visual-fan__card:nth-child(1) {
  transform: translate(calc(-50% + var(--mc-fan-x-1)), calc(-50% + var(--mc-fan-y-1))) rotate(-7deg);
  z-index: 3;
}

.mc-story--how [data-mc-fan].mc-visual-fan.is-expanded .mc-visual-fan__card:nth-child(2) {
  transform: translate(calc(-50% + var(--mc-fan-x-2)), calc(-50% + var(--mc-fan-y-2))) rotate(-3.5deg);
  z-index: 4;
}

.mc-story--how [data-mc-fan].mc-visual-fan.is-expanded .mc-visual-fan__card:nth-child(3) {
  transform: translate(-50%, -50%) rotate(0deg) scale(1.045);
  z-index: 6;
  box-shadow: 0 30px 64px rgba(15, 23, 42, 0.2);
}

.mc-story--how [data-mc-fan].mc-visual-fan.is-expanded .mc-visual-fan__card:nth-child(4) {
  transform: translate(calc(-50% + var(--mc-fan-x-4)), calc(-50% + var(--mc-fan-y-4))) rotate(3.5deg);
  z-index: 4;
}

.mc-story--how [data-mc-fan].mc-visual-fan.is-expanded .mc-visual-fan__card:nth-child(5) {
  transform: translate(calc(-50% + var(--mc-fan-x-5)), calc(-50% + var(--mc-fan-y-5))) rotate(7deg);
  z-index: 3;
}

.mc-story--how [data-mc-fan].mc-visual-fan.is-expanded.is-reverse .mc-visual-fan__card:nth-child(1) {
  transform: translate(calc(-50% + var(--mc-fan-x-5)), calc(-50% + var(--mc-fan-y-5))) rotate(7deg);
}

.mc-story--how [data-mc-fan].mc-visual-fan.is-expanded.is-reverse .mc-visual-fan__card:nth-child(2) {
  transform: translate(calc(-50% + var(--mc-fan-x-4)), calc(-50% + var(--mc-fan-y-4))) rotate(3.5deg);
}

.mc-story--how [data-mc-fan].mc-visual-fan.is-expanded.is-reverse .mc-visual-fan__card:nth-child(3) {
  transform: translate(-50%, -50%) rotate(0deg) scale(1.045);
}

.mc-story--how [data-mc-fan].mc-visual-fan.is-expanded.is-reverse .mc-visual-fan__card:nth-child(4) {
  transform: translate(calc(-50% - var(--mc-fan-x-4)), calc(-50% - var(--mc-fan-y-4))) rotate(-3.5deg);
}

.mc-story--how [data-mc-fan].mc-visual-fan.is-expanded.is-reverse .mc-visual-fan__card:nth-child(5) {
  transform: translate(calc(-50% - var(--mc-fan-x-5)), calc(-50% - var(--mc-fan-y-5))) rotate(-7deg);
}

[data-mc-fan].mc-visual-fan.is-reverse .mc-visual-fan__card {
  --mc-fan-stack-x: -420px;
  --mc-fan-stack-y: -72px;
}

[data-mc-fan].mc-visual-fan.is-expanded .mc-visual-fan__card:nth-child(1) {
  transform: translate(calc(-50% + var(--mc-fan-x-1, -420px)), calc(-50% + var(--mc-fan-y-1, -72px))) rotate(-2deg);
}

[data-mc-fan].mc-visual-fan.is-expanded .mc-visual-fan__card:nth-child(2) {
  transform: translate(calc(-50% + var(--mc-fan-x-2, -210px)), calc(-50% + var(--mc-fan-y-2, -36px))) rotate(-1deg);
}

[data-mc-fan].mc-visual-fan.is-expanded .mc-visual-fan__card:nth-child(3) {
  transform: translate(-50%, -50%) rotate(0deg);
}

[data-mc-fan].mc-visual-fan.is-expanded .mc-visual-fan__card:nth-child(4) {
  transform: translate(calc(-50% + var(--mc-fan-x-4, 210px)), calc(-50% + var(--mc-fan-y-4, 36px))) rotate(1deg);
}

[data-mc-fan].mc-visual-fan.is-expanded .mc-visual-fan__card:nth-child(5) {
  transform: translate(calc(-50% + var(--mc-fan-x-5, 420px)), calc(-50% + var(--mc-fan-y-5, 72px))) rotate(2deg);
}

[data-mc-fan].mc-visual-fan.is-expanded.is-reverse .mc-visual-fan__card:nth-child(1) {
  transform: translate(calc(-50% + var(--mc-fan-x-5, 420px)), calc(-50% + var(--mc-fan-y-5, 72px))) rotate(2deg);
}

[data-mc-fan].mc-visual-fan.is-expanded.is-reverse .mc-visual-fan__card:nth-child(2) {
  transform: translate(calc(-50% + var(--mc-fan-x-4, 210px)), calc(-50% + var(--mc-fan-y-4, 36px))) rotate(1deg);
}

[data-mc-fan].mc-visual-fan.is-expanded.is-reverse .mc-visual-fan__card:nth-child(3) {
  transform: translate(-50%, -50%) rotate(0deg);
}

[data-mc-fan].mc-visual-fan.is-expanded.is-reverse .mc-visual-fan__card:nth-child(4) {
  transform: translate(calc(-50% - var(--mc-fan-x-4, 210px)), calc(-50% - var(--mc-fan-y-4, 36px))) rotate(-1deg);
}

[data-mc-fan].mc-visual-fan.is-expanded.is-reverse .mc-visual-fan__card:nth-child(5) {
  transform: translate(calc(-50% - var(--mc-fan-x-5, 420px)), calc(-50% - var(--mc-fan-y-5, 72px))) rotate(-2deg);
}

.mc-visual-fan__card {
  --mc-fan-ink: var(--mc-home-surface-ink);
  --mc-fan-ink-soft: var(--mc-home-surface-ink-soft);
  --mc-fan-track: var(--mc-home-surface-track);
}

.mc-visual-fan__card--stats,
.mc-visual-fan__card--grid {
  color: #fff;
  --mc-fan-ink: #fff;
  --mc-fan-ink-soft: rgba(255, 255, 255, 0.45);
  --mc-fan-track: rgba(255, 255, 255, 0.14);
}

/* Infographic card internals */
.mc-fan-rings {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mc-fan-rings__outer {
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--mc-fan-ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display-vi);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 500;
}

.mc-fan-rings__inner {
  position: absolute;
  bottom: 18%;
  left: 50%;
  transform: translateX(-50%);
  width: 38%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--mc-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(0.875rem, 1.4vw, 1.125rem);
  font-weight: 600;
}

.mc-fan-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 5px;
  width: 100%;
  height: 100%;
  align-content: center;
}

.mc-fan-grid__cell {
  aspect-ratio: 1;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.mc-fan-grid__cell--filled {
  background: rgba(255, 255, 255, 0.92);
  border-color: transparent;
}

.mc-fan-bars {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  align-items: end;
  padding: 28px 8px 36px;
  box-sizing: border-box;
}

.mc-fan-bars__axis {
  position: absolute;
  left: 8px;
  top: 24px;
  bottom: 36px;
  width: 1px;
  background: rgba(15, 23, 42, 0.15);
}

.mc-fan-bars__group {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  height: 100%;
}

.mc-fan-bars__bar {
  width: 18%;
  height: var(--mc-bar-h, 50%);
  border-radius: 3px 3px 0 0;
}

.mc-fan-bars__bar--solid {
  background: var(--mc-fan-ink);
}

.mc-fan-bars__bar--hatched {
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(15, 23, 42, 0.08),
      rgba(15, 23, 42, 0.08) 3px,
      rgba(15, 23, 42, 0.2) 3px,
      rgba(15, 23, 42, 0.2) 6px
    );
}

.mc-fan-bars__bar--accent {
  background: var(--mc-accent);
}

.mc-fan-bars__labels {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  font-size: 0.6875rem;
  color: var(--mc-fan-ink-soft);
}

.mc-fan-stats {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  height: 100%;
}

.mc-fan-stats__row {
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-family: var(--font-accent);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 500;
  font-style: normal;
  line-height: 1;
  color: rgba(255, 255, 255, 0.45);
}

.mc-fan-stats__row:first-child {
  padding-top: 0;
}

.mc-fan-stats__row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.mc-fan-stats__row--up {
  color: #fff;
}

.mc-fan-gauge {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mc-fan-ink);
}

.mc-fan-gauge__ring {
  width: min(78%, 200px);
  height: auto;
}

.mc-fan-gauge__value {
  position: absolute;
  font-family: var(--font-accent);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  font-style: normal;
  line-height: 1;
}

/* How card fan -> Design headline: 56px after duo (continuous chapter flow) */
.mc-story--how + .mc-home-divider {
  display: none;
}

.mc-story--design + .mc-home-divider {
  display: none;
}

.mc-story--personality + .mc-home-divider {
  display: none;
}

/* Design chapter */
.mc-story--design {
  padding-top: 56px;
}

.mc-story--design .mc-story__inner {
  gap: 0;
}

.mc-story--design .mc-story__headline {
  margin: 0 0 10px;
  max-width: none;
  font-size: clamp(2.25rem, 4.5vw, 4.5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.72px;
}

.mc-story--design .mc-story__cta {
  margin: 0 0 42px;
  min-height: 43px;
  padding: 10px 20px;
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 20.8px;
}

/* Design split-feature (Figma: 864 + 40 + 432 = 1336) */
.mc-story--design .mc-visual--split {
  width: 100%;
  max-width: 1336px;
}

.mc-story--design .mc-visual-split {
  grid-template-columns: minmax(0, 864fr) minmax(0, 432fr);
  gap: 40px;
  align-items: start;
}

.mc-story--design .mc-visual-split__device {
  width: 100%;
  max-width: 864px;
  aspect-ratio: 1;
  min-height: 0;
  padding: clamp(20px, 4vw, 36px);
  box-sizing: border-box;
  border-radius: var(--mc-radius-card);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0f172a;
}

.mc-story--design .mc-visual-split__laptop {
  width: min(72%, 560px);
  aspect-ratio: 16 / 10;
}

.mc-story--design .mc-visual-split__card {
  width: 100%;
  max-width: 432px;
  min-height: 0;
  padding: 24px;
  box-sizing: border-box;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(8px);
  gap: 12px;
}

/* Design chapter - infographic card fan below split (Figma) */
.mc-story--design .mc-visual--fan-tail {
  margin-top: 56px;
  width: 100%;
  max-width: 1337px;
  overflow: visible;
}

.mc-story--design .mc-visual-fan--infographic {
  position: relative;
  width: 100%;
  max-width: 1337px;
  --mc-fan-card-h: clamp(300px, 31vw, 416px);
  --mc-fan-card-w: clamp(188px, 18.5vw, 252px);
  --mc-fan-arc-y: 110px;
  --mc-fan-x-1: -420px;
  --mc-fan-y-1: -132px;
  --mc-fan-x-2: -210px;
  --mc-fan-y-2: -66px;
  --mc-fan-x-4: 210px;
  --mc-fan-y-4: 66px;
  --mc-fan-x-5: 420px;
  --mc-fan-y-5: 132px;
  height: calc(var(--mc-fan-card-h) + var(--mc-fan-arc-y) * 2 + 64px);
  min-height: 680px;
  margin: 0 auto;
  padding: 36px 8px 40px;
  box-sizing: border-box;
  background: transparent;
  border-radius: 0;
  overflow: visible;
  perspective: none;
}

[data-mc-fan].mc-visual-fan--infographic .mc-visual-fan__card {
  width: var(--mc-fan-card-w, clamp(200px, 20.3vw, 272px));
  height: var(--mc-fan-card-h, clamp(330px, 33.5vw, 448px));
}

/* Infographic fan: 3 phases - diagonal A, diagonal B, collapsed center */
[data-mc-fan].mc-visual-fan--infographic:not(.is-expanded) .mc-visual-fan__card {
  transform: translate(-50%, -50%) rotate(0deg) scale(1);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.11);
}

[data-mc-fan].mc-visual-fan--infographic:not(.is-expanded) .mc-visual-fan__card:nth-child(5) {
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.14);
}

[data-mc-fan].mc-visual-fan--infographic.is-expanded .mc-visual-fan__card:nth-child(1) {
  transform: translate(calc(-50% + var(--mc-fan-x-1)), calc(-50% + var(--mc-fan-y-1))) rotate(-2.5deg);
}

[data-mc-fan].mc-visual-fan--infographic.is-expanded .mc-visual-fan__card:nth-child(2) {
  transform: translate(calc(-50% + var(--mc-fan-x-2)), calc(-50% + var(--mc-fan-y-2))) rotate(-1.25deg);
}

[data-mc-fan].mc-visual-fan--infographic.is-expanded .mc-visual-fan__card:nth-child(4) {
  transform: translate(calc(-50% + var(--mc-fan-x-4)), calc(-50% + var(--mc-fan-y-4))) rotate(1.25deg);
}

[data-mc-fan].mc-visual-fan--infographic.is-expanded .mc-visual-fan__card:nth-child(5) {
  transform: translate(calc(-50% + var(--mc-fan-x-5)), calc(-50% + var(--mc-fan-y-5))) rotate(2.5deg);
}

[data-mc-fan].mc-visual-fan--infographic.is-expanded.is-reverse .mc-visual-fan__card:nth-child(1) {
  transform: translate(calc(-50% + var(--mc-fan-x-5)), calc(-50% + var(--mc-fan-y-5))) rotate(2.5deg);
}

[data-mc-fan].mc-visual-fan--infographic.is-expanded.is-reverse .mc-visual-fan__card:nth-child(2) {
  transform: translate(calc(-50% + var(--mc-fan-x-4)), calc(-50% + var(--mc-fan-y-4))) rotate(1.25deg);
}

[data-mc-fan].mc-visual-fan--infographic.is-expanded.is-reverse .mc-visual-fan__card:nth-child(4) {
  transform: translate(calc(-50% - var(--mc-fan-x-4)), calc(-50% - var(--mc-fan-y-4))) rotate(-1.25deg);
}

[data-mc-fan].mc-visual-fan--infographic.is-expanded.is-reverse .mc-visual-fan__card:nth-child(5) {
  transform: translate(calc(-50% - var(--mc-fan-x-5)), calc(-50% - var(--mc-fan-y-5))) rotate(-2.5deg);
}

/* Design infographic fan -> duo illustrations (Figma 56px) */
.mc-story--design .mc-visual--duo {
  width: 100%;
  max-width: 1336px;
  margin-top: 56px;
}

.mc-visual-duo {
  display: grid;
  grid-template-columns: minmax(0, 864fr) minmax(0, 432fr);
  gap: 40px;
  align-items: start;
}

.mc-visual-duo__panel {
  margin: 0;
  overflow: hidden;
  border-radius: var(--mc-radius-card);
  background: var(--mc-surface);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.mc-visual-duo__panel--primary {
  aspect-ratio: auto;
  max-width: 864px;
}

.mc-visual-duo__panel--secondary {
  aspect-ratio: auto;
  max-width: 432px;
  align-self: start;
}

.mc-visual-duo__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

/* Interactive hub duo (design chapter tail) */
.mc-visual-duo__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mc-visual--duo[data-mc-hub-duo] {
  position: relative;
}

.mc-visual--duo[data-mc-hub-duo] .mc-visual-duo__panel {
  background: radial-gradient(circle at 50% 42%, #f7f7f4 0%, #eceae4 100%);
}

.mc-visual--duo[data-mc-hub-duo] .mc-visual-duo__panel--secondary {
  background: linear-gradient(180deg, #ffffff 0%, #f3f2ee 100%);
  display: flex;
  align-items: stretch;
}

.mc-hub-duo {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 864px;
  margin: 0 auto;
}

.mc-hub-duo__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.mc-hub-duo__line {
  stroke: rgba(15, 23, 42, 0.18);
  stroke-width: 0.35;
  transition: stroke 0.35s ease, stroke-width 0.35s ease, opacity 0.35s ease;
}

.mc-hub-duo__line.is-active {
  stroke: var(--est-blue);
  stroke-width: 0.55;
  opacity: 1;
}

.mc-hub-duo__core {
  position: absolute;
  left: var(--hub-x);
  top: var(--hub-y);
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
}

.mc-hub-duo__portal {
  position: relative;
  width: 96px;
  height: 88px;
}

.mc-hub-duo__portal-body {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  height: 34px;
  border: 1.6px solid #0f172a;
  border-radius: 0 0 10px 10px;
  background: repeating-linear-gradient(
    45deg,
    rgba(15, 23, 42, 0.08) 0 1px,
    transparent 1px 7px
  );
}

.mc-hub-duo__portal-lid {
  position: absolute;
  left: 0;
  right: 0;
  top: 18px;
  height: 28px;
  border: 1.8px solid #0f172a;
  border-radius: 8px 8px 0 0;
  background: #fff;
}

.mc-hub-duo__portal-mark {
  position: absolute;
  left: 50%;
  top: 0;
  width: 48px;
  transform: translateX(-50%);
}

.mc-hub-duo__portal-mark svg {
  display: block;
  width: 100%;
  height: auto;
}

.mc-hub-duo__title {
  margin: 0;
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(247, 247, 244, 0.92);
  font-size: 0.8125rem;
  line-height: 1.2;
  color: #0f172a;
}

.mc-hub-duo__node {
  position: absolute;
  left: var(--hub-x);
  top: var(--hub-y);
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 108px;
  text-decoration: none;
  color: inherit;
  z-index: 3;
  transition: transform 0.28s ease;
}

.mc-hub-duo__node:hover,
.mc-hub-duo__node:focus-visible {
  transform: translate(-50%, -50%) scale(1.04);
}

.mc-hub-duo__node:focus-visible {
  outline: 2px solid var(--est-blue);
  outline-offset: 4px;
  border-radius: 16px;
}

.mc-hub-duo__node-icon {
  display: grid;
  place-items: center;
  width: 108px;
  height: 108px;
  border-radius: 999px;
  background: #f7f7f4;
  border: 1px solid rgba(15, 23, 42, 0.06);
  color: #0f172a;
  transition: box-shadow 0.28s ease, border-color 0.28s ease;
}

.mc-hub-duo__icon-svg {
  display: block;
  width: 64px;
  height: auto;
}

.mc-hub-duo__node-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid #0f172a;
  background: #fff;
  font-size: 0.625rem;
  line-height: 1.2;
}

.mc-hub-duo__node.is-active .mc-hub-duo__node-icon {
  border-color: var(--est-blue);
  box-shadow: 0 0 0 3px rgba(0, 48, 222, 0.12);
}

.mc-hub-duo__node.is-active .mc-hub-duo__node-label {
  background: var(--est-blue);
  border-color: #0f172a;
  color: #fff;
}

.mc-hub-duo__cta {
  position: absolute;
  left: 50%;
  bottom: 4%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1.2px solid #0f172a;
  background: #fff;
  color: #0f172a;
  font-size: 0.65625rem;
  line-height: 1.2;
  text-decoration: none;
  z-index: 4;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.mc-hub-duo__cta:hover,
.mc-hub-duo__cta:focus-visible {
  background: var(--est-blue);
  border-color: #0f172a;
  color: #fff;
}

.mc-hub-sync {
  position: relative;
  width: 100%;
  min-height: 437px;
  padding: 8px 24px 20px;
  box-sizing: border-box;
}

.mc-hub-sync__scene {
  position: relative;
  min-height: 332px;
  margin-top: 28px;
  --hub-flight-x0: 14%;
  --hub-flight-y0: 74%;
  --hub-flight-xa: 36%;
  --hub-flight-ya: 58%;
  --hub-flight-xb: 58%;
  --hub-flight-yb: 46%;
  --hub-flight-x1: 68%;
  --hub-flight-y1: 38%;
  --hub-flight-w1: 52px;
  --hub-flight-h1: 52px;
}

.mc-hub-sync__cloud {
  position: absolute;
  left: 50%;
  top: 0;
  width: 40px;
  transform: translateX(-50%);
  z-index: 2;
}

.mc-hub-sync__cloud img {
  display: block;
  width: 100%;
  height: auto;
}

.mc-hub-sync__beam {
  position: absolute;
  left: 50%;
  top: 44px;
  width: 20px;
  height: 52px;
  transform: translateX(-50%);
  z-index: 1;
}

.mc-hub-sync__beam-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  background: repeating-linear-gradient(
    180deg,
    var(--est-blue) 0 4px,
    transparent 4px 9px
  );
  background-size: 2px 13px;
  animation: mc-hub-beam-march 1.1s linear infinite;
}

.mc-hub-sync__beam-rotate {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 20px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #f7f7f4;
  box-shadow: 0 0 0 2px #f7f7f4;
  animation: mc-hub-beam-rotate 2.8s ease-in-out infinite;
}

.mc-hub-sync__beam-rotate img {
  display: block;
  width: 100%;
  height: 100%;
}

.mc-hub-sync__laptop {
  position: absolute;
  left: 50%;
  top: 104px;
  width: min(100%, 248px);
  transform: translateX(-50%);
}

.mc-hub-sync__screen {
  position: relative;
  border: 1.6px solid #0f172a;
  border-radius: 8px 8px 2px 2px;
  background: #f7f7f4;
  overflow: hidden;
  transform: perspective(900px) rotateX(4deg);
  transform-origin: center bottom;
}

.mc-hub-sync__chrome {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
}

.mc-hub-sync__chrome-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.25);
  background: #fff;
}

.mc-hub-sync__chrome-line {
  height: 8px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
}

.mc-hub-sync__badge {
  min-width: 36px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--est-blue);
  color: #fff;
  font-size: 0.5rem;
  font-weight: 650;
  text-align: center;
  letter-spacing: 0.04em;
}

.mc-hub-sync__stage {
  position: relative;
  min-height: 148px;
  padding: 10px;
}

.mc-hub-sync__panel {
  display: none;
  animation: mc-hub-panel-in 0.42s ease both;
}

.mc-hub-sync__panel.is-active {
  display: block;
}

.mc-hub-sync__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.mc-hub-sync__thumb {
  margin: 0;
  aspect-ratio: 1;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
}

.mc-hub-sync__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mc-hub-sync__thumb.is-highlight {
  border-color: var(--est-blue);
  box-shadow: 0 0 0 2px rgba(0, 48, 222, 0.18);
}

.mc-hub-sync.is-flight-ready .mc-hub-sync__thumb.is-highlight img {
  animation: mc-hub-target-reveal 4.6s ease-in-out infinite;
}

@keyframes mc-hub-target-reveal {
  0%, 84% {
    opacity: 0.28;
  }
  90%, 100% {
    opacity: 1;
  }
}

.mc-hub-sync__doc {
  display: grid;
  gap: 8px;
  padding: 8px 4px;
}

.mc-hub-sync__doc-line {
  margin: 0;
  height: 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
}

.mc-hub-sync__doc-line.is-strong {
  width: 72%;
  background: rgba(0, 48, 222, 0.18);
}

.mc-hub-sync__doc-line.is-muted {
  width: 42%;
  opacity: 0.55;
}

.mc-hub-sync__logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 128px;
}

.mc-hub-sync__logo-mark svg {
  display: block;
  width: 72px;
  height: auto;
}

.mc-hub-sync__logo-caption {
  font-size: 0.625rem;
  color: rgba(15, 23, 42, 0.65);
}

.mc-hub-sync__template {
  display: grid;
  gap: 8px;
  padding: 10px 4px;
}

.mc-hub-sync__template-block {
  display: block;
  height: 12px;
  border-radius: 3px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
}

.mc-hub-sync__template-block.is-wide {
  height: 56px;
  background: repeating-linear-gradient(
    45deg,
    rgba(15, 23, 42, 0.06) 0 1px,
    transparent 1px 7px
  );
}

.mc-hub-sync__template-block.is-accent {
  width: 58%;
  background: rgba(0, 48, 222, 0.12);
  border-color: rgba(0, 48, 222, 0.35);
}

.mc-hub-sync__video {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  min-height: 128px;
  background: #0f172a;
}

.mc-hub-sync__video-poster {
  display: block;
  width: 100%;
  height: 128px;
  object-fit: cover;
  opacity: 0.72;
}

.mc-hub-sync__video-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
}

.mc-hub-sync__video-play svg {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.mc-hub-sync__base {
  height: 12px;
  margin-top: 2px;
  border: 1.6px solid #0f172a;
  border-radius: 0 0 12px 12px;
  background: repeating-linear-gradient(
    45deg,
    rgba(15, 23, 42, 0.08) 0 1px,
    transparent 1px 7px
  );
}

.mc-hub-sync__phone {
  position: absolute;
  left: 12%;
  bottom: 24px;
  width: 42px;
  height: 72px;
  padding: 5px;
  border-radius: 8px;
  border: 1.4px solid #0f172a;
  background: #fff;
  overflow: hidden;
  z-index: 3;
}

.mc-hub-sync__phone img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  animation: mc-hub-phone-dim 4.6s ease-in-out infinite;
}

@keyframes mc-hub-phone-dim {
  0%, 5%, 92%, 100% {
    opacity: 1;
  }
  14%, 82% {
    opacity: 0.42;
  }
}

.mc-hub-sync__phone-mark svg,
.mc-hub-sync__phone-dot {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  background: rgba(0, 48, 222, 0.12);
}

.mc-hub-sync__link {
  position: absolute;
  left: 18%;
  bottom: 84px;
  width: 24%;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--est-blue) 0 4px,
    transparent 4px 9px
  );
  background-size: 13px 2px;
  transform: rotate(-10deg);
  animation: mc-hub-link-march 1.4s linear infinite;
  z-index: 2;
}

.mc-hub-sync__flight {
  position: absolute;
  left: var(--hub-flight-x0);
  top: var(--hub-flight-y0);
  width: 30px;
  height: 30px;
  z-index: 6;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
  animation: mc-hub-flight 4.6s ease-in-out infinite;
}

.mc-hub-sync__flight.is-hidden {
  display: none;
}

.mc-hub-sync__flight-thumb {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 5px;
  overflow: hidden;
  border: 1.6px solid var(--est-blue);
  background: #fff;
  box-shadow: 0 6px 16px rgba(0, 48, 222, 0.22);
}

.mc-hub-sync__flight-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mc-hub-sync__caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid rgba(15, 23, 42, 0.12);
  font-size: 0.6875rem;
  line-height: 1.35;
  color: rgba(15, 23, 42, 0.72);
  text-align: center;
}

.mc-hub-sync.is-pulsing .mc-hub-sync__beam-line,
.mc-hub-sync.is-pulsing .mc-hub-sync__link {
  animation-duration: 0.65s;
}

.mc-hub-sync.is-pulsing .mc-hub-sync__cloud {
  animation: mc-hub-cloud-pulse 0.65s ease;
}

@keyframes mc-hub-flight {
  0% {
    left: var(--hub-flight-x0);
    top: var(--hub-flight-y0);
    width: 30px;
    height: 30px;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.82);
    border-radius: 5px;
  }
  6% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  42% {
    left: var(--hub-flight-xa);
    top: var(--hub-flight-ya);
    width: 34px;
    height: 34px;
    transform: translate(-50%, -50%) scale(1.02);
  }
  68% {
    left: var(--hub-flight-xb);
    top: var(--hub-flight-yb);
    width: calc(var(--hub-flight-w1) * 0.82);
    height: calc(var(--hub-flight-h1) * 0.82);
    transform: translate(-50%, -50%) scale(1);
  }
  86% {
    left: var(--hub-flight-x1);
    top: var(--hub-flight-y1);
    width: var(--hub-flight-w1);
    height: var(--hub-flight-h1);
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  94% {
    left: var(--hub-flight-x1);
    top: var(--hub-flight-y1);
    width: var(--hub-flight-w1);
    height: var(--hub-flight-h1);
    opacity: 0.72;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    left: var(--hub-flight-x1);
    top: var(--hub-flight-y1);
    width: var(--hub-flight-w1);
    height: var(--hub-flight-h1);
    opacity: 0;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes mc-hub-beam-march {
  to {
    background-position: 0 13px;
  }
}

@keyframes mc-hub-link-march {
  to {
    background-position: 13px 0;
  }
}

@keyframes mc-hub-beam-rotate {
  0%, 100% {
    transform: translate(-50%, -50%) rotate(0deg);
    opacity: 0.88;
  }
  50% {
    transform: translate(-50%, -50%) rotate(180deg);
    opacity: 1;
  }
}

@keyframes mc-hub-panel-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes mc-hub-cloud-pulse {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-3px); }
}

.mc-visual--duo[data-mc-hub-duo].is-paused .mc-hub-duo__node.is-active {
  transform: translate(-50%, -50%) scale(1.02);
}

/* Personality chapter (Figma: 56px top, headline 72px, CTA 43px) */
.mc-story--personality {
  padding-top: 56px;
  overflow: visible;
}

.mc-story--personality .mc-story__inner {
  gap: 0;
}

.mc-story--personality .mc-story__headline {
  margin: 0 0 10px;
  max-width: 1337px;
  font-size: clamp(2.25rem, 4.5vw, 4.5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.72px;
}

.mc-story--personality .mc-story__cta {
  margin: 10px 0 30px;
  min-height: 43px;
  padding: 10px 20px;
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 20.8px;
}

.mc-story--personality .mc-visual--stack {
  width: 100%;
  max-width: 1337px;
  overflow: visible;
}

/* Brand stack - Figma 561x451, 8 fixed rim layers + vertical pulse */
.mc-brand-stack {
  --mc-stack-lift: 0px;
  --mc-stack-fan-step: -38px;
  --mc-stack-y-step: 6px;
  --mc-stack-scale-step: 0.046;
  --mc-stack-transition: 0.334s;
  --mc-stack-opacity-transition: 0.258s;
  --mc-stack-word-transition: 0.226s;
  padding: clamp(32px, 6vw, 80px) 0 clamp(32px, 6vw, 80px);
  overflow: visible;
}

.mc-brand-stack.is-pulse-up {
  --mc-stack-lift: -40px;
  --mc-stack-fan-step: -6px;
  --mc-stack-y-step: 2px;
}

.mc-brand-stack.is-pulse-down {
  --mc-stack-lift: 14px;
  --mc-stack-fan-step: -38px;
  --mc-stack-y-step: 6px;
}

.mc-brand-stack__row {
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 55px);
  flex-wrap: nowrap;
  overflow: visible;
}

.mc-brand-stack__lead {
  flex: 0 0 auto;
  font-family: var(--font-display-vi);
  font-size: clamp(2.25rem, 5.5vw, 4.5rem);
  font-weight: 500;
  font-style: normal;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: var(--mc-ink);
}

.mc-brand-stack__accent--sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mc-brand-stack__deck {
  position: relative;
  flex: 0 0 auto;
  width: calc(min(561px, 44vw) + 266px);
  height: min(451px, 36vw);
  padding-left: 266px;
  overflow: visible;
}

.mc-brand-stack__cards {
  position: relative;
  width: min(561px, 44vw);
  height: min(451px, 36vw);
  overflow: visible;
}

.mc-brand-stack__card {
  position: absolute;
  top: 0;
  right: 0;
  left: auto;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  border: 1.5px solid rgba(15, 23, 42, 0.14);
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.65) inset,
    0 14px 32px rgba(15, 23, 42, 0.08);
  --mc-stack-card-offset: 0px;
  --mc-stack-card-scale: 1;
  transform:
    translateX(calc(var(--mc-stack-depth, 0) * var(--mc-stack-fan-step)))
    translateY(calc(var(--mc-stack-lift) + var(--mc-stack-depth, 0) * var(--mc-stack-y-step) + var(--mc-stack-card-offset)))
    scale(calc((1 - var(--mc-stack-depth, 0) * var(--mc-stack-scale-step)) * var(--mc-stack-card-scale)));
  transform-origin: 100% 50%;
  z-index: calc(24 - var(--mc-stack-depth, 0));
  transition:
    transform var(--mc-stack-transition) cubic-bezier(0.45, 0, 0.2, 1),
    box-shadow var(--mc-stack-transition) cubic-bezier(0.45, 0, 0.2, 1),
    border-color var(--mc-stack-transition) cubic-bezier(0.45, 0, 0.2, 1),
    opacity var(--mc-stack-opacity-transition) cubic-bezier(0.45, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  opacity: 1;
}

/* Pulse up - front card exits upward, next card promotes */
.mc-brand-stack.is-pulse-up .mc-brand-stack__card[data-stack-depth="0"] {
  --mc-stack-card-offset: -58%;
  --mc-stack-card-scale: 0.94;
  z-index: 30;
  opacity: 0.35;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.mc-brand-stack.is-pulse-up .mc-brand-stack__card[data-stack-depth="1"] {
  --mc-stack-card-offset: -36px;
  z-index: 29;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.85) inset,
    0 18px 40px rgba(15, 23, 42, 0.12);
}

/* After slot swap - incoming front card rises from below */
.mc-brand-stack.is-pulse-down .mc-brand-stack__card[data-stack-depth="0"] {
  --mc-stack-card-offset: 0px;
  --mc-stack-card-scale: 1;
  z-index: 30;
  opacity: 1;
}

.mc-brand-stack.is-pulse-down.is-stack-swap .mc-brand-stack__card[data-stack-depth="0"] {
  --mc-stack-card-offset: 48px;
  --mc-stack-card-scale: 0.98;
}

.mc-brand-stack.is-pulse-down .mc-brand-stack__card[data-stack-depth="7"] {
  z-index: 10;
}

/* Back layers - stacked border rims (Figma) */
.mc-brand-stack__card[data-stack-depth="1"],
.mc-brand-stack__card[data-stack-depth="2"],
.mc-brand-stack__card[data-stack-depth="3"],
.mc-brand-stack__card[data-stack-depth="4"],
.mc-brand-stack__card[data-stack-depth="5"],
.mc-brand-stack__card[data-stack-depth="6"],
.mc-brand-stack__card[data-stack-depth="7"] {
  background: linear-gradient(180deg, #fff 0%, #f9f9f7 100%);
  border-color: rgba(15, 23, 42, calc(0.11 + var(--mc-stack-depth, 1) * 0.012));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.75) inset,
    0 8px 22px rgba(15, 23, 42, calc(0.05 + var(--mc-stack-depth, 1) * 0.004));
}

.mc-brand-stack__card[data-stack-depth="1"]::before,
.mc-brand-stack__card[data-stack-depth="2"]::before,
.mc-brand-stack__card[data-stack-depth="3"]::before,
.mc-brand-stack__card[data-stack-depth="4"]::before,
.mc-brand-stack__card[data-stack-depth="5"]::before,
.mc-brand-stack__card[data-stack-depth="6"]::before,
.mc-brand-stack__card[data-stack-depth="7"]::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.07);
  pointer-events: none;
}

.mc-brand-stack__card[data-stack-depth="2"]::after,
.mc-brand-stack__card[data-stack-depth="3"]::after,
.mc-brand-stack__card[data-stack-depth="4"]::after,
.mc-brand-stack__card[data-stack-depth="5"]::after,
.mc-brand-stack__card[data-stack-depth="6"]::after,
.mc-brand-stack__card[data-stack-depth="7"]::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
  pointer-events: none;
}

.mc-brand-stack__card[data-stack-depth="0"] {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.8) inset,
    0 22px 48px rgba(15, 23, 42, 0.14);
  border-color: rgba(15, 23, 42, 0.16);
}

.mc-brand-stack__card[data-stack-depth="1"] .mc-brand-stack__card-icon,
.mc-brand-stack__card[data-stack-depth="2"] .mc-brand-stack__card-icon,
.mc-brand-stack__card[data-stack-depth="3"] .mc-brand-stack__card-icon,
.mc-brand-stack__card[data-stack-depth="4"] .mc-brand-stack__card-icon,
.mc-brand-stack__card[data-stack-depth="5"] .mc-brand-stack__card-icon,
.mc-brand-stack__card[data-stack-depth="6"] .mc-brand-stack__card-icon,
.mc-brand-stack__card[data-stack-depth="7"] .mc-brand-stack__card-icon {
  display: none;
}

.mc-brand-stack__card-word {
  padding: 24px 32px 44px;
  color: #111110;
  font-family: var(--font-display-vi);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 500;
  font-style: normal;
  line-height: 1;
  letter-spacing: -0.02em;
  text-align: center;
  pointer-events: none;
  transition:
    opacity var(--mc-stack-word-transition) cubic-bezier(0.45, 0, 0.2, 1),
    transform var(--mc-stack-transition) cubic-bezier(0.45, 0, 0.2, 1);
}

.mc-brand-stack__card[data-stack-depth="0"] .mc-brand-stack__card-word {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.mc-brand-stack__card[data-stack-depth="1"] .mc-brand-stack__card-word {
  opacity: 0.28;
  font-size: clamp(1.75rem, 4.5vw, 3rem);
  transform: translateY(0) scale(0.96);
}

.mc-brand-stack__card[data-stack-depth="2"] .mc-brand-stack__card-word,
.mc-brand-stack__card[data-stack-depth="3"] .mc-brand-stack__card-word,
.mc-brand-stack__card[data-stack-depth="4"] .mc-brand-stack__card-word,
.mc-brand-stack__card[data-stack-depth="5"] .mc-brand-stack__card-word,
.mc-brand-stack__card[data-stack-depth="6"] .mc-brand-stack__card-word,
.mc-brand-stack__card[data-stack-depth="7"] .mc-brand-stack__card-word {
  opacity: 0;
  transform: translateY(12px) scale(0.94);
}

.mc-brand-stack.is-pulse-up .mc-brand-stack__card[data-stack-depth="0"] .mc-brand-stack__card-word {
  transform: translateY(-8px) scale(0.98);
}

.mc-brand-stack.is-pulse-up .mc-brand-stack__card[data-stack-depth="1"] .mc-brand-stack__card-word {
  opacity: 0.72;
  transform: translateY(-4px) scale(0.99);
}

.mc-brand-stack.is-pulse-down.is-stack-swap .mc-brand-stack__card[data-stack-depth="0"] .mc-brand-stack__card-word {
  transform: translateY(8px) scale(0.98);
}

.mc-brand-stack__card-icon {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: var(--mc-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mc-ink-soft);
}

.mc-story__headline {
  margin: 0 0 15px;
  max-width: 14ch;
  font-family: var(--font-display-vi);
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.mc-story__cta {
  display: inline-flex;
  align-items: center;
  margin: 10px 0;
  padding: 10px 20px;
  border-radius: 100px;
  background: var(--mc-home-cta-bg);
  color: var(--mc-home-cta-ink);
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 20.8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

html.mc-theme-night .mc-story__cta:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.mc-story__cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--mc-shadow-float);
}

/* Photo marquee */
.mc-visual--marquee {
  overflow: hidden;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.mc-photo-marquee {
  position: relative;
  padding: 0 88px 24px;
}

.mc-photo-marquee__cols {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  height: clamp(360px, 42vw, 480px);
  overflow: hidden;
  mask-image: linear-gradient(to bottom, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.mc-photo-marquee__col {
  overflow: hidden;
  height: 100%;
}

.mc-photo-marquee__track {
  display: flex;
  flex-direction: column;
  gap: 12px;
  will-change: transform;
}

.mc-photo-marquee__col--up .mc-photo-marquee__track {
  animation: mc-marquee-up var(--mc-marquee-speed, 32s) linear infinite;
}

.mc-photo-marquee__col--down .mc-photo-marquee__track {
  animation: mc-marquee-down var(--mc-marquee-speed, 36s) linear infinite;
}

.mc-photo-marquee__card {
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 3 / 4.2;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  box-shadow: var(--mc-shadow-soft);
  transform: rotate(-1.5deg);
}

.mc-photo-marquee__col:nth-child(even) .mc-photo-marquee__card {
  transform: rotate(1.5deg);
}

.mc-photo-marquee__col:nth-child(3) .mc-photo-marquee__card {
  transform: rotate(0.5deg);
}

.mc-photo-marquee__row {
  margin-top: 16px;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
}

.mc-photo-marquee__track--row {
  display: flex;
  flex-direction: row;
  gap: 12px;
  width: max-content;
  will-change: transform;
}

.mc-photo-marquee__row--left .mc-photo-marquee__track--row {
  animation: mc-marquee-left var(--mc-marquee-speed, 40s) linear infinite;
}

.mc-photo-marquee__row--right .mc-photo-marquee__track--row {
  animation: mc-marquee-right var(--mc-marquee-speed, 40s) linear infinite;
}

.mc-photo-marquee__row .mc-photo-marquee__card {
  flex: 0 0 clamp(140px, 14vw, 200px);
  aspect-ratio: 4 / 3;
  transform: rotate(-2deg);
}

@keyframes mc-marquee-up {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}

@keyframes mc-marquee-down {
  from { transform: translateY(-50%); }
  to { transform: translateY(0); }
}

@keyframes mc-marquee-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes mc-marquee-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

/* Legacy photo strip (fallback) */
.mc-visual--strip {
  overflow: hidden;
  margin: 0 calc(-1 * min(20px, 2vw));
  padding: 24px min(20px, 2vw);
}

.mc-visual-strip {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  min-height: 320px;
}

.mc-visual-strip__slide {
  flex: 0 0 clamp(120px, 16vw, 180px);
  height: clamp(240px, 38vw, 360px);
  border-radius: 16px;
  background: linear-gradient(165deg, var(--mc-slide-tone), var(--mc-slide-accent));
  box-shadow: var(--mc-shadow-soft);
  transform: rotate(calc((var(--index, 0) - 2.5) * 1.5deg));
}

.mc-visual-strip__slide:nth-child(1) { transform: rotate(-4deg) translateY(12px); }
.mc-visual-strip__slide:nth-child(2) { transform: rotate(-2deg) translateY(6px); }
.mc-visual-strip__slide:nth-child(3) { transform: rotate(0deg); }
.mc-visual-strip__slide:nth-child(4) { transform: rotate(2deg) translateY(4px); }
.mc-visual-strip__slide:nth-child(5) { transform: rotate(3deg) translateY(8px); }
.mc-visual-strip__slide:nth-child(6) { transform: rotate(5deg) translateY(14px); }

/* Card fan */
.mc-visual-fan {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 340px;
  padding: 24px 0;
  perspective: 1400px;
}

.mc-visual-fan__card {
  flex: 0 0 clamp(140px, 18vw, 200px);
  height: clamp(220px, 30vw, 300px);
  margin-left: clamp(-48px, -6vw, -72px);
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: var(--mc-shadow-float);
  transform:
    translateX(calc(var(--mc-fan-i, 0) * 4px))
    rotate(calc(-6deg + var(--mc-fan-i, 0) * 3deg));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.mc-visual-fan__card:first-child {
  margin-left: 0;
}

.mc-visual-fan__card--type {
  color: #fff;
  padding: 0;
  overflow: hidden;
}

.mc-visual-fan__card--has-vector {
  padding: 0;
  overflow: hidden;
}

.mc-visual-fan__vector {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

a.mc-visual-fan__card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a.mc-visual-fan__card:hover {
  z-index: 8;
}

a.mc-visual-fan__card:focus-visible {
  outline: 2px solid var(--est-blue);
  outline-offset: 3px;
  z-index: 9;
}

.mc-visual-fan.is-paused .mc-visual-fan__type-track {
  animation-play-state: paused;
}

.mc-visual-fan__type-marquee {
  width: 100%;
  height: 100%;
  overflow: hidden;
  mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}

.mc-visual-fan__type-track {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35em;
  padding: 12px 0;
  animation: mc-marquee-up 18s linear infinite;
}

.mc-visual-fan__glyph {
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  line-height: 1;
  flex: 0 0 auto;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.mc-visual-fan__card--stripe {
  padding: 0;
  overflow: hidden;
}

.mc-fan-stripe {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.mc-fan-stripe__dark {
  flex: 1.15;
  background: #0f172a;
}

.mc-fan-stripe__light {
  flex: 0.85;
  background: #ffffff;
}

.mc-fan-stripe__accent {
  flex: 0 0 clamp(22px, 6%, 32px);
  background: var(--est-blue);
}

.mc-visual-fan__card--phone {
  padding: 16px;
  align-items: stretch;
}

.mc-visual-fan__phone-label {
  font-size: 0.6875rem;
  font-weight: 650;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.mc-visual-fan__phone-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  min-height: 0;
}

.mc-visual-fan__phone-cell {
  border-radius: 8px;
  overflow: hidden;
  display: block;
  min-height: 0;
  background: #eceae4;
}

.mc-visual-fan__phone-cell img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mc-visual-fan__card--mark {
  position: relative;
  background: #111110 !important;
  box-shadow:
    0 18px 40px rgba(15, 23, 42, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.mc-visual-fan__card--mark::before {
  content: "";
  position: absolute;
  inset: 18% 22%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 48, 222, 0.2), transparent 72%);
  pointer-events: none;
}

.mc-visual-fan__card--mark img {
  display: block;
  width: clamp(56px, 7.5vw, 72px);
  height: auto;
  opacity: 1;
  position: relative;
  z-index: 1;
}

.mc-visual-fan__donut {
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 10px solid rgba(15, 23, 42, 0.12);
  border-top-color: var(--est-blue);
  transform: rotate(-30deg);
}

.mc-visual-fan__card--dark {
  color: #fff;
  padding: 20px;
  align-items: flex-start;
  justify-content: flex-end;
}

.mc-visual-fan__dark-label {
  font-family: var(--font-display-vi);
  font-size: 1.25rem;
}

/* Split feature */
.mc-visual--split {
  position: relative;
}

.mc-visual-split__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mc-visual-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 16px;
  align-items: stretch;
}

.mc-visual-split__device {
  border-radius: var(--mc-radius-card);
  background: #0f172a;
  padding: 32px 24px;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mc-visual-split__illus {
  display: block;
  width: min(100%, 560px);
  height: auto;
  border-radius: 12px;
}

/* DAM search demo - GIF-like loop in design split device */
.mc-dam-search,
[data-mc-split-feature],
.mc-story--design .mc-visual-split__device {
  overflow-anchor: none;
}

.mc-dam-search {
  width: min(100%, 520px);
  margin: 0 auto;
}

.mc-dam-search__chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  box-sizing: border-box;
  padding-left: 42px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.mc-dam-search__chrome-mark {
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  opacity: 0.9;
}

.mc-dam-search.is-paused .mc-dam-search__typed,
.mc-dam-search.is-paused .mc-dam-search__cursor {
  animation-play-state: paused;
}

.mc-dam-search__deck {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  padding-left: 42px;
  padding-top: 18px;
  overflow-x: clip;
}

.mc-dam-search__rim {
  position: absolute;
  border-radius: 20px;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  pointer-events: none;
}

.mc-dam-search__rim--1 {
  inset: 10px auto auto 14px;
  right: -6px;
  height: calc(100% - 6px);
}

.mc-dam-search__rim--2 {
  inset: 4px auto auto 8px;
  right: -12px;
  height: calc(100% - 2px);
  opacity: 0.7;
}

.mc-dam-search__rim--3 {
  inset: 0 auto auto 0;
  right: -18px;
  height: 100%;
  opacity: 0.45;
}

.mc-dam-search__panel {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  background: #f5f5f2;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
  padding: clamp(18px, 3vw, 28px);
  min-height: 120px;
  transition: padding 0.56s cubic-bezier(0.45, 0, 0.2, 1);
  overflow: hidden;
  overflow-anchor: none;
}

.mc-dam-search.is-active:not(.is-results):not(.is-resetting) .mc-dam-search__panel {
  justify-content: flex-start;
}

.mc-dam-search.is-active .mc-dam-search__panel,
.mc-dam-search.is-results .mc-dam-search__panel,
.mc-dam-search.is-resetting .mc-dam-search__panel {
  min-height: clamp(380px, 52vw, 460px);
}

.mc-dam-search__form {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  flex-shrink: 0;
}

.mc-dam-search__field {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.25;
  color: #0f172a;
  position: relative;
  overflow: hidden;
}

.mc-dam-search__ghost {
  position: absolute;
  left: 16px;
  color: #94a3b8;
  font: inherit;
  transition: opacity 0.18s ease, visibility 0.18s ease;
  pointer-events: none;
}

.mc-dam-search.is-typing .mc-dam-search__ghost,
.mc-dam-search.is-searching .mc-dam-search__ghost,
.mc-dam-search.is-results .mc-dam-search__ghost,
.mc-dam-search.is-resetting .mc-dam-search__ghost {
  opacity: 0;
  visibility: hidden;
}

.mc-dam-search__typed {
  position: relative;
  z-index: 1;
  white-space: nowrap;
  overflow: hidden;
  font: inherit;
  font-weight: inherit;
  min-width: 0;
}

.mc-dam-search__cursor {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  margin-left: 1px;
  background: #dc2626;
  vertical-align: -0.12em;
  opacity: 0;
  animation: mc-dam-cursor-blink 1s step-end infinite;
}

.mc-dam-search.is-typing:not(.is-searching):not(.is-results):not(.is-resetting) .mc-dam-search__cursor {
  opacity: 1;
}

.mc-dam-search.is-searching .mc-dam-search__cursor,
.mc-dam-search.is-results .mc-dam-search__cursor {
  opacity: 0;
  animation: none;
}

@keyframes mc-dam-cursor-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.mc-dam-search__submit {
  flex: 0 0 auto;
  min-height: 48px;
  padding: 0 20px;
  border: none;
  border-radius: 999px;
  background: #e8e6e0;
  color: #0f172a;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.875rem;
  font-weight: 650;
  cursor: default;
  transition:
    background 0.28s ease,
    transform 0.28s ease,
    box-shadow 0.28s ease;
}

.mc-dam-search.is-searching .mc-dam-search__submit {
  background: var(--est-blue);
  color: #fff;
  transform: scale(0.96);
  box-shadow: 0 8px 20px rgba(0, 48, 222, 0.28);
}

.mc-dam-search__results {
  margin-top: 16px;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  pointer-events: none;
  transition:
    opacity 0.48s cubic-bezier(0.45, 0, 0.2, 1),
    max-height 0.56s cubic-bezier(0.45, 0, 0.2, 1);
}

.mc-dam-search.is-results .mc-dam-search__results,
.mc-dam-search.is-resetting .mc-dam-search__results {
  opacity: 1;
  max-height: 520px;
}

.mc-dam-search.is-resetting .mc-dam-search__results {
  opacity: 0;
}

.mc-dam-search__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.mc-dam-search__filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.8125rem;
  color: #334155;
  opacity: 0;
  transform: translateY(10px);
}

.mc-dam-search.is-results .mc-dam-search__filter {
  animation: mc-dam-rise 0.48s cubic-bezier(0.45, 0, 0.2, 1) forwards;
}

.mc-dam-search.is-results .mc-dam-search__filter:nth-child(1) { animation-delay: 0.04s; }
.mc-dam-search.is-results .mc-dam-search__filter:nth-child(2) { animation-delay: 0.1s; }
.mc-dam-search.is-results .mc-dam-search__filter:nth-child(3) { animation-delay: 0.16s; }

.mc-dam-search__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.mc-dam-search__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  background: #0f172a;
  color: #fff;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(12px) scale(0.96);
}

.mc-dam-search.is-results .mc-dam-search__tag {
  animation: mc-dam-tag-in 0.5s cubic-bezier(0.34, 1.2, 0.64, 1) forwards;
}

.mc-dam-search.is-results .mc-dam-search__tag:nth-child(1) { animation-delay: 0.12s; }
.mc-dam-search.is-results .mc-dam-search__tag:nth-child(2) { animation-delay: 0.22s; }
.mc-dam-search.is-results .mc-dam-search__tag:nth-child(3) { animation-delay: 0.32s; }

.mc-dam-search__tag-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  position: relative;
  flex-shrink: 0;
}

.mc-dam-search__tag-check::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 4px;
  width: 5px;
  height: 8px;
  border-right: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  transform: rotate(45deg);
}

.mc-dam-search__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.8125rem;
  color: #64748b;
  opacity: 0;
}

.mc-dam-search.is-results .mc-dam-search__meta {
  animation: mc-dam-rise 0.48s cubic-bezier(0.45, 0, 0.2, 1) 0.18s forwards;
}

.mc-dam-search__meta strong {
  color: #0f172a;
  font-weight: 650;
}

.mc-dam-search__chev {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 4px;
  border-right: 1.5px solid #64748b;
  border-bottom: 1.5px solid #64748b;
  transform: rotate(45deg) translateY(-2px);
}

.mc-dam-search__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.mc-dam-search__thumb {
  position: relative;
  margin: 0;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 20%, var(--mc-thumb-accent, #888) 0 24%, transparent 26%),
    linear-gradient(145deg, var(--mc-thumb-tone, #ccc) 0%, color-mix(in srgb, var(--mc-thumb-tone, #ccc) 70%, #000) 100%);
  opacity: 0;
  transform: translateY(28px);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}

.mc-dam-search__thumb--photo {
  background: #e8e6e0;
}

.mc-dam-search__thumb-img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.mc-dam-search__thumb-tag {
  position: absolute;
  left: 8px;
  bottom: 8px;
  z-index: 1;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.625rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: #0f172a;
}

.mc-dam-search.is-results .mc-dam-search__thumb {
  animation: mc-dam-thumb-in 0.56s cubic-bezier(0.45, 0, 0.2, 1) forwards;
}

.mc-dam-search.is-results .mc-dam-search__thumb:nth-child(1) { animation-delay: 0.08s; }
.mc-dam-search.is-results .mc-dam-search__thumb:nth-child(2) { animation-delay: 0.14s; }
.mc-dam-search.is-results .mc-dam-search__thumb:nth-child(3) { animation-delay: 0.2s; }
.mc-dam-search.is-results .mc-dam-search__thumb:nth-child(4) { animation-delay: 0.26s; }
.mc-dam-search.is-results .mc-dam-search__thumb:nth-child(5) { animation-delay: 0.32s; }
.mc-dam-search.is-results .mc-dam-search__thumb:nth-child(6) { animation-delay: 0.38s; }

@keyframes mc-dam-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes mc-dam-tag-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes mc-dam-thumb-in {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mc-visual-split__laptop {
  width: min(100%, 360px);
  aspect-ratio: 16 / 10;
  border-radius: 14px 14px 4px 4px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  background: #1a1f2e;
  padding: 10px 10px 16px;
}

.mc-visual-split__screen {
  width: 100%;
  height: 100%;
  border-radius: 6px;
  background: var(--mc-page-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mc-visual-split__line {
  width: 2px;
  height: 60%;
  background: #dc2626;
}

.mc-visual-split__card {
  padding: 24px;
  border-radius: var(--mc-radius-card);
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mc-visual-split__title {
  margin: 0;
  font-family: var(--font-display-vi);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.mc-visual-split__cta {
  align-self: flex-start;
  display: inline-flex;
  min-height: 36px;
  padding: 0 16px;
  align-items: center;
  border-radius: 999px;
  background: var(--mc-home-cta-bg);
  color: var(--mc-home-cta-ink);
  font-size: 0.8125rem;
  font-weight: 600;
}

.mc-visual-split__meta {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--mc-ink-soft);
  letter-spacing: 0.01em;
}

.mc-visual-split__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 4px;
}

.mc-visual-split__tile {
  position: relative;
  margin: 0;
  aspect-ratio: 1;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.06);
  transition:
    transform 0.28s cubic-bezier(0.34, 1.08, 0.42, 1),
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    opacity 0.28s ease;
}

a.mc-visual-split__tile {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a.mc-visual-split__tile:hover {
  transform: scale(1.03);
  z-index: 2;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
}

a.mc-visual-split__tile:focus-visible {
  outline: 2px solid var(--est-blue);
  outline-offset: 2px;
  z-index: 3;
}

.mc-visual-split__tile--photo {
  background: #e8e6e0;
}

.mc-visual-split__tile-img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.mc-visual-split__tile-tag {
  position: absolute;
  left: 6px;
  bottom: 6px;
  z-index: 1;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #0f172a;
  line-height: 1.2;
}

.mc-visual-split__tile--active .mc-visual-split__tile-tag {
  background: #fff;
  font-weight: 650;
}

.mc-visual-split__tile-check {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 1;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1.5px solid var(--est-blue);
  background: #fff;
  color: var(--est-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.12);
}

.mc-visual-split__tile--ghost {
  flex-direction: column;
  gap: 6px;
  border-style: dashed;
  border-color: rgba(15, 23, 42, 0.16);
  opacity: 1;
  box-shadow: none;
  background: #eceae4;
  color: var(--mc-ink-soft);
}

.mc-visual-split__ghost-skeleton {
  display: none;
  position: absolute;
  inset: 8px;
  border-radius: 8px;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0.15) 8%, rgba(255, 255, 255, 0.55) 18%, rgba(255, 255, 255, 0.15) 33%);
  background-size: 200% 100%;
}

.mc-visual-split__tile--ghost.is-loading .mc-visual-split__ghost-skeleton {
  display: block;
  animation: mc-split-ghost-shimmer 1.1s linear infinite;
}

.mc-visual-split__tile--ghost.is-loading {
  border-color: rgba(0, 48, 222, 0.35);
  box-shadow: 0 0 0 2px rgba(0, 48, 222, 0.08);
}

.mc-visual-split__tile--ghost.is-filled .mc-visual-split__ghost-icon {
  transform: scale(0.92);
  opacity: 0.55;
}

.mc-visual-split__ghost-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1.5px solid rgba(15, 23, 42, 0.14);
  background: rgba(255, 255, 255, 0.72);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.mc-visual-split__ghost-label {
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-align: center;
  padding: 0 6px;
}

.mc-visual-split__grid.is-syncing .mc-visual-split__tile--photo {
  opacity: 0.72;
}

.mc-visual-split__tile--photo.is-revealed {
  opacity: 1;
  animation: mc-split-tile-reveal 0.42s cubic-bezier(0.34, 1.08, 0.42, 1) both;
}

.mc-visual-split__tile--active {
  border-color: var(--est-blue);
  box-shadow: 0 0 0 2px rgba(0, 48, 222, 0.15), 0 8px 16px rgba(15, 23, 42, 0.12);
  transform: scale(1.05);
  z-index: 1;
}

.mc-visual-split__tile--photo.is-revealed.mc-visual-split__tile--active {
  transform: scale(1.05);
}

@keyframes mc-split-ghost-shimmer {
  to { background-position-x: -200%; }
}

@keyframes mc-split-tile-reveal {
  from {
    opacity: 0;
    transform: translateY(6px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

[data-mc-split-feature].is-paused .mc-visual-split__tile--photo {
  transition-duration: 0.12s;
}

/* Type stack (legacy aliases removed - see .mc-brand-stack) */

/* Tablet showcase (Figma: 1337x751 stage, 56px gap, 555px left / 20px right) */
.mc-home-tablet {
  width: 100%;
  max-width: 1337px;
  margin: 56px auto 0;
}

.mc-home-tablet__stage {
  width: 100%;
  aspect-ratio: 1337 / 751;
  max-height: 751px;
  background: #0a0a0a;
  border-radius: var(--mc-radius-card);
  overflow: hidden;
  box-sizing: border-box;
  padding: clamp(12px, 2.4vw, 28px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mc-home-tablet__stage:has(.mc-home-tablet__player) {
  padding: 0;
  flex-direction: column;
  align-items: stretch;
  justify-content: stretch;
}

.mc-home-tablet__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.mc-home-divider--before-resources {
  margin: 56px 0 0;
}

/* Resources (Spec: title 42px/300, note 18px/300, head->grid 82px, label 32px/35.2px, meta 18px/23.4px, preview 256x120, row pad 59/37px, text-preview gap 12px) */
.mc-resources {
  padding: 112px 0 16px;
  max-width: 1337px;
}

.mc-resources__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 82px;
}

.mc-resources__title {
  margin: 0;
  flex: 0 1 659px;
  max-width: 659px;
  font-family: var(--font-display-vi);
  font-size: clamp(2rem, 2.8vw, 2.625rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
}

.mc-resources__title.font-display-vi {
  font-weight: 300;
}

.mc-resources__note {
  margin: 0;
  flex: 0 1 659px;
  max-width: 659px;
  text-align: right;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 300;
  line-height: 23.4px;
  color: var(--mc-ink-soft);
}

.mc-resource-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.mc-resource-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-height: 120px;
  padding: 0;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  transition: opacity 0.2s ease;
}

.mc-resource-list .mc-resource-row:nth-child(-n + 2) {
  border-top: 0;
}

.mc-resource-list .mc-resource-row:nth-child(n + 3) {
  padding-top: 59px;
}

.mc-resource-row:hover {
  opacity: 0.82;
}

.mc-resource-row__text {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 512px;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  padding: 0 0 37px;
  box-sizing: border-box;
}

.mc-resource-row__label {
  margin: 0 0 24px;
  font-family: var(--font-body);
  font-size: 32px;
  font-weight: 300;
  line-height: 35.2px;
  letter-spacing: 0;
}

.mc-resource-row__meta {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 300;
  line-height: 23.4px;
  color: var(--mc-ink-soft);
}

.mc-resource-preview {
  flex: 0 0 256px;
  width: 256px;
  height: 120px;
  border-radius: 12px;
  background: var(--est-pahkla);
  border: 1px solid var(--mc-border-default);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 0;
  box-sizing: border-box;
}

.mc-section-title {
  margin: 0;
  font-family: var(--font-display-vi);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}

/* Logo lockup */
.mc-resource-preview--logo {
  padding: 10px;
}

.mc-resource-preview__logo-stage {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 100%;
  padding: 14px 16px;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--est-parnu), var(--est-ehakivi));
  border: 1px solid var(--mc-border-subtle);
  box-sizing: border-box;
}

.mc-resource-preview__logo-safe {
  position: absolute;
  inset: 8px;
  border: 1px dashed rgba(15, 23, 42, 0.14);
  border-radius: 6px;
  pointer-events: none;
}

.mc-resource-preview__logo-mark {
  position: relative;
  z-index: 1;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.mc-resource-preview__logo-word {
  position: relative;
  z-index: 1;
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--est-mustkivi);
}

/* Image library mosaic */
.mc-resource-preview--images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  padding: 6px;
  background: var(--est-mustkivi);
}

.mc-resource-preview__shot {
  display: block;
  min-height: 0;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.mc-resource-preview__shot img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 48px;
  object-fit: cover;
  object-position: center;
}

/* Typography */
.mc-resource-preview--type {
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(160deg, var(--est-ehakivi), var(--est-parnu));
}

.mc-resource-preview__type-display {
  font-size: 3rem;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--est-mustkivi);
}

.mc-resource-preview__type-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.mc-resource-preview__type-line {
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.5625rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--mc-border-subtle);
  background: rgba(255, 255, 255, 0.72);
  color: var(--est-majakivi);
}

.mc-resource-preview__type-line--display {
  color: var(--est-blue);
  border-color: rgba(0, 48, 222, 0.18);
}

/* Writing tone */
.mc-resource-preview--tone {
  flex-direction: column;
  gap: 5px;
  padding: 12px 14px;
  align-items: stretch;
  background: linear-gradient(145deg, var(--est-haapsalu), var(--est-parnu));
}

.mc-resource-preview__trait {
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 650;
  text-align: center;
  color: var(--est-mustkivi);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--mc-border-subtle);
}

.mc-resource-preview__trait--2 {
  margin-left: 12px;
  margin-right: 12px;
}

.mc-resource-preview__trait--3 {
  margin-left: 24px;
  margin-right: 0;
}

/* Brand colors */
.mc-resource-preview--colors {
  flex-direction: column;
  gap: 10px;
  padding: 14px 16px;
  background: var(--est-ehakivi);
}

.mc-resource-preview__palette {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
}

.mc-resource-preview__chip {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--mc-border-subtle);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.mc-resource-preview__chip.is-blao {
  background: var(--est-blue);
}

.mc-resource-preview__chip.is-liivi {
  background: var(--est-blue-dark);
}

.mc-resource-preview__chip.is-parnu {
  background: var(--est-parnu);
}

.mc-resource-preview__chip.is-haapsalu {
  background: var(--est-haapsalu);
}

.mc-resource-preview__hex {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--est-majakivi);
}

.mc-resource-preview--photo {
  padding: 0;
}

.mc-resource-preview--photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* DIY templates */
.mc-resource-preview--templates {
  padding: 10px 12px;
  background: linear-gradient(160deg, var(--est-parnu), var(--est-ehakivi));
}

.mc-resource-preview__tpl-sheet {
  display: flex;
  flex-direction: column;
  width: 78%;
  height: 88%;
  border-radius: 6px;
  overflow: hidden;
  background: var(--est-ehakivi);
  border: 1px solid var(--mc-border-default);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1);
}

.mc-resource-preview__tpl-header {
  height: 22px;
  background: linear-gradient(90deg, var(--est-blue), var(--est-blue-mid));
  border-bottom: 1px solid var(--mc-border-brand-accent);
}

.mc-resource-preview__tpl-body {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4px;
  padding: 6px;
  min-height: 0;
}

.mc-resource-preview__tpl-block {
  border-radius: 3px;
  background: rgba(15, 23, 42, 0.06);
  border: 1px solid var(--mc-border-subtle);
  min-height: 28px;
}

.mc-resource-preview__tpl-block.is-accent {
  background: linear-gradient(145deg, rgba(206, 226, 253, 0.9), rgba(0, 48, 222, 0.2));
  border-color: rgba(0, 48, 222, 0.16);
}

.mc-resource-preview__tpl-footer {
  display: flex;
  gap: 4px;
  padding: 0 6px 6px;
}

.mc-resource-preview__tpl-footer span {
  flex: 1;
  height: 5px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
}

.mc-resource-preview__tpl-footer span:first-child {
  flex: 1.4;
  background: var(--est-blue);
  opacity: 0.35;
}

/* Portals (Spec: title 42px/300/42px, title->grid 60px, thumb 370x208, label 18px/300/23.4px, thumb->label 32px, section pad 36px 0 / bottom 32px) */
.mc-portals {
  padding: 36px 0 32px;
  max-width: 1337px;
}

.mc-portals .mc-section-title {
  margin: 0 0 60px;
  max-width: 1230px;
  font-family: var(--font-display-vi);
  font-size: clamp(2rem, 2.8vw, 2.625rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
}

.mc-portals .mc-section-title.font-display-vi {
  font-weight: 300;
}

.mc-portal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px;
  max-width: 1230px;
}

.mc-portal-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.mc-portal-card__thumb {
  position: relative;
  width: 100%;
  max-width: 370px;
  height: 208px;
  aspect-ratio: 370 / 208;
  border-radius: 14px;
  overflow: hidden;
  display: block;
  box-sizing: border-box;
  border: 1px solid rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mc-portal-card__thumb-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.mc-portal-card:hover .mc-portal-card__thumb {
  transform: translateY(-2px);
  box-shadow: var(--mc-shadow-float);
}

.mc-portal-card--dark .mc-portal-card__thumb {
  background: linear-gradient(160deg, #1a1f2e, #0f172a);
  color: #fff;
}

.mc-portal-card--dark .mc-portal-card__thumb:has(.mc-portal-card__thumb-art) {
  background: #0f172a;
}

.mc-portal-card--light .mc-portal-card__thumb {
  background: linear-gradient(145deg, #f2f1ed, #e2e8f0);
  color: var(--mc-ink);
}

.mc-portal-card__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.mc-portal-card__caption {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 300;
  line-height: 1.4;
  color: var(--mc-ink-muted);
  max-width: 28ch;
}

.mc-portal-card__label {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 500;
  line-height: 23.4px;
  color: var(--mc-ink);
}

.mc-home-divider--before-portals {
  margin: 56px 0 0;
  min-height: 40px;
}

/* Footer (Spec: divider->watermark 60px, watermark max 1230px, note 14px/300/18.2px, bottom 158px) */
.mc-home-footer {
  margin-top: 0;
  padding: 0 0 158px;
  max-width: 1337px;
  width: 100%;
  text-align: left;
}

.mc-home-footer .mc-home-divider {
  margin: 0;
  min-height: 40px;
}

.mc-home-footer__watermark {
  margin: 60px auto 20px;
  width: 100%;
  max-width: 1230px;
  height: clamp(180px, 30vw, 402px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display-vi);
  font-size: clamp(4rem, 16vw, 11.5rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: rgba(15, 23, 42, 0.06);
  user-select: none;
  overflow: hidden;
}

.mc-home-footer__note {
  margin: 0 0 10px;
  max-width: 1230px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  line-height: 18.2px;
  color: var(--mc-ink-soft);
}

.mc-home-footer__note a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 960px) {
  .mc-home {
    width: min(1264px, var(--mc-page-width));
    overflow-x: clip;
  }

  .mc-home-story {
    overflow-x: clip;
  }

  .mc-intro__grid,
  .mc-visual-split {
    grid-template-columns: 1fr;
  }

  .mc-intro__visual {
    max-width: none;
    margin-left: 0;
    overflow: hidden;
    aspect-ratio: 1170 / 659;
    max-height: min(56vw, 420px);
  }

  .mc-device--far {
    width: 42%;
    left: 1%;
    top: 14%;
  }

  .mc-device--mid {
    width: 48%;
    left: 18%;
    top: 4%;
  }

  .mc-device--front {
    width: 52%;
    right: 0;
    bottom: 2%;
  }

  .mc-intro__lead {
    max-width: none;
  }

  .mc-story--design .mc-visual-split {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .mc-story--design .mc-visual-split__device {
    max-width: none;
    aspect-ratio: 4 / 3;
    max-height: min(76vw, 480px);
    padding: clamp(16px, 4vw, 28px);
  }

  .mc-story--design .mc-visual-split__card {
    max-width: none;
    min-height: 0;
    width: 100%;
  }

  .mc-dam-search {
    width: 100%;
    max-width: 460px;
  }

  .mc-dam-search__chrome {
    padding-left: clamp(16px, 4vw, 28px);
  }

  .mc-dam-search__deck {
    padding-left: clamp(16px, 4vw, 28px);
  }

  .mc-dam-search__rim--1 {
    right: 0;
  }

  .mc-dam-search__rim--2 {
    right: -4px;
  }

  .mc-dam-search__rim--3 {
    right: -8px;
  }

  .mc-visual-duo {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .mc-hub-duo__node {
    width: 80px;
  }

  .mc-hub-duo__node-icon {
    width: 80px;
    height: 80px;
  }

  .mc-hub-duo__icon-svg {
    width: 44px;
  }

  .mc-hub-duo {
    max-width: min(100%, 320px);
    margin: 0 auto;
  }

  .mc-visual--duo[data-mc-hub-duo] .mc-visual-duo__panel--primary,
  .mc-visual--duo[data-mc-hub-duo] .mc-visual-duo__panel--secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .mc-hub-sync {
    min-height: 360px;
  }

  .mc-hub-sync__scene {
    min-height: 300px;
    margin-top: 20px;
  }

  .mc-story--design .mc-visual--duo {
    margin-top: 40px;
  }

  .mc-visual-duo__panel--primary,
  .mc-visual-duo__panel--secondary {
    max-width: none;
  }

  .mc-resource-list {
    grid-template-columns: 1fr;
  }

  .mc-home-tablet {
    margin-top: 40px;
  }

  .mc-home-tablet__stage {
    padding: 24px 20px;
    aspect-ratio: auto;
    min-height: auto;
  }

  .mc-home-tablet__img {
    max-width: 100%;
  }

  .mc-resources {
    padding-top: 64px;
  }

  .mc-resources__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 48px;
  }

  .mc-resources__title {
    flex: none;
    max-width: none;
    font-size: clamp(1.75rem, 6vw, 2.625rem);
  }

  .mc-resources__note {
    flex: none;
    max-width: none;
    text-align: left;
    font-size: 16px;
    line-height: 21px;
  }

  .mc-resource-list {
    gap: 0;
  }

  .mc-resource-row {
    flex-direction: row;
    align-items: center;
    gap: clamp(16px, 4vw, 24px);
    min-height: 0;
    padding: clamp(20px, 5vw, 28px) 0;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
  }

  .mc-resource-list .mc-resource-row:nth-child(-n + 2) {
    border-top: 1px solid rgba(15, 23, 42, 0.08);
  }

  .mc-resource-list .mc-resource-row:first-child {
    border-top: 0;
    padding-top: 0;
  }

  .mc-resource-list .mc-resource-row:nth-child(n + 3) {
    padding-top: clamp(20px, 5vw, 28px);
  }

  .mc-resource-row__label {
    margin: 0 0 8px;
    font-size: clamp(1.25rem, 4.5vw, 1.75rem);
    line-height: 1.15;
  }

  .mc-resource-row__meta {
    font-size: 14px;
    line-height: 1.35;
  }

  .mc-resource-row__text {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    padding: 0;
  }

  .mc-resource-preview {
    flex: 0 0 clamp(88px, 24vw, 112px);
    width: clamp(88px, 24vw, 112px);
    height: clamp(88px, 24vw, 112px);
    border-radius: 10px;
    align-self: center;
  }

  .mc-resource-preview--logo {
    padding: 5px;
  }

  .mc-resource-preview__logo-stage {
    padding: 8px 10px;
    gap: 6px;
  }

  .mc-resource-preview__logo-mark {
    width: 22px;
    height: 22px;
  }

  .mc-resource-preview__logo-word {
    font-size: 0.8125rem;
  }

  .mc-resource-preview--images {
    gap: 2px;
    padding: 4px;
  }

  .mc-resource-preview__shot img {
    min-height: 0;
  }

  .mc-resource-preview--type {
    padding: 10px;
    align-items: center;
    justify-content: center;
  }

  .mc-resource-preview__type-display {
    font-size: 2.25rem;
  }

  .mc-resource-preview__type-stack {
    display: none;
  }

  .mc-resource-preview--tone {
    padding: 8px;
    gap: 3px;
  }

  .mc-resource-preview__trait {
    padding: 3px 6px;
    font-size: 0.5625rem;
  }

  .mc-resource-preview__trait--2 {
    margin-left: 6px;
    margin-right: 6px;
  }

  .mc-resource-preview__trait--3 {
    margin-left: 12px;
  }

  .mc-resource-preview--colors {
    padding: 8px;
    gap: 6px;
  }

  .mc-resource-preview__palette {
    gap: 4px;
  }

  .mc-resource-preview__chip {
    width: 18px;
    height: 18px;
  }

  .mc-resource-preview__hex {
    font-size: 0.5625rem;
  }

  .mc-portal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    max-width: none;
  }

  .mc-portals {
    padding: 28px 0 24px;
  }

  .mc-portals .mc-section-title {
    margin-bottom: 40px;
    max-width: none;
  }

  .mc-portal-card {
    gap: 16px;
  }

  .mc-portal-card__meta {
    gap: 6px;
  }

  .mc-portal-card__thumb {
    max-width: none;
    height: auto;
  }

  .mc-portal-card__label {
    font-size: 16px;
    line-height: 21px;
  }

  .mc-hero {
    padding-bottom: 72px;
  }

  .mc-hero__marquee-row {
    font-size: clamp(2rem, 9vw, 3.25rem);
  }

  .mc-hero__frame {
    width: clamp(64px, 16vw, 88px);
    height: clamp(50px, 12vw, 72px);
    margin: 0 8px;
  }

  .mc-story--how .mc-visual-fan,
  .mc-story--design .mc-visual-fan--infographic {
    --mc-fan-card-h: clamp(260px, 48vw, 340px);
    --mc-fan-card-w: clamp(168px, 32vw, 220px);
    --mc-fan-arc-y: 88px;
    --mc-fan-x-1: -300px;
    --mc-fan-y-1: -96px;
    --mc-fan-x-2: -150px;
    --mc-fan-y-2: -48px;
    --mc-fan-x-4: 150px;
    --mc-fan-y-4: 48px;
    --mc-fan-x-5: 300px;
    --mc-fan-y-5: 96px;
    height: calc(var(--mc-fan-card-h) + var(--mc-fan-arc-y) * 2 + 56px);
    min-height: 520px;
    padding: 20px 12px 24px;
  }

  .mc-story--how .mc-visual-fan {
    --mc-fan-x-1: -240px;
    --mc-fan-y-1: -56px;
    --mc-fan-x-2: -120px;
    --mc-fan-y-2: -28px;
    --mc-fan-x-4: 120px;
    --mc-fan-y-4: 28px;
    --mc-fan-x-5: 240px;
    --mc-fan-y-5: 56px;
    overflow: hidden;
    padding: 28px 20px;
  }

  .mc-story--how [data-mc-fan].mc-visual-fan.is-expanded .mc-visual-fan__card:nth-child(1) {
    transform: translate(calc(-50% + var(--mc-fan-x-1)), calc(-50% + var(--mc-fan-y-1))) rotate(-6deg);
  }

  .mc-story--how [data-mc-fan].mc-visual-fan.is-expanded .mc-visual-fan__card:nth-child(5) {
    transform: translate(calc(-50% + var(--mc-fan-x-5)), calc(-50% + var(--mc-fan-y-5))) rotate(6deg);
  }

  [data-mc-fan].mc-visual-fan .mc-visual-fan__card {
    --mc-fan-stack-x: 240px;
    --mc-fan-stack-y: 48px;
  }

  [data-mc-fan].mc-visual-fan.is-reverse .mc-visual-fan__card {
    --mc-fan-stack-x: -240px;
    --mc-fan-stack-y: -48px;
  }
}

@media (max-width: 640px) {
  body.mc-section-home .mc-main {
    padding-top: calc(var(--mc-nav-height) + 48px);
  }

  .mc-home {
    width: var(--mc-page-width);
  }

  .mc-hero {
    padding-bottom: 88px;
  }

  .mc-hero__marquee-block {
    max-width: none;
  }

  .mc-intro__visual {
    max-width: none;
    aspect-ratio: 1 / 0.72;
    min-height: 0;
    max-height: min(68vw, 320px);
    overflow: hidden;
  }

  .mc-device--far {
    width: 38%;
    left: 2%;
    top: 16%;
  }

  .mc-device--mid {
    width: 44%;
    left: 16%;
    top: 6%;
  }

  .mc-device--front {
    width: 48%;
    right: 0;
    bottom: 2%;
  }

  .mc-device-stack--triple {
    min-height: 0;
  }

  .mc-visual-strip {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
  }

  .mc-visual-strip__slide {
    scroll-snap-align: center;
  }

  .mc-visual-fan {
    overflow-x: auto;
    justify-content: flex-start;
    padding: 24px 12px;
  }

  .mc-portal-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .mc-photo-marquee {
    padding: 0 24px 16px;
  }

  .mc-photo-marquee__cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    height: clamp(300px, 50vw, 400px);
  }

  .mc-photo-marquee__col:nth-child(n + 4) {
    display: none;
  }

  .mc-story--how {
    padding-top: 40px;
  }

  .mc-story--how .mc-visual-fan,
  .mc-story--design .mc-visual-fan--infographic {
    --mc-fan-card-h: clamp(220px, 56vw, 300px);
    --mc-fan-arc-y: 32px;
    height: calc(var(--mc-fan-card-h) + var(--mc-fan-arc-y) * 2 + 40px);
    min-height: 320px;
    overflow: hidden;
  }

  .mc-story--how .mc-visual-fan {
    --mc-fan-card-w: clamp(128px, 30vw, 168px);
    --mc-fan-x-1: -108px;
    --mc-fan-y-1: -26px;
    --mc-fan-x-2: -54px;
    --mc-fan-y-2: -13px;
    --mc-fan-x-4: 54px;
    --mc-fan-y-4: 13px;
    --mc-fan-x-5: 108px;
    --mc-fan-y-5: 26px;
    padding: 24px 16px;
  }

  .mc-story--design .mc-visual-fan--infographic {
    --mc-fan-card-h: clamp(200px, 52vw, 260px);
    --mc-fan-card-w: clamp(120px, 28vw, 156px);
    --mc-fan-arc-y: 48px;
    --mc-fan-x-1: -108px;
    --mc-fan-y-1: -52px;
    --mc-fan-x-2: -54px;
    --mc-fan-y-2: -26px;
    --mc-fan-x-4: 54px;
    --mc-fan-y-4: 26px;
    --mc-fan-x-5: 108px;
    --mc-fan-y-5: 52px;
    height: calc(var(--mc-fan-card-h) + var(--mc-fan-arc-y) * 2 + 36px);
    min-height: 340px;
    padding: 20px 12px 24px;
  }

  [data-mc-fan].mc-visual-fan .mc-visual-fan__card {
    width: clamp(120px, 30vw, 168px);
    height: clamp(200px, 52vw, 280px);
    padding: 16px 12px;
    --mc-fan-stack-x: 108px;
    --mc-fan-stack-y: 28px;
  }

  [data-mc-fan].mc-visual-fan.is-reverse .mc-visual-fan__card {
    --mc-fan-stack-x: -108px;
    --mc-fan-stack-y: -28px;
  }

  .mc-story--design {
    padding-top: 40px;
  }
}

@media (max-width: 640px) {
  .mc-story--how {
    padding-top: 32px;
  }

  .mc-story__copy--marquee .mc-story__headline {
    margin-bottom: 40px;
    max-width: none;
  }

  .mc-story__cta-wrap {
    min-height: auto;
    padding: 10px 0 0;
  }

  .mc-story--why .mc-visual--marquee {
    margin-top: 40px;
  }

  .mc-story--how .mc-story__headline {
    font-size: clamp(2rem, 8vw, 2.75rem);
    letter-spacing: -0.5px;
    margin-bottom: 10px;
  }

  .mc-story--how .mc-story__cta {
    margin-bottom: 32px;
    min-height: 40px;
  }

  .mc-story--how .mc-visual--fan {
    max-width: none;
  }

  .mc-story--design {
    padding-top: 64px;
  }

  .mc-story--design .mc-story__headline {
    font-size: clamp(2rem, 8vw, 2.75rem);
    letter-spacing: -0.5px;
  }

  .mc-story--design .mc-story__cta {
    margin-bottom: 24px;
    min-height: 40px;
  }

  .mc-story--personality {
    padding-top: 64px;
  }

  .mc-story--personality .mc-story__headline {
    font-size: clamp(2rem, 8vw, 2.75rem);
    letter-spacing: -0.5px;
  }

  .mc-story--personality .mc-story__cta {
    margin: 10px 0 24px;
    min-height: 40px;
  }

  .mc-story--design .mc-visual--duo[data-mc-hub-duo] {
    display: none;
  }

  .mc-story--design .mc-visual--split,
  .mc-story--design .mc-visual--fan-tail {
    width: 100%;
    max-width: none;
  }

  .mc-story--design .mc-visual-split__device {
    aspect-ratio: auto;
    min-height: 0;
    max-height: none;
    height: auto;
    padding: 10px 6px;
    align-items: flex-start;
  }

  .mc-story--design .mc-visual-split__device .mc-dam-search {
    --mc-dam-scale: 0.68;
    width: 100%;
    max-width: none;
    transform: scale(var(--mc-dam-scale));
    transform-origin: top center;
    margin-bottom: calc((1 - var(--mc-dam-scale)) * -78%);
  }

  .mc-hub-sync {
    --mc-hub-sync-scale: 0.64;
    min-height: 0;
    width: 100%;
    padding: 0 2px 6px;
    transform: scale(var(--mc-hub-sync-scale));
    transform-origin: top center;
    margin-bottom: calc((1 - var(--mc-hub-sync-scale)) * -72%);
  }

  .mc-hub-sync__scene {
    min-height: 200px;
    margin-top: 6px;
    transform: none;
  }

  .mc-hub-sync__caption {
    left: 8px;
    right: 8px;
    bottom: 8px;
    padding-top: 8px;
    font-size: 0.5625rem;
    line-height: 1.3;
  }

  .mc-visual--duo[data-mc-hub-duo] .mc-visual-duo__panel--primary {
    overflow: hidden;
    padding: 8px 4px 12px;
    min-height: 220px;
  }

  .mc-visual--duo[data-mc-hub-duo] .mc-visual-duo__panel--secondary {
    padding: 6px 4px 10px;
    min-height: 200px;
  }

  .mc-hub-duo {
    --mc-hub-duo-scale: 0.62;
    width: 100%;
    max-width: none;
    margin: 0;
    transform: scale(var(--mc-hub-duo-scale));
    transform-origin: center center;
    margin-block: calc((1 - var(--mc-hub-duo-scale)) * -18%);
  }

  .mc-hub-duo__core {
    transform: none;
  }

  .mc-hub-duo__portal {
    width: 60px;
    height: 54px;
  }

  .mc-hub-duo__node {
    width: 52px;
    gap: 3px;
  }

  .mc-hub-duo__node-icon {
    width: 52px;
    height: 52px;
  }

  .mc-hub-duo__icon-svg {
    width: 28px;
  }

  .mc-hub-duo__node-label {
    min-width: 0;
    max-width: 54px;
    padding: 2px 4px;
    font-size: 0.4375rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mc-hub-duo__cta {
    bottom: 0;
    min-height: 26px;
    padding: 0 10px;
    font-size: 0.4375rem;
    max-width: calc(100% - 12px);
    text-align: center;
    line-height: 1.15;
  }

  .mc-dam-search__chrome {
    padding-left: 8px;
    margin-bottom: 8px;
    font-size: 0.5625rem;
  }

  .mc-dam-search__deck {
    padding-left: 8px;
    padding-top: 8px;
  }

  .mc-dam-search__rim--1,
  .mc-dam-search__rim--2,
  .mc-dam-search__rim--3 {
    right: 0;
    opacity: 0.28;
  }

  .mc-dam-search__panel {
    padding: 10px;
  }

  .mc-dam-search.is-active .mc-dam-search__panel,
  .mc-dam-search.is-results .mc-dam-search__panel,
  .mc-dam-search.is-resetting .mc-dam-search__panel {
    min-height: 260px;
  }

  .mc-dam-search__form {
    gap: 6px;
  }

  .mc-dam-search__field {
    min-height: 36px;
    padding: 0 10px;
    font-size: 0.6875rem;
  }

  .mc-dam-search__ghost {
    left: 10px;
  }

  .mc-dam-search__submit {
    min-height: 36px;
    padding: 0 10px;
    font-size: 0.625rem;
  }

  .mc-dam-search__filters {
    gap: 4px;
    margin-bottom: 6px;
  }

  .mc-dam-search__filter {
    padding: 4px 8px;
    font-size: 0.5625rem;
    gap: 4px;
  }

  .mc-dam-search__tags {
    gap: 4px;
    margin-bottom: 8px;
  }

  .mc-dam-search__tag {
    padding: 4px 8px 4px 6px;
    font-size: 0.5625rem;
    gap: 4px;
  }

  .mc-dam-search__tag-check {
    width: 12px;
    height: 12px;
  }

  .mc-dam-search__meta {
    gap: 6px;
    font-size: 0.5625rem;
    margin-bottom: 6px;
  }

  .mc-dam-search__grid {
    gap: 3px;
  }

  .mc-dam-search__thumb {
    border-radius: 6px;
  }

  .mc-dam-search__thumb-tag {
    left: 3px;
    bottom: 3px;
    padding: 1px 4px;
    font-size: 0.4375rem;
  }

  .mc-brand-stack {
    padding: 40px 0 48px;
    --mc-stack-fan-step: -22px;
    --mc-stack-y-step: 5px;
  }

  .mc-brand-stack__deck {
    padding-left: clamp(88px, 22vw, 154px);
  }

  .mc-brand-stack.is-pulse-up {
    --mc-stack-lift: -28px;
    --mc-stack-fan-step: -5px;
    --mc-stack-y-step: 2px;
  }

  .mc-brand-stack.is-pulse-down {
    --mc-stack-lift: 10px;
    --mc-stack-fan-step: -22px;
    --mc-stack-y-step: 5px;
  }

  .mc-brand-stack__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .mc-brand-stack__deck {
    width: 100%;
    padding-left: clamp(88px, 22vw, 154px);
    height: clamp(220px, 62vw, 320px);
  }

  .mc-brand-stack__cards {
    width: min(100%, 320px);
    height: clamp(220px, 62vw, 320px);
  }

  .mc-brand-stack__lead {
    white-space: normal;
    font-size: clamp(2rem, 8vw, 2.75rem);
  }

  .mc-photo-marquee__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    height: 280px;
  }

  .mc-photo-marquee__col:nth-child(n + 3) {
    display: none;
  }

  .mc-home-divider {
    margin: 56px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mc-photo-marquee__col--up .mc-photo-marquee__track,
  .mc-photo-marquee__col--down .mc-photo-marquee__track,
  .mc-photo-marquee__row--left .mc-photo-marquee__track--row,
  .mc-photo-marquee__row--right .mc-photo-marquee__track--row,
  .mc-hero__marquee-track {
    animation: none;
  }

  .mc-hero__marquee-viewport {
    mask-image: none;
    overflow: visible;
  }

  .mc-hero__marquee-track {
    flex-wrap: wrap;
    width: 100%;
    gap: 0;
  }

  .mc-hero__marquee-block:last-child {
    display: none;
  }

  .mc-hero__marquee-row {
    white-space: normal;
    flex-wrap: wrap;
  }

  [data-mc-fan].mc-visual-fan .mc-visual-fan__card {
    transition: none;
  }

  [data-mc-fan].mc-visual-fan--infographic:not(.is-expanded) .mc-visual-fan__card {
    transform: translate(-50%, -50%) rotate(0deg) scale(1);
  }

  .mc-visual-fan__type-track {
    animation: none;
  }

  .mc-brand-stack.is-pulse-up .mc-brand-stack__card[data-stack-depth="0"] {
    --mc-stack-card-offset: -42%;
  }

  .mc-brand-stack.is-pulse-down.is-stack-swap .mc-brand-stack__card[data-stack-depth="0"] {
    --mc-stack-card-offset: 36px;
  }

  .mc-brand-stack__card {
    transition: none;
  }

  .mc-brand-stack__card-word {
    transition: none;
  }

  .mc-brand-stack.is-pulse-up,
  .mc-brand-stack.is-pulse-down {
    --mc-stack-lift: 0px;
    --mc-stack-fan-step: -22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mc-story__cta:hover,
  .mc-portal-card:hover .mc-portal-card__thumb {
    transform: none;
  }

  .mc-dam-search.is-results .mc-dam-search__filter,
  .mc-dam-search.is-results .mc-dam-search__tag,
  .mc-dam-search.is-results .mc-dam-search__meta,
  .mc-dam-search.is-results .mc-dam-search__thumb {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .mc-split-feature-grid.is-ghost .mc-split-feature-tile,
  .mc-split-feature-tile.is-reveal,
  .mc-split-feature-tile.is-active {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .mc-split-feature-grid.is-paused .mc-split-feature-tile.is-active {
    transform: none;
  }

  .mc-hub-sync__panel,
  .mc-hub-sync__flight,
  .mc-hub-sync__beam-line,
  .mc-hub-sync__beam-rotate,
  .mc-hub-sync__link,
  .mc-hub-sync__phone img,
  .mc-hub-sync.is-flight-ready .mc-hub-sync__thumb.is-highlight img,
  .mc-hub-sync.is-pulsing .mc-hub-sync__cloud {
    animation: none;
  }

  .mc-hub-sync.is-flight-ready .mc-hub-sync__thumb.is-highlight img {
    opacity: 1;
  }

  .mc-hub-duo__node:hover,
  .mc-hub-duo__node:focus-visible {
    transform: translate(-50%, -50%);
  }
}
