/* Use the width of portrait phones for short, related content. */
@media (max-width: 760px) and (orientation: portrait) {
  html { scroll-padding-top: 78px; }

  .overview-header,
  .agency-header,
  .nav .nav-inner {
    min-height: 64px;
  }

  .overview-header {
    padding-block: 10px;
    gap: 10px;
  }

  .dwj-tools { top: 10px; }
  .dwj-tools .dwj-search input { width: clamp(104px, 34vw, 145px); }
  .nav .brand .dwj-header-logo { width: 88px; }

  .section,
  .page-hero,
  .press-hero,
  .statement,
  .quote,
  .book-close,
  .venture-feature,
  .innovation-section,
  .investment-home,
  .overview-hero,
  .focus-section,
  .beyond-design,
  .selected,
  .agency-about,
  .consulting-hero,
  .consulting-services,
  .mtf-panel,
  .founder-hero,
  .founder-perspective {
    padding-block: clamp(30px, 8vw, 48px);
  }

  .section h2,
  .page-hero h1,
  .private-dining h2,
  .press-hero h1 {
    font-size: clamp(1.85rem, 8.1vw, 3.25rem);
    text-wrap: balance;
  }

  .focus-section h2 {
    margin-block: 14px;
    font-size: clamp(1.85rem, 8vw, 3.25rem);
  }

  .dwj-focused .focus-hero {
    grid-template-columns: minmax(0, 64%) 1fr;
    gap: 0;
    padding: 24px 16px 26px;
  }

  .focus-hero .home-headline {
    margin-block: 22px 14px;
    font-size: clamp(1.75rem, 7.6vw, 3.75rem);
    overflow-wrap: anywhere;
  }

  .dwj-focused .focus-hero .kicker {
    max-width: 30ch;
    line-height: 1.45;
  }

  .dwj-focused .focus-hero .overview-deck {
    margin: 0;
    line-height: 1.45;
  }

  .dwj-focused .focus-hero figure {
    inset: 0 0 0 auto;
    width: 46%;
    height: auto;
  }

  .dwj-focused .focus-hero img {
    object-position: center 24%;
    mask-image: linear-gradient(to right, transparent 17%, #000 56%);
  }

  .focus-hero .about-links { margin-top: 12px; }
  .focus-hero .about-links a { overflow-wrap: normal; }
  .home-motion-control { right: 8px; bottom: 8px; }

  .dwj-focused .focus-foundation { padding: 22px 16px; }
  .focus-foundation h2 { font-size: clamp(1.75rem, 7vw, 2.75rem); }
  .focus-paths { gap: 14px; margin-top: 18px; }
  .focus-paths article { padding: 16px; }
  .focus-paths ul { margin-block: 16px; }

  .home-business-grid,
  .focus-proof,
  .work-grid,
  .consulting-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .home-business-grid { margin-top: 20px; }
  .home-business-grid article { min-height: 0; padding: 12px; }
  .home-business-grid h3 { margin-bottom: 8px; }

  .home-business-grid h3,
  .focus-proof h3,
  .consulting-service-grid h3 {
    font-size: clamp(1.0625rem, 4.6vw, 1.375rem);
    overflow-wrap: anywhere;
  }

  .focus-proof > a { padding-top: 12px; }
  .focus-proof h3 { margin-bottom: 8px; }
  .focus-proof p { margin-block: 0 8px; }
  .focus-proof span { margin-top: 0; }
  .focus-program figure img { display: block; aspect-ratio: 16 / 9; object-fit: cover; }

  .consulting-hero-grid { gap: 24px; }
  .consulting-hero aside { padding-top: 16px; }
  .consulting-hero aside .text-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin: 8px 12px 0 0;
  }
  .consulting-service-grid article,
  .consulting-service-grid article:first-child { padding: 12px; }

  .ecosystem-intro .split { gap: 16px; }
  .community-organizations { margin-top: 24px; padding-top: 18px; }
  .community-organization-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .community-organization { min-height: 62px; padding: 8px; }
  .community-organization img,
  .community-organization:first-child img { max-height: 52px; }
  .founder-highlights {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 22px;
  }
  .founder-highlights img { aspect-ratio: 4 / 3; height: auto; }

  .made-merry-media {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .made-merry-media > img,
  .made-merry-media > video { aspect-ratio: 4 / 3; object-fit: cover; }
  .made-merry-media > video { object-fit: contain; background: #111; }
  .made-merry-brand-grid { grid-template-columns: 1fr; gap: 14px; }
  .made-merry-brand {
    display: grid;
    grid-template-columns: minmax(0, 30%) minmax(0, 1fr);
    column-gap: 12px;
    align-items: start;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }
  .made-merry-brand img { grid-column: 1; grid-row: 1 / span 3; aspect-ratio: 1; }
  .made-merry-brand h4,
  .made-merry-brand p,
  .made-merry-brand a { grid-column: 2; }
  .made-merry-brand h4 { margin: 0 0 5px; }
  .made-merry-brand p { margin: 0; }
  .made-merry-brand a { display: inline-flex; align-items: center; min-height: 44px; justify-self: start; }

  .mtf-global-project .mtf-grid { gap: 16px; }
  .mtf-global-project .mtf-art { aspect-ratio: 16 / 9; }
  .mtf-global-project .mtf-art img { height: 100%; }

  .agency-hero { min-height: 0; padding-block: 24px; gap: 16px; }
  .agency-hero h1 { font-size: clamp(2.1rem, 9vw, 4.5rem); }
  .flip-showcase { padding-top: 0; }
  .design-flip-card { max-width: min(240px, 66vw); }
  .flip-caption { margin-top: 12px; }
  .work-grid .work-image { padding: 4px; }
  .work-grid .work-caption { display: block; padding-top: 10px; }
  .work-grid .work-card h3 { font-size: clamp(1.1rem, 5.4vw, 1.6rem); overflow-wrap: anywhere; }

  .placard-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .placard-preview { height: clamp(120px, 40vw, 210px); padding: 10px; }
  .placard-card-copy { padding: 12px; }
  .placard-card h3 { font-size: 1.125rem; margin-block: 10px; }

  .founder-hero { gap: 16px; }
  .founder-hero h1 { font-size: clamp(2.2rem, 9vw, 3.8rem); }
  .founder-hero > img { width: 100%; max-width: none; max-height: 225px; object-position: center 25%; }
  .founder-silos { gap: 14px; }
  .founder-photo-pair img { height: clamp(120px, 35vw, 215px); }

  .menu-project-hero { gap: 16px; padding-block: 28px; }
  .menu-project-hero img { max-height: 220px; object-fit: contain; }
  .menu-study, .menu-project-method, .menu-project-join { padding-block: 28px; }

  .footer-grid, .overview-footer nav { gap: 12px 18px; }
  .overview-footer nav { margin-block: 20px; }
}

@media (min-width: 410px) and (max-width: 760px) and (orientation: portrait) {
  .focus-paths { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .focus-paths h2 { font-size: clamp(1.375rem, 5.5vw, 2.375rem); }
  .mtf-global-project .mtf-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); }
  .menu-project-hero { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
  .menu-project-hero h1 { font-size: clamp(1.9rem, 6.75vw, 3.6rem); overflow-wrap: anywhere; }
}
