@media (max-width: 759px) {
  .context-update { --header: 100px; }
  .context-update .wrap { width: min(100% - 32px, 600px); }
  .context-update .section { padding-block: 38px; }
  .context-update [id] { scroll-margin-top: 20px; }

  .business-header .business-header-main {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    grid-template-areas: "contacts contacts" "menu brand";
    width: min(100% - 32px, 600px);
    min-height: var(--header);
    gap: 4px 10px;
    padding-block: 0 8px;
  }

  .business-header .business-brand { grid-area: brand; gap: 9px; }
  .business-header .business-brand img { width: 28px; height: 36px; }
  .business-header .business-brand .institution-name {
    font-size: clamp(11px, 3.1vw, 13px);
    line-height: 1.28;
  }
  .context-update .business-header .business-brand .institution-name small { display: none; }
  .business-header .business-header-cta { display: none; }
  .business-header .header-contacts {
    grid-area: contacts;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    gap: 8px;
    margin: 0;
    border-bottom: 1px solid #e3e9f6;
    color: #263653;
  }
  .business-header .header-contacts a {
    min-height: 44px;
  }
  .business-header .header-contacts a[href^="mailto:"] {
    font-size: 13px;
    font-weight: 600;
  }
  .business-header .menu-toggle {
    grid-area: menu;
    width: 44px;
    min-height: 44px;
    margin: 0;
    border: 1px solid #dce4f5;
    border-radius: 11px;
  }

  .business-header.menu-open #institute-nav.header-nav {
    top: 100%;
    inset-inline: 0;
    width: auto;
    max-height: min(72dvh, 620px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .business-header #institute-nav.header-nav > .mobile-nav-clinic {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid #c5cff2;
    border-radius: 10px;
    background: #f6f8fd;
    color: #3049bc;
    font-size: 14px;
    font-weight: 650;
    text-decoration: none;
  }

  .context-update .opening-screen .hero.wrap {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    gap: 0;
    padding-block: 16px 0;
  }
  .context-update .opening-screen .hero-copy { display: contents; }
  .context-update .opening-screen .hero h1 {
    max-width: 100%;
    margin: 0;
    color: var(--ink);
    font-size: clamp(37px, 11vw, 62px);
    font-weight: 550;
    letter-spacing: -.052em;
    line-height: 1.06;
    text-align: center;
  }
  .context-update .opening-screen .hero h1 span,
  .context-update .opening-screen .hero h1 .hero-title-accent {
    display: block;
    color: var(--ink);
    background: none;
    font-weight: inherit;
    -webkit-text-fill-color: currentColor;
    animation: none;
  }
  .context-update .opening-screen .hero h1 .hero-title-accent {
    margin-inline: auto;
    color: var(--blue);
    font-weight: 640;
  }
  .context-update .opening-screen .hero-description {
    max-width: 42ch;
    margin: 12px auto 0;
    font-size: 15px;
    line-height: 1.5;
    text-align: center;
    text-wrap: pretty;
  }
  .context-update .opening-screen .hero .actions {
    order: 2;
    width: 100%;
    margin: 8px 0 0;
    gap: 8px;
  }
  .context-update .opening-screen .hero .actions > .button {
    width: 100%;
    min-height: 48px;
    border-radius: 11px;
    padding-inline: 12px;
    text-align: center;
  }
  .context-update .opening-screen .hero .actions > .text-link {
    display: flex;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid #c5cff2;
    border-radius: 11px;
    background: #fff;
    color: #344abd;
    text-align: center;
  }
  .context-update .opening-screen .hero-maze-visual {
    order: 1;
    width: 100%;
    max-width: 440px;
    margin: 6px auto 0;
    mask-image:
      linear-gradient(to right, transparent, #000 2%, #000 98%, transparent),
      linear-gradient(to bottom, transparent, #000 3%, #000 97%, transparent);
  }
  /* Fill the mobile frame by cropping the white margins around the maze. */
  .context-update .opening-screen .hero-visual img.hero-brain-maze {
    width: 142%;
    max-width: none;
    height: auto;
  }
  .context-update .opening-screen .hero-requests {
    order: 3;
    width: 100%;
    max-width: none;
    margin: 12px 0 0;
    padding: 12px 14px 3px;
    border-radius: 14px;
    background: #f6f8fd;
    text-align: left;
  }
  .context-update .opening-screen .hero-requests a {
    min-block-size: 44px;
    padding-inline: 3px;
    font-size: 14px;
  }
  .context-update .opening-screen .approach-brief {
    min-height: 0;
    margin-top: 14px;
    padding: 16px;
    border-radius: 14px;
    gap: 7px;
  }
  .context-update .opening-screen .approach-brief h2 { font-size: clamp(20px, 5.8vw, 25px); }
  .context-update .opening-screen .approach-brief > p { font-size: 14px; line-height: 1.57; }
}

@media (max-width: 374px) and (max-height: 640px) {
  .context-update .opening-screen .hero.wrap { padding-block-start: 12px; }
  .context-update .opening-screen .hero h1 { font-size: 34px; }
  .context-update .opening-screen .hero-description { margin-top: 8px; font-size: 14px; }
  .context-update .opening-screen .hero-maze-visual { max-width: 248px; margin-top: 4px; }
  .context-update .opening-screen .hero .actions { margin-top: 6px; }
}

@media (max-width: 759px) {
  #services > .heading,
  #routes .heading,
  #partners .heading,
  #cases > .heading {
    margin-block-end: 18px;
  }

  #services > .heading h2,
  #routes .heading h2,
  #partners .heading h2,
  #cases > .heading h2 {
    color: var(--ink);
    font-size: clamp(26px, 6.4vw, 35px);
    line-height: 1.15;
    letter-spacing: -.035em;
  }

  /* Keep all four services in reading order, without a horizontal rail. */
  #services .service-scroll-actions {
    display: none;
  }

  #services .service-rail {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-flow: row;
    grid-auto-columns: auto;
    gap: 12px;
    margin: 0;
    padding: 0;
    overflow: visible;
    scroll-snap-type: none;
    overscroll-behavior-x: auto;
  }

  #services .service-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(65px, 21vw, 104px);
    grid-template-areas:
      "title image"
      "definition definition"
      "action action";
    align-items: center;
    gap: 7px 10px;
    min-height: 0;
    padding: 14px 15px;
    border: 1px solid #e0e6f2;
    border-radius: 17px;
    scroll-snap-align: none;
  }

  #services .service-card:hover {
    transform: none;
  }

  #services .service-card-copy {
    display: contents;
  }

  #services .service-card h3 {
    grid-area: title;
    font-size: clamp(18px, 4.6vw, 24px);
    font-weight: 720;
    line-height: 1.22;
  }

  #services .service-definition {
    grid-area: definition;
    font-size: 14.5px;
    line-height: 1.53;
    letter-spacing: 0;
  }

  #services .service-card-art {
    grid-area: image;
    width: 100%;
    height: clamp(55px, 16vw, 76px);
    min-height: 0;
    margin: 0;
    padding: 0;
  }

  #services .service-card-actions {
    grid-area: action;
    margin: 1px 0 0;
  }

  #services .service-card-actions .service-card-open {
    min-height: 44px;
    max-width: 100%;
    margin: 0;
    padding-inline: 13px;
  }

  /* The complete request card is the touch target. */
  #routes .request-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  #routes .request-card {
    display: grid;
    grid-column: auto;
    grid-template-columns: minmax(0, 1fr) 34px;
    grid-template-areas: "title action" "description action";
    align-items: center;
    column-gap: 12px;
    row-gap: 4px;
    min-height: 0;
    padding: 14px 14px 15px;
    border: 1px solid #dfe5f1;
    border-radius: 16px;
    background: #fff;
    color: var(--ink);
  }

  #routes .request-card:hover {
    border-color: #96a7da;
    transform: none;
  }

  #routes .request-card strong {
    grid-area: title;
    margin: 0;
    padding: 0;
    color: var(--ink);
    font-size: clamp(17px, 4.5vw, 21px);
    font-weight: 700;
    line-height: 1.27;
    letter-spacing: -.025em;
  }

  #routes .request-card .request-context {
    grid-area: description;
    margin: 0;
    color: var(--body-ink, var(--ink));
    font-size: 14px;
    line-height: 1.5;
  }

  #routes .request-context > span + span {
    margin-top: 4px;
  }

  #routes .request-card .request-plus {
    grid-area: action;
    place-self: center;
    width: 34px;
    height: 34px;
    margin: 0;
    background: #edf1fd;
    color: #344abd;
  }

  /* Keep the partner carousel when present and compact the static fallback. */
  #partners .partner-grid:not(.partners-track) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  #partners .partners-heading {
    align-items: center;
    gap: 8px 12px;
  }

  #partners .partners-track {
    --partner-gap: 10px;
    grid-auto-columns: calc((100% - var(--partner-gap)) / 2);
  }

  #partners .partner-card {
    flex-direction: column;
    justify-content: flex-start;
    gap: 7px;
    min-height: 0;
    padding: 12px 9px;
    border-radius: 15px;
    background: #fff;
    text-align: center;
  }

  #partners .partners-track .partner-card {
    align-content: center;
    justify-items: stretch;
    min-height: clamp(90px, 25vw, 113px);
  }

  #partners .partners-controls {
    gap: 6px;
  }

  #partners .partner-logo {
    flex: none;
    width: 100%;
    height: 50px;
  }

  #partners .partner-logo img {
    max-width: 100%;
    max-height: 50px;
  }

  #partners .partner-card h3 {
    min-height: 0;
    font-size: 13px;
    line-height: 1.34;
  }

  #partners .partner-name-only {
    grid-column: 1 / -1;
    justify-content: center;
    min-height: 45px;
  }

  #cases {
    padding-block-start: 40px;
  }

  #cases .case-collection {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  #cases .case-collection .project-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(107px, 34vw, 168px);
    grid-template-areas:
      "organization image"
      "title image"
      "outcome image";
    align-content: start;
    column-gap: 10px;
    row-gap: 5px;
    min-width: 0;
    padding: 14px 15px;
    border-radius: 17px;
  }

  #cases .case-collection a.project-card {
    grid-template-areas:
      "organization image"
      "title image"
      "outcome image"
      "open open";
    padding-block-end: 9px;
  }

  #cases .case-collection .case-topic-visual {
    grid-area: image;
    align-self: center;
    height: clamp(94px, 28vw, 132px);
    margin: 0;
    border-radius: 10px;
    overflow: hidden;
  }

  #cases .case-collection .case-topic-visual img {
    width: 100%;
    height: 100%;
    padding: 0;
    object-fit: contain;
  }

  #cases .case-collection .project-organization {
    grid-area: organization;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    color: #3049bc;
    font-size: 13px;
    font-weight: 760;
    line-height: 1.4;
  }

  #cases .case-collection .case-card-title {
    grid-area: title;
    margin: 0;
    color: var(--ink);
    font-size: clamp(17px, 4.5vw, 22px);
    line-height: 1.27;
    overflow-wrap: anywhere;
  }

  #cases .case-collection .case-card-outcome {
    grid-area: outcome;
    margin: 3px 0 0;
    font-size: 14px;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }

  #cases .case-collection .project-card.anonymous-case {
    position: relative;
    grid-template-areas:
      "organization image"
      "title image"
      "outcome image"
      "route route";
  }

  #cases .case-collection .case-route-link {
    display: inline-flex;
    grid-area: route;
    justify-self: start;
    align-items: center;
    min-height: 44px;
    margin-block-start: 4px;
    padding-inline: 12px;
    border: 1px solid #c5cff2;
    border-radius: 8px;
    background: #f6f8fd;
    color: #3049bc;
    font-size: 13px;
    font-weight: 720;
    text-decoration: none;
  }

  #cases .case-collection .case-route-link::after {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    content: "";
  }

  #cases .case-collection .project-link {
    grid-area: open;
    align-items: center;
    display: inline-flex;
    min-height: 44px;
    margin: 0;
    padding: 0;
  }
}

