:root {
  --canvas: #e8e0d2;
  --paper: #f8f3e8;
  --ink: #18272b;
  --soft: #556267;
  --blue: #173f58;
  --blue-2: #245d78;
  --rust: #995038;
  --gold: #d8bc6d;
  --oak: #a6693c;
  --rule: rgba(24, 39, 43, .24);
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: Optima, Candara, "Noto Sans", sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.38'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.wrap { width: min(calc(100% - 42px), var(--max)); margin-inline: auto; }
.eyebrow {
  margin: 0 0 .75rem;
  font-family: "Avenir Next Condensed", "Arial Narrow", sans-serif;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .17em;
  text-transform: uppercase;
}
h1, h2, h3 { margin-top: 0; font-family: Rockwell, "American Typewriter", Georgia, serif; letter-spacing: -.05em; }
h1 { max-width: 950px; margin-bottom: 1.5rem; font-size: clamp(3.8rem, 9vw, 8rem); line-height: .88; }
h2 { font-size: clamp(2.3rem, 5vw, 4.6rem); line-height: .98; }
h3 { font-size: clamp(1.35rem, 2.4vw, 2rem); line-height: 1.08; }
p { margin-top: 0; }
.utility { color: var(--paper); background: var(--blue); border-bottom: 1px solid var(--gold); font: 900 .67rem/1 "Avenir Next Condensed", sans-serif; letter-spacing: .13em; text-transform: uppercase; }
.utility-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.utility .place::before { content: "●"; margin-right: .5rem; color: var(--gold); }
.utility a { opacity: .8; text-decoration: none; }
.utility a:hover { opacity: 1; text-decoration: underline; }
.contact-links { display: flex; align-items: center; gap: .55rem; }
.contact-links span { opacity: .35; }
header { position: relative; z-index: 30; background: rgba(232, 224, 210, .97); border-bottom: 1px solid var(--rule); }
.masthead { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.wordmark { display: inline-flex; align-items: center; gap: .9rem; text-decoration: none; }
.mark { width: 54px; height: 58px; display: grid; place-items: center; color: var(--paper); background: var(--blue); border: 1px solid var(--ink); box-shadow: inset 0 0 0 5px var(--blue), inset 0 0 0 6px rgba(216, 188, 109, .78); font: 700 1.4rem/1 Rockwell, serif; }
.wordmark-copy { display: grid; line-height: .92; }
.wordmark-copy strong { font: 700 1.5rem/1 Rockwell, serif; }
.wordmark-copy small { margin-top: .38rem; font: 900 .55rem/1 "Avenir Next Condensed", sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.primary-nav { display: flex; align-items: center; gap: clamp(1rem, 2.6vw, 2.1rem); }
.primary-nav a { font: 900 .69rem/1 "Avenir Next Condensed", sans-serif; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--rust); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.primary-nav .nav-cta { padding: .85rem 1rem; color: var(--paper); background: var(--blue); border: 1px solid var(--ink); text-decoration: none; }
.primary-nav .nav-cta:hover { background: var(--blue-2); text-decoration: none; }
.crumbs { padding: 1rem 0; color: var(--soft); border-bottom: 1px solid var(--rule); font-size: .8rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: .45rem; opacity: .45; }
.crumbs a { text-underline-offset: 3px; }
.page-hero { position: relative; padding: clamp(4.5rem, 9vw, 8rem) 0 clamp(4rem, 8vw, 7rem); overflow: hidden; background: linear-gradient(90deg, rgba(23,63,88,.05) 1px, transparent 1px), linear-gradient(rgba(23,63,88,.05) 1px, transparent 1px), var(--paper); background-size: 30px 30px; border-bottom: 1px solid var(--ink); }
.page-hero::after { content: attr(data-stamp); position: absolute; right: -1rem; bottom: -.7rem; color: rgba(23,63,88,.06); font: 900 clamp(4rem, 11vw, 9rem)/1 "Avenir Next Condensed", sans-serif; letter-spacing: -.04em; white-space: nowrap; }
.page-hero .lede { position: relative; z-index: 1; max-width: 760px; margin-bottom: 0; color: var(--soft); font: 400 clamp(1.2rem, 2.2vw, 1.65rem)/1.45 "Iowan Old Style", Charter, Georgia, serif; }
.page-hero .lede strong { color: var(--rust); }
.split { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(3rem, 8vw, 8rem); }
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section.paper { background: var(--paper); }
.section.dark { color: var(--paper); background: var(--ink); }
.section.dark .muted { color: rgba(248,243,232,.68); }
.sticky-label { position: sticky; top: 1.5rem; align-self: start; }
.prose { max-width: 760px; }
.prose p, .muted { color: var(--soft); }
.prose h2 { margin-top: 3rem; }
.prose h2:first-child { margin-top: 0; }
.check-list { margin: 2rem 0; padding: 0; border-top: 2px solid var(--ink); list-style: none; }
.check-list li { position: relative; padding: 1rem 1rem 1rem 2.2rem; border-bottom: 1px solid var(--ink); }
.check-list li::before { content: "✓"; position: absolute; left: .35rem; color: var(--rust); font-weight: 900; }
.not-list { margin: 2rem 0; padding: 1.5rem; background: rgba(153,80,56,.08); border-left: 4px solid var(--rust); }
.not-list strong { display: block; margin-bottom: .45rem; font-family: Rockwell, serif; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 2px solid var(--ink); }
.card { min-height: 280px; display: flex; flex-direction: column; padding: clamp(1.5rem, 4vw, 2.8rem); border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.card:nth-child(even) { border-right: 0; }
.card p { color: var(--soft); }
.card a { margin-top: auto; color: var(--blue); font: 900 .7rem/1.3 "Avenir Next Condensed", sans-serif; letter-spacing: .12em; text-transform: uppercase; text-underline-offset: 5px; }
.steps { counter-reset: step; border-top: 2px solid var(--ink); }
.step { counter-increment: step; display: grid; grid-template-columns: 70px .72fr 1fr; gap: 1.5rem; padding: 1.55rem 0; border-bottom: 1px solid var(--ink); }
.step::before { content: "0" counter(step); color: var(--rust); font: 900 .85rem/1 "Avenir Next Condensed", sans-serif; letter-spacing: .12em; }
.step strong { font-family: Rockwell, serif; }
.step p { margin: 0; color: var(--soft); }
.project-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 14px; }
.project { position: relative; min-height: 360px; overflow: hidden; color: var(--paper); background: var(--ink); border: 1px solid var(--ink); }
.project.wide { grid-column: 1 / -1; min-height: 460px; }
.project img { width: 100%; height: 100%; min-height: inherit; object-fit: cover; filter: saturate(.8) contrast(1.04); }
.project::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(14,23,26,.92)); }
.caption { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; padding: 1.5rem; }
.caption strong { display: block; font: 700 1.5rem/1.1 Rockwell, serif; }
.caption span { color: rgba(248,243,232,.7); font-size: .82rem; }
.before-after { display: grid; grid-template-columns: 1fr 1fr; }
.before-after figure { position: relative; margin: 0; }
.before-after small { position: absolute; top: .8rem; left: .8rem; z-index: 3; padding: .38rem .55rem; color: var(--ink); background: var(--gold); font: 900 .58rem/1 "Avenir Next Condensed", sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.cta-band { padding: clamp(4rem, 8vw, 7rem) 0; color: var(--paper); background-color: #8d5430; background-image: repeating-linear-gradient(2deg, transparent 0 12px, rgba(63,32,16,.17) 13px, transparent 15px), linear-gradient(90deg,#70401f,#bc8553 13%,#9d6338 50%,#bc8553 87%,#70401f); }
.cta-card { max-width: 920px; margin: auto; padding: clamp(2rem, 6vw, 4.5rem); color: var(--ink); background: #eee5ce; border: 1px solid var(--ink); box-shadow: 0 25px 65px rgba(47,25,12,.27); text-align: center; }
.cta-card p { max-width: 650px; margin-inline: auto; color: var(--soft); }
.button { display: inline-flex; align-items: center; min-height: 52px; padding: .9rem 1.2rem; color: var(--paper); background: var(--blue); border: 1px solid var(--ink); font: 900 .73rem/1 "Avenir Next Condensed", sans-serif; letter-spacing: .13em; text-decoration: none; text-transform: uppercase; }
.button:hover { background: var(--blue-2); }
.button.secondary { color: var(--blue); background: transparent; border-color: var(--blue); }
.action-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }
.notice { padding: 1.4rem; background: #d7c493; border: 1px solid var(--ink); }
.notice strong { display: block; margin-bottom: .35rem; font-family: Rockwell, serif; }
.estimate-shell { display: grid; grid-template-columns: .8fr 1.2fr; gap: 1px; background: var(--ink); border: 1px solid var(--ink); }
.estimate-note, .estimate-form { padding: clamp(1.5rem, 4vw, 3rem); background: var(--paper); }
.estimate-note { background-color: #d7c493; background-image: repeating-linear-gradient(0deg, transparent 0 31px, rgba(23,63,88,.12) 32px 33px); }
.field { display: grid; gap: .45rem; margin-bottom: 1.1rem; }
.field label { font: 900 .67rem/1 "Avenir Next Condensed", sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.field input, .field textarea, .field select { width: 100%; min-height: 52px; padding: .75rem; color: var(--ink); background: var(--canvas); border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; font: inherit; }
.field textarea { min-height: 130px; resize: vertical; }
.field small { color: var(--soft); font-size: .76rem; }
.honeypot { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: .7rem; align-items: start; margin: 1.4rem 0; color: var(--soft); font-size: .82rem; }
.consent input { width: 20px; height: 20px; margin: .1rem 0 0; accent-color: var(--blue); }
.submit-work-order { cursor: pointer; }
.submit-work-order:disabled { opacity: .55; cursor: wait; }
.disabled-submit { opacity: .5; cursor: not-allowed; }
footer { padding: 4rem 0 5rem; color: var(--paper); background: var(--blue); }
.footer-grid { display: grid; grid-template-columns: 1.1fr .9fr .7fr; gap: 3rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(248,243,232,.22); }
footer h2 { margin-bottom: .6rem; font-size: clamp(2.5rem, 4.8vw, 4.6rem); }
footer p { color: rgba(248,243,232,.68); }
.footer-links { display: grid; align-content: start; gap: .65rem; }
.footer-links a { font-size: .9rem; text-underline-offset: 4px; }
.footer-meta { display: flex; justify-content: space-between; gap: 2rem; margin-top: 1.4rem; color: rgba(248,243,232,.5); font-size: .72rem; }
@media (max-width: 900px) {
  .primary-nav a:not(.nav-cta) { display: none; }
  .split, .estimate-shell, .footer-grid { grid-template-columns: 1fr; }
  .sticky-label { position: static; }
  .project-grid { grid-template-columns: 1fr; }
  .project.wide { grid-column: auto; }
}
@media (max-width: 650px) {
  .wrap { width: min(calc(100% - 28px), var(--max)); }
  .utility-inner { min-height: 44px; justify-content: center; flex-wrap: wrap; gap: .3rem 1rem; padding: .35rem 0; }
  .contact-email, .contact-links span { display: none; }
  .masthead { min-height: 82px; }
  .mark { width: 46px; height: 50px; }
  .wordmark-copy strong { font-size: 1.2rem; }
  .wordmark-copy small { font-size: .48rem; }
  .primary-nav .nav-cta { padding: .75rem .8rem; font-size: .61rem; }
  h1 { font-size: clamp(3.4rem, 17vw, 5.6rem); }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 230px; border-right: 0; }
  .step { grid-template-columns: 42px 1fr; }
  .step p { grid-column: 2; }
  .project, .project.wide { min-height: 330px; }
  .before-after { grid-template-columns: 1fr; }
  .footer-meta { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
