:root {
  --bg: #f2f2f2;
  --paper: #ffffff;
  --ink: #111111;
  --muted: #6b6b6b;
  --rule: #cfcfcf;
  --dark: #0f0f0f;
  --dark-rule: #3a3a3a;
  --accent: #f24c12;
  --accent-dark: #d63f0a;
  --sun: #fdb709;
  --font: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wrap: 1640px;
  --gutter: clamp(16px, 4vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -0.02em; line-height: 1.05; }
p { margin: 0 0 1em; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.h-xl { font-size: clamp(2.6rem, 7.2vw, 6.6rem); letter-spacing: -0.035em; line-height: 0.98; }
.h-lg { font-size: clamp(2rem, 4.2vw, 3.6rem); letter-spacing: -0.03em; }
.h-md { font-size: clamp(1.6rem, 2.6vw, 2.3rem); letter-spacing: -0.02em; }
h3 { font-size: 1.2rem; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.4rem); line-height: 1.4; letter-spacing: -0.01em; max-width: 40ch; }
.kicker { font-size: 0.95rem; color: var(--muted); margin-bottom: 22px; }

/* Section frame: rule + numbered label */
.section { padding: clamp(56px, 7vw, 110px) 0; }
.section-tight { padding-top: 24px; }
.label { display: flex; gap: 32px; font-size: 0.95rem; border-top: 1px solid var(--rule); padding-top: 22px; margin-bottom: clamp(40px, 6vw, 90px); }
.label span { min-width: 12px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.head-row { align-items: end; margin-bottom: 40px; }
.head-row .link-arrow { justify-self: end; }
@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; }
  .head-row .link-arrow { justify-self: start; }
}

/* Buttons & links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 24px; font: 500 1rem/1 var(--font); text-decoration: none; border: 1px solid transparent; border-radius: 0; cursor: pointer; transition: background 0.15s, color 0.15s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #333; }
.btn-ghost { border-color: #555; color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 1rem; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.link-arrow svg { width: 18px; height: 18px; transition: transform 0.2s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(242, 242, 242, 0.92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-size: 1rem; font-weight: 500; flex: none; }
.brand img { height: 42px; width: auto; }
.nav { display: flex; gap: 26px; font-size: 0.97rem; }
.nav a { text-decoration: none; }
.nav a:hover, .nav a[aria-current] { text-decoration: underline; text-underline-offset: 5px; }
.header-call { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 500; background: var(--accent); color: #fff; padding: 11px 16px; }
.header-call svg { width: 16px; height: 16px; }
.menu-btn { display: none; width: 44px; height: 44px; background: none; border: 0; padding: 14px 8px; cursor: pointer; flex-direction: column; justify-content: space-between; }
.menu-btn span { display: block; height: 2px; background: var(--ink); transition: transform 0.2s; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }
.mnav { display: none; }
@media (max-width: 1060px) {
  .nav { display: none; }
  .menu-btn { display: flex; }
  .header-call span { display: none; }
  .header-call { margin-left: auto; padding: 12px; }
  .mnav.open { display: flex; flex-direction: column; padding: 8px var(--gutter) 24px; border-bottom: 1px solid var(--rule); }
  .mnav a { padding: 14px 0; border-bottom: 1px solid var(--rule); text-decoration: none; font-size: 1.3rem; }
  .mnav .btn { margin-top: 16px; border: 0; font-size: 1.05rem; }
}
@media (max-width: 420px) { .brand span { display: none; } }

/* Hero */
.hero { padding-top: clamp(40px, 7vw, 110px); }
.hero .h-xl { max-width: 22ch; }
.hero-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: clamp(32px, 5vw, 70px); align-items: end; }
.hero-sub .btn-row { justify-content: flex-end; margin-top: 0; }
.hero-media { margin-top: clamp(40px, 6vw, 80px); height: clamp(320px, 62vw, 820px); overflow: hidden; background: #ddd; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 50%; }
@media (max-width: 860px) {
  .hero-sub { grid-template-columns: 1fr; gap: 0; }
  .hero-sub .btn-row { justify-content: flex-start; margin-top: 24px; }
}

.facts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; padding-top: 28px; padding-bottom: 28px; }
.facts > div { display: flex; flex-direction: column; gap: 6px; padding-right: 20px; }
.fact-k { font-size: 0.9rem; color: var(--muted); }
.fact-v { font-size: clamp(1.5rem, 2.6vw, 2.3rem); letter-spacing: -0.02em; font-weight: 500; }
.facts-inline { padding: 0; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr 1fr; row-gap: 26px; } }

