:root {
  --charcoal: #181a1f;
  --charcoal-2: #23262d;
  --steel: #5f6670;
  --steel-light: #e7e9ec;
  --paper: #ffffff;
  --off-white: #f5f6f4;
  --gold: #c99b35;
  --gold-dark: #9d7422;
  --line: #d9dde2;
  --shadow: 0 16px 40px rgba(18, 22, 27, 0.12);
  --header-height: 74px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--charcoal);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--charcoal);
  background: var(--gold);
  border-radius: 4px;
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-160%);
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(201, 155, 53, 0.48);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: var(--paper);
  background: rgba(24, 26, 31, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--paper);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  min-width: 0;
  white-space: nowrap;
}

.brand span {
  min-width: 0;
}

.brand-logo {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px;
}

.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  right: 16px;
  left: 16px;
  max-height: calc(100dvh - 72px);
  overflow-y: auto;
  padding: 14px;
  background: var(--charcoal-2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
}

.site-nav.is-open {
  display: grid;
}

.nav-backdrop,
.mobile-cart-button {
  display: none;
}

.site-nav a,
.nav-dropdown-toggle {
  padding: 12px;
  color: var(--paper);
  font-size: 0.95rem;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus-visible {
  color: var(--gold);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: stretch;
}

.nav-shop-link {
  min-height: 44px;
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  border-radius: 4px 0 0 4px;
}

.nav-dropdown-toggle {
  display: flex;
  width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  padding: 0;
  background: transparent;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0 4px 4px 0;
  font-family: inherit;
  cursor: pointer;
}

.nav-dropdown.is-open .nav-dropdown-trigger {
  background: rgba(255, 255, 255, 0.05);
}

.nav-dropdown-chevron {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease;
}

.nav-dropdown.is-open .nav-dropdown-chevron {
  transform: translateY(2px) rotate(225deg);
}

.nav-dropdown-menu {
  display: none;
  margin: 0 8px 6px;
  padding: 5px 0 5px 10px;
  border-left: 2px solid var(--gold);
}

.nav-dropdown.is-open .nav-dropdown-menu {
  display: grid;
}

.nav-dropdown-menu a {
  min-height: 44px;
}

.nav-menu-label {
  display: block;
  padding: 9px 11px 5px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.nav-category {
  margin: 2px 0 4px;
}

.nav-category summary {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 12px;
  color: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 5px;
  cursor: pointer;
  list-style: none;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.nav-category summary::-webkit-details-marker {
  display: none;
}

.nav-category summary:hover,
.nav-category summary:focus-visible,
.nav-category[open] summary {
  color: var(--gold);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(211, 158, 46, 0.46);
  outline: none;
}

.nav-category-copy {
  display: grid;
  gap: 2px;
}

.nav-category-copy small {
  color: inherit;
  font-size: 0.6rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  opacity: 0.62;
  text-transform: uppercase;
}

.nav-category-copy strong {
  font-size: 0.9rem;
  font-weight: 780;
  line-height: 1.25;
}

.nav-category-chevron {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease;
}

.nav-category[open] .nav-category-chevron {
  transform: translateY(2px) rotate(225deg);
}

.nav-category-menu {
  display: grid;
  margin: 6px 0 8px 10px;
  padding-left: 8px;
  border-left: 1px solid rgba(211, 158, 46, 0.5);
}

.nav-category-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 8px 10px;
  color: var(--paper);
  border-radius: 4px;
}

.nav-category-menu a small {
  flex: 0 0 auto;
  color: inherit;
  font-size: 0.68rem;
  font-weight: 750;
  opacity: 0.64;
  white-space: nowrap;
}

.nav-all-products {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 3px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-cta {
  margin-top: 6px;
  color: var(--charcoal) !important;
  background: var(--gold);
  border-radius: 4px;
  font-weight: 800;
  text-align: center;
}

.nav-toggle {
  display: grid;
  width: 44px;
  height: 44px;
  place-content: center;
  gap: 5px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 4px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--paper);
  transform-origin: center;
  transition:
    opacity 180ms ease,
    transform 220ms ease;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--paper);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(18, 20, 24, 0.92), rgba(18, 20, 24, 0.58) 52%, rgba(18, 20, 24, 0.2)),
    linear-gradient(0deg, rgba(18, 20, 24, 0.45), rgba(18, 20, 24, 0.05));
}

