/* Small-screen refinement. Navigation and the interactive flows retain their existing behaviour. */
@media (max-width: 700px) {
  :root {
    --gutter: 22px;
  }

  .site-header {
    box-shadow: 0 2px 18px rgba(16, 31, 51, .06);
  }

  .header-inner {
    min-height: 66px;
    padding-inline: 16px;
    gap: 8px;
  }

  .wordmark img {
    width: 30px;
    height: 28px;
  }

  .wordmark strong {
    font-size: 30px;
  }

  .header-tools {
    gap: 7px;
  }

  .header-tools .head-cta {
    min-height: 42px;
    max-width: 148px;
    padding: 9px 10px;
    font-size: 11px;
    line-height: 1.2;
    text-align: center;
  }

  .menu-toggle {
    width: 42px;
    height: 44px;
  }

  .main-nav {
    padding: 12px 22px 24px;
    max-height: calc(100dvh - 66px);
    background: #faf9f4;
    box-shadow: 0 18px 28px rgba(16, 31, 51, .12);
  }

  .main-nav a {
    min-height: 52px;
    padding: 12px 2px;
    font-size: 15px;
    border-bottom: 1px solid #e4e2d9;
  }

  .main-nav a[aria-current="page"]:after {
    bottom: 0;
    width: 32px;
  }

  .main-nav .lab-nav {
    color: #315448;
    font-weight: 700;
  }

  .investment-hero {
    min-height: 0;
  }

  .hero-wrap {
    min-height: 650px;
    padding-top: 55px;
    padding-bottom: 105px;
    justify-content: center;
  }

  .hero-art img {
    object-position: 58% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(9, 25, 39, .86), rgba(9, 25, 39, .50)),
      linear-gradient(0deg, rgba(9, 25, 39, .78), transparent 48%);
  }

  .hero-kicker {
    max-width: 285px;
    font-size: 9px;
    line-height: 1.55;
    letter-spacing: .13em;
    margin-bottom: 18px;
  }

  .hero-text h1 {
    font-size: clamp(50px, 11vw, 71px);
    line-height: .99;
    letter-spacing: -.028em;
  }

  .hero-text .hero-description {
    max-width: 34ch;
    font-size: 15px;
    line-height: 1.6;
    margin: 20px 0 23px;
  }

  .hero-ctas {
    display: grid;
    max-width: 340px;
    gap: 9px;
  }

  .hero-ctas .btn {
    min-height: 49px;
    padding: 13px 16px;
    justify-content: space-between;
    font-size: 12.5px;
  }

  .hero-base {
    bottom: 16px;
    padding-top: 13px;
  }

  .hero-carousel button {
    height: 40px;
    width: 40px;
  }

  .slide-progress i {
    width: 12px;
  }

  .recognition {
    padding-top: 52px;
    padding-bottom: 54px;
  }

  .section-heading {
    gap: 14px;
    margin-bottom: 25px;
  }

  .section-heading h2,
  .recognition h2,
  .journey h2,
  .method-home h2,
  .location-copy h2,
  .features-home h2,
  .cta-band h2 {
    font-size: clamp(38px, 10vw, 48px);
    line-height: 1.06;
  }

  .context-card,
  .context-card + .context-card {
    min-height: 136px;
    padding: 23px 36px 22px 43px;
  }

  .context-card h3 {
    font-size: 29px;
    line-height: 1.08;
  }

  .context-card p {
    max-width: 42ch;
    margin-top: 9px;
    font-size: 14px;
    line-height: 1.55;
  }

  .method-home {
    padding-block: 60px;
  }

  .method-home p,
  .location-copy p,
  .features-home p,
  .cta-band p {
    font-size: 15px;
    line-height: 1.65;
  }

  .journey {
    padding-block: 60px;
  }

  .journey-rows > a {
    align-items: flex-start;
    padding: 22px 0;
    gap: 16px;
  }

  .journey-rows h3 {
    font-size: 28px;
    line-height: 1.08;
  }

  .journey-rows .icon {
    margin-top: 5px;
  }

  .location-image,
  .location-image img {
    height: 250px;
  }

  .location-copy {
    padding: 48px var(--gutter) 54px;
  }

  .features-home {
    padding-block: 56px;
    gap: 14px;
  }

  .features-home article {
    padding: 34px 26px 38px;
  }

  .cta-band {
    padding-block: 43px;
  }

  .cta-band .btn {
    width: 100%;
    justify-content: space-between;
    min-height: 50px;
  }

  .site-footer {
    padding-top: 48px;
  }

  .footer-grid {
    gap: 30px 20px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    padding-bottom: 8px;
    border-bottom: 1px solid #465262;
  }

  .footer-list {
    gap: 0;
  }

  .footer-list strong {
    margin-bottom: 8px;
  }

  .footer-list a {
    padding: 5px 0;
    line-height: 1.45;
    font-size: 13px;
  }

  .footer-bottom {
    line-height: 1.5;
  }

  .interior h1,
  .detail-heading h1 {
    font-size: clamp(43px, 10vw, 57px);
    line-height: 1.03;
    overflow-wrap: break-word;
  }

  .interior .lead,
  .lead {
    font-size: 17px;
    line-height: 1.55;
  }

  .solution-list article {
    padding-block: 25px;
  }

  .solution-list article img {
    height: 200px;
    border-radius: 2px;
  }

  .offer-detail aside {
    padding: 26px 22px;
  }

  .offer-detail aside .btn {
    width: 100%;
    justify-content: space-between;
  }

  .bf-page {
    padding-top: 48px;
    padding-bottom: 62px;
    gap: 28px;
  }

  .bf-story h1,
  .bf-admin h1,
  .bf-note h1 {
    font-size: clamp(44px, 10.5vw, 56px);
    line-height: 1.04;
  }

  .bf-intro,
  .bf-lead {
    font-size: 17px;
    line-height: 1.6;
  }

  .bf-story h2 {
    margin-top: 1.4em;
  }

  .bf-panel {
    padding: 24px 18px 26px;
  }

  .bf-panel input:not([type=checkbox]),
  .bf-panel textarea,
  .bf-admin input:not([type=checkbox]),
  .bf-admin textarea,
  .bf-admin select {
    min-height: 50px;
    font-size: 16px;
    border-radius: 2px;
  }

  .bf-panel input[type=checkbox] {
    width: 21px;
    height: 21px;
    margin-top: 2px;
  }

  .bf-panel .btn {
    min-height: 52px;
  }

  .bf-dialog {
    width: calc(100% - 32px);
    max-height: calc(100dvh - 32px);
    overflow: auto;
    padding: 24px;
  }

  .bf-dialog button {
    min-height: 44px;
  }

  .srdc-lab {
    padding: 22px 16px 42px;
  }

  .srdc-lab .lab-intro {
    margin: 28px 0;
  }

  .srdc-lab h1 {
    font-size: clamp(43px, 10vw, 58px);
  }

  .srdc-lab .lab-levels {
    gap: 8px;
    margin-bottom: 6px;
  }

  .srdc-lab .lab-levels span {
    font-size: 12px;
    white-space: nowrap;
  }

  .srdc-lab .lab-panel {
    scroll-margin-top: 82px;
    padding: 24px 18px;
    border-radius: 4px;
  }

  .srdc-lab .lab-panel h2 {
    font-size: clamp(32px, 8vw, 40px);
    line-height: 1.1;
  }

  .srdc-lab .lab-options {
    gap: 9px;
    margin-top: 21px;
  }

  .srdc-lab .lab-options button {
    min-height: 62px;
    padding: 12px;
    font-size: 15px;
    line-height: 1.35;
  }

  .srdc-lab .lab-actions {
    gap: 10px;
    margin-top: 23px;
  }

  .srdc-lab .lab-primary {
    min-height: 48px;
  }

  .srdc-lab .lab-input input {
    height: 42px;
  }

  .srdc-lab .lab-road-item li {
    overflow-wrap: anywhere;
  }

  .rx-header,
  .mt-hero {
    padding-top: 52px;
  }

  .rx-header h1,
  .mt-hero h1 {
    font-size: clamp(43px, 10vw, 58px);
    line-height: 1.04;
  }

  .rx-intro,
  .mt-hero .mt-lead,
  .mt-intro {
    font-size: 17px;
    line-height: 1.6;
  }

  .rx-filters {
    gap: 12px;
  }

  .rx-filters select,
  .rx-filters button,
  .rx-port-tabs a {
    min-height: 48px;
    font-size: 16px;
  }

  .rx-table {
    -webkit-overflow-scrolling: touch;
  }

  .mt-steps summary,
  .mt-index a {
    min-height: 64px;
  }

  .mt-steptext {
    padding-left: 0;
    font-size: 15px;
  }
}

@media (max-width: 360px) {
  :root {
    --gutter: 18px;
  }

  .header-inner {
    padding-inline: 10px;
  }

  .header-tools {
    gap: 3px;
  }

  .header-tools .head-cta {
    max-width: 120px;
    font-size: 10.5px;
  }

  .hero-text h1 {
    font-size: 48px;
  }

  .srdc-lab .lab-brand,
  .srdc-lab .lab-counter {
    font-size: 10px;
    letter-spacing: .1em;
  }
}

/* Keep text labels and essential navigation controls on small screens. */
@media (max-width: 700px) {
  .context-icon,
  .srdc-lab .lab-icon,
  .srdc-lab .lab-mark,
  .srdc-lab .lab-assurance svg,
  .main-nav .lab-nav > svg,
  .lab-feature > .eyebrow > svg {
    display: none;
  }

  .context-card,
  .context-card + .context-card {
    padding-left: 0;
  }
}
