/* Compact mobile rhythm; section rails keep their own gutter and gallery layout. */
@media(max-width:700px){
  .page-head{padding-top:42px;padding-bottom:26px}
  .page-head .eyebrow{margin-bottom:17px}
  .page-head-row>p{margin-top:17px;font-size:12px;line-height:1.7}
  .page-head-row h2,.builder-page .page-head h2{font-size:clamp(36px,10.7vw,65px);line-height:1.12}
  .start-page .page-head{padding-bottom:26px}
  .start-page .start-foot{margin-top:16px;margin-bottom:0;padding-bottom:32px}
  .start-foot p{font-size:10px;line-height:1.7}
  .start-foot .text-link{margin-top:12px}
  .works-grid{margin-bottom:34px}
  .portfolio-library{margin-bottom:34px;padding-top:28px}
  .portfolio-intro{gap:17px;margin-bottom:22px}
  .portfolio-intro h3{font-size:clamp(31px,8.6vw,48px);line-height:1.15}
  .builder-layout{gap:24px;padding-bottom:38px}
  .builder-section-title{margin-top:22px;margin-bottom:12px}
  .builder-section-title>small{font-size:7px}
  .builder-preset-tag{margin-bottom:15px!important}
  .engineer-option{min-height:75px;padding:12px 7px}
  .engineer-option span{font-size:11px;margin:3px 0 5px}
  .engineer-option small{font-size:7.5px}
  .service-main{padding:15px 12px;grid-template-columns:25px minmax(0,1fr) auto;gap:10px}
  .service-title h3{font-size:11px;line-height:1.5}
  .service-title p{font-size:8.5px;line-height:1.6}
  .service-price{font-size:9px}
  .service-controls{padding:9px 12px 9px 47px}
  .service-warning{padding:10px 12px;font-size:9px}
  .builder-note{margin-top:14px;font-size:9px;line-height:1.7}
  .builder-links{gap:5px 16px}
  .equipment-page .page-head{padding-bottom:23px}
  .equipment-intro{gap:20px;margin-bottom:30px}
  .equipment-intro .gear-row{padding:16px 0;gap:7px 13px}
  .equipment-intro .gear-row h3{font-size:23px;line-height:1.25}
  .equipment-intro .gear-row p{font-size:10px}
  .equipment-page .studio-end{margin-bottom:35px;padding:24px}
  .equipment-page .studio-end h2{font-size:clamp(31px,9vw,46px)}
  .equipment-page .studio-end .button{margin-top:19px;min-height:48px}
  .contact-head{padding-top:38px;padding-bottom:30px}
  .contact-head h2{font-size:clamp(44px,12.2vw,76px);line-height:1.07;margin-top:18px}
  .contact-grid{padding-top:25px;padding-bottom:30px;gap:23px}
  .contact-grid>div{gap:9px}
  .contact-grid p{font-size:15px}
  .contact-grid small{font-size:11px}
  .footer-wordmark{margin-top:18px}
}

