/* =========================
   Base
========================= */

:root {
  --black: #080808;
  --black-soft: #111111;
  --charcoal: #1b1b1b;
  --gray-900: #292929;
  --gray-700: #5f5f5f;
  --gray-500: #8e8e8e;
  --gray-300: #d4d4d4;
  --gray-200: #e8e8e8;
  --gray-100: #f5f5f3;
  --white: #ffffff;
  --accent: #f39a1f;
  --accent-dark: #cf7410;
  --accent-light: #ffc56f;
  --max-width: 1180px;
  --shadow: 0 20px 55px rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--black-soft);
  font-family: "Inter", sans-serif;
  line-height: 1.65;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.section {
  padding: 100px 0;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--black);
  font-family: "Barlow Condensed", sans-serif;
  line-height: 0.98;
  text-transform: uppercase;
}

h1 {
  margin-bottom: 28px;
  font-size: clamp(4rem, 8vw, 7.4rem);
  letter-spacing: -0.035em;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.8rem, 5vw, 4.7rem);
  letter-spacing: -0.025em;
}

h3 {
  margin-bottom: 14px;
  font-size: 1.8rem;
}

p {
  margin-top: 0;
  color: var(--gray-700);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--accent-light);
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 38px;
  height: 2px;
  background: currentColor;
  content: "";
}

.eyebrow-dark {
  color: var(--accent-dark);
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border: 2px solid var(--accent);
  background: var(--accent);
  color: var(--black);
  font-weight: 800;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--accent-light);
  border-color: var(--accent-light);
}

.button-small {
  min-height: 43px;
  padding: 10px 18px;
  font-size: 0.82rem;
}

.button-outline {
  border-color: rgba(255, 255, 255, 0.5);
  background: transparent;
  color: var(--white);
}

.button-outline:hover {
  border-color: var(--white);
  background: var(--white);
  color: var(--black);
}

/* =========================
   Header
========================= */

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(14px);
}

.nav-container {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  width: 138px;
  flex: 0 0 auto;
}

.brand img {
  width: 100%;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav > a:not(.button) {
  position: relative;
  color: var(--white);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-nav > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.site-nav > a:not(.button):hover::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 6px 0;
  background: var(--white);
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

/* =========================
   Hero
========================= */

.hero {
  position: relative;
  display: grid;
  min-height: 900px;
  align-items: center;
  overflow: hidden;
  padding: 180px 0 100px;
  background:
    radial-gradient(circle at 78% 42%, rgba(243, 154, 31, 0.26), transparent 28%),
    linear-gradient(115deg, #080808 0%, #111111 55%, #242424 100%);
}

.hero::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 46%;
  height: 100%;
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.85), rgba(8, 8, 8, 0.12)),
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.04) 0,
      rgba(255, 255, 255, 0.04) 2px,
      transparent 2px,
      transparent 20px
    );
  content: "";
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.25;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 70px 70px;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 80px;
}

.hero-copy {
  max-width: 760px;
}

.hero h1 {
  color: var(--white);
}

.hero-copy > p {
  max-width: 650px;
  margin-bottom: 36px;
  color: #c9c9c9;
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-trust {
  display: grid;
  max-width: 690px;
  margin-top: 62px;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-trust div {
  padding: 22px 18px 0 0;
}

.hero-trust strong,
.hero-trust span {
  display: block;
}

.hero-trust strong {
  margin-bottom: 2px;
  color: var(--white);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.4rem;
  text-transform: uppercase;
}

.hero-trust span {
  color: var(--gray-500);
  font-size: 0.82rem;
}

.hero-mark {
  display: flex;
  justify-content: center;
}

.mark-panel {
  position: relative;
  width: min(100%, 410px);
  padding: 75px 40px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.01)),
    rgba(0, 0, 0, 0.24);
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.32);
  text-align: center;
  transform: rotate(2deg);
}

.mark-panel::before,
.mark-panel::after {
  position: absolute;
  width: 46px;
  height: 46px;
  border-color: var(--accent);
  content: "";
}

.mark-panel::before {
  top: 16px;
  left: 16px;
  border-top: 3px solid var(--accent);
  border-left: 3px solid var(--accent);
}

