/* QE Building Co. — site styles. Tokens first; components after. */
@font-face { font-family: "Archivo"; src: url("/fonts/archivo-var.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #f1f2f4;            /* matches the 3D render backdrop so buildings float on the page */
  --surface: #ffffff;
  --ink: #0c111b;
  --ink-2: #364052;
  --muted: #6a7384;
  --line: #dde1e7;
  --brand: #2f7de1;
  --brand-ink: #1a5cb6;
  --brand-soft: #e6f0fd;
  --iron: #b8442d;          /* red-iron primer */
  --dark: #0b0f17;
  --dark-2: #141a26;
  --dark-line: #232c3c;
  --ok: #1d9a5b;
  --r: 14px;
  --r-lg: 22px;
  --wrap: 1240px;
  --shadow: 0 1px 2px rgba(12,17,27,.05), 0 8px 28px rgba(12,17,27,.07);
  --display: "Archivo", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; overflow-x: clip; }
body { margin: 0; overflow-x: clip; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }   /* component display rules (flex/grid) must never un-hide a [hidden] element */
a { color: var(--brand-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--display); font-stretch: 112%; line-height: 1.05; letter-spacing: -.02em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6vw, 4.9rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3.1rem); font-weight: 750; }
h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
h4 { font-size: 1.05rem; font-weight: 700; letter-spacing: 0; line-height: 1.3; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.narrow { width: min(800px, 100% - 40px); margin-inline: auto; }
section { padding: clamp(56px, 8vw, 112px) 0; }
.eyebrow { font: 650 .78rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--brand-ink); margin: 0 0 18px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--iron); }
.lede { font-size: clamp(1.08rem, 1.5vw, 1.3rem); color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--muted); }
.center { text-align: center; } .center .eyebrow { justify-content: center; } .center .lede { margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 24px; border-radius: 999px; font: 650 1rem/1 var(--body); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s, border-color .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 20px rgba(47,125,225,.32); }
.btn-primary:hover { background: var(--brand-ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: var(--ink); }
.on-dark .btn-ghost, .btn-ghost.on-dark { background: transparent; color: #fff; border-color: #3a465c; }
.on-dark .btn-ghost:hover { border-color: #fff; }
.btn-sm { padding: 11px 18px; font-size: .92rem; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(241,242,244,.82); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, background .2s; }
.site-header.scrolled { border-color: var(--line); background: rgba(255,255,255,.9); }
.nav { display: flex; align-items: center; gap: 28px; height: 74px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.logo svg { height: 40px; width: auto; }
.logo img { height: 50px; width: auto; mix-blend-mode: multiply; }   /* JPG has a white ground; multiply drops it onto the header */
.logo-plate { background: #fff; padding: 10px 14px; border-radius: 10px; display: inline-flex; } .logo-plate img { mix-blend-mode: normal; height: 38px; }
.logo-tag { font: 600 .78rem/1.15 var(--body); color: var(--muted); letter-spacing: .01em; }
.nav-links { display: flex; gap: 4px; margin-left: auto; list-style: none; padding: 0; margin-block: 0; }
.nav-links > li { position: relative; }
.nav-links > li > a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 550; font-size: .96rem; }
.nav-links > li > a:hover, .nav-links > li:focus-within > a { background: rgba(12,17,27,.06); }
.drop { position: absolute; top: 100%; left: -10px; min-width: 250px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .16s; }
.nav-links > li:hover .drop, .nav-links > li:focus-within .drop { opacity: 1; visibility: visible; transform: none; }
.drop a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: .94rem; }
.drop a:hover { background: var(--bg); }
.drop a small { display: block; color: var(--muted); font-size: .8rem; }
.nav-cta { display: flex; align-items: center; gap: 14px; flex: none; }
.nav-phone { font-weight: 650; color: var(--ink); text-decoration: none; font-size: .96rem; white-space: nowrap; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; border-radius: 10px; cursor: pointer; }
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px auto; transition: .2s; }
@media (max-width: 1080px) {
  .logo-tag, .nav-phone { display: none; }
  .logo img { height: 36px; }
}
@media (max-width: 900px) {
  .burger { display: block; margin-left: auto; }
  .nav-links { display: none; position: absolute; top: 74px; left: 0; right: 0; background: var(--surface); flex-direction: column; padding: 12px 20px 24px; border-bottom: 1px solid var(--line); max-height: calc(100vh - 74px); overflow: auto; margin: 0; }
  .nav-open .nav-links { display: flex; }
  .nav-links > li > a { padding: 14px 6px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .drop { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 4px 0 8px 10px; }
  .nav-cta .btn { display: none; }
  .nav-cta { display: none; }
}

/* Hero */
.hero { padding: clamp(36px, 5vw, 70px) 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.hero h1 { max-width: 14ch; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero-top { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: end; }
.hero-side { padding-bottom: 14px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.hero-chips li { display: flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 600; padding: 8px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; }
.hero-chips li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
@media (max-width: 900px) { .hero-top { grid-template-columns: 1fr; gap: 20px; } }

/* X-ray slider (sheeted vs. steel frame) */
.xray { position: relative; border-radius: var(--r-lg); overflow: hidden; user-select: none; touch-action: pan-y; background: var(--bg); --pos: 58%; }
.xray img { width: 100%; display: block; pointer-events: none; }
.xray .xr-top { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.xray .xr-top img { height: 100%; object-fit: cover; }
.xray .xr-bar { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: var(--ink); transform: translateX(-1px); }
.xray .xr-knob { position: absolute; top: 50%; left: var(--pos); width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: #fff; transform: translate(-50%, -50%); display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.25); cursor: ew-resize; }
.xray .xr-knob svg { width: 24px; height: 24px; }
.xray input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.xr-label { position: absolute; bottom: 16px; font: 650 .74rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.85); backdrop-filter: blur(6px); }
.xr-label.l { left: 16px; } .xr-label.r { right: 16px; color: var(--iron); }
.hero > .wrap { position: relative; z-index: 2; }
.hero .xray { margin-top: -70px; border-radius: 0; z-index: 1; }
.hero .xray .xr-bar { top: 70px; }
@media (max-width: 900px) { .hero .xray { margin-top: 10px; } .xray .xr-knob { width: 42px; height: 42px; } }

/* Estimator */
.estimator { background: var(--dark); color: #fff; border-radius: var(--r-lg); padding: clamp(24px, 3.4vw, 44px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-width: 0; gap: clamp(24px, 4vw, 56px); align-items: center; }
.estimator h2 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
.estimator .eyebrow { color: #8db9f5; }
.est-controls { display: grid; gap: 22px; }
.est-row label { display: flex; justify-content: space-between; font-weight: 600; font-size: .92rem; color: #aab4c5; margin-bottom: 10px; }
.est-row output { color: #fff; font: 750 1.15rem/1 var(--display); }
input[type=range].slider { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--brand) var(--fill, 50%), #2a3448 var(--fill, 50%)); outline: none; }
input[type=range].slider::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 5px solid var(--brand); cursor: grab; box-shadow: 0 2px 8px rgba(0,0,0,.4); }
input[type=range].slider::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 5px solid var(--brand); cursor: grab; }
.est-result { background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: var(--r); padding: 26px; }
.est-result .k { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #8d98ab; font-weight: 650; }
.est-price { font: 800 clamp(2.4rem, 4.4vw, 3.6rem)/1 var(--display); font-stretch: 112%; letter-spacing: -.03em; margin: 10px 0 6px; }
.est-price small { font-size: .42em; font-weight: 600; color: #8d98ab; letter-spacing: 0; }
.est-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; color: #aab4c5; font-size: .92rem; margin-bottom: 20px; }
.est-meta b { color: #fff; }
.est-note { font-size: .78rem; color: #78839a; margin: 16px 0 0; }
.est-over { margin: 12px 0 0; padding: 10px 14px; border-radius: 10px; background: rgba(184,68,45,.22); border: 1px solid rgba(184,68,45,.5); font-size: .9rem; } .est-over a { color: #fff; font-weight: 700; }
.est-bigger { margin: 18px 0 0; padding: 14px 16px; border-radius: 12px; border: 1px dashed rgba(255,255,255,.28); display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.est-bigger b { display: block; font-size: .92rem; color: #fff; } .est-bigger small { display: block; font-size: .8rem; color: #aab4c5; margin-top: 2px; }
.est-bigger .btn { padding: 10px 16px; font-size: .88rem; white-space: nowrap; }
.btn-lg { padding: 16px 24px; font-size: 1.02rem; }
/* 3D designer band (homepage) */
.designer-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); align-items: center; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-lg); background: var(--dark); color: #fff; overflow: hidden; }
.designer-band h2 { color: #fff; margin: 6px 0 22px; font-size: clamp(1.5rem, 2.6vw, 2.1rem); max-width: 16ch; } .designer-band .lede { color: #aab4c5; margin: 0; }
.designer-band .checks { margin: 22px 0 26px; } .designer-band .checks li { border-color: var(--dark-line); color: #e6e9ef; }
.designer-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.db-shot { position: relative; display: block; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 30px 70px rgba(0,0,0,.45); text-decoration: none; color: inherit; transform: rotate(-1deg); transition: transform .3s; }
.db-shot:hover { transform: rotate(0) scale(1.01); }
.db-shot img { display: block; width: 100%; height: auto; }
.db-chrome { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #e9ecf1; border-bottom: 1px solid #d7dbe2; }
.db-chrome i { width: 10px; height: 10px; border-radius: 50%; background: #c9ced6; } .db-chrome i:nth-child(1) { background: #ff5f57; } .db-chrome i:nth-child(2) { background: #febc2e; } .db-chrome i:nth-child(3) { background: #28c840; }
.db-chrome b { margin-left: 10px; font: 500 .74rem/1 var(--body); color: #6b7688; background: #fff; border-radius: 6px; padding: 5px 10px; flex: 1; }
.db-play { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--brand); color: #fff; font: 650 .9rem/1 var(--body); box-shadow: 0 10px 24px rgba(47,125,225,.4); }
@media (max-width: 900px) { .designer-band { grid-template-columns: minmax(0, 1fr); } .db-shot { transform: none; } }
/* instant pricing page */
.ip-card { padding: 26px; } .ip-card h3 { margin: 12px 0 8px; font-size: 1.15rem; } .ip-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.ip-n { font: 800 .9rem/1 var(--display); color: var(--iron); letter-spacing: .06em; }
/* "Need more than instant pricing covers?" — oversize / complex building CTA */
.big-cta { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(28px, 4vw, 52px); border-radius: var(--r-lg); background: linear-gradient(135deg, #fff 0%, #eef4fd 100%); border: 1px solid var(--line); position: relative; overflow: hidden; }
.big-cta::before { content: ""; position: absolute; left: -80px; bottom: -120px; width: 320px; height: 320px; border: 48px solid rgba(47,125,225,.07); border-radius: 50%; }
.big-cta h2 { margin: 6px 0 12px; max-width: 18ch; } .big-cta-text > p:last-of-type { margin: 0; color: var(--muted); max-width: 60ch; }
.big-cta-list { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.big-cta-list li { font-size: .82rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); }
.big-cta-act { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; position: relative; z-index: 1; }
.big-cta-act > span { font-size: .9rem; color: var(--muted); } .big-cta-act > span a { color: var(--ink); font-weight: 700; }
.big-cta.compact { grid-template-columns: minmax(0, 1fr) auto; margin-top: 48px; } .big-cta.compact .big-cta-list { display: none; } .big-cta.compact h2 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
@media (max-width: 860px) { .big-cta, .big-cta.compact { grid-template-columns: minmax(0, 1fr); } .big-cta > * { min-width: 0; } .big-cta-act { width: 100%; } .big-cta-act .btn { width: 100%; } }
@media (max-width: 860px) { .estimator { grid-template-columns: minmax(0, 1fr); } .estimator > * { min-width: 0; } .est-price small { display: block; margin-top: 8px; } }

/* Cards / grids */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .g3, .g2 { grid-template-columns: 1fr; } .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.bcard { display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s, border-color .2s; }
.bcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #c5ccd8; }
.bcard-img { background: linear-gradient(#f1f2f6, #f2f2f2); aspect-ratio: 16 / 11; overflow: hidden; }
.bcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.bcard:hover .bcard-img img { transform: scale(1.04); }
.bcard-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; border-top: 1px solid var(--line); }
.bcard-title { font: 750 1.22rem/1.1 var(--display); font-stretch: 112%; letter-spacing: -.015em; }
.bcard-sub { font-size: .86rem; color: var(--muted); }
.bcard-price { margin-top: auto; padding-top: 12px; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-size: .84rem; color: var(--muted); }
.bcard-price b { color: var(--ink); font: 750 1.05rem/1 var(--display); }
.tag { display: inline-block; font: 650 .68rem/1 var(--body); letter-spacing: .09em; text-transform: uppercase; padding: 6px 9px; border-radius: 6px; background: var(--brand-soft); color: var(--brand-ink); }
.tag.iron { background: #fbeae6; color: var(--iron); } .tag.dark { background: var(--ink); color: #fff; } .tag.ok { background: #e3f5ec; color: #12704a; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head h2 { margin: 0; max-width: 18ch; }

/* Feature list / package */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.checks { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 0; }
.checks li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 550; }
.checks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/14px no-repeat; }
.on-dark { background: var(--dark); color: #fff; }
.on-dark .lede, .on-dark p { color: #aab4c5; } .on-dark .eyebrow { color: #8db9f5; }
.on-dark .checks li { border-color: var(--dark-line); color: #e7ebf2; }
.panel-img { border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(#f1f2f6, #f2f2f2); }

/* Steps */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--dark-line); margin-top: 48px; }
.step { counter-increment: s; padding: 28px 28px 8px 0; border-right: 1px solid var(--dark-line); padding-left: 28px; }
.step:first-child { padding-left: 0; } .step:last-child { border-right: 0; }
.step::before { content: "0" counter(s); font: 800 .95rem/1 var(--display); color: var(--iron); letter-spacing: .06em; display: block; margin-bottom: 40px; }
.step h3 { color: #fff; } .step p { font-size: .95rem; }
.step .when { display: inline-block; margin-top: 4px; font-size: .78rem; font-weight: 650; color: #8db9f5; letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } .step { padding: 24px 20px 8px !important; border-bottom: 1px solid var(--dark-line); } .step::before { margin-bottom: 18px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .step { border-right: 0; padding-left: 0 !important; } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.stat { background: var(--surface); padding: 26px 24px; }
.stat b { display: block; font: 800 clamp(1.7rem, 3vw, 2.5rem)/1 var(--display); font-stretch: 112%; letter-spacing: -.03em; margin-bottom: 8px; }
.stat span { font-size: .9rem; color: var(--muted); }
@media (max-width: 800px) { .stats { grid-template-columns: 1fr 1fr; } }

/* Photo mosaic */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 12px; }
.mosaic a { position: relative; border-radius: var(--r); overflow: hidden; display: block; color: #fff; text-decoration: none; background: #ccd; }
.mosaic a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.mosaic a:nth-child(6) { grid-column: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.mosaic a:hover img { transform: scale(1.05); }
.mosaic .cap { position: absolute; inset: auto 0 0 0; padding: 40px 16px 14px; background: linear-gradient(transparent, rgba(5,8,14,.78)); font-weight: 650; font-size: .95rem; }
.mosaic .cap small { display: block; font-weight: 500; opacity: .8; font-size: .8rem; }
@media (max-width: 900px) { .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; } }
.gallery { columns: 3 280px; column-gap: 12px; }
.gallery a { display: block; margin-bottom: 12px; border-radius: var(--r); overflow: hidden; break-inside: avoid; }
.gallery img { width: 100%; }

/* Reviews */
.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.review p { margin: 0; color: var(--ink-2); font-size: 1rem; }
.stars { color: #f5a623; letter-spacing: 3px; font-size: 1.05rem; }
.review footer { margin-top: auto; display: flex; align-items: center; gap: 12px; font-weight: 650; font-size: .95rem; }
.review footer small { display: block; color: var(--muted); font-weight: 500; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-ink); display: grid; place-items: center; font-weight: 750; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; padding: 22px 44px 22px 0; font: 650 1.1rem/1.35 var(--body); color: var(--ink); cursor: pointer; position: relative; }
.faq-q::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq-item.open .faq-q::after { transform: translateY(-30%) rotate(225deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; color: var(--ink-2); }
.faq-a > div > *:last-child { margin-bottom: 24px; }

/* CTA band */
.cta-band { background: var(--brand); color: #fff; border-radius: var(--r-lg); padding: clamp(32px, 5vw, 64px); display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 320px; height: 320px; border: 56px solid rgba(255,255,255,.09); border-radius: 50%; }
.cta-band h2 { margin: 0 0 10px; max-width: 16ch; } .cta-band p { margin: 0; opacity: .9; max-width: 48ch; }
.cta-band .btn-row { position: relative; z-index: 1; }
.cta-band .btn-dark { background: #fff; color: var(--ink); }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }

/* Page head (interior pages) */
.page-head { padding: clamp(36px, 5vw, 72px) 0 clamp(24px, 3vw, 40px); }
.page-head h1 { font-size: clamp(2.1rem, 4.6vw, 3.7rem); max-width: 22ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: var(--muted); margin-bottom: 22px; padding: 0; list-style: none; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.crumbs a { color: var(--muted); text-decoration: none; } .crumbs a:hover { color: var(--ink); }

/* Product (size) page */
.pdp { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: clamp(24px, 3.5vw, 56px); align-items: start; }
.pdp-gallery { position: sticky; top: 94px; }
.pdp-main { border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(#f1f2f6, #f2f2f2); border: 1px solid var(--line); }
.pdp-main > img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.pdp-main .xray { aspect-ratio: 16 / 11; } .pdp-main .xray > img { height: 100%; object-fit: cover; }   /* reserve the space before the render loads — no layout jump */
.thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 10px; }
.thumbs button { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: linear-gradient(#f1f2f6, #f2f2f2); cursor: pointer; aspect-ratio: 16 / 11; outline: 1px solid var(--line); }
.thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button[aria-pressed=true] { border-color: var(--brand); outline-color: transparent; }
.pdp-info h1 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); margin-bottom: 12px; }
.pdp-price { font: 800 2.3rem/1 var(--display); font-stretch: 112%; letter-spacing: -.03em; margin: 18px 0 4px; }
.pdp-price small { font: 600 .9rem/1 var(--body); color: var(--muted); letter-spacing: 0; margin-right: 8px; }
.spec { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: .95rem; }
.spec th, .spec td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { color: var(--muted); font-weight: 500; width: 46%; }
.spec td { font-weight: 600; }
.heights { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 22px; }
.heights a { padding: 9px 15px; border-radius: 999px; border: 1.5px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; font-size: .9rem; background: var(--surface); }
.heights a[aria-current] { border-color: var(--ink); background: var(--ink); color: #fff; }
.heights a:hover { border-color: var(--ink); }
.swatch { display: inline-block; width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,.2); vertical-align: -2px; margin-right: 6px; }
.notice { font-size: .86rem; color: var(--ink-2); background: #fff7e8; border: 1px solid #f2dfb6; border-radius: 10px; padding: 12px 14px; }
@media (max-width: 960px) { .pdp { grid-template-columns: 1fr; } .pdp-gallery { position: static; } }

/* Catalog filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 28px; position: sticky; top: 74px; z-index: 5; background: var(--bg); padding: 14px 0; }
.filters .group { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.filters .lbl { font-size: .8rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.chip { padding: 9px 15px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); font: 600 .9rem/1 var(--body); cursor: pointer; color: var(--ink); }
.chip[aria-pressed=true] { background: var(--ink); color: #fff; border-color: var(--ink); }
.filters select { padding: 10px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); font: 600 .9rem/1 var(--body); color: var(--ink); }
.count { margin-left: auto; font-size: .9rem; color: var(--muted); }
.price-table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); font-size: .95rem; }
.price-table th, .price-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.price-table thead th { background: var(--ink); color: #fff; font-weight: 600; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; }
.price-table tbody tr:hover { background: #f7f9fc; }
.price-table td a { font-weight: 650; text-decoration: none; }
.table-scroll { overflow-x: auto; border-radius: var(--r); }

/* Prose (blog, city & legal pages) */
.prose { font-size: 1.08rem; line-height: 1.75; color: var(--ink-2); }
.prose h2 { font-size: clamp(1.55rem, 2.6vw, 2.1rem); margin: 2em 0 .6em; color: var(--ink); }
.prose h3 { font-size: 1.3rem; margin: 1.8em 0 .5em; color: var(--ink); }
.prose h4 { margin: 1.5em 0 .4em; color: var(--ink); }
.prose img { border-radius: var(--r); margin: 1.8em 0; width: 100%; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; } .prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--iron); font-weight: 700; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: .95rem; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { background: var(--ink); color: #fff; font-weight: 600; }
.prose blockquote { border-left: 3px solid var(--iron); margin: 1.6em 0; padding: 4px 0 4px 22px; color: var(--ink); font-size: 1.15rem; }
.takeaway { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: var(--r); padding: 22px 26px; margin: 1.6em 0; }
.takeaway h2 { margin: 0 0 .4em !important; font-size: 1.1rem !important; letter-spacing: .08em; text-transform: uppercase; font-stretch: 100%; color: var(--brand-ink) !important; }
.takeaway p:last-child { margin: 0; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(28px, 5vw, 72px); align-items: start; }
.article-layout > aside { align-self: stretch; }
.aside-card { position: sticky; top: 100px; background: var(--dark); color: #fff; border-radius: var(--r-lg); padding: 28px; }
.aside-card h3 { font-size: 1.35rem; } .aside-card p { color: #aab4c5; font-size: .95rem; }
.aside-card .btn { width: 100%; margin-top: 8px; }
.toc { margin-top: 20px; border-top: 1px solid var(--dark-line); padding-top: 18px; }
@media (max-width: 960px) { .article-layout { grid-template-columns: 1fr; } .aside-card { position: static; } }
.post-meta { display: flex; gap: 14px; color: var(--muted); font-size: .9rem; flex-wrap: wrap; }
.post-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.post-card .ph { aspect-ratio: 16 / 10; overflow: hidden; background: #dfe3ea; }
.post-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.post-card .body { padding: 20px; } .post-card h3 { margin: 8px 0 8px; } .post-card p { color: var(--muted); font-size: .93rem; margin: 0; }
.numcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 1.6em 0; }
@media (max-width: 760px) { .numcards { grid-template-columns: 1fr 1fr; } }
.numcards .bcard-body p { font-size: .88rem; color: var(--muted); margin: 4px 0 0; line-height: 1.5; }
.pill-links { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; margin: 0; }
.pill-links a { display: block; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: .9rem; font-weight: 550; }
.pill-links a:hover { border-color: var(--ink); }
.on-dark .pill-links a { background: var(--dark-2); border-color: var(--dark-line); color: #dbe2ee; } .on-dark .pill-links a:hover { border-color: #fff; }

/* Forms */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 40px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } .form-grid .full { grid-column: 1 / -1; }
.form-grid.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 600px) { .form-grid, .form-grid.three { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .85rem; font-weight: 650; margin-bottom: 7px; color: var(--ink-2); }
.field input, .field select, .field textarea { width: 100%; padding: 14px 15px; border: 1.5px solid var(--line); border-radius: 11px; font: 500 1rem/1.3 var(--body); color: var(--ink); background: #fbfcfd; transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(47,125,225,.14); background: #fff; }
.field .suffix { position: relative; } .field .suffix span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .9rem; pointer-events: none; }
.form-steps { display: flex; gap: 8px; margin-bottom: 26px; }
.form-steps span { flex: 1; height: 4px; border-radius: 2px; background: var(--line); } .form-steps span.on { background: var(--brand); }
.fstep { display: none; } .fstep.on { display: block; animation: fade .3s; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }
.fstep h3 { font-size: 1.45rem; margin-bottom: 6px; } .fstep > p { color: var(--muted); margin-bottom: 22px; font-size: .95rem; }
.opt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.opt { position: relative; } .opt input { position: absolute; opacity: 0; }
.opt span { display: block; padding: 14px; border: 1.5px solid var(--line); border-radius: 11px; font-weight: 600; font-size: .93rem; cursor: pointer; text-align: center; background: #fbfcfd; }
.opt input:checked + span { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-ink); }
.opt input:focus-visible + span { box-shadow: 0 0 0 4px rgba(47,125,225,.2); }
.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }
.consent { margin: 14px 0 0; font-size: .78rem; line-height: 1.45; color: var(--muted); }
.consent a { color: inherit; text-decoration: underline; }
.form-msg { font-size: .9rem; color: #b3261e; margin-top: 12px; min-height: 1.2em; }
.loads { display: none; margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: var(--brand-soft); color: var(--brand-ink); font-size: .9rem; font-weight: 550; } .loads.on { display: block; }
.thanks { text-align: center; padding: 30px 10px; } .thanks .big { width: 64px; height: 64px; border-radius: 50%; background: var(--ok); margin: 0 auto 18px; display: grid; place-items: center; color: #fff; }
.contact-list { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .ic { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; color: var(--brand-ink); }
.contact-list b { display: block; } .contact-list a { color: inherit; text-decoration: none; font-size: 1.15rem; font-weight: 650; }

/* Footer */
.site-footer { background: var(--dark); color: #aab4c5; padding: 72px 0 40px; margin-top: clamp(56px, 8vw, 112px); font-size: .93rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 36px; }
.site-footer h4 { color: #fff; font: 650 .8rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #aab4c5; text-decoration: none; } .site-footer a:hover { color: #fff; }
.foot-brand p { max-width: 34ch; margin-top: 18px; }
.foot-brand .logo { color: #fff; }
.foot-bottom { border-top: 1px solid var(--dark-line); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .84rem; }
@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* Mobile action bar */
.mobile-bar { display: none; position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 60; background: rgba(11,15,23,.94); backdrop-filter: blur(10px); border-radius: 18px; padding: 8px; gap: 8px; box-shadow: 0 10px 40px rgba(0,0,0,.35); }
.mobile-bar .btn { flex: 1; padding: 14px 10px; }
@media (max-width: 900px) { .mobile-bar { display: flex; } .site-footer { padding-bottom: 110px; } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
.certs { background: var(--surface); border-block: 1px solid var(--line); padding: 34px 0; }
.certs .wrap { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.certs img { max-height: 150px; width: auto; max-width: 100%; mix-blend-mode: multiply; }
.certs span { font-size: .8rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.lightbox { position: fixed; inset: 0; background: rgba(5,8,14,.92); z-index: 100; display: none; place-items: center; padding: 24px; cursor: zoom-out; }
.lightbox.on { display: grid; } .lightbox img { max-width: 100%; max-height: 90vh; border-radius: 10px; }

/* Quote modal — all forms open here rather than sitting on the page */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; background: rgba(8,11,18,.62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .2s; overflow-y: auto; overscroll-behavior: contain; }
.modal[hidden] { display: none; }
.modal.on { opacity: 1; }
.modal-card { width: min(600px, 100%); background: var(--surface); border-radius: var(--r-lg); box-shadow: 0 30px 90px rgba(0,0,0,.4); padding: clamp(20px, 3vw, 34px); transform: translateY(16px) scale(.985); transition: transform .25s cubic-bezier(.2,.8,.2,1); margin: auto; }
.modal.on .modal-card { transform: none; }
.modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.modal-x { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.modal-x:hover { border-color: var(--ink); }
.qm-summary { display: flex; align-items: center; gap: 14px; background: linear-gradient(#f1f2f6, #f2f2f2); border-radius: var(--r); padding: 8px 16px 8px 8px; margin-bottom: 20px; }
.qm-summary[hidden] { display: none; }
.qm-summary img { width: 112px; height: 77px; object-fit: cover; border-radius: 9px; flex: none; }
.qm-summary img[hidden] { display: none; }
.qm-summary div { padding: 8px 0 8px 8px; } .qm-summary b { display: block; font: 750 1.05rem/1.2 var(--display); } .qm-summary span { font-size: .88rem; color: var(--muted); }
.modal-foot { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); text-align: center; }
body.modal-open { overflow: hidden; } body.modal-open .mobile-bar { display: none; }
@media (max-width: 640px) { .modal { padding: 0; place-items: end stretch; } .modal-card { border-radius: 22px 22px 0 0; min-height: 70vh; transform: translateY(40px); padding-bottom: 28px; } }
.launch-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.launch-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: linear-gradient(#f1f2f6, #f2f2f2); }
.launch-body { padding: clamp(22px, 3vw, 34px); border-top: 1px solid var(--line); } .launch-body h3 { font-size: 1.45rem; }

/* Contact page */
.contact-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1000px) { .contact-cards { grid-template-columns: 1fr 1fr; } } @media (max-width: 560px) { .contact-cards { grid-template-columns: 1fr; } }
.ccard { display: flex; flex-direction: column; gap: 10px; padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s, border-color .2s; }
.ccard:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #c5ccd8; }
.ccard .ic { width: 48px; height: 48px; border-radius: 14px; background: var(--brand-soft); color: var(--brand-ink); display: grid; place-items: center; margin-bottom: 8px; }
.ccard h3 { margin: 0; } .ccard p { margin: 0; color: var(--muted); font-size: .94rem; flex: 1; }
.ccard .go { font-weight: 650; color: var(--brand-ink); display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; } .ccard .go svg { width: 16px; height: 16px; }
.ccard.primary { background: var(--brand); border-color: var(--brand); color: #fff; } .ccard.primary p { color: rgba(255,255,255,.85); } .ccard.primary .ic { background: rgba(255,255,255,.18); color: #fff; } .ccard.primary .go { color: #fff; }
.ccard.dark { background: var(--dark); border-color: var(--dark); color: #fff; } .ccard.dark p { color: #aab4c5; } .ccard.dark .ic { background: var(--dark-2); color: #8db9f5; } .ccard.dark .go { color: #8db9f5; }
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); }
.info-card dl { margin: 0; display: grid; gap: 0; } .info-card dt { font-size: .78rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 18px; }
.info-card dd { margin: 4px 0 0; padding-bottom: 18px; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 1.08rem; } .info-card dd:last-child { border: 0; padding-bottom: 0; } .info-card dd a { color: inherit; text-decoration: none; } .info-card dd small { display: block; font-weight: 450; color: var(--muted); font-size: .9rem; margin-top: 2px; }

/* Visualization gallery (approved photoreal images) */
.viz-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.viz { position: relative; display: block; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; color: #fff; text-decoration: none; background: #cfd4dc; }
.viz:nth-child(1) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.viz img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; } .viz:hover img { transform: scale(1.04); }
.viz .cap { position: absolute; inset: auto 0 0 0; padding: 44px 16px 14px; background: linear-gradient(transparent, rgba(5,8,14,.8)); font-weight: 650; font-size: .95rem; text-transform: capitalize; }
.viz .cap small { display: block; font-weight: 500; opacity: .8; font-size: .8rem; text-transform: none; }
@media (max-width: 800px) { .viz-grid { grid-template-columns: 1fr 1fr; } .viz:nth-child(1) { grid-row: auto; aspect-ratio: 16 / 10; } }

/* US map with project dots */
.usmap { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; }
.usmap img, .usmap svg { width: 100%; height: auto; display: block; } .usmap svg { position: absolute; inset: 18px; width: calc(100% - 36px); overflow: visible; }
.usmap .hl { fill: var(--brand); opacity: .22; stroke: var(--brand); stroke-width: 1.5; }
.usmap .dot { fill: var(--iron); stroke: #fff; stroke-width: 2.5; } .usmap text { font: 700 11px var(--body); fill: #fff; }
.usmap .pulse { fill: var(--iron); opacity: .35; transform-box: fill-box; transform-origin: center; animation: mapPulse 2.4s ease-out infinite; }
@keyframes mapPulse { from { transform: scale(.6); opacity: .45; } to { transform: scale(2.2); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .usmap .pulse { animation: none; opacity: .2; } }
.usmap-label { position: absolute; left: 18px; bottom: 14px; font: 650 .78rem/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: rgba(255,255,255,.85); padding: 6px 10px; border-radius: 999px; }

/* Catalog search */
.filters .search { flex: 1 1 100%; display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; padding: 0 8px 0 18px; color: var(--muted); transition: border-color .15s, box-shadow .15s; }
.filters .search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(47,125,225,.14); color: var(--ink); }
.filters .search input { flex: 1; border: 0; outline: 0; background: none; padding: 14px 0; font: 500 1rem var(--body); color: var(--ink); min-width: 0; }
.filters .search input::-webkit-search-cancel-button { display: none; }
.search-x { width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--bg); font-size: 1.2rem; line-height: 1; cursor: pointer; color: var(--ink-2); } .search-x[hidden] { display: none; }
.no-results { text-align: center; padding: 56px 20px; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--r-lg); margin-bottom: 20px; } .no-results[hidden] { display: none; }

/* Catalog pagination + custom-size prompt */
.pager { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 32px; flex-wrap: wrap; }
.pager button { min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); font: 600 .95rem var(--body); color: var(--ink); cursor: pointer; }
.pager button:hover:not(:disabled) { border-color: var(--ink); } .pager button[aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); } .pager button:disabled { opacity: .35; cursor: default; }
.pager .gap { color: var(--muted); padding: 0 4px; }
.custom-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 28px; padding: 22px 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.custom-bar b { display: block; font: 750 1.2rem/1.2 var(--display); font-stretch: 112%; } .custom-bar span { color: var(--muted); font-size: .95rem; }
@media (max-width: 640px) { .custom-bar .btn { width: 100%; } }

/* ===== Landing page (Tesla-style: full-bleed photography, centered copy, one idea per screen) ===== */
.lp-wrap { width: min(1180px, 100% - 40px); margin-inline: auto; } .lp-wrap.narrow { max-width: 860px; }
.lp-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.lp-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 220px; padding: 13px 26px; border-radius: 6px; font: 600 .95rem/1 var(--body); text-decoration: none; transition: transform .15s, background .15s, opacity .15s; }
.lp-btn:hover { transform: translateY(-1px); } .lp-btn.small { min-width: 0; padding: 10px 22px; }
.lp-btn.primary { background: var(--brand); color: #fff; } .lp-btn.primary:hover { background: var(--brand-ink); }
.lp-btn.light { background: rgba(255,255,255,.72); color: var(--ink); backdrop-filter: blur(6px); } .lp-btn.light:hover { background: #fff; }
.lp-btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); min-width: 0; } .lp-btn.ghost:hover { background: var(--ink); color: #fff; }
.lp-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lp-hero { position: relative; min-height: calc(100svh - 74px); display: grid; align-content: end; justify-items: center; text-align: center; color: #fff; overflow: hidden; padding: 0 20px 12vh; }
.lp-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 55%, rgba(0,0,0,.55) 100%); }
.lp-hero-copy { position: relative; z-index: 1; max-width: 720px; }
.lp-hero h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); font-weight: 700; letter-spacing: -.02em; margin: 0 0 12px; color: #fff; }
.lp-hero p { font-size: clamp(1rem, 1.4vw, 1.2rem); margin: 0 0 26px; color: rgba(255,255,255,.92); text-wrap: balance; }
.lp-scroll { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 1; color: #fff; width: 32px; height: 32px; opacity: .8; animation: lpBob 2s ease-in-out infinite; }
@keyframes lpBob { 50% { transform: translate(-50%, 6px); } }
.lp-band { position: relative; min-height: 78vh; display: grid; align-content: end; justify-items: center; text-align: center; color: #fff; overflow: hidden; padding: 0 20px 64px; }
.lp-band.tall { min-height: 88vh; } .lp-band.cta { min-height: 70vh; align-content: center; }
.lp-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.62) 100%); }
.lp-band.cta::after { background: rgba(5,8,14,.5); }
.lp-band-copy { position: relative; z-index: 1; max-width: 680px; }
.lp-band h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: #fff; margin-bottom: 12px; }
.lp-band p { font-size: clamp(1rem, 1.35vw, 1.15rem); color: rgba(255,255,255,.92); margin-bottom: 24px; }
.lp-cards { padding: 24px 0 72px; } .lp-grid2, .lp-grid3 { display: grid; gap: 16px; } .lp-grid2 { grid-template-columns: 1fr 1fr; } .lp-grid3 { grid-template-columns: repeat(3, 1fr); }
.lp-card { background: var(--surface); border-radius: 12px; padding: 36px 32px; }
.lp-card svg { width: 44px; height: 44px; color: var(--ink); margin-bottom: 22px; }
.lp-card h3 { font-size: 1.5rem; font-weight: 700; letter-spacing: -.01em; margin-bottom: 10px; } .lp-card p { color: var(--ink-2); margin: 0; }
.lp-num { display: block; font: 700 .9rem var(--display); color: var(--iron); letter-spacing: .1em; margin-bottom: 22px; }
.lp-carousel-wrap { padding: 8px 0 80px; overflow: hidden; }
.lp-carousel { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 max(20px, calc((100% - 1180px) / 2)); scrollbar-width: none; }
.lp-carousel::-webkit-scrollbar { display: none; }
.lp-tile { scroll-snap-align: start; background: var(--surface); border-radius: 12px; overflow: hidden; text-decoration: none; color: var(--ink); }
.lp-tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.lp-tile h3 { font-size: 1.35rem; margin: 22px 24px 8px; } .lp-tile p { margin: 0 24px 26px; color: var(--ink-2); font-size: .95rem; }
.lp-estimate { padding: 0 0 80px; }
.lp-projects, .lp-specs, .lp-reviews, .lp-faq { padding: 72px 0; text-align: center; }
.lp-projects h2, .lp-specs h2, .lp-reviews h2, .lp-faq h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 700; margin-bottom: 10px; }
.lp-sub { color: var(--ink-2); max-width: 60ch; margin: 0 auto 36px; font-size: 1.05rem; }
.lp-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.lp-gallery a { position: relative; display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; color: #fff; text-decoration: none; }
.lp-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; } .lp-gallery a:hover img { transform: scale(1.04); }
.lp-gallery span { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; background: linear-gradient(transparent, rgba(5,8,14,.75)); font-weight: 650; text-align: left; }
.lp-more { margin: 32px 0 0; }
.lp-spec-table { width: 100%; border-collapse: collapse; text-align: left; margin-top: 28px; font-size: .98rem; }
.lp-spec-table th { padding: 26px 0 10px; font: 700 1.05rem var(--display); color: var(--ink); border-bottom: 1px solid var(--ink); }
.lp-spec-table td { padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); } .lp-spec-table td:first-child { width: 32%; color: var(--ink); font-weight: 600; padding-right: 16px; }
.lp-reviews .review { text-align: left; }
.lp-faq .faq { text-align: left; }
.lp-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px max(20px, calc((100% - 1180px) / 2)); background: rgba(255,255,255,.9); backdrop-filter: blur(12px); border-top: 1px solid var(--line); font-weight: 650; }
.lp-sticky[hidden] { display: none; }
@media (max-width: 900px) { .lp-grid2, .lp-grid3 { grid-template-columns: 1fr; } .lp-gallery { grid-template-columns: 1fr 1fr; } .lp-band { min-height: 62vh; } .lp-sticky { display: none !important; } .lp-hero { min-height: calc(100svh - 74px); } }
@media (max-width: 560px) { .lp-gallery { grid-template-columns: 1fr; } .lp-btn { min-width: 0; width: 100%; } .lp-btns { flex-direction: column; } }

.lp-xray { padding: 72px 0 40px; text-align: center; } .lp-xray h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 700; margin-bottom: 10px; } .lp-xray .xray { border-radius: 12px; }
.lp-certs { display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; padding: 8px 20px 40px; } .lp-certs img { max-height: 60px; width: auto; mix-blend-mode: multiply; }
.lp-certs span { font-size: .78rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 900px) { .lp-hero { padding-bottom: 130px; } .lp-hero::after { background: linear-gradient(180deg, rgba(0,0,0,.2) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,.65) 100%); } .lp-band.cta { padding-bottom: 120px; } }

/* Hero v3: editorial split with a photo collage */
.hero-v3 { padding: clamp(28px, 4vw, 56px) 0 clamp(40px, 5vw, 72px); }
.hero-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: clamp(28px, 4vw, 56px); align-items: stretch; }
.hero-text h1 { max-width: 12ch; } .hero-text .lede { margin: 18px 0 26px; }
.hero-collage { position: relative; padding: 0; }
.hc-main, .hc-small { display: block; position: relative; border-radius: var(--r-lg); overflow: hidden; color: #fff; text-decoration: none; box-shadow: 0 24px 60px rgba(12,17,27,.18); }
.hc-main img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hc-small { position: absolute; left: -8%; bottom: 0; width: 44%; border: 6px solid var(--bg); box-shadow: 0 18px 44px rgba(12,17,27,.22); }
.hc-small img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hc-main .cap, .hc-small .cap { position: absolute; left: 14px; bottom: 12px; font: 650 .82rem/1 var(--body); padding: 8px 12px; border-radius: 999px; background: rgba(5,8,14,.55); backdrop-filter: blur(6px); }
.hc-small .cap { font-size: .72rem; left: 10px; bottom: 10px; }
@media (max-width: 900px) { .hero-split { grid-template-columns: 1fr; } .hero-collage { margin-top: 8px; } .hero-slides { min-height: 0; height: auto; } .hero-text h1 { max-width: 14ch; } }

/* Lead-form style question rows (radio on the right) */
.qq { font-size: 1.25rem !important; margin-bottom: 18px !important; }
.qrows { display: grid; gap: 12px; }
.qrow { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1.5px solid #c9d0da; border-radius: 6px; background: #fff; cursor: pointer; font-size: 1.15rem; font-weight: 500; color: var(--ink); transition: border-color .15s, background .15s; }
.qrow input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.qrow span { flex: 1; line-height: 1.3; }
.qrow i { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--ink); position: relative; }
.qrow:hover { border-color: var(--ink); }
.qrow input:checked + span + i::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--brand); }
.qrow input:checked ~ i { border-color: var(--brand); } .qrow:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.qrow input:focus-visible ~ i { box-shadow: 0 0 0 4px rgba(47,125,225,.25); }

/* "We Need Erectors!" band */
.erectors { background: var(--surface); border-block: 1px solid var(--line); padding: clamp(48px, 7vw, 88px) 0; }
.erectors h2 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); margin: 0 0 10px; }
.erectors-sub { font-size: clamp(1.1rem, 1.8vw, 1.45rem); color: var(--ink-2); margin: 0 auto 30px; max-width: 40ch; }
.erectors .btn { min-width: 220px; padding: 16px 30px; font-size: 1.05rem; }
.req { color: #d0342c; }

/* Hero slideshow */
.hero-slides { position: relative; aspect-ratio: 4 / 3; background: #cfd4dc; height: 100%; min-height: 460px; }
.hero-slides .slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; color: #fff; text-decoration: none; }
.hero-slides .slide.on { opacity: 1; z-index: 1; }
.hero-slides .slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slides .slide .cap { position: absolute; left: 14px; bottom: 14px; font: 650 .82rem/1 var(--body); padding: 8px 12px; border-radius: 999px; background: rgba(5,8,14,.55); backdrop-filter: blur(6px); }
.hero-slides .dots { position: absolute; right: 14px; bottom: 16px; z-index: 2; display: flex; gap: 6px; }
.hero-slides .dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.55); cursor: pointer; transition: transform .2s, background .2s; }
.hero-slides .dots button[aria-selected=true] { background: #fff; transform: scale(1.35); }
@media (prefers-reduced-motion: reduce) { .hero-slides .slide { transition: none; } }
/* phone: the slideshow's desktop min-height (460px × 4:3) was forcing the whole hero grid to 613px wide */
@media (max-width: 900px) {
  .hero-split { grid-template-columns: minmax(0, 1fr); }
  .hero-text, .hero-collage { min-width: 0; max-width: 100%; }
  .hero-slides { min-height: 0; height: auto; aspect-ratio: 4 / 3; }
  .hero-v3 .btn-row { display: flex; flex-wrap: wrap; gap: 10px; } .hero-v3 .btn-row .btn { flex: 1 1 auto; justify-content: center; }
}
@media (max-width: 640px) {
  .btn { white-space: normal; text-align: center; line-height: 1.15; }
  .hero-chips { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; margin-top: 20px; }
  .hero-chips li { font-size: .74rem; line-height: 1.2; padding: 7px 9px; gap: 6px; letter-spacing: -.01em; min-width: 0; }
  .hero-chips li::before { flex: none; width: 6px; height: 6px; }
  .est-bigger { flex-direction: column; align-items: stretch; } .est-bigger .btn { white-space: normal; }
}
@media (max-width: 480px) { .hero-v3 .btn-row .btn { width: 100%; } }
/* touch screens: content stays put — no slide-in on scroll */
@media (hover: none) and (pointer: coarse) { .reveal { opacity: 1; transform: none; transition: none; } }

.est-new { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin: 12px 0 0 !important; padding-top: 12px; border-top: 1px solid var(--line); font-size: .82rem !important; color: var(--muted) !important; }
.est-new b { font: 750 1.05rem/1 var(--display); color: var(--ink); }
