/* Phoenix Window Coverings: site styles ("Signature" design)
   Type follows the logo: Bebas Neue (like "PHOENIX") for headings,
   Montserrat thin caps (like "WINDOW COVERINGS") for small labels, Montserrat for text.
   Fonts are self-hosted under the SIL Open Font License (see /assets/fonts). */

@font-face { font-family: "Bebas Neue"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/bebas-neue-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 200; font-style: normal; font-display: swap; src: url("/assets/fonts/montserrat-latin-200-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 300; font-style: normal; font-display: swap; src: url("/assets/fonts/montserrat-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/montserrat-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 400; font-style: italic; font-display: swap; src: url("/assets/fonts/montserrat-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/montserrat-latin-700-normal.woff2") format("woff2"); }

:root {
  --linen: #f5f2ea;       /* page */
  --paper: #fffdf8;       /* cards, alternate sections */
  --ink: #1d1d1b;         /* text */
  --stone: #615e55;       /* secondary text */
  --line: #e2ddcf;        /* hairlines on light */
  --char: #2a2a2a;        /* logo background charcoal */
  --night: #1b1b19;       /* dark sections */
  --smoke: #3a3a36;       /* hairlines on dark */
  --mist: #c2bdaf;        /* secondary text on dark */
  --olive: #b7b436;       /* olive from the logo */
  --olive-deep: #63611a;  /* olive for text on light backgrounds */
  --olive-pale: #ecebd3;
  --error: #9f1d1d;
  --display: "Bebas Neue", "Oswald", "Arial Narrow", Impact, sans-serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --max: 1240px;
  --gutter: clamp(18px, 5vw, 64px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --header-h: 96px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--linen); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.7; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 1000; padding: .75em 1.25em; background: var(--ink); color: #fff; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .01em; line-height: .95; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(3rem, 6.2vw, 5.8rem); }
h2 { font-size: clamp(2.4rem, 4.6vw, 4rem); }
h3 { font-size: clamp(1.6rem, 2.2vw, 2rem); letter-spacing: .02em; line-height: 1; }
h4 { font-size: 1.35rem; letter-spacing: .03em; line-height: 1.05; }
.lede { font-size: 1.08rem; color: var(--stone); max-width: 60ch; }
.dark .lede, .dark p { color: var(--mist); }
.tagline { font-weight: 200; letter-spacing: .3em; text-transform: uppercase; font-size: .78rem; margin: 0; }
.text-link { font-weight: 600; text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 1px; }
.text-link:hover { color: var(--olive-deep); }
.dark .text-link:hover { color: var(--olive); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 2px; font-family: var(--sans); font-weight: 600; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .3s var(--ease); -webkit-appearance: none; appearance: none; }
.btn:hover { transform: translateY(-2px); }
.btn-olive { background: var(--olive); color: var(--ink); }
.btn-olive:hover { background: #c7c44a; }
.btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; background: transparent; }
.btn-ghost:hover { border-color: var(--olive); color: var(--olive); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Header ---------- */
.site-header { position: fixed; left: 0; right: 0; top: 0; z-index: 50; padding-top: env(safe-area-inset-top, 0px); color: #fff; transition: background .4s, box-shadow .4s; }
.site-header.solid, .menu-open .site-header { background: rgba(42,42,42,.97); box-shadow: 0 1px 0 var(--smoke); }
.site-header .bar { display: flex; align-items: center; gap: 30px; height: var(--header-h); transition: height .4s var(--ease); }
.site-header.solid .bar { height: 72px; }
.logo { flex: none; line-height: 0; }
.logo img { height: 66px; width: auto; transition: height .4s var(--ease); }
.site-header.solid .logo img { height: 48px; }
.nav > ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav li { position: relative; }
.nav > ul > li > a { display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; text-decoration: none; padding: 10px 12px; border-bottom: 2px solid transparent; transition: border-color .25s; }
.nav > ul > li > a:hover, .nav > ul > li > a[aria-current], .nav .has-sub.current > a { border-color: var(--olive); }
.nav .has-sub > a::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-left: 2px; }
.nav .sub { position: absolute; left: 0; top: 100%; min-width: 250px; list-style: none; margin: 0; padding: 10px 0; background: var(--char); border-top: 2px solid var(--olive); box-shadow: 0 18px 40px rgba(0,0,0,.25); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; }
.nav .has-sub:hover .sub, .nav .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.nav .sub a { display: block; padding: 9px 20px; font-size: .88rem; text-decoration: none; color: #fff; }
.nav .sub a:hover, .nav .sub a[aria-current] { color: var(--olive); }
.head-right { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.phone { font-weight: 600; font-size: .95rem; text-decoration: none; white-space: nowrap; }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; padding: 0; border: 1px solid rgba(255,255,255,.35); border-radius: 2px; background: transparent; color: #fff; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: currentColor; transition: transform .25s, top .25s; }
.burger span:nth-child(1) { top: 17px; } .burger span:nth-child(2) { top: 26px; }
.menu-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 22px; transform: rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 45; background: var(--char); color: #fff; padding: calc(96px + env(safe-area-inset-top, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px)) 120px max(var(--gutter), env(safe-area-inset-left, 0px)); overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.menu-open { overflow: hidden; }
.mobile-menu h2 { font-size: 1.9rem; margin: 26px 0 8px; }
.mobile-menu h2 a { text-decoration: none; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li a { display: block; padding: 8px 0; text-decoration: none; color: var(--mist); font-size: 1.05rem; }
.mobile-menu li a[aria-current], .mobile-menu h2 a[aria-current] { color: var(--olive); }
.mobile-menu .btn-row { margin-top: 30px; }
@media (max-width: 1120px) { .nav { display: none; } .burger { display: block; } .head-right { margin-left: auto; } .head-right + .burger { margin-left: 0; } }
@media (max-width: 720px) { .head-right { display: none; } .burger { margin-left: auto; } .site-header .bar { height: 72px; } .logo img { height: 50px; } }
@media (min-width: 1121px) { .mobile-menu { display: none; } }

/* ---------- Heroes ---------- */
.hero { position: relative; display: flex; align-items: flex-end; color: #fff; background: var(--night); overflow: hidden; min-height: min(78svh, 760px); }
.hero.home { min-height: min(100svh, 940px); }
.hero.short { min-height: min(58svh, 560px); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.66); }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,27,25,.55) 0%, rgba(27,27,25,.05) 32%, rgba(27,27,25,.25) 55%, rgba(27,27,25,.92) 100%); }
.hero.home .hero-media img { transform: scale(1.06); animation: settle 2.2s var(--ease) .1s forwards; }
.sun { position: absolute; inset: -30% -10%; z-index: 1; pointer-events: none; mix-blend-mode: screen; opacity: .3; background: repeating-linear-gradient(-26deg, transparent 0 48px, rgba(255,240,180,.10) 48px 72px, transparent 72px 100px); animation: drift 22s linear infinite alternate; }
@keyframes drift { from { transform: translateX(-4%); } to { transform: translateX(4%); } }
@keyframes settle { to { transform: scale(1); } }
.slats { position: absolute; inset: 0; z-index: 2; display: grid; grid-template-rows: repeat(12, 1fr); pointer-events: none; }
.slats span { background: var(--char); transform-origin: top; animation: tilt .7s var(--ease) forwards; }
.slats span:nth-child(even) { background: #242422; }
.slats span:nth-child(1) { animation-delay: .04s } .slats span:nth-child(2) { animation-delay: .08s } .slats span:nth-child(3) { animation-delay: .12s }
.slats span:nth-child(4) { animation-delay: .16s } .slats span:nth-child(5) { animation-delay: .20s } .slats span:nth-child(6) { animation-delay: .24s }
.slats span:nth-child(7) { animation-delay: .28s } .slats span:nth-child(8) { animation-delay: .32s } .slats span:nth-child(9) { animation-delay: .36s }
.slats span:nth-child(10) { animation-delay: .40s } .slats span:nth-child(11) { animation-delay: .44s } .slats span:nth-child(12) { animation-delay: .48s }
@keyframes tilt { to { transform: scaleY(0); } }
.hero .inner { position: relative; z-index: 3; width: 100%; padding-top: calc(var(--header-h) + 90px); padding-bottom: clamp(56px, 9vh, 100px); }
.hero .tagline { color: rgba(255,255,255,.8); }
.hero h1 { max-width: 15ch; margin: 16px 0 22px; }
.hero .lede { color: rgba(255,255,255,.86); margin-bottom: 30px; }
.hero .call { color: #fff; font-weight: 600; text-decoration: none; margin-left: 8px; }
.crumbs { font-size: .8rem; color: rgba(255,255,255,.75); margin: 0; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--olive); }
.crumbs span { margin: 0 .5em; opacity: .6; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; list-style: none; padding: 0; }
.jump a { display: inline-block; font-size: .82rem; text-decoration: none; padding: .55em 1em; border: 1px solid rgba(255,255,255,.4); border-radius: 2px; transition: border-color .2s, color .2s; }
.jump a:hover { border-color: var(--olive); color: var(--olive); }
.rise { opacity: 0; transform: translateY(22px); animation: rise .9s var(--ease) forwards; }
.d1 { animation-delay: .15s } .d2 { animation-delay: .25s } .d3 { animation-delay: .37s } .d4 { animation-delay: .49s }
.hero.home .d1 { animation-delay: .5s } .hero.home .d2 { animation-delay: .6s } .hero.home .d3 { animation-delay: .72s } .hero.home .d4 { animation-delay: .84s }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (max-width: 760px) { .hero .inner { padding-top: calc(72px + 70px); } }
@media (prefers-reduced-motion: reduce) { .sun { animation: none; } .slats { display: none; } .rise { opacity: 1; transform: none; animation: none; } .hero.home .hero-media img { animation: none; transform: none; } }

/* ---------- Facts row ---------- */
.facts { background: var(--char); color: #fff; }
.facts ul { list-style: none; margin: 0 auto; padding-block: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.facts li { padding: 24px 22px; border-left: 1px solid var(--smoke); font-size: .9rem; color: var(--mist); line-height: 1.45; }
.facts li:first-child { border-left: 0; padding-left: 0; }
.facts a { color: #fff; text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; } .facts a:hover { color: var(--olive); }
.facts strong { display: block; color: #fff; font-family: var(--display); font-weight: 400; font-size: 1.5rem; letter-spacing: .03em; line-height: 1; margin-bottom: 6px; }
@media (max-width: 900px) { .facts ul { grid-template-columns: 1fr 1fr; } .facts li:nth-child(3) { border-left: 0; padding-left: 0; } .facts li:nth-child(n+3) { border-top: 1px solid var(--smoke); } }
@media (max-width: 480px) { .facts ul { grid-template-columns: 1fr; } .facts li { border-left: 0; padding-left: 0; border-top: 1px solid var(--smoke); } .facts li:first-child { border-top: 0; } }

/* ---------- Sections ---------- */
section.block { padding: clamp(72px, 9vw, 124px) 0; position: relative; }
section.block.tight { padding-top: 0; }
.dark { background: var(--night); color: #f1eee5; }
.paper { background: var(--paper); }
.pale { background: var(--olive-pale); }
.head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(34px, 5vw, 56px); }
.head p { margin: 0; }
.head.single { grid-template-columns: 1fr; max-width: 760px; }
@media (max-width: 860px) { .head { grid-template-columns: 1fr; gap: 16px; } }

/* staggered photo cards */
.paths { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 20px; }
.path { position: relative; display: block; min-height: 480px; border-radius: 2px; overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; }
.path img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.1s var(--ease); }
.path:hover img { transform: scale(1.05); }
.path::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(27,27,25,0) 38%, rgba(27,27,25,.86)); }
.path .body { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px; }
.path h3 { font-size: clamp(1.9rem, 2.6vw, 2.5rem); margin-bottom: 8px; }
.path p { color: rgba(255,255,255,.88); font-size: .95rem; max-width: 34ch; margin-bottom: 12px; }
.path .more { font-weight: 600; font-size: .85rem; border-bottom: 1px solid var(--olive); padding-bottom: 2px; }
.paths.stagger .path:nth-child(2) { margin-top: 56px; } .paths.stagger .path:nth-child(3) { margin-top: 112px; }
@media (max-width: 960px) { .paths { grid-template-columns: 1fr; } .path { min-height: 340px; } .paths.stagger .path:nth-child(n) { margin-top: 0; } }

/* product cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 24px; }
.cards.few { max-width: 640px; }
.cards.trio { max-width: 960px; }
.cards.row { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: minmax(240px, 1fr); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: thin; }
.card { display: block; text-decoration: none; scroll-snap-align: start; }
.card .ph { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 2px; margin-bottom: 16px; background: var(--line); }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover img { transform: scale(1.05); }
.card h3 { margin-bottom: 6px; }
.card p { color: var(--stone); font-size: .93rem; margin: 0 0 10px; }
.card .more { font-weight: 600; font-size: .85rem; border-bottom: 1px solid var(--olive); padding-bottom: 2px; }

/* dark split with stacked photos */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 7vw, 100px); align-items: center; }
.stack { position: relative; min-height: 540px; }
.stack .a { position: absolute; left: 0; top: 0; width: 72%; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 2px; }
.stack .b { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 1; overflow: hidden; border: 10px solid var(--night); background: var(--night); }
.stack img { width: 100%; height: 100%; object-fit: cover; }
.spec { list-style: none; padding: 0; margin: 26px 0 32px; border-top: 1px solid var(--smoke); }
.spec li { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--smoke); font-size: .95rem; color: #f1eee5; }
.spec li span { color: var(--mist); text-align: right; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .stack { min-height: 420px; } }

/* numbered steps (a real sequence) */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { padding: 30px 30px 26px 0; counter-increment: step; }
.steps li:not(:nth-child(3n+1)) { padding-left: 30px; border-left: 1px solid var(--line); }
.steps li:nth-child(n+4) { border-top: 1px solid var(--line); }
.steps li::before { content: counter(step); display: block; font-family: var(--display); font-size: 4rem; line-height: .8; color: var(--olive); margin-bottom: 16px; }
.steps h3 { margin-bottom: 10px; }
.steps p { color: var(--stone); margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } .steps li, .steps li:not(:nth-child(3n+1)) { padding: 26px 0; border-left: 0; border-bottom: 1px solid var(--line); border-top: 0; } }

/* image + text band */
.band { display: grid; grid-template-columns: 1.2fr 1fr; gap: 44px; align-items: center; }
.band .ph { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 2px; }
.band img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .band { grid-template-columns: 1fr; } }

/* product option rows */
.options { display: grid; gap: clamp(48px, 7vw, 90px); }
.option { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 70px); align-items: center; scroll-margin-top: 100px; }
.option:nth-child(even) .ph { order: 2; }
.option .ph { aspect-ratio: 5 / 4; overflow: hidden; border-radius: 2px; background: var(--line); }
.option .ph img { width: 100%; height: 100%; object-fit: cover; }
.option h2 { font-size: clamp(2rem, 3.4vw, 3rem); margin-bottom: 16px; }
.option p { color: var(--stone); }
.best { display: inline-block; font-size: .85rem; background: var(--olive-pale); padding: .45em .9em; border-radius: 2px; margin: 4px 0 18px; }
.best b { font-weight: 600; }
.features { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.features li { position: relative; padding: .7rem 0 .7rem 1.6rem; border-bottom: 1px solid var(--line); font-size: .95rem; }
.features li::before { content: ""; position: absolute; left: 0; top: 1.25rem; width: 11px; height: 2px; background: var(--olive); }
.features li b { font-weight: 600; }
.features.cols { display: grid; grid-template-columns: 1fr 1fr; column-gap: 30px; }
@media (max-width: 860px) { .option { grid-template-columns: 1fr; } .option:nth-child(even) .ph { order: 0; } .features.cols { grid-template-columns: 1fr; } }

/* at-a-glance table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 2px; background: var(--paper); }
.glance { width: 100%; border-collapse: collapse; font-size: .95rem; }
.glance th, .glance td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.glance thead th { font-weight: 300; font-size: .74rem; letter-spacing: .26em; text-transform: uppercase; color: var(--stone); background: var(--linen); }
.glance tbody th { font-family: var(--display); font-weight: 400; font-size: 1.3rem; letter-spacing: .02em; }
.glance tbody th a { text-decoration: none; } .glance tbody th a:hover { color: var(--olive-deep); }
.glance tr:last-child th, .glance tr:last-child td { border-bottom: 0; }

/* questions */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; position: relative; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 300; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--stone); margin: 0 0 20px; max-width: 62ch; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; gap: 20px; } }

