/* Good Wood Fence Staining — spec preview
   Oil-stain palette: walnut, cedar, honey amber, linen.
   Not landscaper green. */

:root {
  --linen: #f3eadc;
  --paper: #e8d8c2;
  --honey: #d4924a;
  --amber: #c4783a;
  --cedar: #8b3d1f;
  --walnut: #2a1810;
  --char: #1a100c;
  --oil: #5c3a24;
  --mute: #6a5a4c;
  --line: #d4c2a8;
  --white: #fff8ef;
  --wrap: min(1080px, calc(100% - 1.5rem));
  --display: "Newsreader", "Iowan Old Style", Palatino, serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--walnut);
  background: var(--linen);
  line-height: 1.55;
  font-size: 1.05rem;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 560;
  line-height: 1.12;
  margin: 0 0 0.5em;
  text-wrap: balance;
  color: var(--char);
}
h1 { font-size: clamp(2.15rem, 8vw, 4.2rem); font-weight: 600; }
h2 { font-size: clamp(1.65rem, 4.6vw, 2.55rem); }
h3 { font-size: 1.24rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--char); color: var(--linen);
  padding: 0.5rem 0.8rem; z-index: 100;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }
.wrap { width: var(--wrap); margin-inline: auto; }
.eyebrow, .kicker {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 650;
  color: var(--cedar);
  margin: 0 0 0.55rem;
}
.lede { font-size: 1.12rem; color: var(--mute); max-width: 38rem; }

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(26, 16, 12, 0.94);
  backdrop-filter: blur(12px);
  color: var(--linen);
  border-bottom: 1px solid rgba(212, 194, 168, 0.14);
}
.header-inner {
  display: flex; align-items: center; gap: 0.7rem; min-height: 68px;
}
.brand {
  text-decoration: none;
  display: flex; align-items: center; gap: 0.65rem;
  color: var(--linen);
  min-width: 0;
}
.brand-mark {
  width: 38px; height: 38px; flex-shrink: 0;
  background: var(--amber);
  color: var(--char);
  display: grid; place-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.03em;
}
.brand-word {
  display: flex; flex-direction: column; line-height: 1.05;
}
.brand-word strong {
  font-family: var(--display);
  font-size: 1.18rem;
  font-weight: 600;
}
.brand-word small {
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d4c2a8;
  font-weight: 650;
}
.menu-toggle {
  margin-left: auto;
  width: 44px; height: 44px;
  border: 1px solid rgba(243, 234, 220, 0.28);
  background: transparent;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  cursor: pointer;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block; width: 18px; height: 2px; background: var(--linen); content: "";
  position: relative;
}
.menu-toggle span::before { top: -6px; position: absolute; }
.menu-toggle span::after { top: 6px; position: absolute; }
.nav {
  display: none;
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--char);
  border-bottom: 1px solid rgba(212, 194, 168, 0.14);
  padding: 0.6rem 0.9rem 1rem;
  flex-direction: column; gap: 0.15rem;
}
.site-header.open .nav { display: flex; }
.nav a {
  text-decoration: none;
  font-weight: 650;
  padding: 0.7rem 0.2rem;
  border-bottom: 1px solid rgba(243, 234, 220, 0.08);
}
.nav a[aria-current="page"] { color: var(--honey); }
.header-cta { display: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.94rem;
  letter-spacing: 0.02em;
  padding: 0.74rem 1.12rem;
  border-radius: 2px;
  border: 1px solid transparent;
  min-height: 44px;
}
.btn-amber { background: var(--amber); color: var(--char); }
.btn-amber:hover { background: var(--honey); }
.btn-char { background: var(--char); color: var(--linen); }
.btn-ghost {
  background: transparent;
  color: inherit;
  border-color: currentColor;
}
.btn-linen { background: var(--linen); color: var(--char); }
.hero-actions, .actions { display: flex; flex-wrap: wrap; gap: 0.55rem; }

.hero { position: relative; color: var(--white); background: var(--char); }
.hero-media { min-height: min(78vh, 640px); }
.hero-media img {
  width: 100%;
  height: min(78vh, 640px);
  object-fit: cover;
  object-position: center 42%;
}
.hero-copy {
  position: absolute; inset: auto 0 0 0;
  padding: 3.4rem 0 1.7rem;
  background: linear-gradient(to top, rgba(26,16,12,0.94) 0%, rgba(26,16,12,0.58) 55%, transparent 100%);
}
.hero h1 { color: var(--white); margin-bottom: 0.3em; }
.hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--honey);
}
.hero .lede { color: #eadcc4; }
.hero .eyebrow { color: var(--honey); }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 0.7rem 1.2rem;
  margin-top: 1.05rem;
  font-size: 0.88rem;
  color: #d4c2a8;
}
.hero-meta strong { color: var(--white); display: block; font-size: 0.95rem; }

