@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("/assets/fonts/archivo-latin.woff2") format("woff2");
}

:root {
  --primer: #f2f3f0;
  --white: #ffffff;
  --ink: #1b1f1d;
  --ink-2: #4a514d;
  --green: #1f3f3a;
  --green-2: #2b564f;
  --oak: #b9844d;
  --tape: #e9dfc2;
  --brass: #a9832f;
  --rule: #d4d8d1;
  --measure: 68ch;
  --wrap: 1160px;
  --pad: clamp(20px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--primer);
  color: var(--ink);
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  font-stretch: 100%;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--green); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--green-2); text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 2px; }

.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 12px; top: 12px; background: var(--white); padding: 8px 12px; z-index: 20; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }

/* Header */
.site-header { border-bottom: 1px solid var(--rule); background: var(--primer); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 76px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 30px; height: 38px; flex: none; }
.brand-name { display: block; font-weight: 760; font-stretch: 88%; font-size: 1.2rem; line-height: 1.1; letter-spacing: 0.005em; }
.brand-place { display: block; font-size: 0.84rem; color: var(--ink-2); line-height: 1.2; }
.nav { display: flex; gap: 4px 20px; flex-wrap: wrap; font-size: 0.97rem; }
.nav a { color: var(--ink); text-decoration: none; padding: 6px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--green); text-decoration: underline; text-decoration-thickness: 2px; }
.header-call { white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 6px;
  font-weight: 650; font-size: 1rem; text-decoration: none; line-height: 1.1;
  border: 2px solid var(--green); background: var(--green); color: var(--white);
}
.btn:hover { background: var(--green-2); border-color: var(--green-2); color: var(--white); text-decoration: none; }
.btn-quiet { background: transparent; color: var(--green); }
.btn-quiet:hover { background: var(--white); color: var(--green); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 0.95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Type */
h1, h2, h3 { line-height: 1.1; margin: 0; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 5.6vw, 4.4rem); font-weight: 760; font-stretch: 112%; letter-spacing: -0.012em; max-width: 18ch; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 720; font-stretch: 106%; letter-spacing: -0.006em; max-width: 26ch; }
h3 { font-size: 1.2rem; font-weight: 680; line-height: 1.25; }
p, ul, ol, table { margin: 0; }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 2.2em; }
.prose h3 { margin-top: 1.8em; }
.prose h2 + *, .prose h3 + * { margin-top: 0.6em; }
.prose { max-width: var(--measure); }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: 0.4em; }

.answer { font-size: clamp(1.15rem, 1.8vw, 1.35rem); line-height: 1.5; max-width: 54ch; margin-top: 22px; color: var(--ink); }
.reviewed { margin-top: 18px; font-size: 0.88rem; color: var(--ink-2); }

/* Page head */
.page-head { padding: clamp(36px, 6vw, 72px) 0 clamp(28px, 4vw, 44px); }
.crumbs { font-size: 0.9rem; color: var(--ink-2); margin-bottom: 22px; }
.crumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--rule); }
.crumbs a { color: var(--ink-2); }

/* Hero */
.hero { padding: clamp(40px, 7vw, 88px) 0 0; }
.hero h1 { max-width: 14ch; }
.doors { margin-top: clamp(40px, 6vw, 64px); width: 100%; height: auto; }
.doors .coat { animation: coat 1100ms cubic-bezier(.2,.7,.2,1) both; }
.doors .coat-2 { animation-delay: 250ms; }
.doors .coat-3 { animation-delay: 500ms; }
.doors .coat-4 { animation-delay: 750ms; }
@keyframes coat { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@media (prefers-reduced-motion: reduce) { .doors .coat { animation: none; } }

.floor { height: 14px; background: var(--ink); }

/* Sections */
.section { padding: clamp(52px, 7vw, 96px) 0; border-top: 1px solid var(--rule); }
.section-tight { padding-top: 0; border-top: 0; }
.section-lead { margin-top: 14px; max-width: 60ch; color: var(--ink-2); font-size: 1.08rem; }
.split { display: grid; gap: 32px 64px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .split { grid-template-columns: 5fr 7fr; } }

/* What we paint list */
.paint-list { list-style: none; padding: 0; margin-top: 8px; border-top: 1px solid var(--rule); }
.paint-list li { border-bottom: 1px solid var(--rule); padding: 20px 0; display: grid; gap: 4px 24px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .paint-list li { grid-template-columns: 15rem 1fr; } }
.paint-list h3 a { color: var(--ink); text-decoration: none; }
.paint-list h3 a:hover { color: var(--green); text-decoration: underline; }
.paint-list p { color: var(--ink-2); }

/* Steps with tape tags (true sequence: doors are numbered so they go back in place) */
.steps { list-style: none; padding: 0; margin-top: 28px; display: grid; gap: 28px; max-width: 760px; }
.steps li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start; }
.tag {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 30px; background: var(--tape); color: var(--ink);
  font-weight: 800; font-stretch: 75%; font-size: 1.05rem; border-radius: 2px;
  transform: rotate(-3deg); box-shadow: inset 0 -2px 0 rgba(0,0,0,.06);
}
.steps li:nth-child(even) .tag { transform: rotate(2deg); }
.steps h3 { font-size: 1.12rem; }
.steps p { margin-top: 4px; color: var(--ink-2); }