/* checklist (plain bullets, no icons) */
.ticks { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.ticks li { padding: .7rem 0 .7rem 1.6rem; border-bottom: 1px solid var(--line); position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 1.3rem; width: 11px; height: 2px; background: var(--olive); }
/* service areas: community list in two columns, area link chips */
.ticks.cols { columns: 2; column-gap: 28px; border-top: 0; }
.ticks.cols li { break-inside: avoid; }
@media (max-width: 340px) { .ticks.cols { columns: 1; } }
.area-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.area-links a { display: inline-block; padding: .55rem 1.05rem; border: 1px solid var(--line); background: var(--paper); text-decoration: none; font-size: .92rem; font-weight: 600; transition: border-color .2s, color .2s; }
.area-links a:hover, .area-links a:focus-visible { border-color: var(--olive); color: var(--olive-deep); }
.two-col { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

/* final call to action */
.final { text-align: center; overflow: hidden; }
.final .sun { opacity: .2; }
.final .inner { position: relative; z-index: 2; display: grid; justify-items: center; gap: 20px; }
.final h2 { font-size: clamp(2.8rem, 7.4vw, 6.2rem); }
.final .btn-row { justify-content: center; }
.final .tel { font-family: var(--display); font-size: clamp(2rem, 4vw, 2.9rem); letter-spacing: .05em; color: var(--olive); text-decoration: none; }

/* contact details */
.contact-card { background: var(--char); color: #fff; padding: clamp(26px, 4vw, 40px); border-radius: 2px; }
.contact-card h2 { font-size: clamp(2rem, 3vw, 2.6rem); margin-bottom: 18px; }
.contact-card dl { margin: 0; display: grid; gap: 18px; }
.contact-card dt { font-weight: 200; font-size: .74rem; letter-spacing: .28em; text-transform: uppercase; color: var(--mist); }
.contact-card dd { margin: 4px 0 0; font-size: 1.05rem; }
.contact-card dd a { text-decoration: none; } .contact-card dd a:hover { color: var(--olive); }
.contact-card .note { color: var(--mist); font-size: .9rem; margin-top: 22px; }

/* consider grid (measure page) */
.consider { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 50px; }
.consider h3 { margin-bottom: 10px; }
.consider p { color: var(--stone); margin: 0; }
@media (max-width: 760px) { .consider { grid-template-columns: 1fr; } }
.embed iframe { width: 100%; border: 0; min-height: 600px; background: var(--paper); }

/* ---------- Forms (Netlify Forms) ---------- */
.form-card { background: var(--paper); border: 1px solid var(--line); padding: clamp(24px, 4vw, 40px); border-radius: 2px; }
.form-card h2 { font-size: clamp(2rem, 3vw, 2.6rem); margin-bottom: 8px; }
.form-card > p { color: var(--stone); }
.site-form { width: 100%; margin-top: 18px; }
.site-form .form-fields { display: grid; gap: 1.6rem; }
.form-item { margin: 0; padding: 0; border: 0; min-width: 0; }
.form-item legend, .form-item > label { display: block; margin-bottom: .5em; padding: 0; font-size: .95rem; font-weight: 600; color: var(--ink); }
.form-item .required { font-weight: 400; color: var(--stone); font-size: .85em; }
.field-stack { display: grid; gap: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.field-row.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 600px) { .field-row, .field-row.cols-3 { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .8rem; margin-bottom: .3em; color: var(--stone); }
.site-form input, .site-form textarea, .site-form select, .newsletter input { display: block; width: 100%; padding: 13px 12px; border: 1px solid #b9b3a3; border-radius: 2px; background: #fff; color: var(--ink); font-family: var(--sans); font-size: 1rem; line-height: 1.5; }
.site-form textarea { min-height: 120px; resize: vertical; }
.site-form select { -webkit-appearance: none; appearance: none; padding-right: 40px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231d1d1b' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.site-form input:focus, .site-form textarea:focus, .site-form select:focus, .newsletter input:focus { outline: 2px solid var(--olive); outline-offset: 0; border-color: var(--olive); }
.site-form .checkbox { display: flex; align-items: center; gap: .5em; margin-top: .6em; font-size: .85rem; color: var(--stone); cursor: pointer; }
.site-form .checkbox input { width: 16px; height: 16px; padding: 0; margin: 0; accent-color: var(--ink); }
.form-button-wrap { display: flex; margin-top: 1.6rem; }
.form-button-wrap.align-center { justify-content: center; }
.site-form .btn, .newsletter .btn { background: var(--olive); color: var(--ink); width: auto; }
.form-message { margin-top: 1rem; font-size: 1rem; }
.form-message[hidden] { display: none; }
.form-success { background: var(--olive-pale); padding: 18px 20px; border-radius: 2px; }
.form-error { color: var(--error); font-weight: 600; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* newsletter */
.newsletter { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.newsletter form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter .form-body { display: flex; gap: 10px; flex-wrap: wrap; width: 100%; }
.newsletter .field { flex: 1 1 260px; }
.newsletter .field label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.newsletter input { height: 52px; }
.dark .newsletter .form-success { color: var(--ink); }
.dark .newsletter .form-error { color: #ffb4b4; }
@media (max-width: 860px) { .newsletter { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- Footer ---------- */
footer.site-footer { background: var(--char); color: var(--mist); padding: 70px 0 40px; font-size: .92rem; }
.f-grid { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 36px; }
.f-grid h2 { margin: 0 0 14px; font-family: var(--sans); font-weight: 300; font-size: .74rem; letter-spacing: .28em; line-height: 1.4; color: #fff; }
.f-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.f-grid a { text-decoration: none; } .f-grid a:hover { color: #fff; }
.f-grid img { height: 74px; width: auto; margin-bottom: 16px; }
.f-base { margin-top: 50px; padding-top: 20px; border-top: 1px solid var(--smoke); font-size: .78rem; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
@media (max-width: 1100px) { .f-grid { grid-template-columns: repeat(4, 1fr); } .f-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 860px) { .f-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Phone action bar ---------- */
.action-bar { display: none; }
@media (max-width: 720px) {
  .action-bar { display: grid; grid-template-columns: 1fr 1.5fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px max(12px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); background: rgba(42,42,42,.97); border-top: 1px solid var(--smoke); transform: translateY(110%); transition: transform .45s var(--ease); }
  .action-bar.show { transform: none; }
  .action-bar a { min-height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 2px; text-decoration: none; font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
  .action-bar .call { color: #fff; border: 1px solid rgba(255,255,255,.4); }
  .action-bar .measure { background: var(--olive); color: var(--ink); }
  footer.site-footer { padding-bottom: 110px; }
}

/* ---------- Simple pages (thank you, 404) ---------- */
.simple .inner { text-align: left; }

/* product charts and line drawings sit inside their frame instead of filling it */
.option .ph img.contain { object-fit: contain; padding: 12px; }
