:root {
  --ink: #1c1917;
  --ink-2: #292524;
  --text: #292524;
  --muted: #6b6560;
  --line: #e7e2dc;
  --paper: #ffffff;
  --paper-2: #f7f4ef;
  --accent: #ea7a1a;
  --accent-hover: #d96a0c;
  --green: #4f8a2a;
  --green-2: #5d9d33;
  --amber: #fbbf24;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(28, 25, 23, 0.08);
  --container: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--text); background: var(--paper); line-height: 1.6; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: var(--accent-hover); }
h1, h2, h3, h4 { line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 0.5em; font-weight: 800; color: var(--ink); }
h1 { font-size: clamp(36px, 5.2vw, 64px); text-transform: uppercase; letter-spacing: -0.01em; font-weight: 900; }
h2 { font-size: clamp(26px, 3.2vw, 38px); text-transform: uppercase; }
h3 { font-size: 20px; }
h4 { font-size: 15px; text-transform: uppercase; letter-spacing: 0.06em; }
.h3 { font-size: clamp(24px, 2.6vw, 32px); text-transform: none; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.center { text-align: center; }
.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.section { padding: clamp(48px, 7vw, 96px) 0; }
.section-alt { background: var(--paper-2); }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head p { color: var(--muted); font-size: 17px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 700; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 22px; height: 3px; background: var(--accent); border-radius: 2px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 6px; font-weight: 700; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; font-family: inherit; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-outline-light { border-color: rgba(255,255,255,.7); color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--ink); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* top bar + header */
.topbar { background: var(--ink); color: #d6d3d1; font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar-note { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-phone { color: #fff; text-decoration: none; letter-spacing: 0.06em; white-space: nowrap; }
.topbar-phone strong { color: var(--amber); }
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 20px; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand strong { color: var(--accent); font-weight: 900; }
.brand-light { color: #fff; }
.site-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.site-nav > ul > li > a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; border-radius: 6px; }
.site-nav > ul > li > a:hover, .site-nav > ul > li > a.active { color: var(--accent-hover); }
.chev { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.has-sub { position: relative; }
.sub { position: absolute; top: 100%; left: 0; min-width: 220px; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); padding: 8px; display: none; flex-direction: column; align-items: stretch; gap: 0; }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { display: flex; }
.sub a { display: block; padding: 9px 12px; color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500; border-radius: 6px; }
.sub a:hover, .sub a.active { background: var(--paper-2); color: var(--accent-hover); }
.nav-cta { margin-left: 10px; }
.nav-cta .btn { padding: 11px 18px; font-size: 12px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; padding: 8px; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }

/* hero */
.hero { position: relative; color: #fff; background: var(--ink); overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,16,12,.92) 0%, rgba(20,16,12,.78) 55%, rgba(20,16,12,.55) 100%); z-index: -1; }
.hero-inner { padding: clamp(64px, 10vw, 140px) 0 clamp(56px, 9vw, 120px); max-width: 780px; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 span { color: var(--amber); }
.hero .lead { font-size: clamp(16px, 1.5vw, 19px); color: #e7e5e4; max-width: 60ch; margin-bottom: 30px; }
.hero .eyebrow { color: var(--amber); } .hero .eyebrow::before { background: var(--amber); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* textures (no external images) */
.tex-hero, .tex-hardwood { background-color: #3b2a1c; background-image: repeating-linear-gradient(90deg, #5a3a22 0 180px, #6b4629 180px 182px, #4e3220 182px 360px, #7a5233 360px 362px), repeating-linear-gradient(0deg, rgba(0,0,0,.18) 0 2px, transparent 2px 44px); }
.tex-vinyl { background-color: #7d6a58; background-image: repeating-linear-gradient(90deg, #8d7a67 0 220px, #9a8874 220px 222px, #7f6c59 222px 440px, #a8968a 440px 442px), repeating-linear-gradient(0deg, rgba(0,0,0,.16) 0 2px, transparent 2px 36px); }
.tex-laminate { background-color: #a17f5a; background-image: repeating-linear-gradient(90deg, #b39068 0 200px, #c09d76 200px 202px, #a78462 202px 400px, #8f6d4a 400px 402px), repeating-linear-gradient(0deg, rgba(0,0,0,.14) 0 2px, transparent 2px 40px); }
.tex-carpet { background-color: #8a8378; background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1.5px), radial-gradient(rgba(0,0,0,.18) 1px, transparent 1.5px); background-size: 6px 6px, 9px 9px; background-position: 0 0, 3px 4px; }
.tex-tile { background-color: #cfc7bb; background-image: linear-gradient(#f2ede6 2px, transparent 2px), linear-gradient(90deg, #f2ede6 2px, transparent 2px), linear-gradient(135deg, #d9d1c5, #c4bbae); background-size: 120px 120px, 120px 120px, 100% 100%; }
.tex-commercial { background-color: #4b5563; background-image: linear-gradient(#5b6573 2px, transparent 2px), linear-gradient(90deg, #5b6573 2px, transparent 2px), linear-gradient(45deg, rgba(255,255,255,.05) 25%, transparent 25%, transparent 75%, rgba(255,255,255,.05) 75%); background-size: 90px 90px, 90px 90px, 12px 12px; }
.tex-green { background-color: #b98d5c; background-image: radial-gradient(rgba(120,80,40,.35) 2px, transparent 3px), radial-gradient(rgba(255,235,200,.35) 1.5px, transparent 2.5px); background-size: 14px 14px, 11px 11px; background-position: 0 0, 5px 7px; }
.tex-stairs { background-color: #6b4a2e; background-image: repeating-linear-gradient(0deg, #7e5a3a 0 70px, #593b22 70px 74px, #8a6543 74px 80px, #6b4a2e 80px 150px); }

/* split layout + contact card */
.split { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.prose h2 { font-size: 24px; text-transform: none; margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose .btn { margin-top: 16px; }
.prose.narrow { max-width: 760px; }
.lead-text { font-size: 18px; color: var(--ink-2); }
.contact-card { background: var(--ink); color: #e7e5e4; border-radius: var(--radius); padding: 28px; position: sticky; top: 92px; }
.contact-card h4 { color: #fff; margin-bottom: 18px; }
.contact-card p { margin-bottom: 14px; font-size: 15px; }
.contact-card strong { color: var(--amber); font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.contact-card a { color: #fff; }
.contact-card .muted { color: #a8a29e; }
.contact-card .btn { margin-top: 8px; }
.contact-card-plain { background: var(--paper-2); color: var(--text); position: static; margin-top: 20px; }
.contact-card-plain h4 { color: var(--ink); margin-top: 12px; }
.contact-card-plain h4:first-child { margin-top: 0; }
.contact-card-plain a { color: var(--accent-hover); }

/* steps + pillars */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.step-num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 900; font-size: 18px; margin-bottom: 16px; }
.step p { color: var(--muted); margin: 0; }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 32px 0 36px; }
.pillar { border-top: 3px solid var(--amber); padding-top: 18px; }
.pillar-num { color: var(--amber); font-weight: 800; font-size: 13px; letter-spacing: .1em; }
.pillar h3 { color: #fff; font-size: 18px; margin: 8px 0 8px; }
.pillar p { color: #d6d3d1; margin: 0; font-size: 15px; }

/* bands */
.band { padding: clamp(48px, 7vw, 88px) 0; }
.band-green { background: var(--green); color: #fff; }
.band-green h2 { color: #fff; }
.band-green p { max-width: 900px; font-size: 17px; }
.band-green .btn-primary { margin-top: 8px; }
.band-dark { background: var(--ink); color: #e7e5e4; }
.band-dark h2 { color: #fff; }
.band-dark .eyebrow { color: var(--amber); } .band-dark .eyebrow::before { background: var(--amber); }

/* product grid */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.product-tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 1 / 0.82; padding: 28px; color: #fff; text-decoration: none; overflow: hidden; isolation: isolate; }
.product-tile::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 20%, rgba(0,0,0,.72) 100%); z-index: -1; transition: background .2s; }
.product-tile:hover::before { background: linear-gradient(180deg, rgba(234,122,26,.15) 0%, rgba(0,0,0,.8) 100%); }
.product-tile::after { content: "//"; position: absolute; top: 14px; left: 18px; color: rgba(255,255,255,.55); font-weight: 900; font-size: 14px; }
.product-name { font-size: clamp(26px, 2.6vw, 38px); font-weight: 900; text-transform: uppercase; letter-spacing: -0.01em; line-height: 1; margin-bottom: 10px; text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.product-more { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; }
.arrow { width: 18px; height: 2px; background: currentColor; position: relative; }
.arrow::after { content: ""; position: absolute; right: -1px; top: -3px; width: 7px; height: 7px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.mini-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.mini-tile { display: grid; place-items: center; min-height: 90px; border-radius: 8px; color: #fff; font-weight: 800; text-transform: uppercase; font-size: 14px; letter-spacing: .06em; text-decoration: none; text-shadow: 0 1px 8px rgba(0,0,0,.6); position: relative; overflow: hidden; }
.mini-tile::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.28); }
.mini-tile span { position: relative; }
.mini-tile:hover::before { background: rgba(234,122,26,.5); }

/* chips, checks */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip { border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 7px 14px; font-size: 14px; color: var(--ink-2); }
.checks { list-style: none; padding: 0; margin: 20px 0 0; }
.checks li { padding-left: 30px; position: relative; margin-bottom: 10px; font-weight: 500; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--green); }
.checks li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 5px; height: 9px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); }

/* forms */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: 18px; }
.quote-form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 14px; color: var(--ink-2); }
.quote-form label span { color: var(--accent); }
.quote-form input, .quote-form select, .quote-form textarea { display: block; width: 100%; margin-top: 6px; padding: 11px 12px; border: 1px solid #d6d0c8; border-radius: 6px; font: inherit; font-size: 15px; color: var(--ink); background: #fff; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.quote-form .invalid { border-color: #dc2626; }
.quote-form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.quote-form .row-3 { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 14px; }
.quote-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.quote-form .btn { width: 100%; }
.form-fine { font-size: 12px; color: var(--muted); margin: 12px 0 0; }
.form-status { font-size: 14px; font-weight: 600; min-height: 1.2em; margin: 0 0 10px; }
.form-status.ok { color: var(--green); }
.form-status.err { color: #dc2626; }
.quote-form.sent > *:not(.form-status) { display: none; }
.quote-form.sent .form-status { font-size: 17px; padding: 20px 0; }

/* faq */
.faq-list { margin-bottom: 24px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 24px; font-weight: 300; color: var(--accent); flex: none; }
.faq-item[open] summary::after { content: "–"; }
.faq-item summary h3 { margin: 0; font-size: 17px; }
.faq-item p { color: var(--muted); padding-bottom: 16px; margin: 0; }

/* footer */
.site-footer { background: var(--ink); color: #d6d3d1; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid #3f3a36; }
.site-footer h4 { color: #fff; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #d6d3d1; text-decoration: none; }
.site-footer a:hover { color: var(--amber); }
.site-footer p { font-size: 14px; }
.site-footer .muted { color: #a8a29e; }
.footer-blurb { margin-top: 16px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 20px; font-size: 13px; color: #a8a29e; }

/* responsive */
@media (max-width: 1000px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .contact-card { position: static; }
  .steps { grid-template-columns: 1fr; }
  .nav-toggle { display: flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); max-height: calc(100vh - 110px); overflow: auto; }
  .site-nav.open { display: block; }
  .site-nav > ul { flex-direction: column; align-items: stretch; padding: 8px 16px 16px; gap: 0; }
  .site-nav > ul > li > a { padding: 12px 8px; width: 100%; justify-content: space-between; }
  .has-sub .sub { position: static; display: none; box-shadow: none; border: 0; padding: 0 0 6px 16px; }
  .has-sub.open .sub { display: flex; }
  .has-sub:hover .sub { display: none; }
  .has-sub.open:hover .sub { display: flex; }
  .nav-cta { margin: 10px 0 0; }
  .nav-cta .btn { width: 100%; }
  .topbar-note { display: none; }
  .topbar-inner { justify-content: center; }
}
@media (max-width: 560px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-tile { aspect-ratio: 16 / 9; }
  .pillars, .footer-grid { grid-template-columns: 1fr; }
  .quote-form .row-2, .quote-form .row-3 { grid-template-columns: 1fr; gap: 0; }
  .hero-ctas .btn { width: 100%; }
}

/* generated photography */
.hero, .product-tile, .mini-tile { background-size: cover; background-position: center; }
.hero[style] { background-color: var(--ink); }
.photo { margin: 0 0 24px; }
.photo img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