/* Tables */
.table-wrap { overflow-x: auto; margin-top: 1.2em; max-width: 100%; }
.prose .table-wrap { max-width: min(100vw - 2 * var(--pad), 980px); width: max-content; min-width: 100%; }
table { border-collapse: collapse; font-size: 0.97rem; min-width: 560px; }
th, td { text-align: left; vertical-align: top; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--rule); }
thead th { font-weight: 700; border-bottom: 2px solid var(--ink); }
tbody th { font-weight: 650; }

/* FAQ */
.faq { margin-top: 12px; max-width: var(--measure); }
.faq-item { padding: 22px 0; border-bottom: 1px solid var(--rule); }
.faq-item:first-child { border-top: 1px solid var(--rule); }
.faq-item p { margin-top: 8px; color: var(--ink-2); }

/* Callout box for honest scope notes */
.note { border-left: 4px solid var(--oak); padding: 4px 0 4px 18px; color: var(--ink); }

/* Contact band */
.band { background: var(--green); color: var(--white); padding: clamp(48px, 7vw, 84px) 0; }
.band h2 { color: var(--white); max-width: 22ch; }
.band p { color: #d7e2df; margin-top: 12px; max-width: 56ch; }
.band .phone { display: inline-block; margin-top: 22px; color: var(--white); font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 760; font-stretch: 108%; text-decoration: none; letter-spacing: -0.01em; }
.band .phone:hover { text-decoration: underline; text-decoration-thickness: 3px; }
.band .btn { background: var(--white); color: var(--green); border-color: var(--white); }
.band .btn:hover { background: var(--tape); border-color: var(--tape); color: var(--green); }
.band .btn-quiet { background: transparent; color: var(--white); border-color: #8fb0aa; }
.band .btn-quiet:hover { background: var(--green-2); color: var(--white); }

/* Related links */
.related { margin-top: 48px; max-width: var(--measure); }
.related h2 { font-size: 1.3rem; }
.related ul { list-style: none; padding: 0; margin-top: 10px; }
.related li { padding: 10px 0; border-bottom: 1px solid var(--rule); }

/* Contact page */
.contact-grid { display: grid; gap: 28px 64px; grid-template-columns: 1fr; margin-top: 8px; }
@media (min-width: 800px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-grid dt { font-weight: 700; margin-top: 18px; }
.contact-grid dd { margin: 4px 0 0; }
.big-phone { font-size: clamp(1.9rem, 4.4vw, 2.8rem); font-weight: 760; font-stretch: 106%; text-decoration: none; color: var(--green); }

/* Footer */
.site-footer { background: var(--ink); color: #c9cfcb; padding: 56px 0 40px; font-size: 0.95rem; }
.site-footer a { color: var(--white); }
.footer-grid { display: grid; gap: 28px 48px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer h2 { color: var(--white); font-size: 1.05rem; font-stretch: 100%; font-weight: 700; }
.site-footer ul { list-style: none; padding: 0; margin-top: 10px; }
.site-footer li + li { margin-top: 6px; }
.site-footer address { font-style: normal; margin-top: 10px; line-height: 1.7; }
.footer-small { margin-top: 40px; padding-top: 20px; border-top: 1px solid #39403c; font-size: 0.85rem; color: #9aa39e; }

/* Mobile call bar */
.callbar { display: none; }
@media (max-width: 719px) {
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(242, 243, 240, 0.97); border-top: 1px solid var(--rule);
  }
  .callbar .btn { min-height: 48px; padding: 0 10px; }
  body { padding-bottom: 76px; }
  .header-call { display: none; }
  .nav { width: 100%; gap: 2px 16px; font-size: 0.95rem; padding-bottom: 12px; }
  .site-header .wrap { gap: 8px 16px; padding-top: 12px; }
}

/* Small helpers */
.section-first { border-top: 0; }
.section-gap { height: clamp(48px, 7vw, 88px); }
.related-inline { margin-top: 24px; }
.details dt { font-weight: 700; margin-top: 14px; }
.details dd { margin: 2px 0 0; }
.prose ol strong { font-weight: 680; }
