body.transformation-page {
  min-height: 100vh;
  overflow: hidden;
  background: #0B0F1A;
}

.transformation-page .emphasis {
  color: var(--accent);
  font-style: italic;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.transformation-page main {
  position: relative;
}

.transformation-page .section-heading {
  margin-bottom: 24px;
  width: 100%;
  display: flex;
  justify-content: flex-start;
}

.transformation-page .section-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.transformation-page .service-screen {
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at top center, rgba(201, 166, 70, 0.05) 0%, rgba(11, 15, 26, 0) 32%),
    #0B0F1A;
  transform: translateY(100%);
  visibility: hidden;
  z-index: 1;
  overflow: hidden;
}

.transformation-page .service-screen.panel-active,
.transformation-page .service-screen.panel-entering {
  visibility: visible;
}

.transformation-page .service-screen.panel-active {
  transform: translateY(0);
  z-index: 2;
}

.transformation-page .service-screen.panel-above {
  transform: translateY(-100%);
}

.transformation-page .service-screen.panel-below {
  transform: translateY(100%);
}

.transformation-page .service-screen.panel-entering {
  z-index: 3;
  transition: transform 0.75s ease;
}

.service-shell {
  width: 100%;
  padding: 48px 0;
}

.service-shell h1,
.service-shell h2 {
  max-width: 860px;
  margin-bottom: 22px;
  font-size: clamp(2rem, 4.2vw, 3.8rem);
  line-height: 1.08;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.96);
}

.nowrap {
  white-space: nowrap;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.78fr);
  gap: 52px;
  align-items: center;
}

.hero-copy p,
.section-body,
.section-closing {
  max-width: 740px;
  font-size: 1.04rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
}

.hero-copy p+p,
.section-body+.section-body,
.service-list+.section-closing {
  margin-top: 16px;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-visual-mobile {
  display: none;
}

.service-side-visual-mobile {
  display: none;
}

.hero-inline-visual,
.hero-inline-image {
  display: none;
}

@media (min-width: 769px) {

  .hero-visual.hero-visual-mobile,
  .service-side-visual.service-side-visual-mobile,
  .hero-inline-visual {
    display: none !important;
  }
}

.hero-visual-image {
  width: min(100%, 430px);
  height: min(66vh, 520px);
  border-radius: 28px;
  background-size: cover;
  background-position: center;
  opacity: 0.34;
  position: relative;
  overflow: hidden;
}

.hero-visual-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 15, 26, 0.04) 0%, rgba(11, 15, 26, 0.12) 55%, rgba(11, 15, 26, 0.24) 100%);
}

.text-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-do-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.78fr);
  gap: 48px;
  align-items: center;
}

.service-outcomes-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.78fr);
  gap: 48px;
  align-items: center;
}

.service-side-visual {
  display: flex;
  justify-content: center;
}

.service-side-visual-image {
  width: min(100%, 430px);
  height: min(66vh, 520px);
  border-radius: 28px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.service-list {
  list-style: none;
  display: grid;
  gap: 14px;
  margin-top: 28px;
  max-width: 760px;
}

.service-list li {
  position: relative;
  padding-left: 22px;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.76);
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(201, 166, 70, 0.85);
}

.steps-grid {
  display: flex;
  align-items: stretch;
  gap: 14px;
  margin-top: 32px;
}

/* Desktop: wrapper is transparent so existing flex styles work as before */
.dt-film-strip {
  position: relative;
  margin-top: 32px;
}

.dt-film-track {
  margin-top: 0;
}

.dt-steps-progress {
  display: none;
}

.service-step {
  flex: 1 1 0;
  min-width: 0;
  min-height: 280px;
  padding: 20px 16px 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-top: 1px solid rgba(201, 166, 70, 0.24);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  opacity: 0.36;
  transform: scale(0.92);
  transform-origin: center center;
  transition: flex 0.8s ease, opacity 0.7s ease, transform 0.8s ease, border-color 0.35s ease;
}

.step-number {
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent);
}

