/* ==========================================================================
   MiraiWay Phase 1A — brand system and scoped component refinements
   ========================================================================== */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  color: var(--mw-ink);
  background: var(--mw-surface);
}

/* White curtain opening */
.page-loader {
  background: transparent;
  transition:
    opacity 180ms ease 820ms,
    visibility 0s linear 1000ms;
}

.loader-curtain {
  background: #fff;
  box-shadow: none !important;
  height: 51vh;
  transition: transform 700ms cubic-bezier(0.76, 0, 0.24, 1);
}

.loader-curtain.top {
  box-shadow: none !important;
}

.loader-curtain.bottom {
  box-shadow: none !important;
}

.loader-content {
  z-index: 2;
  gap: 18px;
}

.loader-logo-wrap {
  filter: drop-shadow(0 14px 24px rgba(2, 31, 84, 0.08));
  animation: mwLoaderBreathe 1.8s ease-in-out infinite alternate;
}

.loader-line-bar {
  width: 160px;
  height: 3.5px;
  background: rgba(11, 32, 57, 0.12);
  border-radius: 99px;
  overflow: hidden;
  position: relative;
}

.loader-line-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    #0b2039 0%,
    #1d4ed8 40%,
    #38bdf8 70%,
    #f59e0b 100%
  );
  border-radius: 99px;
  animation: mwLoaderProgress 1.4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  will-change: transform;
}

.page-loader.is-complete .loader-line-progress {
  animation: none !important;
  transform: translateX(0%) scaleX(1) !important;
  transition: transform 0.2s ease !important;
}

.page-loader.is-loaded .loader-content {
  opacity: 0;
  transform: translateY(-4px);
  transition-duration: 160ms;
}

.page-loader.is-closing .loader-curtain {
  transition-duration: 550ms;
}

.page-loader.is-closing .loader-content {
  transition-delay: 180ms;
}

@keyframes mwLoaderProgress {
  0% {
    transform: translateX(-100%);
  }
  60% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes mwLoaderBreathe {
  0% {
    opacity: 0.92;
    transform: translateY(1px);
  }
  100% {
    opacity: 1;
    transform: translateY(-1px);
  }
}

/* Typography globe: build from latitude bands, then settle into a quiet float. */
body.is-loading .hero-globe-wrap,
.hero-globe-wrap {
  opacity: 1;
  transform: none;
  transition: none;
}

.typography-globe {
  opacity: 0;
  filter: blur(10px);
  clip-path: circle(8% at 50% 50%);
  animation: none;
  transition:
    opacity 900ms ease,
    filter 1400ms cubic-bezier(0.16, 1, 0.3, 1),
    clip-path 1400ms cubic-bezier(0.16, 1, 0.3, 1);
}

body.intro-revealed .typography-globe.is-globe-ready {
  opacity: 1;
  filter: blur(0);
  clip-path: circle(72% at 50% 50%);
  animation: mwGlobeFloat 14s ease-in-out 1400ms infinite both;
}

@keyframes mwGlobeFloat {
  0%,
  100% {
    transform: translateY(calc(-50% + 1px));
  }
  50% {
    transform: translateY(calc(-50% - 3px));
  }
}

::selection {
  color: #fff;
  background: var(--mw-royal);
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--mw-focus);
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  z-index: 99999;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  color: var(--mw-deep-navy);
  background: #fff;
  border: 2px solid var(--mw-gold);
  transform: translateY(-160%);
  transition: transform var(--mw-transition);
}

.skip-link:focus {
  transform: translateY(0);
}

#site-header {
  border-bottom-color: rgba(2, 31, 84, 0.08);
}

#site-header.scrolled {
  border-radius: 9999px !important;
  box-shadow: 0 16px 36px rgba(16, 47, 82, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04);
}

#site-header.scrolled .header-inner {
  border-radius: inherit !important;
}

#global-nav a::after {
  background: var(--mw-royal);
}

#global-nav a.is-active {
  color: var(--mw-royal);
}

.header-actions .btn-primary {
  color: #fff;
  background: var(--mw-navy);
  border-color: var(--mw-navy);
}

.header-actions .btn-primary:hover {
  background: var(--mw-royal);
  border-color: var(--mw-royal);
}

#mobile-nav a.is-active {
  color: var(--mw-royal);
}

#site-footer {
  position: relative;
  min-height: 700px;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
  color: rgba(255, 255, 255, 0.84);
  background:
    radial-gradient(
      900px circle at var(--footer-mouse-x, 50%) var(--footer-mouse-y, 50%),
      rgba(2, 132, 199, 0.22) 0%,
      rgba(17, 85, 169, 0.12) 38%,
      rgba(2, 9, 20, 0.95) 75%
    ),
    linear-gradient(
      calc(180deg + var(--footer-scroll-angle, 0deg)),
      #020914 0%,
      #04142b 50%,
      #020914 100%
    );
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.15s ease-out;
}

.footer-aurora {
  position: absolute;
  z-index: -2;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.footer-aurora::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 9, 20, 0.34), rgba(2, 9, 20, 0.08) 54%, rgba(2, 9, 20, 0.28)),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.012) 0,
      rgba(255, 255, 255, 0.012) 1px,
      transparent 1px,
      transparent 42px
    );
}

.footer-aurora__glow {
  position: absolute;
  width: 70vw;
  height: 70vw;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.32;
  will-change: transform;
  transition: transform 0.3s cubic-bezier(0.1, 0.8, 0.2, 1);
}

.footer-aurora__glow--royal {
  right: -22vw;
  bottom: -48vw;
  background: rgba(17, 85, 169, 0.9);
  transform: translate3d(
    calc(var(--footer-glow-x, 0px) * -0.6 + var(--footer-scroll-x, 0px) * 0.4),
    calc(var(--footer-glow-y, 0px) * -0.4 + var(--footer-scroll-y, 0px) * 0.3),
    0
  );
  animation: footerAuroraRoyal 20s ease-in-out infinite alternate;
}

.footer-aurora__glow--sky {
  bottom: -55vw;
  left: 18vw;
  background: rgba(2, 132, 199, 0.7);
  transform: translate3d(
    calc(var(--footer-glow-x, 0px) * 0.8 + var(--footer-scroll-x, 0px) * -0.5),
    calc(var(--footer-glow-y, 0px) * 0.6 + var(--footer-scroll-y, 0px) * -0.4),
    0
  );
  animation: footerAuroraSky 24s ease-in-out infinite alternate;
}

.footer-aurora__glow--gold {
  bottom: -58vw;
  left: -28vw;
  background: rgba(245, 156, 26, 0.66);
  transform: translate3d(
    calc(var(--footer-glow-x, 0px) * 1.2 + var(--footer-scroll-x, 0px) * 0.6),
    calc(var(--footer-glow-y, 0px) * 0.9 + var(--footer-scroll-y, 0px) * 0.5),
    0
  );
  animation: footerAuroraGold 22s ease-in-out infinite alternate;
}

.footer-shell {
  position: relative;
  z-index: 1;
  width: min(100% - 48px, 1320px);
  min-height: 700px;
  margin: 0 auto;
  padding: 46px 0 0;
}

.footer-top {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-logo {
  display: inline-flex;
  transform: translateY(8px);
}

.footer-top-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-top-actions .btn-outline {
  min-height: 46px;
  padding: 12px 22px;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.36);
}

.footer-top-actions .btn-outline:hover {
  color: var(--mw-deep-navy) !important;
  background: var(--mw-gold);
  border-color: var(--mw-gold);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(620px, 1.5fr);
  gap: clamp(56px, 9vw, 140px);
  padding: 58px 0 44px;
}

.footer-brand {
  gap: 20px;
}

.footer-kicker {
  margin: 0;
  color: var(--mw-gold);
  font-family: var(--font-en, "Outfit", sans-serif);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.footer-slogan {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
  line-height: 2;
}

.footer-nav {
  gap: clamp(22px, 3vw, 46px);
}

.footer-col h4 {
  margin-bottom: 18px;
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.footer-col a {
  padding: 5px 0;
  color: rgba(255, 255, 255, 0.64) !important;
  font-size: 0.79rem;
}

.footer-col a:hover,
.footer-legal a:hover {
  color: var(--mw-gold) !important;
}

.footer-bottom {
  position: relative;
  z-index: 2;
  max-width: none;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-copy,
.footer-legal a {
  color: rgba(255, 255, 255, 0.56) !important;
}

.footer-social-icon {
  width: 38px;
  height: 38px;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.03);
}

.footer-social-icon:hover {
  color: var(--mw-gold);
  background: rgba(245, 156, 26, 0.1);
  border-color: var(--mw-gold);
}

.footer-wordmark {
  position: relative;
  z-index: 1;
  width: max-content;
  max-width: 100%;
  margin: -8px 0 -0.12em -0.02em;
  color: transparent;
  background: linear-gradient(
    100deg,
    rgba(245, 156, 26, 0.65) 0%,
    rgba(2, 132, 199, 0.78) 29%,
    rgba(17, 85, 169, 0.82) 58%,
    rgba(152, 188, 222, 0.68) 82%,
    rgba(245, 156, 26, 0.60) 100%
  );
  background-size: 220% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  font-family: var(--font-en, "Outfit", sans-serif);
  font-size: clamp(6.5rem, 17.2vw, 17.5rem);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.055em;
  opacity: 0;
  transform: translateY(54px) scale(0.94);
  filter: blur(14px);
  animation: footerWordmarkFlow 20s ease-in-out infinite alternate;
  user-select: none;
  transition: opacity 0.15s linear, transform 0.15s linear, filter 0.15s linear, letter-spacing 0.15s linear;
  will-change: opacity, transform, filter, letter-spacing;
}

.footer-wordmark.is-revealed {
  opacity: 0.62;
  transform: translateY(0) scale(1);
  filter: blur(0);
  letter-spacing: -0.025em;
}

.footer-wordmark.is-revealed:hover {
  opacity: 0.88;
}

@keyframes footerAuroraRoyal {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-12vw, -6vw, 0) scale(1.08); }
}

@keyframes footerAuroraSky {
  from { transform: translate3d(0, 0, 0) scale(0.94); }
  to { transform: translate3d(10vw, -8vw, 0) scale(1.08); }
}

@keyframes footerAuroraGold {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(14vw, -4vw, 0) scale(0.94); }
}

@keyframes footerWordmarkFlow {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

/* Map background typography: visible but subordinate to the route UI */
.map-kinetic-text-wrap {
  z-index: 2;
  top: 27%;
  display: flex;
  min-height: clamp(150px, 22vh, 240px);
  align-items: center;
}

.map-kinetic-text-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.12) 16%,
    rgba(255, 255, 255, 0.18) 50%,
    rgba(255, 255, 255, 0.12) 84%,
    transparent 100%
  );
  backdrop-filter: blur(1px);
}

.map-kinetic-text-track {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.16);
  -webkit-text-stroke: 1.5px rgba(2, 31, 84, 0.2);
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35),
    0 14px 42px rgba(2, 31, 84, 0.12);
  animation-duration: 68s;
}

/* Shared heading */
.section-heading {
  position: relative;
  max-width: 780px;
}

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.section-heading__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  color: var(--mw-royal);
  font-family: var(--font-en, "Outfit", sans-serif);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.section-heading--center .section-heading__meta {
  justify-content: center;
}

.section-heading__number {
  color: var(--mw-gold);
  font-size: 1rem;
}

.section-heading__rule {
  width: 44px;
  height: 1px;
  background: currentColor;
}

