/* PracticeMosaic responsive design candidate. Desktop V1.3.18 remains the source of truth. */
.title-sentence { display: block; white-space: normal; }
.menu-toggle, .mobile-navigation { display: none; }
.ds03-mobile, .wide-website-photo > figcaption { display: none; }
.home-photo > figcaption { display: none; }

@media (max-width: 1099.98px) {
  :root { --gutter: clamp(24px, 5vw, 56px); --section-space: 64px; --gap: 40px; }
  body { font-size: 16px; line-height: 1.6; }
  h1 { font-size: clamp(46px, 5.5vw, 56px); }
  h2 { font-size: clamp(35px, 4.3vw, 43px); }
  .site-header { position: sticky; top: 0; z-index: 50; background: var(--white); }
  .nav-inner { min-height: 72px; gap: 16px; }
  .nav-inner > nav, .nav-cta { display: none !important; }
  .wordmark { font-size: 23px; }
  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; margin-left: auto; padding: 0;
    border: 1px solid var(--navy); border-radius: var(--button-radius);
    background: var(--white); color: var(--navy); cursor: pointer;
  }
  .menu-toggle > span { display: grid; gap: 6px; }
  .menu-toggle i { display: block; width: 20px; height: 2px; background: currentColor; transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] i:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] i:last-child { transform: translateY(-4px) rotate(-45deg); }
  .mobile-navigation {
    position: absolute; inset: 100% 0 auto; display: block;
    background: var(--white); border-top: 1px solid var(--line);
    box-shadow: 0 18px 32px rgba(32,46,64,.14);
    max-height: calc(100dvh - 72px); overflow-y: auto;
  }
  .mobile-navigation[hidden] { display: none !important; }
  .mobile-navigation > .container { padding-block: 10px 24px; }
  .mobile-navigation nav { display: grid; }
  .mobile-navigation nav a {
    display: flex; align-items: center; min-height: 53px;
    border-bottom: 1px solid var(--line); padding: 9px 0;
    font-weight: 700; line-height: 1.35; text-decoration: none;
  }
  .mobile-navigation nav a[aria-current="page"] { box-shadow: inset 3px 0 var(--sage); padding-left: 12px; }
  .mobile-nav-cta { display: flex; margin-top: 20px; width: 100%; }
  body.menu-open { overflow: hidden; }
  body.menu-open::before { content: ''; position: fixed; inset: 72px 0 0; z-index: 40; background: rgba(32,46,64,.35); }
  .split > .container, .feature-pair, .editorial-opening > .container,
  .about-opening > .container, .contact-grid { grid-template-columns: minmax(0,1fr); }
  .editorial-opening > .container, .split > .container { gap: 30px; }
  .editorial-opening > .container > :last-child { padding-top: 0; }
  .home-hero > .container, .showcase-hero > .container { grid-template-columns: minmax(0,1fr); }
  .showcase-hero h1 { font-size: clamp(39px,5vw,46px); }
  .hero-copy { max-width: 660px; }
  .showcase-hero .home-photo { width: 100%; max-width: 920px; justify-self: center; aspect-ratio: auto; overflow: visible; background: transparent; }
  .home-photo img { position: static; width: 100%; height: auto; }
  .home-photo > figcaption { display: block; padding-top: 8px; color: var(--stone); font-size: 13px; line-height: 1.5; font-weight: 700; }
  .solution-opening > .container { row-gap: 26px; }
  .page-solutions .solution-opening > .container > .actions,
  .page-solutions .solution-showcase { grid-column: 1; grid-row: auto; }
  .page-solutions .solution-opening > .container > .actions { order: 2; }
  .page-solutions .solution-showcase { order: 1; margin-top: 0; }
  .footer-inner { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .footer-inner nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2px 22px; }
  .footer-inner nav a { display: flex; align-items: center; min-height: 40px; }
  .footer-contact { display: flex; flex-wrap: wrap; gap: 10px 24px; }
  .feature-pair.reverse .photo, .feature-pair.reverse .feature-copy { grid-column: auto; grid-row: auto; }
  .feature-pair.reverse .feature-copy { order: -1; }
  .showcase-services, .archive, .coordination { gap: 32px; }
  .flow-horizontal { grid-template-columns: minmax(0,1fr); }
  .flow-horizontal > li { padding: 20px 0 24px; }
  .flow-horizontal > li + li { border-left: 0; padding-left: 0; }
  .flow-vertical > li { grid-template-columns: 48px minmax(0,1fr); gap: 8px 18px; }
  .flow-vertical > li .flow-copy { grid-column: 2; }
  .product-offer { --offer-columns: minmax(0,1fr); --offer-inline: clamp(24px,4vw,40px); }
  .offer-row, .offer-contact { row-gap: 18px; }
  .offer-contact .actions { grid-column: 1; }
}

