/* Final isolated layout for 4.1 VIP journey. Loaded last to avoid legacy overrides. */
@media (min-width: 1181px) {
  body .project-snapshot-section {
    background: #fffaf3 !important;
    border-top: 1px solid rgba(23, 19, 15, 0.06) !important;
  }

  body .snapshot-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: clamp(16px, 1.6vw, 24px) !important;
    margin-top: clamp(28px, 3vw, 44px) !important;
  }

  body .snapshot-grid article {
    min-height: 280px !important;
    padding: clamp(22px, 2vw, 30px) !important;
    border: 1px solid rgba(23, 19, 15, 0.08) !important;
    border-radius: 20px !important;
    background: rgba(255, 255, 255, 0.82) !important;
    box-shadow: 0 20px 52px rgba(23, 19, 15, 0.06) !important;
  }

  body .snapshot-grid span,
  body .ai-mechanism-grid span {
    display: inline-flex !important;
    margin-bottom: 18px !important;
    color: #ff5b1f !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
  }

  body .snapshot-grid h3,
  body .ai-mechanism-grid h3 {
    margin: 0 0 14px !important;
    color: #17120f !important;
    font-size: 22px !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
  }

  body .snapshot-grid p,
  body .ai-mechanism-grid p {
    margin: 0 !important;
    color: rgba(23, 19, 15, 0.68) !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
  }

  body .snapshot-proof {
    margin-top: 18px !important;
    min-height: 74px !important;
    padding: 18px 22px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
    border: 1px solid rgba(255, 91, 31, 0.16) !important;
    border-radius: 18px !important;
    background: rgba(255, 91, 31, 0.07) !important;
  }

  body .snapshot-proof strong {
    color: #17120f !important;
    font-size: 18px !important;
  }

  body .snapshot-proof span {
    padding: 9px 14px !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: rgba(23, 19, 15, 0.72) !important;
    font-weight: 800 !important;
  }

  body .ai-mechanism-section {
    background: linear-gradient(180deg, #ffffff 0%, #fff8ef 100%) !important;
  }

  body .ai-mechanism-grid {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: clamp(12px, 1.2vw, 18px) !important;
    margin-top: clamp(28px, 3vw, 44px) !important;
  }

  body .ai-mechanism-grid article {
    position: relative !important;
    min-height: 310px !important;
    padding: clamp(22px, 2vw, 30px) !important;
    border: 1px solid rgba(23, 19, 15, 0.08) !important;
    border-radius: 20px !important;
    background: rgba(255, 255, 255, 0.86) !important;
    box-shadow: 0 18px 48px rgba(23, 19, 15, 0.06) !important;
  }

  body .ai-mechanism-grid article:not(:last-child)::after {
    content: "→" !important;
    position: absolute !important;
    top: 50% !important;
    right: -16px !important;
    z-index: 2 !important;
    width: 30px !important;
    height: 30px !important;
    transform: translateY(-50%) !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 999px !important;
    background: #ff5b1f !important;
    color: #fff !important;
    font-weight: 900 !important;
  }

  body .ai-boundary-note,
  body .metric-caveat,
  body .prototype-security-note {
    border: 1px solid rgba(23, 19, 15, 0.08) !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, 0.72) !important;
    color: rgba(23, 19, 15, 0.72) !important;
    line-height: 1.7 !important;
  }

  body .ai-boundary-note {
    margin-top: 22px !important;
    padding: 20px 24px !important;
    font-size: 17px !important;
  }

  body .ai-boundary-note strong,
  body .metric-caveat strong {
    color: #17120f !important;
  }

  body .prototype-security-note {
    margin: 12px 0 0 !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
  }

  body #research .research-evidence-strip {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: clamp(10px, 1vw, 14px) !important;
    margin: clamp(18px, 2vw, 26px) 0 clamp(26px, 3vw, 42px) !important;
  }

  body #research .research-evidence-strip article {
    min-height: 132px !important;
    padding: 18px 16px !important;
    border: 1px solid rgba(23, 19, 15, 0.08) !important;
    border-radius: 16px !important;
    background: rgba(255, 255, 255, 0.74) !important;
    box-shadow: 0 14px 36px rgba(23, 19, 15, 0.045) !important;
  }

  body #research .research-evidence-strip span {
    display: block !important;
    margin-bottom: 10px !important;
    color: #ff5b1f !important;
    font-size: 14px !important;
    font-weight: 900 !important;
  }

  body #research .research-evidence-strip p {
    margin: 0 !important;
    color: rgba(23, 19, 15, 0.66) !important;
    font-size: 14px !important;
    line-height: 1.58 !important;
  }

  body #research .research-problem-clusters {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: clamp(16px, 1.6vw, 24px) !important;
    margin: 0 0 clamp(34px, 4vw, 56px) !important;
  }

  body #research .research-problem-clusters article {
    position: relative !important;
    min-height: 188px !important;
    padding: 28px 26px 26px !important;
    border: 1px solid rgba(255, 91, 31, 0.18) !important;
    border-radius: 24px !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 248, 242, 0.78)) !important;
    box-shadow: 0 22px 54px rgba(23, 19, 15, 0.055) !important;
    overflow: hidden !important;
  }

  body #research .research-problem-clusters article::after {
    content: "" !important;
    position: absolute !important;
    right: -42px !important;
    bottom: -48px !important;
    width: 128px !important;
    height: 128px !important;
    border-radius: 999px !important;
    background: rgba(255, 91, 31, 0.07) !important;
    pointer-events: none !important;
  }

  body #research .research-problem-clusters span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    margin-bottom: 18px !important;
    border-radius: 999px !important;
    background: #ff5b1f !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 900 !important;
  }

  body #research .research-problem-clusters h3 {
    margin: 0 0 12px !important;
    color: #17120f !important;
    font-size: clamp(19px, 1.22vw, 24px) !important;
    line-height: 1.24 !important;
    letter-spacing: 0 !important;
  }

  body #research .research-problem-clusters p {
    margin: 0 !important;
    color: rgba(23, 19, 15, 0.66) !important;
    font-size: 15px !important;
    line-height: 1.62 !important;
  }

  @keyframes heroFloatSoft {
    0%, 100% {
      translate: 0 0;
    }
    50% {
      translate: 0 -10px;
    }
  }

  @keyframes heroFloatAlt {
    0%, 100% {
      translate: 0 0;
    }
    50% {
      translate: 0 -14px;
    }
  }

  body .hero-content .hero-product-stage .hero-console-window {
    animation: heroFloatSoft 7.2s ease-in-out infinite !important;
    transition:
      translate 0.36s var(--ease-premium),
      filter 0.36s var(--ease-premium) !important;
  }

  body .hero-content .hero-product-stage .hero-phone-main {
    animation: heroFloatAlt 6.6s ease-in-out infinite !important;
  }

  body .hero-content .hero-product-stage .hero-phone-alt {
    animation: heroFloatSoft 7.8s ease-in-out infinite 0.4s !important;
  }

  body .hero-content .hero-product-stage .hero-stat-card {
    animation: heroFloatAlt 7.4s ease-in-out infinite 0.15s !important;
  }

  body .hero-content .hero-product-stage .hero-mascot {
    animation: heroFloatSoft 8.2s ease-in-out infinite 0.25s !important;
  }

  body .hero-content .hero-product-stage .hero-console-window:hover {
    translate: 0 -8px !important;
    filter: drop-shadow(0 26px 40px rgba(23, 19, 15, 0.14)) !important;
  }

  body .hero-content .hero-product-stage .hero-phone:hover,
  body .hero-content .hero-product-stage .hero-stat-card:hover,
  body .hero-content .hero-product-stage .hero-mascot:hover {
    animation-play-state: paused !important;
  }

  @media (prefers-reduced-motion: reduce) {
    body .hero-content .hero-product-stage .hero-console-window,
    body .hero-content .hero-product-stage .hero-phone-main,
    body .hero-content .hero-product-stage .hero-phone-alt,
    body .hero-content .hero-product-stage .hero-stat-card,
    body .hero-content .hero-product-stage .hero-mascot {
      animation: none !important;
    }
  }

  body #console .live-prototype iframe,
  body #mvp .live-prototype iframe {
    pointer-events: auto !important;
  }

  body #outcome .outcome-board {
    align-items: stretch !important;
  }

  body #outcome .outcome-row {
    min-height: 148px !important;
    gap: 6px !important;
  }

  body #outcome .outcome-row small {
    display: block !important;
    margin-top: 4px !important;
    color: rgba(23, 19, 15, 0.56) !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
  }

  body .metric-caveat {
    margin-top: 20px !important;
    padding: 18px 22px !important;
  }

  body .metric-caveat p {
    margin: 6px 0 0 !important;
    color: rgba(23, 19, 15, 0.68) !important;
    line-height: 1.7 !important;
  }

  body #wait-game .wait-game-heading h2 {
    max-width: 820px !important;
  }

  body #wait-game .wait-game-boundary {
    max-width: 920px !important;
    margin-top: 18px !important;
    padding: 16px 20px !important;
    border: 1px solid rgba(255, 91, 31, 0.16) !important;
    border-radius: 16px !important;
    background: rgba(255, 91, 31, 0.06) !important;
    color: rgba(23, 19, 15, 0.68) !important;
    font-size: 16px !important;
    line-height: 1.65 !important;
  }

  body #wait-game .wait-game-copy-card {
    opacity: 0.9 !important;
  }

  #driver .vip-journey.vip-journey-featured {
    display: block !important;
    padding: clamp(34px, 3.6vw, 52px) clamp(28px, 3vw, 48px) !important;
    overflow: visible !important;
  }

  #driver .vip-journey-header {
    display: grid !important;
    gap: 18px !important;
    margin-bottom: clamp(32px, 3.2vw, 52px) !important;
  }

  #driver .vip-journey-header .eyebrow {
    width: fit-content !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #ff5b1f !important;
  }

  #driver .vip-journey-header h3 {
    margin: 0 !important;
    max-width: none !important;
    font-family: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", Georgia, serif !important;
    font-size: 40px !important;
    font-weight: 800 !important;
    line-height: 1.08 !important;
    white-space: nowrap !important;
  }

  #driver .vip-journey-header > p:not(.eyebrow) {
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    background-color: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: rgba(23, 19, 15, 0.72) !important;
    font-size: 20px !important;
    line-height: 1.55 !important;
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
  }

  #driver .vip-journey-body {
    display: block !important;
    align-items: start !important;
  }

  #driver .vip-journey-side {
    display: grid !important;
    gap: 0 !important;
  }

  #driver .vip-journey-side .journey-side-note {
    min-height: clamp(360px, 30vw, 500px) !important;
    margin: 0 !important;
    padding: 28px 10px 28px 0 !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: #17120f !important;
    box-shadow: none !important;
    font-size: 17px !important;
    line-height: 1.7 !important;
  }

  #driver .vip-journey-main {
    display: grid !important;
    gap: clamp(30px, 2.6vw, 42px) !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  #driver .vip-phone-gallery {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: clamp(24px, 2.4vw, 48px) !important;
    align-items: end !important;
    justify-items: center !important;
    padding: clamp(28px, 2.8vw, 46px) clamp(18px, 2vw, 34px) clamp(24px, 2.4vw, 40px) !important;
    background: none !important;
    background-color: transparent !important;
  }

  #driver .vip-phone-gallery figure {
    width: 100% !important;
    margin: 0 !important;
    display: grid !important;
    justify-items: center !important;
    gap: 22px !important;
    transition: transform 180ms ease, filter 180ms ease !important;
  }

  #driver .vip-phone-gallery img {
    width: min(100%, 380px) !important;
    max-height: clamp(620px, 46vw, 760px) !important;
    object-fit: contain !important;
    filter: drop-shadow(0 22px 32px rgba(30, 24, 18, 0.14)) !important;
    transition: transform 180ms ease, filter 180ms ease !important;
    will-change: transform !important;
  }

  #driver .vip-phone-gallery figure:hover {
    transform: translateY(-8px) !important;
  }

  #driver .vip-phone-gallery figure:hover img {
    transform: scale(1.035) !important;
    filter: drop-shadow(0 30px 42px rgba(30, 24, 18, 0.2)) !important;
  }

  #driver .vip-phone-gallery figcaption {
    margin: 0 !important;
    color: #626a75 !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
  }

  #driver .vip-step-flow {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1fr) 22px minmax(0, 1fr) 22px minmax(0, 1fr) !important;
    gap: clamp(8px, 0.8vw, 14px) !important;
    align-items: center !important;
    padding: 0 !important;
    width: 100% !important;
    justify-self: stretch !important;
    margin: 0 !important;
  }

  #driver .vip-step-flow span {
    min-width: 0 !important;
    min-height: 70px !important;
    padding: 16px clamp(14px, 1.35vw, 24px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    white-space: nowrap !important;
    border-radius: 999px !important;
    background: #171310 !important;
    color: #fff8ef !important;
    font-weight: 800 !important;
    font-size: 15px !important;
    box-shadow: 0 16px 34px rgba(20, 17, 15, 0.12) !important;
  }

  #driver .vip-step-flow b {
    flex: 0 0 30px !important;
    width: 30px !important;
    height: 30px !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #ff5b1f !important;
    color: #fff !important;
    font-size: 13px !important;
  }

  #driver .vip-step-flow i {
    width: 22px !important;
    height: 22px !important;
    border-radius: 999px !important;
    display: grid !important;
    place-items: center !important;
    background: rgba(255, 91, 31, 0.12) !important;
    color: #ff5b1f !important;
    font-size: 18px !important;
    font-weight: 900 !important;
  }
}

