/* GroundUp — phone spacing pass (loaded last). One rhythm for every page at <= 760px:
   section padding 56px, eyebrow -> h2 12px, h2 -> copy 14px, copy -> content 24px, card padding 20px, card gaps 14px. */
@media (max-width: 760px){
  /* ---------- global rhythm ---------- */
  .gu .sec-pad, .gu section.sec-pad, section.band, section.wrap:not([style*="padding"]), .gt-wrap{padding-top:56px!important;padding-bottom:56px!important}
  section.wrap[style*="padding-top:22px"]{padding-top:20px!important;padding-bottom:40px!important}
  section.wrap[style*="padding-top:8px"]{padding-top:0!important;padding-bottom:40px!important}
  .gu section > div[style*="max-width: 1280px"], .wrap, .gt-wrap{padding-left:20px!important;padding-right:20px!important}
  .gu .sec-pad > div[style*="max-width: 1280px"] > div[style*="margin-bottom: 44px"],
  .gu .sec-pad > div[style*="max-width: 1280px"] > div[style*="margin-bottom: 40px"]{margin-bottom:24px!important;gap:12px!important}
  .gu h2, .h2, .gt-h2{font-size:40px!important;line-height:.92!important;margin:0 0 14px!important}
  .gu .yellowbar, .gt-yb{margin-bottom:12px!important}
  .gu h2 + p, .h2 + p, .gt-h2 + p{margin:0 0 24px!important;font-size:17px!important;line-height:1.5!important}
  .gu .ghost{font-size:96px!important;top:14px!important;right:16px!important}
  .gu .btn, .cta{font-size:19px!important;padding:14px 20px!important;min-height:50px!important}

  /* ---------- home: hero ---------- */
  .gu .hero-wrap{padding:96px 0 0!important}
  .gu .hero-copy{padding:0 20px 28px!important;gap:12px!important}
  .gu .hero-copy > div:first-child{font-size:24px!important;margin-bottom:4px}
  .gu h1{font-size:56px!important;line-height:.9!important;letter-spacing:-.005em!important}
  .gu:has(#gt-ask) h1{font-size:52px!important}
  .gu .swash svg{bottom:-.12em!important;height:.2em!important}
  .gu .hero-copy p{font-size:16px!important;line-height:1.5!important;margin-top:2px!important}
  .gu .hero-copy > div[style*="gap: 14px"]{gap:10px!important;margin-top:6px!important}
  .gu .hero-side{padding:0 20px 32px!important}
  .gu .hero-side .yellowbar{font-size:17px!important;padding:6px 12px!important;white-space:nowrap!important;letter-spacing:.04em}
  .gt-ask{padding:18px 18px 16px!important}
  .gt-ask .q{font-size:26px!important;margin-bottom:12px!important}
  .gt-ask .ans{margin-top:12px!important}
  .gt-ask .hint{margin-top:8px!important}

  /* ---------- home: stat strip ---------- */
  .gu #proof .g2{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px 16px!important;padding:24px 20px!important}
  .gu #proof .g2 > div{display:grid!important;grid-template-columns:28px 1fr!important;column-gap:10px!important;align-items:start!important}
  .gu #proof .g2 svg{width:28px!important;height:28px!important;margin-top:2px}
  .gu .stat-big{font-size:30px!important;line-height:1!important}
  .gu .stat-lbl{font-size:12px!important;margin-top:3px}

  /* ---------- home: mat cards (photo on top, copy below) ---------- */
  .gu #mats .cards-2{gap:16px!important}
  .gu #mats article{min-height:0!important;display:grid!important;padding:0!important;background:#111}
  .gu #mats article picture{position:relative!important;display:block;aspect-ratio:4/3;overflow:hidden}
  .gu #mats article picture img{position:absolute!important}
  .gu #mats article > div[aria-hidden]{display:none!important}
  .gu #mats article .tag{top:14px!important;font-size:22px!important;padding:8px 16px 8px 18px!important}
  .gu #mats article > div:last-child{padding:18px 18px 20px!important;gap:12px!important}
  .gu #mats article > div:last-child > div:first-child{font-size:26px!important}
  .gu #mats article > div:last-child > div[style*="border-top"]{gap:14px 18px!important;padding-top:12px!important;font-size:14px!important}
  .gu #mats article > div:last-child > div[style*="border-top"] > span:last-child{margin-left:0!important;flex-basis:100%;font-size:18px!important}
  .gu #mats .sec-pad > div > p, .gu #mats p[style*="margin-top"]{margin-top:18px!important;font-size:15px!important}

  /* ---------- home: why rows, photos ---------- */
  .gu #why .sec-pad > div > div[style*="display: grid"]{gap:24px!important}
  .gu #why .check{font-size:16px!important}
  .gu #why figure, .gu #why .g1 > *{margin:0!important}
  .gu #why div[style*="margin-top: 56px"], .gu #why div[style*="margin-top: 48px"]{margin-top:24px!important}

  /* ---------- calculators (home simple + full panel on Why HDPE) ---------- */
  .gt-simple, .gt-ten{padding:18px!important}
  .gt-ten .gt-job, .gt-simple .gt-job{gap:16px!important}
  .gt-keys{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  .gt-keys > div{padding:14px 14px 12px!important}
  .gt-keys > div:first-child{grid-column:1/-1}
  .gt-keys b{font-size:30px!important}
  .gt-keys > div:first-child b{font-size:44px!important}
  .gt-close{padding:18px!important}
  .gt-ctas, .gt-close .ctas{gap:10px 16px!important;margin-top:14px!important}
  .gt-note, .gt .note{font-size:12px!important;line-height:1.45!important;margin-top:16px!important}
  .gt-tally{gap:10px!important}
  .gt-tally > div{padding:14px!important}
  .gt-impact{gap:10px!important}

  /* ---------- home: calculator section ---------- */
  .gu #calc label{margin:0!important;padding:14px 0!important;border-bottom:1px solid #1f1f1f}
  .gu #calc label > span{margin-bottom:6px!important}
  .gu #calc .sec-pad > div > div[style*="display: grid"], .gu #calc .sec-pad > div > div[style*="display: flex"]{gap:24px!important}
  .gu #calc div[style*="margin-top: 36px"], .gu #calc div[style*="margin-top: 40px"]{margin-top:24px!important}
  .gu .calc-row > div{padding:10px 14px!important}
  .gu .calc-row .big{font-size:26px!important}
  .gu .dk-wrap{padding:14px!important}
  .gu .dk-row{gap:8px!important}
  .gu #calc .btn{width:100%;justify-content:center}

  /* ---------- home: how it works / programs / specs ---------- */
  .gu .step-card{padding:16px 18px!important}
  .gu #how .g1, .gu #how div[style*="display: grid"]{gap:12px!important}
  .gu #own .cards-2{gap:14px!important}
  .gu .cards-2 > *{padding:20px 18px!important}
  .gu .cards-2 h3{font-size:28px!important;margin-bottom:12px!important}
  .gu .cards-2 .bb-row, .gu .cards-2 div[style*="gap: 12px"]{gap:10px!important}
  .gu .g3{gap:10px!important}
  .gu .g3 > div{padding:14px 12px!important}
  .gu .g3 > div > div:first-child{font-size:30px!important}

  /* ---------- home: industries / field / quote ---------- */
  .gu #industries .ind-wrap{gap:18px!important}
  .gu #field .sec-pad{padding-bottom:0!important}
  .gu #quote .sec-pad > div > div[style*="display: flex"]{gap:28px!important}
  .gu .quote-copy{gap:12px!important}
  .gu form{padding:18px 16px!important;gap:12px!important}
  .gu form fieldset{padding:12px 12px 6px!important;margin:4px 0!important}
  .gu form .pill{margin:0 6px 8px 0!important}

  /* ---------- financing ---------- */
  .gu #paths .cards-2, .gu #rto .g1{gap:14px!important}
  .gu #examples .g1{gap:14px!important}
  .gu #examples article{padding:18px!important}
  .gu #examples div[style*="font-size: 30px"]{font-size:24px!important}
  #gt-loop, .gt-loopw{gap:20px!important}
  .gt-loop{max-width:280px;margin:0 auto}
  .gt-steps{gap:8px!important}
  .gt-steps > div{padding:12px 14px!important}
  .gu .faqq{padding:14px 16px!important;font-size:18px!important}
  .gu .faqa{padding:0 16px 14px!important;font-size:15px!important}

  /* ---------- Why HDPE ---------- */
  .why-hero{padding:40px 20px 36px!important}
  .why-hero .h1, .why-hero h1{font-size:40px!important;line-height:.92!important}
  .why-hero p{font-size:16px!important;margin-top:14px!important}
  .ben, .benefits{gap:12px!important}
  .ben > div, .benefits > div, .card{padding:18px!important}
  .gt-mats{gap:12px!important}
  .gt-mc{padding:16px!important}
  .gt-mc h3{font-size:24px!important;margin:10px 0 6px!important}
  .gt-mc svg{max-height:150px}
  .gt-scene{padding:14px!important}
  .gt-chips{gap:8px!important;margin-bottom:14px!important}
  .gt-chips button{font-size:13px!important;padding:8px 10px!important}
  .gt-rig{margin-bottom:10px!important}
  .gt-meters{gap:8px!important;margin-top:8px!important}
  .loop{gap:22px!important}
  .steps{gap:10px!important}
  .steps > div{padding:14px!important}
  .ctas{gap:10px!important;margin-top:18px!important}
  .gt-cmp3{gap:10px!important}
  .gt-cmp3 > div{padding:14px 16px!important}

  /* ---------- Mat Planner ---------- */
  .pl-hero, .planner-hero{padding:36px 20px 28px!important}
  .pl-hero h1, .planner-hero h1{font-size:38px!important}
  .steps-bar, .stepbar{margin:16px 0 20px!important;gap:6px!important}
  .tiles{gap:10px!important}
  .tile{padding:12px!important}
  .mb-seg{margin-bottom:12px!important}
  .step .actions, .acts{gap:10px!important;margin-top:16px!important}
  .step .actions .cta, .acts .cta{width:100%;justify-content:center}
  .sumline{margin:14px 0!important;font-size:16px!important}
  .kpis, .k-grid{gap:10px!important}
  .kpis > div, .k-grid > div{padding:12px!important}

  /* ---------- Run the Numbers ---------- */
  .n-hero, .num-hero{padding:36px 20px 24px!important}
  .n-hero h1{font-size:40px!important}
  .n-panel, .inputs, .n-in{padding:18px!important;gap:16px!important}
  .n-in label, .inputs label{padding:0!important;margin:0!important}
  .n-head h2, .headline{font-size:30px!important;line-height:1.05!important}
  .bars{gap:8px!important;margin:18px 0!important}
  .two, .tiles2{gap:10px!important}
  .two > div, .tiles2 > div{padding:14px!important}
  details.more{margin-top:14px!important}
  details.more summary{padding:12px 0!important}

  /* ---------- footer ---------- */
  .foot2{padding:40px 20px 110px!important;gap:26px!important}
  .foot2 .cols{gap:22px 16px!important}
  .foot2 .bottom{padding-top:16px!important;gap:8px!important}
}
@media (max-width: 400px){
  .gu:has(#gt-ask) h1{font-size:48px!important}
  .gu .hero-side .yellowbar{font-size:15px!important}
}
@media (max-width: 760px){
  /* Why HDPE: section and inner wrap were both padding 56px */
  section.band > .wrap, section.band.has-ghost > .wrap{padding-top:0!important;padding-bottom:0!important}
}
@media (max-width: 760px){
  .gu #why .sec-pad + .sec-pad{padding-top:0!important}
  .gu #why figure{min-height:0!important;aspect-ratio:4/3}
  .gu .hero-copy > div:first-child{font-size:21px!important;white-space:nowrap}
}
@media (max-width: 760px){
  /* quote form: compact mat-type list */
  .gu fieldset.mats{padding:12px 12px 4px!important}
  .gu .mats-g{margin-bottom:10px!important}
  .gu .mats-h{margin-bottom:6px!important;font-size:12px!important}
  .gu .mats-r{display:grid!important;grid-template-columns:1fr!important;gap:6px!important}
  .gu .pill{padding:7px 10px!important;margin:0!important;font-size:14px!important;line-height:1.3!important;width:100%;box-sizing:border-box}
  .gu .pill small{white-space:normal!important}
  .gu .pill:has(input:checked){background:#1E2A10}
  .gu form .btn[type=submit], .gu form button.btn, .gu form .btn.big{width:100%;justify-content:center}
  .gu .calc-head, .gu .calc-row{gap:2px!important}
}
@media (max-width: 760px){
  .gt-tally{grid-template-columns:1fr 1fr!important;gap:10px!important}
  .gt-tally .g{grid-column:1/-1}
  .gt-tally b{font-size:38px!important}
  .gt-keys{grid-template-columns:1fr 1fr!important;gap:10px!important}
  .gt-keys > div:first-child{grid-column:1/-1}
}
@media (max-width: 760px){
  .gu #rto .g1, .gu #buyers .cards-2, .gu #paths .g1{gap:40px!important}
  .gu #rto .g1 > div > div[style*="margin-top"]{margin-top:16px!important}
}
@media (max-width: 760px){
  .gu #examples article{padding:0!important}
  .gu #examples article > div{padding:16px 18px!important}
  .gu #examples .sec-pad{gap:24px!important}
}
@media (max-width: 760px){
  .stage.dark{height:40vh!important;min-height:280px!important;max-height:340px}
}
@media (max-width: 760px){
  .gu form .pill input{width:18px!important;height:18px!important;min-height:0!important}
}
/* tablets */
@media (min-width: 761px) and (max-width: 1060px){
  .gu #proof .g2{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .gu .swash svg{bottom:-.1em!important}
}
@media (max-width: 760px){
  /* buttons: 50px tall, 18px type, never two lines; stacked buttons fill the column */
  .gu a.btn,.gu button.btn,.cta,.gt-cta,.gt-b2,.ctas .b,.act .b,#gt-hgo,.gu form button[type=submit]{min-height:50px!important;font-size:18px!important;padding:0 20px!important;white-space:nowrap!important}
  .gt-cta,.gt-ctaq{font-size:17px!important;padding:0 16px!important}
  .gu .hero-copy .btn,.gu form button[type=submit],.gt-close .gt-cta,.gt-simple .gt-cta,.ctas .cta,.ctas .b,.step .act .cta,.n-act .cta,.act .cta{width:100%!important;flex:1 1 100%!important}
  .gu #calc .btn,.gu .dk-wrap .btn,.gu .calc-actions .btn{width:100%!important;justify-content:center;font-size:17px!important}
  .ctas{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important}
  .ctas .cta{grid-column:1/-1}
  .qbar .cta{min-height:44px!important;font-size:15px!important;padding:0 14px!important}
  .qbar .b{min-height:44px!important;font-size:13px!important;padding:0 10px!important}
  .gt-chips button{min-height:38px;font-size:13px!important}
  .hd .b.lime,.mob .b{min-height:44px!important}
}
@media (max-width: 400px){
  .gu a.btn,.gu button.btn,.cta,#gt-hgo,.gu form button[type=submit]{font-size:17px!important;padding:0 16px!important}
  .gt-cta,.gt-ctaq{font-size:16px!important}
}
@media (max-width: 760px){
  .gt-close .gt-b2{width:100%!important}
  .gt-close .gt-btns, .gt-close .ctas{display:grid!important;gap:10px!important}
}
@media (max-width: 760px){
  .adds .b{white-space:nowrap;font-size:13px!important;padding:8px 6px!important}
}
