:root {
  color-scheme: light;
  --ink: #172f2a;
  --text: #283c37;
  --muted: #52665f;
  --accent: #bd4d2d;
  --paper: #fbfaf6;
  --line: #dedfd5;
  --white: #fff;
  --radius: 16px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: #245c4e; text-underline-offset: .22em; }
a:hover { color: #94391f; }
:focus-visible { outline: 3px solid #bc532e; outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0 0 .75em; }
h1, h2, h3 { line-height: 1.12; color: var(--ink); letter-spacing: -.025em; }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); text-wrap: balance; }
h2 { font-size: clamp(1.5rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
button, select, input { font: inherit; }
[hidden] { display: none !important; }
.wrap { width: min(1200px, calc(100% - 64px)); margin-inline: auto; min-width: 0; }
.skip { position: absolute; z-index: 3; left: 1rem; top: -10rem; padding: 1rem; background: white; }
.skip:focus { top: 1rem; }
.site-header { border-bottom: 1px solid var(--line); background: #fffefa; }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.brand { display: flex; align-items: center; gap: 11px; font-size: 1.2rem; font-weight: 850; letter-spacing: -.055em; text-decoration: none; flex: none; color: var(--ink); }
.brand small { margin-left: .13em; color: var(--muted); font-size: .63em; }
.brand-accent { color: var(--accent); }
.brand-mark { width: 30px; height: 23px; border-bottom: 3px solid var(--ink); border-radius: 2px; position: relative; }
.brand-mark::before { content: ''; position: absolute; inset: 1px 0 6px; background: repeating-linear-gradient(105deg, var(--accent) 0 6px, #f8d4a9 6px 9px); clip-path: polygon(16% 0, 84% 0, 100% 100%, 0 100%); }
.site-header nav { display: flex; flex-wrap: wrap; align-items: center; gap: .1rem .25rem; }
.site-header nav a { min-height: 44px; display: inline-flex; align-items: center; padding: .5rem .76rem; border-radius: 7px; color: var(--text); font-size: .94rem; font-weight: 650; text-decoration: none; }
.site-header nav a:hover, .site-header nav [aria-current], .site-header nav .nav-active { background: #edf2eb; color: var(--ink); }
.nav-toggle { display: none; }
.hero { background: #f0eee3; padding-block: clamp(1.4rem,4vw,3.8rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .87fr) minmax(0, 1fr); align-items: stretch; gap: clamp(1.4rem,4vw,4.2rem); }
.hero-copy { align-self: center; padding-block: 1.2rem; }
.hero h1 { font-size: clamp(2.65rem,5.25vw,4.8rem); line-height: .99; letter-spacing: -.065em; margin: 0 0 .32em; }
.hero-copy > p { font-size: 1.12rem; max-width: 37ch; color: var(--muted); }
.hero-photo { width: 100%; height: 100%; min-height: 390px; object-fit: cover; object-position: 51% center; border-radius: var(--radius); }
.finder { margin-top: 1.45rem; }
.finder label, .directory-panel > label { display: block; color: var(--ink); font-weight: 750; margin-bottom: .45rem; }
.finder-controls { display: flex; align-items: stretch; gap: .55rem; }
select, input[type=search] { min-width: 0; width: 100%; min-height: 48px; color: var(--ink); background: var(--white); border: 1px solid #b1bdb5; border-radius: 8px; padding: .65rem .8rem; }
select { appearance: none; padding-right: 2.4rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Cpath d='m4 7 5 5 5-5' fill='none' stroke='%23172f2a' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .65rem center; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .65rem 1rem; border: 0; border-radius: 8px; background: var(--ink); color: #fff; font-weight: 700; text-decoration: none; cursor: pointer; white-space: nowrap; }
.button:hover { color: white; background: #305247; }
.button.secondary { color: var(--ink); background: #e6eee6; }
.home-catalog { padding-block-start: 2.7rem; }
.section-head { display: flex; gap: 1rem; align-items: baseline; justify-content: space-between; flex-wrap: wrap; margin-bottom: 1rem; }
.section-head h2 { margin: 0; }
.text-link { font-weight: 680; }
.tile-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,245px),1fr)); gap: 1rem; }
.home-tiles { grid-template-columns: repeat(4,minmax(0,1fr)); }
.tile { display: block; min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--text); text-decoration: none; overflow: hidden; }
a.tile:hover { border-color: #9aafa0; color: var(--ink); }
.tile img { width: 100%; aspect-ratio: 1.8; object-fit: cover; }
.tile > div { padding: 1.1rem 1.2rem; }
.tile h2 { font-size: 1.35rem; margin-bottom: .55em; }
.tile h3 { margin-bottom: .3em; }
.tile p { margin-bottom: 0; color: var(--muted); }
.tile ul { padding-inline-start: 1.1rem; margin: 0; }
.tile li { margin-bottom: .4rem; }
.promotions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; margin-block: 2.6rem; }
.promo { display: grid; grid-template-columns: minmax(0,1fr) 28%; align-items: stretch; min-height: 166px; border-radius: var(--radius); color: #fff; text-decoration: none; overflow: hidden; }
.promo > div { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 1.2rem 1.35rem; }
.promo img { width: 100%; height: 100%; object-fit: cover; }
.promo.repair { background: #24463d; }
.promo.dealer { background: #873a25; }
.promo:hover { color: #fff; }
.promo-brand { font-size: .78rem; font-weight: 750; letter-spacing: .075em; margin-bottom: .3rem; }
.promo strong { font-size: clamp(1.125rem,2.1vw,1.67rem); line-height: 1.14; letter-spacing: -.028em; }
.promo-action { margin-top: .63rem; font-size: .92rem; text-decoration: underline; text-underline-offset: .24em; }
.site-footer { background: var(--ink); color: #e5eee7; padding-block: 1.45rem; }
.footer-inner, .site-footer nav { display: flex; gap: .65rem 1.3rem; flex-wrap: wrap; align-items: center; }
.footer-inner { justify-content: space-between; }
.site-footer a { color: #e5eee7; }
.footer-brand { font-weight: 800; text-decoration: none; letter-spacing: .04em; }
.breadcrumbs { color: var(--muted); font-size: .9rem; margin-top: 1.15rem; }
.breadcrumbs span { margin-inline: .33rem; }
.page-intro { padding-block: 1.2rem .8rem; max-width: 950px; }
.page-intro h1 { margin: 0 0 .32em; }
.page-intro p { font-size: 1.13rem; color: var(--muted); max-width: 65ch; }
.article, .directory-panel, .installer-card, .notice { border: 1px solid var(--line); border-radius: var(--radius); background: white; padding: clamp(1rem,3vw,2rem); overflow-wrap: anywhere; min-width: 0; }
.article { max-width: 100%; }
.article > :last-child, .installer-card > :last-child { margin-bottom: 0; }
.article img { max-height: 440px; width: auto; object-fit: contain; border-radius: 6px; }
.article p { max-width: 76ch; }
.article li { margin-block: .28rem; }
.article h2 { font-size: 1.55rem; margin-block: .75rem; }
.article h3 { margin-top: .95rem; }
.legacy-row { display: flex; flex-wrap: wrap; gap: .55rem 1rem; }
.legacy-row > div { flex: 1 1 14rem; min-width: 0; }
.legacy-row + .legacy-row { margin-top: .5rem; }
.content-table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin-block: .75rem; }
.content-table td, .content-table th { padding: .4rem .8rem .4rem 0; vertical-align: top; min-width: 85px; }
.watch, .contact-links a { margin-block: .3rem; }
.contact-links { display: flex; flex-wrap: wrap; gap: .6rem; }
.directory-panel input { max-width: 37rem; margin-bottom: 1rem; }
.towns { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,230px),1fr)); gap: .32rem .8rem; }
.towns a { display: flex; align-items: center; min-height: 44px; border-bottom: 1px solid #e4e9e2; padding: .35rem; text-decoration: none; }
.towns a:hover { background: #edf2eb; }
.installer-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,255px),1fr)); gap: 1rem; }
.installer-card img { margin-bottom: .8rem; max-height: 70px; }
.installer-card h2 { font-size: 1.2rem; }
.installer-card p { margin: .2rem 0; }
.gallery .tile div { padding: .8rem 1rem; }
.gallery .tile img { aspect-ratio: 1.45; }
@media (max-width: 930px) {
  .wrap { width: calc(100% - 44px); }
  .header-inner { gap: .6rem; }
  .site-header nav a { padding-inline: .5rem; }
  .finder-controls { flex-direction: column; }
  .hero-photo { min-height: 340px; }
  .home-tiles { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 32px); }
  .header-inner { min-height: 64px; flex-wrap: wrap; gap: 0 .5rem; }
  .nav-toggle { display: inline-flex; min-height: 44px; align-items: center; padding: 0 .8rem; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: var(--paper); font-weight: 700; cursor: pointer; }
  .site-header nav { width: 100%; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); padding: .3rem 0 .8rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 1.15rem; }
  .hero-copy { padding-block: .25rem 0; }
  .hero-photo { min-height: 0; aspect-ratio: 1.75; }
  .home-catalog { padding-top: 1.7rem; }
  .section-head { row-gap: .35rem; }
  .promotions { grid-template-columns: 1fr; gap: .7rem; margin-block: 1.75rem; }
  .promo { min-height: 130px; }
  .promo > div { padding: .9rem 1rem; }
  .desktop { display: none; }
}
@media (max-width: 420px) {
  .home-tiles .tile > div { padding: .75rem; }
  .home-tiles { gap: .65rem; }
}

.promo { grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); min-height: 194px; }
.promo .promo-logo { width: 75px; height: auto; object-fit: contain; margin-bottom: .45rem; }
.promo .promo-photo { min-width: 0; object-position: center; }
.promo.repair .promo-photo { object-position: 70% center; }
.shop-guide { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,290px),1fr)); gap: 1rem; margin-bottom: 1.65rem; }
.shop-guide > section { border: 1px solid var(--line); background: white; border-radius: var(--radius); padding: 1.2rem; }
.shop-guide h2 { font-size: 1.3rem; }
.shop-guide p { max-width: 70ch; margin-bottom: .6rem; }
.shop-section { margin: 2rem 0; }
.shop-section > p { color: var(--muted); }
.shop-grid { grid-template-columns: repeat(auto-fill,minmax(min(100%,195px),1fr)); }
.product-tile img { aspect-ratio: 1.4; background: #fff; object-fit: contain; }
.swatches .product-tile img { object-fit: cover; }
.product-tile h3 { font-size: 1.1rem; overflow-wrap: anywhere; }
.product-action { display: inline-block; font-size: .88rem; color: #245c4e; text-decoration: underline; text-underline-offset: .2em; }
.shop-jump { display: flex; flex-wrap: wrap; gap: .55rem; }
.shop-jump a { border-radius: 8px; padding: .5rem .75rem; background: #edf2eb; font-weight: 650; }
@media (max-width: 720px) {
  .promo { min-height: 170px; }
  .promo .promo-logo { width: 60px; }
  .shop-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .75rem; }
  .product-tile > div { padding: .7rem; }
}

.book-section { margin-block: 2rem; }
.book-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #f0eee3; }
.book-panel > img { width: 100%; height: 100%; object-fit: cover; object-position: 54% center; }
.book-copy { align-self: center; padding: clamp(1.15rem, 3vw, 2rem); }
.book-copy h2 { margin-bottom: .5em; }
.book-copy h2 span { display: block; font-size: .68em; font-weight: 650; }
.book-copy p { max-width: 46ch; }
@media (max-width: 720px) {
  .book-panel { grid-template-columns: 1fr; }
  .book-panel > img { height: auto; aspect-ratio: 2.2; }
}
