:root {
  color-scheme: light;
  --surface: #fff;
  --paper: #f6f6f6;
  --ink: #202020;
  --copy: #414141;
  --muted: #626663;
  --line: #dedede;
  --green: #49736a;
  --red: #c83f30;
  --red-dark: #aa3025;
  --selected: #fff5f2;
  --radius: 0;
}
html[data-theme="dark"] {
  color-scheme: dark;
  --surface: #202222;
  --paper: #292c2c;
  --ink: #f0efeb;
  --copy: #d5d6d1;
  --muted: #b3b8b6;
  --line: #484c4a;
  --green: #aacfc2;
  --selected: #422c29;
}
body { background: var(--surface); font: 16px/1.65 "Segoe UI", Arial, sans-serif; }
p { color: var(--copy); }
.container { width: min(1140px, calc(100% - 40px)); }
h1,h2,.hero-copy h1,.product-hero h1,.page-heading h1,.section-heading h2,.story-copy h2,.calculator-banner h2 { font-size: clamp(26px,3vw,34px); font-weight: 350; line-height: 1.35; letter-spacing: normal; }
.section { padding: 43px 0; }
.site-header, .site-header nav, dialog, .button.secondary,input,select,textarea,.skip { background: var(--surface); color: var(--ink); }
.header-inner { min-height: 84px; gap: 14px; }
.site-header nav { gap: 16px; }
.site-header nav a { font-size: 12px; letter-spacing: .065em; }
.brand { flex-direction: column; gap: 2px; text-align:center; max-width:150px; line-height:1.12; }
.brand small { display:none; }
.brand-mark { width:30px; height:30px; font-size:17px; }
#theme-toggle { border:1px solid var(--line); color:var(--ink); width:38px; height:38px; flex:none; font:24px/1 Arial,sans-serif; }
.button,.button.small { border-radius:0; padding:10px 17px; font-size:14px; }
.hero,.process,.calculator-banner { background: #313131 linear-gradient(105deg,#2e2e2e,#3e3d3b 52%,#292a29); color:white; }
.hero { padding:55px 0; }
.hero:before { display:none; }
.hero-grid { grid-template-columns: minmax(0,480px) 1fr; gap:40px; }
.hero-image { order:-1; padding:0; }
.hero-image>img { height:auto; max-height:320px; object-fit:cover; }
.hero-grid:has(.hero-copy:only-child) { display:block; }
.hero-copy p { max-width:670px; margin:18px 0 24px; color:#e3e2df; }
.hero-actions .button { font-size:15px; }
.section-heading { margin-bottom:26px; }
.category-grid,.product-grid,.makers,.photo-gallery { gap:28px; }
.category-card { border:0; }
.category-card h3 { font-size:16px; text-transform:uppercase; margin-bottom:12px; }
.category-card:hover { box-shadow:none; color:var(--green); }
.category-card img,.product-photo img,.photo-gallery img { width:100%; height:auto; aspect-ratio:4/3; object-fit:cover; }
.category-card,.product-card,.makers>a,.section-links>a { overflow-wrap:anywhere; }
.category-card:not(:has(img)),.product-card:not(:has(img)) { border:1px solid var(--line); padding:18px; }
.category-card:not(:has(img)) h3 { margin:0; }
.product-card>div:last-child { justify-content:center; text-align:center; padding:13px; border:0; }
.product-card { border:1px solid var(--line); }
.product-card h3 { font-size:16px; }
.page-heading,.product-hero { background:var(--surface); color:var(--ink); padding:20px 0; }
.product-hero .split:not(:has(img)),.split.no-photo { display:block; }
.product-hero p,.page-heading p,.prose { color:var(--copy); font-size:15px; }
.product-hero .light-link { color:var(--green); }
.consultation,footer, .calc-steps,.item-preview { background:var(--paper); }
.calculator-banner { padding:32px 0; }
.calculator-banner p { margin:12px 0 0; color:#ddd; }
.process-grid { text-align:center; }
.process-grid img { margin:0 auto 14px; }
.process-grid p { color:#eee; font-size:14px; }
.demo-strip { background:var(--paper); color:var(--muted); font-size:12px; }
.photo-gallery,.makers { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); margin:22px 0 38px; }
.makers>a { text-align:center; border:1px solid var(--line); padding:18px; }
.makers img { width:100%; height:74px; object-fit:contain; background:#fff; }
.makers span { display:block; margin:12px auto 0; color:var(--green); }
.catalog-title { margin:34px 0 16px; }
.calc-steps button[aria-current],.shape-choice,.material-choice,td,.detail-grid a { background:var(--surface); }
.calc-steps button[aria-current],.shape-choice.selected,.result-total strong { color:var(--ink); }
.shape-choice.selected,.option-card.selected { background:var(--selected); }
.item-preview text { fill:var(--copy); }
.swatch>span { color:#202020; }
.calc-shell,.calc-main,.calc-layout,.table-wrap { min-width:0; }
.calc-steps button { min-height:46px; padding:11px; }
.calc-summary h3 { font-size:18px; }
.calc-help,.summary-line { font-size:14px; }
html[data-theme="dark"] :is(.notice,.calc-main [role=alert]) { background:#352f29; color:#ffdfa8; }
html[data-theme="dark"] :is(.form-status,.calc-steps button>span,.footer-bottom,.footer-links,.breadcrumb) { color:var(--muted); }
html[data-theme="dark"] :is(th, tr:nth-child(even) td) { background:var(--paper); }
dialog { border:1px solid var(--line); }
.contact-layout:has(>div:only-child) { display:block; }
@media(max-width:1100px) {
  .site-header nav { display:none; position:absolute; top:100%; left:0; right:0; padding:16px 20px; grid-template-columns:repeat(2,1fr); border-bottom:1px solid var(--line); }
  .site-header nav.open { display:grid; }
  .site-header nav a { padding:10px; }
  .menu-toggle { display:block; margin-left:auto; }
}
@media(max-width:700px) {
  .container { width:calc(100% - 32px); }
  .header-inner { min-height:66px; }
  .hero { padding:26px 0; }
  .hero-grid { grid-template-columns:1fr; gap:22px; }
  .hero-image { order:0; }
  .section { padding:30px 0; }
  .category-grid,.product-grid,.makers,.photo-gallery { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  .category-card h3,.product-card h3 { font-size:14px; }
  .calc-steps button { min-height:44px; }
  .process-grid { text-align:left; }
  .process-grid img { margin:0 0 10px; }
  .header-contact { display:none; }
}
@media print {
  html[data-theme] { color-scheme:light; --surface:white; --paper:#f6f6f6; --ink:#111; --copy:#333; --line:#ccc; }
}


.hero,.process,.calculator-banner { background: #333 url("graphite.8c8dec4cdba6.webp") center / cover; }
.process-grid>div { border-top:1px solid #888; padding-top:14px; }
.material-links { max-width:720px; }

.step-menu>summary {display:none}
@media(max-width:700px){.step-menu>summary{display:block;cursor:pointer;padding:13px;background:var(--paper);border-bottom:1px solid var(--line)}.step-menu:not([open])>.calc-steps{display:none}.step-menu .calc-steps{grid-template-columns:1fr!important}.step-menu .calc-steps button{font-size:14px!important}.step-menu .calc-steps button span{font-size:12px}}
.contact-band{position:relative;min-height:420px;padding:40px 0;background:var(--paper)}
.contact-map{position:absolute;inset:0;width:100%;height:100%;border:0}
.contact-band .contact-layout{position:relative;pointer-events:none;display:flex;justify-content:flex-end;gap:0}
.contact-band .contact-layout>div{pointer-events:auto;width:280px;padding:26px;background:var(--surface);border:1px solid var(--line);box-shadow:0 8px 35px #0001}
.contact-band .contact-layout>div:first-child{border-radius:6px 0 0 6px}.contact-band .contact-layout>div:last-child{border-radius:0 6px 6px 0}
@media(max-width:640px){.contact-band{padding-top:270px}.contact-map{height:300px}.contact-band .contact-layout{flex-direction:column}.contact-band .contact-layout>div{width:100%;padding:20px;border-radius:0!important}.contact-band .contact-layout>div:empty{display:none}}
