/* Rock Solid LVP — shared stylesheet
   Headlines: Oswald. Body: Inter. Always use the variables below. */

@font-face { font-family: "Oswald"; font-style: normal; font-weight: 200 700; font-display: swap; src: url("/assets/fonts/oswald-latin-wght.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/inter-latin-wght.woff2") format("woff2"); }

:root {
  --ink: #15202b;          /* dark sections, headings */
  --ink-2: #1f2d3a;        /* secondary dark */
  --accent: #ab4d1b;       /* buttons, links on light */
  --accent-dark: #964317;  /* button hover */
  --accent-light: #f2a873; /* accent-colored TEXT on dark backgrounds only */
  --sand: #f6f2ec;         /* light section background */
  --line: #e6e0d6;         /* borders */
  --body: #46525e;         /* body copy on light */
  --white: #ffffff;
  --font-head: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(21, 32, 43, 0.08);
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  background: var(--white);
}
img, svg { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
a { color: var(--accent); }
p a:not(.btn):not(.card-link), .prose li a, .checks li a { text-decoration: underline; text-underline-offset: 2px; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  text-transform: uppercase;
  line-height: 1.15;
  letter-spacing: 0.3px;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1.1em; }
ul { padding-left: 1.2em; }

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

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--white); padding: 10px 16px;
}
.skip-link:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--accent-light); outline-offset: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.section { padding: 84px 0; }
.section-sand { background: var(--sand); }
.section-dark { background: var(--ink); color: #d5dce3; }
.section-dark h2, .section-dark h3 { color: var(--white); }
.center { text-align: center; }
.lead { font-size: 1.1rem; max-width: 720px; }
.center .lead { margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.85rem;
  letter-spacing: 2px; text-transform: uppercase; color: var(--accent);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: currentColor; border-radius: 2px; }
.section-dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--accent-light); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem;
  letter-spacing: 0.8px; text-transform: uppercase; text-decoration: none;
  padding: 14px 26px; border-radius: 6px; border: 2px solid transparent;
  cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { background: rgba(255,255,255,0.08); color: var(--white); border-color: rgba(255,255,255,0.55); }