@media (min-width: 1181px) and (max-width: 1500px) {
  #driver .vip-journey-header h3 {
    font-size: clamp(32px, 2.3vw, 40px) !important;
  }

  #driver .vip-phone-gallery img {
    width: min(100%, 335px) !important;
    max-height: clamp(570px, 42vw, 700px) !important;
  }

  #driver .vip-phone-gallery figcaption {
    font-size: 18px !important;
  }

  #driver .vip-step-flow span {
    padding-inline: 13px !important;
    font-size: 13px !important;
  }
}

@media (min-width: 1181px) {
  body #driver .vip-journey.vip-journey-featured .vip-journey-header .eyebrow {
    padding: 0 !important;
    background: none !important;
    background-color: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  body #driver .vip-journey.vip-journey-featured .vip-journey-header > p:not(.eyebrow) {
    padding: 0 !important;
    background: none !important;
    background-color: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  body #driver .vip-journey.vip-journey-featured .vip-journey-body {
    display: block !important;
    grid-template-columns: none !important;
    gap: 0 !important;
  }

  body #driver .vip-journey.vip-journey-featured .vip-journey-side,
  body #driver .vip-journey.vip-journey-featured .journey-side-note,
  body #driver .vip-journey.vip-journey-featured .vip-progress-card {
    display: none !important;
  }

  body #driver .vip-journey.vip-journey-featured .vip-journey-main {
    width: 100% !important;
    max-width: none !important;
    display: grid !important;
    grid-template-columns: none !important;
    gap: clamp(30px, 2.8vw, 46px) !important;
  }

  body #driver .vip-journey.vip-journey-featured .vip-phone-gallery {
    width: 100% !important;
    max-width: none !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: clamp(24px, 2.4vw, 48px) !important;
    padding: clamp(30px, 2.8vw, 46px) clamp(24px, 2.2vw, 40px) clamp(26px, 2.4vw, 42px) !important;
    background: none !important;
    background-color: transparent !important;
  }

  body #driver .vip-journey.vip-journey-featured .vip-phone-gallery img {
    width: min(100%, 380px) !important;
    max-height: clamp(620px, 46vw, 760px) !important;
  }

  body #driver .vip-journey.vip-journey-featured .vip-phone-gallery figcaption {
    font-size: 20px !important;
  }

  body #driver .vip-journey.vip-journey-featured .vip-step-flow {
    width: 100% !important;
    max-width: none !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1fr) 22px minmax(0, 1fr) 22px minmax(0, 1fr) !important;
    gap: clamp(8px, 0.8vw, 14px) !important;
    margin: 0 !important;
  }

  body #driver .vip-journey.vip-journey-featured .vip-step-flow span {
    min-height: 70px !important;
    padding: 16px clamp(14px, 1.35vw, 24px) !important;
    font-size: 15px !important;
    white-space: nowrap !important;
  }

  body #driver .vip-journey.vip-journey-featured .vip-step-flow b {
    flex-basis: 30px !important;
    width: 30px !important;
    height: 30px !important;
    font-size: 13px !important;
  }

  body #full-flow .full-flow-board {
    gap: clamp(14px, 1.35vw, 22px) !important;
  }

  body #full-flow .full-flow-step {
    padding: clamp(14px, 1.2vw, 20px) !important;
  }

  body #full-flow .full-flow-step figure {
    background: none !important;
    background-color: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
    transform: translateZ(0) !important;
  }

  body #full-flow .full-flow-step img {
    width: 112% !important;
    height: 112% !important;
    max-width: none !important;
    object-fit: contain !important;
    transition: transform 180ms ease, filter 180ms ease !important;
    will-change: transform !important;
    filter: drop-shadow(0 18px 30px rgba(28, 22, 16, 0.16)) !important;
  }

  body #full-flow .full-flow-step:hover img {
    transform: translateY(-8px) scale(1.035) !important;
    filter: drop-shadow(0 28px 42px rgba(28, 22, 16, 0.22)) !important;
  }

  body #wait-game .wait-game-heading > p:not(.eyebrow) {
    display: none !important;
  }

  body #wait-game .wait-game-gallery {
    display: grid !important;
    grid-template-columns: minmax(280px, 1.1fr) repeat(2, minmax(150px, 0.72fr)) !important;
    grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
    gap: clamp(14px, 1.3vw, 20px) !important;
    align-items: stretch !important;
  }

  body #wait-game .wait-game-shot {
    min-height: 0 !important;
    transition: transform 180ms ease, box-shadow 180ms ease !important;
  }

  body #wait-game .wait-game-shot:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 24px 48px rgba(28, 22, 16, 0.12) !important;
  }

  body #wait-game .wait-game-shot-featured {
    grid-row: 1 / span 2 !important;
  }

  body #wait-game .wait-game-shot img {
    height: clamp(210px, 18vw, 270px) !important;
    transition: transform 180ms ease, filter 180ms ease !important;
    will-change: transform !important;
  }

  body #wait-game .wait-game-shot:hover img {
    transform: scale(1.025) !important;
    filter: drop-shadow(0 22px 32px rgba(28, 22, 16, 0.18)) !important;
  }

  body #wait-game .wait-game-shot-featured img {
    height: clamp(520px, 41vw, 650px) !important;
  }
}
