@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-400.ttf') format('truetype');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-600.ttf') format('truetype');
}

@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/oswald-600.ttf') format('truetype');
}

:root {
  --navy: #071f38;
  --navy-soft: #0b2b4b;
  --cedar: #c94708;
  --cedar-dark: #a73700;
  --sea: #76d1d1;
  --paper: #fffefb;
  --white: #ffffff;
  --line: #d9d6cf;
  --muted: #53606d;
  --display: 'Oswald', 'Arial Narrow', sans-serif;
  --body: 'Inter', Arial, sans-serif;
  --page-gutter: clamp(24px, 5vw, 80px);
  color: var(--navy);
  font-family: var(--body);
  font-synthesis: none;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

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

html {
  scroll-behavior: smooth;
}

section[id],
footer[id] {
  scroll-margin-top: 132px;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--navy);
}

body.menu-open {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

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

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 0.98;
  text-transform: uppercase;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  background: var(--navy);
  color: var(--white);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 28px rgba(7, 31, 56, 0.05);
}

.header-inner,
.section-shell,
.footer-inner,
.estimate-inner {
  width: min(100%, 1536px);
  margin: 0 auto;
}

.header-inner {
  min-height: 132px;
  padding: 14px var(--page-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.brand img,
.footer-brand img {
  flex: 0 0 auto;
}

.brand-copy {
  display: flex;
  min-width: 280px;
  flex-direction: column;
  color: var(--navy);
}

.brand-copy strong {
  font-family: var(--display);
  font-size: 40px;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.brand-copy span {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  color: var(--cedar);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}

.brand-copy i {
  height: 2px;
  background: var(--cedar);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 54px);
}

.primary-nav > a:not(.button) {
  padding: 10px 0;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  text-underline-offset: 7px;
}

.primary-nav > a:not(.button):hover,
.primary-nav > a:not(.button):focus-visible {
  color: var(--cedar);
  text-decoration: underline;
}

.header-mobile-cta {
  display: none;
}

.menu-toggle {
  display: none;
}

.button {
  min-height: 64px;
  padding: 0 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 2px solid var(--cedar);
  border-radius: 2px;
  background: var(--cedar);
  color: var(--white);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover,
.button:focus-visible {
  background: var(--cedar-dark);
  border-color: var(--cedar-dark);
  transform: translateY(-2px);
}

.button-small {
  min-height: 54px;
  padding-inline: 26px;
  font-size: 16px;
}

.button-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}

.button-outline svg {
  width: 24px;
  fill: var(--cedar);
}

.button-outline:hover,
.button-outline:focus-visible {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.button-navy {
  min-height: 58px;
  align-self: end;
  background: var(--navy);
  border-color: var(--navy);
}

.button-navy:hover,
.button-navy:focus-visible {
  background: var(--navy-soft);
  border-color: var(--navy-soft);
}

.hero {
  width: min(100%, 1536px);
  height: 780px;
  min-height: 780px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 44%) minmax(0, 56%);
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  padding: clamp(56px, 6vw, 88px) clamp(36px, 5vw, 78px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero h1 {
  max-width: 630px;
  margin-bottom: 24px;
  font-size: clamp(64px, 5.1vw, 78px);
}

.hero-copy > p {
  max-width: 610px;
  margin-bottom: 28px;
  font-size: clamp(18px, 1.4vw, 23px);
  line-height: 1.55;
}

.hero-benefits {
  margin: 0 0 30px;
  padding: 0;
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
  list-style: none;
}

.hero-benefits li {
  position: relative;
  padding-left: 24px;
}

.hero-benefits li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--cedar);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-actions .button {
  min-height: 62px;
  padding-inline: 16px;
  font-size: 14px;
}

.hero-media {
  height: 780px;
  min-height: 780px;
  margin: 0;
  overflow: hidden;
  background: #d7e6ed;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
}

.hero-media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.proof-strip {
  min-height: 64px;
  padding: 16px var(--page-gutter);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
  font-weight: 500;
}

.proof-strip span {
  display: inline-flex;
  align-items: center;
}

.proof-strip span:not(:last-child)::after {
  content: '';
  width: 4px;
  height: 4px;
  margin: 0 22px;
  border-radius: 50%;
  background: var(--navy);
}

@media (min-width: 861px) and (max-width: 1360px) {
  .hero,
  .hero-media {
    height: 780px;
    min-height: 780px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }
}

.problem-bridge {
  padding: clamp(62px, 6vw, 92px) var(--page-gutter);
  display: grid;
  grid-template-columns: minmax(110px, 0.34fr) minmax(0, 1.66fr);
  align-items: start;
  gap: clamp(44px, 7vw, 110px);
  border-bottom: 1px solid var(--line);
}

.problem-number {
  margin: 0;
  padding-right: clamp(28px, 4vw, 60px);
  border-right: 1px solid var(--line);
  color: var(--cedar);
  font-family: var(--display);
  font-size: clamp(80px, 8vw, 124px);
  font-weight: 600;
  line-height: 0.88;
}

.problem-bridge h2 {
  max-width: 950px;
  margin-bottom: 24px;
  font-size: clamp(48px, 4.2vw, 66px);
}

.problem-bridge div > p {
  max-width: 850px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.6;
}

.fences {
  position: relative;
  padding: 50px var(--page-gutter) 36px;
}

.section-intro {
  position: absolute;
  top: 50px;
  left: var(--page-gutter);
  max-width: 510px;
  margin-bottom: 0;
  z-index: 2;
}

.section-intro h2 {
  margin-bottom: 22px;
  font-size: clamp(56px, 4.2vw, 64px);
}

.section-intro p {
  max-width: 500px;
  font-size: 20px;
  line-height: 1.55;
}

.services-layout {
  height: 540px;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 0.58fr 1.65fr 0.9fr;
  grid-template-rows: 310px 204px;
  gap: 26px;
}

.service {
  min-width: 0;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.service.is-visible,
.process-list li.is-visible,
.family-number.is-visible,
.family-story.is-visible,
.family-gallery figure.is-visible,
blockquote.is-visible,
.owner-story.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.service img {
  width: 100%;
  object-fit: cover;
}

.service h3 {
  margin: 0 0 12px;
  font-size: 38px;
}

.service h3::after {
  content: '';
  display: block;
  width: 42px;
  height: 3px;
  margin-top: 13px;
  background: var(--cedar);
}

.service p {
  max-width: 250px;
  margin-bottom: 0;
  font-size: 17px;
}

.service-wood {
  grid-column: 1 / 3;
  grid-row: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.68fr;
  align-items: center;
  gap: 18px;
}

.service-wood img {
  height: 204px;
}

.service-vinyl {
  grid-column: 3 / 5;
  grid-row: 1;
  display: grid;
  grid-template-columns: 1fr 0.45fr;
  align-items: center;
  gap: 28px;
}

.service-vinyl img {
  height: 310px;
  object-position: center top;
}

.service-vinyl > div {
  padding-bottom: 0;
}

.service-aluminum {
  grid-column: 3;
  grid-row: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.65fr;
  align-items: center;
  gap: 28px;
}

.service-aluminum img {
  height: 204px;
  object-position: center;
}

.service-gates {
  grid-column: 4;
  grid-row: 2;
  padding-left: 26px;
  display: flex;
  align-items: center;
  border-left: 1px solid var(--line);
}

.service-gates img {
  display: none;
}

.process {
  min-height: 285px;
  padding: 32px var(--page-gutter);
  display: grid;
  grid-template-columns: 0.9fr 1.75fr;
  align-items: center;
  gap: clamp(48px, 8vw, 130px);
  background: var(--navy);
  color: var(--white);
}

.process-intro h2 {
  margin-bottom: 18px;
  font-size: clamp(52px, 3.8vw, 58px);
}

.process-intro p {
  max-width: 420px;
  margin-bottom: 16px;
  font-size: 17px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cedar);
  font-weight: 700;
  text-underline-offset: 5px;
}

.process .text-link {
  color: #ff6a1f;
}

.process-list {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
  list-style: none;
}

.process-list li {
  position: relative;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.process-list li:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 55px;
  right: -25px;
  width: 52px;
  height: 2px;
  background: var(--cedar);
}

.process-list span {
  display: block;
  margin-bottom: 20px;
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(82px, 7vw, 116px);
  line-height: 0.9;
}

.process-list span::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  margin-top: 18px;
  background: var(--cedar);
}

.process-list strong {
  display: block;
  font-size: 17px;
}

.process-list small {
  display: block;
  margin-top: 8px;
  color: #cbd6df;
  font-size: 14px;
  line-height: 1.5;
}

.family-legacy {
  position: relative;
  padding: 70px var(--page-gutter) 78px;
  border-bottom: 1px solid var(--line);
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}

.family-legacy::before {
  content: '4';
  position: absolute;
  top: -170px;
  right: -20px;
  color: rgba(255, 255, 255, 0.025);
  font-family: var(--display);
  font-size: 650px;
  font-weight: 600;
  line-height: 1;
  pointer-events: none;
}

.family-intro {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 0.64fr) minmax(0, 1.36fr);
  align-items: center;
  gap: clamp(52px, 7vw, 110px);
}

.family-number,
.family-story,
.family-gallery figure {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.family-number {
  min-height: 290px;
  padding-right: clamp(38px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  text-align: center;
}

.family-number span {
  color: var(--cedar);
  font-family: var(--display);
  font-size: clamp(220px, 18vw, 280px);
  font-weight: 600;
  letter-spacing: -0.08em;
  line-height: 0.72;
}

.family-number strong {
  margin-top: 36px;
  color: var(--white);
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.family-story h2 {
  margin-bottom: 24px;
  font-size: clamp(64px, 6vw, 92px);
}

.family-story h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 22px;
  background: var(--cedar);
}

.family-story > p {
  max-width: 820px;
  margin-bottom: 34px;
  color: #d7e0e8;
  font-size: clamp(19px, 1.5vw, 23px);
  line-height: 1.55;
}

.family-quote {
  max-width: 820px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.family-quote q {
  display: block;
  color: var(--cedar);
  font-family: var(--display);
  font-size: clamp(28px, 2.4vw, 37px);
  line-height: 1.15;
  quotes: '“' '”';
}

.family-quote span {
  display: block;
  margin-top: 10px;
  color: #aebdca;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.family-gallery {
  position: relative;
  z-index: 1;
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.family-gallery figure {
  position: relative;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  background: var(--navy-soft);
  transition-delay: calc(var(--family-index, 0) * 70ms);
}

.family-gallery figure:nth-child(1) {
  --family-index: 1;
}

.family-gallery figure:nth-child(2) {
  --family-index: 2;
}

.family-gallery figure:nth-child(3) {
  --family-index: 3;
}

.family-gallery figure:nth-child(4) {
  --family-index: 4;
}

.family-gallery figure::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 5px;
  background: var(--cedar);
}

.family-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.family-gallery figure:hover img {
  transform: scale(1.025);
}

.family-gallery figcaption {
  position: absolute;
  left: 0;
  bottom: 5px;
  min-width: 52px;
  padding: 8px 10px 7px;
  background: var(--cedar);
  color: var(--white);
  font-family: var(--display);
  font-size: 24px;
  line-height: 1;
  text-align: center;
}

.proof {
  padding: 60px var(--page-gutter) 48px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(52px, 8vw, 120px);
}

blockquote,
.owner-story {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 500ms ease, transform 500ms ease;
}

blockquote {
  margin: 0;
}

blockquote > span {
  display: block;
  height: 68px;
  color: var(--cedar);
  font-family: Georgia, serif;
  font-size: 110px;
  font-weight: 700;
  line-height: 1;
}

blockquote p {
  margin-bottom: 28px;
  font-family: var(--display);
  font-size: clamp(44px, 3.25vw, 50px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

blockquote cite {
  display: block;
  padding-top: 20px;
  border-top: 3px solid var(--cedar);
  font-size: 17px;
  font-style: normal;
}

.owner-story {
  display: grid;
  grid-template-columns: minmax(250px, 0.9fr) minmax(280px, 1fr);
  align-items: center;
  gap: 40px;
}

.owner-story > img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: 54% 28%;
}

.owner-story h2 {
  margin-bottom: 24px;
  font-size: clamp(44px, 3.15vw, 48px);
}

.owner-story h2::after,
.estimate-copy h2::after {
  content: '';
  display: block;
  width: 44px;
  height: 3px;
  margin-top: 20px;
  background: var(--cedar);
}

.owner-story p {
  margin-bottom: 30px;
  font-size: 18px;
  line-height: 1.6;
}

.comparison {
  padding: clamp(68px, 7vw, 105px) var(--page-gutter);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.comparison-intro {
  max-width: 960px;
  margin-bottom: 42px;
}

.comparison-intro h2 {
  margin-bottom: 22px;
  font-size: clamp(52px, 4.8vw, 74px);
}

.comparison-intro p {
  max-width: 780px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
}

.comparison-table {
  margin-bottom: 34px;
  border-top: 4px solid var(--navy);
}

.comparison-row {
  min-height: 76px;
  display: grid;
  grid-template-columns: 0.72fr 1fr 1fr;
  align-items: stretch;
  border-bottom: 1px solid var(--line);
}

.comparison-row > * {
  margin: 0;
  padding: 20px 24px;
  display: flex;
  align-items: center;
}

.comparison-row > *:not(:last-child) {
  border-right: 1px solid var(--line);
}

.comparison-row > :nth-child(2) {
  background: #f4f9f7;
  color: var(--navy);
}

.comparison-row > :nth-child(2)::before {
  content: '\2713';
  margin-right: 10px;
  color: var(--cedar);
}

.comparison-head {
  min-height: 58px;
  background: var(--navy);
  color: var(--white);
  font-family: var(--display);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.comparison-head > :nth-child(2) {
  background: var(--cedar);
  color: var(--white);
}

.comparison-head > :nth-child(2)::before {
  content: none;
}

.faq {
  padding: clamp(68px, 7vw, 105px) var(--page-gutter);
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(54px, 8vw, 130px);
}

.faq-intro {
  position: sticky;
  top: 172px;
}

.faq-intro h2 {
  margin-bottom: 22px;
  font-size: clamp(48px, 4vw, 64px);
}

.faq-intro p {
  max-width: 520px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.faq-list {
  border-top: 4px solid var(--navy);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 25px 56px 25px 0;
  font-family: var(--display);
  font-size: clamp(23px, 2vw, 30px);
  line-height: 1.15;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: '+';
  position: absolute;
  top: 50%;
  right: 8px;
  color: var(--cedar);
  font-family: var(--body);
  font-size: 34px;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: '\2212';
}

.faq-list details p {
  max-width: 760px;
  margin: -4px 56px 25px 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.estimate {
  background-color: var(--cedar);
  background-image: url('./cedar-texture.webp');
  background-position: center;
  background-size: cover;
  color: var(--white);
}

.estimate-inner {
  min-height: 260px;
  padding: 38px var(--page-gutter);
  display: grid;
  grid-template-columns: 0.9fr 1.6fr;
  align-items: center;
  gap: clamp(46px, 4vw, 70px);
}

.estimate-copy h2 {
  margin-bottom: 24px;
  font-size: 40px;
}

.estimate-copy h2::after {
  background: rgba(255, 255, 255, 0.5);
}

.estimate-copy p {
  max-width: 430px;
  margin: 0 0 18px;
  font-size: 18px;
}

.estimate-copy ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
  font-size: 15px;
  font-weight: 600;
  list-style: none;
}

.estimate-copy li::before {
  content: '\2713';
  margin-right: 9px;
  color: var(--white);
}

.estimate-form {
  display: grid;
  grid-template-columns: 1fr 1fr 0.75fr 1.05fr auto;
  align-items: end;
  gap: 16px;
}

.estimate-form label {
  min-width: 0;
}

.estimate-form label > span {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
}

.estimate-form input,
.estimate-form select {
  width: 100%;
  height: 58px;
  padding: 0 15px;
  border: 2px solid transparent;
  border-radius: 2px;
  background: var(--paper);
  color: var(--navy);
  font-size: 15px;
  outline: none;
}

.estimate-form input:focus,
.estimate-form select:focus {
  border-color: var(--sea);
}

.form-note {
  grid-column: 1 / -1;
  margin: 2px 0 0;
  font-size: 14px;
  opacity: 0.9;
}

.form-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.estimate-form .button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.form-error {
  grid-column: 1 / -1;
  margin: 0;
  color: #ffdbd7;
  font-weight: 600;
}

.form-error a {
  color: inherit;
  text-underline-offset: 0.18em;
}

.form-success {
  align-items: center;
  gap: 18px;
}

.form-success:not([hidden]) {
  display: flex;
}

.form-success > svg {
  width: 54px;
  height: 54px;
  padding: 10px;
  border: 3px solid var(--sea);
  border-radius: 50%;
  fill: none;
  stroke: var(--sea);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.form-success strong {
  display: block;
  margin-bottom: 4px;
  font-size: 20px;
}

.form-success p {
  margin: 0;
}

.form-success button {
  margin-left: auto;
  padding: 12px 0;
  border: 0;
  border-bottom: 2px solid currentColor;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.site-footer {
  background: var(--navy);
  color: var(--white);
}

.wt4f-estimate-page .site-footer {
  width: 100%;
  margin: 0;
  padding: 0;
}

.footer-inner {
  min-height: 210px;
  padding: 44px var(--page-gutter);
  display: grid;
  grid-template-columns: 1.25fr 0.95fr 0.9fr 1fr 0.48fr;
  align-items: center;
  gap: 44px;
}

.footer-inner > *:not(:last-child) {
  min-height: 112px;
  padding-right: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(255, 255, 255, 0.45);
}

.footer-brand {
  display: grid !important;
  grid-template-columns: 96px 1fr;
  align-items: center;
  gap: 20px;
  text-decoration: none;
}

.footer-brand span {
  color: var(--cedar);
  font-family: var(--display);
  font-size: 23px;
  letter-spacing: 0.16em;
  line-height: 1.1;
  text-transform: uppercase;
}

.footer-brand strong {
  display: block;
  color: var(--white);
  font-size: 37px;
  letter-spacing: 0.01em;
}

.footer-inner address {
  gap: 12px;
  font-style: normal;
}

.footer-inner address a {
  text-decoration: none;
}

.footer-inner address a:hover,
.footer-inner address a:focus-visible {
  color: #ff7a35;
}

.footer-area strong {
  margin-bottom: 8px;
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-services strong {
  margin-bottom: 8px;
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-area p,
.footer-services p,
.copyright {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
}

.copyright a {
  color: #ff7a35;
  text-underline-offset: 4px;
}

.mobile-conversion-bar {
  display: none;
}

@media (max-width: 1180px) {
  .brand-copy {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr 1fr;
  }

  .hero-copy {
    padding-inline: var(--page-gutter);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .section-intro {
    position: static;
    margin-bottom: 52px;
  }

  .services-layout {
    height: auto;
    min-height: auto;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .service-wood,
  .service-vinyl,
  .service-aluminum,
  .service-gates {
    display: grid;
    grid-column: auto;
    grid-row: auto;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    align-items: start;
    padding-left: 0;
    gap: 18px;
    border-left: 0;
  }

  .service-gates img {
    display: block;
  }

  .service-wood img,
  .service-vinyl img,
  .service-aluminum img,
  .service-gates img {
    height: 300px;
  }

  .service-vinyl > div {
    padding-bottom: 0;
  }

  .proof {
    grid-template-columns: 1fr;
  }

  .family-intro {
    grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1.38fr);
  }

  .owner-story {
    max-width: 880px;
  }

  .comparison-row {
    grid-template-columns: 0.62fr 1fr 1fr;
  }

  .faq {
    grid-template-columns: 1fr;
  }

  .faq-intro {
    position: static;
  }

  .estimate-inner {
    grid-template-columns: 1fr;
  }

  .estimate-form {
    grid-template-columns: repeat(2, 1fr);
  }

  .estimate-form .button {
    width: 100%;
  }

  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner > *:not(:last-child) {
    border-right: 0;
  }
}

@media (max-width: 860px) {
  section[id],
  footer[id] {
    scroll-margin-top: 92px;
  }

  .header-inner {
    min-height: 92px;
    gap: 14px;
  }

  .brand img {
    width: 66px;
    height: 66px;
  }

  .header-mobile-cta {
    min-height: 46px;
    margin-left: auto;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--cedar);
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
    text-transform: uppercase;
  }

  .menu-toggle {
    position: relative;
    z-index: 2;
    width: 52px;
    height: 52px;
    padding: 13px;
    display: grid;
    align-content: center;
    gap: 8px;
    border: 2px solid var(--navy);
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle span:not(.sr-only) {
    display: block;
    height: 2px;
    background: var(--navy);
    transition: transform 180ms ease;
  }

  .menu-toggle[aria-expanded='true'] span:nth-of-type(2) {
    transform: translateY(5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded='true'] span:nth-of-type(3) {
    transform: translateY(-5px) rotate(-45deg);
  }

  .primary-nav {
    position: fixed;
    inset: 0;
    padding: 112px var(--page-gutter) 50px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    background: var(--paper);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-20px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .primary-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-nav > a:not(.button) {
    padding: 17px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--display);
    font-size: 32px;
    text-transform: uppercase;
  }

  .primary-nav .button {
    margin-top: 20px;
  }

  .hero {
    height: auto;
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-block: 64px 52px;
  }

  .hero h1 {
    font-size: clamp(58px, 14vw, 86px);
  }

  .hero-media {
    height: 560px;
    min-height: 560px;
  }

  .problem-bridge {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .problem-number {
    padding: 0 0 22px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    font-size: 78px;
  }

  .process {
    grid-template-columns: 1fr;
  }

  .family-legacy {
    padding-block: 64px;
  }

  .family-intro {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .family-number {
    min-height: 260px;
    padding: 0 0 52px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }

  .family-number span {
    font-size: 190px;
  }

  .family-story h2 {
    font-size: 66px;
  }

  .family-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-list {
    gap: 28px;
  }

  .process-list li:not(:last-child)::after {
    display: none;
  }

  .owner-story {
    grid-template-columns: 1fr;
  }

  .owner-story > img {
    max-width: 540px;
  }
}

@media (max-width: 620px) {
  :root {
    --page-gutter: 20px;
  }

  body {
    padding-bottom: 66px;
  }

  .header-inner {
    min-height: 84px;
    gap: 8px;
  }

  .brand {
    gap: 9px;
  }

  .brand img {
    width: 54px;
    height: 54px;
  }

  .brand-copy {
    min-width: 0;
    display: flex;
  }

  .brand-copy strong {
    font-size: clamp(20px, 6.1vw, 24px);
    letter-spacing: 0.015em;
  }

  .brand-copy span {
    gap: 6px;
    font-size: 8px;
    letter-spacing: 0.32em;
  }

  .header-mobile-cta {
    min-height: 42px;
    padding-inline: 10px;
    font-size: 11px;
  }

  .menu-toggle {
    width: 48px;
    height: 48px;
  }

  .hero-copy {
    padding-top: 48px;
  }

  .hero h1 {
    margin-bottom: 20px;
    font-size: clamp(52px, 13.8vw, 56px);
  }

  .hero-copy > p {
    font-size: 17px;
  }

  .hero-benefits {
    margin-bottom: 26px;
    font-size: 14px;
  }

  .button {
    min-height: 58px;
    padding-inline: 18px;
    font-size: 15px;
  }

  .hero-media {
    height: 450px;
    min-height: 450px;
  }

  .proof-strip {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    font-size: 15px;
  }

  .proof-strip span:not(:last-child)::after {
    display: none;
  }

  .problem-bridge {
    padding-block: 58px;
  }

  .problem-bridge h2 {
    font-size: 46px;
  }

  .fences,
  .proof {
    padding-block: 64px;
  }

  .family-legacy {
    padding-block: 58px;
  }

  .family-legacy::before {
    top: -70px;
    right: -30px;
    font-size: 390px;
  }

  .family-intro {
    gap: 40px;
  }

  .family-number {
    min-height: 220px;
    padding-bottom: 42px;
  }

  .family-number span {
    font-size: 166px;
  }

  .family-number strong {
    margin-top: 26px;
    font-size: 18px;
  }

  .family-story h2 {
    font-size: 52px;
  }

  .family-story > p {
    font-size: 18px;
  }

  .family-quote q {
    font-size: 28px;
  }

  .family-gallery {
    margin-top: 40px;
    gap: 8px;
  }

  .family-gallery figcaption {
    min-width: 44px;
    font-size: 20px;
  }

  .section-intro h2,
  .process-intro h2,
  .estimate-copy h2 {
    font-size: 52px;
  }

  .section-intro p {
    font-size: 17px;
  }

  .services-layout {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .service-wood img,
  .service-vinyl img,
  .service-aluminum img,
  .service-gates img {
    height: 270px;
  }

  .process {
    padding-block: 64px;
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .process-list li {
    padding: 22px 0;
    display: grid;
    grid-template-columns: 95px 1fr;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .process-list span {
    margin: 0;
    font-size: 72px;
  }

  .process-list span::after {
    display: none;
  }

  .process-list small {
    grid-column: 2;
  }

  blockquote > span {
    height: 54px;
    font-size: 82px;
  }

  blockquote p {
    font-size: 38px;
  }

  .owner-story h2 {
    font-size: 46px;
  }

  .owner-story > img {
    height: 430px;
  }

  .comparison,
  .faq {
    padding-block: 62px;
  }

  .comparison-intro h2,
  .faq-intro h2 {
    font-size: 46px;
  }

  .comparison-row,
  .comparison-head {
    grid-template-columns: 1fr;
  }

  .comparison-row {
    padding: 18px 0;
  }

  .comparison-row > * {
    min-height: 0;
    padding: 9px 15px;
    border-right: 0 !important;
  }

  .comparison-row > :first-child {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
  }

  .comparison-head {
    display: none;
  }

  .faq-list summary {
    padding-right: 44px;
    font-size: 24px;
  }

  .estimate-inner {
    padding-block: 58px;
  }

  .estimate-form {
    grid-template-columns: 1fr;
  }

  .form-success:not([hidden]) {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .form-success button {
    width: 100%;
    margin-left: 0;
    text-align: left;
  }

  .footer-inner {
    padding-block: 52px;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-inner > *:not(:last-child) {
    min-height: auto;
    padding: 0 0 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  }

  .footer-brand {
    grid-template-columns: 78px 1fr;
  }

  .footer-brand img {
    width: 78px;
    height: 78px;
  }

  .footer-brand strong {
    font-size: 31px;
  }

  .mobile-conversion-bar {
    position: fixed;
    z-index: 50;
    right: 0;
    bottom: 0;
    left: 0;
    height: 66px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid rgba(255, 255, 255, 0.24);
    box-shadow: 0 -10px 30px rgba(7, 31, 56, 0.18);
  }

  .mobile-conversion-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy);
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
    text-transform: uppercase;
  }

  .mobile-conversion-bar a:last-child {
    background: var(--cedar);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .service,
  .process-list li,
  .family-number,
  .family-story,
  .family-gallery figure,
  blockquote,
  .owner-story {
    opacity: 1;
    transform: none;
  }
}


body.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}