/* Service rows */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.rows li { border-bottom: 1px solid var(--rule); }
.rows a { display: grid; grid-template-columns: 70px 1fr 1fr 40px; gap: 20px; align-items: center; padding: 26px 0; text-decoration: none; transition: padding 0.2s, background 0.2s; }
.rows a:hover { padding-left: 14px; padding-right: 14px; background: var(--paper); }
.row-num { color: var(--muted); font-size: 0.95rem; }
.row-title { font-size: clamp(1.3rem, 2.2vw, 1.9rem); letter-spacing: -0.02em; font-weight: 500; }
.row-desc { color: var(--muted); }
.row-arrow svg { width: 24px; height: 24px; }
.rows a:hover .row-arrow { color: var(--accent); }
@media (max-width: 760px) {
  .rows a { grid-template-columns: 40px 1fr 28px; padding: 20px 0; }
  .row-desc { display: none; }
}

/* Prose */
.prose-lg p { font-size: clamp(1.2rem, 1.8vw, 1.6rem); line-height: 1.35; letter-spacing: -0.015em; max-width: 34ch; }
.body-note { color: var(--muted); max-width: 52ch; margin-top: 26px; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.gallery figure { margin: 0; }
.gallery figcaption { font-size: 0.95rem; margin-bottom: 14px; }
.gallery img { width: 100%; height: auto; background: #ddd; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr; gap: 36px; }
}

/* Reviews */
.reviews-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; }
.carousel-controls { display: flex; gap: 8px; }
.carousel-btn { width: 52px; height: 52px; border: 1px solid var(--ink); background: transparent; color: var(--ink); display: grid; place-items: center; cursor: pointer; border-radius: 0; }
.carousel-btn:hover { background: var(--ink); color: #fff; }
.carousel-btn svg { width: 20px; height: 20px; }
.carousel { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 32px) / 3); gap: 16px; overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none; margin-bottom: 36px; }
.carousel::-webkit-scrollbar { display: none; }
.carousel:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.review { scroll-snap-align: start; margin: 0; background: var(--paper); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 22px; min-height: 340px; }
.review-stars { display: flex; gap: 2px; color: var(--sun); }
.review-stars svg { width: 18px; height: 18px; }
.review blockquote { margin: 0; flex: 1; font-size: 1.15rem; line-height: 1.4; letter-spacing: -0.01em; }
.review figcaption { display: flex; flex-direction: column; gap: 2px; font-size: 0.95rem; }
.review figcaption span { color: var(--muted); }
@media (max-width: 1000px) { .carousel { grid-auto-columns: calc((100% - 16px) / 2); } }
@media (max-width: 640px) {
  .carousel { grid-auto-columns: 88%; }
  .reviews-head { flex-direction: column; align-items: flex-start; }
}

/* Brands & finance */
.brand-list { list-style: none; margin: 0 0 48px; padding: 0; border-top: 1px solid var(--rule); }
.brand-list li { padding: 16px 0; border-bottom: 1px solid var(--rule); font-size: clamp(1.2rem, 2vw, 1.6rem); letter-spacing: -0.015em; }
.finance-note { background: var(--paper); padding: clamp(24px, 3vw, 40px); border-left: 4px solid var(--accent); }
.finance-note h3 { font-size: 1.5rem; margin-bottom: 12px; }
.finance-note p { color: var(--muted); }

/* Cities */
.cities { list-style: none; margin: 0; padding: 0; columns: 4 200px; column-gap: 32px; }
.cities li { padding: 10px 0; border-bottom: 1px solid var(--rule); break-inside: avoid; }

