.mobile-rolodex {
  display: none;
}

@media (max-width: 899px) {
  html,
  body[data-iteration="v1-2"] {
    max-width: 100%;
    overflow-x: clip;
  }

  body[data-iteration="v1-2"] {
    --mobile-expertise-gutter: clamp(16px, 4.55vw, 24px);
    min-height: 100svh;
  }

  body[data-iteration="v1-2"] .chapter-hero {
    height: auto;
    min-height: 0;
  }

  body[data-iteration="v1-2"] .chapter-hero .page,
  body[data-iteration="v1-2"][data-chrome="hidden"] .chapter-hero .page {
    position: relative;
    display: flex;
    width: 100%;
    height: auto;
    min-height: 0;
    flex-direction: column;
    margin: 0;
    padding: calc(66px + clamp(10px, 1.8svh, 16px)) 0 clamp(20px, 3svh, 30px);
    overflow: hidden;
  }

  body[data-iteration="v1-2"] .intro,
  body[data-iteration="v1-2"][data-chrome="hidden"] .intro {
    width: calc(100% - (var(--mobile-expertise-gutter) * 2));
    flex: 0 0 auto;
    margin: 0 auto clamp(9px, 1.35svh, 13px);
    opacity: 1;
    transform: none;
  }

  body[data-iteration="v1-2"] .intro .eyebrow {
    margin-bottom: 5px;
    color: var(--orange);
    font-size: 7px;
    letter-spacing: .18em;
  }

  body[data-iteration="v1-2"] .intro h1 {
    max-width: 18ch;
    color: #fff;
    font-size: clamp(24px, 6.9vw, 34px);
    line-height: 1.04;
    text-wrap: balance;
  }

  body[data-iteration="v1-2"] .intro h1 em {
    display: block;
    margin-top: 2px;
    white-space: nowrap;
  }

  body[data-iteration="v1-2"] .experience {
    width: 100%;
    min-width: 0;
    min-height: 0;
    flex: 0 0 auto;
  }

  body[data-iteration="v1-2"] .stage,
  body[data-iteration="v1-2"] .toolbar,
  body[data-iteration="v1-2"] .detail,
  body[data-iteration="v1-2"] .interaction-hint {
    display: none !important;
  }

  body[data-iteration="v1-2"] .chapter-next {
    display: none;
  }

  .mobile-rolodex {
    position: relative;
    display: grid;
    width: 100%;
    height: auto;
    min-width: 0;
    min-height: 0;
    align-content: start;
    padding: 0 var(--mobile-expertise-gutter);
    grid-template-rows: clamp(326px, 41.5svh, 360px) auto;
    gap: 0;
  }

  .mobile-rolodex-deck {
    position: relative;
    width: 100%;
    min-width: 0;
    min-height: 0;
    isolation: isolate;
    touch-action: pan-y;
  }

  .mobile-service-card {
    position: absolute;
    z-index: 1;
    inset: 0;
    display: grid;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: clamp(15px, 4.3vw, 20px);
    color: #fff;
    background: #091421;
    box-shadow:
      0 28px 58px -24px rgba(0, 0, 0, .88),
      0 18px 44px -38px rgba(255, 124, 59, .72);
    grid-template-rows: minmax(0, 1fr) auto;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px) scale(.986);
    transition:
      opacity 360ms ease,
      transform 620ms cubic-bezier(.16, 1, .3, 1),
      border-color 320ms ease;
    text-decoration: none;
    will-change: transform, opacity;
  }

  .mobile-service-card.is-before,
  .mobile-service-card.is-after,
  .mobile-service-card.is-next {
    opacity: 0;
    transform: translateY(10px) scale(.986);
  }

  .mobile-service-card.is-active {
    z-index: 8;
    border-color: rgba(255, 255, 255, .15);
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .mobile-service-card:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
  }

  .mobile-service-media {
    position: relative;
    display: block;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    background: #111c2b;
  }

  .mobile-service-media img,
  .mobile-service-media video {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .mobile-service-card[data-index="0"] .mobile-service-media img,
  .mobile-service-card[data-index="0"] .mobile-service-media video {
    object-position: 68% 32%;
  }

  .mobile-service-media video {
    z-index: 1;
    opacity: 0;
    transition: opacity 360ms ease;
  }

  .mobile-service-card.is-active.is-playing .mobile-service-media video {
    opacity: 1;
  }

  .mobile-service-media::after {
    content: "";
    position: absolute;
    z-index: 2;
    inset: 0;
    background:
      linear-gradient(180deg, rgba(7, 14, 25, .02) 55%, rgba(7, 14, 25, .34) 100%),
      linear-gradient(90deg, rgba(7, 14, 25, .15), transparent 62%);
    pointer-events: none;
  }

  .mobile-service-body {
    position: relative;
    z-index: 3;
    display: grid;
    min-width: 0;
    padding: 12px 14px 14px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    background:
      linear-gradient(110deg, rgba(255, 124, 59, .1), transparent 36%),
      #091421;
  }

  .mobile-service-label {
    margin: 0 0 4px;
    color: #ff9b61;
    font-size: 7px;
    font-weight: 800;
    letter-spacing: .18em;
    line-height: 1.2;
    text-transform: uppercase;
  }

  .mobile-service-title {
    max-width: none;
    margin: 0;
    color: #fff;
    font-size: clamp(24px, 6.4vw, 30px);
    font-weight: 690;
    letter-spacing: -.046em;
    line-height: .98;
    text-wrap: balance;
  }

  .mobile-service-title em {
    color: var(--orange);
    font-style: normal;
  }

  .mobile-service-description {
    display: -webkit-box;
    max-width: 52ch;
    margin: 7px 0 0;
    overflow: hidden;
    color: #fff;
    font-size: clamp(10.5px, 2.75vw, 12.5px);
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .mobile-service-points {
    display: none;
  }

  .mobile-service-action {
    display: flex;
    width: 100%;
    min-height: 38px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
    padding: 0 13px;
    border: 1px solid rgba(255, 173, 125, .94);
    border-radius: 999px;
    color: #08101c;
    background: var(--orange);
    font-size: 10px;
    font-weight: 800;
  }

  .mobile-service-action span:last-child {
    font-size: 17px;
    line-height: 1;
  }

  .mobile-rolodex-index {
    position: relative;
    z-index: 10;
    display: grid;
    width: 100%;
    min-width: 0;
    margin-top: clamp(15px, 1.9svh, 19px);
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: clamp(58px, 7svh, 66px);
  }

  .mobile-rolodex-tab {
    position: relative;
    display: flex;
    width: 100%;
    min-width: 0;
    min-height: 0;
    align-items: flex-start;
    margin: 0;
    padding: 14px clamp(11px, 3.25vw, 16px) 9px;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    color: #fff;
    background: transparent;
    text-align: left;
    cursor: pointer;
    touch-action: manipulation;
    transition:
      color 240ms ease,
      background 360ms ease;
  }

  .mobile-rolodex-tab:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, .14);
  }

  .mobile-rolodex-tab:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, .08);
  }

  .mobile-rolodex-tab::before {
    content: "";
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 0;
    width: 3px;
    background: var(--orange);
    opacity: 0;
    transform: scaleY(.2);
    transform-origin: 50% 50%;
    transition:
      opacity 220ms ease,
      transform 460ms cubic-bezier(.16, 1, .3, 1);
  }

  .mobile-rolodex-tab-title {
    max-width: 15ch;
    color: inherit;
    font-size: clamp(11px, 3.1vw, 13.5px);
    font-weight: 650;
    letter-spacing: .025em;
    line-height: 1.08;
    text-transform: uppercase;
    text-wrap: balance;
  }

  .mobile-rolodex-tab-state {
    display: none;
  }

  .mobile-rolodex-tab[aria-current="true"] {
    color: var(--orange);
    background:
      linear-gradient(100deg, rgba(255, 124, 59, .13), rgba(255, 124, 59, .025) 66%, transparent);
  }

  .mobile-rolodex-tab[aria-current="true"]::before {
    opacity: 1;
    transform: scaleY(1);
  }

  .mobile-rolodex-tab:focus-visible {
    z-index: 2;
    outline: 2px solid #fff;
    outline-offset: -3px;
  }

  body[data-motion="off"] .mobile-service-card,
  body[data-motion="off"] .mobile-service-media video,
  body[data-motion="off"] .mobile-rolodex-tab,
  body[data-motion="off"] .mobile-rolodex-tab::before,
  body[data-motion="off"] .mobile-rolodex-tab-state {
    transition: none;
  }
}

