:root {
  --ink: #1c1915;
  --ink-soft: #3a342c;
  --paper: #f4efe6;
  --cream: #fbf8f3;
  --white: #fffdf9;
  --copper: #b85c38;
  --copper-deep: #8d3f22;
  --line: rgba(28, 25, 21, 0.12);
  --shadow: 0 24px 60px rgba(28, 25, 21, 0.12);
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }

.preview-bar {
  background: var(--ink);
  color: #f4efe6;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}
.preview-bar a { color: #f0c9b4; }
.preview-inner, .nav-inner, .wrap {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}
.preview-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  flex-wrap: wrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 248, 243, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1rem;
}
.brand {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand strong {
  font-family: var(--serif);
  font-weight: 560;
  font-size: 1.15rem;
}
.brand span {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper-deep);
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 12px;
  padding: 0;
}
.nav-burger {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
}
.nav-burger::before,
.nav-burger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform 200ms ease, top 200ms ease;
}
.nav-burger::before { top: -6px; }
.nav-burger::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-burger { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-burger::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-burger::after { top: 0; transform: rotate(-45deg); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--copper-deep); }
.nav-drop { position: relative; }
.nav-parent {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.nav-parent::after {
  content: "";
  display: inline-block;
  margin-left: 0.35rem;
  border: 4px solid transparent;
  border-top-color: currentColor;
  transform: translateY(2px);
  transition: transform 200ms ease;
}
.nav-drop.is-open .nav-parent::after { transform: translateY(-1px) rotate(180deg); }
.nav-links a[aria-current="page"],
.nav-parent.is-current { color: var(--copper-deep); font-weight: 600; }
.nav-links a.btn-primary[aria-current="page"] { color: white; }
.nav-sub {
  position: absolute;
  top: calc(100% + 0.85rem);
  left: 0;
  z-index: 30;
  min-width: 15.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--cream);
  border: 0 solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: max-height 200ms ease, opacity 200ms ease;
}
.nav-drop.is-open .nav-sub {
  max-height: 24rem;
  opacity: 1;
  pointer-events: auto;
  padding: 0.35rem 0;
  border-width: 1px;
}
.nav-sub a { display: block; padding: 0.45rem 0.9rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.85rem 1.2rem;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--copper);
  color: white;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(184, 92, 56, 0.28);
}
.btn-primary:hover { background: var(--copper-deep); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
}
.btn-ghost {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.45);
}
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: #000; }
.btn-line {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 78vh;
  color: white;
  display: grid;
  align-items: end;
  background: #141210;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 16, 13, 0.35) 0%, rgba(18, 16, 13, 0.55) 42%, rgba(18, 16, 13, 0.88) 100%);
}
.hero-photo, .hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media-label {
  position: absolute;
  z-index: 2;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  max-width: 28rem;
  margin: 0;
  display: grid;
  gap: 0.2rem;
  padding: 0.55rem 0.75rem;
  border-radius: 14px;
  background: rgba(20, 18, 16, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.85rem;
}
.hero-media-caption { font-size: 0.78rem; color: rgba(255, 255, 255, 0.82); }
.hero-inner { position: relative; z-index: 2; padding: 5.5rem 0 2.25rem; width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }
.eyebrow {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.75rem;
  margin-bottom: 0.8rem;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 520;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: 0.98;
  max-width: 14ch;
  margin: 0 0 1rem;
}
.hero p { max-width: 38rem; font-size: 1.12rem; color: rgba(255,255,255,0.88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2rem;
}
.hero-facts span {
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
}

.section { padding: 3.75rem 0; }
.section h2, .page-hero h1, .split h2, .card h3, .service-block h2 {
  font-family: var(--serif);
  font-weight: 540;
  letter-spacing: -0.02em;
}
.section h2 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.05; margin: 0 0 0.75rem; }
.lede { font-size: 1.08rem; max-width: 42rem; color: var(--ink-soft); }
.kicker {
  color: var(--copper-deep);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
  margin-bottom: 0.6rem;
}

.grid-4, .grid-3, .grid-2 { display: grid; gap: 1rem; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: 1.1fr 0.9fr; gap: 2.5rem; align-items: center; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.25rem;
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset;
}
.card .num {
  font-family: var(--serif);
  color: var(--copper);
  font-size: 1.4rem;
}
.card h3 { margin: 0.4rem 0; font-size: 1.35rem; }
.card p { margin: 0; color: var(--ink-soft); }
.card a { color: var(--copper-deep); }

.split img, .frame {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
  min-height: 320px;
}
.note {
  background: #efe4d4;
  border-radius: 16px;
  padding: 1rem 1.1rem;
  color: var(--ink-soft);
}

.band { background: var(--ink); color: var(--cream); }
.band .lede, .band p { color: rgba(251, 248, 243, 0.78); }
.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.trust article { border-top: 1px solid rgba(255,255,255,0.16); padding-top: 0.9rem; }
.trust h3 { margin: 0 0 0.35rem; font-size: 1.05rem; font-weight: 600; }

.service-block { padding: 2.5rem 0; border-top: 1px solid var(--line); scroll-margin-top: 5.5rem; }
#estimate-form { scroll-margin-top: 5.5rem; }
.service-block ul { padding-left: 1.1rem; }
.materials { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; list-style: none; }
.materials li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
}