.section-heading__title {
  margin: 0;
  color: var(--mw-deep-navy);
  font-size: clamp(2.25rem, 5vw, 4.7rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.section-heading__title-line {
  display: block;
  white-space: nowrap;
}

.section-heading__description {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--mw-text);
  font-size: clamp(1rem, 1.45vw, 1.16rem);
  line-height: 1.9;
}

.section-heading--center .section-heading__description {
  margin-inline: auto;
}

/* Shared actions */
.action-link {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: var(--mw-radius);
  font-weight: 800;
  line-height: 1.3;
  text-decoration: none;
  transition:
    color var(--mw-transition),
    background var(--mw-transition),
    border-color var(--mw-transition),
    transform var(--mw-transition);
}

.action-link i {
  font-size: 0.85em;
  transition: transform var(--mw-transition);
}

.action-link:hover i {
  transform: translateX(5px);
}

.action-link--primary {
  color: var(--mw-deep-navy);
  background: var(--mw-gold);
  border-color: var(--mw-gold);
}

.action-link--primary:hover {
  color: var(--mw-deep-navy);
  background: #ffb23f;
  border-color: #ffb23f;
  transform: translateY(-2px);
}

.action-link--secondary {
  color: var(--mw-navy);
  background: transparent;
  border-color: var(--mw-navy);
}

.action-link--text {
  min-height: 44px;
  justify-content: flex-start;
  padding: 8px 0;
  color: var(--mw-royal);
  border-bottom-color: rgba(17, 85, 169, 0.35);
}

.action-link--text:hover {
  color: var(--mw-deep-navy);
  border-bottom-color: var(--mw-gold);
}

/* ABOUT */
#about-section {
  background: #fff;
}

.about-section-heading {
  width: var(--mw-container);
  max-width: 1040px;
  margin-top: clamp(72px, 9vw, 132px);
}

.about-section-heading .section-heading__title {
  font-size: clamp(2.2rem, 4.6vw, 4.5rem);
}

.activity-rail {
  width: var(--mw-container);
  margin: 64px auto 0;
}

.activity-rail__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.activity-rail__header > div:first-child > span {
  color: var(--mw-royal);
  font-family: var(--font-en, "Outfit", sans-serif);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.activity-rail__header p {
  margin: 6px 0 0;
  color: var(--mw-deep-navy);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 800;
}

.activity-rail__controls,
.activity-rail__navigation {
  display: flex;
  align-items: center;
  gap: 8px;
}

.activity-rail__controls button,
.activity-rail__arrow {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: #fff;
  background: var(--mw-navy);
  border: 1px solid var(--mw-navy);
  border-radius: 0;
  cursor: pointer;
  transition: background var(--mw-transition), opacity var(--mw-transition);
}

.activity-rail__controls button:hover:not(:disabled),
.activity-rail__arrow:hover {
  background: var(--mw-royal);
}

.activity-rail__controls button:disabled {
  color: var(--mw-muted);
  background: var(--mw-surface-alt);
  border-color: var(--mw-line);
  cursor: not-allowed;
}

.activity-rail__viewport {
  display: grid;
  grid-auto-columns: minmax(300px, 420px);
  grid-auto-flow: column;
  gap: 22px;
  padding: 0 0 18px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--mw-royal) var(--mw-line);
  scrollbar-width: thin;
  cursor: grab;
}

.activity-rail__viewport.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.activity-card {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  background: var(--mw-deep-navy);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0 !important;
  scroll-snap-align: start;
  box-shadow: 0 16px 40px rgba(2, 9, 20, 0.22);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}

.activity-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 32, 57, 0.05) 20%, rgba(11, 32, 57, 0.72) 65%, rgba(11, 32, 57, 0.98) 100%);
  pointer-events: none;
}

.activity-card img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  border-radius: 0 !important;
  transition: transform 800ms cubic-bezier(0.16, 1, 0.3, 1), filter 500ms ease;
}

.activity-card:hover img {
  transform: scale(1.055);
}

.activity-card .marquee-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: clamp(20px, 3.2vw, 32px);
}

.activity-card .marquee-badge {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--mw-gold);
  background: rgba(11, 32, 57, 0.75);
  border-left: 3px solid var(--mw-gold);
  border-radius: 0 !important;
  padding: 4px 10px;
  font-family: var(--font-en, "Outfit", sans-serif);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.activity-card .marquee-card-title {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.10rem, 1.9vw, 1.45rem);
  font-weight: 800;
  line-height: 1.30;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 14px rgba(2, 9, 20, 0.9);
}

.activity-rail__navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 28px;
}

.activity-rail__dots {
  display: flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 5px 14px;
  background: rgba(11, 32, 57, 0.04);
  border: 1px solid rgba(11, 32, 57, 0.12);
  border-radius: 0 !important;
  backdrop-filter: blur(8px);
}

.activity-rail__dots button {
  height: 4px;
  width: 14px;
  padding: 0;
  background: rgba(11, 32, 57, 0.20);
  border: 0;
  border-radius: 0 !important;
  cursor: pointer;
  transition:
    width 380ms cubic-bezier(0.16, 1, 0.3, 1),
    background 300ms ease,
    box-shadow 300ms ease;
}

.activity-rail__dots button:hover:not(.is-active) {
  width: 16px;
  background: rgba(2, 132, 199, 0.45);
}

.activity-rail__dots button.is-active {
  width: 38px;
  background: linear-gradient(90deg, var(--mw-royal, #0284c7), var(--mw-gold, #f59c1a));
  box-shadow: 0 0 12px rgba(2, 132, 199, 0.35);
}

.activity-rail__hint {
  display: none;
}

@media (min-width: 1024px) {
  .activity-rail.is-carousel-ready .activity-rail__viewport {
    position: relative;
    display: block;
    height: clamp(340px, 32vw, 420px);
    padding: 0;
    overflow: hidden;
    perspective: 1600px;
    scroll-snap-type: none;
    scrollbar-width: none;
  }

  .activity-rail.is-carousel-ready .activity-card {
    position: absolute;
    z-index: 0;
    top: 50%;
    left: 50%;
    width: 48%;
    height: 100%;
    min-height: 0;
    opacity: 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0 !important;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.72);
    transform-origin: center;
    transition:
      left 560ms cubic-bezier(0.16, 1, 0.3, 1),
      width 560ms cubic-bezier(0.16, 1, 0.3, 1),
      height 560ms cubic-bezier(0.16, 1, 0.3, 1),
      opacity 400ms ease,
      filter 560ms ease,
      box-shadow 560ms ease,
      transform 560ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .activity-rail.is-carousel-ready .activity-card img {
    height: 100%;
    min-height: 0;
    border-radius: 0 !important;
  }

  .activity-rail.is-carousel-ready .activity-card.is-active {
    z-index: 3;
    left: 50%;
    width: 48%;
    height: 100%;
    opacity: 1;
    pointer-events: auto;
    filter: none;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 0 !important;
    box-shadow: 0 28px 75px rgba(2, 9, 20, 0.45), 0 0 30px rgba(2, 132, 199, 0.22);
    transform: translate(-50%, -50%) scale(1);
  }

  .activity-rail.is-carousel-ready .activity-card.is-prev,
  .activity-rail.is-carousel-ready .activity-card.is-next {
    z-index: 2;
    width: 29%;
    height: 84%;
    opacity: 0.82;
    pointer-events: auto;
    border-radius: 0 !important;
    filter: saturate(0.8) brightness(0.8);
    box-shadow: 0 14px 35px rgba(2, 9, 20, 0.22);
  }

  .activity-rail.is-carousel-ready .activity-card.is-prev {
    left: 14.5%;
    transform: translate(-50%, -50%) rotateY(6deg) scale(0.96);
    transform-origin: right center;
  }

  .activity-rail.is-carousel-ready .activity-card.is-next {
    left: 85.5%;
    transform: translate(-50%, -50%) rotateY(-6deg) scale(0.96);
    transform-origin: left center;
  }

  .activity-rail.is-carousel-ready .activity-card.is-prev,
  .activity-rail.is-carousel-ready .activity-card.is-next {
    cursor: pointer;
  }

  .activity-rail.is-carousel-ready .activity-card.is-prev:hover,
  .activity-rail.is-carousel-ready .activity-card.is-next:hover {
    opacity: 0.95;
    filter: saturate(0.95) brightness(0.92);
  }

  .activity-rail.is-carousel-ready .activity-card.is-prev:hover img,
  .activity-rail.is-carousel-ready .activity-card.is-next:hover img {
    transform: none;
  }
}

.corp-infographic-wrapper {
  position: relative;
  width: 100%;
  margin: clamp(74px, 9vw, 124px) auto clamp(76px, 10vw, 136px);
  padding: 0;
  overflow: visible;
  background: #fff;
}

.corp-infographic-wrapper::before,
.corp-infographic-wrapper::after {
  content: none;
}

.corp-infographic-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 64px);
  margin: 0;
  background: transparent;
  border: 0;
}

.corp-infographic-grid::before {
  content: "";
  position: absolute;
  top: 15px;
  right: 16.666%;
  left: 16.666%;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(17, 85, 169, 0.2),
    var(--mw-sky) 50%,
    rgba(17, 85, 169, 0.2)
  );
}

.corp-step-card {
  min-height: 0;
  padding: 0 0 34px;
  background: transparent;
  border: 0;
  box-shadow: none;
  transition: none;
}

.corp-step-card:hover {
  color: inherit;
  background: transparent !important;
  border-color: transparent !important;
}

.step-card-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 18px;
  margin: 0 0 28px;
}

.step-badge,
.corp-step-card:hover .step-badge {
  min-width: 92px;
  padding: 7px 12px;
  color: #fff;
  background: var(--mw-deep-navy);
  box-shadow: 0 0 0 8px #fff;
}

.step-eyebrow,
.corp-step-card:hover .step-eyebrow {
  color: var(--mw-royal);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-align: left;
}

.step-card-title,
.corp-step-card:hover .step-card-title {
  margin-bottom: 14px;
  color: var(--mw-deep-navy);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
}

.step-card-desc,
.corp-step-card:hover .step-card-desc {
  max-width: 31em;
  color: var(--mw-text);
  font-size: 0.92rem;
  line-height: 1.9;
}

/* NEWS shared empty state */
.news-split-section {
  padding: var(--mw-section-space) 0;
  background: var(--mw-surface) !important;
  border-color: var(--mw-line);
}

.news-split-container {
  width: var(--mw-container);
  max-width: none;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(48px, 8vw, 112px);
}

.news-left-col .section-heading__title {
  font-size: clamp(2.4rem, 4vw, 4rem);
}

.news-action-wrap {
  margin-top: 28px;
}

.news-empty-state {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 30px;
  min-height: 230px;
  padding: clamp(30px, 5vw, 58px);
  background: var(--mw-surface-alt);
  border-top: 2px solid var(--mw-deep-navy);
  border-bottom: 1px solid var(--mw-line);
}

.news-empty-state__mark {
  color: rgba(17, 85, 169, 0.15);
  font-family: var(--font-en, "Outfit", sans-serif);
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  font-weight: 800;
  letter-spacing: -0.06em;
}

.news-empty-state h3 {
  margin: 0 0 10px;
  color: var(--mw-deep-navy);
  font-size: clamp(1.25rem, 2.1vw, 1.7rem);
}

.news-empty-state p {
  margin: 0;
  color: var(--mw-text);
  line-height: 1.8;
}

.news-shared-list__item {
  display: grid;
  grid-template-columns: 130px 140px 1fr;
  gap: 20px;
  padding: 28px 18px;
  color: var(--mw-ink);
  border-bottom: 1px solid var(--mw-line);
  text-decoration: none;
}

.news-shared-list__item time,
.news-shared-list__category {
  color: var(--mw-muted);
  font-size: 0.84rem;
}

.news-shared-list__category {
  color: var(--mw-royal);
  font-weight: 800;
}

.news-shared-list__item h3 {
  margin: 0;
  font-size: 1rem;
}

/* SERVICES */
#services-section {
  padding: var(--mw-section-space) 0;
  background: linear-gradient(180deg, #fff 0%, var(--mw-surface-alt) 100%);
}

#services-section .section-inner {
  width: var(--mw-container);
  max-width: none;
  padding: 0;
}

