/* Kepa Drywall: "Night Shift". Charcoal, safety yellow, condensed type. Fonts are self-hosted (SIL OFL). */
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/Barlow-400.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/Barlow-500.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/Barlow-600.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/Barlow-700.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/BarlowCondensed-700.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 800; font-display: swap; src: url('fonts/BarlowCondensed-800.woff2') format('woff2'); }

:root {
  --bg: #0E1012;
  --bg-alt: #13161A;
  --tile: #15181B;
  --line: #262B30;
  --line-strong: #3A3F44;
  --ink: #F2F1EC;
  --body: #C5C9CD;
  --muted: #9EA3A8;
  --yellow: #F5C518;
  --yellow-hover: #FFD84A;
  --on-yellow: #0E1012;
  --danger: #FF8A80;
  --ok: #7EE2A8;
  --wrap: 1200px;
  --sans: 'Barlow', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --cond: 'Barlow Condensed', 'Arial Narrow', 'Roboto Condensed', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
}

h1, h2, h3 { color: var(--ink); margin: 0; }
p { margin: 0 0 1em; }
a { color: var(--yellow); text-underline-offset: 3px; }
a:hover { color: var(--yellow-hover); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
strong { color: var(--ink); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 40px; } }
.muted { color: var(--muted); }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 20; background: var(--yellow); color: var(--on-yellow); padding: 10px 14px; font-weight: 700; }
.skip-link:focus { top: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(14, 16, 18, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 800 1.6rem/1 var(--cond); text-transform: uppercase; letter-spacing: .02em; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 24px; height: 24px; fill: var(--yellow); flex: none; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) { color: #B9BDC1; text-decoration: none; font-weight: 600; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; }
.site-nav a:not(.btn):hover { color: var(--ink); }
@media (max-width: 760px) { .site-nav a:not(.btn) { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 28px;
  background: var(--yellow); color: var(--on-yellow);
  border: 0; border-radius: 0;
  font: 700 1rem/1 var(--sans); letter-spacing: .07em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, transform .15s ease;
}
.btn:hover { background: var(--yellow-hover); color: var(--on-yellow); }
.btn:active { transform: translateY(1px); }
.btn-small { min-height: 42px; padding: 0 18px; font-size: .85rem; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line-strong); text-transform: none; letter-spacing: .01em; font-weight: 600; overflow-wrap: anywhere; }
.btn-ghost:hover { background: transparent; color: var(--yellow); box-shadow: inset 0 0 0 2px var(--yellow); }
.btn[disabled] { opacity: .6; cursor: wait; }

/* Hero */
.hero { padding: clamp(64px, 11vw, 128px) 0 clamp(56px, 8vw, 88px); }
.tag, .kicker { font: 600 .875rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); margin: 0 0 20px; }
.hero h1 {
  font: 800 clamp(3.4rem, 12vw, 8rem)/.88 var(--cond);
  text-transform: uppercase; letter-spacing: -.005em; max-width: 11ch;
}
.hero h1 span { color: var(--yellow); }
.lede { font-size: clamp(1.1rem, 2vw, 1.3rem); line-height: 1.55; max-width: 54ch; margin: 28px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 36px 0 0; }
.promises { list-style: none; margin: 48px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 36px; }
.promises li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); }
.promises li::before { content: ""; width: 10px; height: 10px; background: var(--yellow); flex: none; }

.stripe { height: 12px; background: repeating-linear-gradient(-45deg, var(--yellow) 0 16px, var(--bg) 16px 32px); }
.stripe-thin { height: 6px; }

/* Sections */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head h2 { font: 800 clamp(2.4rem, 6vw, 4rem)/.95 var(--cond); text-transform: uppercase; letter-spacing: -.005em; }
.section-intro { font-size: 1.15rem; max-width: 52ch; margin-top: 20px; }
.split { display: grid; gap: 40px; }
@media (min-width: 900px) { .split { grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; } .split .section-head { position: sticky; top: 112px; } }

/* Service tiles: full-bleed grid with 2px seams, like taped joints */
.tiles { display: grid; gap: 2px; background: var(--line); margin-top: 48px; border-top: 2px solid var(--line); border-bottom: 2px solid var(--line); }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile { background: var(--tile); padding: 36px 32px 40px; transition: background-color .2s ease; }
.tile:hover { background: #191D21; }
.num { font: 700 1rem/1 var(--cond); color: var(--yellow); letter-spacing: .1em; }
.tile h3 { font: 700 2rem/1.05 var(--cond); text-transform: uppercase; margin: 14px 0 12px; }
.tile p { color: var(--muted); margin: 0; }

/* Process */
.steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; gap: 40px 32px; counter-reset: step; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1050px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: step; border-top: 2px solid var(--line-strong); padding-top: 20px; }
.steps li::before { content: "0" counter(step); display: block; font: 800 4rem/1 var(--cond); color: var(--yellow); margin-bottom: 14px; }
.steps h3 { font: 700 1.5rem/1.1 var(--cond); text-transform: uppercase; margin-bottom: 10px; }
.steps p { color: var(--muted); margin: 0; }