@media (max-width: 899px) and (max-height: 820px) and (orientation: portrait) {
  body[data-iteration="v1-2"] .chapter-hero .page,
  body[data-iteration="v1-2"][data-chrome="hidden"] .chapter-hero .page {
    padding-top: calc(66px + 9px);
  }

  body[data-iteration="v1-2"] .intro,
  body[data-iteration="v1-2"][data-chrome="hidden"] .intro {
    margin-bottom: 8px;
  }

  body[data-iteration="v1-2"] .intro h1 {
    font-size: clamp(23px, 6.7vw, 29px);
  }

  .mobile-rolodex {
    grid-template-rows: clamp(304px, 40.5svh, 326px) auto;
  }

  .mobile-service-body {
    padding: 10px 12px 12px;
  }

  .mobile-service-title {
    font-size: clamp(22px, 6vw, 27px);
  }

  .mobile-service-description {
    margin-top: 5px;
    font-size: clamp(10px, 2.65vw, 12px);
  }

  .mobile-service-action {
    min-height: 34px;
    margin-top: 8px;
  }

  .mobile-rolodex-index {
    margin-top: 12px;
    grid-auto-rows: clamp(54px, 6.8svh, 58px);
  }

}

@media (max-width: 899px) and (orientation: landscape) and (max-height: 500px) {
  body[data-iteration="v1-2"] .chapter-hero {
    height: auto;
    min-height: 100svh;
  }

  body[data-iteration="v1-2"] .chapter-hero .page,
  body[data-iteration="v1-2"][data-chrome="hidden"] .chapter-hero .page {
    height: 100svh;
    min-height: 100svh;
    padding: 66px 12px 8px;
  }

  body[data-iteration="v1-2"] .intro,
  body[data-iteration="v1-2"][data-chrome="hidden"] .intro {
    display: none;
  }

  .mobile-rolodex {
    height: calc(100svh - 88px);
    padding: 0;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
    grid-template-rows: minmax(0, 1fr);
    gap: 12px;
  }

  .mobile-rolodex-deck {
    min-height: 0;
  }

  .mobile-service-card {
    border-radius: 15px;
  }

  .mobile-service-body {
    padding: 9px 11px 10px;
  }

  .mobile-service-label {
    margin-bottom: 3px;
    font-size: 6px;
  }

  .mobile-service-title {
    font-size: clamp(19px, 3vw, 26px);
  }

  .mobile-service-description {
    margin-top: 4px;
    font-size: 9px;
    -webkit-line-clamp: 1;
  }

  .mobile-service-action {
    min-height: 30px;
    margin-top: 6px;
    padding-inline: 10px;
    font-size: 8px;
  }

  .mobile-rolodex-index {
    align-self: stretch;
    margin-top: 0;
    grid-auto-rows: minmax(0, 1fr);
  }

  .mobile-rolodex-tab {
    padding: 10px;
  }

  .mobile-rolodex-tab-title {
    font-size: clamp(9px, 1.35vw, 11px);
  }

}

@media (prefers-reduced-motion: reduce) {
  .mobile-service-card,
  .mobile-service-media video,
  .mobile-rolodex-tab,
  .mobile-rolodex-tab::before,
  .mobile-rolodex-tab-state {
    transition: none;
  }
}