.services-section-heading {
  margin-bottom: clamp(64px, 8vw, 100px);
}

.service-showcase-list {
  gap: clamp(78px, 10vw, 132px);
  margin-top: 0;
}

.service-showcase-item.split,
.service-showcase-item.split-reverse {
  gap: clamp(44px, 7vw, 92px);
}

.service-showcase-item {
  padding-top: 34px;
  border-top: 1px solid var(--mw-line);
}

.service-index {
  display: block;
  margin-bottom: 14px;
  color: var(--mw-royal);
  font-family: var(--font-en, "Outfit", sans-serif);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.service-title {
  margin-bottom: 22px;
  color: var(--mw-deep-navy);
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.04em;
}

.service-title small {
  display: block;
  margin-top: 10px;
  color: var(--mw-sky);
  font-size: 0.38em;
  letter-spacing: 0.04em;
}

.service-desc {
  max-width: 590px;
  margin-bottom: 24px;
  color: var(--mw-text);
  font-size: 1rem;
  line-height: 1.95;
}

.glass-card-large.service-image-card {
  border: 0;
  box-shadow: var(--mw-shadow-lg);
}

/* SERVICE CREATIVE (SCROLL-DRIVEN DARK DISSOLVE OVERLAY FROM WHITE TO GRADIENT) */
#services-section,
#services,
.services-showcase {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.service-showcase-item--creative {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: 0 !important;
  overflow: visible !important;
  isolation: isolate;
  padding: clamp(60px, 8vw, 110px) max(24px, calc((100vw - 1280px) / 2)) clamp(50px, 6vw, 80px) !important;
  color: #fff;
  background: var(--mw-surface-alt, #f8fafc); /* Base White Background */
  border-top: none;
  border-bottom: none;
  border-radius: 0;
  box-shadow: none;
  transition: background 0.3s ease;
}

/* Dark Dissolve Overlay: Smoothly Fades from White to Rich Deep Navy Radial Gradient */
.creative-dissolve-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: var(--creative-dissolve-opacity, 0);
  background:
    radial-gradient(
      1100px circle at var(--creative-mouse-x, 70%) var(--creative-mouse-y, 50%),
      rgba(56, 189, 248, 0.28) 0%,
      rgba(168, 85, 247, 0.2) 36%,
      rgba(2, 9, 20, 0.99) 75%
    ),
    linear-gradient(
      calc(180deg + var(--creative-scroll-angle, 0deg)),
      #020914 0%,
      #05152e 50%,
      #020914 100%
    );
  transition: opacity 0.15s ease-out;
  will-change: opacity;
}

#process-section {
  margin-top: 0 !important;
  border-top: none !important;
  background: var(--mw-deep-navy) !important;
}

/* Creative Camera HUD Overlay */
.creative-hud {
  position: absolute;
  inset: 16px;
  z-index: 5;
  pointer-events: none;
  font-family: var(--font-en, "Outfit", sans-serif);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.45);
}

.creative-hud .hud-corner {
  position: absolute;
  user-select: none;
}

.creative-hud .top-left { top: 10px; left: 14px; font-size: 1.1rem; color: rgba(245, 156, 26, 0.75); }
.creative-hud .top-right { top: 10px; right: 14px; color: rgba(239, 68, 68, 0.9); display: flex; align-items: center; gap: 6px; }
.creative-hud .rec-dot { color: #ef4444; animation: recBlink 1.2s ease-in-out infinite; }
.creative-hud .bottom-left { bottom: 10px; left: 14px; color: rgba(56, 189, 248, 0.7); }
.creative-hud .bottom-right { bottom: 10px; right: 14px; font-size: 1.1rem; color: rgba(245, 156, 26, 0.75); }

@keyframes recBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

/* Elegant Kinetic Typography Background */
.creative-marquee-bg {
  position: absolute;
  inset: -35% -25%;
  z-index: 2;
  pointer-events: none;
  opacity: 0.22;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  transform: rotate(-2.5deg) skewX(-3.5deg) translate3d(
    calc(var(--creative-glow-x, 0px) * 0.15 + var(--creative-scroll-x, 0px) * 0.08),
    calc(var(--creative-glow-y, 0px) * 0.12 + var(--creative-scroll-y, 0px) * 0.08),
    0
  );
  will-change: transform;
}

.creative-marquee-track {
  display: flex;
  white-space: nowrap;
  font-family: "Syne", "Plus Jakarta Sans", "Outfit", sans-serif;
  font-size: clamp(2.2rem, 4.2vw, 4.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(255, 255, 255, 0.28);
  user-select: none;
  will-change: transform;
}

.creative-marquee-track.track-1 {
  animation: creativeMarqueeLeft 45s linear infinite;
}

.creative-marquee-track.track-2 {
  animation: creativeMarqueeRight 52s linear infinite;
  -webkit-text-stroke: 1.2px rgba(245, 156, 26, 0.45);
}

.creative-marquee-track.track-3 {
  animation: creativeMarqueeLeft 40s linear infinite;
  -webkit-text-stroke: 1.2px rgba(56, 189, 248, 0.45);
}

.creative-marquee-track.track-4 {
  animation: creativeMarqueeRight 48s linear infinite;
  -webkit-text-stroke: 1.2px rgba(168, 85, 247, 0.42);
}

.creative-marquee-track.track-5 {
  animation: creativeMarqueeLeft 50s linear infinite;
  -webkit-text-stroke: 1.2px rgba(245, 156, 26, 0.35);
}

@keyframes creativeMarqueeLeft {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

@keyframes creativeMarqueeRight {
  0% { transform: translate3d(-50%, 0, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

/* Creative Aurora Glows */
.creative-aurora {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.creative-aurora__glow {
  position: absolute;
  width: 55vw;
  height: 55vw;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.28;
  will-change: transform;
  transition: transform 0.3s cubic-bezier(0.1, 0.8, 0.2, 1);
}

.creative-aurora__glow--gold {
  top: -18vw;
  left: -12vw;
  background: rgba(245, 156, 26, 0.55);
  transform: translate3d(
    calc(var(--creative-glow-x, 0px) * 0.7 + var(--creative-scroll-x, 0px) * 0.4),
    calc(var(--creative-glow-y, 0px) * 0.5 + var(--creative-scroll-y, 0px) * 0.3),
    0
  );
}

.creative-aurora__glow--sky {
  bottom: -20vw;
  right: 15vw;
  background: rgba(2, 132, 199, 0.65);
  transform: translate3d(
    calc(var(--creative-glow-x, 0px) * -0.6 + var(--creative-scroll-x, 0px) * -0.5),
    calc(var(--creative-glow-y, 0px) * -0.5 + var(--creative-scroll-y, 0px) * -0.4),
    0
  );
}

.creative-aurora__glow--purple {
  top: 15vw;
  right: -15vw;
  background: rgba(168, 85, 247, 0.65);
  transform: translate3d(
    calc(var(--creative-glow-x, 0px) * 1.1 + var(--creative-scroll-x, 0px) * 0.6),
    calc(var(--creative-glow-y, 0px) * 0.8 + var(--creative-scroll-y, 0px) * 0.5),
    0
  );
}

.creative-aurora__glow--cyan {
  bottom: 10vw;
  left: 20vw;
  background: rgba(6, 182, 212, 0.55);
  transform: translate3d(
    calc(var(--creative-glow-x, 0px) * 0.4 + var(--creative-scroll-x, 0px) * 0.3),
    calc(var(--creative-glow-y, 0px) * 0.6 + var(--creative-scroll-y, 0px) * 0.4),
    0
  );
}/* INTERACTIVE TEXT INVERSION SPOTLIGHT */
.interactive-invert-box {
  position: relative;
  z-index: 4;
  isolation: isolate;
  cursor: default;
}

.interactive-invert-box .text-spotlight-lens {
  position: absolute;
  z-index: 15;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: #ffffff;
  mix-blend-mode: difference;
  pointer-events: none;
  opacity: 0;
  left: var(--text-lens-x, 50%);
  top: var(--text-lens-y, 50%);
  transform: translate(-50%, -50%) scale(0.3);
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.6);
}

.interactive-invert-box:hover .text-spotlight-lens {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.service-showcase-item--creative .service-text.lens-projected-text {
  position: relative;
  z-index: 12;
  max-width: 540px;
  transform-origin: 110% 45%; /* Pointing directly to Camera Lens center */
  transform:
    translate3d(
      calc((1 - var(--creative-text-reveal-progress, 0)) * 220px),
      calc((1 - var(--creative-text-reveal-progress, 0)) * 50px),
      0
    )
    scale(calc(0.18 + var(--creative-text-reveal-progress, 0) * 0.82))
    rotate(calc((1 - var(--creative-text-reveal-progress, 0)) * -8deg));
  opacity: calc(var(--creative-text-reveal-progress, 0) * 1.3);
  filter: blur(calc((1 - var(--creative-text-reveal-progress, 0)) * 16px));
  transition: transform 0.2s cubic-bezier(0.1, 0.8, 0.2, 1), opacity 0.2s ease, filter 0.2s ease;
  will-change: transform, opacity, filter;
}

.service-showcase-item--creative .service-index {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mw-gold);
  font-family: var(--font-en, "Outfit", sans-serif);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-shadow: 0 0 20px rgba(245, 156, 26, 0.4);
}

.service-showcase-item--creative .service-title {
  color: #fff;
  font-size: clamp(2.6rem, 4.5vw, 4rem);
  font-weight: 800;
  line-height: 1.12;
  margin-top: 10px;
  text-shadow: 0 2px 20px rgba(2, 9, 20, 0.7);
}

.service-showcase-item--creative .service-title small {
  display: block;
  font-size: clamp(1.1rem, 2vw, 1.48rem);
  font-weight: 700;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: -0.01em;
}

.service-showcase-item--creative .service-desc {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.04rem;
  line-height: 1.95;
  margin-top: 24px;
}

.service-showcase-item--creative .creative-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 32px;
  color: #fff;
  background: linear-gradient(115deg, #f59c1a 0%, #ea580c 100%);
  border-radius: 99px;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(245, 156, 26, 0.4);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.service-showcase-item--creative .creative-cta-btn i {
  transition: transform 0.3s ease;
}

.service-showcase-item--creative .creative-cta-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 36px rgba(245, 156, 26, 0.55);
}

.service-showcase-item--creative .creative-cta-btn:hover i {
  transform: translateX(4px);
}

/* ============================================================
   DOUBLE 3D DEVICES STAGE (CAMERA MOCKUP + 3D POP-OUT SMARTPHONE)
   ============================================================ */
.creative-devices-stage {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 520px;
  perspective: 1200px;
  margin-top: -120px; /* Pull 3D devices stage up so phone head pops into top white area! */
}

/* Real Photorealistic 3D Cinema Camera Device Mockup (Positioned Left of Smartphone) */
.creative-camera-real-3d {
  position: absolute;
  left: -130px;
  top: 50%;
  z-index: 9;
  width: 390px;
  height: 390px;
  transform-style: preserve-3d;
  transform:
    translateY(-50%)
    rotateY(calc(18deg - (1 - var(--creative-scroll-progress, 0)) * 25deg + var(--creative-phone-rotate-y, 0deg) * 0.7))
    rotateX(calc(-8deg + var(--creative-phone-rotate-x, 0deg) * 0.7))
    rotateZ(-4deg)
    translate3d(calc((1 - var(--creative-scroll-progress, 0)) * -60px), 0, 20px)
    scale(calc(0.88 + var(--creative-scroll-progress, 0) * 0.16));
  animation: realCameraFloat3D 6.5s ease-in-out infinite alternate;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
  pointer-events: auto;
  cursor: pointer;
}

.creative-camera-real-3d:hover {
  transform:
    translateY(-52%)
    rotateY(calc(10deg + var(--creative-phone-rotate-y, 0deg) * 0.5))
    rotateX(calc(-2deg + var(--creative-phone-rotate-x, 0deg) * 0.5))
    rotateZ(-1deg)
    scale(calc(0.96 + var(--creative-scroll-progress, 0) * 0.16));
}

.creative-camera-real-3d:hover .camera-real-img {
  filter: drop-shadow(-35px 50px 75px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 55px rgba(56, 189, 248, 0.65));
}

.creative-camera-real-3d:hover .camera-lens-flare {
  opacity: 1;
  transform: scale(1.3) rotate(90deg);
  filter: blur(6px);
}

@keyframes realCameraFloat3D {
  0% {
    transform:
      translateY(-50%)
      rotateY(calc(18deg - (1 - var(--creative-scroll-progress, 0)) * 25deg + var(--creative-phone-rotate-y, 0deg) * 0.7))
      rotateX(calc(-8deg + var(--creative-phone-rotate-x, 0deg) * 0.7))
      rotateZ(-4deg)
      translate3d(calc((1 - var(--creative-scroll-progress, 0)) * -60px), 0, 20px)
      scale(calc(0.88 + var(--creative-scroll-progress, 0) * 0.16));
  }
  100% {
    transform:
      translateY(calc(-50% - 18px))
      rotateY(calc(22deg - (1 - var(--creative-scroll-progress, 0)) * 25deg + var(--creative-phone-rotate-y, 0deg) * 0.7))
      rotateX(calc(-4deg + var(--creative-phone-rotate-x, 0deg) * 0.7))
      rotateZ(-1.5deg)
      translate3d(calc((1 - var(--creative-scroll-progress, 0)) * -60px), 0, 40px)
      scale(calc(0.93 + var(--creative-scroll-progress, 0) * 0.16));
  }
}

.creative-camera-real-3d .camera-img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Optical Camera Lens Flare & Projection Beam */
.creative-camera-real-3d .camera-lens-flare {
  position: absolute;
  top: 36%;
  left: 20%;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.9) 0%, rgba(245, 156, 26, 0.5) 45%, transparent 70%);
  filter: blur(12px);
  pointer-events: none;
  z-index: 10;
  opacity: calc(0.4 + var(--creative-text-reveal-progress, 0) * 0.6);
  transform: scale(calc(0.8 + var(--creative-text-reveal-progress, 0) * 0.4));
  animation: lensFlarePulse 3.2s ease-in-out infinite alternate;
  transition: transform 0.4s ease, opacity 0.4s ease, filter 0.4s ease;
}

.creative-camera-real-3d .camera-lens-beam {
  position: absolute;
  top: 18%;
  left: -320px;
  width: 380px;
  height: 240px;
  background: linear-gradient(
    105deg,
    rgba(56, 189, 248, 0.65) 0%,
    rgba(245, 156, 26, 0.4) 40%,
    transparent 95%
  );
  clip-path: polygon(100% 40%, 100% 60%, 0% 100%, 0% 0%);
  filter: blur(14px);
  pointer-events: none;
  z-index: 8;
  opacity: calc(var(--creative-text-reveal-progress, 0) * (1 - var(--creative-text-reveal-progress, 0) * 0.65) * 1.1);
  transform: scale(calc(0.7 + var(--creative-text-reveal-progress, 0) * 0.5));
  transition: opacity 0.3s ease, transform 0.3s ease;
}

@keyframes lensFlarePulse {
  0% { transform: scale(0.88) rotate(0deg); opacity: 0.5; }
  50% { transform: scale(1.2) rotate(180deg); opacity: 0.95; filter: blur(7px); }
  100% { transform: scale(0.95) rotate(360deg); opacity: 0.65; }
}

.creative-camera-real-3d .camera-real-img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(-25px 35px 55px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 35px rgba(56, 189, 248, 0.3));
  transition: filter 0.4s ease;
}

/* ============================================================
   3D POP-OUT SMARTPHONE WITH REAL VIDEO
   ============================================================ */
.creative-phone-popout-wrap {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
  perspective: 1200px;
}

.creative-phone-3d {
  position: relative;
  width: 280px;
  height: 550px;
  margin: -110px 0 -40px auto;
  transform-style: preserve-3d;
  transform:
    translate3d(
      calc((1 - var(--creative-phone-flip-progress, 0)) * 45px),
      calc((1 - var(--creative-phone-flip-progress, 0)) * 55px),
      0
    )
    rotateX(calc((1 - var(--creative-phone-flip-progress, 0)) * -65deg + 12deg + var(--creative-phone-rotate-x, 0deg)))
    rotateY(calc(-20deg + var(--creative-phone-rotate-y, 0deg)))
    rotateZ(calc((1 - var(--creative-phone-flip-progress, 0)) * 10deg + 2deg))
    scale(calc(0.86 + var(--creative-phone-flip-progress, 0) * 0.2));
  animation: phoneFloat3D 5.8s ease-in-out infinite alternate;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  cursor: pointer;
}

.creative-phone-3d:hover {
  transform:
    translate3d(
      calc((1 - var(--creative-phone-flip-progress, 0)) * 45px),
      calc((1 - var(--creative-phone-flip-progress, 0)) * 55px - 10px),
      35px
    )
    rotateX(calc(4deg + var(--creative-phone-rotate-x, 0deg) * 0.6))
    rotateY(calc(-8deg + var(--creative-phone-rotate-y, 0deg) * 0.6))
    rotateZ(0deg)
    scale(calc(0.94 + var(--creative-phone-flip-progress, 0) * 0.2));
}

.creative-phone-3d:hover .phone-body {
  box-shadow:
    -35px 55px 110px rgba(0, 0, 0, 0.8),
    0 0 85px rgba(56, 189, 248, 0.6),
    0 0 35px rgba(245, 156, 26, 0.45),
    inset 0 0 0 2px rgba(255, 255, 255, 0.3);
}

@keyframes phoneFloat3D {
  0% {
    transform:
      translate3d(
        calc((1 - var(--creative-phone-flip-progress, 0)) * 45px),
        calc((1 - var(--creative-phone-flip-progress, 0)) * 55px),
        0
      )
      rotateX(calc((1 - var(--creative-phone-flip-progress, 0)) * -65deg + 12deg + var(--creative-phone-rotate-x, 0deg)))
      rotateY(calc(-20deg + var(--creative-phone-rotate-y, 0deg)))
      rotateZ(calc((1 - var(--creative-phone-flip-progress, 0)) * 10deg + 2deg))
      scale(calc(0.86 + var(--creative-phone-flip-progress, 0) * 0.2));
  }
  100% {
    transform:
      translate3d(
        calc((1 - var(--creative-phone-flip-progress, 0)) * 45px),
        calc((1 - var(--creative-phone-flip-progress, 0)) * 55px - 18px),
        25px
      )
      rotateX(calc((1 - var(--creative-phone-flip-progress, 0)) * -65deg + 16deg + var(--creative-phone-rotate-x, 0deg)))
      rotateY(calc(-14deg + var(--creative-phone-rotate-y, 0deg)))
      rotateZ(calc((1 - var(--creative-phone-flip-progress, 0)) * 10deg + 4deg))
      scale(calc(0.89 + var(--creative-phone-flip-progress, 0) * 0.2));
  }
}

/* Phone Body Chassis */
.creative-phone-3d .phone-body {
  position: relative;
  width: 100%;
  height: 100%;
  background: #090e17;
  border-radius: 46px;
  padding: 11px;
  border: 4px solid #1e293b;
  box-shadow:
    -30px 45px 90px rgba(0, 0, 0, 0.75),
    0 0 60px rgba(56, 189, 248, 0.35),
    inset 0 0 0 2px rgba(255, 255, 255, 0.18);
  transform-style: preserve-3d;
  transition: box-shadow 0.4s ease;
}

/* Side Buttons */
.creative-phone-3d .phone-button {
  position: absolute;
  background: #334155;
  border-radius: 3px;
}

.creative-phone-3d .phone-button.power { right: -7px; top: 120px; width: 4px; height: 50px; }
.creative-phone-3d .phone-button.vol-up { left: -7px; top: 100px; width: 4px; height: 40px; }
.creative-phone-3d .phone-button.vol-down { left: -7px; top: 155px; width: 4px; height: 40px; }

/* Phone Screen & Video Container */
.creative-phone-3d .phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
}

.creative-phone-3d .phone-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.03) 40%,
    transparent 60%
  );
  pointer-events: none;
  z-index: 5;
}