.band {
  background: var(--walnut);
  color: var(--paper);
  padding: 0.88rem 0;
  font-size: 0.76rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 650;
}
.band .wrap {
  display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem;
  justify-content: space-between;
}

section { padding: 3.2rem 0; }
.band-paper { background: var(--paper); }
.band-walnut {
  background: var(--walnut);
  color: var(--linen);
  position: relative;
}
.band-walnut::before {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent 0 46px,
    rgba(26,16,12,0.35) 46px 48px
  );
  pointer-events: none;
  opacity: 0.45;
}
.band-walnut > .wrap { position: relative; }
.band-walnut h2, .band-walnut h3 { color: var(--linen); }
.band-walnut .kicker { color: var(--honey); }
.band-walnut .lede, .band-walnut p { color: #d8c7ad; }
.band-cedar { background: var(--cedar); color: #fff4e8; }
.band-cedar h2 { color: #fff4e8; }
.band-cedar .kicker { color: #f3c48a; }
.band-cedar p, .band-cedar cite { color: #f3d2b4; }

.cards {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.4rem;
}
.card, .service {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.2rem 1.15rem 1.25rem;
}
.service { border-top: 4px solid var(--amber); }
.service h3 { margin-bottom: 0.35em; }
.service p { color: var(--mute); font-size: 0.98rem; }
.num {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.55rem;
  color: var(--cedar);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.split {
  display: grid;
  gap: 1.6rem;
}

.swatches {
  display: flex;
  gap: 0.45rem;
  margin-top: 1.1rem;
  flex-wrap: wrap;
}
.swatch {
  width: 44px; height: 44px;
  border: 1px solid rgba(26,16,12,0.2);
}
.swatch-1 { background: #c9a06a; }
.swatch-2 { background: #a85a2e; }
.swatch-3 { background: #8b3d1f; }
.swatch-4 { background: #5c3a24; }
.swatch-5 { background: #2a1810; }
.swatch-note {
  font-size: 0.82rem;
  color: var(--mute);
  margin-top: 0.55rem;
}

blockquote.quote {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.4rem, 3.4vw, 2rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.28;
  color: #fff4e8;
  max-width: 22ch;
}
blockquote.quote cite {
  display: block;
  margin-top: 0.8rem;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: #f3c48a;
}

.guarantee {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.3rem 1.2rem 1.4rem;
  border-left: 5px solid var(--amber);
}
.guarantee h3 { margin-bottom: 0.4em; }

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0;
}
.contact-list li {
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
}
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cedar);
  font-weight: 650;
  margin-bottom: 0.15rem;
}
.contact-list a { font-size: 1.2rem; font-weight: 700; text-decoration: none; }
.contact-list a:hover { color: var(--cedar); }

.site-footer {
  background: var(--char);
  color: #c9b79a;
  padding: 2rem 0 5.5rem;
  font-size: 0.92rem;
}
.footer-inner {
  display: grid;
  gap: 1.1rem;
}
.footer-brand {
  font-family: var(--display);
  font-size: 1.25rem;
  color: var(--linen);
}
.site-footer a { color: var(--paper); }

.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--char);
  border-top: 1px solid #3a281c;
}
.callbar a {
  text-align: center;
  padding: 0.85rem 0.4rem;
  text-decoration: none;
  color: var(--linen);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.82rem;
  min-height: 48px;
  display: flex; align-items: center; justify-content: center;
}
.callbar a:first-child { background: var(--amber); color: var(--char); }

@media (min-width: 760px) {
  .menu-toggle { display: none; }
  .nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    margin-left: auto;
    background: transparent;
    border: 0;
    padding: 0;
    gap: 1.15rem;
  }
  .nav a { border: 0; padding: 0.35rem 0; }
  .header-cta { display: inline-flex; margin-left: 0.35rem; }
  .cards.three { grid-template-columns: repeat(3, 1fr); }
  .cards.two { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1.1fr 0.9fr; align-items: center; }
  .site-footer { padding-bottom: 2.2rem; }
  .callbar { display: none; }
  .footer-inner { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (min-width: 980px) {
  .hero-media img, .hero-media { height: min(82vh, 700px); }
}