.mark-panel::after {
  right: 16px;
  bottom: 16px;
  border-right: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
}

.mark-panel span,
.mark-panel strong,
.mark-panel small {
  display: block;
}

.mark-panel span {
  color: var(--white);
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(3.4rem, 6vw, 5.3rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 0.9;
}

.mark-panel strong {
  margin-top: 10px;
  color: var(--accent);
  font-size: 1.3rem;
  letter-spacing: 0.32em;
}

.mark-panel small {
  margin-top: 24px;
  color: var(--gray-300);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* =========================
   Intro
========================= */

.intro-section {
  background: var(--gray-100);
}

.intro-layout {
  display: grid;
  align-items: end;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
}

.intro-layout h2 {
  max-width: 700px;
  margin-bottom: 0;
}

.intro-layout > p {
  margin-bottom: 6px;
  font-size: 1.05rem;
}

/* =========================
   Services
========================= */

.section-heading {
  max-width: 760px;
  margin-bottom: 54px;
}

.section-heading > p {
  max-width: 650px;
  font-size: 1.02rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--gray-300);
  border-left: 1px solid var(--gray-300);
}

.service-card {
  position: relative;
  min-height: 300px;
  padding: 42px 34px;
  overflow: hidden;
  border-right: 1px solid var(--gray-300);
  border-bottom: 1px solid var(--gray-300);
  background: var(--white);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.service-card::after {
  position: absolute;
  right: -30px;
  bottom: -65px;
  width: 150px;
  height: 150px;
  border: 18px solid rgba(243, 154, 31, 0.08);
  border-radius: 50%;
  content: "";
}

.service-card:hover {
  z-index: 2;
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.service-number {
  display: inline-block;
  margin-bottom: 55px;
  color: var(--accent-dark);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
}

.service-card h3 {
  font-size: 2rem;
}

.service-card p {
  max-width: 310px;
  margin-bottom: 0;
}

/* =========================
   About
========================= */

.about-section {
  background: var(--gray-100);
}

.about-layout {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
}

.about-visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.5)),
    linear-gradient(135deg, #343434, #111111);
}

.fence-illustration {
  position: absolute;
  right: 50px;
  bottom: 110px;
  left: 50px;
  display: flex;
  align-items: end;
  gap: 12px;
  z-index: 1;
}

.fence-illustration::before,
.fence-illustration::after {
  position: absolute;
  right: 0;
  left: 0;
  height: 26px;
  background: var(--accent-dark);
  content: "";
}

.fence-illustration::before {
  top: 120px;
}

.fence-illustration::after {
  bottom: 75px;
}

.fence-post {
  position: relative;
  z-index: 2;
  width: 20%;
  height: 270px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent),
    var(--accent);
  clip-path: polygon(50% 0, 100% 12%, 100% 100%, 0 100%, 0 12%);
}

.fence-post.tall {
  height: 330px;
}

.experience-card {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  max-width: 320px;
  flex-direction: column;
  padding: 28px;
  background: var(--white);
  box-shadow: var(--shadow);
  z-index: 3;
}

.experience-card strong {
  color: var(--black);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.6rem;
  text-transform: uppercase;
}

.experience-card span {
  color: var(--gray-700);
  font-size: 0.84rem;
}

.about-copy > p {
  font-size: 1.01rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  color: var(--black);
  font-weight: 800;
  text-transform: uppercase;
}

.text-link span {
  color: var(--accent-dark);
  font-size: 1.3rem;
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateX(5px);
}

/* =========================
   Why Us
========================= */

.why-section {
  background:
    radial-gradient(circle at 100% 0, rgba(243, 154, 31, 0.16), transparent 30%),
    var(--black-soft);
}

.section-heading-light h2 {
  color: var(--white);
}