/* Dynamic Notch Island */
.creative-phone-3d .phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 86px;
  height: 22px;
  background: #000;
  border-radius: 20px;
  z-index: 10;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 12px;
}

.creative-phone-3d .phone-notch::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
  animation: notchDotBlink 2s ease-in-out infinite;
}

@keyframes notchDotBlink {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* Real Video inside Phone Screen */
.creative-phone-3d .phone-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Overlay HUD inside Phone Screen */
.creative-phone-3d .screen-overlay-hud {
  position: absolute;
  top: 50px;
  left: 16px;
  right: 16px;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  font-family: var(--font-en, "Outfit", sans-serif);
  font-size: 0.68rem;
  font-weight: 800;
  color: #fff;
}

.creative-phone-3d .live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  background: rgba(239, 68, 68, 0.85);
  border-radius: 99px;
  letter-spacing: 0.1em;
  box-shadow: 0 2px 10px rgba(239, 68, 68, 0.4);
}

.creative-phone-3d .pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: recBlink 1s ease-in-out infinite;
}

.creative-phone-3d .hud-time {
  padding: 3px 10px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  border-radius: 99px;
  letter-spacing: 0.08em;
}

/* Floating 3D Badges around Phone */
.creative-phone-3d .phone-float-badge {
  position: absolute;
  z-index: 12;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  color: #fff;
  font-family: var(--font-en, "Outfit", sans-serif);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  border-radius: 99px;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  transform: translateZ(60px);
  white-space: nowrap;
}

.creative-phone-3d .phone-float-badge.badge-1 {
  top: 14%;
  left: -40px;
  background: rgba(2, 132, 199, 0.8);
  border-color: rgba(56, 189, 248, 0.5);
  animation: badgeFloat1 4s ease-in-out infinite alternate;
}

.creative-phone-3d .phone-float-badge.badge-2 {
  bottom: 18%;
  right: -35px;
  background: rgba(245, 156, 26, 0.85);
  color: #020914;
  border-color: rgba(245, 156, 26, 0.6);
  animation: badgeFloat2 4.5s ease-in-out infinite alternate;
}

@keyframes badgeFloat1 {
  0% { transform: translateZ(60px) translateY(0); }
  100% { transform: translateZ(60px) translateY(-10px); }
}

@keyframes badgeFloat2 {
  0% { transform: translateZ(60px) translateY(0); }
  100% { transform: translateZ(60px) translateY(12px); }
}

/* Responsive adjustments for 3D Pop-out Phone */
@media (max-width: 992px) {
  .service-showcase-item--creative {
    flex-direction: column;
    overflow: hidden !important;
    padding: 36px 24px !important;
  }

  .creative-phone-popout-wrap {
    min-height: 380px;
    margin-top: 20px;
  }

  .creative-phone-3d {
    width: 220px;
    height: 440px;
    margin: 0 auto;
    transform: rotateY(0deg) rotateX(0deg) scale(1);
    animation: none;
  }

  .creative-phone-3d .phone-float-badge.badge-1 { left: -10px; }
  .creative-phone-3d .phone-float-badge.badge-2 { right: -10px; }
}

/* PROCESS */
#process-section {
  --process-card-height: 560px;
  --process-media-height: 240px;
  --process-line-offset: -40px;
  background: var(--mw-deep-navy);
}

#process-section .section-heading__meta {
  color: var(--mw-gold);
}

#process-section .section-heading__title {
  color: #fff;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
}

#process-section .section-heading__description {
  color: rgba(255, 255, 255, 0.76);
}

