/* 13 inch and other small laptops. Below 1728 the page stops scaling at .9px, so the Make it stage keeps scaling with the window,
   and the Industries type gets smaller while the photo keeps its size. */
@media(min-width:1025px) and (max-width:1727px){
  .offers{--u:calc(100vw / 1920)}
  .industries{--t:calc(100vw / 1920)}
  .industry-head{height:calc(96 * var(--t))}
  .industry-head h2{font-size:calc(38 * var(--t));line-height:1.1}
  .industry-copy{padding-top:calc(14 * var(--t))}
  .industry-copy h3{margin-bottom:calc(8 * var(--t));font-size:calc(112 * var(--t));letter-spacing:calc(-4.4 * var(--t))}
  .industry-copy p{font-size:max(13px,calc(17 * var(--t)))}
  .industry-media{height:calc(100vh - 80px - 340 * var(--t) - 46px)}
  /* Menu on 13 inch (user, 2026-11-07): labels closer together and a narrower quote button. */
  .site-header nav>a:not(.chamfer){padding:0 8px}
  .site-header nav>a.current{padding-left:21px}
  .site-header nav>a.current::before{left:8px}
  .chamfer.header-quote{padding:0 12px;font-size:11.5px}
}
/* Responsive layer for the live-merge page. 1265 and wider keeps the desktop rules.
   1025-1264: same layout, scaled so the container always fits. 1024 and below: stacked layout. */
.nav-toggle{display:none}
.nav-locked{overflow:hidden}

