.mobile-journey,
.mobile-journey-progress {
  display: none;
}

@media (max-width: 1180px),
       (min-width: 1181px) and (max-width: 1366px) and (min-height: 900px) {
  html {
    scroll-snap-type: y proximity;
    scroll-padding-top: 72px;
  }

  body {
    background:
      radial-gradient(circle at 18% 18%, #1742682f, transparent 31%),
      radial-gradient(circle at 86% 64%, #713a2228, transparent 34%),
      var(--ink);
  }

  .journey-track {
    display: none;
  }

  .mobile-journey {
    position: relative;
    display: block;
  }

  .mobile-journey-progress {
    position: fixed;
    z-index: 95;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 12px;
    height: 30px;
    padding: 0 4vw;
    background: #070e19e3;
    backdrop-filter: blur(14px);
  }

  .mobile-journey-progress-track {
    display: block;
    height: 2px;
    overflow: hidden;
    border-radius: 999px;
    background: #ffffff1c;
  }

  .mobile-journey-progress-track i {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: var(--orange);
    box-shadow: 0 0 12px #ff7c3b88;
    transform: scaleX(var(--mobile-progress, .142857));
    transform-origin: 0 50%;
    transition: transform 360ms var(--ease);
  }

  .mobile-journey-beat {
    --mobile-gutter: clamp(14px, 4vw, 22px);
    position: relative;
    display: flex;
    min-height: 100svh;
    flex-direction: column;
    gap: clamp(15px, 2.2svh, 22px);
    padding:
      calc(var(--header-height) + 30px + clamp(12px, 2svh, 20px))
      var(--mobile-gutter)
      max(24px, env(safe-area-inset-bottom));
    overflow: hidden;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
    isolation: isolate;
  }

  .mobile-journey-beat::before {
    content: "";
    position: absolute;
    z-index: -2;
    inset: 0;
    background:
      radial-gradient(circle at 12% 26%, #1e58862b, transparent 34%),
      radial-gradient(circle at 92% 76%, #b4512822, transparent 35%);
    opacity: .8;
  }

  .mobile-beat-media {
    position: relative;
    flex: 0 0 auto;
    width: calc(100% + var(--mobile-gutter) * 2);
    aspect-ratio: 16 / 9;
    margin: 0 calc(var(--mobile-gutter) * -1);
    overflow: hidden;
    border: 1px solid #ffd1b13d;
    border-radius: 0 0 clamp(20px, 5vw, 26px) clamp(20px, 5vw, 26px);
    background: #0b1421;
    box-shadow:
      0 24px 65px -28px #000f,
      0 9px 42px -30px #ff7c3baa;
    opacity: .8;
    transform: translateY(10px) scale(.985);
    transition: opacity 450ms ease, transform 700ms var(--ease);
  }

  .mobile-beat-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .mobile-beat-media::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px #ffffff0b;
    pointer-events: none;
  }

  .mobile-beat-copy {
    position: relative;
    display: flex;
    min-height: 0;
    flex: 0 0 auto;
    flex-direction: column;
    justify-content: flex-start;
    padding: clamp(5px, 1svh, 12px) 1px 0;
    opacity: .76;
    transform: translateY(14px);
    transition: opacity 450ms ease 80ms, transform 700ms var(--ease) 80ms;
  }

  .mobile-journey-beat.is-active .mobile-beat-media,
  .mobile-journey-beat.is-active .mobile-beat-copy {
    opacity: 1;
    transform: none;
  }

  .mobile-beat-copy .step-marker {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px;
    color: #fff;
    font-size: clamp(9px, 2.35vw, 11px);
    line-height: 1.2;
  }

  .mobile-beat-copy .step-marker::before {
    content: "";
    width: 20px;
    height: 2px;
    flex: 0 0 20px;
    border-radius: 999px;
    background: var(--orange);
  }

  .mobile-beat-copy .step-marker span {
    color: #ffd0ae;
    font-weight: 720;
  }

  .mobile-beat-copy .step-marker strong {
    font-weight: 620;
  }

  .mobile-beat-copy h1,
  .mobile-beat-copy h2 {
    max-width: 15ch;
    margin: 0;
    color: #fff;
    font-size: clamp(30px, 8.3vw, 42px);
    font-weight: 660;
    letter-spacing: -.058em;
    line-height: .98;
    text-wrap: balance;
  }

  .mobile-beat-copy h1 em,
  .mobile-beat-copy h2 em {
    color: var(--orange);
    font-style: normal;
  }

  .mobile-beat-copy .supporting-line {
    max-width: 38ch;
    margin: 13px 0 0;
    color: #fff;
    font-size: clamp(12px, 3.25vw, 15px);
    line-height: 1.48;
    text-shadow: none;
  }

  .mobile-beat-copy .plan-rows {
    display: grid;
    max-width: none;
    padding: 0;
    overflow: hidden;
    border: 1px solid #ffffff24;
    border-radius: 14px;
    background: #0a1524c7;
    list-style: none;
    margin-top: clamp(16px, 2.3svh, 23px);
  }

  .mobile-beat-copy .plan-rows li {
    display: grid;
    min-height: 48px;
    align-items: center;
    padding: 9px 11px;
    border-bottom: 1px solid #ffffff18;
  }

  .mobile-beat-copy .plan-rows li:last-child {
    border-bottom: 0;
  }

  .mobile-beat-copy .plan-row-copy {
    display: grid;
    min-width: 0;
    grid-template-columns: minmax(105px, .82fr) minmax(0, 1.18fr);
    gap: 10px;
  }

  .mobile-beat-copy .plan-row-copy strong {
    color: #fff;
    font-size: clamp(10px, 2.65vw, 12px);
    line-height: 1.25;
  }

  .mobile-beat-copy .plan-row-copy > span {
    color: #fff;
    font-size: clamp(9px, 2.4vw, 11px);
    line-height: 1.35;
  }

  .mobile-beat-copy .plan-rows-process li {
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 8px;
  }

  .mobile-beat-copy .plan-rows-process .plan-row-copy {
    grid-template-columns: 1fr;
  }

  .mobile-beat-copy .final-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: clamp(18px, 3svh, 28px);
  }

  .mobile-beat-copy .primary-action,
  .mobile-beat-copy .secondary-action {
    width: 100%;
    min-height: 48px;
    font-size: 11px;
  }

  .mobile-beat-next {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 128px;
    max-height: 260px;
    flex: 1 1 150px;
    margin-top: auto;
    padding: 12px 15px;
    overflow: hidden;
    border: 1px solid #ffffff20;
    border-radius: 16px;
    color: #fff;
    background: #0a1524;
    box-shadow: 0 16px 40px -28px #000;
    text-align: left;
  }

  .mobile-beat-next img {
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .55;
    transition: transform 700ms var(--ease), opacity 300ms ease;
  }

  .mobile-beat-next::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    background:
      linear-gradient(90deg, #07101bf2 0%, #07101bc2 58%, #07101b4d 100%),
      linear-gradient(to top, #07101bcc, transparent 62%);
    pointer-events: none;
  }

  .mobile-beat-next-copy {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 4px;
    max-width: 82%;
  }

  .mobile-beat-next small {
    color: #ffd0ae;
    font-size: 7px;
    font-weight: 760;
    letter-spacing: .18em;
    text-transform: uppercase;
  }

  .mobile-beat-next strong {
    display: -webkit-box;
    overflow: hidden;
    font-size: clamp(11px, 3vw, 13px);
    font-weight: 620;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .mobile-beat-next-arrow {
    position: relative;
    z-index: 2;
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid #ff9c6259;
    border-radius: 50%;
    color: var(--orange);
    font-size: 18px;
  }

  .mobile-journey-beat:last-child .mobile-beat-copy {
    flex: 1 1 auto;
    justify-content: flex-start;
    padding-top: clamp(24px, 4svh, 38px);
  }
}

@media (max-width: 900px) {
  .methodworks-nav {
    display: grid;
    width: calc(100% - 24px);
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px;
  }

  .brand,
  .brand-lockup {
    min-width: 0;
  }

  .brand {
    overflow: hidden;
  }

  .mobile-header-contact {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: 0 13px;
    border: 1px solid rgba(255, 124, 59, .72);
    border-radius: 999px;
    color: var(--ink);
    background: var(--orange);
    font-size: 10px;
    font-weight: 780;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
  }

  .journey-back {
    position: fixed;
    z-index: 96;
    top: calc(var(--header-height) + 30px + 10px);
    left: max(12px, env(safe-area-inset-left));
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    gap: 7px;
    padding: 0 13px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
    color: #fff;
    background: rgba(5, 11, 20, .68);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .28);
    font-size: 9px;
    font-weight: 760;
    letter-spacing: .08em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
  }

  .journey-back::before {
    content: "←";
    color: var(--orange);
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
  }

  .mobile-header-contact:focus-visible,
  .journey-back:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
  }
}

@media (max-width: 480px) {
  .brand-tags {
    display: none;
  }
}

@media (max-width: 900px) and (orientation: landscape) and (max-height: 500px) {
  .journey-back {
    top: calc(var(--header-height) + 24px + 7px);
    min-height: 36px;
    padding-inline: 11px;
    font-size: 8px;
  }

  .mobile-journey-progress {
    height: 24px;
  }

  .mobile-journey-beat {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(250px, .85fr);
    align-items: center;
    gap: 16px;
    padding:
      calc(72px + 24px + 9px)
      16px
      12px;
  }

  .mobile-beat-media {
    width: 100%;
    margin: 0;
    border-radius: 17px;
  }

  .mobile-beat-copy {
    justify-content: center;
    padding: 0;
  }

  .mobile-beat-copy .step-marker {
    margin-bottom: 5px;
    font-size: 7px;
  }

  .mobile-beat-copy h1,
  .mobile-beat-copy h2 {
    max-width: 13ch;
    font-size: clamp(24px, 4vw, 34px);
  }

  .mobile-beat-copy .supporting-line {
    margin-top: 8px;
    font-size: 10px;
    line-height: 1.35;
  }

  .mobile-beat-copy .plan-rows {
    margin-top: 10px;
  }

  .mobile-beat-copy .plan-rows li {
    min-height: 31px;
    padding: 4px 7px;
  }

  .mobile-beat-copy .plan-row-copy {
    grid-template-columns: minmax(82px, .78fr) minmax(0, 1.22fr);
    gap: 7px;
  }

  .mobile-beat-copy .plan-row-copy strong {
    font-size: 7px;
  }

  .mobile-beat-copy .plan-row-copy > span {
    font-size: 6.5px;
  }

  .mobile-beat-copy .plan-rows-process li {
    grid-template-columns: 20px minmax(0, 1fr);
  }

  .mobile-beat-copy .final-actions {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-top: 10px;
  }

  .mobile-beat-copy .primary-action,
  .mobile-beat-copy .secondary-action {
    min-height: 38px;
    padding-inline: 8px;
    font-size: 8px;
  }

  .mobile-beat-next {
    min-height: 48px;
    max-height: 58px;
    flex: 0 0 52px;
    margin-top: 7px;
    padding: 5px 8px;
    border-radius: 11px;
  }

  .mobile-beat-next img {
    opacity: .38;
  }

  .mobile-beat-next-copy {
    gap: 2px;
  }

  .mobile-beat-next small {
    font-size: 6px;
  }

  .mobile-beat-next strong {
    font-size: 8px;
  }

  .mobile-beat-next-arrow {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }

  .mobile-journey-beat:last-child .mobile-beat-copy {
    justify-content: center;
    padding: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-beat-media,
  .mobile-beat-copy,
  .mobile-journey-progress-track i {
    transition: none;
  }
}