@media (max-width: 700px) {
  :root { --gutter: 20px; --section-space: 52px; --gap: 26px; --body-size: 16px; }
  h1 { font-size: clamp(39px,10vw,44px); line-height: 1.08; }
  h2 { font-size: clamp(32px,8vw,37px); line-height: 1.12; }
  h3 { font-size: 20px; }
  .nav-inner { min-height: 64px; }
  .wordmark { font-size: 21px; }
  .menu-toggle { width: 44px; height: 44px; }
  .mobile-navigation { max-height: calc(100dvh - 64px); }
  body.menu-open::before { inset-block-start: 64px; }
  .section { padding-block: var(--section-space); }
  .home-hero { padding-block: 34px 46px; }
  .showcase-hero > .container { gap: 30px; }
  .showcase-hero h1 { font-size: clamp(38px,9.7vw,42px); }
  .showcase-hero .hero-copy > p:first-child { font-size: 12px; }
  .hero-copy > p, .editorial-opening p, .growth-intro p { max-width: 65ch; }
  .actions { align-items: stretch; flex-direction: column; gap: 14px; }
  .actions .button { width: 100%; }
  .actions .text-link { align-self: flex-start; }
  .home-photo { border-radius: 0; }
  .home-photo img { object-fit: contain; }
  .asset-intro .reading { padding-left: 20px; }
  .process h2, .product-area h2, .principles h2 { margin-bottom: 23px; }
  .flow-vertical > li { gap: 4px 12px; grid-template-columns: 39px minmax(0,1fr); }
  .flow-vertical > li .flow-copy { grid-column: 2; }
  .ordinal { padding: 7px; font-size: 12px; }
  .product-offer { --offer-inline: 20px; margin-top: 20px; }
  .offer-recommended { padding-block: 26px 28px; }
  .offer-recommended h3 { font-size: clamp(36px,9vw,42px); }
  .offer-standalone h3 { font-size: 31px; }
  .offer-recommended .offer-copy ul { grid-template-columns: 1fr; gap: 7px; }
  .offer-term { white-space: normal; }
  .offer-copy .actions { margin-top: 18px; }
  .offer-contact { padding-bottom: 24px; }
  .solution-opening { padding-block: 42px 48px; }
  .solution-opening .editorial-heading > p { font-size: 13px; margin-bottom: 15px; }
  .solution-composition { display: grid; gap: 12px; aspect-ratio: auto; }
  .solution-composition img, .solution-composition .website-panel, .solution-composition .suite-panel {
    position: static; inset: auto; width: 100%; height: auto; max-width: 100%;
    box-shadow: 0 12px 26px rgba(32,46,64,.1);
  }
  .page-solutions .solution-showcase figcaption { display: grid; gap: 5px; padding-top: 12px; font-size: 12px; }
  .custom-opening { padding-block: 48px; }
  .custom-features article + article { margin-top: 42px; padding-top: 42px; }
  .showcase-wide .wide-website-photo {
    width: 100%; aspect-ratio: auto; margin: 24px 0 0; overflow: visible;
  }
  .showcase-wide .wide-website-photo > img.ds03-desktop { display: none; }
  .ds03-mobile { display: grid; gap: 12px; }
  .showcase-wide .wide-website-photo .ds03-mobile img {
    position: static; display: block; width: 100%; height: 260px;
    object-fit: cover; object-position: left top;
    border: 1px solid var(--line);
  }
  .showcase-wide .wide-website-photo .ds03-mobile img:last-child { height: 190px; object-position: center top; }
  .wide-website-photo > figcaption { display: block; padding-top: 10px; color: var(--stone); font-size: 12px; font-weight: 700; }
  .feature-statement { font-size: 31px; }
  .growth-intro { text-align: left; }
  .growth-intro p { margin-inline: 0; }
  .growth-feature { padding-block: 52px; }
  #module-02 .feature-pair, #module-04 .feature-pair { gap: 24px; }
  #module-02 .pilot-visual, #module-04 .pilot-visual { overflow: visible; }
  #module-02 .pilot-visual img, #module-04 .pilot-visual img { width: 100%; height: auto; }
  #module-02 .pilot-visual figcaption, #module-04 .pilot-visual figcaption { font-size: 12px; line-height: 1.45; }
  .handoff-copy > :last-child { margin-top: 26px; padding: 22px 0 0; border-left: 0; border-top: 1px solid var(--sage); }
  .appointment-note { padding: 12px; }
  .principles { padding-bottom: 48px; }
  .contact-opening { padding-block: 40px 34px; }
  .contact-main { padding-block: 22px 54px; }
  #contact-form { scroll-margin-top: 84px; }
  .site-footer { padding-block: 40px 45px; }
  .footer-inner nav { grid-template-columns: minmax(0,1fr); gap: 0; }
  .footer-inner nav a { min-height: 42px; }
  .footer-contact { display: grid; gap: 12px; }
  .footer-contact a { overflow-wrap: anywhere; }
  .board h1 { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  .menu-toggle i { transition: none; }
}
