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

:root {
  --color-page: #fff;
  --color-section-alt: #f4f7fb;
  --color-ink: #03172e;
  --color-muted: #34445a;
  --color-brand: #0066e8;
  --color-brand-hover: #004cb4;
  --color-brand-dark: #001b33;
  --color-accent: #0079ff;
  --color-blue: #0066df;
  --color-line: #dce3ec;
  --radius: 2px;
  --button-radius: 2px;
  --site-width: 1280px;
  --gutter: clamp(22px, 5.2vw, 76px);
  --section-space: 72px;
}

html { scroll-padding-top: 124px; }
body { font-size: 17px; line-height: 1.55; }
::selection { background: #0079ff; color: white; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #2495ff; outline-offset: 5px; }

.site-header {
  padding-block: 0;
  background: #fff;
  box-shadow: 0 2px 14px #001b3310;
  backdrop-filter: none;
}
.nav { min-height: 112px; gap: clamp(16px, 2.3vw, 36px); }
.brand { flex-shrink: 0; }
.brand-logo { display: block; width: 124px; height: 124px; object-fit: contain; }
.nav-links { gap: clamp(20px, 3vw, 42px); flex-wrap: nowrap; }
.nav-links a {
  position: relative;
  color: var(--color-ink);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.025em;
  text-transform: none;
  white-space: nowrap;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}
.nav-links a:hover::after, .nav-links a:focus-visible::after { transform: scaleX(1); }
.header-phone {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
  color: #005acb;
  text-decoration: none;
  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: 800;
  letter-spacing: -.035em;
}
.header-phone svg { width: 26px; height: 26px; transition: transform 200ms ease; }
.header-phone:hover svg { transform: rotate(-12deg); }

.button, .nav-action .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 58px;
  padding: 15px 26px;
  background: linear-gradient(165deg, #0879ff, #0052c2);
  border: 1px solid #1685ff;
  border-radius: 2px;
  box-shadow: 0 3px 0 #002b6014;
  color: #fff;
  font: 700 17px/1.2 Inter, sans-serif;
  letter-spacing: -.025em;
  text-transform: none;
  text-decoration: none;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}
.button::after { content: "→"; font-size: 24px; line-height: 1; transition: transform 220ms ease; }
.nav-action .button { min-height: 52px; padding: 13px 20px; font-size: 15px; white-space: nowrap; }
.button:hover::after { transform: translateX(4px); }
.button:active { transform: translateY(0); }
.button-outline {
  background: transparent;
  border: 2px solid #d6e8f7;
  box-shadow: none;
}
.button-outline:hover { background: #ffffff10; }

.home-hero.hero-image-ready {
  --hero-overlay: linear-gradient(90deg, rgba(0, 20, 39, .96) 0%, rgba(0, 25, 47, .85) 26%, rgba(0, 26, 49, .35) 54%, rgba(0, 20, 39, .02) 82%);
}
.home-hero.hero-with-image { min-height: 700px; padding-block: 58px 64px; }
.home-hero .inner { padding-block: 0; }
.home-hero h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(54px, 6.2vw, 88px);
  font-weight: 900;
  letter-spacing: -.055em;
  line-height: .99;
}
.home-hero h1 span { display: block; }
.home-hero.hero-with-image h1 { text-shadow: 0 2px 15px #00142b20; }
.home-hero p:not(.section-eyebrow) {
  max-width: 515px;
  font-size: 18px;
  line-height: 1.5;
  color: #fff;
}
.home-hero p + p { font-size: 15px !important; color: #d3e4f3 !important; }
.home-hero p a { text-underline-offset: 4px; }
.home-hero .button { min-height: 64px; font-size: 19px; margin-top: 28px; }

.section h2 {
  max-width: 1000px;
  font-weight: 900;
  font-size: clamp(34px, 4.3vw, 58px);
  line-height: 1.06;
  letter-spacing: -.045em;
  margin-bottom: 20px;
}
.section .section-eyebrow {
  max-width: none;
  margin-bottom: 13px;
  color: #0076f5;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1.4;
}
.section .section-lede { max-width: 810px; font-size: 18px; }
.home-services { padding-block: 48px 52px; background: #fff !important; }
.home-services h2 { max-width: 1080px; }
.home-services .service-note-grid { gap: 26px; margin-top: 30px; }
.home-services .service-note-grid article {
  padding: 0 0 26px;
  overflow: hidden;
  border-radius: 0;
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
}
.service-photo-frame { overflow: hidden; }
.fencing-service-photo {
  aspect-ratio: 16 / 9;
  margin: 0;
  border-radius: 0;
  transition: transform 600ms cubic-bezier(.2,.7,.2,1);
}
.home-services .service-note-grid h3 {
  margin: 22px 24px 9px;
  font-size: clamp(23px, 2.2vw, 30px);
  font-weight: 900;
  letter-spacing: -.04em;
  text-transform: none;
  color: var(--color-ink);
}
.home-services .service-note-grid article p { margin-inline: 24px; line-height: 1.55; }
.home-services .section-outro { margin: 24px 0 0; text-align: left; max-width: none; font-size: 15px; }
.home-services .section-outro a { color: #005dca; text-underline-offset: 4px; }

.home-why-us {
  position: relative;
  overflow: hidden;
  background: #001c35 url("/_assets/media/images/river-landscape.svg") center bottom / cover no-repeat !important;
  color: #fff;
  padding-block: 54px;
}
.experience-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 46px; align-items: center; }
.home-why-us .experience-heading h2 { display: flex; align-items: center; gap: 22px; margin: 0; max-width: none; }
.experience-number {
  position: relative;
  font-size: clamp(125px, 15vw, 210px);
  font-weight: 900;
  letter-spacing: -.09em;
  line-height: 1;
  background: linear-gradient(#fff 25%, #c5d7e7 100%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.experience-number::after {
  content: "";
  position: absolute;
  width: 112%;
  height: 10px;
  background: #007cff;
  bottom: -10px;
  left: 0;
  border-radius: 100% 0;
  transform: rotate(-9deg);
}
.experience-label { font-size: clamp(27px, 2.9vw, 41px); letter-spacing: -.045em; line-height: 1.04; }
.experience-label > span { color: #73c6ff; }
.home-why-us .section-copy-stack { border-left: 2px solid #0788ff; padding-left: 42px; gap: 16px; }
.home-why-us .section-copy-stack p { color: #f1f6fc; font-size: 16px; line-height: 1.5; margin: 0; }
.home-why-us .button { justify-self: start; margin-top: 8px; }

.home-business-showcase { background: #fff !important; }
.fencing-gallery { gap: 20px; }
.gallery-photo { display: block; overflow: hidden; border-radius: 2px; background: #e9eef4; }
.fencing-gallery img { border-radius: 0; transition: transform 600ms cubic-bezier(.2,.7,.2,1), filter 400ms ease; }
.reviews { background: #f3f7fb !important; }
.reviews-placeholder:has(.integration-placeholder) {
  min-height: 220px;
  margin-top: 28px;
  border: 1px dashed #bbccdd;
  background: #fff;
}
.reviews-placeholder .integration-placeholder { text-align: center; font-size: 15px; }
.faq { background: #fff !important; }
.faq .split-section { grid-template-columns: .85fr 1.15fr; gap: 60px; }
.faq-list { border-radius: 0; border-inline: 0; }
.faq-list details { padding: 23px 4px; background: transparent; transition: background 220ms ease; }
.faq-list summary { font-size: 17px; letter-spacing: -.025em; }
.faq-list summary::after { font-size: 24px; font-weight: 400; }
.faq-list details[open] summary { color: #0064dd; }
.faq-list p { font-size: 16px; padding-right: 28px; }
.faq-list details[open] p { animation: answer-in 300ms ease both; }
.faq-list a { color: #0064dd; text-underline-offset: 3px; }
.final-cta { min-height: 450px; }
body[data-page="home"] .final-cta::before { background: linear-gradient(90deg, #001b33ed, #001b33bb); }
.final-cta h2 { max-width: 880px; font-size: clamp(38px, 4.8vw, 66px); }
.final-cta .section-eyebrow { color: #66baff; }
.final-cta p { max-width: 720px; }
.final-cta .button { margin-block: 12px 0; }
.final-cta .button + p { font-size: 16px; }
.final-cta p:last-child { font-size: 14px; }
.footer-logo { width: 104px; height: 104px; object-fit: contain; }
.footer-lockup { gap: 14px; }
.footer-lockup strong { font-size: 17px; }
.footer-lockup em { font-size: 10px; letter-spacing: .12em; }
.footer-brand { gap: 16px; }
.footer-content { grid-template-columns: 1.2fr .9fr .9fr; gap: 50px; padding-bottom: 44px; }
.footer-column h2 { color: #0066df; }
.footer-links a, .footer-visit address, .footer-visit a, .footer-brand p { font-size: 14px; }
.footer-links a { transition: color 160ms ease, translate 160ms ease; }
.footer-links a:hover { translate: 3px 0; }
.footer-bottom { display: flex; font-size: 12px; }
.lead-modal-panel { border-top: 4px solid #087aff; border-radius: 3px; }
.lead-modal-panel h2 { font-weight: 900; letter-spacing: -.04em; padding-right: 24px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: 2px solid #087aff; outline-offset: 2px; }

.scroll-reveal { opacity: 0; translate: 0 28px; }
.scroll-reveal.is-visible { opacity: 1; translate: 0 0; }
.scroll-reveal {
  transition: opacity 650ms ease, translate 650ms cubic-bezier(.2,.7,.2,1), transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}
@keyframes answer-in { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }
@media (hover: hover) and (pointer: fine) {
  .button:hover { transform: translateY(-3px); box-shadow: 0 9px 24px #0066df30; }
  .home-services .service-note-grid article:hover { transform: translateY(-6px); border-color: #8cbcf2; box-shadow: 0 16px 32px #00264c14; }
  .home-services article:hover .fencing-service-photo { transform: scale(1.045); }
  .gallery-photo:hover img { transform: scale(1.055); filter: saturate(1.08); }
  .faq-list details:hover { background: #f4f8fd; }
}
.gallery-photo:focus-visible img { transform: scale(1.04); }

@media (max-width: 1150px) {
  .header-phone { font-size: 18px; }
  .header-phone span { display: none; }
  .header-phone svg { width: 28px; height: 28px; }
  .experience-layout { gap: 28px; }
  .home-why-us .section-copy-stack { padding-left: 28px; }
  .experience-label { font-size: 30px; }
  .experience-number { font-size: 150px; }
}
@media (max-width: 800px) {
  :root { --section-space: 54px; }
  html { scroll-padding-top: 100px; }
  .nav { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 14px; min-height: 88px; }
  .brand-logo { width: 88px; height: 88px; }
  .nav-toggle { display: grid; grid-column: 3; grid-row: 1; width: 42px; height: 42px; }
  .nav-action { grid-column: 2; grid-row: 1; }
  .nav-action .button { min-height: 46px; padding: 12px 16px; font-size: 13px; gap: 12px; }
  .header-phone { display: none; }
  .nav-links { display: none; grid-column: 1 / -1; margin: 0; width: 100%; padding: 10px 0 18px; border-top: 1px solid var(--color-line); }
  .nav.nav-open .nav-links { display: grid; justify-items: start; gap: 0; }
  .nav-links a { min-height: 46px; font-size: 16px; }
  .home-hero.hero-with-image { min-height: 680px; }
  .home-hero h1 { font-size: clamp(52px, 8.8vw, 70px); max-width: 650px; }
  .home-hero.hero-image-ready { --hero-overlay: linear-gradient(90deg, #00172ef2, #00172eb8 55%, #00172e38); }
  .home-services .service-note-grid { gap: 18px; }
  .home-services .service-note-grid h3 { font-size: 23px; margin-inline: 18px; }
  .home-services .service-note-grid article p { margin-inline: 18px; font-size: 15px; }
  .experience-layout { grid-template-columns: 1fr; gap: 40px; }
  .home-why-us .section-copy-stack { border-left: 0; border-top: 1px solid #1387e8; padding: 28px 0 0; }
  .experience-number { font-size: 180px; }
  .experience-label { font-size: 38px; }
  .faq .split-section { grid-template-columns: 1fr; gap: 22px; }
  .footer-content { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .nav { gap: 8px; }
  .nav-action .button { font-size: 12px; padding-inline: 12px; gap: 8px; }
  .nav-action .button::after { font-size: 20px; }
  .brand-logo { width: 78px; height: 78px; }
  .home-hero.hero-with-image { min-height: 660px; padding-block: 48px; }
  .home-hero h1 { font-size: clamp(40px, 10vw, 52px); letter-spacing: -.055em; }
  .home-hero h1 span:last-child { white-space: nowrap; }
  .home-hero p:not(.section-eyebrow) { font-size: 16px; line-height: 1.5; }
  .home-hero p + p { font-size: 14px !important; }
  .home-hero .button { min-height: 56px; font-size: 16px; }
  .home-hero.hero-image-ready { --hero-overlay: linear-gradient(90deg, #00172ef0, #00172eb5); }
  .home-hero .hero-background-image { object-position: 60% center; }
  .section h2 { font-size: 36px; }
  .section .section-eyebrow { font-size: 11px; letter-spacing: .12em; }
  .section .section-lede { font-size: 16px; }
  .home-services .service-note-grid { grid-template-columns: 1fr; gap: 24px; }
  .home-services .service-note-grid h3 { font-size: 26px; }
  .experience-number { font-size: 136px; }
  .experience-label { font-size: clamp(23px, 6vw, 29px); }
  .home-why-us .experience-heading h2 { gap: 17px; }
  .home-why-us .button { font-size: 15px; }
  .fencing-gallery { gap: 16px; }
  .final-cta { min-height: 490px; }
  .final-cta h2 { font-size: 40px; }
  .footer-content { grid-template-columns: 1fr; gap: 30px; }
  .footer-lockup strong { font-size: 16px; }
  .lead-modal { padding: 12px; }
  .lead-modal-panel { padding: 26px 18px; max-height: calc(100dvh - 24px); }
  .lead-capture-placeholder:has(.lead-capture-form) { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .scroll-reveal { opacity: 1; translate: none; }
  .button:hover, .home-services .service-note-grid article:hover,
  .gallery-photo:hover img, .gallery-photo:focus-visible img,
  .home-services article:hover .fencing-service-photo { transform: none; }
}

/* Local demo lead form */
.lead-modal-panel { width: min(500px, 100%); }
.lead-capture-placeholder:has(.mock-lead-form) {
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.mock-lead-form { gap: 18px; }
.mock-lead-form .mock-form-intro { font-size: 15px; margin: 0 0 2px; }
.mock-lead-form .button { width: 100%; margin-top: 4px; }
.mock-lead-form .mock-form-note { font-size: 12px; text-align: center; line-height: 1.5; }
.mock-lead-form .lead-form-status { font-size: 14px; }
.mock-lead-form .lead-form-status[data-status="success"] { color: #165345; }
.mock-lead-form input::placeholder { color: #8491a0; font-weight: 400; }
