/* Targeted mobile fixes. Desktop composition, artwork and palette are preserved. */
.loader-video { opacity: 1; }
.recaptcha-field {
  grid-column: 1 / -1;
  width: min(304px, 100%);
  min-width: 0;
  height: calc(78px * var(--recaptcha-scale, 1));
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}
.recaptcha-field:empty { display: block; }
.recaptcha-field > div {
  transform: scale(var(--recaptcha-scale, 1));
  transform-origin: top left;
}
.hero-polaroid-image { height: auto; }
@media (max-width: 720px) {
  .page-loader { transition-duration: 350ms !important; }
  .brand-video-controls { display: none !important; }
  .content-section > .shell > .content-intro > #content-title {
    font-size: clamp(2.65rem, 12.7vw, 5rem) !important;
    line-height: 1.16 !important;
    padding-inline: .3em;
    max-width: 100%;
    overflow-wrap: normal;
  }
  .content-showcase .pillar-lifestyle .recipes-orchid {
    left: -4%;
    width: 39%;
    top: -23%;
  }
  .content-section .content-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .content-section .content-showcase > :is(.pillar-card, .content-side-caption) {
    grid-column: 1 / -1 !important;
  }
  .content-section .content-showcase > .pillar-fashion { grid-column: 1 !important; }
  .content-section .content-showcase > .pillar-travel { grid-column: 2 !important; }
  .content-section .content-showcase :is(.pillar-fashion, .pillar-travel) .pillar-art {
    aspect-ratio: 3 / 4;
  }
  .content-section .content-showcase :is(.pillar-fashion, .pillar-travel) .pillar-photo {
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
  }
  .content-section .content-showcase :is(.pillar-fashion, .pillar-travel) h3 {
    right: .45rem;
    bottom: .45rem;
    min-width: 0;
    padding: .4rem .65rem;
  }
  .process-timeline {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    margin: 0;
    padding: .5rem 0;
    gap: 1.25rem;
    overflow: visible;
    scroll-snap-type: none;
  }
  .process-step {
    grid-template-columns: 40px minmax(0, 1fr);
    grid-template-rows: auto;
    align-items: start;
    gap: .8rem;
    min-height: 0;
  }
  .process-step .process-marker {
    width: 36px;
    height: 36px;
    margin-top: 1.2rem;
    align-self: start;
    transform: none;
  }
  .process-step:not(:last-child)::after {
    top: 3.6rem;
    left: 19px;
    width: 2px;
    height: calc(100% - 1.6rem);
    background: #f0c5d4;
  }
  .process-panel.is-process-ready .process-step { opacity: 1; }
  .process-panel.is-process-ready .process-card {
    transform: none;
    padding: 1.2rem;
    min-height: 0;
    height: auto;
  }
  .process-card h3 { font-size: clamp(1.35rem, 6vw, 2rem); overflow-wrap: anywhere; }
  .process-card > p:last-child { font-size: .95rem; line-height: 1.55; }
  .process-intro { margin-bottom: 1.5rem; }
  .campaign-flow-section .process-rail {
    display: block;
    top: var(--process-rail-top, 0px);
    right: auto;
    left: var(--process-rail-left, 20px);
    width: 2px;
    height: var(--process-rail-height, 0px);
    transform: translateX(-50%);
  }
  .campaign-flow-section .process-rail-fill {
    transform: scaleY(var(--process-progress));
    transform-origin: center top;
  }
  .campaign-flow-section .is-process-ready .process-step::after {
    display: none;
  }
}
@media (max-width: 720px) and (prefers-reduced-motion: no-preference) {
  .campaign-flow-section .is-process-ready .process-step:not(.is-active) .process-card {
    opacity: .82;
    transform: translateY(9px);
  }
}
@media (min-width: 721px) and (max-width: 1040px) {
  .process-timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
  .process-rail { display: none; }
  .process-step { grid-template-rows: 58px auto; }
  .process-panel.is-process-ready .process-step { opacity: 1; }
  .process-panel.is-process-ready .process-card { min-height: 230px; transform: none; }
}
/* Keep moving photos on three compositor layers, rather than repainting the camera. */
.camera-photo-screen { contain: paint; }
.camera-photo-screen .camera-gallery-track { will-change: auto; }
.is-camera-visible .camera-photo-screen .camera-gallery-column {
  will-change: transform;
  backface-visibility: hidden;
}
@media (max-width: 760px), (hover: none) and (pointer: coarse) {
  .camera-world-visual .camera-stage { filter: none; }
  .camera-world-visual .camera-screen::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .is-camera-visible .camera-photo-screen .camera-gallery-column { will-change: auto; }
}
.mixsoon-logo { display: contents; }
.home-contact-section #write-title { padding-inline-start: .35em; }
.brand-preview-toggle::after,
.journal-video-card .journal-video-media::after { background-color: transparent !important; }
@media (max-width: 720px), (max-height: 500px) and (pointer: coarse) {
  .page-loader {
    padding: max(.75rem, env(safe-area-inset-top)) .75rem max(.75rem, env(safe-area-inset-bottom)) !important;
  }
  /* Portrait framing on phones; keep the original video timing. */
  .loader-video-stage {
    width: min(100%, calc((100svh - 2rem) * 9 / 16)) !important;
    aspect-ratio: 9 / 16;
    height: auto !important;
    min-height: 0 !important;
    max-height: calc(100svh - 2rem);
    background: #fff0f4 url("assets/loader-poster.webp") center / cover no-repeat;
    animation: none;
    transform: none;
  }
  .page-loader .loader-video {
    object-fit: cover !important;
    transform: none !important;
    animation: none !important;
    opacity: 0 !important;
    pointer-events: none;
  }
  .page-loader.is-mobile-video-playing .loader-video { opacity: 1 !important; }
  .loader-mobile-animation {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
  }
  .loader-video-copy {
    bottom: .3rem !important;
    padding: .35rem .6rem;
    opacity: 1;
    transform: none;
    animation: none;
  }
  .loader-video-copy::before { display: none; }
  .loader-video-copy p { font-size: clamp(2rem, 12vw, 3rem) !important; }
  .loader-video-copy span { display: none; }
}
.brand-video-gallery.is-compositor-auto .brand-video-reel {
  animation: none !important;
  will-change: transform;
  backface-visibility: hidden;
}
@media (max-width: 720px) {
  .brand-video-gallery::before { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .brand-video-card { box-shadow: none; }
  .brand-video-card img, .brand-video-card video { filter: none !important; }
  .brand-video-card > span, .brand-video-link { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
}
@media (max-width: 720px) {
  .loader-video-copy { bottom: .7rem !important; }
  .loader-video-copy p { line-height: 1.15 !important; }
}
@media (max-width: 720px) {
  .contact-experience #write-title { padding-inline-start: .85em; }
  .collaborations-experience .collab-stage #page-title { padding-inline-start: .28em; }
  .collaborations-experience .collab-stage-copy.motion-reveal { filter: none; }

  .contact-experience #faq-title {
    padding-inline-start: .36em;
    font-size: clamp(3.6rem, 15.5vw, 4.2rem);
    word-spacing: .06em;
    text-wrap: balance;
    filter: none;
  }
}
