/* Berkshire Windows & Doors — anthracite frames, saffron sunlit pane, glass tints */
:root {
  --anth: #24292e;
  --anth-2: #33393f;
  --anth-3: #454c53;
  --sun: #e5a52c;
  --sun-2: #f0bb4e;
  --sun-deep: #a8740f;
  --glass: #e3ecea;
  --glass-2: #c9dbd8;
  --chalk: #f4f2ed;
  --paper: #fbfaf7;
  --ink: #1d2125;
  --muted: #5c646c;
  --line: #d9d5cc;
  --white: #fff;
  --display: 'Space Grotesk', system-ui, sans-serif;
  --sans: 'Public Sans', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --r: 3px;
  --shadow: 0 1px 2px rgba(20, 24, 28, .06), 0 12px 30px -12px rgba(20, 24, 28, .22);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16.5px/1.65 var(--sans); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p a, .prose a, .note a, .consent a { color: var(--anth); text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.1; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--anth); }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 700; letter-spacing: -.035em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--sun); color: var(--anth); padding: 8px 14px; font-weight: 600; }
.skip:focus { left: 8px; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.mono { font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 .6em; }
.mono--big { font-size: .95rem; color: var(--anth); }
.eyebrow { font-family: var(--mono); font-size: .75rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--sun-deep); margin: 0 0 1rem; display: flex; align-items: center; gap: .7rem; }
.eyebrow::before { content: ""; width: 14px; height: 14px; border: 2px solid currentColor; background: linear-gradient(currentColor, currentColor) 50% 0/2px 100% no-repeat, linear-gradient(currentColor, currentColor) 0 50%/100% 2px no-repeat; flex: none; }
.eyebrow--light { color: var(--sun); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 62ch; }
.note { font-size: .85rem; color: var(--muted); margin-top: 1.2rem; }
.center { text-align: center; margin-top: 2.5rem; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .85rem 1.35rem; border-radius: var(--r); font: 600 .97rem/1.2 var(--sans); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease); white-space: nowrap; }
.btn .ico { transition: transform .2s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn--sun { background: var(--sun); color: var(--anth); }
.btn--sun:hover { background: var(--sun-2); }
.btn--line { border-color: var(--anth); color: var(--anth); background: transparent; }
.btn--line:hover { background: var(--anth); color: #fff; }
.btn--line-light { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn--line-light:hover { border-color: var(--sun); color: var(--sun); }
.btn--block { width: 100%; margin-top: .5rem; }
.btn--small { padding: .45rem .85rem; font-size: .85rem; background: var(--anth); color: #fff; }
.btn--small:hover { background: var(--anth-3); }
.btn:disabled { opacity: .6; cursor: wait; }
.link { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; color: var(--anth); text-decoration: none; border-bottom: 2px solid var(--sun); padding-bottom: 2px; }
.link:hover .ico { transform: translateX(3px); }
.link .ico { transition: transform .2s; }

/* phone visibility (data.js site.phone) */
.needs-phone { display: none !important; }
html.has-phone .needs-phone { display: inline-flex !important; }
html.has-phone p.needs-phone { display: block !important; }

/* topbar + header */
.topbar { background: var(--anth); color: #c9ced3; font-size: .82rem; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 38px; }
.topbar__msg { display: inline-flex; align-items: center; gap: .55rem; }
.dot { width: 7px; height: 7px; background: var(--sun); display: inline-block; }
.topbar__links { display: flex; gap: 1.4rem; }
.topbar__links a { text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.topbar__links a:hover { color: var(--sun); }
.header { position: sticky; top: 0; z-index: 50; background: rgba(251, 250, 247, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.header.is-solid { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(0, 0, 0, .4); }
.header__in { display: flex; align-items: center; gap: 1.5rem; min-height: 76px; }
.brand { text-decoration: none; flex: none; }
.logo { display: inline-flex; align-items: center; gap: .7rem; color: var(--anth); }
.logo .mark { width: 40px; height: 40px; flex: none; }
.logo__txt { display: flex; flex-direction: column; line-height: 1; }
.logo__txt b { font-family: var(--display); font-weight: 700; font-size: 1.32rem; letter-spacing: -.02em; text-transform: uppercase; }
.logo__txt small { font-family: var(--mono); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: .35rem; }
.logo--light { color: #fff; }
.logo--light .logo__txt small { color: #aab1b8; }
.nav { display: flex; gap: .2rem; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; font-size: .94rem; padding: .5rem .7rem; position: relative; color: var(--anth); }
.nav a::after { content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .2rem; height: 2px; background: var(--sun); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.header__cta { padding: .7rem 1.1rem; }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border: 2px solid var(--anth); background: none; border-radius: var(--r); color: var(--anth); padding: 9px; cursor: pointer; }
.burger svg { width: 100%; height: 100%; }
.menu { display: none; }

/* frame motif — a window frame with glazing bars */
.frame { position: relative; border: 10px solid var(--anth); background: var(--anth); box-shadow: var(--shadow); overflow: hidden; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--sash::before, .frame--sash::after { content: ""; position: absolute; background: var(--anth); z-index: 2; pointer-events: none; }
.frame--sash::before { left: 50%; top: 0; bottom: 0; width: 8px; transform: translateX(-50%); }
.frame--sash::after { left: 0; right: 0; top: 38%; height: 8px; }

/* hero */
.hero { background: var(--chalk); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; opacity: .45; mask-image: linear-gradient(90deg, #000 0%, transparent 60%); -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 60%); }
.hero__in { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3.5rem, 7vw, 6rem); }
.hero h1 em { font-style: normal; color: var(--sun-deep); background: linear-gradient(transparent 70%, rgba(229, 165, 44, .35) 70%); }
.hero__btns { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0; }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; font-weight: 500; font-size: .95rem; }
.ticks li { display: inline-flex; align-items: center; gap: .45rem; }
.ticks .ico { color: var(--sun-deep); }
.ticks--col { flex-direction: column; margin-top: 1.2rem; }
.hero__art { position: relative; }
.hero__win { aspect-ratio: 4/4.4; border-width: 14px; }
.hero__win.frame--sash::before { width: 10px; }
.hero__win.frame--sash::after { height: 10px; }
.hero__tag { position: absolute; left: -28px; bottom: 34px; z-index: 3; background: var(--sun); color: var(--anth); padding: .9rem 1.2rem; box-shadow: var(--shadow); max-width: 230px; }
.hero__tag .mono { color: var(--anth); opacity: .7; margin-bottom: .2rem; }
.hero__tag b { font-family: var(--display); font-size: 1.1rem; line-height: 1.2; display: block; }
.spec { background: var(--anth); color: #e8eaec; position: relative; }
.spec__in { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .8rem 1.6rem; padding: 1.1rem 0; font-family: var(--display); font-weight: 500; font-size: 1.02rem; }
.spec span { display: inline-flex; align-items: baseline; gap: .55rem; }
.spec i { font-style: normal; font-family: var(--mono); font-size: .7rem; color: var(--sun); }

/* sections */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section--tight { padding-top: clamp(2rem, 4vw, 3rem); }
.section--glass { background: var(--glass); }
.section--chalk { background: var(--chalk); }
.section--dark { background: var(--anth); color: #d6dadd; }
.section--dark h2, .section--dark h3 { color: #fff; }
.sec-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.sec-head p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }
.sec-head--light p:not(.eyebrow) { color: #aeb5bb; }
.sec-head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; }
.sec-head--row h2 { margin: 0; }

/* category tiles */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.cat { display: flex; flex-direction: column; text-decoration: none; background: #fff; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.cat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cat__img { aspect-ratio: 4/3; overflow: hidden; border-bottom: 6px solid var(--anth); }
.cat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cat:hover .cat__img img { transform: scale(1.05); }
.cat__body { padding: 1.2rem 1.25rem 1.4rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.cat__ico { width: 40px; height: 40px; display: grid; place-items: center; background: var(--glass); color: var(--anth); margin-top: -2.6rem; position: relative; border: 3px solid #fff; }
.cat__ico .ico { width: 22px; height: 22px; }
.cat__name { font-family: var(--display); font-weight: 600; font-size: 1.25rem; color: var(--anth); margin-top: .4rem; }
.cat__txt { color: var(--muted); font-size: .93rem; flex: 1; }
.cat__go { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .9rem; margin-top: .5rem; color: var(--anth); }
.cat__go .ico { color: var(--sun-deep); }

/* product cards */
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.pcard { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pcard__img { aspect-ratio: 16/11; overflow: hidden; position: relative; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.05); }
.pcard__cat { position: absolute; left: 0; top: 0; background: var(--anth); color: #fff; font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; padding: .45rem .7rem; }
.pcard__body { padding: 1.25rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.pcard h3 { margin-bottom: .35rem; }
.pcard p { color: var(--muted); font-size: .94rem; flex: 1; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1rem; }
.tag { font-family: var(--mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; border: 1px solid var(--line); padding: .3rem .55rem; color: var(--anth); background: var(--paper); }
.pcard__go { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .9rem; color: var(--anth); }
.pcard__go .ico { color: var(--sun-deep); }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.3rem; }
.fchip { font: 500 .92rem var(--sans); padding: .6rem 1rem; border: 1.5px solid var(--line); background: #fff; color: var(--anth); cursor: pointer; border-radius: var(--r); transition: all .2s; }
.fchip:hover { border-color: var(--anth); }
.fchip.is-on { background: var(--anth); border-color: var(--anth); color: #fff; }
.cat-blurb { color: var(--muted); margin-bottom: 2rem; min-height: 1.6em; }

/* materials */
.mats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.mat { background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--anth); padding: 1.6rem 1.6rem 1.2rem; }
.mat:nth-child(2) { border-top-color: var(--sun); }
.mat h3 { font-size: 1.6rem; margin-bottom: .3rem; }
.mat > p:not(.mono) { color: var(--muted); }
.mat table, .spec-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.mat th, .mat td, .spec-table th, .spec-table td { text-align: left; padding: .65rem 0; border-top: 1px dashed var(--line); vertical-align: top; }
.mat th, .spec-table th { font-family: var(--mono); font-weight: 500; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); width: 34%; padding-right: 1rem; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; border: 1px solid rgba(255, 255, 255, .14); }
.step { padding: 1.8rem 1.6rem 2rem; position: relative; border-right: 1px solid rgba(255, 255, 255, .14); }
.step:last-child { border-right: 0; }
.step__no { font-family: var(--mono); font-size: .8rem; color: var(--sun); display: block; margin-bottom: 1.4rem; }
.step__ico { width: 52px; height: 52px; display: grid; place-items: center; border: 2px solid var(--sun); color: var(--sun); margin-bottom: 1.2rem; }
.step__ico .ico { width: 26px; height: 26px; }
.step p { color: #aeb5bb; font-size: .95rem; margin: 0; }
.steps--light { border-color: var(--line); background: #fff; }
.steps--light .step { border-color: var(--line); }
.steps--light .step p { color: var(--muted); }
.steps--light .step__no { color: var(--sun-deep); }
.steps--light .step__ico { color: var(--anth); border-color: var(--anth); }

/* split + guarantees */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split__img { aspect-ratio: 4/4.2; }
.glist { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 2rem; margin: 1.6rem 0 2rem; }
.glist--4 { grid-template-columns: repeat(4, 1fr); margin: 0; }
.glist--mt { margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid rgba(255, 255, 255, .14); }
.g h3 { font-size: 1.08rem; margin: .8rem 0 .35rem; }
.g p { color: var(--muted); font-size: .93rem; margin: 0; }
.g__ico { width: 44px; height: 44px; display: grid; place-items: center; background: var(--glass); color: var(--anth); }
.g__ico .ico { width: 22px; height: 22px; }
.section--dark .g p { color: #aeb5bb; }
.section--dark .g__ico { background: var(--anth-2); color: var(--sun); }

/* gallery */
.gals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.gal { margin: 0; background: #fff; border: 1px solid var(--line); }
.gal[hidden] { display: none; }
.gal__btn { display: block; width: 100%; padding: 0; border: 0; border-bottom: 6px solid var(--anth); cursor: zoom-in; aspect-ratio: 4/3; overflow: hidden; background: var(--anth); }
.gal__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .3s; }
.gal__btn:hover img { transform: scale(1.05); }
.gal figcaption { padding: .85rem 1rem; display: flex; flex-direction: column; gap: .1rem; }
.gal figcaption b { font-family: var(--display); font-weight: 600; color: var(--anth); }
.gal figcaption span { font-size: .86rem; color: var(--muted); }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(20, 23, 26, .92); display: grid; place-items: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 86vh; width: auto; border: 10px solid var(--anth); }
.lightbox__x { position: absolute; top: 14px; right: 18px; background: var(--sun); border: 0; width: 44px; height: 44px; font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--anth); }

/* areas */
.areas-band { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.areas-band p:not(.eyebrow) { color: var(--muted); }
.towns { display: flex; flex-wrap: wrap; gap: .6rem; }
.town { display: inline-flex; align-items: center; gap: .4rem; padding: .65rem 1rem; border: 1.5px solid var(--line); background: #fff; text-decoration: none; font-weight: 500; color: var(--anth); transition: all .2s; }
.town .ico { color: var(--sun-deep); }
.town:hover { border-color: var(--anth); background: var(--anth); color: #fff; }
.town:hover .ico { color: var(--sun); }
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.area { display: flex; gap: 1rem; padding: 1.4rem; background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--anth); scroll-margin-top: 110px; }
.area:target { border-left-color: var(--sun); box-shadow: var(--shadow); }
.area__ico { color: var(--sun-deep); padding-top: .15rem; }
.area h3 { margin-bottom: .2rem; }
.area .mono { margin-bottom: .5rem; color: var(--sun-deep); }
.area p:last-child { color: var(--muted); font-size: .93rem; margin: 0; }
.callout { margin-top: 2.5rem; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; background: var(--glass); padding: 2rem; border: 1px solid var(--glass-2); }
.callout h2 { font-size: 1.6rem; margin-bottom: .3rem; }
.callout p { margin: 0; color: var(--muted); max-width: 60ch; }

/* testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.quote { margin: 0; background: #fff; padding: 1.8rem 1.6rem 1.5rem; border: 1px solid var(--line); position: relative; display: flex; flex-direction: column; }
.quote__tag { align-self: flex-start; font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; background: var(--chalk); border: 1px dashed var(--muted); color: var(--muted); padding: .25rem .5rem; margin-bottom: 1rem; }
.quote blockquote { margin: 0 0 1.2rem; font-size: 1.02rem; flex: 1; }
.quote figcaption { font-weight: 600; font-size: .9rem; color: var(--anth); border-top: 1px solid var(--line); padding-top: .9rem; }

/* faqs */
.faq-split { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.faq-split p:not(.eyebrow) { color: var(--muted); }
.faqs { border-top: 2px solid var(--anth); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.15rem 2.5rem 1.15rem 0; font-family: var(--display); font-weight: 600; font-size: 1.08rem; color: var(--anth); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { position: absolute; right: 0; top: 50%; width: 22px; height: 22px; transform: translateY(-50%); border: 2px solid var(--anth); }
.faq summary span::before, .faq summary span::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 2px; background: var(--anth); transform: translate(-50%, -50%); transition: transform .25s; }
.faq summary span::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq[open] summary span { background: var(--sun); border-color: var(--sun); }
.faq[open] summary span::after { transform: translate(-50%, -50%) rotate(0); }
.faq p { color: var(--muted); padding-right: 2.5rem; margin: 0 0 1.2rem; }
.fgroups { display: grid; gap: 3rem; max-width: 880px; }
.fgroup h2 { font-size: 1.5rem; }

/* forms */
.quote-split { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.quote-split p:not(.eyebrow) { color: var(--muted); }
.card { background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--sun); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; min-width: 0; border: 0; padding: 0; margin: 0; }
.field > span, .field legend { font-size: .84rem; font-weight: 600; color: var(--anth); padding: 0; margin-bottom: .35rem; }
.field--full { grid-column: 1/-1; }
.field input, .field select, .field textarea { width: 100%; font: 400 1rem var(--sans); color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r); padding: .75rem .85rem; transition: border-color .2s, box-shadow .2s; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2324292e' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .7rem center; background-size: 18px; padding-right: 2.4rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--anth); box-shadow: 0 0 0 3px rgba(229, 165, 44, .35); }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip-check { position: relative; }
.chip-check input { position: absolute; opacity: 0; inset: 0; }
.chip-check span { display: inline-block; padding: .5rem .85rem; border: 1.5px solid var(--line); font-size: .88rem; cursor: pointer; background: var(--paper); transition: all .2s; }
.chip-check input:checked + span { background: var(--anth); color: #fff; border-color: var(--anth); }
.chip-check input:focus-visible + span { box-shadow: 0 0 0 3px rgba(229, 165, 44, .5); }
.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .86rem; color: var(--muted); }
.consent input { margin-top: .25rem; accent-color: var(--anth); width: 16px; height: 16px; flex: none; }
.form-status { margin: .9rem 0 0; font-size: .92rem; font-weight: 500; }
.form-status:empty { display: none; }
.form-status.is-ok { color: #1f6b46; background: #e6f3ec; padding: .8rem 1rem; }
.form-status.is-err { color: #9b2c1f; background: #fbeae6; padding: .8rem 1rem; }

/* page hero */
.phero { background: var(--chalk); padding: clamp(2.5rem, 5vw, 4rem) 0; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.phero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; opacity: .4; mask-image: linear-gradient(90deg, #000, transparent 55%); -webkit-mask-image: linear-gradient(90deg, #000, transparent 55%); }
.phero > .container { position: relative; }
.phero__in { display: grid; grid-template-columns: 1.3fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.phero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.phero__img { aspect-ratio: 4/3; }
.crumbs { font-size: .82rem; color: var(--muted); margin-bottom: 1.3rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--anth); text-decoration: underline; }
.crumbs span[aria-current] { color: var(--anth); font-weight: 500; }

/* product detail */
.pd { padding: clamp(2rem, 4vw, 3rem) 0 clamp(3rem, 6vw, 5rem); background: var(--chalk); }
.pd__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.pd__main { aspect-ratio: 4/3.2; }
.pd__thumbs { display: flex; gap: .6rem; margin-top: .8rem; }
.pd__thumbs button { width: 92px; aspect-ratio: 4/3; padding: 0; border: 3px solid transparent; cursor: pointer; background: none; opacity: .7; transition: all .2s; }
.pd__thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.pd__thumbs button.is-on, .pd__thumbs button:hover { border-color: var(--sun); opacity: 1; }
.pd__info h1 { font-size: clamp(2rem, 4vw, 3rem); }
.pd__specs { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
.feat { list-style: none; padding: 0; margin: 0; }
.feat li { display: flex; gap: .7rem; padding: .7rem 0; border-bottom: 1px dashed var(--line); }
.feat .ico { color: var(--sun-deep); margin-top: .25rem; }
.spec-table th { width: 30%; }

/* installation detail */
.istops { display: grid; gap: clamp(3rem, 6vw, 5rem); }
.istep { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.istep--flip .istep__img { order: 2; }
.istep__img { aspect-ratio: 4/3; }
.istep__no { font-family: var(--mono); font-size: .85rem; color: var(--sun-deep); border: 2px solid var(--sun); padding: .2rem .5rem; display: inline-block; margin-bottom: 1rem; }
.istep h2 { margin-bottom: .2rem; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.fact { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--anth); padding: 1.4rem; }
.fact .mono { color: var(--sun-deep); }
.fact p { color: var(--muted); font-size: .94rem; margin: 0; }

/* about */
.company { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.company__card { background: var(--anth); color: #d6dadd; padding: clamp(1.6rem, 3vw, 2.4rem); }
.company__card .mono { color: var(--sun); }
.company__card dl { display: grid; grid-template-columns: auto 1fr; gap: .8rem 1.4rem; margin: 1rem 0 0; }
.company__card dt { font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: #8e969d; padding-top: .2rem; }
.company__card dd { margin: 0; color: #fff; overflow-wrap: anywhere; }
.company__card .note { color: #8e969d; }
.company__card a { color: #fff; }

/* contact */
.contact { display: grid; grid-template-columns: 1.4fr .8fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.contact__side { display: grid; gap: 1.2rem; }
.cbox { background: #fff; border: 1px solid var(--line); padding: 1.5rem; }
.cbox h2 { font-size: 1.15rem; }
.cbox p { display: flex; gap: .6rem; align-items: flex-start; margin: 0 0 .7rem; overflow-wrap: anywhere; }
.cbox a { text-decoration: none; display: inline-flex; gap: .6rem; align-items: center; font-weight: 500; }
.cbox .ico { color: var(--sun-deep); margin-top: .2rem; }
.cbox--muted { background: var(--chalk); }
.cbox--muted p { display: block; color: var(--muted); }
.mini-steps { margin: 0; padding-left: 1.2rem; color: var(--muted); font-size: .94rem; }
.mini-steps li { margin-bottom: .5rem; }
.mini-steps b { color: var(--anth); }
.card--big { border-top-width: 8px; }

/* prose */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.4rem; margin-top: 2rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .5rem; }

/* 404 */
.nf { background: var(--chalk); padding: clamp(4rem, 9vw, 7rem) 0; }
.nf__in { display: grid; grid-template-columns: auto 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.nf__win { width: 200px; height: 240px; border: 14px solid var(--anth); display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1.4fr; gap: 10px; background: var(--anth); }
.nf__win span { background: var(--glass); }
.nf__win .sun { background: var(--sun); grid-row: 1; grid-column: 2; }

/* brand + email */
.h-sm { font-size: 1.3rem; margin: 2.5rem 0 1.2rem; padding-bottom: .6rem; border-bottom: 2px solid var(--anth); }
.h-sm:first-child { margin-top: 0; }
.logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.lbox { margin: 0; border: 1px solid var(--line); background: #fff; padding: 2rem 1.2rem 1rem; display: flex; flex-direction: column; align-items: center; gap: 1.2rem; justify-content: space-between; }
.lbox img { max-height: 120px; width: auto; }
.lbox figcaption { font-size: .8rem; color: var(--muted); }
.lbox--dark { background: var(--anth); }
.lbox--dark figcaption, .lbox--dark a { color: #aeb5bb; }
.lbox--sun { background: var(--glass); }
.sws { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.sw { border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; padding-bottom: .9rem; }
.sw span { height: 90px; border-bottom: 1px solid var(--line); margin-bottom: .8rem; }
.sw b, .sw code, .sw small { padding: 0 .9rem; }
.sw code { font-family: var(--mono); font-size: .8rem; color: var(--sun-deep); }
.sw small { color: var(--muted); font-size: .8rem; margin-top: .2rem; }
.types { display: grid; gap: 1rem; }
.type { border: 1px solid var(--line); background: #fff; padding: 1.4rem; }
.type__big { font-family: var(--display); font-weight: 700; font-size: clamp(1.8rem, 4vw, 3rem); letter-spacing: -.03em; color: var(--anth); line-height: 1.1; margin: 0; }
.email-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 4vw, 3rem); align-items: start; }
.sig-preview { background: #fff; border: 1px solid var(--line); padding: 1.6rem; overflow-x: auto; }
.tpl { margin-top: 1.2rem; }
.tpl__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .5rem; }
.tpl__head h3 { margin: 0; font-size: 1rem; }
.copy-area { width: 100%; font: 400 .82rem/1.5 var(--mono); padding: .9rem; border: 1px solid var(--line); background: var(--chalk); color: var(--ink); resize: vertical; border-radius: var(--r); }
.howto { margin-top: 1.5rem; background: var(--glass); padding: 1.4rem; }
.howto ol { padding-left: 1.2rem; margin: 0; font-size: .92rem; }
.howto li { margin-bottom: .45rem; }
.howto code { overflow-wrap: anywhere; }
.boxes { list-style: none; padding: 0; margin: 0; }
.boxes li { display: flex; flex-direction: column; padding: .75rem 0; border-bottom: 1px dashed var(--line); }
.boxes code { font-family: var(--mono); color: var(--anth); font-weight: 500; overflow-wrap: anywhere; }
.boxes span { color: var(--muted); font-size: .88rem; }

/* CTA band + footer */
.cta-band { background: var(--sun); }
.cta-band__in { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem 2rem; flex-wrap: wrap; padding: clamp(2.2rem, 4vw, 3rem) 0; }
.cta-band h2 { margin: 0; max-width: 22ch; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.cta-band .eyebrow { color: var(--anth); }
.cta-band__btns { display: flex; flex-wrap: wrap; gap: .8rem; }
.cta-band .btn--sun { background: var(--anth); color: #fff; }
.cta-band .btn--sun:hover { background: var(--anth-3); }
.cta-band .btn--line-light { border-color: var(--anth); color: var(--anth); }
.footer { background: var(--anth); color: #aeb5bb; padding: clamp(3rem, 6vw, 4.5rem) 0 0; font-size: .93rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer__brand p { margin: 1.2rem 0 0; max-width: 34ch; }
.footer__contact { display: flex; flex-direction: column; gap: .5rem; }
.footer__contact a { display: inline-flex; gap: .5rem; align-items: center; color: #fff; text-decoration: none; overflow-wrap: anywhere; }
.footer h3 { color: #fff; font-size: .78rem; font-family: var(--mono); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; }
.footer__grid > div:not(.footer__brand) { display: flex; flex-direction: column; gap: .5rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--sun); }
.footer__legal { border-top: 1px solid rgba(255, 255, 255, .12); padding: 1.4rem 0 1.8rem; font-size: .8rem; color: #8e969d; }
.footer__legal p { margin: 0 0 .4rem; }
.footer__legal strong { color: #c9ced3; font-weight: 600; }

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* responsive */
@media (max-width: 1180px) {
  .nav, .header__cta { display: none; }
  .burger { display: block; }
  .menu { position: fixed; left: 0; right: 0; top: 114px; bottom: 0; background: var(--paper); padding: 1rem 16px 2rem; flex-direction: column; overflow-y: auto; z-index: 49; border-top: 1px solid var(--line); }
  .menu.is-open { display: flex; }
  .menu a:not(.btn) { padding: .95rem 0; border-bottom: 1px solid var(--line); text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 1.25rem; color: var(--anth); }
  .menu .btn { margin-top: 1.4rem; }
  .menu__phone { align-items: center; gap: .5rem; }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .glist--4, .facts { grid-template-columns: repeat(2, 1fr); }
  .logos, .sws { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .hero__in, .phero__in, .split, .areas-band, .faq-split, .quote-split, .pd__grid, .pd__specs, .istep, .company, .contact, .email-grid { grid-template-columns: 1fr; }
  .istep--flip .istep__img { order: 0; }
  .hero__art { max-width: 560px; }
  .pgrid, .mats, .gals, .areas, .quotes { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .steps--light .step:nth-child(-n+2) { border-bottom-color: var(--line); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1/-1; }
  .phero__img { max-height: 340px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .topbar__msg { display: none; }
  .topbar__in { justify-content: center; }
  .topbar__links { gap: 1rem; font-size: .78rem; }
  .header__in { min-height: 66px; }
  .menu { top: 104px; }
  .logo .mark { width: 34px; height: 34px; }
  .logo__txt b { font-size: 1.12rem; }
  .logo__txt small { font-size: .54rem; letter-spacing: .16em; }
  .hero__tag { left: 10px; bottom: 14px; }
  .hero__win { border-width: 10px; }
  .spec__in { justify-content: flex-start; font-size: .92rem; gap: .5rem 1.1rem; }
  .cats, .pgrid, .mats, .gals, .areas, .quotes, .glist, .glist--4, .facts, .steps, .logos, .sws { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .steps--light .step { border-bottom-color: var(--line); }
  .step:last-child { border-bottom: 0; }
  .form__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero__btns .btn { flex: 1 1 100%; }
  .nf__in { grid-template-columns: 1fr; }
  .nf__win { width: 140px; height: 170px; border-width: 10px; }
  .company__card dl { grid-template-columns: 1fr; gap: .2rem; }
  .company__card dd { margin-bottom: .6rem; }
  .cta-band__btns .btn { flex: 1 1 100%; }
  .btn { white-space: normal; }
}