/* Standards */
.standards { list-style: none; padding: 0; margin: 0; }
.standards li { padding: 22px 0; border-top: 1px solid var(--line); }
.standards li:first-child { border-top: 0; padding-top: 0; }
.standards h3 { font: 700 1.45rem/1.1 var(--cond); text-transform: uppercase; margin-bottom: 8px; display: flex; align-items: center; gap: 12px; }
.standards h3::before { content: ""; width: 10px; height: 10px; background: var(--yellow); flex: none; }
.standards p { margin: 0; color: var(--muted); padding-left: 22px; }

/* Towns */

/* About */
.prose p { font-size: 1.12rem; max-width: 62ch; }
.credential { font-weight: 600; color: var(--ink); border-left: 3px solid var(--yellow); padding-left: 14px; }

/* FAQ */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 44px 22px 0; position: relative;
  font: 700 1.35rem/1.2 var(--cond); text-transform: uppercase; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 700 2rem/1 var(--sans); color: var(--yellow); }
.faq details[open] summary::after { content: "–"; }
.faq summary:hover { color: var(--yellow); }
.faq details p { color: var(--body); margin: 0 0 18px; max-width: 64ch; }

/* Estimate form */
.estimate { background: var(--bg-alt); border-top: 1px solid var(--line); }
.estimate-form { display: grid; gap: 18px; grid-template-columns: 1fr; background: var(--tile); border-top: 4px solid var(--yellow); padding: 28px 22px; }
@media (min-width: 560px) { .estimate-form { grid-template-columns: 1fr 1fr; padding: 36px 32px; } .field-full { grid-column: 1 / -1; } }
.field { display: grid; gap: 8px; align-content: start; }
label { font: 600 .82rem/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.req { color: var(--yellow); }
.optional { color: var(--muted); font-weight: 500; letter-spacing: .04em; text-transform: none; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: 1rem/1.4 var(--sans); color: var(--ink);
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: 0;
  transition: border-color .15s ease;
}
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--yellow) 50%), linear-gradient(135deg, var(--yellow) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
select option { background: var(--tile); color: var(--ink); }
textarea { resize: vertical; min-height: 130px; }
::placeholder { color: #6B7177; }
input:hover, select:hover, textarea:hover { border-color: #545A60; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 0; border-color: var(--yellow); box-shadow: 0 0 0 1px var(--yellow); }
[aria-invalid="true"] { border-color: var(--danger) !important; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-footer { display: grid; gap: 14px; margin-top: 4px; }
.form-footer .btn { justify-self: start; }
.fine-print { font-size: .92rem; color: var(--muted); margin: 0; }
.form-status { margin: 0; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--danger); }

/* Footer */
.site-footer { background: var(--bg); padding: 48px 0 28px; }
.footer-inner { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.footer-brand { font: 800 1.8rem/1 var(--cond); text-transform: uppercase; color: var(--ink); margin-bottom: 12px; }
.site-footer p { color: var(--muted); }
.footer-links { display: grid; gap: 10px; align-content: start; }
.footer-links a { color: var(--body); text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: var(--yellow); }
.copyright { color: #6B7177; font-size: .9rem; margin-top: 28px !important; padding-top: 20px; border-top: 1px solid var(--line); }

/* Simple content pages (privacy, 404) */
.page { padding: clamp(48px, 8vw, 96px) 0; }
.page .narrow { max-width: 780px; }
.page h1 { font: 800 clamp(2.6rem, 8vw, 4.5rem)/.95 var(--cond); text-transform: uppercase; margin-bottom: 16px; }
.page h2 { font: 700 1.6rem/1.1 var(--cond); text-transform: uppercase; margin: 2em 0 .6em; }
.page ul { padding-left: 1.2em; }
.page li { margin-bottom: .5em; }

/* Hero drawing: two 4x8 sheets with a taped seam, drawn like a construction detail */
.hero-grid { display: grid; gap: 48px; align-items: center; }
.hero-drawing { display: none; margin: 0; }
@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 56px; }
  .hero-drawing { display: block; }
  .hero h1 { font-size: clamp(4.5rem, 7.4vw, 7.25rem); }
}
.hero-drawing svg { width: 100%; height: auto; overflow: visible; }
.hero-drawing .sheet { fill: #1A1E22; stroke: #343A40; stroke-width: 1; }
.hero-drawing .feather { fill: #22272C; }
.hero-drawing .tape { fill: var(--yellow); }
.hero-drawing .screws { fill: #4A5056; }
.hero-drawing .dim line, .hero-drawing .leader { stroke: #5A6066; stroke-width: 1; }
.hero-drawing .dim-label { font: 700 15px var(--cond); fill: var(--muted); letter-spacing: .04em; }
.hero-drawing .note { font: 700 13px var(--cond); fill: var(--yellow); letter-spacing: .12em; }
.hero-drawing .dim-note { fill: #6B7177; }

.tiles { margin-top: 48px; border: 2px solid var(--line); }

.brand, .btn-small { white-space: nowrap; }
@media (max-width: 420px) {
  .brand { font-size: 1.35rem; gap: 8px; }
  .brand-mark { width: 20px; height: 20px; }
  .btn-small { padding: 0 14px; font-size: .8rem; }
}

.hero-email { margin: 16px 0 0; color: var(--muted); font-size: .98rem; }