@media (max-width: 400px) {
  #partners .partners-track {
    grid-auto-columns: 75%;
  }
}

@media (max-width: 759px) {
  #work,
  #support,
  #team,
  #start {
    padding-block: 40px;
  }

  #work > .wrap > .heading,
  #support .support-heading,
  #team > .heading {
    margin-block-end: 18px;
  }

  #work > .wrap > .heading h2,
  #support .support-heading h3,
  #team > .heading h2,
  #start .contact-heading h2 {
    color: var(--ink);
    font-size: clamp(27px, 7.8vw, 35px);
    line-height: 1.13;
    letter-spacing: -.04em;
    text-wrap: balance;
  }

  #work .work-title-accent,
  #support .support-heading .blue-accent,
  #team > .heading h2 {
    color: var(--blue);
  }
  #team .team-intro { display: none; }

  #work .partnership {
    gap: 9px;
  }

  #work .partnership-side,
  #work .partnership-side:nth-child(2) {
    gap: 10px;
    padding: 14px;
    border-radius: 15px;
  }

  #work .partnership-side h3 {
    margin-block-end: 5px;
    font-size: 18px;
  }

  #work .partnership-side p {
    font-size: 14px;
    line-height: 1.55;
  }

  #work .partnership-side .joint-icon {
    min-width: 30px;
    width: 30px;
    scale: .57;
  }

  #work .partnership-result {
    margin-block-start: 9px;
    padding: 4px 0 0;
  }

  #work .partnership-result strong {
    color: var(--ink);
    font-size: 25px;
  }

  #work .process-flow {
    gap: 24px;
    margin-block-start: 26px;
  }

  #work .process-flow article {
    padding: 16px;
    border-radius: 16px;
  }

  #work .process-flow h3 {
    margin-block-end: 12px;
    color: var(--ink);
    font-size: 20px;
  }

  #work .process-flow article::after {
    left: 26px;
    height: 25px;
  }

  #work .process-flow article::before {
    top: calc(100% + 13px);
    left: 22px;
    width: 10px;
    height: 10px;
  }

  #work .work-steps {
    margin-block-end: 13px;
  }

  #work .work-steps li {
    padding: 0 0 8px 13px;
  }

  #work .work-steps h4 {
    color: var(--ink);
    font-size: 15px;
    line-height: 1.45;
  }

  #work .process-flow .report-trigger {
    min-height: 44px;
    max-width: 100%;
    white-space: normal;
    text-align: left;
  }

  #support .support-section {
    margin: 0 auto;
    max-width: 560px;
  }

  #support .support-bento {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  #support .support-feature {
    min-block-size: 0;
    padding: 16px;
    border-radius: 17px;
  }

  #support .support-kicker {
    margin-block-end: 7px;
    font-size: 14px;
  }

  #support .support-feature h4 {
    margin: 0 0 9px;
    font-size: clamp(20px, 5.6vw, 27px);
    line-height: 1.16;
  }

  #support .support-feature > p:not(.support-kicker) {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
  }

  #support .team-constellation,
  #support .personal-dialogue {
    min-height: 0;
    margin: 0;
    padding: 10px 0 0;
  }

  #support .team-constellation svg,
  #support .personal-dialogue svg {
    width: 100%;
    height: 90px;
  }

  #support .support-feature-link {
    min-height: 44px;
    margin-block-start: 4px;
    padding-block: 8px 0;
    font-size: 14px;
    line-height: 1.35;
  }

  #team .team-intro {
    margin-block-start: 9px;
    font-size: 15px;
    line-height: 1.55;
  }

  #team .experts-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    max-width: 560px;
    margin-inline: auto;
  }

  #team .expert {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    column-gap: 12px;
    padding: 13px;
    border-radius: 16px;
    align-content: start;
  }

  #team .expert > img {
    width: 80px;
    height: 94px;
    margin: 0;
    border-radius: 10px;
    object-fit: cover;
    object-position: center 25%;
  }

  #team .expert h3 {
    margin: 0;
    color: var(--ink);
    font-size: 18px;
    line-height: 1.22;
  }

  #team .expert-role {
    margin-block-start: 5px;
    font-size: 13px;
    line-height: 1.4;
  }

  #team .expert-credentials {
    margin: 9px 0 2px;
    font-size: 13px;
    line-height: 1.48;
  }

  #team .expert-credentials li {
    margin-block-end: 4px;
    padding-inline-start: 11px;
  }

  #team .expert details summary {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding-block: 8px;
  }

  #team .expert details p {
    font-size: 14px;
    line-height: 1.6;
  }

  #start .contact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 17px;
    max-width: 560px;
  }

  #start .contact-intro .lead {
    margin-block-start: 9px;
    font-size: 15px;
    line-height: 1.55;
  }

  #start .contact-options {
    min-inline-size: 0;
    padding: 13px;
    border-radius: 16px;
  }

  #start .contact-options h3 {
    margin-block-end: 10px;
    color: var(--ink);
    font-size: 19px;
    line-height: 1.25;
  }

  #start .contact-option {
    min-height: 56px;
    gap: 11px;
    padding: 10px 12px;
    border-radius: 11px;
  }

  #start .contact-option > svg {
    width: 21px;
    height: 21px;
  }

  #start .contact-option strong {
    margin-block-end: 3px;
    font-size: 15px;
    line-height: 1.36;
  }

  #start .contact-option span > span {
    overflow-wrap: anywhere;
    font-size: 13px;
    line-height: 1.35;
  }

  #start .contact-copy-row {
    gap: 0 9px;
    margin: 0 0 5px;
    padding-inline-start: 44px;
  }

  #start .contact-copy-row .text-link {
    min-height: 44px;
    max-inline-size: 100%;
    padding: 0;
    font-size: 13px;
    line-height: 1.35;
    text-align: left;
    white-space: normal;
  }

  #start .contact-option-callback {
    margin-block-start: 8px;
  }

  .site-footer .footer-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding-block: 24px 18px;
  }

  .site-footer .footer-main h2 {
    margin-block-end: 4px;
    color: var(--ink);
    font-size: 14px;
  }

  .site-footer .footer-main .brand,
  .site-footer .footer-main nav a,
  .site-footer .footer-contacts a,
  .site-footer .footer-bottom a {
    display: flex;
    align-items: center;
    min-height: 44px;
    width: fit-content;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .site-footer .footer-legal {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding-block: 14px;
    font-size: 12px;
  }

  .site-footer .footer-legal a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .site-footer .footer-bottom {
    gap: 0 14px;
    align-items: center;
    padding-block: 9px;
    font-size: 12px;
  }
}