.btn-ghost:hover { background: var(--white); color: var(--ink); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.btn svg { width: 17px; height: 17px; flex: none; }

/* Top bar + header */
.topbar { background: var(--ink); color: #d5dce3; font-size: 0.86rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar a { color: var(--white); text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: var(--accent-light); }
.topbar svg { width: 14px; height: 14px; }
.topbar-note { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 74px; }
.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.logo svg { width: 38px; height: 38px; flex: none; }
.logo-text { font-family: var(--font-head); font-weight: 700; font-size: 1.32rem; letter-spacing: 0.6px; text-transform: uppercase; line-height: 1; }
.logo-text b { color: var(--accent); font-weight: 700; }
.logo-sub { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.66rem; letter-spacing: 1.6px; color: var(--body); margin-top: 5px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > ul { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; }
.nav li { position: relative; }
.nav a, .nav .drop-toggle {
  font-family: var(--font-head); font-weight: 500; font-size: 0.95rem; letter-spacing: 0.7px;
  text-transform: uppercase; text-decoration: none; color: var(--ink);
  padding: 10px 13px; display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; cursor: pointer; border-radius: 6px;
}
.nav a:hover, .nav .drop-toggle:hover, .nav a[aria-current="page"] { color: var(--accent); }
.drop-toggle::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.dropdown {
  list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 270px;
  background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--accent);
  border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
}
.has-drop:hover .dropdown, .has-drop:focus-within .dropdown, .has-drop.open .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: flex; width: 100%; font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-size: 0.93rem; padding: 9px 12px; }
.dropdown a:hover { background: var(--sand); }
.nav .btn { margin-left: 12px; padding: 11px 20px; color: var(--white); font-weight: 600; background: var(--accent); }
.nav .btn:hover { background: var(--accent-dark); }
.nav .btn:hover { color: var(--white); }
.nav-toggle { display: none; background: none; border: 2px solid var(--ink); border-radius: 6px; padding: 8px 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; }

/* Hero */
.hero { position: relative; color: var(--white); background: var(--ink); overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(15,23,31,0.93) 0%, rgba(15,23,31,0.78) 45%, rgba(15,23,31,0.35) 100%);
}
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; padding-top: 88px; padding-bottom: 96px; }
.hero h1 { color: var(--white); margin-bottom: 0.45em; }
.hero h1 em { font-style: normal; color: var(--accent-light); }
.hero p { color: #dfe5ea; font-size: 1.1rem; max-width: 600px; }
.hero-points { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.hero-points li { font-family: var(--font-head); font-size: 0.86rem; letter-spacing: 1.2px; text-transform: uppercase; color: #eef2f5; display: inline-flex; align-items: center; gap: 9px; }
.hero-points li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-light); }

.page-hero { position: relative; color: var(--white); background: var(--ink); overflow: hidden; isolation: isolate; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(15,23,31,0.93) 0%, rgba(15,23,31,0.8) 55%, rgba(15,23,31,0.45) 100%); }
.page-hero .wrap { padding-top: 70px; padding-bottom: 74px; }
.page-hero h1 { color: var(--white); max-width: 880px; }
.page-hero p { color: #dfe5ea; font-size: 1.08rem; max-width: 700px; }
.crumbs { font-size: 0.85rem; margin-bottom: 20px; color: #c3ccd4; }
.crumbs a { color: #e7ecf0; }

/* Form card */
.form-card { background: var(--white); color: var(--body); border-radius: var(--radius); padding: 30px 28px; box-shadow: 0 24px 60px rgba(0,0,0,0.35); border-top: 4px solid var(--accent); }
.form-card h2, .form-card h3 { font-size: 1.45rem; margin-bottom: 6px; color: var(--ink); }
.form-card > p, .hero .form-card p { font-size: 0.93rem; margin-bottom: 18px; color: var(--body); max-width: none; }
.hero .form-card .form-note { font-size: 0.78rem; margin: 12px 0 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.8rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 0.95rem; color: var(--ink); background: var(--white);
  border: 1px solid #c9c1b4; border-radius: 6px; padding: 11px 12px; width: 100%;
}
.field textarea { min-height: 88px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.form-card .btn { width: 100%; margin-top: 16px; }
.form-note { font-size: 0.78rem; margin: 12px 0 0; text-align: center; }
.hp { position: absolute; left: -9999px; }

/* Split sections */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.flip .split-media { order: -1; }
.split-media { position: relative; padding: 0 22px 22px 0; }
.split.flip .split-media { padding: 0 0 22px 22px; }
.split-media::before { content: ""; position: absolute; right: 0; bottom: 0; width: 72%; height: 78%; background: var(--accent); border-radius: var(--radius); }
.split.flip .split-media::before { right: auto; left: 0; }
.split-media img { position: relative; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.media-tag { position: absolute; left: 18px; top: 18px; z-index: 2; background: rgba(21,32,43,0.88); color: var(--white); font-family: var(--font-head); font-size: 0.78rem; letter-spacing: 1.4px; text-transform: uppercase; padding: 7px 12px; border-radius: 4px; }
.split.flip .media-tag { left: 40px; }

.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 34px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); }
.checks li::after { content: ""; position: absolute; left: 8px; top: 7px; width: 5px; height: 10px; border-right: 2px solid var(--white); border-bottom: 2px solid var(--white); transform: rotate(45deg); }
.checks strong { color: var(--ink); }
.section-dark .checks strong { color: var(--white); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { border: 2px solid var(--accent); border-radius: var(--radius); background: var(--white); padding: 26px 18px; text-align: center; }
.stat b { display: block; font-family: var(--font-head); font-size: 2.3rem; line-height: 1.1; color: var(--accent); }
.stat span { font-size: 0.92rem; color: var(--ink); font-weight: 500; }

/* Cards */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.section-head h2 { margin-bottom: 0; }
.section-head > div { max-width: 700px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); border-bottom: 3px solid var(--accent); box-shadow: var(--shadow); text-decoration: none; color: var(--body); transition: transform 0.2s, box-shadow 0.2s; }
a.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(21,32,43,0.14); }
.card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 0.94rem; margin-bottom: 14px; }
.card-link { margin-top: auto; font-family: var(--font-head); font-size: 0.85rem; letter-spacing: 1px; text-transform: uppercase; color: var(--accent); font-weight: 600; }

/* Swatches */
.swatches { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.swatch { border-radius: var(--radius); overflow: hidden; background: var(--white); border: 1px solid var(--line); }
.swatch img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.swatch div { padding: 12px 14px; }
.swatch b { display: block; font-family: var(--font-head); text-transform: uppercase; color: var(--ink); letter-spacing: 0.5px; }
.swatch span { font-size: 0.82rem; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 62px; }
.step::before { counter-increment: step; content: "0" counter(step); position: absolute; top: 0; left: 0; font-family: var(--font-head); font-weight: 700; font-size: 2.6rem; line-height: 1; color: var(--accent-light); }
.step::after { content: ""; position: absolute; top: 24px; left: 64px; right: 0; height: 2px; background: rgba(255,255,255,0.16); }
.step p { font-size: 0.95rem; margin: 0; }

/* Areas */
.areas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.area { display: block; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 8px; padding: 16px 18px; text-decoration: none; transition: transform 0.2s, box-shadow 0.2s; }
.area:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.area b { display: block; font-family: var(--font-head); font-size: 1.08rem; text-transform: uppercase; color: var(--ink); letter-spacing: 0.4px; }
.area span { font-size: 0.85rem; color: var(--body); }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 30px 18px 0; position: relative; font-weight: 600; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-family: var(--font-head); font-size: 1.6rem; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; }

/* Long-form content */
.prose { max-width: 860px; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.7em; }
.prose ul { margin: 0 0 1.2em; display: grid; gap: 7px; }
.prose li strong { color: var(--ink); }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.sidebar { position: sticky; top: 100px; display: grid; gap: 22px; }
.side-card { background: var(--sand); border-radius: var(--radius); padding: 26px 24px; border-top: 4px solid var(--accent); }
.side-card h3 { margin-bottom: 10px; }
.side-card p { font-size: 0.93rem; }
.side-card .btn { width: 100%; margin-top: 8px; }
.side-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 0.94rem; }
.side-card.dark { background: var(--ink); color: #d5dce3; }
.side-card.dark h3 { color: var(--white); }
.side-phone { font-family: var(--font-head); font-size: 1.6rem; color: var(--accent-light); text-decoration: none; display: block; margin-bottom: 8px; }

/* CTA band */
.cta-band { background: var(--accent); color: var(--white); }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-top: 54px; padding-bottom: 54px; }
.cta-band h2 { color: var(--white); margin-bottom: 6px; }
.cta-band p { margin: 0; color: #fff3ea; max-width: 640px; }
.cta-band .btn-row { margin-top: 0; }
.btn-white { background: var(--white); color: var(--ink); }
.btn-white:hover { background: var(--ink); color: var(--white); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #0c141b; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-grid .form-card { box-shadow: var(--shadow); border: 1px solid var(--line); border-top: 4px solid var(--accent); }
.big-phone { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.8rem); color: var(--accent); text-decoration: none; display: inline-block; margin: 4px 0 14px; }

/* Footer */
.site-footer { background: #0f171f; color: #b9c3cc; font-size: 0.93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 68px 0 46px; }
.site-footer h3 { color: var(--white); font-size: 1rem; letter-spacing: 1.2px; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a:not(.btn) { color: #d5dce3; text-decoration: none; }
.site-footer a:not(.btn):hover { color: var(--accent-light); text-decoration: underline; }
.site-footer .logo { color: var(--white); margin-bottom: 16px; }
.site-footer .logo-text b { color: var(--accent-light); }
.site-footer .logo-sub { color: #b9c3cc; }
.footer-phone { font-family: var(--font-head); font-size: 1.5rem; color: var(--accent-light) !important; display: inline-block; margin-top: 6px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; font-size: 0.83rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Full-screen homepage hero */
.hero-full { min-height: calc(100vh - 115px); min-height: calc(100svh - 115px); display: flex; align-items: center; }
.hero-full .wrap { display: block; padding-top: 70px; padding-bottom: 70px; }
.hero-full .eyebrow { font-size: clamp(0.9rem, 1.3vw, 1.15rem); margin-bottom: 22px; }
.hero-full h1 { font-size: clamp(2.7rem, 6.6vw, 5.6rem); line-height: 1.04; max-width: 1050px; }
.hero-full p { font-size: clamp(1.12rem, 1.7vw, 1.5rem); max-width: 820px; line-height: 1.6; }
.hero-cta { margin-top: 40px; gap: 18px; }
.btn-xl { font-size: clamp(1.1rem, 1.5vw, 1.4rem); padding: 22px 42px; border-radius: 8px; border-width: 3px; letter-spacing: 1px; }
.btn-xl svg { width: 24px; height: 24px; }
.btn-primary.btn-xl { box-shadow: 0 14px 36px rgba(171, 77, 27, 0.5); }
.btn-ghost.btn-xl { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-ghost.btn-xl:hover { background: var(--accent-light); border-color: var(--accent-light); color: var(--ink); }
.hero-full .hero-points { margin-top: 44px; gap: 12px 32px; }
.hero-full .hero-points li { font-size: clamp(0.9rem, 1.15vw, 1.08rem); }

/* See Our Work carousel */
.work-section .section-head p { color: #d5dce3; max-width: 620px; }
.work-gallery { position: relative; }
.work-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 8px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.work-track::-webkit-scrollbar { display: none; }
.work-slide { position: relative; flex: 0 0 auto; width: 300px; scroll-snap-align: start; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,0.14); background: var(--ink-2); box-shadow: 0 14px 34px rgba(0,0,0,0.35); }
.work-slide-media { aspect-ratio: 4 / 3; position: relative; background: var(--ink-2); }
.work-slide-media::before { content: ""; position: absolute; top: 0; left: 0; width: 0; height: 0; border-style: solid; border-width: 22px 22px 0 0; border-color: var(--accent-light) transparent transparent transparent; z-index: 2; }
.work-slide-media img { width: 100%; height: 100%; object-fit: cover; }
.work-slide-caption { padding: 16px 18px; }
.work-slide-caption strong { display: block; font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.4px; font-size: 1rem; color: var(--white); margin-bottom: 2px; }
.work-slide-caption span { color: #b9c3cc; font-size: 0.85rem; }
.work-controls { display: flex; gap: 10px; }
.work-arrow { width: 50px; height: 50px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.5); background: transparent; color: var(--white); font-size: 1.3rem; cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.work-arrow:hover { background: var(--accent); border-color: var(--accent); }

/* Step-by-step estimate form (JS adds .is-progressive; without JS all fields show) */
.form-wrap { max-width: 720px; }
.form-wrap .form-card { box-shadow: var(--shadow); border: 1px solid var(--line); border-top: 4px solid var(--accent); padding: 36px 34px; }
.form-progress { display: none; height: 6px; border-radius: 3px; background: var(--line); margin: 0 0 20px; overflow: hidden; }
.form-progress span { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 3px; transition: width 0.35s ease; }
.is-progressive .form-progress { display: block; }
.is-progressive .form-grid { grid-template-columns: 1fr 1fr; }
.is-progressive .field:nth-child(n+3) { grid-column: 1 / -1; }
.is-progressive .field, .is-progressive button[type="submit"], .is-progressive .form-note { display: none; }
.is-progressive .field.shown { display: flex; animation: fieldIn 0.35s ease both; }
.is-progressive.complete button[type="submit"] { display: inline-flex; animation: fieldIn 0.35s ease both; }
.is-progressive.complete .form-note { display: block; }
@keyframes fieldIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.field small { font-weight: 400; color: var(--body); }
.field-next { align-self: flex-start; margin-top: 4px; background: none; border: 0; padding: 4px 0; font: inherit; font-size: 0.85rem; font-weight: 600; color: var(--accent); cursor: pointer; text-decoration: underline; }

/* Reviews */
/* Horizontal scroll-snap carousel at every width; arrows below */
.reviews-grid { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 6px 2px 14px; }
.reviews-grid::-webkit-scrollbar { display: none; }
.reviews-grid .review { flex: 0 0 340px; scroll-snap-align: start; transition: transform 0.2s, box-shadow 0.2s; }
.reviews-grid .review:hover { transform: translateY(-4px); }
.review blockquote::before { content: "\201C"; }
.review blockquote::after { content: "\201D"; }
.review figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px dashed var(--line); }
.reviews-controls { display: flex; justify-content: center; gap: 12px; margin-top: 22px; }
.work-arrow.on-light { border-color: var(--ink); color: var(--ink); }
.work-arrow.on-light:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }
.review { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); border-top: 4px solid var(--accent); padding: 26px 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; }
.review .stars { color: #d9912b; font-size: 1.2rem; letter-spacing: 3px; }
.review blockquote { margin: 0; font-size: 0.98rem; color: var(--ink); flex: 1; }
.review figcaption strong { display: block; font-family: var(--font-head); text-transform: uppercase; color: var(--ink); letter-spacing: 0.4px; }
.review figcaption span { font-size: 0.85rem; }
.review-placeholder { border-style: dashed; border-top-style: solid; box-shadow: none; }
.review-placeholder blockquote, .review-placeholder figcaption strong { color: var(--body); font-style: italic; }

/* Blog */
.post-tag { font-family: var(--font-head); font-size: 0.75rem; letter-spacing: 1.4px; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 8px; }
a.card .post-tag + h3 { text-transform: none; font-size: 1.15rem; line-height: 1.3; letter-spacing: 0; }
.post-meta { font-size: 0.95rem !important; color: #c3ccd4 !important; margin: 0; }
.takeaways { background: var(--sand); border-left: 4px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; padding: 24px 26px; margin-bottom: 28px; }
.prose .takeaways h2 { font-size: 1.2rem; margin: 0 0 12px; }
.takeaways ul { margin: 0; }
.toc { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 34px; font-size: 0.95rem; }
.toc strong { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.6px; color: var(--ink); }
.toc ol { margin: 10px 0 0; padding-left: 1.3em; columns: 2; column-gap: 34px; }
.toc li { margin-bottom: 5px; break-inside: avoid; }
.toc a { text-decoration: underline; text-underline-offset: 2px; }
.prose h2[id] { scroll-margin-top: 100px; }
.prose .faq { margin: 0 0 34px; max-width: none; }
.author-box { background: var(--sand); border-radius: var(--radius); padding: 22px 24px; font-size: 0.93rem; }
.author-box strong { font-family: var(--font-head); text-transform: uppercase; color: var(--ink); letter-spacing: 0.5px; }
.author-box p { margin: 6px 0 0; }
.side-card ul a { text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 720px) {
  .hero-full { min-height: calc(100svh - 114px - 58px); }
  .hero-full .wrap { padding-top: 48px; padding-bottom: 48px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .btn-xl { padding: 20px 24px; width: 100%; }
  .work-slide { width: 78vw; }
  .work-controls { display: none; }
  .reviews-grid .review { flex-basis: 82vw; }
  .is-progressive .form-grid { grid-template-columns: 1fr; }
  .toc ol { columns: 1; }
  .form-wrap .form-card { padding: 28px 22px; }
}

/* Mobile call bar */
.call-bar { display: none; }

@media (max-width: 1020px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; padding-top: 60px; padding-bottom: 64px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cards.three { grid-template-columns: repeat(2, 1fr); }
  .swatches { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 34px 24px; }
  .areas { grid-template-columns: repeat(2, 1fr); }
  .content-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 12px 22px 22px; flex-direction: column; align-items: stretch; max-height: calc(100vh - 80px); overflow-y: auto; }
  .nav.open { display: flex; }
  .nav > ul { flex-direction: column; align-items: stretch; }
  .nav a, .nav .drop-toggle { width: 100%; justify-content: space-between; padding: 12px 4px; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-left: 3px solid var(--accent); border-radius: 0; padding: 0 0 0 10px; display: none; min-width: 0; }
  .has-drop.open .dropdown { display: block; }
  .has-drop:hover .dropdown, .has-drop:focus-within .dropdown { transform: none; }
  .nav .btn { margin: 12px 0 0; justify-content: center; }
}

@media (max-width: 720px) {
  .section { padding: 60px 0; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .split.flip .split-media { order: 0; }
  .stats { grid-template-columns: 1fr 1fr; gap: 14px; }
  .stat b { font-size: 1.9rem; }
  .cards, .cards.three { grid-template-columns: 1fr; }
  .swatches { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .areas { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; padding-top: 50px; }
  .topbar-note { display: none; }
  .topbar .wrap { justify-content: center; }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; }
  .logo-sub { display: none; }

  body { padding-bottom: 58px; }
  .call-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 120; box-shadow: 0 -6px 20px rgba(0,0,0,0.2); }
  .call-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 58px; font-family: var(--font-head); font-weight: 600; letter-spacing: 0.8px; text-transform: uppercase; text-decoration: none; color: var(--white); background: var(--accent); }
  .call-bar a + a { background: var(--ink); }
  .call-bar svg { width: 17px; height: 17px; }
}

/* Larger controls on the homepage step-by-step form */
.form-wrap .field label { font-size: 1rem; }
.form-wrap .field input, .form-wrap .field select, .form-wrap .field textarea { font-size: 1.08rem; padding: 15px 16px; }
.form-wrap .form-card .btn { font-size: 1.05rem; padding: 17px 26px; }

/* Homepage: header stays hidden above the viewport until the user scrolls, so the
   hero fills the whole screen with nothing above it. JS toggles .header-visible. */
body.home .topbar { display: none; }
body.home .site-header { position: fixed; top: 0; left: 0; right: 0; transform: translateY(-100%); transition: transform 0.3s ease; box-shadow: 0 6px 20px rgba(21, 32, 43, 0.12); }
body.home .site-header.header-visible, body.home .site-header:focus-within { transform: translateY(0); }
body.home .hero-full { min-height: 100vh; min-height: 100svh; }
@media (max-width: 720px) { body.home .hero-full { min-height: calc(100svh - 58px); } }
[id] { scroll-margin-top: 96px; }

/* Service-area pages: city photo on the sidebar card */
.side-photo { padding-top: 0; overflow: hidden; }
.side-photo img { width: calc(100% + 48px); max-width: none; margin: 0 -24px 20px; aspect-ratio: 680 / 420; object-fit: cover; }

/* Match the carousels' side padding so Chrome doesn't auto-snap-scroll them on load.
   That load-time scroll stopped Chrome recording LCP on the homepage. */
.reviews-grid, .work-track { scroll-padding-inline: 2px; }