@media(max-width:1264px){
  :root{--u:calc((100vw - 80px) / 1316)}
  .readout dt{font-size:max(13px,calc(14 * var(--u)))}
  .site-header{padding:0 40px}
  .brand{position:relative;z-index:2}
  .nav-toggle{position:relative;z-index:2;display:grid;place-content:center;gap:6px;width:44px;height:44px;margin-right:-11px;padding:0;border:0;background:none;color:var(--nav-text);cursor:pointer}
  .nav-toggle span{display:block;width:22px;height:2px;background:currentColor;transition:transform .25s ease}
  .site-header[data-nav-theme=light] .nav-toggle{color:#0c0c0d}
  .site-header.nav-open .nav-toggle{color:#ecedee}
  .site-header.nav-open .nav-toggle span:first-child{transform:translateY(4px) rotate(45deg)}
  .site-header.nav-open .nav-toggle span:last-child{transform:translateY(-4px) rotate(-45deg)}
  .site-header.nav-open[data-theme] .brand-logo:not(.brand-logo-on-light){opacity:1}
  .site-header.nav-open[data-theme] .brand-logo-on-light{opacity:0}
  .site-header nav{position:fixed;inset:0;z-index:1;display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:0;padding:88px 40px 32px;background:#0c0c0d;opacity:0;visibility:hidden;transition:opacity .2s ease,visibility 0s linear .2s}
  .site-header.nav-open nav{opacity:1;visibility:visible;transition:opacity .2s ease}
  .site-header nav>a:not(.chamfer){height:auto;padding:14px 0;border-bottom:1px solid #2c2e32;font:500 28px/1.2 'Chakra Petch',sans-serif;letter-spacing:0;text-transform:none;color:#ecedee}
  .site-header nav .chamfer.header-quote{width:100%;height:52px;margin-top:24px;font-size:14px}
  .site-header.nav-open[data-nav-theme] .chamfer.header-quote{filter:none}
  .site-header nav>a.current{padding-left:0}
  .site-header nav>a.current::before{display:none}
}

@media(max-width:1024px){
  :root{--u:clamp(.62px,calc(100vw / 1100),.82px);--g:20px}
  html{scroll-padding-top:64px}
  .site-header{height:64px;padding:0 20px}
  .site-header nav{padding:88px 20px 32px}
  .brand{width:112px}
  .brand .brand-logo{inline-size:112px}

  /* Hero: title on top, part in the middle, words and buttons at the bottom */
  .hero h1,.hero-center .hero h1{inset:84px 20px auto;font-size:min(13vw,7.4svh,84px);line-height:1.02;letter-spacing:-.02em}
  .hero-sub,.hero-center .hero-sub{left:20px;right:20px;top:auto;bottom:100px;width:auto}
  .hero-actions,.hero-center .hero-actions{top:auto;bottom:28px;left:20px;right:20px;gap:10px;transform:none}
  .hero.go .hero-actions,.hero-center .hero.go .hero-actions{transform:none}
  .hero-actions .chamfer{--corner:10px;flex:1 1 0;width:auto;height:52px;padding:0 8px;font-size:14px}

  /* One title size for the stacked sections */
  .capacity-head h2,.buy h2,.how h2,.team h2,.careers h2,.contact h2,.metrics .capacity-head h2{width:auto;font-size:clamp(32px,8.6vw,52px)}

  /* Capacity */
  .metrics{padding:88px 20px 64px}
  .metrics .rule-row{width:auto}
  .cap-word{width:auto;margin-bottom:24px;font-size:17.4vw}
  .metrics .capacity-head{width:auto}
  .cap-band{height:min(100%,150vw)}
  .metrics .capacity-grid{width:auto;margin-top:52vw}
  .metrics .metric-grid.readout{grid-template-columns:repeat(2,1fr)}
  .readout>div{gap:20px;min-height:0;padding:12px 12px 16px 0}
  .readout>div+div{border-left:0}
  .readout>div:nth-child(even){padding-left:12px;border-left:1px solid #2c2e32}
  .readout>div:nth-child(n+3){border-top:1px solid #2c2e32}
  .readout dd{font-size:40px}
  .readout dd small{font-size:14px}

  /* Make it, Measure it, Learn from it */
  .offer-ruler{display:none}
  .offers-stage::after{content:"";position:absolute;inset:0 0 auto;z-index:1;height:46%;background:linear-gradient(180deg,rgba(8,9,11,.72),rgba(8,9,11,0));pointer-events:none}
  .offer-switch{z-index:2;top:84px;left:20px;right:20px;gap:72svh;width:auto}
  .offer-title{font-size:13vw;letter-spacing:-.04em}
  .offer-description{max-width:none;font-size:17px}
  .offer-bg[data-bg="make"]{object-position:72% 50%}
  .make-detail{z-index:2;top:auto;right:20px;bottom:24px;left:20px;width:auto}
  .make-detail::before{box-shadow:0 0 40px 28px rgba(8,9,11,.68)}
  .stage-rows li{height:52px}
  .stage-rows span{font-size:15px}

  /* How buying works: the steps stack and the dots run down the side */
  .buy{padding:72px 0}
  .buy-stage{padding:0 20px}
  .buy-head{display:block;width:auto}
  .buy h2{width:auto}
  .buy-head p{width:auto;margin-top:16px}
  .steps{display:block;width:auto;margin-top:36px;padding-left:22px}
  .steps::before{top:6px;bottom:6px;left:2px;right:auto;width:1px;height:auto}
  .steps li{padding-bottom:26px}
  .steps li:last-child{padding-bottom:0}
  .tick{height:auto;font-size:12px}
  .tick::after{display:none}
  .stop{left:-22px;top:3px}
  .step-body{padding:6px 0 0}
  .step-body .data{display:none}
  .steps h3{margin-top:4px;font-size:18px}
  .steps p{margin-top:6px;font-size:14px}

  /* Technology */
  .how{--ts-nav:64px;padding-bottom:48px}
  .how-heading{display:block;width:auto;margin:0 20px;padding-top:72px}
  .rule-row{gap:12px;margin-bottom:24px;padding-top:10px}
  .tech-word{margin-bottom:24px;font-size:13.4vw}
  .how-lead{width:auto;margin-top:16px}

  /* Industries */
  .industries{height:auto}
  .industry-head{flex-direction:column;align-items:flex-start;gap:10px;height:auto;padding:64px 20px 20px}
  .industry-head h2{font-size:clamp(30px,8vw,48px);line-height:1.08;white-space:normal}
  .industry-card{width:calc(100vw - 40px)}
  .industry-media{height:max(220px,56vw)}
  .industry-copy{padding:14px 0 0 20px}
  .industry-copy h3{font-size:clamp(40px,12vw,76px);letter-spacing:-.03em}
  .industry-copy p{width:auto;padding-right:20px}
  .industry-progress{position:relative;top:auto;right:auto;bottom:auto;left:auto;height:24px;margin:20px 20px 32px}

  /* Mission */
  .hm-pin{align-items:flex-end;padding:0 20px 56px;background:linear-gradient(transparent 46%,rgb(12 12 13 / calc(.9 * var(--m,0))) 70%)}
  .hm-copy{width:auto}
  #mission{font-size:clamp(24px,6.4vw,40px)}

  /* Team */
  .team{padding:72px 0}
  .team-head{display:block;width:auto;margin:0 20px 28px}
  .team-head p{width:auto;margin-top:12px}
  .team-band{width:auto;margin:0 20px}
  .team-logos{--u:.7px}

  /* Careers and quote */
  .careers{height:auto;padding:48px 20px}
  .careers-stage{position:static;height:auto;overflow:visible}
  .careers-frame{--ix:0px;--iy:0px;--cut:18px;height:auto;padding:64px 24px}
  .careers-copy{gap:16px}
  .careers-copy p{max-width:none}
  .careers-frame .chamfer{--corner:10px;width:220px;height:52px;font-size:14px}
  .quote-dialog{width:calc(100vw - 32px);max-width:560px}
  .quote-box{padding:20px}
  .quote-head{margin-bottom:20px}
  .quote-head h2{font-size:26px}
  .quote-row2,.quote-row3{grid-template-columns:1fr;gap:18px}
  .rfq{gap:18px}
  .quote-submit{flex-direction:column;align-items:stretch;gap:12px}
  .quote-submit .chamfer{--corner:10px;width:100%;height:52px;font-size:14px}

  /* Footer */
  .contact{height:auto;padding:72px 20px 40px}
}

@media(max-width:640px){
  .rule-row .mid{display:none}
  /* Shorter scroll for the assembly on a phone, as on the live page */
  .live-hero .f4s:not(.is-still){--end-hold:.7;height:310vh!important}
}

@media(hover:none){
  .industry-arrow{display:none}
}

/* Phones: the Capacity labels sit on the photo, so the figures get a dark layer of their own (user, 2026-11-06). */
@media(max-width:1024px){.metrics .capacity-grid{background:linear-gradient(rgb(12 12 13 / .66),rgb(12 12 13 / .84))}.readout dt{color:#c9ccd1}}

@media(max-width:1024px){.contact-ask{display:block;padding-bottom:56px}.contact-ask h2{width:auto}.contact-ask .chamfer{margin:36px 0 0}.footer-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:36px 20px;padding-top:48px}.contact .footer-links h3{margin-bottom:14px}.footer-links ul{gap:11px}.footer-brand{width:100%;margin:48px 0 0}}

/* Short laptop screens, 13 inch and under (user, 2026-11-07): each section should sit on about one screen. Tall monitors keep the full spacing. */
@media(min-width:1025px) and (max-height:900px){
  .metrics{padding-top:calc(72 * var(--u));padding-bottom:calc(72 * var(--u))}
  .metrics .capacity-grid{margin-top:calc(170 * var(--u))}
  .metrics .cap-word{font-size:calc(132 * var(--u))}
  .team{padding-top:calc(88 * var(--u));padding-bottom:calc(88 * var(--u))}
  .team-head{margin-bottom:calc(32 * var(--u))}
}

/* Phones: two buttons share the hero row, so the arrows step aside. Every button keeps a comfortable height. */
/* The closing button keeps a thumb-sized target on phones. */
@media(max-width:1024px){.contact-ask .chamfer{width:auto;height:52px;padding:0 22px;font-size:14px}}
/* Nothing readable goes under 11px on a small screen. */
@media(max-width:1024px){.rule-row span,.industry-count,.team-name,.kicker{font-size:11px}}
