/* Tablet composition: keep the approved phone and wide desktop layouts. */
@media (min-width: 701px) and (max-width: 1199px) {
  html { scroll-padding-top: 88px; }
  .container { width: calc(100% - 64px); }
  .site-header .header-inner { width: calc(100% - 64px); }
  .site-header .nav-contact,.site-header .nav-login { min-height: 44px; }
  .site-header .nav-download { min-height: 44px; height: 44px; }
  .hero-layout { grid-template-columns: 1.08fr 1fr; gap: 24px; min-height: 480px; padding-block: 48px; }
  .hero h1 { font-size: clamp(29px, 3.85vw, 44px); }
  .hero-description { font-size: 17px; line-height: 1.95; margin-top: 24px; }
  .hero-actions { margin-top: 28px; gap: 22px; flex-wrap: nowrap; }
  .hero .button { min-height: 48px; padding: 12px 20px; font-size: 14px; }
  .hero-contact { min-height: 44px; font-size: 14px; gap: 10px; white-space: nowrap; }
  .hero-art { width: 100%; margin: 0; }
  .hero-art img { animation: none; }

  .static-logo-section { padding-block: 24px; }
  .static-logo-section--eleven .static-logo-row { width: calc(100% - 64px); gap: 0; }
  .static-logo-section--eleven .static-secondary-row { column-gap: 38px; margin-top: 16px; }
  .logo-art { width: calc(var(--logo-width) * .76); }
  .static-logo-row li { height: 40px; }
  .static-secondary-row li { height: 34px; }

  .homepage-concept-compact { padding-block: 52px; }
  .homepage-concept-compact .concept-heading { margin-bottom: 24px; }
  .concept-heading h2 { font-size: clamp(30px, 3.8vw, 40px); }
  .concept-flow { grid-template-columns: minmax(0,1fr) 56px minmax(0,1fr); column-gap: 20px; }
  .homepage-concept-compact .concept-visual { width: 260px; }
  .concept-forward svg { width: 56px; }
  .homepage-concept-compact .concept-forward { margin-top: 110px; }
  .concept-copy h3 { font-size: 25px; }
  .concept-description { font-size: 16px; line-height: 1.85; }
  .concept-description br { display: none; }
  .homepage-concept-compact .concept-cycle-turns { width: 60%; margin-top: 12px; }
  .homepage-concept-compact .concept-collaboration { grid-template-columns: 220px minmax(0,1fr); width: min(720px,100%); gap: 28px; }
  .homepage-concept-compact .concept-collaboration .concept-visual { width: 220px; }
  .homepage-concept-compact .concept-feedback { font-size: 16px; margin-top: 12px; }

  .stacked-solutions { padding-block: 56px; }
  .stacked-solutions .section-heading { margin-bottom: 24px; }
  .solutions-heading h2 { font-size: 32px; line-height: 1.6; }
  .stacked-jumps { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 4px; margin-bottom: 28px; padding-block: 6px; font-size: 13px; }
  .stacked-jumps a { min-height: 48px; gap: 6px; padding: 8px 6px; white-space: nowrap; }
  .stacked-jumps span { font-size: 11px; }
  .stacked-solution { scroll-margin-top: 64px; }
  .stacked-solution + .stacked-solution { margin-top: 36px; padding-top: 32px; }
  .stacked-heading { column-gap: 32px; margin-bottom: 22px; }
  .stacked-heading h3 { font-size: 29px; line-height: 1.6; }
  .stacked-description > p { font-size: 16px; line-height: 1.9; }
  .stacked-visuals { gap: 20px; }
  .stacked-visual figcaption { min-height: 60px; padding: 8px 14px; }
  .stacked-visual h4 { font-size: 16px; }
  .motion-toggle { width: 44px; height: 44px; }
  .search-tab { gap: 9px; font-size: 15px; min-height: 64px; padding-inline: 10px; }
  .search-panel { padding: 20px; }
  .search-product-preview { height: 440px; }
  .search-cad-layout { padding: 18px; gap: 16px; grid-template-columns: 24% minmax(0,1fr); }
  .search-cad-results { gap: 8px; }
  .search-cad-result { padding: 8px; }
  .search-query { margin-inline: 16px; }
  .search-drawing-layout { grid-template-columns: 34% minmax(0,1fr); padding-inline: 16px; gap: 16px; }
  .search-doc-layout { grid-template-columns: 1fr 1fr; padding: 12px 16px 16px; gap: 16px; }
  .search-document-preview { display: flex; flex-direction: column; padding-bottom: 12px; border-bottom: 1px solid #dbe4d7; }
  .search-document-sheet { flex: 1; min-height: 0; height: auto; padding: 14px; }
  .search-document-sheet p { font-size: 12px; }
  .search-document-sheet > span { margin-block: 10px 8px; }

  /* Keep sources beside the document, instead of an oversized stacked panel. */
  .document-workspace { grid-template-columns: minmax(220px,.9fr) minmax(0,2fr); }
  .document-reference-panel { padding: 18px; border-right: 1px solid #dce6dc; border-bottom: 0; }
  .document-reference-list { grid-template-columns: 1fr; }
  .document-reference-list li { padding: 9px 10px; gap: 8px; }
  .document-reference-list strong { font-size: 14px; }
  .document-reference-list li div > span { font-size: 11px; }
  .document-source-check { display: block; width: 14px; height: 14px; }
  .document-file-icon svg { width: 21px; }
  .document-panel-heading { font-size: 14px; gap: 8px; }
  .document-instruction { padding: 10px 12px; margin-top: 14px; }
  .document-instruction p { font-size: 14px; }
  .document-editor-toolbar { padding-inline: 20px; gap: 16px; }
  .document-editor-page { padding: 18px 22px; }
  .document-editor-page h4 { font-size: 21px; }
  .document-purpose p { font-size: 13px; }
  .document-proposed-section { padding: 12px; }
  .document-requirements th,.document-requirements td { padding: 8px; }
  .document-requirements tbody th { white-space: normal; }

  /* Entire recordings remain visible, including both UI sidebars. */
  .assembly-workflow-visuals .stacked-stage { height: auto; padding: 0; }
  .assembly-workflow-visuals .screen-canvas { position: relative; display: block; flex: none; width: 100%; padding: 0; overflow: hidden; }
  .assembly-workflow-visuals .screen-canvas.motion-canvas > img,.assembly-workflow-visuals .screen-canvas.motion-canvas > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; border-radius: 0; }
  #visual-7 .screen-canvas { aspect-ratio: 1864 / 944; }
  #visual-8 .screen-canvas { aspect-ratio: 1908 / 928; }
  .assembly-workflow-visuals { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .review-team-caption,.assembly-support-copy { font-size: 14px; line-height: 1.8; padding: 14px 16px; text-align: left; }
  .review-study-visuals .review-ai-stage { height: 400px; }

  .customers-compact,.news-compact { padding-block: 56px; }
  .customer-stories-header h2,.news-header h2 { font-size: 34px; }
  .customer-story { grid-template-columns: 28% minmax(0,1fr) 164px; gap: 24px; }
  .customer-story-copy h3 { font-size: 20px; }
  .customer-story-copy h3 br { display: none; }
  .customer-story-result { padding-left: 20px; }
  .customer-story-result .result-number { font-size: 52px; }
  .customer-story-result .result-text { font-size: 23px; }
  .customer-story-link { min-height: 44px; margin-top: 8px; }
  .news-feed a { grid-template-columns: 92px 94px minmax(0,1fr) 16px; gap: 20px; padding-block: 22px; }
  .news-feed h3 { font-size: 16px; }
  .customers-compact .customer-stories-more,.news-compact .news-more { min-height: 48px; }
  .closing-strip { padding-block: 32px; }
  .closing-strip .closing-layout { flex-wrap: wrap; gap: 24px; }
  .closing-strip h2 { font-size: 26px; }
  .closing-strip .button { min-height: 48px; }
  .site-footer-v1 .footer-layout { grid-template-columns: minmax(0,1fr) minmax(250px,.9fr) 76px; gap: 32px; }
  .footer-links-v1 { grid-column: auto; grid-row: auto; gap: 4px 24px; }
  .footer-links-v1 a { display: flex; align-items: center; min-height: 44px; }
  .footer-certification { grid-column: auto; grid-row: auto; }
  .site-footer-v1 .footer-bottom { flex-direction: column-reverse; align-items: flex-start; gap: 20px; margin-top: 28px; padding-top: 20px; }
  .footer-legal { justify-content: flex-start; gap: 6px 22px; }
  .footer-legal a { display: flex; align-items: center; min-height: 44px; }
  body:has(.draft-bar) .site-footer-v1 { padding-bottom: 36px; }
  .draft-bar { position: static; transform: none; width: 100%; max-width: none; border-radius: 0; border: 0; border-top: 1px solid var(--line); box-shadow: none; padding: 12px; justify-content: center; }
  .draft-bar button,.draft-bar a { display: flex; align-items: center; min-height: 44px; }
}

@media (min-width: 701px) and (max-width: 1000px) {
  .site-header .navigation { width: min(420px,calc(100% - 48px)); left: auto; right: 24px; padding: 12px 28px 28px; border: 1px solid #ffffff20; border-top: 0; border-radius: 0 0 4px 4px; }
  .site-header .mobile-toggle { min-height: 48px; }
  .hero h1 { font-size: clamp(29px,3.9vw,39px); }
  .hero-description { font-size: 16px; }
  .hero .button { padding-inline: 16px; }
  .hero-actions { gap: 18px; }
  .static-logo-section--eleven .static-secondary-row { column-gap: 32px; }
  .logo-art { width: calc(var(--logo-width) * .67); }
  .homepage-concept-compact .concept-visual { width: 232px; }
  .homepage-concept-compact .concept-forward { margin-top: 96px; }
  .concept-flow { grid-template-columns: minmax(0,1fr) 40px minmax(0,1fr); column-gap: 16px; }
  .concept-forward svg { width: 40px; }
  .concept-copy h3 { font-size: 24px; }
  .stacked-jumps { top: 64px; }
  .stacked-heading { grid-template-columns: 1fr; }
  .stacked-description { padding-top: 12px; max-width: 44em; }
  .stacked-heading h3 { font-size: 28px; }
  .search-tab { font-size: 14px; gap: 8px; }
  .review-study-visuals { grid-template-columns: 1fr; }
  .review-study-visuals .review-ai-stage { height: 420px; padding: 14px; }
  .review-ai-window { height: 100%; }
  .review-test-document { padding: 18px; }
  .review-test-document h5 { font-size: 21px; }
  .review-test-table { font-size: 12px; }
  .review-test-table th,.review-test-table td { padding: 9px; }
  .review-ai-comment { top: 76px; right: 16px; width: 43%; padding: 16px; }
  .review-ai-comment h6 { font-size: 16px; }
  .review-comment-text { font-size: 14px; }
  .review-comment-source p { font-size: 13px; }
  .customer-story { grid-template-columns: 36% minmax(0,1fr); gap: 12px 24px; }
  .customer-story-photo { grid-column: 1; grid-row: 1 / 3; align-self: start; }
  .customer-story-copy { grid-column: 2; }
  .customer-story-company { font-size: 13px; margin-bottom: 6px; }
  .customer-story-copy h3 { font-size: 20px; }
  .customer-story-result { grid-column: 2; flex-direction: row; align-items: center; justify-content: space-between; padding: 12px 0 0; border-left: 0; border-top: 1px solid var(--line); gap: 16px; }
  .customer-story-result .result-number { font-size: 42px; }
  .customer-story-result .result-unit { font-size: 13px; }
  .customer-story-result .result-text { font-size: 20px; text-align: right; }
  .site-footer-v1 .footer-layout { grid-template-columns: minmax(0,1fr) minmax(230px,1fr) 76px; gap: 24px; }
  .site-footer-v1 address { font-size: 11px; }
}

@media (min-width: 701px) and (max-width: 780px) {
  .container,.site-header .header-inner { width: calc(100% - 48px); }
  .hero-layout { gap: 16px; }
  .hero-actions { gap: 16px; }
  .hero .button { font-size: 13px; padding-inline: 14px; }
  .hero-contact { font-size: 13px; }
  .concept-flow { column-gap: 12px; }
  .concept-heading h2 { font-size: 30px; }
  .concept-copy h3 { font-size: 23px; }
  .stacked-jumps a { gap: 4px; font-size: 12px; }
  .search-panel { padding: 16px; }
  .search-tab { padding-inline: 6px; gap: 6px; font-size: 13px; }
  .search-panel-copy h4 { font-size: 20px; }
  .search-cad-layout { padding: 14px; gap: 12px; }
  .document-reference-panel { padding: 14px; }
  .document-editor-page { padding-inline: 16px; }
  .document-workspace { grid-template-columns: 220px minmax(0,1fr); }
  .footer-links-v1 { gap: 4px 16px; }
}
