/* ==========================================================================
   geomembraneweldingmachine.com
   Visual identity: industrial plastic-welding equipment.
   Graphite machine casing, concrete grey ground, heated-wedge orange.
   ========================================================================== */

:root{
  --graphite:#161d24;
  --graphite-90:#1e2830;
  --steel:#38454f;
  --steel-60:#5e6b74;
  --concrete:#edeff0;
  --concrete-dk:#dfe3e5;
  --paper:#ffffff;
  --heat:#cd440d;
  --heat-dk:#a83507;
  --heat-soft:#fdf0e9;
  --heat-light:#f0722e;
  --line:#d3d8db;
  --line-dk:#b9c1c6;
  --ok:#1c6b45;

  --wrap:1180px;
  --wrap-narrow:760px;
  --gut:clamp(1.15rem,4vw,2.5rem);

  --f-head:"Barlow Condensed",'Arial Narrow',Impact,sans-serif;
  --f-body:"Barlow",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;

  --r:3px;
  --shadow:0 1px 2px rgba(22,29,36,.08),0 8px 24px -12px rgba(22,29,36,.22);
}

*,*::before,*::after{box-sizing:border-box}

html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}

body{
  margin:0;
  background:var(--concrete);
  color:var(--graphite);
  font-family:var(--f-body);
  font-size:1.0625rem;
  line-height:1.65;
  font-weight:400;
  -webkit-font-smoothing:antialiased;
}

/* --- Type scale --------------------------------------------------------- */
h1,h2,h3,h4,h5{
  font-family:var(--f-head);
  font-weight:600;
  line-height:1.08;
  letter-spacing:.004em;
  margin:0 0 .5em;
  color:var(--graphite);
}
h1{font-size:clamp(2.3rem,1.5rem + 3.2vw,3.75rem)}
h2{font-size:clamp(1.75rem,1.25rem + 2vw,2.6rem);margin-top:2.2em}
h3{font-size:clamp(1.3rem,1.1rem + .9vw,1.7rem);margin-top:1.9em}
h4{font-size:1.16rem;font-family:var(--f-body);font-weight:600;line-height:1.35;margin-top:1.6em}
h2:first-child,h3:first-child,h4:first-child{margin-top:0}

p{margin:0 0 1.15em;max-width:74ch}
a{color:var(--heat-dk);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px}
a:hover{color:var(--heat);text-decoration-thickness:2px}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{
  outline:3px solid var(--heat);outline-offset:2px;border-radius:2px
}
strong{font-weight:600}
img{max-width:100%;height:auto;display:block}
hr{border:0;border-top:1px solid var(--line);margin:2.75rem 0}

ul,ol{margin:0 0 1.2em;padding-left:1.25rem;max-width:74ch}
li{margin-bottom:.45em}
li::marker{color:var(--steel-60)}