.section-inner {
  width: min(1140px, calc(100% - 36px));
  margin: 0 auto;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: clamp(70px, 14vh, 140px) 0 clamp(54px, 10vh, 86px);
}

.eyebrow,
.strip-label,
.priority-label {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(2.35rem, 8vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.85rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.28rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 690px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 2.4vw, 1.28rem);
}

.hero-actions,
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  color: var(--charcoal);
  background: var(--gold);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #d6aa46;
}

.button-secondary {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
}

.section {
  padding: clamp(58px, 9vw, 100px) 0;
}

.section-muted {
  background: var(--off-white);
}

.section-dark {
  color: var(--paper);
  background: var(--charcoal);
}

.intro-strip {
  padding: 24px 0;
  color: var(--paper);
  background: var(--charcoal-2);
}

.strip-grid {
  display: grid;
  gap: 18px;
}

.strip-grid p {
  max-width: 780px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.86);
}

.text-link {
  color: var(--gold);
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--gold-dark);
}

.section-heading {
  max-width: 800px;
  margin-bottom: 32px;
}

.section-heading.compact {
  max-width: 850px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: 22px;
}

.product-card,
.secondary-products article,
.quote-form,
.contact-cards > div {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.product-card {
  overflow: hidden;
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-card.priority {
  border-top: 4px solid var(--gold);
}

.card-content {
  padding: 22px;
}

.card-content p {
  color: var(--steel);
}

.card-content a {
  color: var(--charcoal);
  font-weight: 800;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.split,
.contact-layout,
.about-grid {
  display: grid;
  gap: clamp(28px, 5vw, 56px);
}

.detail-copy {
  align-self: center;
}

.detail-copy p,
.section-heading p,
.about-grid p,
.contact-copy p,
.secondary-products p {
  color: var(--steel);
}

.check-list {
  display: grid;
  gap: 8px;
  margin: 0 0 26px;
  padding-left: 20px;
  color: var(--charcoal-2);
}

.image-pair {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 14px;
  align-items: stretch;
  min-height: 360px;
}

.image-pair img,
.media-panel img,
.media-panel video,
.roofing-gallery img,
.roofing-gallery video,
.secondary-products img,
.project-row img,
.gallery-grid img {
  width: 100%;
  height: 100%;
  border-radius: 6px;
  object-fit: cover;
}

.image-pair img:first-child {
  max-height: 500px;
}

.image-pair img:last-child {
  align-self: end;
  max-height: 420px;
}

.project-row,
.gallery-grid {
  display: grid;
  gap: 18px;
}

.project-row figure,
.gallery-grid figure {
  position: relative;
  min-height: 320px;
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  background: var(--charcoal);
}

.project-row figcaption,
.gallery-grid figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 9px 10px;
  color: var(--paper);
  background: rgba(24, 26, 31, 0.78);
  border-left: 3px solid var(--gold);
  font-size: 0.88rem;
  font-weight: 800;
}

.media-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.media-panel video {
  aspect-ratio: 16 / 11;
  background: var(--charcoal);
}

.media-panel img {
  max-height: 330px;
}

.roofing-layout {
  display: grid;
  gap: 24px;
}

.roofing-gallery {
  display: grid;
  gap: 16px;
}

.roofing-gallery img,
.roofing-gallery video {
  aspect-ratio: 16 / 10;
  background: var(--charcoal);
}

.colour-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.colour-swatch {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.colour-swatch img {
  width: 100%;
  height: 136px;
  object-fit: cover;
  background: #f3f3f3;
}

.swatch-surface {
  display: block;
  width: 100%;
  height: 136px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.5) 0 6px, rgba(0, 0, 0, 0.08) 6px 9px, transparent 9px 34px),
    linear-gradient(135deg, #eee4ca, #d8cba7);
}

.colour-swatch > span:not(.swatch-surface) {
  display: block;
  padding: 10px 12px;
  font-size: 0.9rem;
  font-weight: 800;
}

.secondary-products {
  display: grid;
  gap: 22px;
}

.secondary-products article {
  display: grid;
  gap: 0;
  overflow: hidden;
}

.secondary-products article > div {
  padding: 24px;
}

.secondary-products img {
  aspect-ratio: 16 / 9;
}

.gallery-grid figure {
  min-height: 250px;
}

.about-grid {
  align-items: start;
}

.contact-layout {
  align-items: start;
}

.contact-cards {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.contact-cards > div {
  padding: 16px;
  box-shadow: none;
}

.contact-cards span {
  display: block;
  margin-bottom: 4px;
  color: var(--steel);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-cards strong {
  display: block;
  overflow-wrap: anywhere;
}

.quote-form {
  position: relative;
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 30px);
}

.quote-form .form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.quote-form label {
  display: grid;
  gap: 6px;
  color: var(--charcoal-2);
  font-size: 0.92rem;
  font-weight: 800;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: var(--charcoal);
  background: var(--paper);
  border: 1px solid #cbd0d6;
  border-radius: 4px;
  font: inherit;
}

.quote-form textarea {
  resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: 3px solid rgba(201, 155, 53, 0.25);
  border-color: var(--gold);
}

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

.form-privacy {
  margin: -4px 0 0;
  color: var(--steel);
  font-size: 0.78rem;
  line-height: 1.55;
}

.form-privacy a {
  color: var(--charcoal);
  font-weight: 800;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--steel);
  font-size: 0.95rem;
}

.site-footer {
  padding: 24px 0;
  color: rgba(255, 255, 255, 0.82);
  background: #101217;
}

.footer-inner {
  justify-content: space-between;
}

.footer-inner a {
  color: var(--gold);
  font-weight: 800;
  text-decoration: none;
}

@media (min-width: 700px) {
  .strip-grid,
  .about-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }

  .project-row {
    grid-template-columns: 1.3fr 0.85fr 0.85fr;
  }

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

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

  .colour-options {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .secondary-products article {
    grid-template-columns: 0.92fr 1.08fr;
    align-items: center;
  }
}

@media (max-width: 899px) {
  body.mobile-nav-open {
    overflow: hidden;
  }

  .site-header {
    /*
     * A backdrop filter makes fixed descendants use the header as their
     * containing block in Chromium. Keep the mobile header opaque so the
     * off-canvas navigation is measured against the viewport instead.
     */
    backdrop-filter: none;
  }

  .nav-backdrop {
    position: fixed;
    inset: var(--header-height) 0 0;
    z-index: 19;
    display: block;
    padding: 0;
    visibility: hidden;
    opacity: 0;
    background: rgba(6, 10, 15, 0.64);
    border: 0;
    border-radius: 0;
    backdrop-filter: blur(2px);
    cursor: pointer;
    pointer-events: none;
    transition:
      opacity 220ms ease,
      visibility 0s linear 220ms;
  }

  .nav-backdrop.is-visible {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transition-delay: 0s;
  }

  .site-nav,
  .site-nav.is-open {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: auto;
    z-index: 2;
    width: min(88vw, 390px);
    max-height: none;
    display: grid;
    align-content: start;
    gap: 5px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 16px 16px max(24px, env(safe-area-inset-bottom));
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 130px),
      var(--charcoal-2);
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.11);
    box-shadow: -20px 0 48px rgba(4, 8, 12, 0.3);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateX(calc(100% + 24px));
    transition:
      opacity 180ms ease,
      transform 240ms ease,
      visibility 0s linear 240ms;
  }

  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
    transition-delay: 0s;
  }

  .site-nav > a {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 11px 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 5px;
    font-size: 0.98rem;
    font-weight: 720;
  }

  .nav-dropdown {
    display: grid;
    gap: 7px;
  }

  .nav-dropdown-trigger {
    display: grid;
  }

  .nav-shop-link {
    min-height: 48px;
    padding: 11px 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 5px;
    font-size: 0.98rem;
    font-weight: 720;
  }

  .nav-dropdown-toggle {
    display: none;
  }

  .nav-dropdown-menu,
  .nav-dropdown.is-open .nav-dropdown-menu {
    position: static;
    min-width: 0;
    display: grid;
    gap: 4px;
    margin: 0 0 8px;
    padding: 8px;
    color: var(--charcoal);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: none;
  }

  .nav-dropdown-menu::before {
    display: none;
  }

  .nav-menu-label {
    padding: 6px 7px 3px;
    color: #6f7780;
    font-size: 0.66rem;
  }

  .nav-category {
    margin: 0;
  }

  .nav-category summary {
    min-height: 42px;
    padding: 7px 9px;
    color: var(--charcoal);
    background: #f6f3eb;
    border: 0;
    border-radius: 6px;
    cursor: default;
  }

  .nav-category summary:hover,
  .nav-category summary:focus-visible,
  .nav-category[open] summary {
    color: var(--charcoal);
    background: #f6f3eb;
  }

  .nav-category-chevron {
    display: none;
  }

  .nav-category > .nav-category-menu {
    display: grid !important;
    gap: 2px;
    margin: 4px 0 0;
    padding: 0;
    border: 0;
  }

  .nav-category-menu a {
    min-height: 48px;
    padding: 9px 10px;
    color: var(--charcoal);
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 650;
  }

  .nav-category-menu a:hover,
  .nav-category-menu a:focus-visible {
    color: var(--charcoal);
    background: var(--off-white);
  }

  .nav-category-menu a small {
    color: #6f7780;
    font-size: 0.72rem;
    opacity: 1;
  }

  .nav-all-products {
    min-height: 48px;
    margin: 3px 0 0;
    padding: 10px 11px !important;
    color: var(--charcoal) !important;
    background: #f3ead5;
    border: 1px solid rgba(157, 116, 34, 0.22);
    border-radius: 6px;
    font-weight: 760;
  }

  .nav-cta {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 7px;
    padding: 11px 14px !important;
  }

  .nav-toggle {
    position: relative;
    z-index: 3;
    flex: 0 0 44px;
  }

  .nav-toggle.is-open span:nth-child(1),
  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.is-open span:nth-child(2),
  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0.35);
  }

  .nav-toggle.is-open span:nth-child(3),
  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    max-height: none;
    display: flex;
    align-items: center;
    gap: 4px;
    overflow: visible;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .site-nav a {
    padding: 10px 12px;
  }

  .nav-dropdown-toggle {
    width: 34px;
    min-height: 40px;
    flex-basis: 34px;
    padding: 0 11px 0 5px;
    border-left-color: rgba(255, 255, 255, 0.14);
  }

  .nav-shop-link {
    min-height: 40px;
    flex: 0 0 auto;
    padding: 10px 6px 10px 12px !important;
  }

  .nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    z-index: 30;
    min-width: 322px;
    margin: 0;
    padding: 8px;
    color: var(--charcoal);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 6px;
    box-shadow: var(--shadow);
  }

  .nav-dropdown-menu::before {
    position: absolute;
    top: -11px;
    right: 0;
    left: 0;
    height: 11px;
    content: "";
  }

  .nav-dropdown-menu a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 9px 11px;
    color: var(--charcoal);
    border-radius: 4px;
  }

  .nav-dropdown-menu a:hover,
  .nav-dropdown-menu a:focus-visible {
    color: var(--charcoal);
    background: var(--off-white);
  }

  .nav-menu-label {
    color: #879098;
  }

  .nav-category summary {
    color: var(--charcoal);
    background: #f8f6f0;
    border-color: var(--line);
  }

  .nav-category summary:hover,
  .nav-category summary:focus-visible,
  .nav-category[open] summary {
    color: var(--charcoal);
    background: #f2ede2;
    border-color: rgba(180, 130, 26, 0.52);
  }

  .nav-category-menu {
    border-left-color: rgba(180, 130, 26, 0.52);
  }

  .nav-category-menu a {
    color: var(--charcoal);
  }

  .nav-all-products {
    border-top-color: var(--line);
  }

  .nav-cta {
    margin-top: 0;
    margin-left: 10px;
    padding-inline: 16px !important;
  }

  .hero {
    min-height: 760px;
  }

  .split,
  .contact-layout {
    grid-template-columns: 0.92fr 1.08fr;
    align-items: center;
  }

  .split.reverse {
    grid-template-columns: 1.08fr 0.92fr;
  }

  .split.reverse .detail-copy {
    order: 2;
  }

  .split.reverse .media-panel {
    order: 1;
  }

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

  .contact-cards {
    grid-template-columns: 1fr;
  }
}

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

  .nav-dropdown-chevron,
  .nav-category-chevron {
    transition: none;
  }
}

