@media (max-width: 1180px) {
  .problem-grid,
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .future-timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .future-timeline::before {
    display: none;
  }

  .journey-line {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .journey-line::before {
    inset-block: 6% 6%;
    inset-inline-start: 50%;
    inset-inline-end: auto;
    width: 3px;
    height: auto;
  }

  .journey-line li::after {
    inset-inline-end: 50%;
    top: auto;
    bottom: -11px;
    transform: translateX(50%) rotate(-135deg);
  }
}

@media (max-width: 980px) {
  .presentation-chrome {
    inset-inline: 16px;
    inset-block-start: 14px;
  }

  .chrome-brand span {
    display: none;
  }

  .section-dots {
    inset-inline: 50%;
    inset-block: auto 18px;
    transform: translateX(50%);
    grid-auto-flow: column;
  }

  .section-dots button.is-active {
    width: 32px;
    height: 12px;
  }

  .section-shell {
    width: min(100% - 36px, 760px);
  }

  .section-shell--split {
    grid-template-columns: 1fr;
  }

  .ecosystem-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .ecosystem-card,
  .ecosystem-card--featured {
    transform: none;
    min-height: auto;
  }

  .ecosystem-card:hover {
    transform: translateY(-6px);
  }

  .unified-gateway {
    grid-template-columns: 1fr;
  }

  .gateway-visual {
    min-height: 360px;
  }

  .gateway-content h3 {
    font-size: clamp(2rem, 8vw, 3.8rem);
  }

  .solution-orbit {
    aspect-ratio: auto;
    min-height: 680px;
  }

  .solution-lines {
    display: none;
  }

  .solution-orbit__center {
    width: 210px;
  }

  .orbit-node {
    min-width: 96px;
  }

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

  .modal__image {
    max-height: 260px;
    object-fit: contain;
  }

  .modal__content {
    padding-inline-end: 0;
  }
}

@media (max-width: 720px) {
  .presentation-chrome {
    gap: 10px;
  }

  .icon-button {
    width: 38px;
    height: 38px;
  }

  .slide {
    min-height: 100svh;
  }

  .hero-stage,
  .closing-stage {
    width: min(100% - 28px, 640px);
    padding-block: 104px 76px;
  }

  .intro-sequence,
  .closing-sequence {
    min-height: 460px;
  }

  .sequence-line,
  .closing-line {
    font-size: clamp(2rem, 11vw, 4rem);
  }

  .primary-cta {
    width: min(100%, 300px);
  }

  .section-shell {
    width: min(100% - 28px, 560px);
    padding-block: 96px 86px;
  }

  .section-heading {
    margin-block-end: 24px;
  }

  .problem-grid,
  .why-grid,
  .future-timeline {
    grid-template-columns: 1fr;
  }

  .problem-card--wide {
    grid-column: auto;
  }

  .problem-card,
  .timeline-item,
  .why-card {
    min-height: auto;
  }

  .service-card {
    grid-template-columns: 70px 1fr;
    min-height: 116px;
    padding: 18px;
  }

  .service-card img {
    width: 70px;
  }

  .unified-gateway {
    padding: 18px;
  }

  .gateway-visual {
    min-height: 300px;
  }

  .gateway-preview--main {
    width: min(88%, 340px);
  }

  .gateway-preview--clinic,
  .gateway-preview--school {
    width: min(50%, 190px);
  }

  .gateway-content {
    gap: 16px;
  }

  .gateway-content p,
  .gateway-system span {
    line-height: 1.85;
  }

  .gateway-more span {
    font-size: 0.82rem;
  }

  .stakeholder-halo {
    width: min(100%, 430px);
  }

  .stakeholder-halo > span {
    min-width: 74px;
    min-height: 40px;
    padding: 8px 10px;
    font-size: 0.86rem;
  }

  .journey-line {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .journey-line::before {
    inset-block: 4%;
  }

  .journey-line li {
    min-height: 106px;
  }

  .journey-line span {
    width: min(100%, 260px);
    aspect-ratio: auto;
    min-height: 72px;
    border-radius: 999px;
  }

  .modal {
    padding: 14px;
  }

  .modal__panel {
    border-radius: 22px;
    max-height: calc(100svh - 28px);
  }
}

@media (max-width: 520px) {
  .section-dots {
    display: none;
  }

  .section-kicker {
    font-size: 0.88rem;
  }

  .section-heading h2,
  .section-copy h2 {
    font-size: clamp(2rem, 12vw, 3.2rem);
    line-height: 1.42;
  }

  .section-copy p {
    font-size: 1rem;
    line-height: 2.08;
  }

  .hero-lockup h1 {
    font-size: clamp(2.35rem, 14vw, 4.5rem);
  }

  .hero-lockup p,
  .closing-final p {
    font-size: 1.04rem;
  }

  .closing-final h2 {
    font-size: clamp(2rem, 12vw, 4rem);
    line-height: 1.42;
  }

  .solution-orbit {
    min-height: 620px;
  }

  .solution-orbit__center {
    width: 176px;
  }

  .gateway-visual {
    min-height: 250px;
  }

  .gateway-badge {
    min-height: 34px;
    padding: 6px 12px;
    font-size: 0.82rem;
  }

  .gateway-content h3 {
    font-size: clamp(2rem, 12vw, 3.35rem);
  }

  .gateway-systems {
    gap: 10px;
  }

  .gateway-system {
    padding: 12px;
  }

  .orbit-node {
    min-width: 78px;
    min-height: 44px;
    padding: 8px 10px;
    font-size: 0.86rem;
  }
}

@media (max-height: 700px) and (min-width: 721px) {
  .hero-stage,
  .closing-stage {
    padding-block: 86px 38px;
  }

  .intro-sequence,
  .closing-sequence {
    min-height: 398px;
  }

  .sequence-line--final,
  .closing-final {
    gap: 14px;
  }

  .hero-logo {
    width: clamp(94px, 12vw, 136px);
  }

  .hero-lockup h1 {
    font-size: clamp(2.65rem, 6.4vw, 4.9rem);
  }

  .hero-lockup p {
    font-size: clamp(1rem, 1.5vw, 1.24rem);
    line-height: 1.82;
  }

  .primary-cta {
    min-height: 48px;
    padding-block: 10px;
  }

  .section-shell {
    padding-block: 64px 26px;
  }

  .section-heading {
    margin-block-end: 14px;
  }

  .section-heading h2,
  .section-copy h2 {
    font-size: clamp(1.78rem, 3.25vw, 2.72rem);
    line-height: 1.34;
  }

  .section-copy p {
    margin-block-start: 14px;
    font-size: 1rem;
    line-height: 1.96;
  }

  .stakeholder-halo {
    width: min(330px, 100%);
  }

  .stakeholder-halo__center {
    inset: 31%;
    padding: 14px;
  }

  .stakeholder-halo__center img {
    width: 42px;
  }

  .stakeholder-halo > span {
    min-width: 76px;
    min-height: 38px;
    padding: 7px 10px;
    font-size: 0.86rem;
    line-height: 1.35;
  }

  .problem-grid,
  .why-grid,
  .services-grid {
    gap: 12px;
  }

  .problem-grid,
  .why-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .problem-card {
    min-height: 128px;
    padding: 14px;
    gap: 8px;
  }

  .problem-card__number,
  .why-card span {
    width: 34px;
    height: 34px;
  }

  .problem-card p,
  .ecosystem-card p,
  .timeline-item p {
    font-size: 0.86rem;
    line-height: 1.68;
  }

  .solution-orbit {
    width: min(760px, 100%);
    max-height: 342px;
  }

  .solution-orbit__center {
    width: 184px;
  }

  .orbit-node {
    min-width: 84px;
    min-height: 42px;
    padding: 8px 10px;
    font-size: 0.88rem;
  }

  .ecosystem-grid {
    gap: 14px;
  }

  .unified-gateway {
    grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
    gap: 14px;
    padding: 12px;
    border-radius: 22px;
  }

  .gateway-visual {
    min-height: 260px;
  }

  .gateway-preview {
    border-radius: 16px;
  }

  .gateway-preview--main {
    width: min(86%, 270px);
  }

  .gateway-preview--clinic,
  .gateway-preview--school {
    width: min(48%, 132px);
  }

  .gateway-badge {
    min-height: 34px;
    padding: 6px 12px;
    font-size: 0.8rem;
  }

  .gateway-content {
    gap: 7px;
  }

  .gateway-content h3 {
    font-size: clamp(1.55rem, 2.7vw, 2.2rem);
  }

  .gateway-content p {
    font-size: 0.8rem;
    line-height: 1.48;
  }

  .gateway-systems {
    gap: 8px;
  }

  .gateway-system {
    gap: 3px;
    padding: 7px 9px;
    border-radius: 12px;
  }

  .gateway-system strong {
    font-size: 0.84rem;
    line-height: 1.26;
  }

  .gateway-system span {
    font-size: 0.72rem;
    line-height: 1.38;
  }

  .gateway-more {
    gap: 6px;
  }

  .gateway-more span {
    min-height: 24px;
    padding: 4px 8px;
    font-size: 0.68rem;
  }

  .ecosystem-card {
    min-height: 0;
    gap: 12px;
    padding: 14px;
    border-radius: 22px;
  }

  .ecosystem-card img {
    max-height: 132px;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
  }

  .ecosystem-card div {
    gap: 10px;
  }

  .ecosystem-card h3,
  .timeline-item h3,
  .why-card h3,
  .problem-card h3 {
    font-size: 0.98rem;
    line-height: 1.46;
  }

  .text-link {
    font-size: 0.92rem;
  }

  .service-card {
    grid-template-columns: 58px 1fr;
    min-height: 88px;
    gap: 12px;
    padding: 14px;
  }

  .service-card img {
    width: 58px;
  }

  .service-card span {
    font-size: 1rem;
    line-height: 1.58;
  }

  .journey-line {
    --step-size: 92px;
    gap: 10px;
  }

  .journey-line li {
    min-height: 92px;
  }

  .journey-line span {
    padding: 12px;
    font-size: 0.9rem;
    line-height: 1.58;
  }

  .why-card {
    min-height: 118px;
    padding: 18px;
    gap: 12px;
  }

  .future-timeline {
    gap: 12px;
  }

  .timeline-item {
    min-height: 166px;
    gap: 12px;
    padding: 16px;
  }

  .timeline-item > span {
    width: 44px;
    height: 44px;
    border-width: 3px;
  }
}