.wrap{width:100%;max-width:var(--wrap);margin-inline:auto;padding-inline:var(--gut)}
.wrap-narrow{max-width:var(--wrap-narrow)}
.skip{position:absolute;left:-9999px;top:0;background:var(--graphite);color:#fff;padding:.7rem 1.1rem;z-index:200}
.skip:focus{left:.5rem;top:.5rem}

/* --- Header ------------------------------------------------------------- */
.topbar{background:var(--graphite);color:#c3ccd2;font-size:.855rem;line-height:1.3}
.topbar .wrap{display:flex;gap:1.5rem;align-items:center;justify-content:space-between;min-height:38px;flex-wrap:wrap}
.topbar a{color:#eef2f4;text-decoration:none;font-weight:500}
.topbar a:hover{color:#fff;text-decoration:underline}
.topbar-meta{display:flex;gap:1.4rem;align-items:center}
@media (max-width:800px){.topbar{display:none}}

.masthead{background:var(--paper);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:100}
.masthead .wrap{display:flex;align-items:center;gap:1.25rem;min-height:74px}

.brand{display:flex;align-items:center;gap:.7rem;text-decoration:none;min-width:0;flex-shrink:1}
.brand:hover{text-decoration:none}
.brand-mark{width:34px;height:34px;flex:none}
.brand-text{display:flex;flex-direction:column;line-height:1.12;min-width:0}
.brand-name{font-family:var(--f-head);font-size:1.32rem;font-weight:700;color:var(--graphite);letter-spacing:.01em;overflow-wrap:break-word;min-width:0}
.brand-sub{font-size:.72rem;color:var(--steel-60);letter-spacing:.09em;margin-top:3px}

.nav{margin-left:auto;display:flex;align-items:center;gap:.15rem}
.nav > ul{display:flex;list-style:none;margin:0;padding:0;gap:.1rem;align-items:center;max-width:none}
.nav li{margin:0;position:relative}
.nav > ul > li > a{
  display:block;padding:.62rem .72rem;font-size:.945rem;font-weight:500;
  color:var(--steel);text-decoration:none;border-radius:var(--r);white-space:nowrap
}
.nav > ul > li > a:hover{background:var(--concrete);color:var(--graphite)}
.nav > ul > li > a[aria-current="page"]{color:var(--heat-dk);box-shadow:inset 0 -2px 0 var(--heat)}
.nav .cta-link{background:var(--heat);color:#fff!important;padding:.62rem 1.15rem!important;font-weight:600}
.nav .cta-link:hover{background:var(--heat-dk)}

.submenu{
  position:absolute;top:100%;left:0;min-width:262px;background:var(--paper);
  border:1px solid var(--line);box-shadow:var(--shadow);list-style:none;margin:0;padding:.35rem;
  display:none;z-index:120;border-radius:var(--r)
}
.has-sub:hover .submenu,.has-sub:focus-within .submenu{display:block}
.submenu a{display:block;padding:.5rem .7rem;font-size:.93rem;color:var(--steel);text-decoration:none;border-radius:2px}
.submenu a:hover{background:var(--heat-soft);color:var(--heat-dk)}

.burger{
  margin-left:auto;display:none;background:var(--paper);border:1px solid var(--line-dk);
  border-radius:var(--r);padding:.5rem .7rem;cursor:pointer;align-items:center;gap:.5rem;
  font-family:var(--f-body);font-size:.9rem;font-weight:600;color:var(--graphite)
}
.burger svg{display:block}

@media (max-width:1080px){
  .nav{display:none}
  .burger{display:flex}
  .nav.open{
    display:block;position:absolute;top:100%;left:0;right:0;background:var(--paper);
    border-bottom:1px solid var(--line);box-shadow:var(--shadow);
    padding:.6rem var(--gut) 1.3rem;max-height:calc(100vh - 74px);overflow-y:auto
  }
  .nav.open > ul{flex-direction:column;align-items:stretch;gap:0}
  .nav.open > ul > li{border-bottom:1px solid var(--concrete-dk)}
  .nav.open > ul > li > a{padding:.85rem .2rem;font-size:1.03rem}
  .nav.open .submenu{
    display:block;position:static;border:0;box-shadow:none;padding:0 0 .7rem .95rem;min-width:0
  }
  .nav.open .submenu a{padding:.42rem .2rem;font-size:.95rem;color:var(--steel-60)}
  .nav.open .cta-link{display:inline-block;margin-top:.9rem}
}

/* --- Hero --------------------------------------------------------------- */
.hero{background:var(--graphite);color:#e6ebee;padding:clamp(2.75rem,6vw,4.75rem) 0 0;position:relative}
.hero::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:3px;
  background:linear-gradient(90deg,var(--heat) 0%,var(--heat) 22%,#3a4650 22%,#3a4650 100%)
}
.hero h1{color:#fff;max-width:19ch}
.hero-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:clamp(1.75rem,4vw,3.5rem);align-items:end}
.hero-lede{font-size:clamp(1.06rem,1rem + .35vw,1.24rem);color:#b9c4cb;max-width:56ch;margin-bottom:1.6rem}
.hero-actions{display:flex;gap:.75rem;flex-wrap:wrap;margin-bottom:clamp(2rem,4vw,3rem)}
.hero-figure{margin:0;align-self:end}
.hero-figure img{width:100%;border:1px solid #2c3841;background:#1e2830}
.hero-figure figcaption{font-size:.82rem;color:#8b979f;margin-top:.55rem}
@media (max-width:900px){
  .hero-grid{grid-template-columns:1fr}
  .hero-figure{display:none}
}

/* Spec strip under the hero */
.specstrip{background:var(--graphite-90);border-top:1px solid #2c3841}
.specstrip ul{
  list-style:none;margin:0;padding:0;max-width:none;
  display:grid;grid-template-columns:repeat(4,1fr)
}
.specstrip li{margin:0;padding:1.05rem 1.15rem;border-left:1px solid #2c3841}
.specstrip li:first-child{border-left:0;padding-left:0}
.specstrip dt{font-size:.79rem;color:#8b979f;margin-bottom:.28rem;letter-spacing:.02em}
.specstrip dd{margin:0;font-family:var(--f-head);font-size:1.42rem;font-weight:600;color:#fff;line-height:1.1}
@media (max-width:820px){
  .specstrip ul{grid-template-columns:repeat(2,1fr)}
  .specstrip li{border-left:0;border-top:1px solid #2c3841;padding-left:0;padding-right:.9rem}
  .specstrip li:nth-child(2){border-top:0}
  .specstrip li:first-child{border-top:0}
}

/* --- Buttons ------------------------------------------------------------ */
.btn{
  display:inline-flex;align-items:center;gap:.5rem;padding:.78rem 1.5rem;
  font-family:var(--f-body);font-size:1rem;font-weight:600;line-height:1.2;
  border-radius:var(--r);text-decoration:none;border:1.5px solid transparent;cursor:pointer;
  transition:background-color .14s ease,color .14s ease,border-color .14s ease
}
.btn-primary{background:var(--heat);color:#fff;border-color:var(--heat)}
.btn-primary:hover{background:var(--heat-dk);border-color:var(--heat-dk);color:#fff;text-decoration:none}
.btn-ghost{background:transparent;color:#fff;border-color:#4a5760}
.btn-ghost:hover{border-color:#fff;background:rgba(255,255,255,.06);color:#fff;text-decoration:none}
.btn-outline{background:var(--paper);color:var(--graphite);border-color:var(--line-dk)}
.btn-outline:hover{border-color:var(--graphite);color:var(--graphite);text-decoration:none}
.btn-block{width:100%;justify-content:center}

/* --- Sections ----------------------------------------------------------- */
.section{padding:clamp(2.75rem,6vw,4.5rem) 0}
.section-paper{background:var(--paper)}
.section-tight{padding-block:clamp(2rem,4vw,3rem)}
.section-head{max-width:62ch;margin-bottom:2.1rem}
.section-head p{color:var(--steel);font-size:1.06rem}

/* Section headings carry a short heat rule instead of an all-caps eyebrow */
.rule-head{padding-top:1.05rem;border-top:3px solid var(--graphite);position:relative}
.rule-head::before{content:"";position:absolute;top:-3px;left:0;width:64px;height:3px;background:var(--heat)}

/* --- Machine cards ------------------------------------------------------ */
.machine-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(285px,1fr));gap:1.4rem;list-style:none;padding:0;margin:0;max-width:none}
.machine-grid li{margin:0}
.machine-card{
  display:flex;flex-direction:column;height:100%;background:var(--paper);
  border:1px solid var(--line);border-radius:var(--r);overflow:hidden
}
.machine-card img{aspect-ratio:4/3;object-fit:cover;width:100%;background:var(--concrete-dk)}
.machine-card-body{padding:1.25rem 1.35rem 1.5rem;display:flex;flex-direction:column;flex:1}
.machine-card h3{margin:0 0 .5rem;font-size:1.35rem}
.machine-card h3 a{color:var(--graphite);text-decoration:none}
.machine-card h3 a:hover{color:var(--heat-dk);text-decoration:underline}
.machine-card p{font-size:.985rem;color:var(--steel);margin-bottom:1rem;flex:1}
.machine-card .card-specs{
  list-style:none;margin:0 0 1.1rem;padding:.85rem 0 0;border-top:1px solid var(--concrete-dk);
  font-size:.885rem;color:var(--steel-60);max-width:none
}
.machine-card .card-specs li{display:flex;justify-content:space-between;gap:1rem;margin-bottom:.35rem}
.machine-card .card-specs b{color:var(--graphite);font-weight:600}
.card-link{font-weight:600;font-size:.97rem;align-self:flex-start}

/* --- Spec tables (the signature element) -------------------------------- */
.table-scroll{overflow-x:auto;margin:0 0 1.4rem;border:1px solid var(--line);border-radius:var(--r);background:var(--paper)}
table{border-collapse:collapse;width:100%;font-size:.925rem;min-width:520px}
caption{text-align:left;font-size:.88rem;color:var(--steel-60);padding:.85rem 1rem;border-bottom:1px solid var(--line)}
th,td{padding:.62rem .85rem;text-align:left;border-bottom:1px solid var(--concrete-dk);vertical-align:top}
thead th{
  background:var(--graphite);color:#fff;font-family:var(--f-body);font-weight:600;
  font-size:.87rem;border-bottom:0;position:sticky;top:0
}
tbody tr:last-child td{border-bottom:0}
tbody tr:nth-child(even){background:#f7f8f9}
td.num,th.num{text-align:right;font-variant-numeric:tabular-nums}
.table-scroll table th:first-child{min-width:220px}
.datasheet tbody th{font-weight:500;color:var(--graphite);background:transparent}
.table-note{font-size:.87rem;color:var(--steel-60);max-width:74ch}
.table-note ol{font-size:.87rem;padding-left:1.1rem}

/* --- Prose blocks ------------------------------------------------------- */
.prose > :first-child{margin-top:0}
.prose ul li,.prose ol li{padding-left:.15rem}
.callout{
  background:var(--heat-soft);border-left:3px solid var(--heat);
  padding:1.15rem 1.35rem;margin:1.9rem 0;border-radius:0 var(--r) var(--r) 0
}
.callout p:last-child{margin-bottom:0}
.callout h4{margin-top:0;margin-bottom:.45rem}
.note{
  background:var(--paper);border:1px solid var(--line);padding:1.15rem 1.35rem;
  margin:1.9rem 0;border-radius:var(--r)
}
.note p:last-child{margin-bottom:0}

/* --- Two-column layout with sidebar ------------------------------------- */
.layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:clamp(1.9rem,4vw,3.4rem);align-items:start}
@media (max-width:1000px){.layout{grid-template-columns:1fr}}
.sidebar{position:sticky;top:96px;display:flex;flex-direction:column;gap:1.15rem}
@media (max-width:1000px){.sidebar{position:static}}
.side-card{background:var(--paper);border:1px solid var(--line);border-radius:var(--r);padding:1.3rem 1.4rem}
.side-card h3{font-size:1.2rem;margin:0 0 .7rem}
.side-card p{font-size:.94rem;color:var(--steel);margin-bottom:1rem}
.side-card ul{list-style:none;padding:0;margin:0;font-size:.95rem}
.side-card ul li{margin-bottom:.55rem;padding-left:0}
.side-card ul li:last-child{margin-bottom:0}
.side-card-dark{background:var(--graphite);border-color:var(--graphite);color:#dbe2e6}
.side-card-dark h3{color:#fff}
.side-card-dark p{color:#b9c4cb}
.side-card-dark a{color:#fff}

/* --- FAQ ---------------------------------------------------------------- */
.faq{border-top:1px solid var(--line);margin:1.6rem 0 0}
.faq details{border-bottom:1px solid var(--line);background:var(--paper)}
.faq summary{
  cursor:pointer;padding:1.05rem 3rem 1.05rem 1.15rem;font-weight:600;font-size:1.045rem;
  list-style:none;position:relative;color:var(--graphite)
}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{
  content:"";position:absolute;right:1.2rem;top:50%;width:11px;height:11px;
  border-right:2px solid var(--heat);border-bottom:2px solid var(--heat);
  transform:translateY(-70%) rotate(45deg);transition:transform .16s ease
}
.faq details[open] summary::after{transform:translateY(-30%) rotate(225deg)}
.faq summary:hover{background:var(--heat-soft)}
.faq .faq-body{padding:0 1.15rem 1.3rem}
.faq .faq-body p:last-child{margin-bottom:0}

/* --- Breadcrumbs -------------------------------------------------------- */
.crumbs{background:var(--paper);border-bottom:1px solid var(--line);font-size:.875rem}
.crumbs ol{list-style:none;display:flex;flex-wrap:wrap;gap:.4rem;margin:0;padding:.72rem 0;max-width:none}
.crumbs li{margin:0;display:flex;gap:.4rem;align-items:center;color:var(--steel-60)}
.crumbs li+li::before{content:"/";color:var(--line-dk)}
.crumbs a{color:var(--steel);text-decoration:none}
.crumbs a:hover{color:var(--heat-dk);text-decoration:underline}

/* --- Page header (interior) --------------------------------------------- */
.pagehead{background:var(--paper);border-bottom:1px solid var(--line);padding:clamp(2rem,4.5vw,3.25rem) 0}
.pagehead h1{max-width:22ch;margin-bottom:.6rem}
.pagehead .lede{font-size:clamp(1.05rem,1rem + .3vw,1.2rem);color:var(--steel);max-width:64ch;margin-bottom:0}

/* --- Related links / internal linking blocks ---------------------------- */
.linkgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(255px,1fr));gap:1rem;list-style:none;padding:0;margin:0;max-width:none}
.linkgrid li{margin:0}
.linkgrid a{
  display:block;height:100%;background:var(--paper);border:1px solid var(--line);
  border-left:3px solid var(--heat);padding:1rem 1.15rem;text-decoration:none;border-radius:0 var(--r) var(--r) 0
}
.linkgrid a:hover{border-color:var(--line-dk);border-left-color:var(--heat-dk);background:#fbfcfc}
.linkgrid b{display:block;color:var(--graphite);font-size:1.03rem;font-weight:600;margin-bottom:.2rem;font-family:var(--f-head);letter-spacing:.005em}
.linkgrid span{color:var(--steel-60);font-size:.9rem;line-height:1.45;display:block}

/* --- CTA band ----------------------------------------------------------- */
.ctaband{background:var(--graphite);color:#dbe2e6;padding:clamp(2.4rem,5vw,3.6rem) 0}
.ctaband h2{color:#fff;margin-top:0}
.ctaband p{color:#b9c4cb;max-width:60ch}
.ctaband-inner{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:2.2rem;align-items:center}
@media (max-width:860px){.ctaband-inner{grid-template-columns:1fr}}
.ctaband .btn-primary{margin-right:.6rem}

/* --- Blog / guides ------------------------------------------------------ */
.post-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:1.4rem;list-style:none;padding:0;margin:0;max-width:none}
.post-grid li{margin:0}
.post-card{display:flex;flex-direction:column;height:100%;background:var(--paper);border:1px solid var(--line);border-radius:var(--r);overflow:hidden}
.post-card img{aspect-ratio:16/9;object-fit:cover;width:100%;background:var(--concrete-dk)}
.post-card-body{padding:1.15rem 1.3rem 1.4rem;display:flex;flex-direction:column;flex:1}
.post-card h3{font-size:1.24rem;margin:0 0 .5rem}
.post-card h3 a{color:var(--graphite);text-decoration:none}
.post-card h3 a:hover{color:var(--heat-dk);text-decoration:underline}
.post-card p{font-size:.95rem;color:var(--steel);margin:0 0 1rem;flex:1}
.post-meta{font-size:.83rem;color:var(--steel-60)}

.article-head{max-width:74ch}
.article-body{max-width:74ch}
.article-body h2{margin-top:2.4em}
.article-body img{border:1px solid var(--line);border-radius:var(--r);margin:1.9rem 0}
.toc{background:var(--paper);border:1px solid var(--line);border-radius:var(--r);padding:1.2rem 1.4rem;margin:0 0 2.2rem}
.toc h2{font-size:1.1rem;margin:0 0 .6rem;font-family:var(--f-body);font-weight:600}
.toc ol{margin:0;padding-left:1.15rem;font-size:.96rem}
.toc li{margin-bottom:.3rem}

/* --- Forms -------------------------------------------------------------- */
.form-card{background:var(--paper);border:1px solid var(--line);border-radius:var(--r);padding:clamp(1.4rem,3vw,2.1rem)}
.field{margin-bottom:1.15rem}
.field label{display:block;font-weight:600;font-size:.95rem;margin-bottom:.35rem}
.field .hint{font-weight:400;color:var(--steel-60);font-size:.88rem}
.field input,.field select,.field textarea{
  width:100%;padding:.7rem .85rem;font-family:var(--f-body);font-size:1rem;
  border:1px solid var(--line-dk);border-radius:var(--r);background:var(--paper);color:var(--graphite)
}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--heat)}
.field textarea{min-height:140px;resize:vertical}
.field-row{display:grid;grid-template-columns:1fr 1fr;gap:1.15rem}
@media (max-width:620px){.field-row{grid-template-columns:1fr}}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.form-msg{padding:.9rem 1.1rem;border-radius:var(--r);margin-bottom:1.2rem;font-size:.96rem;display:none}
.form-msg.err{display:block;background:#fdecea;border:1px solid #f0b3ab;color:#8a1c0c}
.form-msg.ok{display:block;background:#e9f5ef;border:1px solid #a9d5c1;color:var(--ok)}

/* --- Contact rows ------------------------------------------------------- */
.contact-list{list-style:none;padding:0;margin:0}
.contact-list li{display:flex;gap:.8rem;margin-bottom:1.1rem;align-items:flex-start}
.contact-list svg{flex:none;margin-top:3px;color:var(--heat)}
.contact-list b{display:block;font-size:.88rem;color:var(--steel-60);font-weight:500}
.contact-list a{font-weight:600;color:var(--graphite);text-decoration:none}
.contact-list a:hover{color:var(--heat-dk);text-decoration:underline}

/* --- Footer ------------------------------------------------------------- */
.footer{background:var(--graphite);color:#a9b5bd;padding:clamp(2.75rem,5vw,3.75rem) 0 0;font-size:.95rem}
.footer-grid{display:grid;grid-template-columns:1.5fr repeat(4,1fr);gap:2rem}
@media (max-width:1000px){.footer-grid{grid-template-columns:1fr 1fr;gap:1.9rem}}
@media (max-width:560px){.footer-grid{grid-template-columns:1fr}}
.footer h2,.footer h3{font-size:1.03rem;color:#fff;font-family:var(--f-body);font-weight:600;margin:0 0 .85rem}
.footer ul{list-style:none;padding:0;margin:0}
.footer li{margin-bottom:.5rem}
.footer a{color:#a9b5bd;text-decoration:none}
.footer a:hover{color:#fff;text-decoration:underline}
.footer-about p{font-size:.95rem;color:#a9b5bd;max-width:38ch}
.footer-bottom{
  margin-top:2.5rem;border-top:1px solid #2c3841;padding:1.3rem 0;
  display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;font-size:.87rem;color:#7f8c95
}

/* --- Utilities ---------------------------------------------------------- */
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.mb-0{margin-bottom:0}
.lead{font-size:1.14rem;color:var(--steel)}
.figure{margin:1.9rem 0}
.figure img{border:1px solid var(--line);border-radius:var(--r)}
.figure figcaption{font-size:.87rem;color:var(--steel-60);margin-top:.55rem}
.split{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:clamp(1.6rem,3.5vw,2.8rem);align-items:start}
.media-pair{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1.15rem;margin:1.9rem 0}
.media-pair img{border:1px solid var(--line);border-radius:var(--r)}

/* --- Narrow phone adjustments ------------------------------------------- */
@media (max-width:540px){
  .masthead .wrap{gap:.7rem;min-height:64px}
  .brand-mark{width:29px;height:29px}
  .brand-name{font-size:1.09rem;line-height:1.15}
  .brand-sub{font-size:.66rem;letter-spacing:.05em}
  .burger{padding:.45rem .6rem;font-size:.85rem}
}
@media (max-width:380px){
  .brand-sub{display:none}
  .brand-name{font-size:1rem}
}

/* --- Map embed ----------------------------------------------------------- */
.map-frame{
  border:1px solid var(--line);border-radius:var(--r);overflow:hidden;
  background:var(--concrete-dk);line-height:0
}
.map-frame iframe{display:block;width:100%;filter:grayscale(18%)}
@media (max-width:620px){.map-frame iframe{height:320px}}

/* --- Brand lockup: Infinite Zone mark + site wordmark -------------------- */
.brand{gap:.85rem}
img.brand-mark{width:132px;height:auto;flex:none}
.brand-rule{width:1px;height:34px;background:var(--line);flex:none}
@media (max-width:1080px){
  img.brand-mark{width:118px}
}
@media (max-width:540px){
  img.brand-mark{width:100px}
  .brand{gap:.6rem}
  .brand-rule{height:28px}
}
@media (max-width:400px){
  .brand-rule{display:none}
  img.brand-mark{width:92px}
}

/* --- Calculators --------------------------------------------------------- */
.calc{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(1.4rem,3vw,2.4rem);align-items:start}
@media (max-width:860px){.calc{grid-template-columns:1fr}}
.calc-form{background:var(--paper);border:1px solid var(--line);border-radius:var(--r);padding:clamp(1.3rem,3vw,1.9rem)}
.calc-form h2,.calc-form h3{margin-top:0}
.calc-form .field{margin-bottom:1rem}
.calc-form .field:last-of-type{margin-bottom:0}
.calc-out-panel{
  background:var(--graphite);color:#dbe2e6;border-radius:var(--r);
  padding:clamp(1.3rem,3vw,1.9rem);position:sticky;top:96px
}
@media (max-width:860px){.calc-out-panel{position:static}}
.calc-out-panel h3{color:#fff;margin:0 0 1rem;font-size:1.25rem}
.calc-out{margin:0;display:grid;gap:.05rem}
.calc-out > div{
  display:flex;justify-content:space-between;gap:1rem;align-items:baseline;
  padding:.6rem 0;border-bottom:1px solid #2c3841
}
.calc-out > div:last-child{border-bottom:0}
.calc-out dt{color:#9daab2;font-size:.93rem;margin:0}
.calc-out dd{margin:0;text-align:right;color:#eef2f4;font-family:var(--f-head);font-size:1.18rem;font-weight:600}
.calc-out dd b{color:var(--heat-light);font-weight:700}
.calc-sub{display:block;font-family:var(--f-body);font-size:.78rem;color:#8b979f;font-weight:400}
.calc-note{font-size:.87rem;color:#9daab2;margin:1.1rem 0 0;line-height:1.55}
.calc-hint{color:#9daab2;margin:0;font-size:.95rem}
.calc-warn{color:#ffb59b;margin:0;font-size:.95rem}
.calc-match{color:#cfe6da;margin:.9rem 0 0;font-size:.95rem}
.calc-match a,.calc-hint a{color:#fff}
.conv-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1rem}
.calc-form .field-inline label{font-size:.9rem}

/* --- Contextual closing line ------------------------------------------- */
.home-note{
  margin:2.4rem 0 0;padding-top:1.1rem;border-top:1px solid var(--line);
  font-size:.96rem;color:var(--steel-60);max-width:74ch
}
.home-note a{color:var(--heat-dk)}

/* --- Mobile header overflow fix and tap targets -------------------------- */
.masthead .wrap{min-width:0}
@media (max-width:720px){
  .brand-sub{display:none}
  .brand-name{font-size:1.02rem;line-height:1.14}
  .brand-rule{height:26px}
}
@media (max-width:480px){
  .brand-rule{display:none}
  .brand-text{display:none}          /* logo alone carries the brand here */
  img.brand-mark{width:112px}
}
/* Comfortable tap targets on touch screens */
.burger{min-height:44px}
@media (max-width:1080px){
  .side-card ul li a,
  .footer li a{display:inline-block;padding:.28rem 0;min-height:32px}
  .faq summary{padding-top:1.2rem;padding-bottom:1.2rem}
  .crumbs ol{padding:.9rem 0}
  .crumbs a{display:inline-block;padding:.15rem 0}
}

/* --- Grid children must be allowed to shrink below their content ---------
   Grid and flex items default to min-width:auto, so a wide spec table with a
   min-width forces its column open instead of scrolling inside .table-scroll.
   This is what caused horizontal page overflow on table-heavy pages.        */
.layout > *,
.split > *,
.calc > *,
.field-row > *,
.machine-grid > li,
.post-grid > li,
.linkgrid > li,
.conv-grid > *,
.footer-grid > *,
.ctaband-inner > *,
.specstrip li{min-width:0}

.prose,.article-body,.calc-form,.calc-out-panel,.sidebar,.side-card{min-width:0}
.table-scroll{max-width:100%}
.prose img,.article-body img{max-width:100%}

/* Long unbroken strings (emails, URLs) must not push the layout wide */
.contact-list a,.footer a,.side-card a,.home-note a{overflow-wrap:anywhere}
.calc-form select,.calc-form input,.field select,.field input,.field textarea{max-width:100%;min-width:0}
.map-frame{max-width:100%}
/* Long unbroken strings in body copy (email addresses, URLs) */
.prose a,.article-body a,.faq-body a{overflow-wrap:anywhere}
/* Callout headings are h3 for correct document outline, styled as small heads */
.callout .callout-h{margin:0 0 .45rem;font-size:1.16rem;font-family:var(--f-body);font-weight:600;line-height:1.35}
/* Results panel heading is an h2 for correct outline; keep its panel sizing */
.calc-out-panel h2{color:#fff;margin:0 0 1rem;font-size:1.25rem}

/* --- Floating WhatsApp button -------------------------------------------- */
.wa-fab{
  position:fixed;right:clamp(.9rem,2.5vw,1.5rem);bottom:clamp(.9rem,2.5vw,1.5rem);
  z-index:150;display:inline-flex;align-items:center;gap:.55rem;
  background:#25d366;color:#0b3d24;text-decoration:none;
  padding:.72rem 1.05rem;border-radius:999px;font-weight:600;font-size:.98rem;
  box-shadow:0 4px 14px rgba(22,29,36,.28),0 1px 3px rgba(22,29,36,.2);
  transition:background-color .15s ease,transform .15s ease,box-shadow .15s ease
}
.wa-fab:hover{
  background:#1fbe5a;color:#08301c;text-decoration:none;transform:translateY(-2px);
  box-shadow:0 8px 22px rgba(22,29,36,.32),0 2px 5px rgba(22,29,36,.22)
}
.wa-fab:active{transform:translateY(0)}
.wa-fab svg{flex:none}
.wa-fab-label{white-space:nowrap}

/* Icon only on small screens so it never covers content */
@media (max-width:640px){
  .wa-fab{padding:.8rem;border-radius:50%}
  .wa-fab-label{
    position:absolute;width:1px;height:1px;padding:0;margin:-1px;
    overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0
  }
}
@media print{.wa-fab{display:none}}

/* --- Desktop header fit -------------------------------------------------
   The nav gained an item, so the brand wordmark was wrapping to two lines.
   Keep it on one line and take the space back from the logo and nav padding. */
@media (min-width:1081px){
  .brand-name{white-space:nowrap;font-size:1.2rem}
  img.brand-mark{width:112px}
  .brand{gap:.7rem}
  .nav > ul > li > a{padding-left:.58rem;padding-right:.58rem;font-size:.925rem}
  .nav .cta-link{padding-left:.95rem!important;padding-right:.95rem!important}
}
@media (min-width:1320px){
  .brand-name{font-size:1.28rem}
  img.brand-mark{width:126px}
  .nav > ul > li > a{padding-left:.7rem;padding-right:.7rem}
}

/* --- Product sheet gallery ---------------------------------------------- */
.gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.3rem;margin:1.6rem 0 0}
.gallery figure{margin:0}
.gallery img{
  width:100%;height:auto;border:1px solid var(--line);border-radius:var(--r);
  background:var(--concrete-dk);display:block
}
.gallery figcaption{font-size:.87rem;color:var(--steel-60);margin-top:.55rem;line-height:1.45}

/* --- Nav gained a Home item; reclaim the width ---------------------------- */
@media (min-width:1081px) and (max-width:1319px){
  .brand-name{font-size:1.12rem}
  img.brand-mark{width:100px}
  .nav > ul > li > a{padding-left:.48rem;padding-right:.48rem;font-size:.9rem}
  .nav .cta-link{padding-left:.85rem!important;padding-right:.85rem!important}
}

/* --- Submenu group divider ----------------------------------------------- */
.submenu-divider{height:1px;background:var(--line);margin:.35rem .5rem}
@media (max-width:1080px){
  .nav.open .submenu-divider{margin:.45rem 0 .45rem .2rem}
}

/* --- Header sub-line now carries the phone; keep it visible on phones ----- */
@media (max-width:720px){.brand-sub{display:block;font-size:.7rem}}
@media (max-width:480px){.brand-text{display:flex}.brand-sub{display:block;font-size:.66rem}}
@media (max-width:380px){.brand-sub{display:block}.brand-name{font-size:.95rem}}
