:root {
  --ink: #202124;
  --muted: #62666d;
  --line: #e4e7eb;
  --surface: #ffffff;
  --soft: #f6f7f8;
  --charcoal: #2e3033;
  --orange: #f3a21b;
  --orange-dark: #c47800;
  --green: #3b6259;
  --max: 1180px;
  --shadow: 0 18px 45px rgba(26, 28, 31, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family:
    "Segoe UI",
    Arial,
    sans-serif;
  background: var(--surface);
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 8px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(228, 231, 235, 0.85);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: min(200px, 58vw);
}

.brand img {
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 34px);
  color: var(--charcoal);
  font-size: 0.92rem;
  font-weight: 650;
}

.site-nav a {
  position: relative;
  padding: 10px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
  content: "";
}

.site-nav a:hover::after,
.site-nav a.active::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--charcoal);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 82svh;
  padding: clamp(88px, 12vw, 150px) clamp(20px, 5vw, 72px) clamp(54px, 7vw, 86px);
  overflow: hidden;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(22, 23, 24, 0.85), rgba(22, 23, 24, 0.54), rgba(22, 23, 24, 0.2)),
    url("assets/products/hero.jpg")
      center / cover;
}

.hero-overlay {
  position: absolute;
  inset: auto 0 0;
  height: 8px;
  background: linear-gradient(90deg, var(--orange), var(--green), #6d737b);
}

.hero-content {
  position: relative;
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 0;
  line-height: 1.05;
}

.hero h1 {
  max-width: 760px;
  font-size: 5rem;
  font-weight: 800;
}

.hero p:not(.eyebrow) {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.1rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 750;
  line-height: 1.2;
  transition:
    transform 170ms ease,
    background 170ms ease,
    border-color 170ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: #1b1d1f;
  background: var(--orange);
}

.button.primary:hover {
  background: #ffb338;
}

.button.secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.08);
}

.button.outline {
  color: var(--charcoal);
  border-color: var(--line);
  background: #ffffff;
}

.section {
  padding: clamp(58px, 8vw, 104px) clamp(20px, 5vw, 72px);
}

.section-grid,
.section-heading,
.product-grid,
.contact-layout,
.stats {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(30px, 6vw, 86px);
  align-items: start;
}

.section h2 {
  color: var(--charcoal);
  font-size: 3.45rem;
  font-weight: 780;
}

.lead-copy p,
.section-heading p,
.story p,
.contact p {
  color: var(--muted);
  font-size: 1.02rem;
}

.lead-copy p:first-child {
  margin-top: 0;
}

.intro-band {
  background: #ffffff;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--line);
}

.stat-item {
  min-height: 150px;
  padding: 30px 28px;
  background: var(--soft);
}

.stat-item strong {
  display: block;
  color: var(--charcoal);
  font-size: 2.05rem;
  line-height: 1;
}

.stat-item span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-weight: 650;
}

.products {
  background: #f7f5f1;
}

.section-heading {
  max-width: 820px;
  margin-bottom: clamp(28px, 4vw, 46px);
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 18px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  display: grid;
  grid-template-rows: 220px 1fr;
  overflow: hidden;
  min-height: 398px;
  background: #ffffff;
  border: 1px solid rgba(39, 41, 43, 0.08);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(32, 33, 36, 0.06);
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #d9dde1;
}

.product-card div {
  padding: 22px;
}

.product-card h3 {
  margin: 0 0 10px;
  color: var(--charcoal);
  font-size: 1.08rem;
  line-height: 1.25;
}

.product-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.product-accordion {
  display: grid;
  width: min(var(--max), 100%);
  margin: 0 auto;
  gap: 14px;
}

.product-dropdown {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(39, 41, 43, 0.1);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(32, 33, 36, 0.05);
}

.product-dropdown summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
  padding: 20px 68px 20px 24px;
  color: var(--charcoal);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.product-dropdown summary::-webkit-details-marker {
  display: none;
}