@media (max-width: 520px) {
  .site-header {
    gap: 10px;
  }

  .brand {
    flex: 1 1 auto;
    max-width: none;
    font-size: 0.76rem;
    line-height: 1.05;
    white-space: normal;
  }

  .brand-logo {
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
  }

  .brand span {
    display: block;
  }

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

  .image-pair {
    grid-template-columns: 1fr;
  }

  .project-row figure,
  .gallery-grid figure {
    min-height: 280px;
  }
}

/* Branded not-found page */

.not-found-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: #17212b;
  background:
    radial-gradient(circle at 76% 18%, rgba(211, 160, 48, 0.12), transparent 32%),
    linear-gradient(150deg, #f7f8f8 0%, #ffffff 50%, #f4f0e7 100%);
}

.not-found-header {
  background: #0e1822;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.not-found-header__inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.not-found-header .brand {
  color: #ffffff;
}

.not-found-header__link {
  min-height: 44px;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.42);
}

.not-found-header__link:hover,
.not-found-header__link:focus-visible {
  color: #0e1822;
  background: #ffffff;
  border-color: #ffffff;
}

.not-found-main {
  flex: 1 1 auto;
  display: grid;
  place-items: center;
  padding: clamp(58px, 10vw, 120px) 0;
}

.not-found-card {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 7vw, 72px);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #d9dfe2;
  border-top: 4px solid #c79632;
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(14, 24, 34, 0.12);
}