.horizontal-scroll-track {
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.journey-line-fill {
  background: linear-gradient(90deg, var(--mw-sky), var(--mw-gold));
}

#process-section .journey-progress-container {
  top: calc(50% + var(--process-line-offset));
}

#process-section .step-panel .glass-card {
  display: flex;
  height: var(--process-card-height);
  flex-direction: column;
}

#process-section .card-image-placeholder,
#process-section .card-image-wrap {
  height: var(--process-media-height);
  min-height: var(--process-media-height);
  flex: 0 0 var(--process-media-height);
}

#process-section .card-content {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
}

.step-panel .glass-card {
  opacity: 0.72;
  transform: scale(0.96);
  transition:
    opacity 320ms ease,
    transform 320ms ease,
    border-color 320ms ease,
    box-shadow 320ms ease;
}

.step-panel.is-active .glass-card {
  opacity: 1;
  transform: scale(1);
  border-color: rgba(2, 132, 199, 0.85);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32), 0 0 25px rgba(2, 132, 199, 0.22), 0 0 0 1px rgba(56, 189, 248, 0.3);
}

.step-panel.is-active .step-icon-hz {
  color: #fff;
  background: linear-gradient(135deg, var(--mw-sky, #0284c7), var(--mw-royal, #1155a9));
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 0 16px rgba(2, 132, 199, 0.4);
}

/* CONTACT CTA */
.home-contact-wrap {
  position: relative;
  z-index: 5;
  padding: clamp(56px, 8vw, 112px) max(24px, calc((100vw - 1320px) / 2));
  background: var(--mw-surface-alt);
}

.contact-cta {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background:
    radial-gradient(
      800px circle at var(--cta-mouse-x, 30%) var(--cta-mouse-y, 50%),
      rgba(2, 132, 199, 0.25) 0%,
      rgba(17, 85, 169, 0.15) 40%,
      rgba(2, 31, 84, 0.98) 80%
    ),
    linear-gradient(
      calc(180deg + var(--cta-scroll-angle, 0deg)),
      #021f54 0%,
      #04142b 50%,
      #021f54 100%
    );
  border-top: 4px solid var(--mw-gold);
  box-shadow: 0 40px 100px rgba(2, 31, 84, 0.28);
  transition: background 0.15s ease-out;
}

/* CTA Aurora background glows */
.cta-aurora {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.cta-aurora__glow {
  position: absolute;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  filter: blur(95px);
  opacity: 0.26;
  will-change: transform;
  transition: transform 0.3s cubic-bezier(0.1, 0.8, 0.2, 1);
}

.cta-aurora__glow--gold {
  top: -20vw;
  left: -15vw;
  background: rgba(245, 156, 26, 0.65);
  transform: translate3d(
    calc(var(--cta-glow-x, 0px) * 0.8 + var(--cta-scroll-x, 0px) * 0.4),
    calc(var(--cta-glow-y, 0px) * 0.6 + var(--cta-scroll-y, 0px) * 0.3),
    0
  );
}

.cta-aurora__glow--sky {
  bottom: -25vw;
  left: 20vw;
  background: rgba(2, 132, 199, 0.7);
  transform: translate3d(
    calc(var(--cta-glow-x, 0px) * -0.6 + var(--cta-scroll-x, 0px) * -0.5),
    calc(var(--cta-glow-y, 0px) * -0.5 + var(--cta-scroll-y, 0px) * -0.4),
    0
  );
}

.cta-aurora__glow--royal {
  top: 10vw;
  right: -20vw;
  background: rgba(17, 85, 169, 0.85);
  transform: translate3d(
    calc(var(--cta-glow-x, 0px) * 1.1 + var(--cta-scroll-x, 0px) * 0.6),
    calc(var(--cta-glow-y, 0px) * 0.8 + var(--cta-scroll-y, 0px) * 0.5),
    0
  );
}

/* Background watermarked typography */
.contact-cta__wordmark {
  position: absolute;
  z-index: 2;
  left: 3%;
  bottom: -4%;
  font-family: var(--font-en, "Outfit", sans-serif);
  font-size: clamp(6rem, 16vw, 15rem);
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.03em;
  color: transparent;
  background: linear-gradient(
    100deg,
    rgba(245, 156, 26, 0.16) 0%,
    rgba(2, 132, 199, 0.18) 40%,
    rgba(255, 255, 255, 0.05) 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  pointer-events: none;
  user-select: none;
  opacity: 0.75;
  transform: translate3d(
    calc(var(--cta-glow-x, 0px) * 0.2 + var(--cta-scroll-x, 0px) * 0.1),
    calc(var(--cta-glow-y, 0px) * 0.15 + var(--cta-scroll-y, 0px) * 0.15),
    0
  );
  transition: transform 0.2s linear;
}

.contact-cta__content {
  position: relative;
  z-index: 5;
  display: flex;
  width: min(61%, 780px);
  min-height: 676px;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 5vw, 76px);
}

.contact-cta__eyebrow {
  margin: 0 0 22px;
  color: var(--mw-gold);
  font-family: var(--font-en, "Outfit", sans-serif);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-shadow: 0 0 20px rgba(245, 156, 26, 0.35);
}

.contact-cta h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.4rem, 4vw, 3.65rem);
  line-height: 1.18;
  letter-spacing: -0.04em;
  text-shadow: 0 2px 20px rgba(2, 9, 20, 0.5);
}

.contact-cta h2 span {
  display: block;
  white-space: nowrap;
}

.contact-cta__lead {
  max-width: 600px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.9;
  font-size: 1.02rem;
}

.contact-cta__trust {
  display: grid;
  gap: 6px;
  margin: 32px 0 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 10px;
  list-style: none;
}

.contact-cta__trust li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  font-size: 0.94rem;
  font-weight: 500;
  backdrop-filter: blur(6px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-cta__trust li:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(245, 156, 26, 0.4);
  transform: translateX(6px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.contact-cta__trust i {
  color: var(--mw-gold);
  font-size: 0.95rem;
  filter: drop-shadow(0 0 8px rgba(245, 156, 26, 0.6));
}

.contact-cta__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 28px;
  margin-top: 38px;
}

.contact-cta .action-link--text {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.35);
}

.contact-cta__visual {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
}

.contact-cta__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 69% center;
}

.contact-cta__texture {
  position: absolute;
  z-index: 3;
  inset: 0;
  background:
    repeating-linear-gradient(
      118deg,
      rgba(2, 132, 199, 0.06) 0,
      rgba(2, 132, 199, 0.06) 1px,
      transparent 1px,
      transparent 18px
    ),
    repeating-linear-gradient(
      28deg,
      rgba(255, 255, 255, 0.035) 0,
      rgba(255, 255, 255, 0.035) 1px,
      transparent 1px,
      transparent 26px
    ),
    radial-gradient(circle at 72% 28%, rgba(2, 132, 199, 0.18), transparent 42%);
  pointer-events: none;
}

.contact-cta__shade {
  position: absolute;
  z-index: 4;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(2, 31, 84, 0.98) 0%,
      rgba(2, 31, 84, 0.94) 34%,
      rgba(2, 31, 84, 0.82) 53%,
      rgba(2, 31, 84, 0.32) 73%,
      rgba(2, 31, 84, 0.10) 100%
    ),
    linear-gradient(180deg, rgba(2, 31, 84, 0.08), rgba(2, 31, 84, 0.28));
  pointer-events: none;
}

.contact-cta--compact {
  display: block;
  min-height: 0;
  margin-top: 88px;
}

.contact-cta--compact .contact-cta__content {
  width: 100%;
  min-height: 0;
  padding: clamp(38px, 6vw, 70px);
}

.contact-cta--compact h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

/* FAQ */
.faq-page-main {
  padding-top: 96px;
  background: var(--mw-surface);
}

.faq-hero-section {
  padding: var(--mw-section-space) 0;
  background:
    linear-gradient(180deg, var(--mw-surface-alt) 0, #fff 420px);
}

.faq-container {
  width: var(--mw-container);
  max-width: none;
}

.faq-category-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 54px 0 58px;
}

.faq-category-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  color: var(--mw-text);
  background: #fff;
  border: 1px solid var(--mw-line);
  border-radius: 0;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: color var(--mw-transition), background var(--mw-transition), border-color var(--mw-transition);
}

.faq-category-button span {
  color: var(--mw-muted);
  font-family: var(--font-en, "Outfit", sans-serif);
  font-size: 0.72rem;
}

.faq-category-button:hover,
.faq-category-button.is-active {
  color: #fff;
  background: var(--mw-navy);
  border-color: var(--mw-navy);
}

.faq-category-button.is-active span {
  color: var(--mw-gold);
}

.faq-accordion {
  max-width: 980px;
  margin-inline: auto;
  border-top: 2px solid var(--mw-deep-navy);
}

.faq-accordion__item {
  scroll-margin-top: 130px;
  border-bottom: 1px solid var(--mw-line);
  background: #fff;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.faq-accordion__item[hidden] {
  display: none;
}

.faq-accordion__item summary {
  display: grid;
  grid-template-columns: 68px 1fr 40px;
  align-items: center;
  gap: 16px;
  min-height: 96px;
  padding: 24px 20px;
  color: var(--mw-deep-navy);
  list-style: none;
  cursor: pointer;
  user-select: none;
  transition: background 0.25s ease;
}

.faq-accordion__item summary::-webkit-details-marker {
  display: none;
}

.faq-accordion__item summary:hover {
  background: rgba(2, 132, 199, 0.035);
}

.faq-accordion__index {
  color: var(--mw-royal);
  font-family: var(--font-en, "Outfit", sans-serif);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  transition: color 0.3s ease;
}

.faq-accordion__question {
  font-size: clamp(1.02rem, 1.8vw, 1.2rem);
  font-weight: 800;
  line-height: 1.6;
  transition: color 0.3s ease;
}

/* Rounded, morphing toggle button */
.faq-accordion__toggle {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(2, 132, 199, 0.07);
  display: grid;
  place-items: center;
  margin-left: auto;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.35s ease, box-shadow 0.35s ease;
}

.faq-accordion__toggle::before,
.faq-accordion__toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--mw-royal);
  transform: translate(-50%, -50%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.35s ease;
}

.faq-accordion__toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-accordion__item summary:hover .faq-accordion__toggle {
  background: rgba(2, 132, 199, 0.15);
  transform: scale(1.08);
}

/* OPEN State: smooth icon rotation, border accent and highlight */
.faq-accordion__item[open] {
  background: #fff;
  box-shadow: inset 4px 0 0 var(--mw-gold), 0 10px 28px rgba(2, 31, 84, 0.05);
}

.faq-accordion__item[open] .faq-accordion__toggle {
  background: var(--mw-royal);
  transform: rotate(180deg);
  box-shadow: 0 0 14px rgba(2, 132, 199, 0.32);
}

.faq-accordion__item[open] .faq-accordion__toggle::before,
.faq-accordion__item[open] .faq-accordion__toggle::after {
  background: #fff;
}

.faq-accordion__item[open] .faq-accordion__toggle::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

/* Smooth Accordion Height Animation via Grid Template Rows */
.faq-accordion__answer-outer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.42s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-accordion__item[open] .faq-accordion__answer-outer {
  grid-template-rows: 1fr;
}

.faq-accordion__answer {
  overflow: hidden;
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 16px;
  padding: 0 68px 0 20px;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.32s ease, transform 0.42s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s ease;
}

.faq-accordion__item[open] .faq-accordion__answer {
  padding-bottom: 34px;
  opacity: 1;
  transform: translateY(0);
}

.faq-accordion__ans-label {
  color: var(--mw-gold);
  font-family: var(--font-en, "Outfit", sans-serif);
  font-size: 1.35rem;
  font-weight: 800;
  text-shadow: 0 0 12px rgba(245, 156, 26, 0.3);
}