@media (min-width: 390px) and (max-width: 759px) {
  .site-footer .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
  }

  .site-footer .footer-brand-block,
  .site-footer .footer-contacts {
    grid-column: 1 / -1;
  }
}

@media (min-width: 530px) and (max-width: 759px) {
  #team .experts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 759px) {
  .context-update > dialog,
  .context-update > #contact-request-dialog,
  .context-update > #research-dialog.research-drawer {
    --sheet-edge: max(8px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
    --sheet-top: max(8px, env(safe-area-inset-top, 0px));
    --sheet-bottom: max(8px, env(safe-area-inset-bottom, 0px));
    --sheet-inset: clamp(14px, 4.3vw, 24px);
    position: fixed;
    inset: var(--sheet-top) var(--sheet-edge) var(--sheet-bottom);
    width: min(620px, calc(100% - 2 * var(--sheet-edge)));
    max-width: none;
    height: fit-content;
    max-height: calc(100vh - var(--sheet-top) - var(--sheet-bottom));
    max-height: calc(100dvh - var(--sheet-top) - var(--sheet-bottom));
    margin: auto;
    padding: 0 var(--sheet-inset) var(--sheet-inset);
    border-radius: 18px;
    overflow: auto;
    overscroll-behavior-y: contain;
    scroll-padding-block: 70px 16px;
  }

  .context-update > dialog > .dialog-closebar {
    position: sticky;
    inset-block-start: 0;
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: auto;
    min-height: 56px;
    margin: 0 calc(-1 * var(--sheet-inset)) 15px;
    padding: 6px max(10px, calc(var(--sheet-inset) - 4px));
    border-bottom: 1px solid var(--line);
    background: #fff;
  }

  .context-update > dialog > .dialog-closebar .close-button {
    position: static;
    display: grid;
    width: 44px;
    height: 44px;
    padding: 0;
    place-items: center;
    color: var(--ink);
  }

  .context-update > dialog > h2,
  .context-update > #contact-request-dialog > h2,
  .context-update > #research-dialog #research-title {
    max-width: none;
    margin: 0;
    padding: 0;
    color: var(--ink);
    font-size: clamp(25px, 6.6vw, 33px);
    line-height: 1.17;
    overflow-wrap: anywhere;
  }

  .context-update > dialog :is(h3, h4),
  .context-update > #research-dialog :is(.research-study, .research-application) h3 {
    color: var(--ink);
  }

  .context-update > dialog > h3 {
    margin-block-start: 20px;
    font-size: 21px;
    line-height: 1.23;
  }

  .context-update > dialog > p:not(.eyebrow, .research-product),
  .context-update > #contact-request-dialog #contact-request-description {
    margin-block-start: 11px;
    font-size: 15px;
    line-height: 1.62;
  }

  .context-update > dialog .button {
    width: 100%;
    min-height: 46px;
    height: auto;
    padding-inline: 14px;
    text-align: center;
    white-space: normal;
  }

  .context-update > dialog .research-callout {
    min-height: 52px;
    gap: 10px;
    margin-block-start: 17px;
    padding: 10px 12px;
    color: var(--ink);
    font-size: 14px;
  }

  .context-update > dialog .research-callout::after {
    flex-basis: 27px;
    block-size: 27px;
  }

  .context-update > dialog form {
    margin-block-start: 16px;
  }

  .context-update > dialog form input {
    min-width: 0;
    min-height: 46px;
    font-size: 16px;
  }

  .context-update > #contact-request-dialog .request-fields {
    grid-template-columns: minmax(0, 1fr);
    gap: 13px;
  }

  .context-update > dialog .copy-request-text,
  .context-update > dialog :is(.request-policy, .callback-policy) {
    display: flex;
    width: fit-content;
    max-width: 100%;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }

  .context-update > dialog :is(.report-sheet, .service-next-step) {
    margin-block: 17px 0;
    padding: 14px;
    border-radius: 14px;
  }

  .context-update > dialog .service-next-step {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .context-update > dialog :is(.service-next-step, .report-sheet) h3 {
    font-size: 19px;
    line-height: 1.3;
  }

  .context-update > dialog .process-example summary {
    min-height: 44px;
    padding-block: 13px;
    color: var(--ink);
    font-size: 16px;
  }

  .context-update > dialog .process-example summary::after {
    top: 10px;
  }

  .context-update > dialog .service-modal-intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    margin-block: 12px 15px;
  }

  .context-update > dialog .service-modal-intro > .product-object {
    width: min(100%, 198px);
    max-width: none;
    margin-inline: auto;
  }

  .context-update > dialog .service-modal-intro h3 {
    margin-block: 0 8px;
    font-size: 20px;
    line-height: 1.25;
  }

  .context-update > dialog .service-modal-intro p:not(.product-definition) {
    font-size: 15px;
    line-height: 1.62;
  }

  .context-update > .courses-dialog .course-links {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin-block-start: 14px;
  }

  .context-update > .training-dialog #service-demo .sd-topic-button {
    min-height: 56px;
    gap: 12px;
    padding-block: 13px;
    color: var(--ink);
    font-size: 18px;
    line-height: 1.3;
  }

  .context-update > .training-dialog #service-demo .sd-scene {
    padding-inline: 12px;
  }

  .context-update > .training-dialog #service-demo .sd-copy h4 {
    font-size: 21px;
  }

  .context-update > .training-dialog #service-demo .sd-explanation {
    font-size: 15px;
    line-height: 1.55;
  }

  .context-update > .training-dialog #service-demo .sd-navigation {
    gap: 8px;
    padding-inline: 8px;
  }

  .context-update > .training-dialog #service-demo .sd-timer {
    flex: 0 1 136px;
    min-width: 44px;
    gap: 8px;
    padding-inline: 10px;
  }

  .context-update > .training-dialog #service-demo .sd-timer-track {
    flex: 1 1 0;
    min-width: 0;
  }

  .context-update > #research-dialog .research-study {
    margin-block-start: 19px;
    padding-block-start: 15px;
  }

  .context-update > #research-dialog .research-study h3 {
    font-size: 19px;
  }

  .context-update > #research-dialog .research-application {
    padding: 13px;
  }

  .context-update > #research-dialog .research-study .source-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-block-start: 6px;
  }

  .context-update > #route-dialog #route-title {
    color: var(--ink) !important;
  }

  .context-update > #route-dialog .route-bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 8px;
  }

  .context-update > #route-dialog .route-case-link:not([hidden]) {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
  }

  /* Printable materials keep the existing print styles. */
  body:has(> .material-header) {
    padding: 14px clamp(15px, 4.5vw, 28px) 32px;
  }

  body:has(> .material-header) .material-header {
    display: grid;
    gap: 6px;
    padding-bottom: 8px;
  }

  body:has(> .material-header) .material-tools a,
  body:has(> .material-header) .material-back a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
  }

  body:has(> .material-header) main {
    margin-block: 23px 20px;
  }

  body:has(> .material-header) h1 {
    color: var(--ink);
    font-size: clamp(27px, 7vw, 36px);
  }
}