.not-found-code {
  position: absolute;
  top: -0.16em;
  right: 0.05em;
  color: rgba(14, 24, 34, 0.045);
  font-size: clamp(8rem, 23vw, 17rem);
  font-weight: 850;
  letter-spacing: -0.09em;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.not-found-card .eyebrow,
.not-found-card h1,
.not-found-copy,
.not-found-actions,
.not-found-contact {
  position: relative;
}

.not-found-card h1 {
  max-width: 720px;
  margin: 0 0 18px;
  font-size: clamp(2.45rem, 7vw, 5rem);
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.not-found-copy {
  max-width: 650px;
  margin: 0;
  color: #56636d;
  font-size: clamp(1rem, 2vw, 1.14rem);
  line-height: 1.7;
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.not-found-actions .button {
  min-height: 50px;
}

.not-found-contact {
  margin: 28px 0 0;
  padding-top: 22px;
  color: #66727b;
  border-top: 1px solid #e0e4e6;
  font-size: 0.85rem;
  line-height: 1.6;
}

.not-found-contact a {
  color: #17212b;
  font-weight: 750;
  text-underline-offset: 3px;
}

.not-found-footer {
  margin-top: 0;
}

@media (max-width: 600px) {
  .not-found-header__inner {
    min-height: 70px;
  }

  .not-found-header .brand span,
  .not-found-header__link {
    display: none;
  }

  .not-found-card {
    width: min(100% - 28px, 1140px);
    padding: 32px 22px;
    border-radius: 13px;
  }

  .not-found-card h1 {
    font-size: clamp(2.4rem, 13vw, 3.4rem);
  }

  .not-found-actions {
    display: grid;
  }

  .not-found-actions .button {
    width: 100%;
  }
}

/* Phone-first refinement for the main company pages. */

@media (max-width: 899px) {
  :root {
    --header-height: 68px;
  }

  .site-header {
    min-height: 68px;
    gap: 8px;
    padding: 10px 14px;
  }

  .site-nav,
  .site-nav.is-open {
    top: 68px;
    padding: 12px 12px max(20px, env(safe-area-inset-bottom));
  }

  .nav-backdrop {
    inset: 68px 0 0;
  }

  .nav-category summary {
    min-height: 48px;
    cursor: pointer;
  }

  .nav-category-chevron {
    display: block;
  }

  .nav-category > .nav-category-menu {
    display: none !important;
  }

  .nav-category[open] > .nav-category-menu {
    display: grid !important;
  }

  .hero {
    min-height: calc(100svh - var(--header-height));
  }

  .hero-content {
    padding: clamp(54px, 12vh, 92px) 0 clamp(42px, 8vh, 68px);
  }

  .section {
    padding: clamp(48px, 8vw, 72px) 0;
  }

  .section-heading {
    margin-bottom: 25px;
  }
}

@media (max-width: 520px) {
  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .site-nav,
  .site-nav.is-open {
    width: 100%;
    border-left: 0;
    box-shadow: 0 24px 48px rgba(4, 8, 12, 0.34);
  }

  .brand {
    min-width: 0;
    overflow: hidden;
  }

  .brand span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero-content h1 {
    font-size: clamp(2.4rem, 13.5vw, 3.55rem);
  }

  .hero-copy {
    margin-bottom: 23px;
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .hero-actions {
    gap: 9px;
  }

  .hero-actions .button {
    min-height: 52px;
  }

  .intro-strip {
    padding-block: 19px;
  }

  .strip-grid {
    gap: 11px;
  }

  .strip-grid p {
    font-size: 0.88rem;
    line-height: 1.55;
  }

  .section-inner {
    width: min(100% - 28px, 1140px);
  }

  .section-heading h2,
  .detail-copy h2,
  .contact-copy h2 {
    font-size: clamp(1.72rem, 9vw, 2.2rem);
  }

  .product-grid {
    gap: 13px;
  }

  .product-card {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
  }

  .product-card img {
    height: 100%;
    aspect-ratio: auto;
  }

  .card-content {
    min-width: 0;
    padding: 17px 15px;
  }

  .card-content h3 {
    font-size: 1.08rem;
  }

  .card-content p {
    font-size: 0.82rem;
    line-height: 1.5;
  }

  .image-pair {
    min-height: 0;
  }

  .image-pair img {
    max-height: none !important;
    aspect-ratio: 16 / 10;
  }

  .project-row figure,
  .gallery-grid figure {
    min-height: 220px;
  }

  .project-row figcaption,
  .gallery-grid figcaption {
    font-size: 0.78rem;
  }

  .quote-form {
    gap: 14px;
    padding: 18px 15px;
  }

  .quote-form input,
  .quote-form select,
  .quote-form textarea {
    min-height: 52px;
    font-size: 1rem;
  }

  .contact-cards > div {
    padding: 14px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .footer-inner a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}
