@media (max-width: 1100px) {
  .tx-rail { width: 100%; height: 74px; inset: 0 0 auto; flex-direction: row; border-right: 0; border-bottom: 3px solid var(--tx-ink); z-index: 90; }
  .tx-rail__brand { width: 190px; height: 100%; padding: 8px 16px; flex-direction: row; gap: 10px; border-bottom: 0; border-right: 2px solid var(--tx-ink); }
  .tx-rail__brand img { width: 38px; height: 38px; }
  .tx-rail__brand span { text-align: left; line-height: .86; }
  .tx-rail nav { flex: 1; display: flex; min-height: 0; }
  .tx-rail nav a { flex: 1; min-height: 70px; padding: 8px 10px; border-bottom: 0; border-right: 1px solid var(--tx-ink); align-items: center; }
  .tx-rail nav a b { display: none; }
  .tx-rail__tools,.tx-rail__project { width: 112px; min-height: 70px; padding: 10px; border-top: 0; border-left: 2px solid var(--tx-ink); }
  .tx-main,.tx-footer { margin-left: 0; }
  .tx-main { padding-top: 74px; }
  .tx-switchboard { inset: 74px 0 0; }
  .tx-hero-grid { min-height: 720px; grid-template-columns: 46% 54%; }
  .tx-hero-grid__stamp { right: 22px; }
  .tx-universe-wall > div { grid-template-columns: repeat(3,1fr); }
  .tx-sequence { grid-template-columns: 1fr; }
  .tx-budget-stage,.tx-region-board,.tx-tool-content,.tx-detail-hero,.tx-detail-scope,.tx-directory-hero { grid-template-columns: 1fr; }
  .tx-budget-stage__copy,.tx-region-board > div,.tx-tool-content > aside { position: static; }
  .tx-two-sides { grid-template-columns: 1fr 1fr; }
  .tx-footer__grid { grid-template-columns: 1.5fr repeat(2,1fr); }
  .tx-footer__grid nav:nth-child(n+4) { border-top: 2px solid var(--tx-ink); }
  .tx-tool-hero { grid-template-columns: 1fr 38%; }
  .tx-tool-hero aside { grid-column: 1/-1; writing-mode: horizontal-tb; min-height: auto; }
  .tx-tool-links { grid-template-columns: repeat(2,1fr); }
  .tx-signal-tool,.tx-matcher,.tx-checks,.tx-coverage,.tx-rooms,.tx-emergency,.tx-project-form { grid-template-columns: 1fr; }
  .tx-project-form > aside { position: static; }
  .tx-tool-content__stories { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .tx-rail { height: 68px; }
  .tx-main { padding-top: 68px; }
  .tx-switchboard { inset: 68px 0 0; }
  .tx-rail__brand { width: auto; flex: 1; border-right: 0; }
  .tx-rail nav { display: none; }
  .tx-rail__tools,.tx-rail__project { width: 104px; min-height: 64px; }
  .tx-hero-grid { min-height: 0; grid-template-columns: 1fr; }
  .tx-hero-grid__photo { min-height: 430px; order: 2; }
  .tx-hero-grid__intro { order: 1; min-height: 510px; }
  .tx-hero-grid__stamp { top: auto; bottom: 26px; right: 18px; }
  .tx-signal,.tx-universe-wall,.tx-sequence,.tx-budget-stage,.tx-region-board,.tx-service-index,.tx-home-close,.tx-tool,.tx-tool-content { padding-left: 24px; padding-right: 24px; }
  .tx-signal__switches,.tx-universe-wall > div,.tx-sequence ol,.tx-two-sides,.tx-service-index__grid { grid-template-columns: repeat(2,1fr); }
  .tx-budget-stage__board { min-width: 0; }
  .tx-region-board figure { min-height: 390px; }
  .tx-two-sides article { min-height: 520px; }
  .tx-footer__call { grid-template-columns: 1fr; }
  .tx-footer__call a { min-height: 160px; }
  .tx-footer__grid { grid-template-columns: repeat(2,1fr); }
  .tx-footer__brand { grid-column: 1/-1; }
  .tx-switchboard nav { grid-template-columns: repeat(2,1fr); }
  .tx-tool-hero { grid-template-columns: 1fr; padding-top: 68px; }
  .tx-tool-hero figure { min-height: 420px; }
  .tx-tool-hero aside { grid-column: auto; }
  .tx-directory-grid { grid-template-columns: repeat(2,1fr); }
  .tx-detail-scope { grid-template-columns: repeat(2,1fr); }
  .tx-budget-tool { grid-template-columns: 1fr; }
  .tx-quotes,.tx-timeline__grid,.tx-capacity { overflow-x: auto; }
  .tx-quotes > * { min-width: 640px; }
  .tx-timeline__grid i { min-width: 680px; }
  .tx-risks { grid-template-columns: 1fr; }
  .tx-energy__path { grid-template-columns: repeat(3,1fr); }
  .tx-capacity__week { min-width: 660px; }
  .tx-project-form form { grid-template-columns: 1fr; }
  .tx-project-form .tx-span-2 { grid-column: auto; }
}
@media (max-width: 560px) {
  html,body { overflow-x: hidden; }
  .tx-rail__brand { padding: 7px 10px; }
  .tx-rail__brand span { font-size: 14px; }
  .tx-rail__brand img { width: 34px; height: 34px; }
  .tx-rail__tools,.tx-rail__project { width: 78px; padding: 7px; font-size: 10px; }
  .tx-rail__tools b,.tx-rail__project b { font-size: 19px; }
  .tx-hero-grid__intro { min-height: 450px; padding: 34px 20px 90px; }
  .tx-hero-grid__intro h1 { font-size: clamp(3.4rem,17vw,5.2rem); line-height: .82; }
  .tx-hero-grid__photo { min-height: 330px; }
  .tx-hero-grid__stamp { width: 132px; min-height: 132px; }
  .tx-signal,.tx-universe-wall,.tx-sequence,.tx-budget-stage,.tx-region-board,.tx-service-index,.tx-home-close,.tx-tool,.tx-tool-content { padding-left: 16px; padding-right: 16px; }
  .tx-signal__switches,.tx-universe-wall > div,.tx-sequence ol,.tx-two-sides,.tx-service-index__grid,.tx-directory-grid,.tx-detail-scope,.tx-tool-links { grid-template-columns: 1fr; }
  .tx-universe-wall > div a { min-height: 330px; }
  .tx-sequence ol li:nth-child(n) { transform: none; }
  .tx-budget-stage__bars i { grid-template-columns: 90px 1fr; }
  .tx-region-board figure { min-height: 280px; }
  .tx-two-sides article { min-height: 440px; }
  .tx-home-close h2,.tx-footer__call h2 { font-size: clamp(2.3rem,11vw,4rem); }
  .tx-home-close div { display: grid; }
  .tx-footer__call,.tx-footer__grid { padding-left: 16px; padding-right: 16px; }
  .tx-footer__grid { grid-template-columns: 1fr; }
  .tx-footer__brand { grid-column: auto; }
  .tx-footer__grid nav:nth-child(n) { border-top: 1px solid var(--tx-ink); }
  .tx-footer__base { display: grid; gap: 7px; padding: 18px 16px; }
  .tx-switchboard { padding: 12px; }
  .tx-switchboard__top p { display: none; }
  .tx-switchboard nav { grid-template-columns: 1fr; }
  .tx-switchboard nav a { min-height: 92px; }
  .tx-tool-hero__title { padding: 42px 18px; }
  .tx-tool-hero__title h1 { font-size: clamp(2.8rem,14vw,4.6rem); }
  .tx-tool-hero figure { min-height: 300px; }
  .tx-tool > header h2 { font-size: clamp(2.1rem,10vw,3.5rem); }
  .tx-signal-tool > div,.tx-matcher nav,.tx-coverage__tiles { grid-template-columns: repeat(2,1fr); }
  .tx-budget-tool__ring { width: 210px; height: 210px; }
  .tx-checks output,.tx-matcher output,.tx-coverage output,.tx-rooms output,.tx-emergency output { padding: 24px 18px; }
  .tx-rooms__plan,.tx-risks__matrix { min-height: 470px; }
  .tx-energy nav { grid-template-columns: repeat(7,1fr); }
  .tx-energy nav button { min-width: 0; padding: 12px 2px; }
  .tx-energy__path { grid-template-columns: repeat(2,1fr); }
  .tx-tool-content > aside { padding: 24px 18px; }
  .tx-story-block { padding: 26px 18px; }
  .tx-project-form form { padding: 20px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