.faq-accordion__answer p {
  margin: 0;
  color: var(--mw-text);
  line-height: 1.95;
  font-size: 0.98rem;
}

/* NEWS page */
.news-page-main {
  padding-top: 96px;
  background: #fff;
}

.news-page-hero {
  padding: clamp(80px, 10vw, 140px) 0 64px;
  color: var(--mw-ink);
  background:
    radial-gradient(circle at 90% 20%, rgba(2, 132, 199, 0.12), transparent 34%),
    var(--mw-surface-alt);
}

.news-hero-container,
.news-page-container {
  width: var(--mw-container);
  max-width: none;
}

.news-hero-container {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.news-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--mw-muted);
  font-size: 0.8rem;
}

.news-hero-breadcrumb a {
  color: var(--mw-royal);
}

.news-page-list-section {
  padding: clamp(64px, 8vw, 112px) 0 var(--mw-section-space);
}

.news-page-list-section .news-empty-state {
  min-height: 320px;
}

/* CONTACT page */
.contact-page-main {
  padding-top: 96px;
  background: var(--mw-surface-alt);
}

.contact-hero-section {
  padding: clamp(72px, 9vw, 120px) 24px;
}

.contact-hero-inner {
  max-width: 980px;
}

.contact-header-content {
  margin-bottom: 54px;
}

.contact-form-card {
  padding: clamp(28px, 5vw, 56px);
  background: #fff;
  border-top: 4px solid var(--mw-royal);
  border-right-color: var(--mw-line);
  border-bottom-color: var(--mw-line);
  border-left-color: var(--mw-line);
  box-shadow: var(--mw-shadow-sm);
}

.form-control {
  border-color: var(--mw-line);
  background: #fff;
}

.form-control:focus {
  border-color: var(--mw-royal);
  box-shadow: 0 0 0 3px rgba(17, 85, 169, 0.14);
}

.btn-submit {
  min-width: 220px;
  color: #fff;
  background: var(--mw-navy);
  border-color: var(--mw-navy);
}

@media (max-width: 1023px) {
  .corp-infographic-wrapper {
    margin-block: 76px 92px;
  }

  .corp-infographic-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .corp-infographic-grid::before {
    top: 15px;
    right: auto;
    bottom: 44px;
    left: 15px;
    width: 1px;
    height: auto;
    background: linear-gradient(
      180deg,
      rgba(17, 85, 169, 0.2),
      var(--mw-sky) 50%,
      rgba(17, 85, 169, 0.2)
    );
  }

  .corp-step-card {
    padding: 0 0 54px 52px;
  }

  .corp-step-card:last-child {
    padding-bottom: 0;
  }

  .step-card-header {
    align-items: center;
    flex-direction: row;
    justify-content: flex-start;
    margin-bottom: 22px;
  }

  .step-badge,
  .corp-step-card:hover .step-badge {
    margin-left: -52px;
  }

  .footer-shell {
    min-height: 0;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-block: 46px 38px;
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 36px;
  }

  .service-showcase-item.split,
  .service-showcase-item.split-reverse {
    grid-template-columns: 1fr;
  }

  .service-showcase-item.split-reverse .service-visual {
    order: 2;
  }

  .service-showcase-item--creative {
    grid-template-columns: 1fr !important;
  }

  #process-section.sticky-scroll-section {
    height: auto !important;
    padding: 92px 0;
    background: var(--mw-deep-navy);
  }

  #process-section .dark-dissolve-overlay {
    position: absolute;
    opacity: 1 !important;
  }

  #process-section .sticky-container {
    position: relative;
    top: auto;
    display: block;
    width: var(--mw-container);
    height: auto;
    margin: 0 auto;
    overflow: visible;
  }

  #process-section .process-bg-image {
    position: absolute;
    height: 100%;
    opacity: 0.12;
  }

  #process-section .horizontal-scroll-track {
    display: flex;
    width: 100%;
    height: auto;
    flex-direction: column;
    gap: 34px;
    padding: 0;
    transform: none !important;
    will-change: auto;
  }

  #process-section .journey-panel,
  #process-section .journey-panel.intro-panel {
    width: 100%;
    max-width: none;
    min-width: 0;
    height: auto;
    min-height: 0;
    justify-content: flex-start;
    padding: 0 0 0 58px;
  }

  #process-section .journey-panel.intro-panel {
    margin-bottom: 22px;
    padding-left: 0;
  }

  #process-section .journey-panel.end-panel {
    margin-right: 0;
  }

  #process-section .journey-progress-container {
    display: none;
  }

  #process-section .step-panel::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: -34px;
    left: 17px;
    width: 1px;
    background: linear-gradient(var(--mw-sky), var(--mw-gold));
  }

  #process-section .step-panel::after {
    content: "";
    position: absolute;
    top: 34px;
    left: 11px;
    width: 13px;
    height: 13px;
    background: var(--mw-gold);
    border: 3px solid var(--mw-deep-navy);
    border-radius: 50%;
    box-shadow: 0 0 0 1px var(--mw-gold);
  }

  #process-section .step-panel:last-child::before {
    bottom: 50%;
  }

  #process-section .watermark-num {
    top: 18px;
    right: 0;
    left: auto;
    font-size: clamp(7rem, 22vw, 12rem);
    transform: none !important;
  }

  #process-section .glass-card,
  #process-section .step-panel .glass-card {
    height: auto;
    width: 100%;
    max-width: 720px;
    padding: 0;
    opacity: 1;
    transform: none;
  }

  #process-section .card-image-placeholder,
  #process-section .card-image-wrap {
    height: 210px;
    min-height: 210px;
    flex-basis: 210px;
  }

  .contact-cta__content {
    width: min(68%, 680px);
  }
}

@media (max-width: 768px) {
  #site-footer {
    min-height: 0;
  }

  .footer-shell {
    width: min(100% - 32px, 1320px);
    padding-top: 30px;
  }

  .footer-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .footer-logo {
    transform: none;
  }

  .footer-top-actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .footer-top-actions .btn-outline {
    width: 100%;
  }

  .footer-main {
    padding-top: 38px;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: left;
  }

  .footer-social-list {
    justify-content: flex-start;
  }

  .footer-legal {
    justify-content: flex-start;
  }

  .footer-wordmark {
    margin-top: 20px;
    font-size: clamp(5rem, 25vw, 9.5rem);
    line-height: 0.88;
    letter-spacing: -0.025em;
  }

  .section-heading__meta {
    margin-bottom: 17px;
  }

  .section-heading__rule {
    width: 28px;
  }

  .activity-rail__viewport {
    grid-auto-columns: minmax(280px, 82vw);
    gap: 14px;
  }

  .activity-card,
  .activity-card img {
    min-height: 400px;
  }

  .activity-rail__controls {
    display: none;
  }

  .activity-rail__hint {
    text-align: center;
  }

  .activity-rail__header p span {
    display: block;
  }

  .news-split-container {
    grid-template-columns: 1fr;
  }

  .news-empty-state {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .service-showcase-list {
    gap: 74px;
  }

  .contact-cta {
    display: flex;
    min-height: 0;
    flex-direction: column;
  }

  .contact-cta__content {
    order: 1;
    width: 100%;
    min-height: 0;
    padding: 44px 24px;
  }

  .contact-cta h2 {
    font-size: clamp(1.72rem, 7.6vw, 3rem);
  }

  .contact-cta__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-cta__primary {
    width: 100%;
  }

  .contact-cta__visual {
    position: relative;
    order: 2;
    inset: auto;
    width: 100%;
    height: 330px;
    min-height: 330px;
  }

  .contact-cta__visual img {
    object-position: 68% center;
  }

  .contact-cta__shade {
    background:
      linear-gradient(
        180deg,
        rgba(2, 31, 84, 0.99) 0%,
        rgba(2, 31, 84, 0.97) 55%,
        rgba(2, 31, 84, 0.7) 69%,
        rgba(2, 31, 84, 0.12) 100%
      );
  }

  .about-section-heading .section-heading__title {
    font-size: clamp(1.5rem, 6.8vw, 2.6rem);
  }

  .faq-category-filter {
    justify-content: flex-start;
    margin: 42px 0;
  }

  .faq-category-button {
    flex: 1 1 calc(50% - 4px);
    justify-content: space-between;
  }

  .faq-accordion__item summary {
    grid-template-columns: 48px 1fr 38px;
    gap: 10px;
    min-height: 84px;
    padding: 20px 12px;
  }

  .faq-accordion__answer {
    grid-template-columns: 48px 1fr;
    gap: 10px;
    padding: 0 16px 0 12px;
  }

  .news-hero-container {
    align-items: flex-start;
    flex-direction: column;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-group.full-width {
    grid-column: auto;
  }
}

@media (max-width: 480px) {
  .footer-nav {
    column-gap: 22px;
  }

  .footer-col a {
    font-size: 0.75rem;
  }

  .home-contact-wrap {
    padding-right: 0;
    padding-left: 0;
  }

  .service-showcase-item--creative {
    padding: 32px 20px !important;
  }

  .faq-category-button {
    flex-basis: 100%;
  }

  .news-empty-state__mark {
    font-size: 2.7rem;
  }

  #process-section .journey-panel {
    padding-left: 42px;
  }

  #process-section .step-panel::before {
    left: 10px;
  }

  #process-section .step-panel::after {
    left: 4px;
  }

  #process-section .card-content {
    padding: 28px 22px;
  }
}

/* Regression guard for the existing Message page at narrow widths. */
@media (max-width: 640px) {
  .message-page-main,
  .message-hero-section,
  .vision-cards-section {
    max-width: 100%;
    overflow-x: clip;
  }

  .message-container {
    width: 100%;
    max-width: 100%;
    padding-right: 16px;
    padding-left: 16px;
  }

  .hero-split-layout,
  .hero-text-col,
  .hero-graphic-col,
  .vision-card-row,
  .vision-card-left,
  .vision-card-right,
  .card-text-body {
    width: 100%;
    min-width: 0;
  }

  .hero-text-col {
    padding-right: 0;
  }

  .hero-main-heading {
    font-size: clamp(2.1rem, 11vw, 2.7rem);
    white-space: normal;
  }

  .hero-desc-lead br {
    display: none;
  }

  .hero-graphic-col {
    min-height: 330px;
    overflow: hidden;
  }

  .isometric-seamless-wrapper {
    top: 0;
    left: 50%;
    width: 760px;
    transform: translateX(-50%);
  }

  .vision-card-row {
    padding: 30px 18px;
  }

  .interactive-globe-container {
    width: 100%;
    max-width: 320px;
    height: auto;
    aspect-ratio: 1;
    border-radius: 0;
  }

  #vision-globe-canvas,
  .globe-overlay-rings {
    width: min(100%, 320px);
    height: auto;
    aspect-ratio: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .reveal.visible {
    opacity: 1 !important;
    transform: none !important;
  }

  .map-kinetic-text-track {
    animation: none !important;
    transform: translateX(-8%) !important;
  }

  .page-loader.is-loaded .loader-curtain {
    opacity: 0;
    transform: none !important;
  }

  .typography-globe,
  body.intro-revealed .typography-globe.is-globe-ready {
    opacity: 1;
    filter: none;
    clip-path: circle(72% at 50% 50%);
    animation: none !important;
  }

  .footer-aurora__glow,
  .footer-wordmark {
    animation: none !important;
  }

  .activity-rail.is-carousel-ready .activity-card {
    transition: none !important;
  }

  #process-section.sticky-scroll-section {
    height: auto !important;
    padding: 92px 0;
  }

  #process-section .sticky-container {
    position: relative;
    display: block;
    width: var(--mw-container);
    height: auto;
    margin: 0 auto;
    overflow: visible;
  }

  #process-section .horizontal-scroll-track {
    display: flex;
    width: 100%;
    height: auto;
    flex-direction: column;
    gap: 34px;
    padding: 0;
    transform: none !important;
    will-change: auto;
  }

  #process-section .journey-panel,
  #process-section .journey-panel.intro-panel {
    width: 100%;
    max-width: none;
    min-width: 0;
    height: auto;
    padding: 0;
  }

  #process-section .journey-progress-container {
    display: none;
  }

  #process-section .watermark-num {
    transform: none !important;
  }

  #process-section .step-panel .glass-card {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   Animated Square Marker Draw Line for Hero Title
   ============================================================ */
