/* Shared component metrics: one source for repeated blocks on every page. */
.svc-crumb [aria-current="page"]{color:#171717}
:root{--button-font:calc(16 * var(--u));--section-title:calc(48 * var(--u));--copy-font:calc(20 * var(--u));--copy-leading:calc(24 * var(--u));--spec-font:calc(20 * var(--u));--cap-title:var(--section-title)}
.button,.svc-rectangle-btn,.site-header .button,dialog .button,.submit-button{height:var(--button-height);min-height:var(--button-height);font-family:Montserrat,Arial,sans-serif;font-size:var(--button-font);font-weight:500;line-height:1.25;padding-block:0}
.service-pages .metal-services h2,.service-pages .calculation-main h2,.service-detail .svc-editorial h2,.service-detail .svc-section-intro h2{font-size:var(--section-title);line-height:1.21875;font-weight:600;letter-spacing:0}
.capabilities-heading h2,.service-detail .svc-section-intro h2{font-size:var(--cap-title)}
.editorial-copy,.service-detail .svc-editorial p,.split-heading>p,.service-detail .svc-section-intro p{font-size:var(--copy-font);line-height:var(--copy-leading)}
.service-detail .svc-section-intro p,.split-heading>p{font-weight:500}
.service-detail .svc-editorial p{margin-bottom:calc(24 * var(--u))}
.service-detail .svc-editorial p:last-child{margin-bottom:0}
.spec-row,.service-detail .svc-ability-row{font-size:var(--spec-font);line-height:1.2}
.spec-row dt,.service-detail .svc-ability-row span{font-weight:500}
.spec-row dd,.service-detail .svc-ability-row strong{font-weight:600}
.service-detail .svc-hero-heading{display:block}
.service-detail .svc-hero h1{max-width:calc(1250 * var(--u))}
/* Catalogue hero follows the same title, breadcrumb and image metrics. */
.page-services .svc-crumb{margin:calc(48 * var(--u)) 0;font-size:calc(16 * var(--u));line-height:1.25;color:#666}
.page-services .svc-hero{padding-bottom:var(--section)}
.page-services .svc-hero-heading{grid-template-columns:810fr 655fr;gap:calc(135 * var(--u));margin-bottom:calc(48 * var(--u))}
.page-services .svc-hero h1{font-size:calc(64 * var(--u));line-height:1.21875;font-weight:600;letter-spacing:0;max-width:none}
.page-services .svc-hero-heading p{font-size:var(--copy-font);line-height:var(--copy-leading);max-width:none}
.page-services .svc-hero-image{height:calc(640 * var(--u))}
@media(max-width:1100px){
:root{--button-font:14px;--section-title:32px;--copy-font:16px;--copy-leading:1.5;--spec-font:14px}
.service-detail .svc-editorial p{margin-bottom:20px}
.page-services .svc-crumb{margin:36px 0;font-size:13px}
.page-services .svc-hero-heading{grid-template-columns:1fr 1fr;gap:40px;margin-bottom:40px}
.page-services .svc-hero h1{font-size:40px}
.page-services .svc-hero-image{height:440px}
}
@media(max-width:760px){
:root{--section-title:28px;--copy-leading:1.55;--cap-title:clamp(25px,6vw,30px)}
.site-header .button{max-width:150px;padding-inline:12px}
.page-services .svc-crumb{margin:28px 0 32px;font-size:12px}
.page-services .svc-hero-heading{grid-template-columns:1fr;gap:28px;margin-bottom:32px}
.page-services .svc-hero h1{font-size:clamp(21px,6.1vw,42px)}
.page-services .svc-hero-image{height:300px}
}
@media(max-width:480px){:root{--spec-font:13px}}
@media(max-width:360px){:root{--cap-title:20.5px}.site-header .button{max-width:122px;padding-inline:8px}}

/* Align detail copy with the capabilities column on every service. */
.service-detail .svc-editorial{grid-template-columns:1fr 1fr;gap:var(--gap)}
@media(min-width:761px){.machine-more{margin-top:auto}}
.contact-top{grid-template-columns:1fr}
.contact-card{display:grid;grid-template-columns:1fr 1fr;column-gap:calc(80 * var(--u));min-height:calc(340 * var(--u));font-size:calc(20 * var(--u))}
.contact-card h2{font-size:calc(32 * var(--u));grid-column:1}
.contact-card>p,.contact-phone,.contact-mail{grid-column:1}
.contact-phone>a,.contact-mail{font-size:calc(24 * var(--u))}
.contact-card dl{grid-column:2;grid-row:1/5;align-self:center;margin-top:0;gap:calc(28 * var(--u))}
.contact-card dl>div{grid-template-columns:calc(180 * var(--u)) 1fr;gap:calc(16 * var(--u))}
@media(max-width:1100px){
.contact-card{font-size:16px;column-gap:40px;min-height:320px}
.contact-card h2{font-size:28px}
.contact-phone>a,.contact-mail{font-size:22px}
.contact-card dl{gap:24px}
.contact-card dl>div{grid-template-columns:1fr;gap:8px}
}
@media(max-width:760px){
.service-detail .svc-editorial{grid-template-columns:1fr;gap:28px}
.contact-card{display:block;min-height:0;font-size:16px}
.contact-card>p{font-size:16px}
.contact-card dl{margin-top:32px}
.contact-card dl>div{grid-template-columns:1fr;gap:8px;font-size:16px}
}

/* One title scale for all inner pages, including long service names. */
body:not(.page-index) #main h1{font-size:calc(64 * var(--u));line-height:1.21875;font-weight:600;letter-spacing:0;white-space:normal}
@media(max-width:1100px){body:not(.page-index) #main h1{font-size:40px}}
@media(max-width:760px){body:not(.page-index) #main h1{font-size:clamp(21px,6.1vw,32px);line-height:1.2}}

.request {
  --checkbox-fill: #f4f4f2;
  --checkbox-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8l3.25 3.25L13 4.5' fill='none' stroke='%23171717' stroke-width='1.85' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --checkbox-border: #9a9a96;
}
.request-light {
  --checkbox-fill: #242424;
  --checkbox-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8l3.25 3.25L13 4.5' fill='none' stroke='%23fff' stroke-width='1.85' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --checkbox-border: #70706e;
}
.request .consent {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  min-height: 36px;
  margin-block-start: clamp(24px, 3vw, 44px);
  font: 400 clamp(14px, 1vw, 16px)/1.45 Onest, Montserrat, Arial, sans-serif;
}
.request .consent + .consent { margin-block-start: 4px; }
.request .consent[hidden] { display: none; }
.request .consent > span { padding-block: 7px; }
.request .consent label { cursor: pointer; }
.request .consent .inline-link { margin-inline-start: .3em; }
.request .consent input[type="checkbox"] {
  appearance: none;
  width: 22px;
  height: 22px;
  margin: 7px 0 0;
  background: transparent;
  border: 1px solid var(--checkbox-border);
  border-radius: 5px;
  cursor: pointer;
}
.request .consent input[type="checkbox"]:enabled:hover {
  border-color: var(--checkbox-fill);
}
.request .consent input[type="checkbox"]:checked {
  background: var(--checkbox-fill) var(--checkbox-icon) center / 16px 16px no-repeat;
  border-color: var(--checkbox-fill);
}
.request .consent input[type="checkbox"]:focus-visible,
.request .consent .inline-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
.request .consent input[type="checkbox"] { color: var(--checkbox-fill); }
.request .consent input:disabled { opacity: .55; cursor: default; }
.request .consent input:disabled + span label { cursor: default; }
#legal-body { white-space: pre-line; }

@media (forced-colors: active) {
  .request .consent input[type="checkbox"] { appearance: auto; }
  .request .consent input[type="checkbox"]:checked { background: revert; }
}

/* November 2026 content update: a quiet quality statement below the story title. */
.home-story-heading { min-width: 0; }
.home-story .quality-line {
  margin-top: clamp(20px, 1.8vw, 32px);
  max-width: 32ch;
  font-size: clamp(16px, 1.3vw, 22px);
  font-weight: 500;
  line-height: 1.45;
  color: #484848;
}
/* The manufacturer's workshop photograph keeps the existing service-page treatment. */
.page-heat-treatment .svc-hero-image .furnace-photo {
  object-fit: cover;
  object-position: center 58%;
}
.page-heat-treatment .svc-ability-image .furnace-photo {
  object-fit: cover;
  object-position: center;
}