/* Dark FAQ */
.section-dark { background: var(--dark); color: #f2f2f2; }
.section-dark .label { border-color: var(--dark-rule); }
.faq { border-top: 1px solid var(--rule); }
.section-dark .faq { border-color: var(--dark-rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.section-dark .faq details { border-color: var(--dark-rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-size: clamp(1.1rem, 1.6vw, 1.35rem); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.plus { position: relative; width: 16px; height: 16px; flex: none; }
.plus::before, .plus::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 1.5px; background: currentColor; transition: transform 0.2s; }
.plus::after { transform: rotate(90deg); }
details[open] .plus::after { transform: rotate(0); }
.faq details p { color: var(--muted); max-width: 60ch; padding-bottom: 24px; margin: 0; }
.section-dark .faq details p { color: #a8a8a8; }

/* Contact */
.phone-big { display: inline-block; font-size: clamp(2.2rem, 5.5vw, 4.8rem); letter-spacing: -0.035em; text-decoration: none; color: var(--accent); margin: 6px 0 18px; }
.contact-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.contact-cols h3 { font-size: 0.95rem; color: var(--muted); font-weight: 400; margin-bottom: 12px; letter-spacing: 0; }
.contact-cols p { font-size: 1.15rem; }
.hours { list-style: none; margin: 0; padding: 0; }
.hours li { display: flex; flex-direction: column; padding: 8px 0; border-bottom: 1px solid var(--rule); }
.hours li span:first-child { color: var(--muted); font-size: 0.9rem; }
@media (max-width: 520px) { .contact-cols { grid-template-columns: 1fr; } }
.map-wrap { height: clamp(320px, 45vw, 560px); background: #ddd; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* CTA band */
.cta-band { background: var(--paper); }

/* Inner page header */
.page-head { padding: clamp(40px, 6vw, 90px) 0 clamp(32px, 4vw, 60px); }
.page-head .h-xl { max-width: 18ch; margin-bottom: 24px; }
.crumbs { font-size: 0.9rem; color: var(--muted); margin-bottom: 30px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.side-img { margin: 0; }
.side-img img { width: 100%; height: auto; }
.checks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.checks li { padding: 16px 0 16px 34px; border-bottom: 1px solid var(--rule); position: relative; font-size: 1.12rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: 27px; width: 14px; height: 2px; background: var(--accent); }
.related-posts { margin-top: 36px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.related-posts h3 { font-size: 0.95rem; color: var(--muted); font-weight: 400; }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 16px; }
.post-card { display: flex; flex-direction: column; gap: 10px; text-decoration: none; }
.post-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; margin-bottom: 8px; }
.post-date { font-size: 0.9rem; color: var(--muted); }
.post-title { font-size: 1.45rem; letter-spacing: -0.02em; line-height: 1.15; font-weight: 500; }
.post-card:hover .post-title { text-decoration: underline; text-underline-offset: 4px; }
.post-desc { color: var(--muted); }
@media (max-width: 900px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }
.post-aside { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.post-aside img { width: 100%; height: auto; }
@media (max-width: 860px) { .post-aside { position: static; } }
.article { max-width: 680px; font-size: 1.12rem; line-height: 1.6; }
.article h2 { font-size: 1.7rem; margin: 1.6em 0 0.5em; }
.article ul, .article ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.article li { margin-bottom: 0.5em; }

/* Footer */
.site-footer { background: var(--bg); border-top: 1px solid var(--rule); padding: 56px 0 24px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col strong { font-weight: 500; margin-bottom: 4px; }
.footer-links a { text-decoration: none; color: var(--muted); }
.footer-links a:hover { color: var(--ink); }
.footer-base { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: 0.88rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Mobile call bar */
.mobile-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--dark); }
.mobile-bar .btn { padding: 14px 8px; }
@media (max-width: 760px) {
  .mobile-bar { display: grid; }
  .site-footer { padding-bottom: 100px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Brand logo marquee */
.brands-note { margin-top: 0; }
.marquee-wrap { margin-bottom: clamp(40px, 6vw, 80px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee { display: flex; overflow: hidden; cursor: grab; gap: 16px; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.marquee-track, .carousel > * { transform: translate3d(var(--x, 0px), 0, 0); will-change: transform; }
.marquee-track { display: flex; gap: 16px; list-style: none; margin: 0; padding: 0; flex: none; min-width: 100%; justify-content: space-around; }
.marquee::-webkit-scrollbar { display: none; }
.marquee.dragging, .carousel.dragging { cursor: grabbing; user-select: none; }
.marquee img { pointer-events: none; }
.carousel { cursor: grab; }
.brand-tile { flex: none; width: clamp(200px, 22vw, 300px); height: clamp(110px, 11vw, 150px); background: var(--paper); display: grid; place-items: center; padding: 22px 30px; }
.brand-tile img { max-width: 100%; max-height: clamp(52px, 6vw, 86px); width: auto; height: auto; object-fit: contain; }
.brand-word { font-size: clamp(1.2rem, 1.8vw, 1.6rem); font-weight: 600; letter-spacing: -0.02em; text-align: center; line-height: 1.1; color: #555; }
.finance-row { align-items: start; }
@media (max-width: 860px) { .finance-row > div:first-child { display: none; } }
.gallery-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .gallery-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .gallery-4 { grid-template-columns: 1fr 1fr; gap: 24px 12px; } .gallery-4 img { aspect-ratio: 3 / 4; } }
.gallery-2 { grid-template-columns: 1fr 1fr; }
.gallery-2 img { aspect-ratio: 4 / 3; }
@media (max-width: 760px) { .gallery-2 { grid-template-columns: 1fr; } }
.gallery-1 { grid-template-columns: 1fr 1fr; }
.gallery-1 img { aspect-ratio: 4 / 3; }
@media (max-width: 760px) { .gallery-1 { grid-template-columns: 1fr; } }

/* Full-bleed photo band */
.feature-band { height: clamp(300px, 50vw, 760px); overflow: hidden; background: #ddd; }
.feature-band img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }

/* Service page galleries: show whole photo, no cropping */
.gallery-1, .gallery-2, .gallery-3, .gallery-4 { align-items: start; }
.gallery-1 img, .gallery-2 img, .gallery-3 img, .gallery-4 img { aspect-ratio: auto; height: auto; object-fit: initial; }
@media (max-width: 760px) { .gallery-4 img { aspect-ratio: auto; } }

/* Social icons */
.social { display: flex; gap: 10px; margin-top: 6px; }
.footer-col .social { margin-top: 20px; margin-bottom: 8px; }
.contact-cols .social { margin-bottom: 12px; }
.social-link { width: 40px; height: 40px; border: 1px solid var(--rule); border-radius: 50%; display: grid; place-items: center; color: var(--ink); transition: background 0.2s, color 0.2s, border-color 0.2s; }
.social-link svg { width: 18px; height: 18px; }
.social-link:hover, .social-link:focus-visible { background: var(--accent); border-color: var(--accent); color: #fff; }
.mnav .mnav-social { margin-top: 20px; gap: 12px; }
.mnav .mnav-social a { padding: 0; border: 1px solid var(--rule); font-size: inherit; width: 44px; height: 44px; }
.about-media img { width: 100%; height: auto; margin-top: clamp(24px, 3vw, 40px); }

/* Home "Recent Work": same height, natural widths */
.gallery-row { display: flex; gap: 16px; align-items: flex-end; }
.gallery-row figure { margin: 0; min-width: 0; }
.gallery-row figcaption { font-size: 0.95rem; margin-bottom: 14px; }
.gallery-row img { width: 100%; height: auto; }
@media (max-width: 760px) { .gallery-row { flex-direction: column; gap: 36px; align-items: stretch; } }
.two-col:has(> .about-media) { align-items: end; }
.gallery-rows { display: flex; flex-direction: column; gap: 36px; }

/* Door styles page */
.style-row { align-items: center; }
.style-block:nth-child(odd of .style-block) .style-row > figure { order: 2; }
.style-block .side-img img { aspect-ratio: auto; }
.colors { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px 16px; }
.colors li { display: flex; flex-direction: column; gap: 8px; font-size: 0.95rem; }
.swatch { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border: 1px solid var(--rule); background: #ddd; }
.ins-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 28px 0; }
.ins { background: var(--paper); padding: 20px; }
.ins h3 { margin-bottom: 8px; }
.ins p { color: var(--muted); font-size: 0.95rem; margin: 0; }
@media (max-width: 760px) {
  .colors { grid-template-columns: repeat(2, 1fr); }
  .ins-grid { grid-template-columns: 1fr; }
  .style-block .style-row > figure { order: 0 !important; }
}
.finish-head { margin: 36px 0 16px; font-size: 1.05rem; }
.finishes .swatch { aspect-ratio: 406 / 107; }
.work-cta { display: flex; flex-wrap: wrap; gap: 16px 36px; margin-top: 36px; }
.styles-btn { margin-top: 12px; white-space: normal; text-align: left; }
.rating-line { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: 1rem; margin-bottom: 4px; }
.rating-line:hover { text-decoration: underline; text-underline-offset: 4px; }
.rating-stars { display: inline-flex; gap: 2px; color: var(--sun); }
.rating-stars svg { width: 18px; height: 18px; }
.hero-sub .rating-line { grid-column: 1; }