.animated-marker-wrap {
  position: relative;
  display: inline-block;
  padding: 0.02em 0.12em 0.05em 0.12em;
  margin-left: 0;
  margin-right: 0.08em;
  border-radius: 0;
  vertical-align: baseline;
  isolation: isolate;
}

.animated-marker-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #1e40af 100%);
  border-radius: 0;
  z-index: 1;
  transform-origin: left center;
  transform: scaleX(0);
  box-shadow: 0 4px 18px rgba(29, 78, 216, 0.35);
  will-change: transform;
}

.animated-marker-text {
  position: relative;
  z-index: 2;
  color: var(--mw-ink, #0b2039);
  transition: color 0.3s ease;
}

/* Trigger draw animation when JS adds .is-drawing or body becomes .intro-revealed */
.animated-marker-wrap.is-drawing .animated-marker-bg,
body.intro-revealed .animated-marker-bg {
  animation: markerLineDraw 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}

.animated-marker-wrap.is-drawing .animated-marker-text,
body.intro-revealed .animated-marker-text {
  animation: markerTextColor 0.4s ease 0.45s forwards;
}

@keyframes markerLineDraw {
  0% {
    transform: scaleX(0);
  }
  100% {
    transform: scaleX(1);
  }
}

@keyframes markerTextColor {
  0% {
    color: var(--mw-ink, #0b2039);
  }
  100% {
    color: #ffffff;
  }
}

/* ============================================================
   Kinetic Typography Background (Positioned Below Hero CTA)
   ============================================================ */
#hero-section {
  position: relative;
  overflow: hidden;
}

.kinetic-bg {
  position: absolute;
  bottom: 25px;
  top: auto;
  left: 0;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  z-index: 1;
  opacity: 0.13;
  pointer-events: none;
  user-select: none;
}

.kinetic-track {
  display: inline-block;
  white-space: nowrap;
  will-change: transform;
  animation: kineticScrollLeft 48s linear infinite;
}

.kinetic-track span {
  font-family: var(--font-en, "Outfit", sans-serif);
  font-size: clamp(3.5rem, 7vw, 7rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  color: transparent;
  -webkit-text-stroke: 1.8px rgba(11, 32, 57, 0.42);
  text-shadow: 0 4px 20px rgba(11, 32, 57, 0.12);
  padding-right: 50px;
}

@keyframes kineticScrollLeft {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* ============================================================
   MapLibre Scrollytelling Map Realistic Ocean Theme
   ============================================================ */
#about-section {
  background: #fff !important;
}

#real-map-scrolly-wrapper {
  background: linear-gradient(
    to bottom,
    #fff 0,
    #eef5f8 90px,
    #dce8ef 220px
  ) !important;
  filter: none !important;
}

.real-map-sticky-container {
  background: #dce8ef !important;
  filter: none !important;
}

.maplibre-map-canvas,
.maplibre-map-canvas .maplibregl-canvas {
  z-index: 2;
  background: transparent !important;
  filter: none !important;
}

/* Smooth top white gradient fade to blend seamlessly from Hero section */
.real-map-sticky-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 220px;
  background: linear-gradient(
    to bottom,
    #fff 0,
    rgba(255, 255, 255, 0.88) 32%,
    rgba(220, 232, 239, 0) 100%
  );
  z-index: 20;
  pointer-events: none;
}

.map-kinetic-text-wrap,
.map-bar-left,
.map-info-floating-panel {
  display: none !important;
}

/* ============================================================
   3-Step Horizontal Process Flow (Compact Sharp Flat-Corner Design)
   ============================================================ */
.map-steps-horizontal-flow {
  position: absolute;
  bottom: 2.2vh;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1140px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 25;
  pointer-events: auto;

  /* Sharp Flat-Corner (border-radius: 0) & Ultra-Compact Height for Total Map Clearance */
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 32px rgba(11, 32, 57, 0.12);
  border-radius: 0 !important;
  padding: 16px 28px 14px;
}

.step-flow-connecting-line {
  position: absolute;
  top: 33px;
  left: 6%;
  right: 6%;
  height: 2px;
  background: rgba(11, 32, 57, 0.14);
  z-index: 1;
}

.step-flow-line-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 33.33%;
  background: #0b2039;
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.map-step-card {
  position: relative;
  z-index: 2;
  flex: 1;
  max-width: 330px;
  padding: 0 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  opacity: 0.85;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.map-step-card.is-active {
  opacity: 1;
  transform: translateY(-2px);
}

.step-badge {
  background: #0b2039;
  color: #ffffff;
  padding: 5px 14px;
  font-family: var(--font-en, "Outfit", sans-serif);
  font-weight: 800;
  font-size: 0.70rem;
  letter-spacing: 0.14em;
  border-radius: 0 !important;
  box-shadow: 0 3px 10px rgba(11, 32, 57, 0.18);
  margin-bottom: 2px;
}

.step-en-sub {
  font-family: var(--font-en, "Outfit", sans-serif);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: #1d4ed8;
  margin-top: 14px;
  margin-bottom: 6px;
  text-transform: uppercase;
  display: block;
}

.step-jp-title {
  font-family: var(--font-jp, sans-serif);
  font-size: 1.30rem;
  font-weight: 800;
  color: #0b2039;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.step-desc {
  font-family: var(--font-jp, sans-serif);
  font-size: 0.80rem;
  line-height: 1.6;
  color: #334155;
  font-weight: 500;
  margin: 0;
}

@media (max-width: 900px) {
  .map-steps-horizontal-flow {
    position: absolute;
    bottom: 28px;
    left: clamp(16px, 3vw, 28px);
    transform: none;
    width: min(520px, calc(100% - 32px));
    max-width: 520px;
    margin: 0;
    flex-direction: column;
    gap: 0;
    padding: 14px 16px 14px 18px;
    overflow: hidden;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(237, 246, 255, 0.78));
    border: 1px solid rgba(255, 255, 255, 0.84);
    border-left: 3px solid var(--mw-royal, #1d4ed8);
    box-shadow: 0 16px 38px rgba(11, 32, 57, 0.18);
    backdrop-filter: blur(14px) saturate(1.08);
    -webkit-backdrop-filter: blur(14px) saturate(1.08);
  }

  .step-flow-connecting-line {
    display: none;
  }

  .map-step-card {
    display: none;
    width: 100%;
    max-width: 100%;
    padding: 0;
    opacity: 0;
  }

  .map-step-card.is-active {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    column-gap: 14px;
    width: 100%;
    opacity: 1;
    transform: none;
  }

  .map-step-card.is-active .step-badge {
    grid-row: 1 / 4;
    align-self: stretch;
    display: grid;
    min-width: 76px;
    margin: 0;
    padding: 7px 10px;
    place-items: center;
  }

  .map-step-card.is-active .step-en-sub {
    margin: 0 0 2px;
    font-size: 0.66rem;
  }

  .map-step-card.is-active .step-jp-title {
    margin-bottom: 3px;
    font-size: 1.12rem;
  }

  .map-step-card.is-active .step-desc {
    font-size: 0.74rem;
    line-height: 1.5;
  }
}

/* ============================================================
   Cinematic Ocean Video Overlay (Full Width Seamless Blend)
   ============================================================ */
.srilanka-ocean-video-bg,
.japan-ocean-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.42s cubic-bezier(0.2, 0, 0.2, 1);
  pointer-events: none;
  mix-blend-mode: normal;
  filter: none;
  will-change: opacity;
}

/* JSの再生状態と表示を同期し、停止中・reduced motionでは静的な海色へ戻す。 */
.real-map-video-bg.is-active {
  opacity: 0.48;
}

/* ============================================================
   MOBILE EXPERIENCE LAYER
   Desktop visuals remain governed by the existing rules above.
   ============================================================ */
.hero-title__line {
  display: block;
}

.hero-title__closing {
  display: inline;
}