/* The existing path drawing switches its direction at the same breakpoint. */
@media screen and (max-width: 720px) {
  .context-update > #route-dialog .route-map-graph {
    gap: 24px;
  }

  .context-update > #route-dialog .route-map-methods {
    gap: 11px 15px;
  }

  .context-update > #route-dialog .route-map-methods .route-map-node {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    align-content: start;
    gap: 4px 6px;
    min-height: 96px;
    padding: 10px 8px 12px;
  }

  .context-update > #route-dialog .route-map-methods .route-node-copy {
    display: contents;
  }

  .context-update > #route-dialog .route-map-methods .route-map-node strong {
    grid-area: 1 / 1 / auto / -1;
    overflow-wrap: anywhere;
  }

  .context-update > #route-dialog .route-map-methods .route-node-check {
    position: static;
    grid-area: 2 / 1;
  }

  .context-update > #route-dialog .route-map-methods .route-node-status {
    grid-area: 2 / 2;
    margin: 0;
    padding: 0;
  }

  .context-update > #route-dialog .route-map-methods .route-node-action {
    display: none;
  }

  .context-update > #route-dialog .route-map-terminal {
    min-height: 0;
    padding: 13px;
  }

  .context-update > #route-dialog .route-terminal-summary {
    margin-block-start: 6px;
  }

  .context-update > #route-dialog .route-explanation {
    min-height: 0;
    margin-block-start: 12px;
    padding: 13px;
  }
}