.product-dropdown summary::after {
  position: absolute;
  top: 50%;
  right: 24px;
  width: 28px;
  height: 28px;
  color: var(--charcoal);
  border: 1px solid var(--line);
  border-radius: 50%;
  transform: translateY(-50%);
  content: "+";
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  line-height: 1;
}

.product-dropdown[open] summary::after {
  content: "-";
}

.product-dropdown summary span {
  font-size: 1.12rem;
}

.product-dropdown summary small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
}

.item-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  padding: 0 24px 24px;
}

.item-card {
  overflow: hidden;
  min-height: 178px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.item-card img {
  width: 100%;
  height: 118px;
  object-fit: cover;
  background: #d9dde1;
}

.item-card h3 {
  min-height: 48px;
  margin: 0;
  padding: 12px 13px;
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.25;
}

.story {
  background: #ffffff;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: center;
}

.story h2 {
  margin-bottom: 22px;
}

.difference-list {
  display: grid;
  gap: 14px;
}

.difference-list div {
  padding: 24px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.difference-list span {
  display: block;
  color: var(--orange-dark);
  font-weight: 800;
}

.difference-list h3 {
  margin: 8px 0 8px;
  color: var(--charcoal);
  font-size: 1.13rem;
}

.difference-list p {
  margin: 0;
}

.contact {
  background:
    linear-gradient(180deg, rgba(246, 247, 248, 0.95), rgba(246, 247, 248, 0.95)),
    url("assets/products/pipes-system.jpg")
      center / cover;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 22px;
  align-items: stretch;
}

.contact-panel,
.enquiry-form {
  padding: clamp(24px, 4vw, 38px);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-panel h3 {
  margin: 0 0 24px;
  color: var(--charcoal);
  font-size: 1.26rem;
}

.contact-panel ul {
  display: grid;
  gap: 20px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.contact-panel li span,
.enquiry-form label {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 750;
}

.contact-panel li a,
.contact-panel address {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-style: normal;
  font-weight: 700;
}

.contact-panel li a:hover {
  color: var(--orange-dark);
}

.enquiry-form {
  display: grid;
  gap: 16px;
}

.enquiry-form input,
.enquiry-form textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  border: 1px solid #d7dbe0;
  border-radius: 6px;
  outline: none;
}

.enquiry-form input:focus,
.enquiry-form textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(243, 162, 27, 0.18);
}

.form-submit {
  width: fit-content;
  cursor: pointer;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 28px;
  align-items: center;
  padding: 30px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.78);
  background: #26282b;
}

.site-footer img {
  width: min(230px, 70vw);
  margin-bottom: 10px;
  background: #ffffff;
}

.site-footer p {
  margin: 0;
  font-size: 0.9rem;
}

.image-credit a {
  color: #ffbd4d;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 960px) {
  .site-header {
    min-height: 72px;
  }

  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: fixed;
    top: 72px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 24px;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 22px 35px rgba(26, 28, 31, 0.13);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .hero h1 {
    font-size: 4rem;
  }

  .section h2 {
    font-size: 2.8rem;
  }

  .two-column,
  .story-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

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

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

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

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

@media (max-width: 640px) {
  .brand {
    width: min(190px, 66vw);
  }

  .hero {
    min-height: 80svh;
    padding-right: 20px;
    padding-left: 20px;
  }

  .hero h1 {
    font-size: 2.65rem;
    overflow-wrap: anywhere;
  }

  .section h2 {
    font-size: 2.15rem;
  }

  .hero p:not(.eyebrow) {
    font-size: 1rem;
  }

  .button {
    width: 100%;
  }

  .stats,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .stat-item {
    min-height: 120px;
  }

  .product-card {
    grid-template-rows: 200px 1fr;
    min-height: 360px;
  }

  .product-dropdown summary {
    align-items: flex-start;
    flex-direction: column;
    min-height: 86px;
    padding: 18px 58px 18px 18px;
  }

  .product-dropdown summary::after {
    right: 18px;
  }

  .item-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 0 14px 16px;
  }

  .item-card {
    min-height: 162px;
  }

  .item-card img {
    height: 102px;
  }

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

  .form-submit {
    width: 100%;
  }
}