@media(max-width:600px){
  .start-grid.preset-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .preset-grid .start-card{padding:15px 12px 13px;min-height:0;border:0;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}
  .preset-grid .start-card:nth-child(2n){border-right:0}
  .preset-grid .start-card:nth-last-child(-n+2){border-bottom:0}
  .preset-grid .start-card .card-top{font-size:7px;letter-spacing:.4px}
  .preset-grid .card-arrow{width:24px;height:24px}
  .preset-grid .card-arrow svg{width:14px;height:14px}
  .preset-grid .start-card .preset-visual{height:82px;margin:10px 0 13px}
  .preset-grid .start-card h3{font-size:clamp(16px,4.7vw,25px);line-height:1.3;letter-spacing:-.3px;min-height:2.6em;margin-bottom:10px}
  .preset-grid .start-card p{font-size:10.5px;line-height:1.65;margin-bottom:14px}
  .preset-grid .record-visual{width:74px;height:74px}
  .preset-grid .record-ring-inner{inset:10px}
  .preset-grid .record-microphone{width:35px;height:35px}
  .preset-grid .preset-visual .text-lines{width:88px;padding:10px 11px}
  .preset-grid .text-lines i{height:1px;margin:8px 0}
  .preset-grid .preset-visual .wave-bars{width:96%;height:55px;gap:2px}
  .preset-grid .wave-bars i{width:2px;max-height:55px}
  .preset-grid .idea-visual,.preset-grid .idea-visual svg{width:69px;height:82px}
  .preset-grid .preset-inclusions{gap:0;width:100%;justify-content:space-between;margin-bottom:8px}
  .preset-grid .preset-inclusion{position:static}
  .preset-grid .preset-service-icon{width:30px;height:36px;padding:7px}
  .preset-grid .preset-service-icon svg{width:16px;height:16px}
  .preset-grid .preset-service-tooltip{left:0;right:auto;max-width:100%;font-size:9px;padding:9px 10px}
  .preset-grid .preset-service-tooltip::after{display:none}
  .preset-grid .start-card .card-price{padding-top:10px;flex-wrap:wrap;gap:2px 8px}
  .preset-grid .card-price strong{font-size:clamp(22px,6.1vw,31px)}
  .preset-grid .card-price small{font-size:8px}
  .engineer-card{padding:15px 11px}
  .engineer-card h2{font-size:clamp(28px,7.8vw,39px)}
  .engineer-card .engineer-art{height:145px;margin-top:12px;margin-bottom:16px}
  .engineer-card .button{font-size:9px;padding:12px 8px}
  .engineer-card .portfolio-link{font-size:9px}

  /* Put the visual beside the title so the complete estimate remains in view. */
  .project-summary{display:grid;grid-template-columns:minmax(0,1fr) 76px;column-gap:12px;padding:17px;top:0}
  .project-summary>*{grid-column:1 / -1;min-width:0}
  .summary-top{grid-row:1;font-size:7px;letter-spacing:.6px;padding-bottom:9px;gap:10px}
  .summary-top .project-led{gap:5px;white-space:nowrap}
  .project-summary .summary-title{grid-column:1;grid-row:2;font-size:clamp(26px,7.3vw,34px);line-height:1.06;letter-spacing:-.5px;margin:13px 0 5px}
  .project-summary .summary-engineer{grid-column:1;grid-row:3;font-size:9px;line-height:1.5}
  .project-summary .session-visual{grid-column:2;grid-row:2 / 4;align-self:center;width:76px;height:66px;margin:10px 0 0;gap:4px}
  .project-summary .session-track{height:10px;min-height:10px}
  .project-summary .session-track svg{height:8px}
  .project-summary .empty-session{font-size:8px;text-align:center;line-height:1.4;gap:5px}
  .project-summary .empty-session span{font-size:23px}
  .project-summary .summary-lines{grid-row:auto;margin-top:16px;gap:6px;font-size:10px;line-height:1.5;min-height:0}
  .summary-line{gap:12px}
  .summary-favorites{font-size:9px;line-height:1.5;margin:10px 0 0}
  .summary-total{margin-top:13px;padding-top:10px}
  .summary-total>span{font-size:8px;line-height:1.5}
  .summary-total strong{font-size:40px;line-height:1.08;margin-top:3px}
  .summary-total small{font-size:9px;line-height:1.5;margin-top:2px}
  .summary-warning{font-size:9px;line-height:1.5;margin-top:8px;padding-left:8px}
  .summary-book{display:flex;min-height:46px;margin-top:13px;padding:12px 15px;font-size:11px}
  .summary-bottom{font-size:8px;line-height:1.5;margin-top:8px}
  .summary-tools{margin-top:5px;gap:12px}
  .summary-tools button{font-size:8px;min-height:32px;padding:7px 0}
}

@media(max-width:600px) and (max-height:720px){
  .project-summary{padding:14px}
  .project-summary .summary-title{font-size:26px;margin-top:10px}
  .project-summary .summary-lines{margin-top:12px;gap:5px}
  .summary-total{margin-top:10px;padding-top:8px}
  .summary-total strong{font-size:36px}
  .summary-book{margin-top:10px;min-height:44px}
  .summary-favorites{margin-top:8px}
}

@media(max-width:359px){
  .preset-grid .start-card{padding-inline:9px}
  .preset-grid .preset-service-icon{width:25px;padding-inline:4px}
  .preset-grid .start-card p{font-size:9.5px}
  .preset-grid .start-card h3{font-size:16px}
  .project-summary{grid-template-columns:minmax(0,1fr) 60px;column-gap:9px;padding:13px}
  .project-summary .session-visual{width:60px}
  .project-summary .summary-title{font-size:25px}
  .summary-line{font-size:9px;gap:8px}
}