.phone-video-control {
  position: absolute;
  z-index: 12;
  top: 50%;
  left: 50%;
  display: grid;
  width: 52px;
  height: 52px;
  padding: 0;
  place-items: center;
  color: #fff;
  background: rgba(2, 31, 84, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(2, 9, 20, 0.38);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity 180ms ease, background 180ms ease, transform 180ms ease;
}

.phone-screen.needs-video-action .phone-video-control,
.phone-video-control:focus-visible {
  opacity: 1;
  pointer-events: auto;
}

.phone-video-control:hover {
  background: rgba(17, 85, 169, 0.96);
  transform: translate(-50%, -50%) scale(1.06);
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: 88px;
  }

  :where(
    #about-section,
    #news-section,
    #services-section,
    #process-section,
    .contact-hero-section,
    .faq-hero-section,
    .news-hero,
    .company-page-main,
    .message-page-main,
    .privacy-page-main
  ) {
    scroll-margin-top: 88px;
  }

  main :where(h1, h2, h3, p) {
    line-break: strict;
    overflow-wrap: break-word;
    text-wrap: pretty;
  }

  @supports (word-break: auto-phrase) {
    main :where(h1, h2, h3, p) {
      word-break: auto-phrase;
    }
  }

  .menu-toggle {
    display: grid;
    width: 44px;
    height: 44px;
    padding: 0;
    place-items: center;
    flex: 0 0 44px;
  }

  #mobile-nav a {
    display: flex;
    min-height: 48px;
    align-items: center;
  }

  /* Hero: retain the typography globe while tightening the mobile composition. */
  #hero-section {
    min-height: 100svh;
    padding: 82px 20px 62px;
  }

  .hero-inner {
    align-content: center;
    gap: 0;
  }

  .hero-globe-wrap {
    min-height: 0;
    margin: 0 0 -12px;
  }

  .typography-globe {
    width: min(74vw, 286px);
    margin: 0 auto;
  }

  .hero-copy {
    width: 100%;
  }

  .hero-title {
    margin-bottom: 20px;
    font-size: clamp(2rem, 9.2vw, 2.72rem);
    line-height: 1.34;
    letter-spacing: 0;
  }

  .hero-lead {
    margin-bottom: 26px;
    font-size: 0.94rem;
    line-height: 1.9;
  }

  .kinetic-bg {
    bottom: 12px;
  }

  .kinetic-track span {
    font-size: clamp(3rem, 15vw, 4.8rem);
  }

  /* Keep the path as a branded edge detail without crossing mobile copy. */
  .global-path-wrapper {
    opacity: 0.34;
    -webkit-mask-image: linear-gradient(
      90deg,
      #000 0,
      #000 8%,
      transparent 24%,
      transparent 76%,
      #000 92%,
      #000 100%
    );
    mask-image: linear-gradient(
      90deg,
      #000 0,
      #000 8%,
      transparent 24%,
      transparent 76%,
      #000 92%,
      #000 100%
    );
  }

  .global-path path {
    stroke-width: 54;
  }

  /* Map: show only the card that belongs to the active scrollytelling phase. */
  .map-steps-horizontal-flow {
    position: absolute;
    right: auto;
    bottom: 28px;
    left: 16px;
    width: min(520px, calc(100% - 32px));
    max-width: calc(100% - 32px);
    margin: 0;
    padding: 16px 18px;
    flex-direction: column;
    gap: 0;
    transform: none;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(237, 246, 255, 0.78));
    border: 1px solid rgba(255, 255, 255, 0.84);
    border-left: 3px solid var(--mw-royal, #1d4ed8);
    box-shadow: 0 18px 42px rgba(11, 32, 57, 0.18);
    backdrop-filter: blur(14px) saturate(1.08);
    -webkit-backdrop-filter: blur(14px) saturate(1.08);
  }

  .map-step-card {
    display: none;
    max-width: none;
    padding: 0;
    opacity: 0;
  }

  .map-step-card.is-active {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 14px;
    opacity: 1;
    transform: none;
  }

  .map-step-card.is-active .step-badge {
    grid-row: 1 / 4;
    align-self: stretch;
    display: grid;
    min-width: 76px;
    margin: 0;
    place-items: center;
  }

  .map-step-card.is-active .step-en-sub {
    margin: 0 0 2px;
  }

  .map-step-card.is-active .step-jp-title {
    margin-bottom: 4px;
    font-size: 1.16rem;
  }

  .map-step-card.is-active .step-desc {
    font-size: 0.75rem;
    line-height: 1.55;
  }

  .step-flow-connecting-line {
    display: none;
  }

  .map-data-credit {
    bottom: 4px;
  }

  /* Activity rail: tactile manual controls with a clean single-card snap. */
  .activity-rail {
    margin-top: 50px;
  }

  .activity-rail__viewport {
    grid-auto-columns: minmax(272px, 84vw);
    gap: 14px;
    padding-bottom: 10px;
    scroll-padding-inline: 0;
  }

  .activity-card,
  .activity-card img {
    min-height: min(116vw, 430px);
  }

  .activity-card:hover img {
    transform: none;
  }

  .activity-card .marquee-card-overlay {
    padding: 22px 20px;
  }

  .activity-rail__navigation {
    margin-top: 18px;
  }

  .activity-rail__dots {
    min-height: 48px;
    gap: 0;
    padding: 2px 6px;
  }

  .activity-rail__dots button,
  .activity-rail__dots button.is-active,
  .activity-rail__dots button:hover:not(.is-active) {
    position: relative;
    width: 44px;
    height: 44px;
    background: transparent;
    box-shadow: none;
  }

  .activity-rail__dots button::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 4px;
    background: rgba(11, 32, 57, 0.22);
    transform: translate(-50%, -50%);
    transition: width 300ms ease, background 300ms ease, box-shadow 300ms ease;
  }

  .activity-rail__dots button.is-active::before {
    width: 30px;
    background: linear-gradient(90deg, var(--mw-royal), var(--mw-gold));
    box-shadow: 0 0 12px rgba(2, 132, 199, 0.3);
  }

  /* Services: preserve the visual rhythm with consistent mobile hierarchy. */
  .service-showcase-list {
    gap: 68px;
    margin-top: 58px;
  }

  .service-showcase-item.split,
  .service-showcase-item.split-reverse {
    gap: 28px;
  }

  .service-showcase-item .service-text {
    order: 1;
    padding: 0;
  }

  .service-showcase-item .service-visual,
  .service-showcase-item.split-reverse .service-visual {
    order: 2;
  }

  .service-title {
    margin-bottom: 16px;
    font-size: clamp(1.82rem, 8vw, 2.25rem);
  }

  .service-desc {
    margin-bottom: 22px;
    font-size: 0.96rem;
    line-height: 1.9;
  }

  .glass-card-large.service-image-card {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  /* Creative: keep the effects, but let the phone/video lead the composition. */
  .service-showcase-item--creative {
    --creative-text-reveal-progress: 1;
    --creative-phone-flip-progress: 1;
    --creative-scroll-progress: 1;
    grid-template-columns: 1fr !important;
    padding: 52px 20px 64px !important;
    overflow: hidden !important;
    background: #061730;
  }

  .service-showcase-item--creative .creative-dissolve-overlay {
    opacity: 1 !important;
    background:
      radial-gradient(circle at 72% 60%, rgba(2, 132, 199, 0.38), transparent 46%),
      radial-gradient(circle at 12% 16%, rgba(245, 156, 26, 0.20), transparent 32%),
      linear-gradient(165deg, #101344 0%, #082758 52%, #061730 100%);
  }

  .service-showcase-item--creative .service-text.lens-projected-text {
    width: 100%;
    max-width: none;
    transform: none !important;
    transform-origin: center;
    opacity: 1 !important;
    filter: none !important;
    will-change: auto;
  }

  .service-showcase-item--creative .service-title {
    margin-bottom: 16px;
    font-size: clamp(2.35rem, 12vw, 3.35rem);
  }

  .service-showcase-item--creative .service-desc {
    margin-top: 18px;
    font-size: 0.95rem;
    line-height: 1.88;
  }

  .interactive-invert-box .text-spotlight-lens {
    display: none;
  }

  .creative-marquee-bg {
    inset: -12% -120%;
    gap: 18px;
    opacity: 0.13;
    transform: rotate(-4deg);
  }

  .creative-marquee-track {
    font-size: clamp(2rem, 12vw, 3.2rem);
  }

  .creative-aurora__glow {
    width: 105vw;
    height: 105vw;
    opacity: 0.22;
    filter: blur(68px);
  }

  .creative-devices-stage {
    display: grid;
    order: 2;
    min-height: 500px;
    margin: 20px 0 0;
    align-items: center;
    justify-content: center;
    place-items: center;
    perspective: 900px;
  }

  .creative-phone-3d,
  .creative-phone-3d:hover {
    left: clamp(24px, 7vw, 30px);
    z-index: 12;
    width: 210px;
    height: 420px;
    margin: 0;
    transform: rotateY(-4deg) rotateX(3deg) rotateZ(1deg);
    animation: mobilePhoneFloat 6.4s ease-in-out infinite alternate;
  }

  .creative-phone-3d .phone-body {
    padding: 8px;
    border-width: 3px;
    border-radius: 36px;
  }

  .creative-phone-3d .phone-screen {
    border-radius: 28px;
  }

  .creative-phone-3d .phone-notch {
    top: 13px;
    width: 70px;
    height: 19px;
  }

  .creative-camera-real-3d,
  .creative-camera-real-3d:hover {
    top: 68%;
    left: max(0px, calc(50% - 210px));
    z-index: 9;
    width: clamp(112px, 31vw, 140px);
    height: clamp(112px, 31vw, 140px);
    transform: translateY(-50%) rotateY(10deg) rotateX(-3deg) rotateZ(-5deg);
    animation: mobileCameraFloat 7.2s ease-in-out infinite alternate;
  }

  .creative-camera-real-3d .camera-lens-beam {
    display: none;
  }

  .creative-camera-real-3d .camera-lens-flare {
    top: 34%;
    left: 17%;
    width: 52px;
    height: 52px;
    filter: blur(7px);
  }

  .phone-video-control,
  .phone-video-control:hover {
    top: auto;
    right: 12px;
    bottom: 12px;
    left: auto;
    width: 44px;
    height: 44px;
    opacity: 0.68;
    pointer-events: auto;
    transform: none;
  }

  .phone-screen.is-video-paused .phone-video-control {
    opacity: 1;
  }

  .phone-screen.needs-video-action .phone-video-control {
    top: 50%;
    right: auto;
    bottom: auto;
    left: 50%;
    width: 58px;
    height: 58px;
    opacity: 1;
    transform: translate(-50%, -50%);
  }

  @keyframes mobilePhoneFloat {
    from { transform: translateY(4px) rotateY(-4deg) rotateX(3deg) rotateZ(1deg); }
    to { transform: translateY(-7px) rotateY(-2deg) rotateX(2deg) rotateZ(0deg); }
  }

  @keyframes mobileCameraFloat {
    from { transform: translateY(-50%) translateY(4px) rotateY(10deg) rotateX(-3deg) rotateZ(-5deg); }
    to { transform: translateY(-50%) translateY(-5px) rotateY(7deg) rotateX(-1deg) rotateZ(-3deg); }
  }

  /* Process, CTA and footer: preserve branding, fix mobile spacing and overlap. */
  #process-section.sticky-scroll-section {
    padding: 76px 0 84px;
  }

  #process-section .journey-panel.intro-panel {
    scroll-margin-top: 96px;
  }

  #process-section .horizontal-scroll-track {
    gap: 28px;
  }

  #process-section .card-image-placeholder,
  #process-section .card-image-wrap {
    height: min(56vw, 210px);
    min-height: min(56vw, 210px);
    flex-basis: min(56vw, 210px);
  }

  .home-contact-wrap {
    padding: 50px 0 0;
  }

  .contact-cta__content {
    padding: 42px 24px 38px;
  }

  .contact-cta__trust {
    margin-top: 26px;
  }

  .contact-cta__trust li {
    min-height: 52px;
    padding: 11px 13px;
    font-size: 0.88rem;
  }

  .contact-cta__actions {
    margin-top: 30px;
  }

  .contact-cta__visual {
    height: min(88vw, 340px);
    min-height: min(88vw, 340px);
  }

  .contact-cta__wordmark {
    bottom: 28%;
    font-size: 28vw;
    opacity: 0.42;
  }

  .footer-nav {
    row-gap: 28px;
  }

  .footer-col a {
    display: flex;
    min-height: 44px;
    align-items: center;
    padding-block: 5px;
  }

  .footer-social-icon {
    width: 44px;
    height: 44px;
  }

  .footer-legal a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
  }

  .form-control {
    min-height: 50px;
    font-size: 1rem;
  }

  textarea.form-control {
    min-height: 150px;
  }

  .btn-submit {
    width: 100%;
    min-width: 0;
  }

  .checkbox-label {
    align-items: flex-start;
    min-height: 44px;
  }

  .checkbox-label input[type="checkbox"] {
    width: 22px;
    height: 22px;
    margin-top: 3px;
    flex: 0 0 22px;
  }
}

@media (max-width: 370px) {
  .hero-title__closing {
    display: block;
    width: max-content;
    margin-top: 0.04em;
  }

  .hero-title {
    font-size: clamp(1.92rem, 9.1vw, 2.12rem);
  }

  .typography-globe {
    width: min(70vw, 250px);
  }

  .creative-phone-3d,
  .creative-phone-3d:hover {
    left: 34px;
  }

  .activity-rail__viewport {
    grid-auto-columns: minmax(260px, 86vw);
  }

}

/* PROCESS mobile: one full-width card per viewport-sized step. */
@media (max-width: 900px) {
  #process-section .horizontal-scroll-track {
    gap: 0;
  }

  #process-section .journey-panel.step-panel {
    min-height: calc(100svh - 76px);
    padding-left: 0;
    align-items: center;
    justify-content: center;
    scroll-margin-top: 76px;
  }

  #process-section .step-panel::before {
    top: 0;
    bottom: 0;
    left: -8px;
  }

  #process-section .step-panel::after {
    top: 50%;
    left: -14px;
    transform: translateY(-50%);
  }

  #process-section .step-panel:last-child::before {
    bottom: 50%;
  }

  #process-section .glass-card,
  #process-section .step-panel .glass-card {
    width: 100%;
    max-width: none;
    height: auto;
  }

  #process-section .card-image-placeholder,
  #process-section .card-image-wrap {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
    flex-basis: auto;
  }

  #process-section .flow-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: none;
  }

  #process-section .glass-card:hover .flow-card-img {
    transform: none;
  }

  #process-section [data-process-step="1"] .flow-card-img {
    object-position: 50% 48%;
  }

  #process-section [data-process-step="2"] .flow-card-img {
    object-position: 50% 54%;
  }

  #process-section [data-process-step="3"] .flow-card-img {
    object-position: 50% 45%;
  }

  #process-section [data-process-step="4"] .flow-card-img {
    object-position: 50% 46%;
  }

  #process-section [data-process-step="5"] .flow-card-img {
    object-position: 50% 50%;
  }
}

@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
  .creative-phone-3d,
  .creative-camera-real-3d {
    animation: none !important;
  }

  .activity-rail__viewport {
    scroll-behavior: auto;
  }

  .activity-rail__dots button::before,
  .phone-video-control {
    transition: none;
  }
}