.page-hero { padding: 3.5rem 0 1rem; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1; margin: 0 0 0.8rem; max-width: 16ch; }

.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 1.5rem; }
form { display: grid; gap: 0.75rem; }
label { display: grid; gap: 0.3rem; font-size: 0.92rem; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
}
textarea { min-height: 140px; resize: vertical; }
.form-status { min-height: 1.2rem; color: var(--copper-deep); }

.site-footer {
  background: #141210;
  color: #efe8dc;
  padding: 2.5rem 0;
}
.site-footer a { color: #f0c9b4; }
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.site-footer p { margin: 0.25rem 0; color: rgba(239, 232, 220, 0.75); }
.address { overflow-wrap: anywhere; }

.weather {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
  margin-top: 1.25rem;
  padding: 0.7rem 0.9rem;
  border-radius: 14px;
  background: rgba(255, 253, 249, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  max-width: min(42rem, 100%);
}
.weather-current {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.85rem;
  margin: 0;
}
.weather-week {
  display: flex;
  gap: 0.4rem;
  margin: 0;
  padding: 0 0 0.15rem;
  list-style: none;
  overflow-x: auto;
  max-width: 100%;
}
.weather-week li {
  flex: 1 0 4.5rem;
  min-width: 4.5rem;
  display: grid;
  gap: 0.1rem;
  padding: 0.35rem 0.4rem;
  border-radius: 10px;
  background: rgba(255, 253, 249, 0.12);
}
.weather-day { font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; }
.weather-cond { font-size: 0.75rem; line-height: 1.2; }
.weather-temps { font-size: 0.85rem; }
.weather-place {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.weather-now { font-size: 1rem; }
.weather-time { font-size: 0.82rem; opacity: 0.8; }
.weather-compact {
  margin: 0 0 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  max-width: none;
}
.weather-compact .weather-place { color: var(--copper-deep); }
.weather-compact .weather-week { flex-wrap: wrap; overflow: visible; }
.weather-compact .weather-week li { background: var(--paper); flex-basis: 4.2rem; }

.cta-band {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.service-cta { margin-top: 1rem; }

.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.25rem; }
.ways h3 { margin-top: 0; }
.ways .btn { margin: 0.45rem 0.45rem 0 0; }
.ways [data-phone-status] { margin: 0.7rem 0 0; font-size: 0.88rem; }
.btn[aria-disabled="true"] { opacity: 0.72; cursor: default; }

.chat-launcher, .chat-panel { position: fixed; right: 0.75rem; z-index: 35; }
.chat-launcher {
  bottom: var(--chat-bottom, 1rem);
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  padding: 0.75rem 1.05rem;
  box-shadow: var(--shadow);
  cursor: pointer;
}
.chat-panel {
  bottom: calc(var(--chat-bottom, 1rem) + 3.4rem);
  width: min(22rem, calc(100% - 1.5rem));
  max-height: min(70vh, 28rem);
  display: flex;
  flex-direction: column;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.chat-panel[hidden] { display: none; }
.chat-head, .chat-compose { display: flex; align-items: center; gap: 0.5rem; padding: 0.7rem 0.8rem; }
.chat-head { justify-content: space-between; border-bottom: 1px solid var(--line); }
.chat-close, .chat-compose button, .chat-choices button {
  border: 1px solid var(--line);
  background: var(--cream);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  cursor: pointer;
}
.chat-log { overflow: auto; padding: 0.8rem; display: grid; gap: 0.45rem; }
.chat-desk, .chat-you { margin: 0; padding: 0.55rem 0.7rem; border-radius: 12px; }
.chat-desk { background: #efe4d4; }
.chat-you { background: var(--ink); color: var(--cream); justify-self: end; }
.chat-choices { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0 0.8rem 0.4rem; }
.chat-compose { border-top: 1px solid var(--line); }
.chat-compose input { flex: 1; min-width: 0; }

.sticky-cta { display: none; }

@media (max-width: 860px) {
  .grid-4, .grid-3, .trust, .contact-grid, .grid-2, .ways { grid-template-columns: 1fr; }
  body.has-sticky { padding-bottom: 4.75rem; }
  .sticky-cta {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    gap: 0.6rem;
    align-items: center;
    padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
    background: rgba(251, 248, 243, 0.96);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(10px);
  }
  .sticky-cta p { margin: 0; font-size: 0.82rem; color: var(--ink-soft); }
  .sticky-cta .btn { margin-left: auto; }
  .hero { min-height: 70vh; }
}

@media (max-width: 768px) {
  .nav-inner { position: relative; }
  .nav-toggle {
    display: inline-flex;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
  }
  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.25rem 1.25rem;
  }
  .nav-links.open { display: flex; }
  .nav-drop, .nav-parent { width: 100%; text-align: left; }
  .nav-sub {
    position: static;
    min-width: 0;
    width: 100%;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    padding: 0 0 0 0.75rem;
  }
}