.section-heading-light p {
  color: var(--gray-300);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.why-grid article {
  min-height: 300px;
  padding: 42px 30px 24px 0;
}

.why-grid article + article {
  padding-left: 30px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.why-grid span {
  display: block;
  margin-bottom: 65px;
  color: var(--accent);
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
}

.why-grid h3 {
  color: var(--white);
}

.why-grid p {
  margin-bottom: 0;
  color: var(--gray-500);
}

/* =========================
   Swipeable Project Gallery
========================= */

.heading-row {
  display: grid;
  max-width: none;
  align-items: end;
  grid-template-columns: 1fr 0.55fr;
  gap: 80px;
}

.heading-row h2 {
  margin-bottom: 0;
}

.gallery-wrapper {
  position: relative;
}

.project-carousel {
  display: grid;
  grid-auto-columns: minmax(320px, 42%);
  grid-auto-flow: column;
  gap: 22px;

  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: inline mandatory;
  -webkit-overflow-scrolling: touch;

  padding: 4px 4px 22px;

  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--gray-200);
}

.project-carousel:focus-visible {
  outline: 3px solid rgba(243, 154, 31, 0.45);
  outline-offset: 5px;
}

.project-carousel::-webkit-scrollbar {
  height: 8px;
}

.project-carousel::-webkit-scrollbar-track {
  background: var(--gray-200);
}

.project-carousel::-webkit-scrollbar-thumb {
  background: var(--accent);
}

.gallery-card {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(243, 154, 31, 0.12), transparent 45%),
    var(--black-soft);
  scroll-snap-align: start;
  box-shadow: var(--shadow);
}

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

.gallery-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.92),
    transparent 55%
  );
  content: "";
}

.gallery-card-content {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 28px;
}

.gallery-card-content h3 {
  margin-bottom: 5px;
  color: var(--white);
  font-size: 1.9rem;
}

