:root {
  --ink: #101d2d;
  --secondary-ink: #485869;
  --paper: #fbfcfd;
  --surface: #edf2f6;
  --white: #fff;
  --line: #d6e0e8;
  --accent: #075784;
  --accent-ink: #06466a;
  --ui-radius: 13px;
}
body { color:var(--ink); background:var(--paper); }
a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline:3px solid #137aae;
  outline-offset:3px;
}
.site-header { background:rgba(250,252,254,.97); border-bottom:1px solid var(--line); }
.site-header .header-quote, .btn {
  min-height:44px;
  border-radius:9px;
  background:var(--accent);
  color:#fff;
}
.btn:hover, .site-header .header-quote:hover { background:var(--accent-ink); color:#fff; }
.secondary { min-height:44px; border-radius:9px; }
.section-heading h2, .model-detail h2, .category-detail h2 {
  letter-spacing:-.025em;
  text-wrap:balance;
}
.home-hero .hero-copy { max-width:690px; }
.home-hero h1 { font-size:clamp(2.2rem,5.6vw,5.2rem); line-height:1.06; }
.home-hero .hero-caption { color:#f0f5fa; }
.home-hero::after {
  background:linear-gradient(90deg,rgba(9,23,39,.92),rgba(9,23,39,.56) 61%,rgba(9,23,39,.18));
}
.category-hero, .model-detail .model-hero, .case-story-hero {
  background:#eef3f7;
}
.home-product-grid .product-card, .pole-product-grid .pole-product-card, .case-story-grid .case-card {
  border:1px solid var(--line);
  border-radius:13px;
  background:var(--white);
  box-shadow:0 3px 12px rgba(16,29,45,.05);
}
.home-product-grid .product-card:hover, .pole-product-grid .pole-product-card:hover, .case-story-grid .case-card:hover {
  transform:translateY(-2px);
  box-shadow:0 9px 22px rgba(16,29,45,.09);
}
.category-detail .pole-product-grid { max-width:none; }
.pole-product-actions { row-gap:6px; }
.pole-product-actions .btn, .pole-product-actions .secondary { padding-inline:13px; }
.buyer-links {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  padding:12px;
  margin:0 0 20px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:12px;
}
.buyer-links a { display:inline-flex; align-items:center; min-height:44px; padding:0 12px; }
.buyer-links a:not(.btn) { color:var(--accent-ink); }
#model-specs-title,#custom-options-title,#products-title,#quote { scroll-margin-top:120px; }
.model-detail .model-spec-table th, .model-detail .model-spec-table td { padding:12px 16px; }
.model-detail .model-spec-table th { text-align:start; }
.model-detail .model-detail-nav { background:#f2f6f9; padding-inline:10px; border-radius:8px; }
.category-detail details.faq, .model-detail details.faq { border:1px solid var(--line); background:#f3f6f8; border-radius:10px; }
#quote { padding:clamp(14px,3vw,24px); background:white; border:1px solid var(--line); border-radius:13px; }
#quote :is(input,select,textarea) { min-height:44px; border-radius:8px; }
@media (max-width: 580px) {
  .home-hero::after { background:linear-gradient(90deg,rgba(9,23,39,.91),rgba(9,23,39,.58)); }
  .buyer-links a { flex:1 0 auto; justify-content:center; }
  .pole-product-actions { width:100%; }
  .pole-product-actions a { flex:1 1 auto; justify-content:center; }
}
@media (prefers-reduced-motion: reduce) {
  .home-product-grid .product-card,.pole-product-grid .pole-product-card,.case-story-grid .case-card { transition:none; }
}

/* The card owns the outer radius. The image meets its edges without a second frame. */
.category-detail .pole-product-grid .pole-product-card {
  border-radius: 14px;
  overflow: hidden;
  background: var(--white);
}
.category-detail .pole-product-card .pole-product-photo {
  overflow: hidden;
  border-radius: 0;
  background: var(--white);
}
.category-detail .pole-product-card .pole-product-photo .product-main-photo {
  display: block;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--white);
}
.category-detail .pole-product-card :is(.solar-catalog-photo,.category-cutout-photo) .product-main-photo {
  padding: 8px;
  object-fit: contain;
}

.mh-about .about-hero--process {
  color: #f8fbff;
  background: linear-gradient(115deg, #0d1c2d, #172c42 56%, #0c1928);
}
.mh-about .about-proof {
  color: #f8fbff;
  background: #122438;
}
.mh-about .about-proof .about-proof-item b { color: #f8fbff; }
.mh-about .about-proof .about-proof-item span { color: #c6d8e8; }

.mh-about .about-proof,
.mh-about .about-proof .about-proof-item {
  border: 0;
}
.mh-about .process-stage,
.mh-about .lighting-shot,
.mh-about .process-control,
.factory-about .home-workshops figure,
.factory-about .factory-about-facts .factory-keyfact {
  overflow: hidden;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 3px 12px rgba(16, 29, 45, .05);
}
.mh-about .process-stage-copy h3,
.mh-about .process-stage-number b { color: var(--ink); }
.mh-about .process-stage-number,
.mh-about .process-stage-copy > p { color: var(--secondary-ink); }
.mh-about .process-stage-tags span {
  color: var(--accent-ink);
  border-color: var(--line);
  background: var(--surface);
}
.mh-about .process-control-grid { gap: 14px; border: 0; }
.mh-about .process-control:nth-child(n) { padding: 22px 24px; }
.factory-about .home-workshops img { border-radius: 0; }
.factory-about .home-workshops figcaption { margin: 0; padding: 10px 12px; }
