@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/instrument-serif.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Public Sans";
  src: url("/assets/public-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --pine: #153424;
  --deep-pine: #12271e;
  --cream: #f7f3e8;
  --white: #fffaf0;
  --ochre: #ffc482;
  --muted: #475949;
  --line: #c8cbbc;
  --heading: "Instrument Serif", Georgia, serif;
  --gutter: clamp(16px, 6vw, 92px);
  --header-height: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 18px); }
body {
  margin: 0;
  color: var(--pine);
  background: var(--cream);
  font: 400 1rem/1.55 "Public Sans", Arial, sans-serif;
}
body, h1, h2, h3, p, figure { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { color: inherit; font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #bf7545; outline-offset: 4px; }
.wrap { width: min(100%, 1510px); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: fixed; z-index: 8; inset: 8px auto auto 8px; transform: translateY(-180%); padding: 10px; background: var(--cream); }
.skip:focus { transform: none; }

.header {
  position: fixed;
  z-index: 4;
  inset: 0 0 auto;
  border-bottom: 1px solid #e8e1cf52;
  color: var(--white);
  background: var(--deep-pine);
  transition: background-color 220ms ease;
}
.home .header:not(.is-scrolled) { background: #0f241dc7; }
.header-row { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; gap: 13px; align-items: center; flex: none; text-decoration: none; }
.brand img { width: 65px; height: 65px; border-radius: 50%; }
.brand span { font: 400 1.95rem/1 var(--heading); }
.nav { display: flex; gap: clamp(18px, 3.2vw, 48px); align-items: center; flex-wrap: wrap; }
.nav a { display: inline-flex; min-height: 44px; align-items: center; border-bottom: 2px solid transparent; font-size: 14px; font-weight: 650; text-decoration: none; white-space: nowrap; }
.nav a:hover, .nav a[aria-current] { border-color: var(--ochre); }
.header-phone { color: #ffe0b8; font-size: 14px; font-weight: 650; text-underline-offset: 4px; white-space: nowrap; }
.menu { display: none; }

.hero {
  position: relative;
  display: grid;
  isolation: isolate;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  overflow: clip;
  color: var(--white);
  background: var(--deep-pine);
}
.hero-photo, .hero::before { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-photo { z-index: -2; object-fit: cover; object-position: 62% 52%; }
.hero::before {
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, #0b1d17ec 0%, #11251dc2 30%, #16292045 66%, #1428210b 98%),
    linear-gradient(0deg, #132d21 0%, #132d2100 31%);
}
.hero-wrap { padding-block: calc(var(--header-height) + 45px) 83px; }
.hero-copy { animation: entrance 540ms cubic-bezier(.22,.64,.37,1) both; }
.location {
  display: inline-block;
  margin-bottom: 18px;
  border-block-start: 1px solid var(--ochre);
  padding-top: 8px;
  color: #ffe0b8;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .115em;
  text-transform: uppercase;
}
.hero h1 { font: 400 clamp(4.6rem, 9.3vw, 9rem)/.84 var(--heading); letter-spacing: -.04em; }
.hero h1 em { color: #ffce96; font-weight: 400; }
.hero-detail { max-width: 39ch; margin-top: 24px; color: #fff6e7; font-size: clamp(1rem, 1.48vw, 1.19rem); }
.hero .actions { margin-top: 25px; }
.hero-caption { position: absolute; inset: auto var(--gutter) 17px auto; border-radius: 2px; padding: 4px 8px; color: var(--white); background: #14281fba; font-size: 12px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.button {
  display: inline-flex;
  min-height: 47px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background-color 170ms ease, transform 170ms ease;
}
.button:active { transform: translateY(2px); }
.button.amber { color: #1e2319; background: var(--ochre); }
.button.amber:hover { background: #ffdaa9; }
.button.green { color: var(--white); background: var(--pine); }
.button.green:hover { background: #28553d; }
.button.outline { border-color: #5e7460; color: var(--pine); background: transparent; }
.button.outline:hover { background: #e6ecdd; }
.text-link { display: inline-flex; min-height: 44px; align-items: center; font-size: 15px; font-weight: 650; text-underline-offset: 4px; }
.text-link:hover { text-decoration-thickness: 2px; }

.season-section { color: var(--white); background: #132d21; }
.seasons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; padding-block: clamp(35px, 6vw, 90px); }
.seasons article { padding: 10px clamp(16px, 3vw, 48px); }
.seasons article:first-child { padding-left: 0; }
.seasons article + article { border-left: 1px solid #b3c7a96e; }
.seasons h2, .coverage h2, .service-panel h2, .estimate-aside h2, .review h2 {
  font: 400 clamp(2.4rem, 5vw, 4.8rem)/.99 var(--heading);
  letter-spacing: -.025em;
}
.seasons p { max-width: 41ch; margin-block: 11px 7px; color: #e2e9d9; }
.seasons .text-link { color: #ffd29f; }
.coverage-section { background: #e8ebdb; }
.coverage { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-block: clamp(36px, 5.6vw, 76px); }
.coverage p { max-width: 49ch; margin-top: 10px; color: var(--muted); }
.coverage .button { flex-shrink: 0; }

.inner main { min-height: 75vh; padding-top: var(--header-height); }
.inner-wrap { padding-block: clamp(30px, 5vw, 72px) clamp(48px, 6.5vw, 90px); }
.page-title { margin-bottom: 22px; font: 400 clamp(3.3rem, 7.4vw, 7rem)/.95 var(--heading); letter-spacing: -.034em; }
.switcher { display: flex; flex-wrap: wrap; gap: 0 24px; margin-bottom: 24px; border-block: 1px solid var(--line); }
.switcher a { display: inline-flex; min-height: 48px; align-items: center; border-bottom: 3px solid transparent; font-size: 15px; font-weight: 650; text-decoration: none; }
.switcher a:hover, .switcher a[aria-current] { border-color: #b66c3b; }
.service-panel, .estimate-layout { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); align-items: start; gap: clamp(24px, 6vw, 88px); }
.service-panel + .service-panel { margin-top: 32px; }
.js .service-panel { margin-top: 0; }
.service-panel h2 { font-size: clamp(2.2rem, 4.7vw, 4rem); }
.job-list { margin: 14px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.job-list li { border-bottom: 1px solid var(--line); padding: 12px 0; }
.job-list h3 { font-size: 1.06rem; font-weight: 700; line-height: 1.3; }
.job-list h3 a { text-underline-offset: 3px; }
.job-list p { margin-top: 6px; color: var(--muted); font-size: .97rem; }
.service-photo { overflow: clip; border-radius: 5px; background: #e5e8d7; }
.service-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.service-photo figcaption { padding: 7px 10px; color: #3b503e; font-size: 12px; }
.estimate-layout { grid-template-columns: minmax(0, 1.22fr) minmax(0, .82fr); }
.intro { max-width: 45ch; margin-bottom: 21px; color: var(--muted); }
.estimate-form { display: grid; justify-items: start; gap: 8px; }
.estimate-form label, .review label { font-weight: 650; }
.estimate-form label span { color: var(--muted); font-size: 14px; font-weight: 400; }
.estimate-form label:not(:first-child) { margin-top: 7px; }
.estimate-form input, .estimate-form select, textarea { min-width: 0; width: 100%; min-height: 45px; border: 1px solid #a3ab98; border-radius: 4px; padding: 9px 12px; background: #fffdf6; }
textarea { display: block; resize: vertical; }
.estimate-form button { margin-top: 9px; }
.estimate-aside { padding: clamp(18px, 3vw, 38px); border-radius: 6px; color: var(--white); background: var(--pine); }
.estimate-aside h2, .review h2 { font-size: clamp(2.15rem, 4.6vw, 3.05rem); }
.estimate-aside p { margin: 12px 0 8px; color: #eef3e6; }
.phone-big { display: inline-block; margin-top: 12px; color: #ffdbaf; font-size: 1.16rem; font-weight: 700; text-underline-offset: 4px; }
.review { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 17px; animation: entrance 230ms ease-out; }
.review label { display: inline-block; margin-top: 10px; }
.review textarea { margin-top: 5px; }
.review .actions { margin-top: 12px; gap: 8px; }
.copy-status { min-height: 1.55em; margin-top: 8px; color: #28513b; }

.footer { padding-top: 38px; color: var(--white); background: #17261f; }
.footer-main { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 24px; padding-bottom: 28px; }
.footer-brand { font: 400 1.95rem/1 var(--heading); text-decoration: none; }
.footer-main p { max-width: 26ch; margin-top: 6px; color: #dce5d5; font-size: 14px; }
.footer-main nav, .footer-contact { display: grid; align-content: start; justify-items: start; gap: 6px; }
.footer-main nav a, .footer-contact a { color: #e1ecdc; font-size: 14px; text-underline-offset: 4px; }
.footer-bottom { display: flex; min-height: 63px; align-items: center; justify-content: space-between; gap: 9px; border-top: 1px solid #a9b6a44f; }
.footer-bottom > span { color: #d9e5d6; font-size: 12px; }
.built-by { display: inline-flex; flex-shrink: 0; align-items: center; gap: 8px; color: #e3e3e8; text-decoration: none; }
.built-by > span { font: 400 8px/1.8 "Public Sans", sans-serif; }
.credit-logo { display: block; overflow: visible; width: 54px; height: 29px; max-width: none; }

@keyframes entrance { from { opacity: .51; transform: translateY(10px); } to { opacity: 1; transform: none; } }
[data-reveal].is-visible { animation: entrance 410ms ease-out both; }

@media (max-width: 820px) {
  :root { --header-height: 70px; }
  .header-phone { display: none; }
  .brand { gap: 8px; }
  .brand img { width: 53px; height: 53px; }
  .brand span { font-size: 1.55rem; }
  .nav { gap: 0 14px; }
  .js .menu {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    gap: 8px;
    border: 1px solid #cad7c779;
    border-radius: 4px;
    padding: 8px 10px;
    color: var(--white);
    background: #0f231c6b;
    font-size: 14px;
    font-weight: 650;
  }
  .menu span { width: 12px; height: 8px; border-block: 1px solid currentColor; }
  .js .nav { display: none; }
  .js .nav.is-open {
    position: absolute;
    inset: 100% 0 auto;
    display: grid;
    justify-items: start;
    border-bottom: 1px solid #b6c9af7d;
    padding: 3px var(--gutter) 12px;
    background: var(--deep-pine);
    animation: entrance 180ms ease-out;
  }
}

@media (max-width: 760px) {
  .service-panel, .estimate-layout { grid-template-columns: 1fr; }
  .coverage { flex-direction: column; align-items: start; gap: 16px; }
  .service-photo img { aspect-ratio: 3 / 2; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .built-by { margin-left: auto; gap: 7px; }
  .built-by > span { font-size: 7px; }
}

@media (max-width: 600px) {
  .header-row { gap: 7px; }
  .hero { align-items: start; }
  .hero-photo { object-position: 70% 58%; }
  .hero::before {
    background:
      linear-gradient(180deg, #14291f55 0%, #10231cb8 28%, #10231cb5 54%, #10231c1f 83%, #132d21d9 100%),
      linear-gradient(90deg, #11241da3 0%, #11241d20 100%);
  }
  .hero-wrap { padding-block: clamp(131px, 25svh, 206px) 75px; }
  .hero h1 { font-size: clamp(3.4rem, 15vw, 5.8rem); }
  .location { margin-bottom: 14px; font-size: 10px; letter-spacing: .09em; }
  .hero-detail { max-width: 29ch; margin-top: 18px; }
  .hero .actions { gap: 5px 13px; margin-top: 18px; }
  .hero .text-link { font-size: 14px; }
  .seasons { grid-template-columns: 1fr; }
  .seasons article { padding: 16px 0; }
  .seasons article + article { border-top: 1px solid #b3c7a96e; border-left: 0; }
  .footer-main { grid-template-columns: 1fr; gap: 16px; }
  .footer-main nav { display: flex; flex-wrap: wrap; gap: 5px 14px; }
}

@media (max-width: 370px) {
  .brand span { font-size: 1.4rem; }
  .built-by { gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