.gallery-card-content p {
  margin-bottom: 0;
  color: var(--accent-light);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-card:hover img {
  transform: scale(1.04);
}

.gallery-arrow {
  position: absolute;
  z-index: 5;
  top: 50%;

  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;

  border: 0;
  background: var(--accent);
  color: var(--black);

  font-size: 1.5rem;
  cursor: pointer;

  transform: translateY(-50%);
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.gallery-arrow:hover {
  background: var(--accent-light);
  transform: translateY(-50%) scale(1.04);
}

.gallery-arrow-left {
  left: -26px;
}

.gallery-arrow-right {
  right: -26px;
}

.gallery-hint {
  display: none;
  margin: 12px 0 0;
  color: var(--gray-700);
  font-size: 0.82rem;
  text-align: center;
}

@media (max-width: 820px) {
  .project-carousel {
    grid-auto-columns: 78%;
    gap: 16px;
  }

  .gallery-card,
  .gallery-card img {
    min-height: 390px;
  }

  .gallery-arrow {
    display: none;
  }

  .gallery-hint {
    display: block;
  }
}

@media (max-width: 520px) {
  .project-carousel {
    grid-auto-columns: 88%;
  }

  .gallery-card,
  .gallery-card img {
    min-height: 340px;
  }

  .gallery-card-content {
    padding: 22px;
  }
}


/* =========================
   Quote Form
========================= */

.quote-section {
  background:
    linear-gradient(115deg, rgba(0, 0, 0, 0.94), rgba(18, 18, 18, 0.92)),
    var(--black);
}

.quote-layout {
  display: grid;
  align-items: start;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 90px;
}

.quote-copy h2 {
  color: var(--white);
}

.quote-copy > p {
  max-width: 510px;
  color: var(--gray-300);
}

.contact-details {
  display: grid;
  margin-top: 48px;
  gap: 20px;
}

.contact-details a,
.contact-details div {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-details span,
.contact-details strong {
  display: block;
}

.contact-details span {
  margin-bottom: 5px;
  color: var(--gray-500);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-details strong {
  color: var(--white);
  font-size: 1.05rem;
}

.quote-form {
  padding: 42px;
  background: var(--white);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  margin-bottom: 7px;
  color: var(--black);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--gray-300);
  border-radius: 0;
  outline: none;
  background: var(--gray-100);
  color: var(--black);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.field input,
.field select {
  min-height: 52px;
  padding: 0 14px;
}

.field textarea {
  min-height: 150px;
  padding: 14px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent-dark);
  box-shadow: 0 0 0 3px rgba(243, 154, 31, 0.14);
}

.field .input-error {
  border-color: #a62222;
}

.form-button {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.form-status {
  min-height: 24px;
  margin: 14px 0 0;
  font-size: 0.86rem;
  font-weight: 600;
}

.form-status.success {
  color: #1d702e;
}

.form-status.error {
  color: #a62222;
}

/* =========================
   Contact Strip & Footer
========================= */

.contact-strip {
  padding: 72px 0;
  background: var(--accent);
}

.contact-strip-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.contact-strip h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.contact-strip .eyebrow-dark {
  color: var(--black);
}

.contact-strip-actions {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.contact-strip .button {
  border-color: var(--black);
  background: var(--black);
  color: var(--white);
}

.contact-strip .button:hover {
  background: var(--charcoal);
}

.phone-link {
  color: var(--black);
  font-weight: 800;
}

.site-footer {
  padding: 75px 0 22px;
  background: var(--black);
}

.footer-layout {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 0.7fr);
  gap: 54px;
}

.footer-brand img {
  width: 190px;
  margin-bottom: 20px;
}

.footer-brand p {
  max-width: 370px;
  color: var(--gray-500);
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-column h3 {
  margin-bottom: 8px;
  color: var(--white);
  font-size: 1.35rem;
}

.footer-column a,
.footer-column span {
  color: var(--gray-500);
  font-size: 0.88rem;
}

.footer-column a:hover {
  color: var(--accent);
}

.footer-bottom {
  margin-top: 55px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
  margin-bottom: 0;
  color: var(--gray-500);
  font-size: 0.78rem;
}

/* =========================
   Responsive
========================= */

@media (max-width: 1020px) {
  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-mark {
    display: none;
  }

  .hero {
    min-height: 820px;
  }

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

  .about-layout,
  .quote-layout {
    grid-template-columns: 1fr;
  }

  .about-visual {
    max-width: 760px;
  }

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

  .why-grid article:nth-child(3) {
    border-left: 0;
  }

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

  .footer-layout {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer-column:last-child {
    grid-column: 2 / 4;
  }
}

@media (max-width: 820px) {
  .site-header {
    z-index: 10000;
  }

  .nav-container {
    min-height: 76px;
  }

  .brand {
    width: 118px;
  }

  .menu-toggle {
    position: relative;
    z-index: 10001;
    display: block;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    z-index: 9999;
    top: 76px;
    right: 0;
    bottom: 0;
    left: 0;

    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;

    width: 100%;
    height: calc(100dvh - 76px);
    padding: 24px 24px 40px;

    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;

    background: #080808;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(-8px);
    transition:
      opacity 180ms ease,
      transform 180ms ease,
      visibility 180ms ease;
  }

  .site-nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav > a:not(.button) {
    display: flex;
    min-height: 64px;
    align-items: center;
    padding: 18px 0;

    border-bottom: 1px solid rgba(255, 255, 255, 0.14);

    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-transform: uppercase;
  }

  .site-nav > a:not(.button)::after {
    display: none;
  }

  .site-nav .button {
    width: 100%;
    min-height: 56px;
    margin-top: 28px;
    flex-shrink: 0;
  }

  .intro-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .heading-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-strip-layout {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-strip-actions {
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .section {
    padding: 78px 0;
  }

  h1 {
    font-size: clamp(3.35rem, 17vw, 5.2rem);
  }

  h2 {
    font-size: clamp(2.45rem, 12vw, 3.7rem);
  }

  .hero {
    min-height: auto;
    padding: 145px 0 75px;
  }

  .hero-actions {
    flex-direction: column;
  }

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

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

  .hero-trust div {
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

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

  .service-card {
    min-height: 260px;
  }

  .about-visual {
    min-height: 420px;
  }

  .fence-illustration {
    right: 24px;
    bottom: 60px;
    left: 24px;
    gap: 7px;
  }

  .fence-post {
    height: 220px;
  }

  .fence-post.tall {
    height: 270px;
  }

  .experience-card {
    max-width: 270px;
  }

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

  .why-grid article,
  .why-grid article + article {
    min-height: 0;
    padding: 30px 0;
    border-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .why-grid span {
    margin-bottom: 30px;
  }

  .project-grid {
    grid-auto-rows: 300px;
    grid-template-columns: 1fr;
  }

  .project-large {
    grid-row: auto;
  }

  .quote-form {
    padding: 28px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-layout {
    grid-template-columns: 1fr;
  }

  .footer-column:last-child {
    grid-column: auto;
  }
}

/* =========================
   Form Sending State
========================= */

.form-button {
  position: relative;
  gap: 12px;
}

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

.button-spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(8, 8, 8, 0.25);
  border-top-color: var(--black);
  border-radius: 50%;
  animation: button-spin 700ms linear infinite;
}

.form-button.is-sending .button-spinner {
  display: inline-block;
}

@keyframes button-spin {
  to { transform: rotate(360deg); }
}

/* =========================
   Site Toast
========================= */

.site-toast {
  position: fixed;
  z-index: 20000;
  right: 24px;
  bottom: 24px;
  display: flex;
  max-width: min(420px, calc(100% - 32px));
  align-items: flex-start;
  gap: 12px;
  padding: 17px 20px;
  border-left: 5px solid var(--accent);
  background: var(--white);
  box-shadow: 0 22px 65px rgba(0, 0, 0, 0.28);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(18px);
  transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease;
}

.site-toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-toast.success { border-left-color: #25833b; }
.site-toast.error { border-left-color: #b12828; }

.site-toast-icon {
  display: grid;
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--black);
  font-size: 0.82rem;
  font-weight: 900;
}

.site-toast.success .site-toast-icon {
  background: #25833b;
  color: var(--white);
}

.site-toast.error .site-toast-icon {
  background: #b12828;
  color: var(--white);
}

.site-toast-message {
  color: var(--black-soft);
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.45;
}

/* =========================
   Gallery Lightbox
========================= */

.gallery-card { cursor: zoom-in; }

.gallery-card:focus-visible {
  outline: 4px solid var(--accent);
  outline-offset: 4px;
}

.lightbox {
  position: fixed;
  z-index: 15000;
  inset: 0;
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) 80px;
  align-items: center;
  padding: 42px 24px;
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-content {
  display: flex;
  width: min(100%, 1100px);
  max-height: calc(100vh - 84px);
  margin: 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox-content img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 170px);
  object-fit: contain;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
}

.lightbox-content figcaption {
  display: flex;
  width: 100%;
  max-width: 900px;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
}

.lightbox-content strong {
  color: var(--white);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.7rem;
  text-transform: uppercase;
}

.lightbox-content span {
  color: var(--accent-light);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 2.6rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-nav {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  justify-self: center;
  border: 0;
  background: var(--accent);
  color: var(--black);
  font-size: 1.5rem;
  cursor: pointer;
}

body.lightbox-open { overflow: hidden; }

@media (max-width: 820px) {
  .site-nav > a:not(.button),
  .site-nav .button {
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 200ms ease, transform 200ms ease, background 180ms ease;
  }

  .site-nav.open > a:not(.button),
  .site-nav.open .button {
    opacity: 1;
    transform: translateY(0);
  }

  .site-nav.open > a:nth-child(1) { transition-delay: 35ms; }
  .site-nav.open > a:nth-child(2) { transition-delay: 65ms; }
  .site-nav.open > a:nth-child(3) { transition-delay: 95ms; }
  .site-nav.open > a:nth-child(4) { transition-delay: 125ms; }
  .site-nav.open > a:nth-child(5) { transition-delay: 155ms; }
  .site-nav.open > a:nth-child(6) { transition-delay: 185ms; }

  .lightbox {
    grid-template-columns: 1fr;
    padding: 70px 12px 28px;
  }

  .lightbox-nav {
    position: absolute;
    bottom: 22px;
  }

  .lightbox-previous { left: calc(50% - 66px); }
  .lightbox-next { right: calc(50% - 66px); }

  .lightbox-content {
    max-height: calc(100vh - 150px);
    justify-content: flex-start;
  }

  .lightbox-content img {
    max-height: calc(100vh - 245px);
  }

  .lightbox-content figcaption {
    padding: 16px 12px 0;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
  }

  .site-toast {
    right: 16px;
    bottom: 16px;
    left: 16px;
    max-width: none;
  }
}

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

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