.service-step h3 {
  margin-bottom: 12px;
  font-size: 1.02rem;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.94);
}

.service-step p {
  font-size: 0.88rem;
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.62);
}

.service-step.is-active {
  flex: 2.15 1 0;
  opacity: 1;
  transform: scale(1.02);
  border-top-color: rgba(201, 166, 70, 0.58);
  border-bottom-color: rgba(201, 166, 70, 0.18);
}

.service-step.is-active h3 {
  font-size: 1.28rem;
}

.service-step.is-active p {
  font-size: 0.97rem;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.74);
}

.final-shell {
  display: grid;
  grid-template-rows: 1fr 1fr;
  min-height: calc(100vh - 80px);
  height: calc(100vh - 80px);
  padding-top: 0;
}

.final-top {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 88px 0 8px;
}

.final-top h2 {
  max-width: 920px;
}

.final-top p {
  margin-bottom: 28px;
  font-size: 1.06rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.66);
}

.footer-shell {
  display: flex;
  align-items: flex-start;
}

.footer-shell .final-footer {
  width: 100%;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 32px;
  align-content: start;
  padding: 8px 0 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-shell .footer-column h3,
.footer-shell .footer-column h4 {
  margin-bottom: 14px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

.footer-shell .footer-column p,
.footer-shell .footer-column li,
.footer-shell .footer-column a {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.54);
  text-decoration: none;
}

.footer-shell .footer-column ul {
  list-style: none;
}

.footer-shell .footer-column a:hover {
  color: rgba(255, 255, 255, 0.82);
}

.footer-shell .footer-bottom {
  grid-column: 1 / -1;
  padding-top: 10px;
}

.footer-shell .footer-bottom p {
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
  body.transformation-page {
    overflow: auto;
    scroll-snap-type: y mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .transformation-page .service-screen {
    position: relative;
    top: auto;
    height: auto;
    min-height: calc(100vh - 72px);
    padding: 0;
    transform: none;
    visibility: visible;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .transformation-page .service-screen.panel-active,
  .transformation-page .service-screen.panel-entering,
  .transformation-page .service-screen.panel-above,
  .transformation-page .service-screen.panel-below {
    transform: none;
  }

  .service-shell {
    padding: 22px 0;
  }

  .service-shell h1,
  .service-shell h2 {
    max-width: 16ch;
    margin: 0 auto 14px;
    font-size: clamp(1.7rem, 6.9vw, 2rem);
    line-height: 1.04;
    text-align: center;
  }

  .hero-copy p,
  .section-body,
  .section-closing {
    width: calc(100% - 24px);
    max-width: none;
    margin-left: 12px;
    margin-right: 12px;
    font-size: 14px;
    line-height: 1.72;
    text-align: left;
  }

  .hero-layout,
  .service-do-layout,
  .service-outcomes-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hero-layout {
    align-content: center;
    gap: 0;
    padding-top: calc(72px + max(14px, env(safe-area-inset-top)));
  }

  /* ---- Mobile film-strip for "How we work" ---- */
  .dt-film-strip {
    position: relative;
    width: 100%;
    height: min(400px, calc(100svh - 240px));
    overflow: hidden;
    padding: 12px 0 44px;
    margin-top: 18px;
    touch-action: pan-y pinch-zoom;
  }

  .dt-film-track {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch;
    gap: 14px;
    height: 100%;
    padding: 0 12vw;
    margin-top: 0;
    transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
  }

  .dt-film-track .service-step {
    flex: 0 0 76vw !important;
    min-width: 76vw;
    min-height: 100%;
    padding: 26px 22px 28px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.92), rgba(7, 11, 20, 0.98));
    opacity: 0.5;
    transform: scale(0.92);
    transition:
      opacity 0.6s ease,
      transform 0.6s ease,
      border-color 0.4s ease,
      box-shadow 0.4s ease;
  }

  .dt-film-track .service-step.is-active {
    opacity: 1;
    transform: scale(1.02);
    border-color: rgba(201, 166, 70, 0.7);
    box-shadow:
      0 22px 44px rgba(0, 0, 0, 0.28),
      inset 0 0 0 1px rgba(201, 166, 70, 0.14);
  }

  .dt-film-track .service-step h3,
  .dt-film-track .service-step.is-active h3 {
    font-size: 22px;
    line-height: 1.12;
  }

  .dt-film-track .service-step p,
  .dt-film-track .service-step.is-active p {
    font-size: 15px;
    line-height: 1.58;
  }

  .dt-steps-progress {
    display: block;
    position: absolute;
    left: 50%;
    bottom: 0;
    min-width: 84px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(11, 15, 26, 0.72);
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-align: center;
    transform: translateX(-50%);
    backdrop-filter: blur(12px);
  }

  .hero-copy,
  .text-section {
    order: 1;
  }

  .hero-copy,
  .text-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
  }

  .hero-visual,
  .service-side-visual {
    order: 2;
    justify-content: center;
    margin-top: 16px;
  }

  .transformation-page .section-heading {
    width: 100%;
    align-self: stretch;
    justify-content: flex-start;
    margin-bottom: 16px;
    text-align: left;
  }

  .hero-copy h1 {
    max-width: 15ch;
    margin-bottom: 14px;
    font-size: clamp(1.7rem, 6.9vw, 2rem);
    line-height: 1.03;
    letter-spacing: -0.025em;
    text-align: center;
  }

  .hero-intro {
    font-size: 15px;
    line-height: 1.68;
    color: rgba(255, 255, 255, 0.78);
  }

  .hero-support {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.64);
  }

  .hero-closing {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.62;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.82);
  }

  .hero-layout>.hero-visual:not(.hero-visual-mobile) {
    display: none;
  }

  .service-do-layout>.service-side-visual:not(.service-side-visual-mobile),
  .service-outcomes-layout>.service-side-visual:not(.service-side-visual-mobile) {
    display: none;
  }

  .hero-visual-image {
    width: min(88%, 280px);
    max-width: 280px;
    height: auto;
    aspect-ratio: 4 / 5;
    border-radius: 18px;
    opacity: 0.46;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
  }

  .service-side-visual-image {
    width: min(88%, 280px);
    max-width: 280px;
    height: auto;
    aspect-ratio: 4 / 5;
    border-radius: 18px;
    opacity: 0.5;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  }

  .service-side-visual-mobile {
    display: flex;
    order: 0;
    justify-content: center;
    width: 100%;
    margin: 16px 0 18px;
  }

  .hero-inline-visual {
    display: flex;
  }

  .hero-inline-image {
    display: block;
  }

  .service-list {
    width: min(100%, 36ch);
    gap: 10px;
    margin: 18px auto 0;
  }

  .service-list li {
    padding-left: 18px;
    font-size: 14px;
    line-height: 1.62;
    text-align: left;
  }

  .service-list li::before {
    top: 9px;
    width: 7px;
    height: 7px;
  }

  .final-top {
    align-items: center;
    text-align: center;
  }

  .final-top .btn {
    width: min(88%, 280px);
    align-self: center;
  }

  .final-shell {
    grid-template-rows: auto auto;
    gap: 18px;
    height: auto;
    min-height: calc(100vh - 72px);
  }

  .final-top {
    padding: 24px 0 4px;
  }

  .final-top p {
    margin-bottom: 18px;
    font-size: 15px;
    line-height: 1.6;
  }

  .footer-shell .final-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding: 18px 0 10px;
  }

  .footer-shell .footer-column h3,
  .footer-shell .footer-column h4 {
    margin-bottom: 10px;
    font-size: 14px;
  }

  .footer-shell .footer-column p,
  .footer-shell .footer-column li,
  .footer-shell .footer-column a {
    font-size: 13px;
    line-height: 1.55;
  }
}

@media (max-width: 560px) {
  .footer-shell .final-footer {
    grid-template-columns: 1fr;
  }
}